test/configure
author Sam Lantinga <slouken@libsdl.org>
Thu, 12 Oct 2017 14:25:07 -0700
changeset 11615 f5b657276413
parent 11553 b89649d1a7a5
child 12731 23fc3ac93cf5
permissions -rwxr-xr-x
Fixed bug 3877 - missing SDLCALL in SDLTest_ExampleHitTestCallback

Ozkan Sezer

Following trivial patch adds missing SDLCALL to SDLTest_ExampleHitTestCallback()
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.69.
     4 #
     5 #
     6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7 #
     8 #
     9 # This configure script is free software; the Free Software Foundation
    10 # gives unlimited permission to copy, distribute and modify it.
    11 ## -------------------- ##
    12 ## M4sh Initialization. ##
    13 ## -------------------- ##
    14 
    15 # Be more Bourne compatible
    16 DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    18   emulate sh
    19   NULLCMD=:
    20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    21   # is contrary to our usage.  Disable this feature.
    22   alias -g '${1+"$@"}'='"$@"'
    23   setopt NO_GLOB_SUBST
    24 else
    25   case `(set -o) 2>/dev/null` in #(
    26   *posix*) :
    27     set -o posix ;; #(
    28   *) :
    29      ;;
    30 esac
    31 fi
    32 
    33 
    34 as_nl='
    35 '
    36 export as_nl
    37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    41 # Prefer a ksh shell builtin over an external printf program on Solaris,
    42 # but without wasting forks for bash or zsh.
    43 if test -z "$BASH_VERSION$ZSH_VERSION" \
    44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    45   as_echo='print -r --'
    46   as_echo_n='print -rn --'
    47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in #(
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    71 
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    80 
    81 
    82 # IFS
    83 # We need space, tab and new line, in precisely that order.  Quoting is
    84 # there to prevent editors from complaining about space-tab.
    85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    86 # splitting by setting IFS to empty value.)
    87 IFS=" ""	$as_nl"
    88 
    89 # Find who we are.  Look in the path if we contain no directory separator.
    90 as_myself=
    91 case $0 in #((
    92   *[\\/]* ) as_myself=$0 ;;
    93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    94 for as_dir in $PATH
    95 do
    96   IFS=$as_save_IFS
    97   test -z "$as_dir" && as_dir=.
    98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    99   done
   100 IFS=$as_save_IFS
   101 
   102      ;;
   103 esac
   104 # We did not find ourselves, most probably we were run as `sh COMMAND'
   105 # in which case we are not to be found in the path.
   106 if test "x$as_myself" = x; then
   107   as_myself=$0
   108 fi
   109 if test ! -f "$as_myself"; then
   110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   111   exit 1
   112 fi
   113 
   114 # Unset variables that we do not need and which cause bugs (e.g. in
   115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   116 # suppresses any "Segmentation fault" message there.  '((' could
   117 # trigger a bug in pdksh 5.2.14.
   118 for as_var in BASH_ENV ENV MAIL MAILPATH
   119 do eval test x\${$as_var+set} = xset \
   120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   121 done
   122 PS1='$ '
   123 PS2='> '
   124 PS4='+ '
   125 
   126 # NLS nuisances.
   127 LC_ALL=C
   128 export LC_ALL
   129 LANGUAGE=C
   130 export LANGUAGE
   131 
   132 # CDPATH.
   133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   134 
   135 # Use a proper internal environment variable to ensure we don't fall
   136   # into an infinite loop, continuously re-executing ourselves.
   137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
   138     _as_can_reexec=no; export _as_can_reexec;
   139     # We cannot yet assume a decent shell, so we have to provide a
   140 # neutralization value for shells without unset; and this also
   141 # works around shells that cannot unset nonexistent variables.
   142 # Preserve -v and -x to the replacement shell.
   143 BASH_ENV=/dev/null
   144 ENV=/dev/null
   145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   146 case $- in # ((((
   147   *v*x* | *x*v* ) as_opts=-vx ;;
   148   *v* ) as_opts=-v ;;
   149   *x* ) as_opts=-x ;;
   150   * ) as_opts= ;;
   151 esac
   152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   153 # Admittedly, this is quite paranoid, since all the known shells bail
   154 # out after a failed `exec'.
   155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   156 as_fn_exit 255
   157   fi
   158   # We don't want this to propagate to other subprocesses.
   159           { _as_can_reexec=; unset _as_can_reexec;}
   160 if test "x$CONFIG_SHELL" = x; then
   161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   162   emulate sh
   163   NULLCMD=:
   164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   165   # is contrary to our usage.  Disable this feature.
   166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
   167   setopt NO_GLOB_SUBST
   168 else
   169   case \`(set -o) 2>/dev/null\` in #(
   170   *posix*) :
   171     set -o posix ;; #(
   172   *) :
   173      ;;
   174 esac
   175 fi
   176 "
   177   as_required="as_fn_return () { (exit \$1); }
   178 as_fn_success () { as_fn_return 0; }
   179 as_fn_failure () { as_fn_return 1; }
   180 as_fn_ret_success () { return 0; }
   181 as_fn_ret_failure () { return 1; }
   182 
   183 exitcode=0
   184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   189 
   190 else
   191   exitcode=1; echo positional parameters were not saved.
   192 fi
   193 test x\$exitcode = x0 || exit 1
   194 test -x / || exit 1"
   195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
   199   if (eval "$as_required") 2>/dev/null; then :
   200   as_have_required=yes
   201 else
   202   as_have_required=no
   203 fi
   204   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   205 
   206 else
   207   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   208 as_found=false
   209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   210 do
   211   IFS=$as_save_IFS
   212   test -z "$as_dir" && as_dir=.
   213   as_found=:
   214   case $as_dir in #(
   215 	 /*)
   216 	   for as_base in sh bash ksh sh5; do
   217 	     # Try only shells that exist, to save several forks.
   218 	     as_shell=$as_dir/$as_base
   219 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   220 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   221   CONFIG_SHELL=$as_shell as_have_required=yes
   222 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   223   break 2
   224 fi
   225 fi
   226 	   done;;
   227        esac
   228   as_found=false
   229 done
   230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   231 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   232   CONFIG_SHELL=$SHELL as_have_required=yes
   233 fi; }
   234 IFS=$as_save_IFS
   235 
   236 
   237       if test "x$CONFIG_SHELL" != x; then :
   238   export CONFIG_SHELL
   239              # We cannot yet assume a decent shell, so we have to provide a
   240 # neutralization value for shells without unset; and this also
   241 # works around shells that cannot unset nonexistent variables.
   242 # Preserve -v and -x to the replacement shell.
   243 BASH_ENV=/dev/null
   244 ENV=/dev/null
   245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   246 case $- in # ((((
   247   *v*x* | *x*v* ) as_opts=-vx ;;
   248   *v* ) as_opts=-v ;;
   249   *x* ) as_opts=-x ;;
   250   * ) as_opts= ;;
   251 esac
   252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   253 # Admittedly, this is quite paranoid, since all the known shells bail
   254 # out after a failed `exec'.
   255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   256 exit 255
   257 fi
   258 
   259     if test x$as_have_required = xno; then :
   260   $as_echo "$0: This script requires a shell more modern than all"
   261   $as_echo "$0: the shells that I found on your system."
   262   if test x${ZSH_VERSION+set} = xset ; then
   263     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   264     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   265   else
   266     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   267 $0: including any error possibly output before this
   268 $0: message. Then install a modern shell, or manually run
   269 $0: the script under such a shell if you do have one."
   270   fi
   271   exit 1
   272 fi
   273 fi
   274 fi
   275 SHELL=${CONFIG_SHELL-/bin/sh}
   276 export SHELL
   277 # Unset more variables known to interfere with behavior of common tools.
   278 CLICOLOR_FORCE= GREP_OPTIONS=
   279 unset CLICOLOR_FORCE GREP_OPTIONS
   280 
   281 ## --------------------- ##
   282 ## M4sh Shell Functions. ##
   283 ## --------------------- ##
   284 # as_fn_unset VAR
   285 # ---------------
   286 # Portably unset VAR.
   287 as_fn_unset ()
   288 {
   289   { eval $1=; unset $1;}
   290 }
   291 as_unset=as_fn_unset
   292 
   293 # as_fn_set_status STATUS
   294 # -----------------------
   295 # Set $? to STATUS, without forking.
   296 as_fn_set_status ()
   297 {
   298   return $1
   299 } # as_fn_set_status
   300 
   301 # as_fn_exit STATUS
   302 # -----------------
   303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   304 as_fn_exit ()
   305 {
   306   set +e
   307   as_fn_set_status $1
   308   exit $1
   309 } # as_fn_exit
   310 
   311 # as_fn_mkdir_p
   312 # -------------
   313 # Create "$as_dir" as a directory, including parents if necessary.
   314 as_fn_mkdir_p ()
   315 {
   316 
   317   case $as_dir in #(
   318   -*) as_dir=./$as_dir;;
   319   esac
   320   test -d "$as_dir" || eval $as_mkdir_p || {
   321     as_dirs=
   322     while :; do
   323       case $as_dir in #(
   324       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   325       *) as_qdir=$as_dir;;
   326       esac
   327       as_dirs="'$as_qdir' $as_dirs"
   328       as_dir=`$as_dirname -- "$as_dir" ||
   329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   330 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   331 	 X"$as_dir" : 'X\(//\)$' \| \
   332 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   333 $as_echo X"$as_dir" |
   334     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   335 	    s//\1/
   336 	    q
   337 	  }
   338 	  /^X\(\/\/\)[^/].*/{
   339 	    s//\1/
   340 	    q
   341 	  }
   342 	  /^X\(\/\/\)$/{
   343 	    s//\1/
   344 	    q
   345 	  }
   346 	  /^X\(\/\).*/{
   347 	    s//\1/
   348 	    q
   349 	  }
   350 	  s/.*/./; q'`
   351       test -d "$as_dir" && break
   352     done
   353     test -z "$as_dirs" || eval "mkdir $as_dirs"
   354   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   355 
   356 
   357 } # as_fn_mkdir_p
   358 
   359 # as_fn_executable_p FILE
   360 # -----------------------
   361 # Test if FILE is an executable regular file.
   362 as_fn_executable_p ()
   363 {
   364   test -f "$1" && test -x "$1"
   365 } # as_fn_executable_p
   366 # as_fn_append VAR VALUE
   367 # ----------------------
   368 # Append the text in VALUE to the end of the definition contained in VAR. Take
   369 # advantage of any shell optimizations that allow amortized linear growth over
   370 # repeated appends, instead of the typical quadratic growth present in naive
   371 # implementations.
   372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   373   eval 'as_fn_append ()
   374   {
   375     eval $1+=\$2
   376   }'
   377 else
   378   as_fn_append ()
   379   {
   380     eval $1=\$$1\$2
   381   }
   382 fi # as_fn_append
   383 
   384 # as_fn_arith ARG...
   385 # ------------------
   386 # Perform arithmetic evaluation on the ARGs, and store the result in the
   387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   388 # must be portable across $(()) and expr.
   389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   390   eval 'as_fn_arith ()
   391   {
   392     as_val=$(( $* ))
   393   }'
   394 else
   395   as_fn_arith ()
   396   {
   397     as_val=`expr "$@" || test $? -eq 1`
   398   }
   399 fi # as_fn_arith
   400 
   401 
   402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   403 # ----------------------------------------
   404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   406 # script with STATUS, using 1 if that was 0.
   407 as_fn_error ()
   408 {
   409   as_status=$1; test $as_status -eq 0 && as_status=1
   410   if test "$4"; then
   411     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   412     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   413   fi
   414   $as_echo "$as_me: error: $2" >&2
   415   as_fn_exit $as_status
   416 } # as_fn_error
   417 
   418 if expr a : '\(a\)' >/dev/null 2>&1 &&
   419    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   420   as_expr=expr
   421 else
   422   as_expr=false
   423 fi
   424 
   425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   426   as_basename=basename
   427 else
   428   as_basename=false
   429 fi
   430 
   431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   432   as_dirname=dirname
   433 else
   434   as_dirname=false
   435 fi
   436 
   437 as_me=`$as_basename -- "$0" ||
   438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   439 	 X"$0" : 'X\(//\)$' \| \
   440 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   441 $as_echo X/"$0" |
   442     sed '/^.*\/\([^/][^/]*\)\/*$/{
   443 	    s//\1/
   444 	    q
   445 	  }
   446 	  /^X\/\(\/\/\)$/{
   447 	    s//\1/
   448 	    q
   449 	  }
   450 	  /^X\/\(\/\).*/{
   451 	    s//\1/
   452 	    q
   453 	  }
   454 	  s/.*/./; q'`
   455 
   456 # Avoid depending upon Character Ranges.
   457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   460 as_cr_digits='0123456789'
   461 as_cr_alnum=$as_cr_Letters$as_cr_digits
   462 
   463 
   464   as_lineno_1=$LINENO as_lineno_1a=$LINENO
   465   as_lineno_2=$LINENO as_lineno_2a=$LINENO
   466   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   467   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   468   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   469   sed -n '
   470     p
   471     /[$]LINENO/=
   472   ' <$as_myself |
   473     sed '
   474       s/[$]LINENO.*/&-/
   475       t lineno
   476       b
   477       :lineno
   478       N
   479       :loop
   480       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   481       t loop
   482       s/-\n.*//
   483     ' >$as_me.lineno &&
   484   chmod +x "$as_me.lineno" ||
   485     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   486 
   487   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
   488   # already done that, so ensure we don't try to do so again and fall
   489   # in an infinite loop.  This has already happened in practice.
   490   _as_can_reexec=no; export _as_can_reexec
   491   # Don't try to exec as it changes $[0], causing all sort of problems
   492   # (the dirname of $[0] is not the place where we might find the
   493   # original and so on.  Autoconf is especially sensitive to this).
   494   . "./$as_me.lineno"
   495   # Exit status is that of the last command.
   496   exit
   497 }
   498 
   499 ECHO_C= ECHO_N= ECHO_T=
   500 case `echo -n x` in #(((((
   501 -n*)
   502   case `echo 'xy\c'` in
   503   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   504   xy)  ECHO_C='\c';;
   505   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   506        ECHO_T='	';;
   507   esac;;
   508 *)
   509   ECHO_N='-n';;
   510 esac
   511 
   512 rm -f conf$$ conf$$.exe conf$$.file
   513 if test -d conf$$.dir; then
   514   rm -f conf$$.dir/conf$$.file
   515 else
   516   rm -f conf$$.dir
   517   mkdir conf$$.dir 2>/dev/null
   518 fi
   519 if (echo >conf$$.file) 2>/dev/null; then
   520   if ln -s conf$$.file conf$$ 2>/dev/null; then
   521     as_ln_s='ln -s'
   522     # ... but there are two gotchas:
   523     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   524     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   525     # In both cases, we have to default to `cp -pR'.
   526     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   527       as_ln_s='cp -pR'
   528   elif ln conf$$.file conf$$ 2>/dev/null; then
   529     as_ln_s=ln
   530   else
   531     as_ln_s='cp -pR'
   532   fi
   533 else
   534   as_ln_s='cp -pR'
   535 fi
   536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   537 rmdir conf$$.dir 2>/dev/null
   538 
   539 if mkdir -p . 2>/dev/null; then
   540   as_mkdir_p='mkdir -p "$as_dir"'
   541 else
   542   test -d ./-p && rmdir ./-p
   543   as_mkdir_p=false
   544 fi
   545 
   546 as_test_x='test -x'
   547 as_executable_p=as_fn_executable_p
   548 
   549 # Sed expression to map a string onto a valid CPP name.
   550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   551 
   552 # Sed expression to map a string onto a valid variable name.
   553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   554 
   555 
   556 test -n "$DJDIR" || exec 7<&0 </dev/null
   557 exec 6>&1
   558 
   559 # Name of the host.
   560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   561 # so uname gets run too.
   562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   563 
   564 #
   565 # Initializations.
   566 #
   567 ac_default_prefix=/usr/local
   568 ac_clean_files=
   569 ac_config_libobj_dir=.
   570 LIBOBJS=
   571 cross_compiling=no
   572 subdirs=
   573 MFLAGS=
   574 MAKEFLAGS=
   575 
   576 # Identity of this package.
   577 PACKAGE_NAME=
   578 PACKAGE_TARNAME=
   579 PACKAGE_VERSION=
   580 PACKAGE_STRING=
   581 PACKAGE_BUGREPORT=
   582 PACKAGE_URL=
   583 
   584 ac_unique_file="README"
   585 ac_subst_vars='LTLIBOBJS
   586 LIBOBJS
   587 SDL_TTF_LIB
   588 XLIB
   589 GLES2LIB
   590 GLESLIB
   591 GLLIB
   592 CPP
   593 XMKMF
   594 SDL_CONFIG
   595 SDL_LIBS
   596 SDL_CFLAGS
   597 PKG_CONFIG_LIBDIR
   598 PKG_CONFIG_PATH
   599 PKG_CONFIG
   600 ISUNIX
   601 ISWINDOWS
   602 ISMACOSX
   603 MATHLIB
   604 EXE
   605 OSMESA_CONFIG
   606 OBJEXT
   607 EXEEXT
   608 ac_ct_CC
   609 CPPFLAGS
   610 LDFLAGS
   611 CFLAGS
   612 CC
   613 host_os
   614 host_vendor
   615 host_cpu
   616 host
   617 build_os
   618 build_vendor
   619 build_cpu
   620 build
   621 target_alias
   622 host_alias
   623 build_alias
   624 LIBS
   625 ECHO_T
   626 ECHO_N
   627 ECHO_C
   628 DEFS
   629 mandir
   630 localedir
   631 libdir
   632 psdir
   633 pdfdir
   634 dvidir
   635 htmldir
   636 infodir
   637 docdir
   638 oldincludedir
   639 includedir
   640 localstatedir
   641 sharedstatedir
   642 sysconfdir
   643 datadir
   644 datarootdir
   645 libexecdir
   646 sbindir
   647 bindir
   648 program_transform_name
   649 prefix
   650 exec_prefix
   651 PACKAGE_URL
   652 PACKAGE_BUGREPORT
   653 PACKAGE_STRING
   654 PACKAGE_VERSION
   655 PACKAGE_TARNAME
   656 PACKAGE_NAME
   657 PATH_SEPARATOR
   658 SHELL'
   659 ac_subst_files=''
   660 ac_user_opts='
   661 enable_option_checking
   662 with_sdl_prefix
   663 with_sdl_exec_prefix
   664 enable_sdltest
   665 with_x
   666 '
   667       ac_precious_vars='build_alias
   668 host_alias
   669 target_alias
   670 CC
   671 CFLAGS
   672 LDFLAGS
   673 LIBS
   674 CPPFLAGS
   675 PKG_CONFIG
   676 PKG_CONFIG_PATH
   677 PKG_CONFIG_LIBDIR
   678 SDL_CFLAGS
   679 SDL_LIBS
   680 XMKMF
   681 CPP'
   682 
   683 
   684 # Initialize some variables set by options.
   685 ac_init_help=
   686 ac_init_version=false
   687 ac_unrecognized_opts=
   688 ac_unrecognized_sep=
   689 # The variables have the same names as the options, with
   690 # dashes changed to underlines.
   691 cache_file=/dev/null
   692 exec_prefix=NONE
   693 no_create=
   694 no_recursion=
   695 prefix=NONE
   696 program_prefix=NONE
   697 program_suffix=NONE
   698 program_transform_name=s,x,x,
   699 silent=
   700 site=
   701 srcdir=
   702 verbose=
   703 x_includes=NONE
   704 x_libraries=NONE
   705 
   706 # Installation directory options.
   707 # These are left unexpanded so users can "make install exec_prefix=/foo"
   708 # and all the variables that are supposed to be based on exec_prefix
   709 # by default will actually change.
   710 # Use braces instead of parens because sh, perl, etc. also accept them.
   711 # (The list follows the same order as the GNU Coding Standards.)
   712 bindir='${exec_prefix}/bin'
   713 sbindir='${exec_prefix}/sbin'
   714 libexecdir='${exec_prefix}/libexec'
   715 datarootdir='${prefix}/share'
   716 datadir='${datarootdir}'
   717 sysconfdir='${prefix}/etc'
   718 sharedstatedir='${prefix}/com'
   719 localstatedir='${prefix}/var'
   720 includedir='${prefix}/include'
   721 oldincludedir='/usr/include'
   722 docdir='${datarootdir}/doc/${PACKAGE}'
   723 infodir='${datarootdir}/info'
   724 htmldir='${docdir}'
   725 dvidir='${docdir}'
   726 pdfdir='${docdir}'
   727 psdir='${docdir}'
   728 libdir='${exec_prefix}/lib'
   729 localedir='${datarootdir}/locale'
   730 mandir='${datarootdir}/man'
   731 
   732 ac_prev=
   733 ac_dashdash=
   734 for ac_option
   735 do
   736   # If the previous option needs an argument, assign it.
   737   if test -n "$ac_prev"; then
   738     eval $ac_prev=\$ac_option
   739     ac_prev=
   740     continue
   741   fi
   742 
   743   case $ac_option in
   744   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   745   *=)   ac_optarg= ;;
   746   *)    ac_optarg=yes ;;
   747   esac
   748 
   749   # Accept the important Cygnus configure options, so we can diagnose typos.
   750 
   751   case $ac_dashdash$ac_option in
   752   --)
   753     ac_dashdash=yes ;;
   754 
   755   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   756     ac_prev=bindir ;;
   757   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   758     bindir=$ac_optarg ;;
   759 
   760   -build | --build | --buil | --bui | --bu)
   761     ac_prev=build_alias ;;
   762   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   763     build_alias=$ac_optarg ;;
   764 
   765   -cache-file | --cache-file | --cache-fil | --cache-fi \
   766   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   767     ac_prev=cache_file ;;
   768   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   769   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   770     cache_file=$ac_optarg ;;
   771 
   772   --config-cache | -C)
   773     cache_file=config.cache ;;
   774 
   775   -datadir | --datadir | --datadi | --datad)
   776     ac_prev=datadir ;;
   777   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   778     datadir=$ac_optarg ;;
   779 
   780   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   781   | --dataroo | --dataro | --datar)
   782     ac_prev=datarootdir ;;
   783   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   784   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   785     datarootdir=$ac_optarg ;;
   786 
   787   -disable-* | --disable-*)
   788     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   789     # Reject names that are not valid shell variable names.
   790     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   791       as_fn_error $? "invalid feature name: $ac_useropt"
   792     ac_useropt_orig=$ac_useropt
   793     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   794     case $ac_user_opts in
   795       *"
   796 "enable_$ac_useropt"
   797 "*) ;;
   798       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   799 	 ac_unrecognized_sep=', ';;
   800     esac
   801     eval enable_$ac_useropt=no ;;
   802 
   803   -docdir | --docdir | --docdi | --doc | --do)
   804     ac_prev=docdir ;;
   805   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   806     docdir=$ac_optarg ;;
   807 
   808   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   809     ac_prev=dvidir ;;
   810   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   811     dvidir=$ac_optarg ;;
   812 
   813   -enable-* | --enable-*)
   814     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   815     # Reject names that are not valid shell variable names.
   816     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   817       as_fn_error $? "invalid feature name: $ac_useropt"
   818     ac_useropt_orig=$ac_useropt
   819     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   820     case $ac_user_opts in
   821       *"
   822 "enable_$ac_useropt"
   823 "*) ;;
   824       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   825 	 ac_unrecognized_sep=', ';;
   826     esac
   827     eval enable_$ac_useropt=\$ac_optarg ;;
   828 
   829   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   830   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   831   | --exec | --exe | --ex)
   832     ac_prev=exec_prefix ;;
   833   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   834   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   835   | --exec=* | --exe=* | --ex=*)
   836     exec_prefix=$ac_optarg ;;
   837 
   838   -gas | --gas | --ga | --g)
   839     # Obsolete; use --with-gas.
   840     with_gas=yes ;;
   841 
   842   -help | --help | --hel | --he | -h)
   843     ac_init_help=long ;;
   844   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   845     ac_init_help=recursive ;;
   846   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   847     ac_init_help=short ;;
   848 
   849   -host | --host | --hos | --ho)
   850     ac_prev=host_alias ;;
   851   -host=* | --host=* | --hos=* | --ho=*)
   852     host_alias=$ac_optarg ;;
   853 
   854   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   855     ac_prev=htmldir ;;
   856   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   857   | --ht=*)
   858     htmldir=$ac_optarg ;;
   859 
   860   -includedir | --includedir | --includedi | --included | --include \
   861   | --includ | --inclu | --incl | --inc)
   862     ac_prev=includedir ;;
   863   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   864   | --includ=* | --inclu=* | --incl=* | --inc=*)
   865     includedir=$ac_optarg ;;
   866 
   867   -infodir | --infodir | --infodi | --infod | --info | --inf)
   868     ac_prev=infodir ;;
   869   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   870     infodir=$ac_optarg ;;
   871 
   872   -libdir | --libdir | --libdi | --libd)
   873     ac_prev=libdir ;;
   874   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   875     libdir=$ac_optarg ;;
   876 
   877   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   878   | --libexe | --libex | --libe)
   879     ac_prev=libexecdir ;;
   880   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   881   | --libexe=* | --libex=* | --libe=*)
   882     libexecdir=$ac_optarg ;;
   883 
   884   -localedir | --localedir | --localedi | --localed | --locale)
   885     ac_prev=localedir ;;
   886   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   887     localedir=$ac_optarg ;;
   888 
   889   -localstatedir | --localstatedir | --localstatedi | --localstated \
   890   | --localstate | --localstat | --localsta | --localst | --locals)
   891     ac_prev=localstatedir ;;
   892   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   893   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   894     localstatedir=$ac_optarg ;;
   895 
   896   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   897     ac_prev=mandir ;;
   898   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   899     mandir=$ac_optarg ;;
   900 
   901   -nfp | --nfp | --nf)
   902     # Obsolete; use --without-fp.
   903     with_fp=no ;;
   904 
   905   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   906   | --no-cr | --no-c | -n)
   907     no_create=yes ;;
   908 
   909   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   910   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   911     no_recursion=yes ;;
   912 
   913   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   914   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   915   | --oldin | --oldi | --old | --ol | --o)
   916     ac_prev=oldincludedir ;;
   917   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   918   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   919   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   920     oldincludedir=$ac_optarg ;;
   921 
   922   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   923     ac_prev=prefix ;;
   924   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   925     prefix=$ac_optarg ;;
   926 
   927   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   928   | --program-pre | --program-pr | --program-p)
   929     ac_prev=program_prefix ;;
   930   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   931   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   932     program_prefix=$ac_optarg ;;
   933 
   934   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   935   | --program-suf | --program-su | --program-s)
   936     ac_prev=program_suffix ;;
   937   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   938   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   939     program_suffix=$ac_optarg ;;
   940 
   941   -program-transform-name | --program-transform-name \
   942   | --program-transform-nam | --program-transform-na \
   943   | --program-transform-n | --program-transform- \
   944   | --program-transform | --program-transfor \
   945   | --program-transfo | --program-transf \
   946   | --program-trans | --program-tran \
   947   | --progr-tra | --program-tr | --program-t)
   948     ac_prev=program_transform_name ;;
   949   -program-transform-name=* | --program-transform-name=* \
   950   | --program-transform-nam=* | --program-transform-na=* \
   951   | --program-transform-n=* | --program-transform-=* \
   952   | --program-transform=* | --program-transfor=* \
   953   | --program-transfo=* | --program-transf=* \
   954   | --program-trans=* | --program-tran=* \
   955   | --progr-tra=* | --program-tr=* | --program-t=*)
   956     program_transform_name=$ac_optarg ;;
   957 
   958   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   959     ac_prev=pdfdir ;;
   960   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   961     pdfdir=$ac_optarg ;;
   962 
   963   -psdir | --psdir | --psdi | --psd | --ps)
   964     ac_prev=psdir ;;
   965   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   966     psdir=$ac_optarg ;;
   967 
   968   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   969   | -silent | --silent | --silen | --sile | --sil)
   970     silent=yes ;;
   971 
   972   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   973     ac_prev=sbindir ;;
   974   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   975   | --sbi=* | --sb=*)
   976     sbindir=$ac_optarg ;;
   977 
   978   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   979   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   980   | --sharedst | --shareds | --shared | --share | --shar \
   981   | --sha | --sh)
   982     ac_prev=sharedstatedir ;;
   983   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   984   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   985   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   986   | --sha=* | --sh=*)
   987     sharedstatedir=$ac_optarg ;;
   988 
   989   -site | --site | --sit)
   990     ac_prev=site ;;
   991   -site=* | --site=* | --sit=*)
   992     site=$ac_optarg ;;
   993 
   994   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   995     ac_prev=srcdir ;;
   996   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   997     srcdir=$ac_optarg ;;
   998 
   999   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1000   | --syscon | --sysco | --sysc | --sys | --sy)
  1001     ac_prev=sysconfdir ;;
  1002   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1003   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1004     sysconfdir=$ac_optarg ;;
  1005 
  1006   -target | --target | --targe | --targ | --tar | --ta | --t)
  1007     ac_prev=target_alias ;;
  1008   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1009     target_alias=$ac_optarg ;;
  1010 
  1011   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1012     verbose=yes ;;
  1013 
  1014   -version | --version | --versio | --versi | --vers | -V)
  1015     ac_init_version=: ;;
  1016 
  1017   -with-* | --with-*)
  1018     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1019     # Reject names that are not valid shell variable names.
  1020     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1021       as_fn_error $? "invalid package name: $ac_useropt"
  1022     ac_useropt_orig=$ac_useropt
  1023     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1024     case $ac_user_opts in
  1025       *"
  1026 "with_$ac_useropt"
  1027 "*) ;;
  1028       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1029 	 ac_unrecognized_sep=', ';;
  1030     esac
  1031     eval with_$ac_useropt=\$ac_optarg ;;
  1032 
  1033   -without-* | --without-*)
  1034     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1035     # Reject names that are not valid shell variable names.
  1036     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1037       as_fn_error $? "invalid package name: $ac_useropt"
  1038     ac_useropt_orig=$ac_useropt
  1039     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1040     case $ac_user_opts in
  1041       *"
  1042 "with_$ac_useropt"
  1043 "*) ;;
  1044       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1045 	 ac_unrecognized_sep=', ';;
  1046     esac
  1047     eval with_$ac_useropt=no ;;
  1048 
  1049   --x)
  1050     # Obsolete; use --with-x.
  1051     with_x=yes ;;
  1052 
  1053   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1054   | --x-incl | --x-inc | --x-in | --x-i)
  1055     ac_prev=x_includes ;;
  1056   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1057   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1058     x_includes=$ac_optarg ;;
  1059 
  1060   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1061   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1062     ac_prev=x_libraries ;;
  1063   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1064   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1065     x_libraries=$ac_optarg ;;
  1066 
  1067   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1068 Try \`$0 --help' for more information"
  1069     ;;
  1070 
  1071   *=*)
  1072     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1073     # Reject names that are not valid shell variable names.
  1074     case $ac_envvar in #(
  1075       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1076       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1077     esac
  1078     eval $ac_envvar=\$ac_optarg
  1079     export $ac_envvar ;;
  1080 
  1081   *)
  1082     # FIXME: should be removed in autoconf 3.0.
  1083     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1084     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1085       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1086     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1087     ;;
  1088 
  1089   esac
  1090 done
  1091 
  1092 if test -n "$ac_prev"; then
  1093   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1094   as_fn_error $? "missing argument to $ac_option"
  1095 fi
  1096 
  1097 if test -n "$ac_unrecognized_opts"; then
  1098   case $enable_option_checking in
  1099     no) ;;
  1100     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1101     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1102   esac
  1103 fi
  1104 
  1105 # Check all directory arguments for consistency.
  1106 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1107 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1108 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1109 		libdir localedir mandir
  1110 do
  1111   eval ac_val=\$$ac_var
  1112   # Remove trailing slashes.
  1113   case $ac_val in
  1114     */ )
  1115       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1116       eval $ac_var=\$ac_val;;
  1117   esac
  1118   # Be sure to have absolute directory names.
  1119   case $ac_val in
  1120     [\\/$]* | ?:[\\/]* )  continue;;
  1121     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1122   esac
  1123   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1124 done
  1125 
  1126 # There might be people who depend on the old broken behavior: `$host'
  1127 # used to hold the argument of --host etc.
  1128 # FIXME: To remove some day.
  1129 build=$build_alias
  1130 host=$host_alias
  1131 target=$target_alias
  1132 
  1133 # FIXME: To remove some day.
  1134 if test "x$host_alias" != x; then
  1135   if test "x$build_alias" = x; then
  1136     cross_compiling=maybe
  1137   elif test "x$build_alias" != "x$host_alias"; then
  1138     cross_compiling=yes
  1139   fi
  1140 fi
  1141 
  1142 ac_tool_prefix=
  1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1144 
  1145 test "$silent" = yes && exec 6>/dev/null
  1146 
  1147 
  1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1149 ac_ls_di=`ls -di .` &&
  1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1151   as_fn_error $? "working directory cannot be determined"
  1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1153   as_fn_error $? "pwd does not report name of working directory"
  1154 
  1155 
  1156 # Find the source files, if location was not specified.
  1157 if test -z "$srcdir"; then
  1158   ac_srcdir_defaulted=yes
  1159   # Try the directory containing this script, then the parent directory.
  1160   ac_confdir=`$as_dirname -- "$as_myself" ||
  1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1162 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1163 	 X"$as_myself" : 'X\(//\)$' \| \
  1164 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1165 $as_echo X"$as_myself" |
  1166     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1167 	    s//\1/
  1168 	    q
  1169 	  }
  1170 	  /^X\(\/\/\)[^/].*/{
  1171 	    s//\1/
  1172 	    q
  1173 	  }
  1174 	  /^X\(\/\/\)$/{
  1175 	    s//\1/
  1176 	    q
  1177 	  }
  1178 	  /^X\(\/\).*/{
  1179 	    s//\1/
  1180 	    q
  1181 	  }
  1182 	  s/.*/./; q'`
  1183   srcdir=$ac_confdir
  1184   if test ! -r "$srcdir/$ac_unique_file"; then
  1185     srcdir=..
  1186   fi
  1187 else
  1188   ac_srcdir_defaulted=no
  1189 fi
  1190 if test ! -r "$srcdir/$ac_unique_file"; then
  1191   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1192   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1193 fi
  1194 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1195 ac_abs_confdir=`(
  1196 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1197 	pwd)`
  1198 # When building in place, set srcdir=.
  1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1200   srcdir=.
  1201 fi
  1202 # Remove unnecessary trailing slashes from srcdir.
  1203 # Double slashes in file names in object file debugging info
  1204 # mess up M-x gdb in Emacs.
  1205 case $srcdir in
  1206 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1207 esac
  1208 for ac_var in $ac_precious_vars; do
  1209   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1210   eval ac_env_${ac_var}_value=\$${ac_var}
  1211   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1212   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1213 done
  1214 
  1215 #
  1216 # Report the --help message.
  1217 #
  1218 if test "$ac_init_help" = "long"; then
  1219   # Omit some internal or obsolete options to make the list less imposing.
  1220   # This message is too long to be a string in the A/UX 3.1 sh.
  1221   cat <<_ACEOF
  1222 \`configure' configures this package to adapt to many kinds of systems.
  1223 
  1224 Usage: $0 [OPTION]... [VAR=VALUE]...
  1225 
  1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1227 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1228 
  1229 Defaults for the options are specified in brackets.
  1230 
  1231 Configuration:
  1232   -h, --help              display this help and exit
  1233       --help=short        display options specific to this package
  1234       --help=recursive    display the short help of all the included packages
  1235   -V, --version           display version information and exit
  1236   -q, --quiet, --silent   do not print \`checking ...' messages
  1237       --cache-file=FILE   cache test results in FILE [disabled]
  1238   -C, --config-cache      alias for \`--cache-file=config.cache'
  1239   -n, --no-create         do not create output files
  1240       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1241 
  1242 Installation directories:
  1243   --prefix=PREFIX         install architecture-independent files in PREFIX
  1244                           [$ac_default_prefix]
  1245   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1246                           [PREFIX]
  1247 
  1248 By default, \`make install' will install all the files in
  1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1251 for instance \`--prefix=\$HOME'.
  1252 
  1253 For better control, use the options below.
  1254 
  1255 Fine tuning of the installation directories:
  1256   --bindir=DIR            user executables [EPREFIX/bin]
  1257   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1258   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1259   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1260   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1261   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1262   --libdir=DIR            object code libraries [EPREFIX/lib]
  1263   --includedir=DIR        C header files [PREFIX/include]
  1264   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1265   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1266   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1267   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1268   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1269   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1270   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1271   --htmldir=DIR           html documentation [DOCDIR]
  1272   --dvidir=DIR            dvi documentation [DOCDIR]
  1273   --pdfdir=DIR            pdf documentation [DOCDIR]
  1274   --psdir=DIR             ps documentation [DOCDIR]
  1275 _ACEOF
  1276 
  1277   cat <<\_ACEOF
  1278 
  1279 X features:
  1280   --x-includes=DIR    X include files are in DIR
  1281   --x-libraries=DIR   X library files are in DIR
  1282 
  1283 System types:
  1284   --build=BUILD     configure for building on BUILD [guessed]
  1285   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1286 _ACEOF
  1287 fi
  1288 
  1289 if test -n "$ac_init_help"; then
  1290 
  1291   cat <<\_ACEOF
  1292 
  1293 Optional Features:
  1294   --disable-option-checking  ignore unrecognized --enable/--with options
  1295   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1296   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1297   --disable-sdltest       Do not try to compile and run a test SDL program
  1298 
  1299 Optional Packages:
  1300   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1301   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1302   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
  1303   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
  1304   --with-x                use the X Window System
  1305 
  1306 Some influential environment variables:
  1307   CC          C compiler command
  1308   CFLAGS      C compiler flags
  1309   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1310               nonstandard directory <lib dir>
  1311   LIBS        libraries to pass to the linker, e.g. -l<library>
  1312   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1313               you have headers in a nonstandard directory <include dir>
  1314   PKG_CONFIG  path to pkg-config utility
  1315   PKG_CONFIG_PATH
  1316               directories to add to pkg-config's search path
  1317   PKG_CONFIG_LIBDIR
  1318               path overriding pkg-config's built-in search path
  1319   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1320   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1321   XMKMF       Path to xmkmf, Makefile generator for X Window System
  1322   CPP         C preprocessor
  1323 
  1324 Use these variables to override the choices made by `configure' or to help
  1325 it to find libraries and programs with nonstandard names/locations.
  1326 
  1327 Report bugs to the package provider.
  1328 _ACEOF
  1329 ac_status=$?
  1330 fi
  1331 
  1332 if test "$ac_init_help" = "recursive"; then
  1333   # If there are subdirs, report their specific --help.
  1334   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1335     test -d "$ac_dir" ||
  1336       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1337       continue
  1338     ac_builddir=.
  1339 
  1340 case "$ac_dir" in
  1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1342 *)
  1343   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1344   # A ".." for each directory in $ac_dir_suffix.
  1345   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1346   case $ac_top_builddir_sub in
  1347   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1348   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1349   esac ;;
  1350 esac
  1351 ac_abs_top_builddir=$ac_pwd
  1352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1353 # for backward compatibility:
  1354 ac_top_builddir=$ac_top_build_prefix
  1355 
  1356 case $srcdir in
  1357   .)  # We are building in place.
  1358     ac_srcdir=.
  1359     ac_top_srcdir=$ac_top_builddir_sub
  1360     ac_abs_top_srcdir=$ac_pwd ;;
  1361   [\\/]* | ?:[\\/]* )  # Absolute name.
  1362     ac_srcdir=$srcdir$ac_dir_suffix;
  1363     ac_top_srcdir=$srcdir
  1364     ac_abs_top_srcdir=$srcdir ;;
  1365   *) # Relative name.
  1366     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1367     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1368     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1369 esac
  1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1371 
  1372     cd "$ac_dir" || { ac_status=$?; continue; }
  1373     # Check for guested configure.
  1374     if test -f "$ac_srcdir/configure.gnu"; then
  1375       echo &&
  1376       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1377     elif test -f "$ac_srcdir/configure"; then
  1378       echo &&
  1379       $SHELL "$ac_srcdir/configure" --help=recursive
  1380     else
  1381       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1382     fi || ac_status=$?
  1383     cd "$ac_pwd" || { ac_status=$?; break; }
  1384   done
  1385 fi
  1386 
  1387 test -n "$ac_init_help" && exit $ac_status
  1388 if $ac_init_version; then
  1389   cat <<\_ACEOF
  1390 configure
  1391 generated by GNU Autoconf 2.69
  1392 
  1393 Copyright (C) 2012 Free Software Foundation, Inc.
  1394 This configure script is free software; the Free Software Foundation
  1395 gives unlimited permission to copy, distribute and modify it.
  1396 _ACEOF
  1397   exit
  1398 fi
  1399 
  1400 ## ------------------------ ##
  1401 ## Autoconf initialization. ##
  1402 ## ------------------------ ##
  1403 
  1404 # ac_fn_c_try_compile LINENO
  1405 # --------------------------
  1406 # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1407 ac_fn_c_try_compile ()
  1408 {
  1409   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1410   rm -f conftest.$ac_objext
  1411   if { { ac_try="$ac_compile"
  1412 case "(($ac_try" in
  1413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1414   *) ac_try_echo=$ac_try;;
  1415 esac
  1416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1417 $as_echo "$ac_try_echo"; } >&5
  1418   (eval "$ac_compile") 2>conftest.err
  1419   ac_status=$?
  1420   if test -s conftest.err; then
  1421     grep -v '^ *+' conftest.err >conftest.er1
  1422     cat conftest.er1 >&5
  1423     mv -f conftest.er1 conftest.err
  1424   fi
  1425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1426   test $ac_status = 0; } && {
  1427 	 test -z "$ac_c_werror_flag" ||
  1428 	 test ! -s conftest.err
  1429        } && test -s conftest.$ac_objext; then :
  1430   ac_retval=0
  1431 else
  1432   $as_echo "$as_me: failed program was:" >&5
  1433 sed 's/^/| /' conftest.$ac_ext >&5
  1434 
  1435 	ac_retval=1
  1436 fi
  1437   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1438   as_fn_set_status $ac_retval
  1439 
  1440 } # ac_fn_c_try_compile
  1441 
  1442 # ac_fn_c_try_run LINENO
  1443 # ----------------------
  1444 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1445 # that executables *can* be run.
  1446 ac_fn_c_try_run ()
  1447 {
  1448   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1449   if { { ac_try="$ac_link"
  1450 case "(($ac_try" in
  1451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1452   *) ac_try_echo=$ac_try;;
  1453 esac
  1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1455 $as_echo "$ac_try_echo"; } >&5
  1456   (eval "$ac_link") 2>&5
  1457   ac_status=$?
  1458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1459   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1460   { { case "(($ac_try" in
  1461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1462   *) ac_try_echo=$ac_try;;
  1463 esac
  1464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1465 $as_echo "$ac_try_echo"; } >&5
  1466   (eval "$ac_try") 2>&5
  1467   ac_status=$?
  1468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1469   test $ac_status = 0; }; }; then :
  1470   ac_retval=0
  1471 else
  1472   $as_echo "$as_me: program exited with status $ac_status" >&5
  1473        $as_echo "$as_me: failed program was:" >&5
  1474 sed 's/^/| /' conftest.$ac_ext >&5
  1475 
  1476        ac_retval=$ac_status
  1477 fi
  1478   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1479   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1480   as_fn_set_status $ac_retval
  1481 
  1482 } # ac_fn_c_try_run
  1483 
  1484 # ac_fn_c_try_link LINENO
  1485 # -----------------------
  1486 # Try to link conftest.$ac_ext, and return whether this succeeded.
  1487 ac_fn_c_try_link ()
  1488 {
  1489   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1490   rm -f conftest.$ac_objext conftest$ac_exeext
  1491   if { { ac_try="$ac_link"
  1492 case "(($ac_try" in
  1493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1494   *) ac_try_echo=$ac_try;;
  1495 esac
  1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1497 $as_echo "$ac_try_echo"; } >&5
  1498   (eval "$ac_link") 2>conftest.err
  1499   ac_status=$?
  1500   if test -s conftest.err; then
  1501     grep -v '^ *+' conftest.err >conftest.er1
  1502     cat conftest.er1 >&5
  1503     mv -f conftest.er1 conftest.err
  1504   fi
  1505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1506   test $ac_status = 0; } && {
  1507 	 test -z "$ac_c_werror_flag" ||
  1508 	 test ! -s conftest.err
  1509        } && test -s conftest$ac_exeext && {
  1510 	 test "$cross_compiling" = yes ||
  1511 	 test -x conftest$ac_exeext
  1512        }; then :
  1513   ac_retval=0
  1514 else
  1515   $as_echo "$as_me: failed program was:" >&5
  1516 sed 's/^/| /' conftest.$ac_ext >&5
  1517 
  1518 	ac_retval=1
  1519 fi
  1520   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1521   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1522   # interfere with the next link command; also delete a directory that is
  1523   # left behind by Apple's compiler.  We do this before executing the actions.
  1524   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1525   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1526   as_fn_set_status $ac_retval
  1527 
  1528 } # ac_fn_c_try_link
  1529 
  1530 # ac_fn_c_try_cpp LINENO
  1531 # ----------------------
  1532 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1533 ac_fn_c_try_cpp ()
  1534 {
  1535   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1536   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1537 case "(($ac_try" in
  1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1539   *) ac_try_echo=$ac_try;;
  1540 esac
  1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1542 $as_echo "$ac_try_echo"; } >&5
  1543   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1544   ac_status=$?
  1545   if test -s conftest.err; then
  1546     grep -v '^ *+' conftest.err >conftest.er1
  1547     cat conftest.er1 >&5
  1548     mv -f conftest.er1 conftest.err
  1549   fi
  1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1551   test $ac_status = 0; } > conftest.i && {
  1552 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1553 	 test ! -s conftest.err
  1554        }; then :
  1555   ac_retval=0
  1556 else
  1557   $as_echo "$as_me: failed program was:" >&5
  1558 sed 's/^/| /' conftest.$ac_ext >&5
  1559 
  1560     ac_retval=1
  1561 fi
  1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1563   as_fn_set_status $ac_retval
  1564 
  1565 } # ac_fn_c_try_cpp
  1566 cat >config.log <<_ACEOF
  1567 This file contains any messages produced by compilers while
  1568 running configure, to aid debugging if configure makes a mistake.
  1569 
  1570 It was created by $as_me, which was
  1571 generated by GNU Autoconf 2.69.  Invocation command line was
  1572 
  1573   $ $0 $@
  1574 
  1575 _ACEOF
  1576 exec 5>>config.log
  1577 {
  1578 cat <<_ASUNAME
  1579 ## --------- ##
  1580 ## Platform. ##
  1581 ## --------- ##
  1582 
  1583 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1584 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1585 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1586 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1587 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1588 
  1589 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1590 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1591 
  1592 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1593 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1594 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1595 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1596 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1597 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1598 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1599 
  1600 _ASUNAME
  1601 
  1602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1603 for as_dir in $PATH
  1604 do
  1605   IFS=$as_save_IFS
  1606   test -z "$as_dir" && as_dir=.
  1607     $as_echo "PATH: $as_dir"
  1608   done
  1609 IFS=$as_save_IFS
  1610 
  1611 } >&5
  1612 
  1613 cat >&5 <<_ACEOF
  1614 
  1615 
  1616 ## ----------- ##
  1617 ## Core tests. ##
  1618 ## ----------- ##
  1619 
  1620 _ACEOF
  1621 
  1622 
  1623 # Keep a trace of the command line.
  1624 # Strip out --no-create and --no-recursion so they do not pile up.
  1625 # Strip out --silent because we don't want to record it for future runs.
  1626 # Also quote any args containing shell meta-characters.
  1627 # Make two passes to allow for proper duplicate-argument suppression.
  1628 ac_configure_args=
  1629 ac_configure_args0=
  1630 ac_configure_args1=
  1631 ac_must_keep_next=false
  1632 for ac_pass in 1 2
  1633 do
  1634   for ac_arg
  1635   do
  1636     case $ac_arg in
  1637     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1638     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1639     | -silent | --silent | --silen | --sile | --sil)
  1640       continue ;;
  1641     *\'*)
  1642       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1643     esac
  1644     case $ac_pass in
  1645     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1646     2)
  1647       as_fn_append ac_configure_args1 " '$ac_arg'"
  1648       if test $ac_must_keep_next = true; then
  1649 	ac_must_keep_next=false # Got value, back to normal.
  1650       else
  1651 	case $ac_arg in
  1652 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1653 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1654 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1655 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1656 	    case "$ac_configure_args0 " in
  1657 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1658 	    esac
  1659 	    ;;
  1660 	  -* ) ac_must_keep_next=true ;;
  1661 	esac
  1662       fi
  1663       as_fn_append ac_configure_args " '$ac_arg'"
  1664       ;;
  1665     esac
  1666   done
  1667 done
  1668 { ac_configure_args0=; unset ac_configure_args0;}
  1669 { ac_configure_args1=; unset ac_configure_args1;}
  1670 
  1671 # When interrupted or exit'd, cleanup temporary files, and complete
  1672 # config.log.  We remove comments because anyway the quotes in there
  1673 # would cause problems or look ugly.
  1674 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1675 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1676 trap 'exit_status=$?
  1677   # Save into config.log some information that might help in debugging.
  1678   {
  1679     echo
  1680 
  1681     $as_echo "## ---------------- ##
  1682 ## Cache variables. ##
  1683 ## ---------------- ##"
  1684     echo
  1685     # The following way of writing the cache mishandles newlines in values,
  1686 (
  1687   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1688     eval ac_val=\$$ac_var
  1689     case $ac_val in #(
  1690     *${as_nl}*)
  1691       case $ac_var in #(
  1692       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1694       esac
  1695       case $ac_var in #(
  1696       _ | IFS | as_nl) ;; #(
  1697       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1698       *) { eval $ac_var=; unset $ac_var;} ;;
  1699       esac ;;
  1700     esac
  1701   done
  1702   (set) 2>&1 |
  1703     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1704     *${as_nl}ac_space=\ *)
  1705       sed -n \
  1706 	"s/'\''/'\''\\\\'\'''\''/g;
  1707 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1708       ;; #(
  1709     *)
  1710       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1711       ;;
  1712     esac |
  1713     sort
  1714 )
  1715     echo
  1716 
  1717     $as_echo "## ----------------- ##
  1718 ## Output variables. ##
  1719 ## ----------------- ##"
  1720     echo
  1721     for ac_var in $ac_subst_vars
  1722     do
  1723       eval ac_val=\$$ac_var
  1724       case $ac_val in
  1725       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1726       esac
  1727       $as_echo "$ac_var='\''$ac_val'\''"
  1728     done | sort
  1729     echo
  1730 
  1731     if test -n "$ac_subst_files"; then
  1732       $as_echo "## ------------------- ##
  1733 ## File substitutions. ##
  1734 ## ------------------- ##"
  1735       echo
  1736       for ac_var in $ac_subst_files
  1737       do
  1738 	eval ac_val=\$$ac_var
  1739 	case $ac_val in
  1740 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1741 	esac
  1742 	$as_echo "$ac_var='\''$ac_val'\''"
  1743       done | sort
  1744       echo
  1745     fi
  1746 
  1747     if test -s confdefs.h; then
  1748       $as_echo "## ----------- ##
  1749 ## confdefs.h. ##
  1750 ## ----------- ##"
  1751       echo
  1752       cat confdefs.h
  1753       echo
  1754     fi
  1755     test "$ac_signal" != 0 &&
  1756       $as_echo "$as_me: caught signal $ac_signal"
  1757     $as_echo "$as_me: exit $exit_status"
  1758   } >&5
  1759   rm -f core *.core core.conftest.* &&
  1760     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1761     exit $exit_status
  1762 ' 0
  1763 for ac_signal in 1 2 13 15; do
  1764   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1765 done
  1766 ac_signal=0
  1767 
  1768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1769 rm -f -r conftest* confdefs.h
  1770 
  1771 $as_echo "/* confdefs.h */" > confdefs.h
  1772 
  1773 # Predefined preprocessor variables.
  1774 
  1775 cat >>confdefs.h <<_ACEOF
  1776 #define PACKAGE_NAME "$PACKAGE_NAME"
  1777 _ACEOF
  1778 
  1779 cat >>confdefs.h <<_ACEOF
  1780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1781 _ACEOF
  1782 
  1783 cat >>confdefs.h <<_ACEOF
  1784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1785 _ACEOF
  1786 
  1787 cat >>confdefs.h <<_ACEOF
  1788 #define PACKAGE_STRING "$PACKAGE_STRING"
  1789 _ACEOF
  1790 
  1791 cat >>confdefs.h <<_ACEOF
  1792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1793 _ACEOF
  1794 
  1795 cat >>confdefs.h <<_ACEOF
  1796 #define PACKAGE_URL "$PACKAGE_URL"
  1797 _ACEOF
  1798 
  1799 
  1800 # Let the site file select an alternate cache file if it wants to.
  1801 # Prefer an explicitly selected file to automatically selected ones.
  1802 ac_site_file1=NONE
  1803 ac_site_file2=NONE
  1804 if test -n "$CONFIG_SITE"; then
  1805   # We do not want a PATH search for config.site.
  1806   case $CONFIG_SITE in #((
  1807     -*)  ac_site_file1=./$CONFIG_SITE;;
  1808     */*) ac_site_file1=$CONFIG_SITE;;
  1809     *)   ac_site_file1=./$CONFIG_SITE;;
  1810   esac
  1811 elif test "x$prefix" != xNONE; then
  1812   ac_site_file1=$prefix/share/config.site
  1813   ac_site_file2=$prefix/etc/config.site
  1814 else
  1815   ac_site_file1=$ac_default_prefix/share/config.site
  1816   ac_site_file2=$ac_default_prefix/etc/config.site
  1817 fi
  1818 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1819 do
  1820   test "x$ac_site_file" = xNONE && continue
  1821   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1822     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1823 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1824     sed 's/^/| /' "$ac_site_file" >&5
  1825     . "$ac_site_file" \
  1826       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1828 as_fn_error $? "failed to load site script $ac_site_file
  1829 See \`config.log' for more details" "$LINENO" 5; }
  1830   fi
  1831 done
  1832 
  1833 if test -r "$cache_file"; then
  1834   # Some versions of bash will fail to source /dev/null (special files
  1835   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  1836   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1837     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1838 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1839     case $cache_file in
  1840       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1841       *)                      . "./$cache_file";;
  1842     esac
  1843   fi
  1844 else
  1845   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1846 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1847   >$cache_file
  1848 fi
  1849 
  1850 # Check that the precious variables saved in the cache have kept the same
  1851 # value.
  1852 ac_cache_corrupted=false
  1853 for ac_var in $ac_precious_vars; do
  1854   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1855   eval ac_new_set=\$ac_env_${ac_var}_set
  1856   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1857   eval ac_new_val=\$ac_env_${ac_var}_value
  1858   case $ac_old_set,$ac_new_set in
  1859     set,)
  1860       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1861 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1862       ac_cache_corrupted=: ;;
  1863     ,set)
  1864       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1865 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1866       ac_cache_corrupted=: ;;
  1867     ,);;
  1868     *)
  1869       if test "x$ac_old_val" != "x$ac_new_val"; then
  1870 	# differences in whitespace do not lead to failure.
  1871 	ac_old_val_w=`echo x $ac_old_val`
  1872 	ac_new_val_w=`echo x $ac_new_val`
  1873 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1874 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1875 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1876 	  ac_cache_corrupted=:
  1877 	else
  1878 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1879 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1880 	  eval $ac_var=\$ac_old_val
  1881 	fi
  1882 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  1883 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1884 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  1885 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1886       fi;;
  1887   esac
  1888   # Pass precious variables to config.status.
  1889   if test "$ac_new_set" = set; then
  1890     case $ac_new_val in
  1891     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1892     *) ac_arg=$ac_var=$ac_new_val ;;
  1893     esac
  1894     case " $ac_configure_args " in
  1895       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1896       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1897     esac
  1898   fi
  1899 done
  1900 if $ac_cache_corrupted; then
  1901   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1903   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1904 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1905   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1906 fi
  1907 ## -------------------- ##
  1908 ## Main body of script. ##
  1909 ## -------------------- ##
  1910 
  1911 ac_ext=c
  1912 ac_cpp='$CPP $CPPFLAGS'
  1913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1916 
  1917 
  1918 
  1919 ac_aux_dir=
  1920 for ac_dir in $srcdir/../build-scripts; do
  1921   if test -f "$ac_dir/install-sh"; then
  1922     ac_aux_dir=$ac_dir
  1923     ac_install_sh="$ac_aux_dir/install-sh -c"
  1924     break
  1925   elif test -f "$ac_dir/install.sh"; then
  1926     ac_aux_dir=$ac_dir
  1927     ac_install_sh="$ac_aux_dir/install.sh -c"
  1928     break
  1929   elif test -f "$ac_dir/shtool"; then
  1930     ac_aux_dir=$ac_dir
  1931     ac_install_sh="$ac_aux_dir/shtool install -c"
  1932     break
  1933   fi
  1934 done
  1935 if test -z "$ac_aux_dir"; then
  1936   as_fn_error $? "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
  1937 fi
  1938 
  1939 # These three variables are undocumented and unsupported,
  1940 # and are intended to be withdrawn in a future Autoconf release.
  1941 # They can cause serious problems if a builder's source tree is in a directory
  1942 # whose full name contains unusual characters.
  1943 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1944 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1945 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1946 
  1947 
  1948 # Make sure we can run config.sub.
  1949 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1950   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1951 
  1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1953 $as_echo_n "checking build system type... " >&6; }
  1954 if ${ac_cv_build+:} false; then :
  1955   $as_echo_n "(cached) " >&6
  1956 else
  1957   ac_build_alias=$build_alias
  1958 test "x$ac_build_alias" = x &&
  1959   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1960 test "x$ac_build_alias" = x &&
  1961   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  1962 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1963   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1964 
  1965 fi
  1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1967 $as_echo "$ac_cv_build" >&6; }
  1968 case $ac_cv_build in
  1969 *-*-*) ;;
  1970 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  1971 esac
  1972 build=$ac_cv_build
  1973 ac_save_IFS=$IFS; IFS='-'
  1974 set x $ac_cv_build
  1975 shift
  1976 build_cpu=$1
  1977 build_vendor=$2
  1978 shift; shift
  1979 # Remember, the first character of IFS is used to create $*,
  1980 # except with old shells:
  1981 build_os=$*
  1982 IFS=$ac_save_IFS
  1983 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1984 
  1985 
  1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1987 $as_echo_n "checking host system type... " >&6; }
  1988 if ${ac_cv_host+:} false; then :
  1989   $as_echo_n "(cached) " >&6
  1990 else
  1991   if test "x$host_alias" = x; then
  1992   ac_cv_host=$ac_cv_build
  1993 else
  1994   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1995     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1996 fi
  1997 
  1998 fi
  1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2000 $as_echo "$ac_cv_host" >&6; }
  2001 case $ac_cv_host in
  2002 *-*-*) ;;
  2003 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2004 esac
  2005 host=$ac_cv_host
  2006 ac_save_IFS=$IFS; IFS='-'
  2007 set x $ac_cv_host
  2008 shift
  2009 host_cpu=$1
  2010 host_vendor=$2
  2011 shift; shift
  2012 # Remember, the first character of IFS is used to create $*,
  2013 # except with old shells:
  2014 host_os=$*
  2015 IFS=$ac_save_IFS
  2016 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2017 
  2018 
  2019 
  2020 
  2021 ac_ext=c
  2022 ac_cpp='$CPP $CPPFLAGS'
  2023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2026 if test -n "$ac_tool_prefix"; then
  2027   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2028 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2030 $as_echo_n "checking for $ac_word... " >&6; }
  2031 if ${ac_cv_prog_CC+:} false; then :
  2032   $as_echo_n "(cached) " >&6
  2033 else
  2034   if test -n "$CC"; then
  2035   ac_cv_prog_CC="$CC" # Let the user override the test.
  2036 else
  2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2038 for as_dir in $PATH
  2039 do
  2040   IFS=$as_save_IFS
  2041   test -z "$as_dir" && as_dir=.
  2042     for ac_exec_ext in '' $ac_executable_extensions; do
  2043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2044     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2046     break 2
  2047   fi
  2048 done
  2049   done
  2050 IFS=$as_save_IFS
  2051 
  2052 fi
  2053 fi
  2054 CC=$ac_cv_prog_CC
  2055 if test -n "$CC"; then
  2056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2057 $as_echo "$CC" >&6; }
  2058 else
  2059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2060 $as_echo "no" >&6; }
  2061 fi
  2062 
  2063 
  2064 fi
  2065 if test -z "$ac_cv_prog_CC"; then
  2066   ac_ct_CC=$CC
  2067   # Extract the first word of "gcc", so it can be a program name with args.
  2068 set dummy gcc; ac_word=$2
  2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2070 $as_echo_n "checking for $ac_word... " >&6; }
  2071 if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2072   $as_echo_n "(cached) " >&6
  2073 else
  2074   if test -n "$ac_ct_CC"; then
  2075   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2076 else
  2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2078 for as_dir in $PATH
  2079 do
  2080   IFS=$as_save_IFS
  2081   test -z "$as_dir" && as_dir=.
  2082     for ac_exec_ext in '' $ac_executable_extensions; do
  2083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2084     ac_cv_prog_ac_ct_CC="gcc"
  2085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2086     break 2
  2087   fi
  2088 done
  2089   done
  2090 IFS=$as_save_IFS
  2091 
  2092 fi
  2093 fi
  2094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2095 if test -n "$ac_ct_CC"; then
  2096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2097 $as_echo "$ac_ct_CC" >&6; }
  2098 else
  2099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2100 $as_echo "no" >&6; }
  2101 fi
  2102 
  2103   if test "x$ac_ct_CC" = x; then
  2104     CC=""
  2105   else
  2106     case $cross_compiling:$ac_tool_warned in
  2107 yes:)
  2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2110 ac_tool_warned=yes ;;
  2111 esac
  2112     CC=$ac_ct_CC
  2113   fi
  2114 else
  2115   CC="$ac_cv_prog_CC"
  2116 fi
  2117 
  2118 if test -z "$CC"; then
  2119           if test -n "$ac_tool_prefix"; then
  2120     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2121 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2123 $as_echo_n "checking for $ac_word... " >&6; }
  2124 if ${ac_cv_prog_CC+:} false; then :
  2125   $as_echo_n "(cached) " >&6
  2126 else
  2127   if test -n "$CC"; then
  2128   ac_cv_prog_CC="$CC" # Let the user override the test.
  2129 else
  2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2131 for as_dir in $PATH
  2132 do
  2133   IFS=$as_save_IFS
  2134   test -z "$as_dir" && as_dir=.
  2135     for ac_exec_ext in '' $ac_executable_extensions; do
  2136   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2137     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2139     break 2
  2140   fi
  2141 done
  2142   done
  2143 IFS=$as_save_IFS
  2144 
  2145 fi
  2146 fi
  2147 CC=$ac_cv_prog_CC
  2148 if test -n "$CC"; then
  2149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2150 $as_echo "$CC" >&6; }
  2151 else
  2152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2153 $as_echo "no" >&6; }
  2154 fi
  2155 
  2156 
  2157   fi
  2158 fi
  2159 if test -z "$CC"; then
  2160   # Extract the first word of "cc", so it can be a program name with args.
  2161 set dummy cc; ac_word=$2
  2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2163 $as_echo_n "checking for $ac_word... " >&6; }
  2164 if ${ac_cv_prog_CC+:} false; then :
  2165   $as_echo_n "(cached) " >&6
  2166 else
  2167   if test -n "$CC"; then
  2168   ac_cv_prog_CC="$CC" # Let the user override the test.
  2169 else
  2170   ac_prog_rejected=no
  2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2172 for as_dir in $PATH
  2173 do
  2174   IFS=$as_save_IFS
  2175   test -z "$as_dir" && as_dir=.
  2176     for ac_exec_ext in '' $ac_executable_extensions; do
  2177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2178     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2179        ac_prog_rejected=yes
  2180        continue
  2181      fi
  2182     ac_cv_prog_CC="cc"
  2183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2184     break 2
  2185   fi
  2186 done
  2187   done
  2188 IFS=$as_save_IFS
  2189 
  2190 if test $ac_prog_rejected = yes; then
  2191   # We found a bogon in the path, so make sure we never use it.
  2192   set dummy $ac_cv_prog_CC
  2193   shift
  2194   if test $# != 0; then
  2195     # We chose a different compiler from the bogus one.
  2196     # However, it has the same basename, so the bogon will be chosen
  2197     # first if we set CC to just the basename; use the full file name.
  2198     shift
  2199     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2200   fi
  2201 fi
  2202 fi
  2203 fi
  2204 CC=$ac_cv_prog_CC
  2205 if test -n "$CC"; then
  2206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2207 $as_echo "$CC" >&6; }
  2208 else
  2209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2210 $as_echo "no" >&6; }
  2211 fi
  2212 
  2213 
  2214 fi
  2215 if test -z "$CC"; then
  2216   if test -n "$ac_tool_prefix"; then
  2217   for ac_prog in cl.exe
  2218   do
  2219     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2222 $as_echo_n "checking for $ac_word... " >&6; }
  2223 if ${ac_cv_prog_CC+:} false; then :
  2224   $as_echo_n "(cached) " >&6
  2225 else
  2226   if test -n "$CC"; then
  2227   ac_cv_prog_CC="$CC" # Let the user override the test.
  2228 else
  2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2230 for as_dir in $PATH
  2231 do
  2232   IFS=$as_save_IFS
  2233   test -z "$as_dir" && as_dir=.
  2234     for ac_exec_ext in '' $ac_executable_extensions; do
  2235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2236     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2238     break 2
  2239   fi
  2240 done
  2241   done
  2242 IFS=$as_save_IFS
  2243 
  2244 fi
  2245 fi
  2246 CC=$ac_cv_prog_CC
  2247 if test -n "$CC"; then
  2248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2249 $as_echo "$CC" >&6; }
  2250 else
  2251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2252 $as_echo "no" >&6; }
  2253 fi
  2254 
  2255 
  2256     test -n "$CC" && break
  2257   done
  2258 fi
  2259 if test -z "$CC"; then
  2260   ac_ct_CC=$CC
  2261   for ac_prog in cl.exe
  2262 do
  2263   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2264 set dummy $ac_prog; ac_word=$2
  2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2266 $as_echo_n "checking for $ac_word... " >&6; }
  2267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2268   $as_echo_n "(cached) " >&6
  2269 else
  2270   if test -n "$ac_ct_CC"; then
  2271   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2272 else
  2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2274 for as_dir in $PATH
  2275 do
  2276   IFS=$as_save_IFS
  2277   test -z "$as_dir" && as_dir=.
  2278     for ac_exec_ext in '' $ac_executable_extensions; do
  2279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2280     ac_cv_prog_ac_ct_CC="$ac_prog"
  2281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2282     break 2
  2283   fi
  2284 done
  2285   done
  2286 IFS=$as_save_IFS
  2287 
  2288 fi
  2289 fi
  2290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2291 if test -n "$ac_ct_CC"; then
  2292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2293 $as_echo "$ac_ct_CC" >&6; }
  2294 else
  2295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2296 $as_echo "no" >&6; }
  2297 fi
  2298 
  2299 
  2300   test -n "$ac_ct_CC" && break
  2301 done
  2302 
  2303   if test "x$ac_ct_CC" = x; then
  2304     CC=""
  2305   else
  2306     case $cross_compiling:$ac_tool_warned in
  2307 yes:)
  2308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2310 ac_tool_warned=yes ;;
  2311 esac
  2312     CC=$ac_ct_CC
  2313   fi
  2314 fi
  2315 
  2316 fi
  2317 
  2318 
  2319 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2321 as_fn_error $? "no acceptable C compiler found in \$PATH
  2322 See \`config.log' for more details" "$LINENO" 5; }
  2323 
  2324 # Provide some information about the compiler.
  2325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2326 set X $ac_compile
  2327 ac_compiler=$2
  2328 for ac_option in --version -v -V -qversion; do
  2329   { { ac_try="$ac_compiler $ac_option >&5"
  2330 case "(($ac_try" in
  2331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2332   *) ac_try_echo=$ac_try;;
  2333 esac
  2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2335 $as_echo "$ac_try_echo"; } >&5
  2336   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2337   ac_status=$?
  2338   if test -s conftest.err; then
  2339     sed '10a\
  2340 ... rest of stderr output deleted ...
  2341          10q' conftest.err >conftest.er1
  2342     cat conftest.er1 >&5
  2343   fi
  2344   rm -f conftest.er1 conftest.err
  2345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2346   test $ac_status = 0; }
  2347 done
  2348 
  2349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2350 /* end confdefs.h.  */
  2351 
  2352 int
  2353 main ()
  2354 {
  2355 
  2356   ;
  2357   return 0;
  2358 }
  2359 _ACEOF
  2360 ac_clean_files_save=$ac_clean_files
  2361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2362 # Try to create an executable without -o first, disregard a.out.
  2363 # It will help us diagnose broken compilers, and finding out an intuition
  2364 # of exeext.
  2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2366 $as_echo_n "checking whether the C compiler works... " >&6; }
  2367 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2368 
  2369 # The possible output files:
  2370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2371 
  2372 ac_rmfiles=
  2373 for ac_file in $ac_files
  2374 do
  2375   case $ac_file in
  2376     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2377     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2378   esac
  2379 done
  2380 rm -f $ac_rmfiles
  2381 
  2382 if { { ac_try="$ac_link_default"
  2383 case "(($ac_try" in
  2384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2385   *) ac_try_echo=$ac_try;;
  2386 esac
  2387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2388 $as_echo "$ac_try_echo"; } >&5
  2389   (eval "$ac_link_default") 2>&5
  2390   ac_status=$?
  2391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2392   test $ac_status = 0; }; then :
  2393   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2394 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2395 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2396 # so that the user can short-circuit this test for compilers unknown to
  2397 # Autoconf.
  2398 for ac_file in $ac_files ''
  2399 do
  2400   test -f "$ac_file" || continue
  2401   case $ac_file in
  2402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2403 	;;
  2404     [ab].out )
  2405 	# We found the default executable, but exeext='' is most
  2406 	# certainly right.
  2407 	break;;
  2408     *.* )
  2409 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2410 	then :; else
  2411 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2412 	fi
  2413 	# We set ac_cv_exeext here because the later test for it is not
  2414 	# safe: cross compilers may not add the suffix if given an `-o'
  2415 	# argument, so we may need to know it at that point already.
  2416 	# Even if this section looks crufty: it has the advantage of
  2417 	# actually working.
  2418 	break;;
  2419     * )
  2420 	break;;
  2421   esac
  2422 done
  2423 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2424 
  2425 else
  2426   ac_file=''
  2427 fi
  2428 if test -z "$ac_file"; then :
  2429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2430 $as_echo "no" >&6; }
  2431 $as_echo "$as_me: failed program was:" >&5
  2432 sed 's/^/| /' conftest.$ac_ext >&5
  2433 
  2434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2436 as_fn_error 77 "C compiler cannot create executables
  2437 See \`config.log' for more details" "$LINENO" 5; }
  2438 else
  2439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2440 $as_echo "yes" >&6; }
  2441 fi
  2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2443 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2445 $as_echo "$ac_file" >&6; }
  2446 ac_exeext=$ac_cv_exeext
  2447 
  2448 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2449 ac_clean_files=$ac_clean_files_save
  2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2451 $as_echo_n "checking for suffix of executables... " >&6; }
  2452 if { { ac_try="$ac_link"
  2453 case "(($ac_try" in
  2454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2455   *) ac_try_echo=$ac_try;;
  2456 esac
  2457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2458 $as_echo "$ac_try_echo"; } >&5
  2459   (eval "$ac_link") 2>&5
  2460   ac_status=$?
  2461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2462   test $ac_status = 0; }; then :
  2463   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2464 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2465 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2466 # `rm'.
  2467 for ac_file in conftest.exe conftest conftest.*; do
  2468   test -f "$ac_file" || continue
  2469   case $ac_file in
  2470     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2471     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2472 	  break;;
  2473     * ) break;;
  2474   esac
  2475 done
  2476 else
  2477   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2479 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  2480 See \`config.log' for more details" "$LINENO" 5; }
  2481 fi
  2482 rm -f conftest conftest$ac_cv_exeext
  2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2484 $as_echo "$ac_cv_exeext" >&6; }
  2485 
  2486 rm -f conftest.$ac_ext
  2487 EXEEXT=$ac_cv_exeext
  2488 ac_exeext=$EXEEXT
  2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2490 /* end confdefs.h.  */
  2491 #include <stdio.h>
  2492 int
  2493 main ()
  2494 {
  2495 FILE *f = fopen ("conftest.out", "w");
  2496  return ferror (f) || fclose (f) != 0;
  2497 
  2498   ;
  2499   return 0;
  2500 }
  2501 _ACEOF
  2502 ac_clean_files="$ac_clean_files conftest.out"
  2503 # Check that the compiler produces executables we can run.  If not, either
  2504 # the compiler is broken, or we cross compile.
  2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2506 $as_echo_n "checking whether we are cross compiling... " >&6; }
  2507 if test "$cross_compiling" != yes; then
  2508   { { ac_try="$ac_link"
  2509 case "(($ac_try" in
  2510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2511   *) ac_try_echo=$ac_try;;
  2512 esac
  2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2514 $as_echo "$ac_try_echo"; } >&5
  2515   (eval "$ac_link") 2>&5
  2516   ac_status=$?
  2517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2518   test $ac_status = 0; }
  2519   if { ac_try='./conftest$ac_cv_exeext'
  2520   { { case "(($ac_try" in
  2521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2522   *) ac_try_echo=$ac_try;;
  2523 esac
  2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2525 $as_echo "$ac_try_echo"; } >&5
  2526   (eval "$ac_try") 2>&5
  2527   ac_status=$?
  2528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2529   test $ac_status = 0; }; }; then
  2530     cross_compiling=no
  2531   else
  2532     if test "$cross_compiling" = maybe; then
  2533 	cross_compiling=yes
  2534     else
  2535 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2537 as_fn_error $? "cannot run C compiled programs.
  2538 If you meant to cross compile, use \`--host'.
  2539 See \`config.log' for more details" "$LINENO" 5; }
  2540     fi
  2541   fi
  2542 fi
  2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2544 $as_echo "$cross_compiling" >&6; }
  2545 
  2546 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  2547 ac_clean_files=$ac_clean_files_save
  2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2549 $as_echo_n "checking for suffix of object files... " >&6; }
  2550 if ${ac_cv_objext+:} false; then :
  2551   $as_echo_n "(cached) " >&6
  2552 else
  2553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2554 /* end confdefs.h.  */
  2555 
  2556 int
  2557 main ()
  2558 {
  2559 
  2560   ;
  2561   return 0;
  2562 }
  2563 _ACEOF
  2564 rm -f conftest.o conftest.obj
  2565 if { { ac_try="$ac_compile"
  2566 case "(($ac_try" in
  2567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2568   *) ac_try_echo=$ac_try;;
  2569 esac
  2570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2571 $as_echo "$ac_try_echo"; } >&5
  2572   (eval "$ac_compile") 2>&5
  2573   ac_status=$?
  2574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2575   test $ac_status = 0; }; then :
  2576   for ac_file in conftest.o conftest.obj conftest.*; do
  2577   test -f "$ac_file" || continue;
  2578   case $ac_file in
  2579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2580     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2581        break;;
  2582   esac
  2583 done
  2584 else
  2585   $as_echo "$as_me: failed program was:" >&5
  2586 sed 's/^/| /' conftest.$ac_ext >&5
  2587 
  2588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2590 as_fn_error $? "cannot compute suffix of object files: cannot compile
  2591 See \`config.log' for more details" "$LINENO" 5; }
  2592 fi
  2593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2594 fi
  2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2596 $as_echo "$ac_cv_objext" >&6; }
  2597 OBJEXT=$ac_cv_objext
  2598 ac_objext=$OBJEXT
  2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2600 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2601 if ${ac_cv_c_compiler_gnu+:} false; then :
  2602   $as_echo_n "(cached) " >&6
  2603 else
  2604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2605 /* end confdefs.h.  */
  2606 
  2607 int
  2608 main ()
  2609 {
  2610 #ifndef __GNUC__
  2611        choke me
  2612 #endif
  2613 
  2614   ;
  2615   return 0;
  2616 }
  2617 _ACEOF
  2618 if ac_fn_c_try_compile "$LINENO"; then :
  2619   ac_compiler_gnu=yes
  2620 else
  2621   ac_compiler_gnu=no
  2622 fi
  2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2625 
  2626 fi
  2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2629 if test $ac_compiler_gnu = yes; then
  2630   GCC=yes
  2631 else
  2632   GCC=
  2633 fi
  2634 ac_test_CFLAGS=${CFLAGS+set}
  2635 ac_save_CFLAGS=$CFLAGS
  2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2638 if ${ac_cv_prog_cc_g+:} false; then :
  2639   $as_echo_n "(cached) " >&6
  2640 else
  2641   ac_save_c_werror_flag=$ac_c_werror_flag
  2642    ac_c_werror_flag=yes
  2643    ac_cv_prog_cc_g=no
  2644    CFLAGS="-g"
  2645    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2646 /* end confdefs.h.  */
  2647 
  2648 int
  2649 main ()
  2650 {
  2651 
  2652   ;
  2653   return 0;
  2654 }
  2655 _ACEOF
  2656 if ac_fn_c_try_compile "$LINENO"; then :
  2657   ac_cv_prog_cc_g=yes
  2658 else
  2659   CFLAGS=""
  2660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2661 /* end confdefs.h.  */
  2662 
  2663 int
  2664 main ()
  2665 {
  2666 
  2667   ;
  2668   return 0;
  2669 }
  2670 _ACEOF
  2671 if ac_fn_c_try_compile "$LINENO"; then :
  2672 
  2673 else
  2674   ac_c_werror_flag=$ac_save_c_werror_flag
  2675 	 CFLAGS="-g"
  2676 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2677 /* end confdefs.h.  */
  2678 
  2679 int
  2680 main ()
  2681 {
  2682 
  2683   ;
  2684   return 0;
  2685 }
  2686 _ACEOF
  2687 if ac_fn_c_try_compile "$LINENO"; then :
  2688   ac_cv_prog_cc_g=yes
  2689 fi
  2690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2691 fi
  2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2693 fi
  2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2695    ac_c_werror_flag=$ac_save_c_werror_flag
  2696 fi
  2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  2698 $as_echo "$ac_cv_prog_cc_g" >&6; }
  2699 if test "$ac_test_CFLAGS" = set; then
  2700   CFLAGS=$ac_save_CFLAGS
  2701 elif test $ac_cv_prog_cc_g = yes; then
  2702   if test "$GCC" = yes; then
  2703     CFLAGS="-g -O2"
  2704   else
  2705     CFLAGS="-g"
  2706   fi
  2707 else
  2708   if test "$GCC" = yes; then
  2709     CFLAGS="-O2"
  2710   else
  2711     CFLAGS=
  2712   fi
  2713 fi
  2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  2715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2716 if ${ac_cv_prog_cc_c89+:} false; then :
  2717   $as_echo_n "(cached) " >&6
  2718 else
  2719   ac_cv_prog_cc_c89=no
  2720 ac_save_CC=$CC
  2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2722 /* end confdefs.h.  */
  2723 #include <stdarg.h>
  2724 #include <stdio.h>
  2725 struct stat;
  2726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2727 struct buf { int x; };
  2728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2729 static char *e (p, i)
  2730      char **p;
  2731      int i;
  2732 {
  2733   return p[i];
  2734 }
  2735 static char *f (char * (*g) (char **, int), char **p, ...)
  2736 {
  2737   char *s;
  2738   va_list v;
  2739   va_start (v,p);
  2740   s = g (p, va_arg (v,int));
  2741   va_end (v);
  2742   return s;
  2743 }
  2744 
  2745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  2746    function prototypes and stuff, but not '\xHH' hex character constants.
  2747    These don't provoke an error unfortunately, instead are silently treated
  2748    as 'x'.  The following induces an error, until -std is added to get
  2749    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  2750    array size at least.  It's necessary to write '\x00'==0 to get something
  2751    that's true only with -std.  */
  2752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2753 
  2754 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2755    inside strings and character constants.  */
  2756 #define FOO(x) 'x'
  2757 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2758 
  2759 int test (int i, double x);
  2760 struct s1 {int (*f) (int a);};
  2761 struct s2 {int (*f) (double a);};
  2762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2763 int argc;
  2764 char **argv;
  2765 int
  2766 main ()
  2767 {
  2768 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2769   ;
  2770   return 0;
  2771 }
  2772 _ACEOF
  2773 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2774 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2775 do
  2776   CC="$ac_save_CC $ac_arg"
  2777   if ac_fn_c_try_compile "$LINENO"; then :
  2778   ac_cv_prog_cc_c89=$ac_arg
  2779 fi
  2780 rm -f core conftest.err conftest.$ac_objext
  2781   test "x$ac_cv_prog_cc_c89" != "xno" && break
  2782 done
  2783 rm -f conftest.$ac_ext
  2784 CC=$ac_save_CC
  2785 
  2786 fi
  2787 # AC_CACHE_VAL
  2788 case "x$ac_cv_prog_cc_c89" in
  2789   x)
  2790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  2791 $as_echo "none needed" >&6; } ;;
  2792   xno)
  2793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  2794 $as_echo "unsupported" >&6; } ;;
  2795   *)
  2796     CC="$CC $ac_cv_prog_cc_c89"
  2797     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  2798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2799 esac
  2800 if test "x$ac_cv_prog_cc_c89" != xno; then :
  2801 
  2802 fi
  2803 
  2804 ac_ext=c
  2805 ac_cpp='$CPP $CPPFLAGS'
  2806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2809 
  2810 
  2811 
  2812 
  2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  2814 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  2815 if ${ac_cv_c_const+:} false; then :
  2816   $as_echo_n "(cached) " >&6
  2817 else
  2818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2819 /* end confdefs.h.  */
  2820 
  2821 int
  2822 main ()
  2823 {
  2824 
  2825 #ifndef __cplusplus
  2826   /* Ultrix mips cc rejects this sort of thing.  */
  2827   typedef int charset[2];
  2828   const charset cs = { 0, 0 };
  2829   /* SunOS 4.1.1 cc rejects this.  */
  2830   char const *const *pcpcc;
  2831   char **ppc;
  2832   /* NEC SVR4.0.2 mips cc rejects this.  */
  2833   struct point {int x, y;};
  2834   static struct point const zero = {0,0};
  2835   /* AIX XL C 1.02.0.0 rejects this.
  2836      It does not let you subtract one const X* pointer from another in
  2837      an arm of an if-expression whose if-part is not a constant
  2838      expression */
  2839   const char *g = "string";
  2840   pcpcc = &g + (g ? g-g : 0);
  2841   /* HPUX 7.0 cc rejects these. */
  2842   ++pcpcc;
  2843   ppc = (char**) pcpcc;
  2844   pcpcc = (char const *const *) ppc;
  2845   { /* SCO 3.2v4 cc rejects this sort of thing.  */
  2846     char tx;
  2847     char *t = &tx;
  2848     char const *s = 0 ? (char *) 0 : (char const *) 0;
  2849 
  2850     *t++ = 0;
  2851     if (s) return 0;
  2852   }
  2853   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  2854     int x[] = {25, 17};
  2855     const int *foo = &x[0];
  2856     ++foo;
  2857   }
  2858   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  2859     typedef const int *iptr;
  2860     iptr p = 0;
  2861     ++p;
  2862   }
  2863   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  2864        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  2865     struct s { int j; const int *ap[3]; } bx;
  2866     struct s *b = &bx; b->j = 5;
  2867   }
  2868   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  2869     const int foo = 10;
  2870     if (!foo) return 0;
  2871   }
  2872   return !cs[0] && !zero.x;
  2873 #endif
  2874 
  2875   ;
  2876   return 0;
  2877 }
  2878 _ACEOF
  2879 if ac_fn_c_try_compile "$LINENO"; then :
  2880   ac_cv_c_const=yes
  2881 else
  2882   ac_cv_c_const=no
  2883 fi
  2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2885 fi
  2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  2887 $as_echo "$ac_cv_c_const" >&6; }
  2888 if test $ac_cv_c_const = no; then
  2889 
  2890 $as_echo "#define const /**/" >>confdefs.h
  2891 
  2892 fi
  2893 
  2894 
  2895 ISUNIX="false"
  2896 ISWINDOWS="false"
  2897 ISMACOSX="false"
  2898 
  2899 case "$host" in
  2900     *-*-cygwin* | *-*-mingw32*)
  2901         ISWINDOWS="true"
  2902         EXE=".exe"
  2903         MATHLIB=""
  2904         SYS_GL_LIBS="-lopengl32"
  2905         ;;
  2906     *-*-haiku*)
  2907         EXE=""
  2908         MATHLIB=""
  2909         SYS_GL_LIBS="-lGL"
  2910         ;;
  2911     *-*-darwin* )
  2912         ISMACOSX="true"
  2913         EXE=""
  2914         MATHLIB=""
  2915         SYS_GL_LIBS="-Wl,-framework,OpenGL"
  2916         ;;
  2917     *-*-aix*)
  2918         ISUNIX="true"
  2919         EXE=""
  2920         if test x$ac_cv_c_compiler_gnu = xyes; then
  2921             CFLAGS="-mthreads"
  2922         fi
  2923         SYS_GL_LIBS=""
  2924         ;;
  2925     *-*-mint*)
  2926         EXE=""
  2927         MATHLIB=""
  2928         # Extract the first word of "osmesa-config", so it can be a program name with args.
  2929 set dummy osmesa-config; ac_word=$2
  2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2931 $as_echo_n "checking for $ac_word... " >&6; }
  2932 if ${ac_cv_path_OSMESA_CONFIG+:} false; then :
  2933   $as_echo_n "(cached) " >&6
  2934 else
  2935   case $OSMESA_CONFIG in
  2936   [\\/]* | ?:[\\/]*)
  2937   ac_cv_path_OSMESA_CONFIG="$OSMESA_CONFIG" # Let the user override the test with a path.
  2938   ;;
  2939   *)
  2940   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2941 for as_dir in $PATH
  2942 do
  2943   IFS=$as_save_IFS
  2944   test -z "$as_dir" && as_dir=.
  2945     for ac_exec_ext in '' $ac_executable_extensions; do
  2946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2947     ac_cv_path_OSMESA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  2948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2949     break 2
  2950   fi
  2951 done
  2952   done
  2953 IFS=$as_save_IFS
  2954 
  2955   test -z "$ac_cv_path_OSMESA_CONFIG" && ac_cv_path_OSMESA_CONFIG="no"
  2956   ;;
  2957 esac
  2958 fi
  2959 OSMESA_CONFIG=$ac_cv_path_OSMESA_CONFIG
  2960 if test -n "$OSMESA_CONFIG"; then
  2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSMESA_CONFIG" >&5
  2962 $as_echo "$OSMESA_CONFIG" >&6; }
  2963 else
  2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2965 $as_echo "no" >&6; }
  2966 fi
  2967 
  2968 
  2969         if test "x$OSMESA_CONFIG" = "xyes"; then
  2970             OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags`
  2971             OSMESA_LIBS=`$OSMESA_CONFIG --libs`
  2972             CFLAGS="$CFLAGS $OSMESA_CFLAGS"
  2973             SYS_GL_LIBS="$OSMESA_LIBS"
  2974         else
  2975             SYS_GL_LIBS="-lOSMesa"
  2976         fi
  2977         ;;
  2978     *-*-qnx*)
  2979         EXE=""
  2980         MATHLIB=""
  2981         SYS_GL_LIBS="-lGLES_CM"
  2982         ;;
  2983     *-*-emscripten* )
  2984                 EXE=".bc"
  2985         MATHLIB=""
  2986         SYS_GL_LIBS=""
  2987         ;;
  2988     *)
  2989                 ISUNIX="true"
  2990         EXE=""
  2991         MATHLIB="-lm"
  2992         SYS_GL_LIBS="-lGL"
  2993         ;;
  2994 esac
  2995 
  2996 
  2997 
  2998 
  2999 
  3000 
  3001 SDL_VERSION=2.0.0
  3002 
  3003 
  3004 
  3005 
  3006 
  3007 
  3008 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  3009 	if test -n "$ac_tool_prefix"; then
  3010   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  3011 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3013 $as_echo_n "checking for $ac_word... " >&6; }
  3014 if ${ac_cv_path_PKG_CONFIG+:} false; then :
  3015   $as_echo_n "(cached) " >&6
  3016 else
  3017   case $PKG_CONFIG in
  3018   [\\/]* | ?:[\\/]*)
  3019   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  3020   ;;
  3021   *)
  3022   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3023 for as_dir in $PATH
  3024 do
  3025   IFS=$as_save_IFS
  3026   test -z "$as_dir" && as_dir=.
  3027     for ac_exec_ext in '' $ac_executable_extensions; do
  3028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3029     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  3030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3031     break 2
  3032   fi
  3033 done
  3034   done
  3035 IFS=$as_save_IFS
  3036 
  3037   ;;
  3038 esac
  3039 fi
  3040 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  3041 if test -n "$PKG_CONFIG"; then
  3042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  3043 $as_echo "$PKG_CONFIG" >&6; }
  3044 else
  3045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3046 $as_echo "no" >&6; }
  3047 fi
  3048 
  3049 
  3050 fi
  3051 if test -z "$ac_cv_path_PKG_CONFIG"; then
  3052   ac_pt_PKG_CONFIG=$PKG_CONFIG
  3053   # Extract the first word of "pkg-config", so it can be a program name with args.
  3054 set dummy pkg-config; ac_word=$2
  3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3056 $as_echo_n "checking for $ac_word... " >&6; }
  3057 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  3058   $as_echo_n "(cached) " >&6
  3059 else
  3060   case $ac_pt_PKG_CONFIG in
  3061   [\\/]* | ?:[\\/]*)
  3062   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  3063   ;;
  3064   *)
  3065   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3066 for as_dir in $PATH
  3067 do
  3068   IFS=$as_save_IFS
  3069   test -z "$as_dir" && as_dir=.
  3070     for ac_exec_ext in '' $ac_executable_extensions; do
  3071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3072     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  3073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3074     break 2
  3075   fi
  3076 done
  3077   done
  3078 IFS=$as_save_IFS
  3079 
  3080   ;;
  3081 esac
  3082 fi
  3083 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  3084 if test -n "$ac_pt_PKG_CONFIG"; then
  3085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  3086 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  3087 else
  3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3089 $as_echo "no" >&6; }
  3090 fi
  3091 
  3092   if test "x$ac_pt_PKG_CONFIG" = x; then
  3093     PKG_CONFIG=""
  3094   else
  3095     case $cross_compiling:$ac_tool_warned in
  3096 yes:)
  3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3099 ac_tool_warned=yes ;;
  3100 esac
  3101     PKG_CONFIG=$ac_pt_PKG_CONFIG
  3102   fi
  3103 else
  3104   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  3105 fi
  3106 
  3107 fi
  3108 if test -n "$PKG_CONFIG"; then
  3109 	_pkg_min_version=0.9.0
  3110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  3111 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  3112 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  3113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3114 $as_echo "yes" >&6; }
  3115 	else
  3116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3117 $as_echo "no" >&6; }
  3118 		PKG_CONFIG=""
  3119 	fi
  3120 fi
  3121 
  3122 # Check whether --with-sdl-prefix was given.
  3123 if test "${with_sdl_prefix+set}" = set; then :
  3124   withval=$with_sdl_prefix; sdl_prefix="$withval"
  3125 else
  3126   sdl_prefix=""
  3127 fi
  3128 
  3129 
  3130 # Check whether --with-sdl-exec-prefix was given.
  3131 if test "${with_sdl_exec_prefix+set}" = set; then :
  3132   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
  3133 else
  3134   sdl_exec_prefix=""
  3135 fi
  3136 
  3137 # Check whether --enable-sdltest was given.
  3138 if test "${enable_sdltest+set}" = set; then :
  3139   enableval=$enable_sdltest;
  3140 else
  3141   enable_sdltest=yes
  3142 fi
  3143 
  3144 
  3145   min_sdl_version=$SDL_VERSION
  3146 
  3147   if test "x$sdl_prefix$sdl_exec_prefix" = x ; then
  3148 
  3149 pkg_failed=no
  3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
  3151 $as_echo_n "checking for SDL... " >&6; }
  3152 
  3153 if test -n "$SDL_CFLAGS"; then
  3154     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
  3155  elif test -n "$PKG_CONFIG"; then
  3156     if test -n "$PKG_CONFIG" && \
  3157     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
  3158   ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
  3159   ac_status=$?
  3160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3161   test $ac_status = 0; }; then
  3162   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2 >= $min_sdl_version" 2>/dev/null`
  3163 else
  3164   pkg_failed=yes
  3165 fi
  3166  else
  3167     pkg_failed=untried
  3168 fi
  3169 if test -n "$SDL_LIBS"; then
  3170     pkg_cv_SDL_LIBS="$SDL_LIBS"
  3171  elif test -n "$PKG_CONFIG"; then
  3172     if test -n "$PKG_CONFIG" && \
  3173     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
  3174   ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
  3175   ac_status=$?
  3176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3177   test $ac_status = 0; }; then
  3178   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2 >= $min_sdl_version" 2>/dev/null`
  3179 else
  3180   pkg_failed=yes
  3181 fi
  3182  else
  3183     pkg_failed=untried
  3184 fi
  3185 
  3186 
  3187 
  3188 if test $pkg_failed = yes; then
  3189    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3190 $as_echo "no" >&6; }
  3191 
  3192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  3193         _pkg_short_errors_supported=yes
  3194 else
  3195         _pkg_short_errors_supported=no
  3196 fi
  3197         if test $_pkg_short_errors_supported = yes; then
  3198 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl2 >= $min_sdl_version" 2>&1`
  3199         else
  3200 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl2 >= $min_sdl_version" 2>&1`
  3201         fi
  3202 	# Put the nasty error message in config.log where it belongs
  3203 	echo "$SDL_PKG_ERRORS" >&5
  3204 
  3205 	sdl_pc=no
  3206 elif test $pkg_failed = untried; then
  3207      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3208 $as_echo "no" >&6; }
  3209 	sdl_pc=no
  3210 else
  3211 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
  3212 	SDL_LIBS=$pkg_cv_SDL_LIBS
  3213         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3214 $as_echo "yes" >&6; }
  3215 	sdl_pc=yes
  3216 fi
  3217   else
  3218     sdl_pc=no
  3219     if test x$sdl_exec_prefix != x ; then
  3220       sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
  3221       if test x${SDL_CONFIG+set} != xset ; then
  3222         SDL_CONFIG=$sdl_exec_prefix/bin/sdl2-config
  3223       fi
  3224     fi
  3225     if test x$sdl_prefix != x ; then
  3226       sdl_config_args="$sdl_config_args --prefix=$sdl_prefix"
  3227       if test x${SDL_CONFIG+set} != xset ; then
  3228         SDL_CONFIG=$sdl_prefix/bin/sdl2-config
  3229       fi
  3230     fi
  3231   fi
  3232 
  3233   if test "x$sdl_pc" = xyes ; then
  3234     no_sdl=""
  3235     SDL_CONFIG="pkg-config sdl2"
  3236   else
  3237     as_save_PATH="$PATH"
  3238     if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
  3239       PATH="$prefix/bin:$prefix/usr/bin:$PATH"
  3240     fi
  3241     # Extract the first word of "sdl2-config", so it can be a program name with args.
  3242 set dummy sdl2-config; ac_word=$2
  3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3244 $as_echo_n "checking for $ac_word... " >&6; }
  3245 if ${ac_cv_path_SDL_CONFIG+:} false; then :
  3246   $as_echo_n "(cached) " >&6
  3247 else
  3248   case $SDL_CONFIG in
  3249   [\\/]* | ?:[\\/]*)
  3250   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
  3251   ;;
  3252   *)
  3253   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3254 for as_dir in $PATH
  3255 do
  3256   IFS=$as_save_IFS
  3257   test -z "$as_dir" && as_dir=.
  3258     for ac_exec_ext in '' $ac_executable_extensions; do
  3259   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3260     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  3261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3262     break 2
  3263   fi
  3264 done
  3265   done
  3266 IFS=$as_save_IFS
  3267 
  3268   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
  3269   ;;
  3270 esac
  3271 fi
  3272 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
  3273 if test -n "$SDL_CONFIG"; then
  3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
  3275 $as_echo "$SDL_CONFIG" >&6; }
  3276 else
  3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3278 $as_echo "no" >&6; }
  3279 fi
  3280 
  3281 
  3282     PATH="$as_save_PATH"
  3283     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
  3284 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
  3285     no_sdl=""
  3286 
  3287     if test "$SDL_CONFIG" = "no" ; then
  3288       no_sdl=yes
  3289     else
  3290       SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
  3291       SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
  3292 
  3293       sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
  3294              sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  3295       sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \
  3296              sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  3297       sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
  3298              sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  3299       if test "x$enable_sdltest" = "xyes" ; then
  3300         ac_save_CFLAGS="$CFLAGS"
  3301         ac_save_CXXFLAGS="$CXXFLAGS"
  3302         ac_save_LIBS="$LIBS"
  3303         CFLAGS="$CFLAGS $SDL_CFLAGS"
  3304         CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  3305         LIBS="$LIBS $SDL_LIBS"
  3306       rm -f conf.sdltest
  3307       if test "$cross_compiling" = yes; then :
  3308   echo $ac_n "cross compiling; assumed OK... $ac_c"
  3309 else
  3310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3311 /* end confdefs.h.  */
  3312 
  3313 #include <stdio.h>
  3314 #include <stdlib.h>
  3315 #include <string.h>
  3316 #include "SDL.h"
  3317 
  3318 char*
  3319 my_strdup (char *str)
  3320 {
  3321   char *new_str;
  3322 
  3323   if (str)
  3324     {
  3325       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
  3326       strcpy (new_str, str);
  3327     }
  3328   else
  3329     new_str = NULL;
  3330 
  3331   return new_str;
  3332 }
  3333 
  3334 int main (int argc, char *argv[])
  3335 {
  3336   int major, minor, micro;
  3337   char *tmp_version;
  3338 
  3339   /* This hangs on some systems (?)
  3340   system ("touch conf.sdltest");
  3341   */
  3342   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
  3343 
  3344   /* HP/UX 9 (%@#!) writes to sscanf strings */
  3345   tmp_version = my_strdup("$min_sdl_version");
  3346   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  3347      printf("%s, bad version string\n", "$min_sdl_version");
  3348      exit(1);
  3349    }
  3350 
  3351    if (($sdl_major_version > major) ||
  3352       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
  3353       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
  3354     {
  3355       return 0;
  3356     }
  3357   else
  3358     {
  3359       printf("\n*** 'sdl2-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
  3360       printf("*** of SDL required is %d.%d.%d. If sdl2-config is correct, then it is\n", major, minor, micro);
  3361       printf("*** best to upgrade to the required version.\n");
  3362       printf("*** If sdl2-config was wrong, set the environment variable SDL_CONFIG\n");
  3363       printf("*** to point to the correct copy of sdl2-config, and remove the file\n");
  3364       printf("*** config.cache before re-running configure\n");
  3365       return 1;
  3366     }
  3367 }
  3368 
  3369 
  3370 _ACEOF
  3371 if ac_fn_c_try_run "$LINENO"; then :
  3372 
  3373 else
  3374   no_sdl=yes
  3375 fi
  3376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3377   conftest.$ac_objext conftest.beam conftest.$ac_ext
  3378 fi
  3379 
  3380         CFLAGS="$ac_save_CFLAGS"
  3381         CXXFLAGS="$ac_save_CXXFLAGS"
  3382         LIBS="$ac_save_LIBS"
  3383       fi
  3384     fi
  3385     if test "x$no_sdl" = x ; then
  3386       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3387 $as_echo "yes" >&6; }
  3388     else
  3389       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3390 $as_echo "no" >&6; }
  3391     fi
  3392   fi
  3393   if test "x$no_sdl" = x ; then
  3394      :
  3395   else
  3396      if test "$SDL_CONFIG" = "no" ; then
  3397        echo "*** The sdl2-config script installed by SDL could not be found"
  3398        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
  3399        echo "*** your path, or set the SDL_CONFIG environment variable to the"
  3400        echo "*** full path to sdl2-config."
  3401      else
  3402        if test -f conf.sdltest ; then
  3403         :
  3404        else
  3405           echo "*** Could not run SDL test program, checking why..."
  3406           CFLAGS="$CFLAGS $SDL_CFLAGS"
  3407           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  3408           LIBS="$LIBS $SDL_LIBS"
  3409           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3410 /* end confdefs.h.  */
  3411 
  3412 #include <stdio.h>
  3413 #include "SDL.h"
  3414 
  3415 int main(int argc, char *argv[])
  3416 { return 0; }
  3417 #undef  main
  3418 #define main K_and_R_C_main
  3419 
  3420 int
  3421 main ()
  3422 {
  3423  return 0;
  3424   ;
  3425   return 0;
  3426 }
  3427 _ACEOF
  3428 if ac_fn_c_try_link "$LINENO"; then :
  3429    echo "*** The test program compiled, but did not run. This usually means"
  3430           echo "*** that the run-time linker is not finding SDL or finding the wrong"
  3431           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
  3432           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  3433           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
  3434           echo "*** is required on your system"
  3435 	  echo "***"
  3436           echo "*** If you have an old version installed, it is best to remove it, although"
  3437           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  3438 else
  3439    echo "*** The test program failed to compile or link. See the file config.log for the"
  3440           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
  3441           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
  3442           echo "*** may want to edit the sdl2-config script: $SDL_CONFIG"
  3443 fi
  3444 rm -f core conftest.err conftest.$ac_objext \
  3445     conftest$ac_exeext conftest.$ac_ext
  3446           CFLAGS="$ac_save_CFLAGS"
  3447           CXXFLAGS="$ac_save_CXXFLAGS"
  3448           LIBS="$ac_save_LIBS"
  3449        fi
  3450      fi
  3451      SDL_CFLAGS=""
  3452      SDL_LIBS=""
  3453      as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
  3454 
  3455   fi
  3456 
  3457 
  3458   rm -f conf.sdltest
  3459 
  3460 CFLAGS="$CFLAGS $SDL_CFLAGS"
  3461 LIBS="$LIBS -lSDL2_test $SDL_LIBS"
  3462 
  3463 ac_ext=c
  3464 ac_cpp='$CPP $CPPFLAGS'
  3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3469 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3470 # On Suns, sometimes $CPP names a directory.
  3471 if test -n "$CPP" && test -d "$CPP"; then
  3472   CPP=
  3473 fi
  3474 if test -z "$CPP"; then
  3475   if ${ac_cv_prog_CPP+:} false; then :
  3476   $as_echo_n "(cached) " >&6
  3477 else
  3478       # Double quotes because CPP needs to be expanded
  3479     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3480     do
  3481       ac_preproc_ok=false
  3482 for ac_c_preproc_warn_flag in '' yes
  3483 do
  3484   # Use a header file that comes with gcc, so configuring glibc
  3485   # with a fresh cross-compiler works.
  3486   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3487   # <limits.h> exists even on freestanding compilers.
  3488   # On the NeXT, cc -E runs the code through the compiler's parser,
  3489   # not just through cpp. "Syntax error" is here to catch this case.
  3490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3491 /* end confdefs.h.  */
  3492 #ifdef __STDC__
  3493 # include <limits.h>
  3494 #else
  3495 # include <assert.h>
  3496 #endif
  3497 		     Syntax error
  3498 _ACEOF
  3499 if ac_fn_c_try_cpp "$LINENO"; then :
  3500 
  3501 else
  3502   # Broken: fails on valid input.
  3503 continue
  3504 fi
  3505 rm -f conftest.err conftest.i conftest.$ac_ext
  3506 
  3507   # OK, works on sane cases.  Now check whether nonexistent headers
  3508   # can be detected and how.
  3509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3510 /* end confdefs.h.  */
  3511 #include <ac_nonexistent.h>
  3512 _ACEOF
  3513 if ac_fn_c_try_cpp "$LINENO"; then :
  3514   # Broken: success on invalid input.
  3515 continue
  3516 else
  3517   # Passes both tests.
  3518 ac_preproc_ok=:
  3519 break
  3520 fi
  3521 rm -f conftest.err conftest.i conftest.$ac_ext
  3522 
  3523 done
  3524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3525 rm -f conftest.i conftest.err conftest.$ac_ext
  3526 if $ac_preproc_ok; then :
  3527   break
  3528 fi
  3529 
  3530     done
  3531     ac_cv_prog_CPP=$CPP
  3532 
  3533 fi
  3534   CPP=$ac_cv_prog_CPP
  3535 else
  3536   ac_cv_prog_CPP=$CPP
  3537 fi
  3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3539 $as_echo "$CPP" >&6; }
  3540 ac_preproc_ok=false
  3541 for ac_c_preproc_warn_flag in '' yes
  3542 do
  3543   # Use a header file that comes with gcc, so configuring glibc
  3544   # with a fresh cross-compiler works.
  3545   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3546   # <limits.h> exists even on freestanding compilers.
  3547   # On the NeXT, cc -E runs the code through the compiler's parser,
  3548   # not just through cpp. "Syntax error" is here to catch this case.
  3549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3550 /* end confdefs.h.  */
  3551 #ifdef __STDC__
  3552 # include <limits.h>
  3553 #else
  3554 # include <assert.h>
  3555 #endif
  3556 		     Syntax error
  3557 _ACEOF
  3558 if ac_fn_c_try_cpp "$LINENO"; then :
  3559 
  3560 else
  3561   # Broken: fails on valid input.
  3562 continue
  3563 fi
  3564 rm -f conftest.err conftest.i conftest.$ac_ext
  3565 
  3566   # OK, works on sane cases.  Now check whether nonexistent headers
  3567   # can be detected and how.
  3568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3569 /* end confdefs.h.  */
  3570 #include <ac_nonexistent.h>
  3571 _ACEOF
  3572 if ac_fn_c_try_cpp "$LINENO"; then :
  3573   # Broken: success on invalid input.
  3574 continue
  3575 else
  3576   # Passes both tests.
  3577 ac_preproc_ok=:
  3578 break
  3579 fi
  3580 rm -f conftest.err conftest.i conftest.$ac_ext
  3581 
  3582 done
  3583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3584 rm -f conftest.i conftest.err conftest.$ac_ext
  3585 if $ac_preproc_ok; then :
  3586 
  3587 else
  3588   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3590 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  3591 See \`config.log' for more details" "$LINENO" 5; }
  3592 fi
  3593 
  3594 ac_ext=c
  3595 ac_cpp='$CPP $CPPFLAGS'
  3596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3599 
  3600 
  3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  3602 $as_echo_n "checking for X... " >&6; }
  3603 
  3604 
  3605 # Check whether --with-x was given.
  3606 if test "${with_x+set}" = set; then :
  3607   withval=$with_x;
  3608 fi
  3609 
  3610 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  3611 if test "x$with_x" = xno; then
  3612   # The user explicitly disabled X.
  3613   have_x=disabled
  3614 else
  3615   case $x_includes,$x_libraries in #(
  3616     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  3617     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
  3618   $as_echo_n "(cached) " >&6
  3619 else
  3620   # One or both of the vars are not set, and there is no cached value.
  3621 ac_x_includes=no ac_x_libraries=no
  3622 rm -f -r conftest.dir
  3623 if mkdir conftest.dir; then
  3624   cd conftest.dir
  3625   cat >Imakefile <<'_ACEOF'
  3626 incroot:
  3627 	@echo incroot='${INCROOT}'
  3628 usrlibdir:
  3629 	@echo usrlibdir='${USRLIBDIR}'
  3630 libdir:
  3631 	@echo libdir='${LIBDIR}'
  3632 _ACEOF
  3633   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  3634     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  3635     for ac_var in incroot usrlibdir libdir; do
  3636       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  3637     done
  3638     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  3639     for ac_extension in a so sl dylib la dll; do
  3640       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  3641 	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
  3642 	ac_im_usrlibdir=$ac_im_libdir; break
  3643       fi
  3644     done
  3645     # Screen out bogus values from the imake configuration.  They are
  3646     # bogus both because they are the default anyway, and because
  3647     # using them would break gcc on systems where it needs fixed includes.
  3648     case $ac_im_incroot in
  3649 	/usr/include) ac_x_includes= ;;
  3650 	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  3651     esac
  3652     case $ac_im_usrlibdir in
  3653 	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
  3654 	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  3655     esac
  3656   fi
  3657   cd ..
  3658   rm -f -r conftest.dir
  3659 fi
  3660 
  3661 # Standard set of common directories for X headers.
  3662 # Check X11 before X11Rn because it is often a symlink to the current release.
  3663 ac_x_header_dirs='
  3664 /usr/X11/include
  3665 /usr/X11R7/include
  3666 /usr/X11R6/include
  3667 /usr/X11R5/include
  3668 /usr/X11R4/include
  3669 
  3670 /usr/include/X11
  3671 /usr/include/X11R7
  3672 /usr/include/X11R6
  3673 /usr/include/X11R5
  3674 /usr/include/X11R4
  3675 
  3676 /usr/local/X11/include
  3677 /usr/local/X11R7/include
  3678 /usr/local/X11R6/include
  3679 /usr/local/X11R5/include
  3680 /usr/local/X11R4/include
  3681 
  3682 /usr/local/include/X11
  3683 /usr/local/include/X11R7
  3684 /usr/local/include/X11R6
  3685 /usr/local/include/X11R5
  3686 /usr/local/include/X11R4
  3687 
  3688 /usr/X386/include
  3689 /usr/x386/include
  3690 /usr/XFree86/include/X11
  3691 
  3692 /usr/include
  3693 /usr/local/include
  3694 /usr/unsupported/include
  3695 /usr/athena/include
  3696 /usr/local/x11r5/include
  3697 /usr/lpp/Xamples/include
  3698 
  3699 /usr/openwin/include
  3700 /usr/openwin/share/include'
  3701 
  3702 if test "$ac_x_includes" = no; then
  3703   # Guess where to find include files, by looking for Xlib.h.
  3704   # First, try using that file with no special directory specified.
  3705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3706 /* end confdefs.h.  */
  3707 #include <X11/Xlib.h>
  3708 _ACEOF
  3709 if ac_fn_c_try_cpp "$LINENO"; then :
  3710   # We can compile using X headers with no special include directory.
  3711 ac_x_includes=
  3712 else
  3713   for ac_dir in $ac_x_header_dirs; do
  3714   if test -r "$ac_dir/X11/Xlib.h"; then
  3715     ac_x_includes=$ac_dir
  3716     break
  3717   fi
  3718 done
  3719 fi
  3720 rm -f conftest.err conftest.i conftest.$ac_ext
  3721 fi # $ac_x_includes = no
  3722 
  3723 if test "$ac_x_libraries" = no; then
  3724   # Check for the libraries.
  3725   # See if we find them without any special options.
  3726   # Don't add to $LIBS permanently.
  3727   ac_save_LIBS=$LIBS
  3728   LIBS="-lX11 $LIBS"
  3729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3730 /* end confdefs.h.  */
  3731 #include <X11/Xlib.h>
  3732 int
  3733 main ()
  3734 {
  3735 XrmInitialize ()
  3736   ;
  3737   return 0;
  3738 }
  3739 _ACEOF
  3740 if ac_fn_c_try_link "$LINENO"; then :
  3741   LIBS=$ac_save_LIBS
  3742 # We can link X programs with no special library path.
  3743 ac_x_libraries=
  3744 else
  3745   LIBS=$ac_save_LIBS
  3746 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  3747 do
  3748   # Don't even attempt the hair of trying to link an X program!
  3749   for ac_extension in a so sl dylib la dll; do
  3750     if test -r "$ac_dir/libX11.$ac_extension"; then
  3751       ac_x_libraries=$ac_dir
  3752       break 2
  3753     fi
  3754   done
  3755 done
  3756 fi
  3757 rm -f core conftest.err conftest.$ac_objext \
  3758     conftest$ac_exeext conftest.$ac_ext
  3759 fi # $ac_x_libraries = no
  3760 
  3761 case $ac_x_includes,$ac_x_libraries in #(
  3762   no,* | *,no | *\'*)
  3763     # Didn't find X, or a directory has "'" in its name.
  3764     ac_cv_have_x="have_x=no";; #(
  3765   *)
  3766     # Record where we found X for the cache.
  3767     ac_cv_have_x="have_x=yes\
  3768 	ac_x_includes='$ac_x_includes'\
  3769 	ac_x_libraries='$ac_x_libraries'"
  3770 esac
  3771 fi
  3772 ;; #(
  3773     *) have_x=yes;;
  3774   esac
  3775   eval "$ac_cv_have_x"
  3776 fi # $with_x != no
  3777 
  3778 if test "$have_x" != yes; then
  3779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  3780 $as_echo "$have_x" >&6; }
  3781   no_x=yes
  3782 else
  3783   # If each of the values was on the command line, it overrides each guess.
  3784   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  3785   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  3786   # Update the cache value to reflect the command line values.
  3787   ac_cv_have_x="have_x=yes\
  3788 	ac_x_includes='$x_includes'\
  3789 	ac_x_libraries='$x_libraries'"
  3790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  3791 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  3792 fi
  3793 
  3794 if test x$have_x = xyes; then
  3795     if test x$ac_x_includes = xno || test "x$ac_x_includes" = xNone || test "x$ac_x_includes" = x; then
  3796         :
  3797     else
  3798         CFLAGS="$CFLAGS -I$ac_x_includes"
  3799     fi
  3800     if test x$ac_x_libraries = xno || test "x$ac_x_libraries" = xNone; then
  3801         :
  3802     else
  3803         if test "x$ac_x_libraries" = x; then
  3804             XPATH=""
  3805             XLIB="-lX11"
  3806         else
  3807             XPATH="-L$ac_x_libraries"
  3808             XLIB="-L$ac_x_libraries -lX11"
  3809         fi
  3810     fi
  3811 fi
  3812 
  3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL support" >&5
  3814 $as_echo_n "checking for OpenGL support... " >&6; }
  3815 have_opengl=no
  3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3817 /* end confdefs.h.  */
  3818 
  3819  #include "SDL_opengl.h"
  3820 
  3821 int
  3822 main ()
  3823 {
  3824 
  3825 
  3826   ;
  3827   return 0;
  3828 }
  3829 _ACEOF
  3830 if ac_fn_c_try_compile "$LINENO"; then :
  3831 
  3832 have_opengl=yes
  3833 
  3834 fi
  3835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengl" >&5
  3837 $as_echo "$have_opengl" >&6; }
  3838 
  3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES support" >&5
  3840 $as_echo_n "checking for OpenGL ES support... " >&6; }
  3841 have_opengles=no
  3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3843 /* end confdefs.h.  */
  3844 
  3845  #if defined (__IPHONEOS__)
  3846     #include <OpenGLES/ES1/gl.h>
  3847  #else
  3848     #include <GLES/gl.h>
  3849  #endif /* __QNXNTO__ */
  3850 
  3851 int
  3852 main ()
  3853 {
  3854 
  3855 
  3856   ;
  3857   return 0;
  3858 }
  3859 _ACEOF
  3860 if ac_fn_c_try_compile "$LINENO"; then :
  3861 
  3862 have_opengles=yes
  3863 
  3864 fi
  3865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles" >&5
  3867 $as_echo "$have_opengles" >&6; }
  3868 
  3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES2 support" >&5
  3870 $as_echo_n "checking for OpenGL ES2 support... " >&6; }
  3871 have_opengles2=no
  3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3873 /* end confdefs.h.  */
  3874 
  3875  #if defined (__IPHONEOS__)
  3876     #include <OpenGLES/ES2/gl.h>
  3877     #include <OpenGLES/ES2/glext.h>
  3878  #else
  3879     #include <GLES2/gl2.h>
  3880     #include <GLES2/gl2ext.h>
  3881  #endif
  3882 
  3883 int
  3884 main ()
  3885 {
  3886 
  3887 
  3888   ;
  3889   return 0;
  3890 }
  3891 _ACEOF
  3892 if ac_fn_c_try_compile "$LINENO"; then :
  3893 
  3894 have_opengles2=yes
  3895 
  3896 fi
  3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles2" >&5
  3899 $as_echo "$have_opengles2" >&6; }
  3900 
  3901 GLLIB=""
  3902 GLESLIB=""
  3903 GLES2LIB=""
  3904 if test x$have_opengles = xyes; then
  3905     CFLAGS="$CFLAGS -DHAVE_OPENGLES"
  3906     GLESLIB="$XPATH -lGLESv1_CM"
  3907 fi
  3908 if test x$have_opengles2 = xyes; then
  3909     CFLAGS="$CFLAGS -DHAVE_OPENGLES2"
  3910     #GLES2LIB="$XPATH -lGLESv2"
  3911 fi
  3912 if test x$have_opengl = xyes; then
  3913     CFLAGS="$CFLAGS -DHAVE_OPENGL"
  3914     GLLIB="$XPATH $SYS_GL_LIBS"
  3915 fi
  3916 
  3917 
  3918 
  3919 
  3920 
  3921 
  3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTF_Init in -lSDL2_ttf" >&5
  3923 $as_echo_n "checking for TTF_Init in -lSDL2_ttf... " >&6; }
  3924 if ${ac_cv_lib_SDL2_ttf_TTF_Init+:} false; then :
  3925   $as_echo_n "(cached) " >&6
  3926 else
  3927   ac_check_lib_save_LIBS=$LIBS
  3928 LIBS="-lSDL2_ttf  $LIBS"
  3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3930 /* end confdefs.h.  */
  3931 
  3932 /* Override any GCC internal prototype to avoid an error.
  3933    Use char because int might match the return type of a GCC
  3934    builtin and then its argument prototype would still apply.  */
  3935 #ifdef __cplusplus
  3936 extern "C"
  3937 #endif
  3938 char TTF_Init ();
  3939 int
  3940 main ()
  3941 {
  3942 return TTF_Init ();
  3943   ;
  3944   return 0;
  3945 }
  3946 _ACEOF
  3947 if ac_fn_c_try_link "$LINENO"; then :
  3948   ac_cv_lib_SDL2_ttf_TTF_Init=yes
  3949 else
  3950   ac_cv_lib_SDL2_ttf_TTF_Init=no
  3951 fi
  3952 rm -f core conftest.err conftest.$ac_objext \
  3953     conftest$ac_exeext conftest.$ac_ext
  3954 LIBS=$ac_check_lib_save_LIBS
  3955 fi
  3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL2_ttf_TTF_Init" >&5
  3957 $as_echo "$ac_cv_lib_SDL2_ttf_TTF_Init" >&6; }
  3958 if test "x$ac_cv_lib_SDL2_ttf_TTF_Init" = xyes; then :
  3959   have_SDL_ttf=yes
  3960 fi
  3961 
  3962 if test x$have_SDL_ttf = xyes; then
  3963     CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
  3964     SDL_TTF_LIB="-lSDL2_ttf"
  3965 fi
  3966 
  3967 
  3968 ac_config_files="$ac_config_files Makefile"
  3969 
  3970 cat >confcache <<\_ACEOF
  3971 # This file is a shell script that caches the results of configure
  3972 # tests run on this system so they can be shared between configure
  3973 # scripts and configure runs, see configure's option --config-cache.
  3974 # It is not useful on other systems.  If it contains results you don't
  3975 # want to keep, you may remove or edit it.
  3976 #
  3977 # config.status only pays attention to the cache file if you give it
  3978 # the --recheck option to rerun configure.
  3979 #
  3980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
  3981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
  3982 # following values.
  3983 
  3984 _ACEOF
  3985 
  3986 # The following way of writing the cache mishandles newlines in values,
  3987 # but we know of no workaround that is simple, portable, and efficient.
  3988 # So, we kill variables containing newlines.
  3989 # Ultrix sh set writes to stderr and can't be redirected directly,
  3990 # and sets the high bit in the cache file unless we assign to the vars.
  3991 (
  3992   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  3993     eval ac_val=\$$ac_var
  3994     case $ac_val in #(
  3995     *${as_nl}*)
  3996       case $ac_var in #(
  3997       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3999       esac
  4000       case $ac_var in #(
  4001       _ | IFS | as_nl) ;; #(
  4002       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  4003       *) { eval $ac_var=; unset $ac_var;} ;;
  4004       esac ;;
  4005     esac
  4006   done
  4007 
  4008   (set) 2>&1 |
  4009     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  4010     *${as_nl}ac_space=\ *)
  4011       # `set' does not quote correctly, so add quotes: double-quote
  4012       # substitution turns \\\\ into \\, and sed turns \\ into \.
  4013       sed -n \
  4014 	"s/'/'\\\\''/g;
  4015 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  4016       ;; #(
  4017     *)
  4018       # `set' quotes correctly as required by POSIX, so do not add quotes.
  4019       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  4020       ;;
  4021     esac |
  4022     sort
  4023 ) |
  4024   sed '
  4025      /^ac_cv_env_/b end
  4026      t clear
  4027      :clear
  4028      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  4029      t end
  4030      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  4031      :end' >>confcache
  4032 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  4033   if test -w "$cache_file"; then
  4034     if test "x$cache_file" != "x/dev/null"; then
  4035       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  4036 $as_echo "$as_me: updating cache $cache_file" >&6;}
  4037       if test ! -f "$cache_file" || test -h "$cache_file"; then
  4038 	cat confcache >"$cache_file"
  4039       else
  4040         case $cache_file in #(
  4041         */* | ?:*)
  4042 	  mv -f confcache "$cache_file"$$ &&
  4043 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
  4044         *)
  4045 	  mv -f confcache "$cache_file" ;;
  4046 	esac
  4047       fi
  4048     fi
  4049   else
  4050     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  4051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  4052   fi
  4053 fi
  4054 rm -f confcache
  4055 
  4056 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  4057 # Let make expand exec_prefix.
  4058 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  4059 
  4060 # Transform confdefs.h into DEFS.
  4061 # Protect against shell expansion while executing Makefile rules.
  4062 # Protect against Makefile macro expansion.
  4063 #
  4064 # If the first sed substitution is executed (which looks for macros that
  4065 # take arguments), then branch to the quote section.  Otherwise,
  4066 # look for a macro that doesn't take arguments.
  4067 ac_script='
  4068 :mline
  4069 /\\$/{
  4070  N
  4071  s,\\\n,,
  4072  b mline
  4073 }
  4074 t clear
  4075 :clear
  4076 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
  4077 t quote
  4078 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
  4079 t quote
  4080 b any
  4081 :quote
  4082 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  4083 s/\[/\\&/g
  4084 s/\]/\\&/g
  4085 s/\$/$$/g
  4086 H
  4087 :any
  4088 ${
  4089 	g
  4090 	s/^\n//
  4091 	s/\n/ /g
  4092 	p
  4093 }
  4094 '
  4095 DEFS=`sed -n "$ac_script" confdefs.h`
  4096 
  4097 
  4098 ac_libobjs=
  4099 ac_ltlibobjs=
  4100 U=
  4101 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4102   # 1. Remove the extension, and $U if already installed.
  4103   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  4104   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  4105   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  4106   #    will be set to the directory where LIBOBJS objects are built.
  4107   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  4108   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  4109 done
  4110 LIBOBJS=$ac_libobjs
  4111 
  4112 LTLIBOBJS=$ac_ltlibobjs
  4113 
  4114 
  4115 
  4116 : "${CONFIG_STATUS=./config.status}"
  4117 ac_write_fail=0
  4118 ac_clean_files_save=$ac_clean_files
  4119 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4120 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  4121 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4122 as_write_fail=0
  4123 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  4124 #! $SHELL
  4125 # Generated by $as_me.
  4126 # Run this file to recreate the current configuration.
  4127 # Compiler output produced by configure, useful for debugging
  4128 # configure, is in config.log if it exists.
  4129 
  4130 debug=false
  4131 ac_cs_recheck=false
  4132 ac_cs_silent=false
  4133 
  4134 SHELL=\${CONFIG_SHELL-$SHELL}
  4135 export SHELL
  4136 _ASEOF
  4137 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  4138 ## -------------------- ##
  4139 ## M4sh Initialization. ##
  4140 ## -------------------- ##
  4141 
  4142 # Be more Bourne compatible
  4143 DUALCASE=1; export DUALCASE # for MKS sh
  4144 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  4145   emulate sh
  4146   NULLCMD=:
  4147   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  4148   # is contrary to our usage.  Disable this feature.
  4149   alias -g '${1+"$@"}'='"$@"'
  4150   setopt NO_GLOB_SUBST
  4151 else
  4152   case `(set -o) 2>/dev/null` in #(
  4153   *posix*) :
  4154     set -o posix ;; #(
  4155   *) :
  4156      ;;
  4157 esac
  4158 fi
  4159 
  4160 
  4161 as_nl='
  4162 '
  4163 export as_nl
  4164 # Printing a long string crashes Solaris 7 /usr/bin/printf.
  4165 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4166 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4167 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4168 # Prefer a ksh shell builtin over an external printf program on Solaris,
  4169 # but without wasting forks for bash or zsh.
  4170 if test -z "$BASH_VERSION$ZSH_VERSION" \
  4171     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4172   as_echo='print -r --'
  4173   as_echo_n='print -rn --'
  4174 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4175   as_echo='printf %s\n'
  4176   as_echo_n='printf %s'
  4177 else
  4178   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4179     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4180     as_echo_n='/usr/ucb/echo -n'
  4181   else
  4182     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4183     as_echo_n_body='eval
  4184       arg=$1;
  4185       case $arg in #(
  4186       *"$as_nl"*)
  4187 	expr "X$arg" : "X\\(.*\\)$as_nl";
  4188 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4189       esac;
  4190       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4191     '
  4192     export as_echo_n_body
  4193     as_echo_n='sh -c $as_echo_n_body as_echo'
  4194   fi
  4195   export as_echo_body
  4196   as_echo='sh -c $as_echo_body as_echo'
  4197 fi
  4198 
  4199 # The user is always right.
  4200 if test "${PATH_SEPARATOR+set}" != set; then
  4201   PATH_SEPARATOR=:
  4202   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4203     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4204       PATH_SEPARATOR=';'
  4205   }
  4206 fi
  4207 
  4208 
  4209 # IFS
  4210 # We need space, tab and new line, in precisely that order.  Quoting is
  4211 # there to prevent editors from complaining about space-tab.
  4212 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4213 # splitting by setting IFS to empty value.)
  4214 IFS=" ""	$as_nl"
  4215 
  4216 # Find who we are.  Look in the path if we contain no directory separator.
  4217 as_myself=
  4218 case $0 in #((
  4219   *[\\/]* ) as_myself=$0 ;;
  4220   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4221 for as_dir in $PATH
  4222 do
  4223   IFS=$as_save_IFS
  4224   test -z "$as_dir" && as_dir=.
  4225     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4226   done
  4227 IFS=$as_save_IFS
  4228 
  4229      ;;
  4230 esac
  4231 # We did not find ourselves, most probably we were run as `sh COMMAND'
  4232 # in which case we are not to be found in the path.
  4233 if test "x$as_myself" = x; then
  4234   as_myself=$0
  4235 fi
  4236 if test ! -f "$as_myself"; then
  4237   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4238   exit 1
  4239 fi
  4240 
  4241 # Unset variables that we do not need and which cause bugs (e.g. in
  4242 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  4243 # suppresses any "Segmentation fault" message there.  '((' could
  4244 # trigger a bug in pdksh 5.2.14.
  4245 for as_var in BASH_ENV ENV MAIL MAILPATH
  4246 do eval test x\${$as_var+set} = xset \
  4247   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4248 done
  4249 PS1='$ '
  4250 PS2='> '
  4251 PS4='+ '
  4252 
  4253 # NLS nuisances.
  4254 LC_ALL=C
  4255 export LC_ALL
  4256 LANGUAGE=C
  4257 export LANGUAGE
  4258 
  4259 # CDPATH.
  4260 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4261 
  4262 
  4263 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  4264 # ----------------------------------------
  4265 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4266 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4267 # script with STATUS, using 1 if that was 0.
  4268 as_fn_error ()
  4269 {
  4270   as_status=$1; test $as_status -eq 0 && as_status=1
  4271   if test "$4"; then
  4272     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4273     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  4274   fi
  4275   $as_echo "$as_me: error: $2" >&2
  4276   as_fn_exit $as_status
  4277 } # as_fn_error
  4278 
  4279 
  4280 # as_fn_set_status STATUS
  4281 # -----------------------
  4282 # Set $? to STATUS, without forking.
  4283 as_fn_set_status ()
  4284 {
  4285   return $1
  4286 } # as_fn_set_status
  4287 
  4288 # as_fn_exit STATUS
  4289 # -----------------
  4290 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4291 as_fn_exit ()
  4292 {
  4293   set +e
  4294   as_fn_set_status $1
  4295   exit $1
  4296 } # as_fn_exit
  4297 
  4298 # as_fn_unset VAR
  4299 # ---------------
  4300 # Portably unset VAR.
  4301 as_fn_unset ()
  4302 {
  4303   { eval $1=; unset $1;}
  4304 }
  4305 as_unset=as_fn_unset
  4306 # as_fn_append VAR VALUE
  4307 # ----------------------
  4308 # Append the text in VALUE to the end of the definition contained in VAR. Take
  4309 # advantage of any shell optimizations that allow amortized linear growth over
  4310 # repeated appends, instead of the typical quadratic growth present in naive
  4311 # implementations.
  4312 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4313   eval 'as_fn_append ()
  4314   {
  4315     eval $1+=\$2
  4316   }'
  4317 else
  4318   as_fn_append ()
  4319   {
  4320     eval $1=\$$1\$2
  4321   }
  4322 fi # as_fn_append
  4323 
  4324 # as_fn_arith ARG...
  4325 # ------------------
  4326 # Perform arithmetic evaluation on the ARGs, and store the result in the
  4327 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  4328 # must be portable across $(()) and expr.
  4329 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4330   eval 'as_fn_arith ()
  4331   {
  4332     as_val=$(( $* ))
  4333   }'
  4334 else
  4335   as_fn_arith ()
  4336   {
  4337     as_val=`expr "$@" || test $? -eq 1`
  4338   }
  4339 fi # as_fn_arith
  4340 
  4341 
  4342 if expr a : '\(a\)' >/dev/null 2>&1 &&
  4343    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4344   as_expr=expr
  4345 else
  4346   as_expr=false
  4347 fi
  4348 
  4349 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  4350   as_basename=basename
  4351 else
  4352   as_basename=false
  4353 fi
  4354 
  4355 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4356   as_dirname=dirname
  4357 else
  4358   as_dirname=false
  4359 fi
  4360 
  4361 as_me=`$as_basename -- "$0" ||
  4362 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4363 	 X"$0" : 'X\(//\)$' \| \
  4364 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4365 $as_echo X/"$0" |
  4366     sed '/^.*\/\([^/][^/]*\)\/*$/{
  4367 	    s//\1/
  4368 	    q
  4369 	  }
  4370 	  /^X\/\(\/\/\)$/{
  4371 	    s//\1/
  4372 	    q
  4373 	  }
  4374 	  /^X\/\(\/\).*/{
  4375 	    s//\1/
  4376 	    q
  4377 	  }
  4378 	  s/.*/./; q'`
  4379 
  4380 # Avoid depending upon Character Ranges.
  4381 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4382 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4383 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4384 as_cr_digits='0123456789'
  4385 as_cr_alnum=$as_cr_Letters$as_cr_digits
  4386 
  4387 ECHO_C= ECHO_N= ECHO_T=
  4388 case `echo -n x` in #(((((
  4389 -n*)
  4390   case `echo 'xy\c'` in
  4391   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  4392   xy)  ECHO_C='\c';;
  4393   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  4394        ECHO_T='	';;
  4395   esac;;
  4396 *)
  4397   ECHO_N='-n';;
  4398 esac
  4399 
  4400 rm -f conf$$ conf$$.exe conf$$.file
  4401 if test -d conf$$.dir; then
  4402   rm -f conf$$.dir/conf$$.file
  4403 else
  4404   rm -f conf$$.dir
  4405   mkdir conf$$.dir 2>/dev/null
  4406 fi
  4407 if (echo >conf$$.file) 2>/dev/null; then
  4408   if ln -s conf$$.file conf$$ 2>/dev/null; then
  4409     as_ln_s='ln -s'
  4410     # ... but there are two gotchas:
  4411     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4412     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4413     # In both cases, we have to default to `cp -pR'.
  4414     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4415       as_ln_s='cp -pR'
  4416   elif ln conf$$.file conf$$ 2>/dev/null; then
  4417     as_ln_s=ln
  4418   else
  4419     as_ln_s='cp -pR'
  4420   fi
  4421 else
  4422   as_ln_s='cp -pR'
  4423 fi
  4424 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4425 rmdir conf$$.dir 2>/dev/null
  4426 
  4427 
  4428 # as_fn_mkdir_p
  4429 # -------------
  4430 # Create "$as_dir" as a directory, including parents if necessary.
  4431 as_fn_mkdir_p ()
  4432 {
  4433 
  4434   case $as_dir in #(
  4435   -*) as_dir=./$as_dir;;
  4436   esac
  4437   test -d "$as_dir" || eval $as_mkdir_p || {
  4438     as_dirs=
  4439     while :; do
  4440       case $as_dir in #(
  4441       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4442       *) as_qdir=$as_dir;;
  4443       esac
  4444       as_dirs="'$as_qdir' $as_dirs"
  4445       as_dir=`$as_dirname -- "$as_dir" ||
  4446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4447 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  4448 	 X"$as_dir" : 'X\(//\)$' \| \
  4449 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4450 $as_echo X"$as_dir" |
  4451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4452 	    s//\1/
  4453 	    q
  4454 	  }
  4455 	  /^X\(\/\/\)[^/].*/{
  4456 	    s//\1/
  4457 	    q
  4458 	  }
  4459 	  /^X\(\/\/\)$/{
  4460 	    s//\1/
  4461 	    q
  4462 	  }
  4463 	  /^X\(\/\).*/{
  4464 	    s//\1/
  4465 	    q
  4466 	  }
  4467 	  s/.*/./; q'`
  4468       test -d "$as_dir" && break
  4469     done
  4470     test -z "$as_dirs" || eval "mkdir $as_dirs"
  4471   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  4472 
  4473 
  4474 } # as_fn_mkdir_p
  4475 if mkdir -p . 2>/dev/null; then
  4476   as_mkdir_p='mkdir -p "$as_dir"'
  4477 else
  4478   test -d ./-p && rmdir ./-p
  4479   as_mkdir_p=false
  4480 fi
  4481 
  4482 
  4483 # as_fn_executable_p FILE
  4484 # -----------------------
  4485 # Test if FILE is an executable regular file.
  4486 as_fn_executable_p ()
  4487 {
  4488   test -f "$1" && test -x "$1"
  4489 } # as_fn_executable_p
  4490 as_test_x='test -x'
  4491 as_executable_p=as_fn_executable_p
  4492 
  4493 # Sed expression to map a string onto a valid CPP name.
  4494 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4495 
  4496 # Sed expression to map a string onto a valid variable name.
  4497 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4498 
  4499 
  4500 exec 6>&1
  4501 ## ----------------------------------- ##
  4502 ## Main body of $CONFIG_STATUS script. ##
  4503 ## ----------------------------------- ##
  4504 _ASEOF
  4505 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  4506 
  4507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4508 # Save the log message, to keep $0 and so on meaningful, and to
  4509 # report actual input values of CONFIG_FILES etc. instead of their
  4510 # values after options handling.
  4511 ac_log="
  4512 This file was extended by $as_me, which was
  4513 generated by GNU Autoconf 2.69.  Invocation command line was
  4514 
  4515   CONFIG_FILES    = $CONFIG_FILES
  4516   CONFIG_HEADERS  = $CONFIG_HEADERS
  4517   CONFIG_LINKS    = $CONFIG_LINKS
  4518   CONFIG_COMMANDS = $CONFIG_COMMANDS
  4519   $ $0 $@
  4520 
  4521 on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4522 "
  4523 
  4524 _ACEOF
  4525 
  4526 case $ac_config_files in *"
  4527 "*) set x $ac_config_files; shift; ac_config_files=$*;;
  4528 esac
  4529 
  4530 
  4531 
  4532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4533 # Files that config.status was made for.
  4534 config_files="$ac_config_files"
  4535 
  4536 _ACEOF
  4537 
  4538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4539 ac_cs_usage="\
  4540 \`$as_me' instantiates files and other configuration actions
  4541 from templates according to the current configuration.  Unless the files
  4542 and actions are specified as TAGs, all are instantiated by default.
  4543 
  4544 Usage: $0 [OPTION]... [TAG]...
  4545 
  4546   -h, --help       print this help, then exit
  4547   -V, --version    print version number and configuration settings, then exit
  4548       --config     print configuration, then exit
  4549   -q, --quiet, --silent
  4550                    do not print progress messages
  4551   -d, --debug      don't remove temporary files
  4552       --recheck    update $as_me by reconfiguring in the same conditions
  4553       --file=FILE[:TEMPLATE]
  4554                    instantiate the configuration file FILE
  4555 
  4556 Configuration files:
  4557 $config_files
  4558 
  4559 Report bugs to the package provider."
  4560 
  4561 _ACEOF
  4562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4563 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  4564 ac_cs_version="\\
  4565 config.status
  4566 configured by $0, generated by GNU Autoconf 2.69,
  4567   with options \\"\$ac_cs_config\\"
  4568 
  4569 Copyright (C) 2012 Free Software Foundation, Inc.
  4570 This config.status script is free software; the Free Software Foundation
  4571 gives unlimited permission to copy, distribute and modify it."
  4572 
  4573 ac_pwd='$ac_pwd'
  4574 srcdir='$srcdir'
  4575 test -n "\$AWK" || AWK=awk
  4576 _ACEOF
  4577 
  4578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4579 # The default lists apply if the user does not specify any file.
  4580 ac_need_defaults=:
  4581 while test $# != 0
  4582 do
  4583   case $1 in
  4584   --*=?*)
  4585     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4586     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4587     ac_shift=:
  4588     ;;
  4589   --*=)
  4590     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4591     ac_optarg=
  4592     ac_shift=:
  4593     ;;
  4594   *)
  4595     ac_option=$1
  4596     ac_optarg=$2
  4597     ac_shift=shift
  4598     ;;
  4599   esac
  4600 
  4601   case $ac_option in
  4602   # Handling of the options.
  4603   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4604     ac_cs_recheck=: ;;
  4605   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4606     $as_echo "$ac_cs_version"; exit ;;
  4607   --config | --confi | --conf | --con | --co | --c )
  4608     $as_echo "$ac_cs_config"; exit ;;
  4609   --debug | --debu | --deb | --de | --d | -d )
  4610     debug=: ;;
  4611   --file | --fil | --fi | --f )
  4612     $ac_shift
  4613     case $ac_optarg in
  4614     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4615     '') as_fn_error $? "missing file argument" ;;
  4616     esac
  4617     as_fn_append CONFIG_FILES " '$ac_optarg'"
  4618     ac_need_defaults=false;;
  4619   --he | --h |  --help | --hel | -h )
  4620     $as_echo "$ac_cs_usage"; exit ;;
  4621   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4622   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4623     ac_cs_silent=: ;;
  4624 
  4625   # This is an error.
  4626   -*) as_fn_error $? "unrecognized option: \`$1'
  4627 Try \`$0 --help' for more information." ;;
  4628 
  4629   *) as_fn_append ac_config_targets " $1"
  4630      ac_need_defaults=false ;;
  4631 
  4632   esac
  4633   shift
  4634 done
  4635 
  4636 ac_configure_extra_args=
  4637 
  4638 if $ac_cs_silent; then
  4639   exec 6>/dev/null
  4640   ac_configure_extra_args="$ac_configure_extra_args --silent"
  4641 fi
  4642 
  4643 _ACEOF
  4644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4645 if \$ac_cs_recheck; then
  4646   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4647   shift
  4648   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  4649   CONFIG_SHELL='$SHELL'
  4650   export CONFIG_SHELL
  4651   exec "\$@"
  4652 fi
  4653 
  4654 _ACEOF
  4655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4656 exec 5>>config.log
  4657 {
  4658   echo
  4659   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4660 ## Running $as_me. ##
  4661 _ASBOX
  4662   $as_echo "$ac_log"
  4663 } >&5
  4664 
  4665 _ACEOF
  4666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4667 _ACEOF
  4668 
  4669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4670 
  4671 # Handling of arguments.
  4672 for ac_config_target in $ac_config_targets
  4673 do
  4674   case $ac_config_target in
  4675     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4676 
  4677   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4678   esac
  4679 done
  4680 
  4681 
  4682 # If the user did not use the arguments to specify the items to instantiate,
  4683 # then the envvar interface is used.  Set only those that are not.
  4684 # We use the long form for the default assignment because of an extremely
  4685 # bizarre bug on SunOS 4.1.3.
  4686 if $ac_need_defaults; then
  4687   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4688 fi
  4689 
  4690 # Have a temporary directory for convenience.  Make it in the build tree
  4691 # simply because there is no reason against having it here, and in addition,
  4692 # creating and moving files from /tmp can sometimes cause problems.
  4693 # Hook for its removal unless debugging.
  4694 # Note that there is a small window in which the directory will not be cleaned:
  4695 # after its creation but before its name has been assigned to `$tmp'.
  4696 $debug ||
  4697 {
  4698   tmp= ac_tmp=
  4699   trap 'exit_status=$?
  4700   : "${ac_tmp:=$tmp}"
  4701   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  4702 ' 0
  4703   trap 'as_fn_exit 1' 1 2 13 15
  4704 }
  4705 # Create a (secure) tmp directory for tmp files.
  4706 
  4707 {
  4708   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4709   test -d "$tmp"
  4710 }  ||
  4711 {
  4712   tmp=./conf$$-$RANDOM
  4713   (umask 077 && mkdir "$tmp")
  4714 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  4715 ac_tmp=$tmp
  4716 
  4717 # Set up the scripts for CONFIG_FILES section.
  4718 # No need to generate them if there are no CONFIG_FILES.
  4719 # This happens for instance with `./config.status config.h'.
  4720 if test -n "$CONFIG_FILES"; then
  4721 
  4722 
  4723 ac_cr=`echo X | tr X '\015'`
  4724 # On cygwin, bash can eat \r inside `` if the user requested igncr.
  4725 # But we know of no other shell where ac_cr would be empty at this
  4726 # point, so we can use a bashism as a fallback.
  4727 if test "x$ac_cr" = x; then
  4728   eval ac_cr=\$\'\\r\'
  4729 fi
  4730 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4731 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4732   ac_cs_awk_cr='\\r'
  4733 else
  4734   ac_cs_awk_cr=$ac_cr
  4735 fi
  4736 
  4737 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  4738 _ACEOF
  4739 
  4740 
  4741 {
  4742   echo "cat >conf$$subs.awk <<_ACEOF" &&
  4743   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  4744   echo "_ACEOF"
  4745 } >conf$$subs.sh ||
  4746   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  4747 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  4748 ac_delim='%!_!# '
  4749 for ac_last_try in false false false false false :; do
  4750   . ./conf$$subs.sh ||
  4751     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  4752 
  4753   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  4754   if test $ac_delim_n = $ac_delim_num; then
  4755     break
  4756   elif $ac_last_try; then
  4757     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  4758   else
  4759     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4760   fi
  4761 done
  4762 rm -f conf$$subs.sh
  4763 
  4764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4765 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  4766 _ACEOF
  4767 sed -n '
  4768 h
  4769 s/^/S["/; s/!.*/"]=/
  4770 p
  4771 g
  4772 s/^[^!]*!//
  4773 :repl
  4774 t repl
  4775 s/'"$ac_delim"'$//
  4776 t delim
  4777 :nl
  4778 h
  4779 s/\(.\{148\}\)..*/\1/
  4780 t more1
  4781 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4782 p
  4783 n
  4784 b repl
  4785 :more1
  4786 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4787 p
  4788 g
  4789 s/.\{148\}//
  4790 t nl
  4791 :delim
  4792 h
  4793 s/\(.\{148\}\)..*/\1/
  4794 t more2
  4795 s/["\\]/\\&/g; s/^/"/; s/$/"/
  4796 p
  4797 b
  4798 :more2
  4799 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4800 p
  4801 g
  4802 s/.\{148\}//
  4803 t delim
  4804 ' <conf$$subs.awk | sed '
  4805 /^[^""]/{
  4806   N
  4807   s/\n//
  4808 }
  4809 ' >>$CONFIG_STATUS || ac_write_fail=1
  4810 rm -f conf$$subs.awk
  4811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4812 _ACAWK
  4813 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  4814   for (key in S) S_is_set[key] = 1
  4815   FS = ""
  4816 
  4817 }
  4818 {
  4819   line = $ 0
  4820   nfields = split(line, field, "@")
  4821   substed = 0
  4822   len = length(field[1])
  4823   for (i = 2; i < nfields; i++) {
  4824     key = field[i]
  4825     keylen = length(key)
  4826     if (S_is_set[key]) {
  4827       value = S[key]
  4828       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4829       len += length(value) + length(field[++i])
  4830       substed = 1
  4831     } else
  4832       len += 1 + keylen
  4833   }
  4834 
  4835   print line
  4836 }
  4837 
  4838 _ACAWK
  4839 _ACEOF
  4840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4841 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4842   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4843 else
  4844   cat
  4845 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  4846   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  4847 _ACEOF
  4848 
  4849 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  4850 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  4851 # trailing colons and then remove the whole line if VPATH becomes empty
  4852 # (actually we leave an empty line to preserve line numbers).
  4853 if test "x$srcdir" = x.; then
  4854   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
  4855 h
  4856 s///
  4857 s/^/:/
  4858 s/[	 ]*$/:/
  4859 s/:\$(srcdir):/:/g
  4860 s/:\${srcdir}:/:/g
  4861 s/:@srcdir@:/:/g
  4862 s/^:*//
  4863 s/:*$//
  4864 x
  4865 s/\(=[	 ]*\).*/\1/
  4866 G
  4867 s/\n//
  4868 s/^[^=]*=[	 ]*$//
  4869 }'
  4870 fi
  4871 
  4872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4873 fi # test -n "$CONFIG_FILES"
  4874 
  4875 
  4876 eval set X "  :F $CONFIG_FILES      "
  4877 shift
  4878 for ac_tag
  4879 do
  4880   case $ac_tag in
  4881   :[FHLC]) ac_mode=$ac_tag; continue;;
  4882   esac
  4883   case $ac_mode$ac_tag in
  4884   :[FHL]*:*);;
  4885   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  4886   :[FH]-) ac_tag=-:-;;
  4887   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4888   esac
  4889   ac_save_IFS=$IFS
  4890   IFS=:
  4891   set x $ac_tag
  4892   IFS=$ac_save_IFS
  4893   shift
  4894   ac_file=$1
  4895   shift
  4896 
  4897   case $ac_mode in
  4898   :L) ac_source=$1;;
  4899   :[FH])
  4900     ac_file_inputs=
  4901     for ac_f
  4902     do
  4903       case $ac_f in
  4904       -) ac_f="$ac_tmp/stdin";;
  4905       *) # Look for the file first in the build tree, then in the source tree
  4906 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  4907 	 # because $ac_f cannot contain `:'.
  4908 	 test -f "$ac_f" ||
  4909 	   case $ac_f in
  4910 	   [\\/$]*) false;;
  4911 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4912 	   esac ||
  4913 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  4914       esac
  4915       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  4916       as_fn_append ac_file_inputs " '$ac_f'"
  4917     done
  4918 
  4919     # Let's still pretend it is `configure' which instantiates (i.e., don't
  4920     # use $as_me), people would be surprised to read:
  4921     #    /* config.h.  Generated by config.status.  */
  4922     configure_input='Generated from '`
  4923 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  4924 	`' by configure.'
  4925     if test x"$ac_file" != x-; then
  4926       configure_input="$ac_file.  $configure_input"
  4927       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  4928 $as_echo "$as_me: creating $ac_file" >&6;}
  4929     fi
  4930     # Neutralize special characters interpreted by sed in replacement strings.
  4931     case $configure_input in #(
  4932     *\&* | *\|* | *\\* )
  4933        ac_sed_conf_input=`$as_echo "$configure_input" |
  4934        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  4935     *) ac_sed_conf_input=$configure_input;;
  4936     esac
  4937 
  4938     case $ac_tag in
  4939     *:-:* | *:-) cat >"$ac_tmp/stdin" \
  4940       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  4941     esac
  4942     ;;
  4943   esac
  4944 
  4945   ac_dir=`$as_dirname -- "$ac_file" ||
  4946 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4947 	 X"$ac_file" : 'X\(//\)[^/]' \| \
  4948 	 X"$ac_file" : 'X\(//\)$' \| \
  4949 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4950 $as_echo X"$ac_file" |
  4951     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4952 	    s//\1/
  4953 	    q
  4954 	  }
  4955 	  /^X\(\/\/\)[^/].*/{
  4956 	    s//\1/
  4957 	    q
  4958 	  }
  4959 	  /^X\(\/\/\)$/{
  4960 	    s//\1/
  4961 	    q
  4962 	  }
  4963 	  /^X\(\/\).*/{
  4964 	    s//\1/
  4965 	    q
  4966 	  }
  4967 	  s/.*/./; q'`
  4968   as_dir="$ac_dir"; as_fn_mkdir_p
  4969   ac_builddir=.
  4970 
  4971 case "$ac_dir" in
  4972 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4973 *)
  4974   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4975   # A ".." for each directory in $ac_dir_suffix.
  4976   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4977   case $ac_top_builddir_sub in
  4978   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4979   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4980   esac ;;
  4981 esac
  4982 ac_abs_top_builddir=$ac_pwd
  4983 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  4984 # for backward compatibility:
  4985 ac_top_builddir=$ac_top_build_prefix
  4986 
  4987 case $srcdir in
  4988   .)  # We are building in place.
  4989     ac_srcdir=.
  4990     ac_top_srcdir=$ac_top_builddir_sub
  4991     ac_abs_top_srcdir=$ac_pwd ;;
  4992   [\\/]* | ?:[\\/]* )  # Absolute name.
  4993     ac_srcdir=$srcdir$ac_dir_suffix;
  4994     ac_top_srcdir=$srcdir
  4995     ac_abs_top_srcdir=$srcdir ;;
  4996   *) # Relative name.
  4997     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  4998     ac_top_srcdir=$ac_top_build_prefix$srcdir
  4999     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  5000 esac
  5001 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  5002 
  5003 
  5004   case $ac_mode in
  5005   :F)
  5006   #
  5007   # CONFIG_FILE
  5008   #
  5009 
  5010 _ACEOF
  5011 
  5012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5013 # If the template does not know about datarootdir, expand it.
  5014 # FIXME: This hack should be removed a few years after 2.60.
  5015 ac_datarootdir_hack=; ac_datarootdir_seen=
  5016 ac_sed_dataroot='
  5017 /datarootdir/ {
  5018   p
  5019   q
  5020 }
  5021 /@datadir@/p
  5022 /@docdir@/p
  5023 /@infodir@/p
  5024 /@localedir@/p
  5025 /@mandir@/p'
  5026 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  5027 *datarootdir*) ac_datarootdir_seen=yes;;
  5028 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  5029   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  5030 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  5031 _ACEOF
  5032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5033   ac_datarootdir_hack='
  5034   s&@datadir@&$datadir&g
  5035   s&@docdir@&$docdir&g
  5036   s&@infodir@&$infodir&g
  5037   s&@localedir@&$localedir&g
  5038   s&@mandir@&$mandir&g
  5039   s&\\\${datarootdir}&$datarootdir&g' ;;
  5040 esac
  5041 _ACEOF
  5042 
  5043 # Neutralize VPATH when `$srcdir' = `.'.
  5044 # Shell code in configure.ac might set extrasub.
  5045 # FIXME: do we really want to maintain this feature?
  5046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5047 ac_sed_extra="$ac_vpsub
  5048 $extrasub
  5049 _ACEOF
  5050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5051 :t
  5052 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  5053 s|@configure_input@|$ac_sed_conf_input|;t t
  5054 s&@top_builddir@&$ac_top_builddir_sub&;t t
  5055 s&@top_build_prefix@&$ac_top_build_prefix&;t t
  5056 s&@srcdir@&$ac_srcdir&;t t
  5057 s&@abs_srcdir@&$ac_abs_srcdir&;t t
  5058 s&@top_srcdir@&$ac_top_srcdir&;t t
  5059 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  5060 s&@builddir@&$ac_builddir&;t t
  5061 s&@abs_builddir@&$ac_abs_builddir&;t t
  5062 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  5063 $ac_datarootdir_hack
  5064 "
  5065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  5066   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5067 
  5068 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  5069   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  5070   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
  5071       "$ac_tmp/out"`; test -z "$ac_out"; } &&
  5072   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5073 which seems to be undefined.  Please make sure it is defined" >&5
  5074 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5075 which seems to be undefined.  Please make sure it is defined" >&2;}
  5076 
  5077   rm -f "$ac_tmp/stdin"
  5078   case $ac_file in
  5079   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  5080   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  5081   esac \
  5082   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5083  ;;
  5084 
  5085 
  5086 
  5087   esac
  5088 
  5089 done # for ac_tag
  5090 
  5091 
  5092 as_fn_exit 0
  5093 _ACEOF
  5094 ac_clean_files=$ac_clean_files_save
  5095 
  5096 test $ac_write_fail = 0 ||
  5097   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  5098 
  5099 
  5100 # configure is writing to config.log, and then calls config.status.
  5101 # config.status does its own redirection, appending to config.log.
  5102 # Unfortunately, on DOS this fails, as config.log is still kept open
  5103 # by configure, so config.status won't be able to write to it; its
  5104 # output is simply discarded.  So we exec the FD to /dev/null,
  5105 # effectively closing config.log, so it can be properly (re)opened and
  5106 # appended to by config.status.  When coming back to configure, we
  5107 # need to make the FD available again.
  5108 if test "$no_create" != yes; then
  5109   ac_cs_success=:
  5110   ac_config_status_args=
  5111   test "$silent" = yes &&
  5112     ac_config_status_args="$ac_config_status_args --quiet"
  5113   exec 5>/dev/null
  5114   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  5115   exec 5>>config.log
  5116   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  5117   # would make configure fail if this is the last instruction.
  5118   $ac_cs_success || as_fn_exit 1
  5119 fi
  5120 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  5121   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  5122 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  5123 fi
  5124