Home | History | Annotate | Download | only in test
      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 (at] 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     *)
   2984                 ISUNIX="true"
   2985         EXE=""
   2986         MATHLIB="-lm"
   2987         SYS_GL_LIBS="-lGL"
   2988         ;;
   2989 esac
   2990 
   2991 
   2992 
   2993 
   2994 
   2995 
   2996 SDL_VERSION=2.0.0
   2997 
   2998 
   2999 
   3000 
   3001 
   3002 
   3003 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   3004 	if test -n "$ac_tool_prefix"; then
   3005   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   3006 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3008 $as_echo_n "checking for $ac_word... " >&6; }
   3009 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   3010   $as_echo_n "(cached) " >&6
   3011 else
   3012   case $PKG_CONFIG in
   3013   [\\/]* | ?:[\\/]*)
   3014   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   3015   ;;
   3016   *)
   3017   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH
   3019 do
   3020   IFS=$as_save_IFS
   3021   test -z "$as_dir" && as_dir=.
   3022     for ac_exec_ext in '' $ac_executable_extensions; do
   3023   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3024     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3026     break 2
   3027   fi
   3028 done
   3029   done
   3030 IFS=$as_save_IFS
   3031 
   3032   ;;
   3033 esac
   3034 fi
   3035 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   3036 if test -n "$PKG_CONFIG"; then
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   3038 $as_echo "$PKG_CONFIG" >&6; }
   3039 else
   3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3041 $as_echo "no" >&6; }
   3042 fi
   3043 
   3044 
   3045 fi
   3046 if test -z "$ac_cv_path_PKG_CONFIG"; then
   3047   ac_pt_PKG_CONFIG=$PKG_CONFIG
   3048   # Extract the first word of "pkg-config", so it can be a program name with args.
   3049 set dummy pkg-config; ac_word=$2
   3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3051 $as_echo_n "checking for $ac_word... " >&6; }
   3052 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   3053   $as_echo_n "(cached) " >&6
   3054 else
   3055   case $ac_pt_PKG_CONFIG in
   3056   [\\/]* | ?:[\\/]*)
   3057   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   3058   ;;
   3059   *)
   3060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3061 for as_dir in $PATH
   3062 do
   3063   IFS=$as_save_IFS
   3064   test -z "$as_dir" && as_dir=.
   3065     for ac_exec_ext in '' $ac_executable_extensions; do
   3066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3067     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3069     break 2
   3070   fi
   3071 done
   3072   done
   3073 IFS=$as_save_IFS
   3074 
   3075   ;;
   3076 esac
   3077 fi
   3078 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   3079 if test -n "$ac_pt_PKG_CONFIG"; then
   3080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   3081 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   3082 else
   3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3084 $as_echo "no" >&6; }
   3085 fi
   3086 
   3087   if test "x$ac_pt_PKG_CONFIG" = x; then
   3088     PKG_CONFIG=""
   3089   else
   3090     case $cross_compiling:$ac_tool_warned in
   3091 yes:)
   3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3094 ac_tool_warned=yes ;;
   3095 esac
   3096     PKG_CONFIG=$ac_pt_PKG_CONFIG
   3097   fi
   3098 else
   3099   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   3100 fi
   3101 
   3102 fi
   3103 if test -n "$PKG_CONFIG"; then
   3104 	_pkg_min_version=0.9.0
   3105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   3106 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   3107 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   3108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3109 $as_echo "yes" >&6; }
   3110 	else
   3111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3112 $as_echo "no" >&6; }
   3113 		PKG_CONFIG=""
   3114 	fi
   3115 fi
   3116 
   3117 # Check whether --with-sdl-prefix was given.
   3118 if test "${with_sdl_prefix+set}" = set; then :
   3119   withval=$with_sdl_prefix; sdl_prefix="$withval"
   3120 else
   3121   sdl_prefix=""
   3122 fi
   3123 
   3124 
   3125 # Check whether --with-sdl-exec-prefix was given.
   3126 if test "${with_sdl_exec_prefix+set}" = set; then :
   3127   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
   3128 else
   3129   sdl_exec_prefix=""
   3130 fi
   3131 
   3132 # Check whether --enable-sdltest was given.
   3133 if test "${enable_sdltest+set}" = set; then :
   3134   enableval=$enable_sdltest;
   3135 else
   3136   enable_sdltest=yes
   3137 fi
   3138 
   3139 
   3140   min_sdl_version=$SDL_VERSION
   3141 
   3142   if test "x$sdl_prefix$sdl_exec_prefix" = x ; then
   3143 
   3144 pkg_failed=no
   3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
   3146 $as_echo_n "checking for SDL... " >&6; }
   3147 
   3148 if test -n "$SDL_CFLAGS"; then
   3149     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
   3150  elif test -n "$PKG_CONFIG"; then
   3151     if test -n "$PKG_CONFIG" && \
   3152     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
   3153   ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
   3154   ac_status=$?
   3155   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3156   test $ac_status = 0; }; then
   3157   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2 >= $min_sdl_version" 2>/dev/null`
   3158 else
   3159   pkg_failed=yes
   3160 fi
   3161  else
   3162     pkg_failed=untried
   3163 fi
   3164 if test -n "$SDL_LIBS"; then
   3165     pkg_cv_SDL_LIBS="$SDL_LIBS"
   3166  elif test -n "$PKG_CONFIG"; then
   3167     if test -n "$PKG_CONFIG" && \
   3168     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
   3169   ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
   3170   ac_status=$?
   3171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3172   test $ac_status = 0; }; then
   3173   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2 >= $min_sdl_version" 2>/dev/null`
   3174 else
   3175   pkg_failed=yes
   3176 fi
   3177  else
   3178     pkg_failed=untried
   3179 fi
   3180 
   3181 
   3182 
   3183 if test $pkg_failed = yes; then
   3184    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3185 $as_echo "no" >&6; }
   3186 
   3187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   3188         _pkg_short_errors_supported=yes
   3189 else
   3190         _pkg_short_errors_supported=no
   3191 fi
   3192         if test $_pkg_short_errors_supported = yes; then
   3193 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl2 >= $min_sdl_version" 2>&1`
   3194         else
   3195 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl2 >= $min_sdl_version" 2>&1`
   3196         fi
   3197 	# Put the nasty error message in config.log where it belongs
   3198 	echo "$SDL_PKG_ERRORS" >&5
   3199 
   3200 	sdl_pc=no
   3201 elif test $pkg_failed = untried; then
   3202      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3203 $as_echo "no" >&6; }
   3204 	sdl_pc=no
   3205 else
   3206 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
   3207 	SDL_LIBS=$pkg_cv_SDL_LIBS
   3208         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3209 $as_echo "yes" >&6; }
   3210 	sdl_pc=yes
   3211 fi
   3212   else
   3213     sdl_pc=no
   3214     if test x$sdl_exec_prefix != x ; then
   3215       sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
   3216       if test x${SDL_CONFIG+set} != xset ; then
   3217         SDL_CONFIG=$sdl_exec_prefix/bin/sdl2-config
   3218       fi
   3219     fi
   3220     if test x$sdl_prefix != x ; then
   3221       sdl_config_args="$sdl_config_args --prefix=$sdl_prefix"
   3222       if test x${SDL_CONFIG+set} != xset ; then
   3223         SDL_CONFIG=$sdl_prefix/bin/sdl2-config
   3224       fi
   3225     fi
   3226   fi
   3227 
   3228   if test "x$sdl_pc" = xyes ; then
   3229     no_sdl=""
   3230     SDL_CONFIG="pkg-config sdl2"
   3231   else
   3232     as_save_PATH="$PATH"
   3233     if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
   3234       PATH="$prefix/bin:$prefix/usr/bin:$PATH"
   3235     fi
   3236     # Extract the first word of "sdl2-config", so it can be a program name with args.
   3237 set dummy sdl2-config; ac_word=$2
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3239 $as_echo_n "checking for $ac_word... " >&6; }
   3240 if ${ac_cv_path_SDL_CONFIG+:} false; then :
   3241   $as_echo_n "(cached) " >&6
   3242 else
   3243   case $SDL_CONFIG in
   3244   [\\/]* | ?:[\\/]*)
   3245   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
   3246   ;;
   3247   *)
   3248   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3249 for as_dir in $PATH
   3250 do
   3251   IFS=$as_save_IFS
   3252   test -z "$as_dir" && as_dir=.
   3253     for ac_exec_ext in '' $ac_executable_extensions; do
   3254   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3255     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3257     break 2
   3258   fi
   3259 done
   3260   done
   3261 IFS=$as_save_IFS
   3262 
   3263   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
   3264   ;;
   3265 esac
   3266 fi
   3267 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
   3268 if test -n "$SDL_CONFIG"; then
   3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
   3270 $as_echo "$SDL_CONFIG" >&6; }
   3271 else
   3272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3273 $as_echo "no" >&6; }
   3274 fi
   3275 
   3276 
   3277     PATH="$as_save_PATH"
   3278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
   3279 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
   3280     no_sdl=""
   3281 
   3282     if test "$SDL_CONFIG" = "no" ; then
   3283       no_sdl=yes
   3284     else
   3285       SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
   3286       SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
   3287 
   3288       sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
   3289              sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
   3290       sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \
   3291              sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
   3292       sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
   3293              sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
   3294       if test "x$enable_sdltest" = "xyes" ; then
   3295         ac_save_CFLAGS="$CFLAGS"
   3296         ac_save_CXXFLAGS="$CXXFLAGS"
   3297         ac_save_LIBS="$LIBS"
   3298         CFLAGS="$CFLAGS $SDL_CFLAGS"
   3299         CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
   3300         LIBS="$LIBS $SDL_LIBS"
   3301       rm -f conf.sdltest
   3302       if test "$cross_compiling" = yes; then :
   3303   echo $ac_n "cross compiling; assumed OK... $ac_c"
   3304 else
   3305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3306 /* end confdefs.h.  */
   3307 
   3308 #include <stdio.h>
   3309 #include <stdlib.h>
   3310 #include <string.h>
   3311 #include "SDL.h"
   3312 
   3313 char*
   3314 my_strdup (char *str)
   3315 {
   3316   char *new_str;
   3317 
   3318   if (str)
   3319     {
   3320       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
   3321       strcpy (new_str, str);
   3322     }
   3323   else
   3324     new_str = NULL;
   3325 
   3326   return new_str;
   3327 }
   3328 
   3329 int main (int argc, char *argv[])
   3330 {
   3331   int major, minor, micro;
   3332   char *tmp_version;
   3333 
   3334   /* This hangs on some systems (?)
   3335   system ("touch conf.sdltest");
   3336   */
   3337   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
   3338 
   3339   /* HP/UX 9 (%@#!) writes to sscanf strings */
   3340   tmp_version = my_strdup("$min_sdl_version");
   3341   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
   3342      printf("%s, bad version string\n", "$min_sdl_version");
   3343      exit(1);
   3344    }
   3345 
   3346    if (($sdl_major_version > major) ||
   3347       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
   3348       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
   3349     {
   3350       return 0;
   3351     }
   3352   else
   3353     {
   3354       printf("\n*** 'sdl2-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
   3355       printf("*** of SDL required is %d.%d.%d. If sdl2-config is correct, then it is\n", major, minor, micro);
   3356       printf("*** best to upgrade to the required version.\n");
   3357       printf("*** If sdl2-config was wrong, set the environment variable SDL_CONFIG\n");
   3358       printf("*** to point to the correct copy of sdl2-config, and remove the file\n");
   3359       printf("*** config.cache before re-running configure\n");
   3360       return 1;
   3361     }
   3362 }
   3363 
   3364 
   3365 _ACEOF
   3366 if ac_fn_c_try_run "$LINENO"; then :
   3367 
   3368 else
   3369   no_sdl=yes
   3370 fi
   3371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3372   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3373 fi
   3374 
   3375         CFLAGS="$ac_save_CFLAGS"
   3376         CXXFLAGS="$ac_save_CXXFLAGS"
   3377         LIBS="$ac_save_LIBS"
   3378       fi
   3379     fi
   3380     if test "x$no_sdl" = x ; then
   3381       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3382 $as_echo "yes" >&6; }
   3383     else
   3384       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3385 $as_echo "no" >&6; }
   3386     fi
   3387   fi
   3388   if test "x$no_sdl" = x ; then
   3389      :
   3390   else
   3391      if test "$SDL_CONFIG" = "no" ; then
   3392        echo "*** The sdl2-config script installed by SDL could not be found"
   3393        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
   3394        echo "*** your path, or set the SDL_CONFIG environment variable to the"
   3395        echo "*** full path to sdl2-config."
   3396      else
   3397        if test -f conf.sdltest ; then
   3398         :
   3399        else
   3400           echo "*** Could not run SDL test program, checking why..."
   3401           CFLAGS="$CFLAGS $SDL_CFLAGS"
   3402           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
   3403           LIBS="$LIBS $SDL_LIBS"
   3404           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3405 /* end confdefs.h.  */
   3406 
   3407 #include <stdio.h>
   3408 #include "SDL.h"
   3409 
   3410 int main(int argc, char *argv[])
   3411 { return 0; }
   3412 #undef  main
   3413 #define main K_and_R_C_main
   3414 
   3415 int
   3416 main ()
   3417 {
   3418  return 0;
   3419   ;
   3420   return 0;
   3421 }
   3422 _ACEOF
   3423 if ac_fn_c_try_link "$LINENO"; then :
   3424    echo "*** The test program compiled, but did not run. This usually means"
   3425           echo "*** that the run-time linker is not finding SDL or finding the wrong"
   3426           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
   3427           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
   3428           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
   3429           echo "*** is required on your system"
   3430 	  echo "***"
   3431           echo "*** If you have an old version installed, it is best to remove it, although"
   3432           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
   3433 else
   3434    echo "*** The test program failed to compile or link. See the file config.log for the"
   3435           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
   3436           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
   3437           echo "*** may want to edit the sdl2-config script: $SDL_CONFIG"
   3438 fi
   3439 rm -f core conftest.err conftest.$ac_objext \
   3440     conftest$ac_exeext conftest.$ac_ext
   3441           CFLAGS="$ac_save_CFLAGS"
   3442           CXXFLAGS="$ac_save_CXXFLAGS"
   3443           LIBS="$ac_save_LIBS"
   3444        fi
   3445      fi
   3446      SDL_CFLAGS=""
   3447      SDL_LIBS=""
   3448      as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
   3449 
   3450   fi
   3451 
   3452 
   3453   rm -f conf.sdltest
   3454 
   3455 CFLAGS="$CFLAGS $SDL_CFLAGS"
   3456 LIBS="$LIBS -lSDL2_test $SDL_LIBS"
   3457 
   3458 ac_ext=c
   3459 ac_cpp='$CPP $CPPFLAGS'
   3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3465 # On Suns, sometimes $CPP names a directory.
   3466 if test -n "$CPP" && test -d "$CPP"; then
   3467   CPP=
   3468 fi
   3469 if test -z "$CPP"; then
   3470   if ${ac_cv_prog_CPP+:} false; then :
   3471   $as_echo_n "(cached) " >&6
   3472 else
   3473       # Double quotes because CPP needs to be expanded
   3474     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3475     do
   3476       ac_preproc_ok=false
   3477 for ac_c_preproc_warn_flag in '' yes
   3478 do
   3479   # Use a header file that comes with gcc, so configuring glibc
   3480   # with a fresh cross-compiler works.
   3481   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3482   # <limits.h> exists even on freestanding compilers.
   3483   # On the NeXT, cc -E runs the code through the compiler's parser,
   3484   # not just through cpp. "Syntax error" is here to catch this case.
   3485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3486 /* end confdefs.h.  */
   3487 #ifdef __STDC__
   3488 # include <limits.h>
   3489 #else
   3490 # include <assert.h>
   3491 #endif
   3492 		     Syntax error
   3493 _ACEOF
   3494 if ac_fn_c_try_cpp "$LINENO"; then :
   3495 
   3496 else
   3497   # Broken: fails on valid input.
   3498 continue
   3499 fi
   3500 rm -f conftest.err conftest.i conftest.$ac_ext
   3501 
   3502   # OK, works on sane cases.  Now check whether nonexistent headers
   3503   # can be detected and how.
   3504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3505 /* end confdefs.h.  */
   3506 #include <ac_nonexistent.h>
   3507 _ACEOF
   3508 if ac_fn_c_try_cpp "$LINENO"; then :
   3509   # Broken: success on invalid input.
   3510 continue
   3511 else
   3512   # Passes both tests.
   3513 ac_preproc_ok=:
   3514 break
   3515 fi
   3516 rm -f conftest.err conftest.i conftest.$ac_ext
   3517 
   3518 done
   3519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3520 rm -f conftest.i conftest.err conftest.$ac_ext
   3521 if $ac_preproc_ok; then :
   3522   break
   3523 fi
   3524 
   3525     done
   3526     ac_cv_prog_CPP=$CPP
   3527 
   3528 fi
   3529   CPP=$ac_cv_prog_CPP
   3530 else
   3531   ac_cv_prog_CPP=$CPP
   3532 fi
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3534 $as_echo "$CPP" >&6; }
   3535 ac_preproc_ok=false
   3536 for ac_c_preproc_warn_flag in '' yes
   3537 do
   3538   # Use a header file that comes with gcc, so configuring glibc
   3539   # with a fresh cross-compiler works.
   3540   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3541   # <limits.h> exists even on freestanding compilers.
   3542   # On the NeXT, cc -E runs the code through the compiler's parser,
   3543   # not just through cpp. "Syntax error" is here to catch this case.
   3544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3545 /* end confdefs.h.  */
   3546 #ifdef __STDC__
   3547 # include <limits.h>
   3548 #else
   3549 # include <assert.h>
   3550 #endif
   3551 		     Syntax error
   3552 _ACEOF
   3553 if ac_fn_c_try_cpp "$LINENO"; then :
   3554 
   3555 else
   3556   # Broken: fails on valid input.
   3557 continue
   3558 fi
   3559 rm -f conftest.err conftest.i conftest.$ac_ext
   3560 
   3561   # OK, works on sane cases.  Now check whether nonexistent headers
   3562   # can be detected and how.
   3563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 #include <ac_nonexistent.h>
   3566 _ACEOF
   3567 if ac_fn_c_try_cpp "$LINENO"; then :
   3568   # Broken: success on invalid input.
   3569 continue
   3570 else
   3571   # Passes both tests.
   3572 ac_preproc_ok=:
   3573 break
   3574 fi
   3575 rm -f conftest.err conftest.i conftest.$ac_ext
   3576 
   3577 done
   3578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3579 rm -f conftest.i conftest.err conftest.$ac_ext
   3580 if $ac_preproc_ok; then :
   3581 
   3582 else
   3583   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3585 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3586 See \`config.log' for more details" "$LINENO" 5; }
   3587 fi
   3588 
   3589 ac_ext=c
   3590 ac_cpp='$CPP $CPPFLAGS'
   3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3594 
   3595 
   3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
   3597 $as_echo_n "checking for X... " >&6; }
   3598 
   3599 
   3600 # Check whether --with-x was given.
   3601 if test "${with_x+set}" = set; then :
   3602   withval=$with_x;
   3603 fi
   3604 
   3605 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
   3606 if test "x$with_x" = xno; then
   3607   # The user explicitly disabled X.
   3608   have_x=disabled
   3609 else
   3610   case $x_includes,$x_libraries in #(
   3611     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
   3612     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
   3613   $as_echo_n "(cached) " >&6
   3614 else
   3615   # One or both of the vars are not set, and there is no cached value.
   3616 ac_x_includes=no ac_x_libraries=no
   3617 rm -f -r conftest.dir
   3618 if mkdir conftest.dir; then
   3619   cd conftest.dir
   3620   cat >Imakefile <<'_ACEOF'
   3621 incroot:
   3622 	@echo incroot='${INCROOT}'
   3623 usrlibdir:
   3624 	@echo usrlibdir='${USRLIBDIR}'
   3625 libdir:
   3626 	@echo libdir='${LIBDIR}'
   3627 _ACEOF
   3628   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
   3629     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3630     for ac_var in incroot usrlibdir libdir; do
   3631       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
   3632     done
   3633     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
   3634     for ac_extension in a so sl dylib la dll; do
   3635       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
   3636 	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
   3637 	ac_im_usrlibdir=$ac_im_libdir; break
   3638       fi
   3639     done
   3640     # Screen out bogus values from the imake configuration.  They are
   3641     # bogus both because they are the default anyway, and because
   3642     # using them would break gcc on systems where it needs fixed includes.
   3643     case $ac_im_incroot in
   3644 	/usr/include) ac_x_includes= ;;
   3645 	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
   3646     esac
   3647     case $ac_im_usrlibdir in
   3648 	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
   3649 	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
   3650     esac
   3651   fi
   3652   cd ..
   3653   rm -f -r conftest.dir
   3654 fi
   3655 
   3656 # Standard set of common directories for X headers.
   3657 # Check X11 before X11Rn because it is often a symlink to the current release.
   3658 ac_x_header_dirs='
   3659 /usr/X11/include
   3660 /usr/X11R7/include
   3661 /usr/X11R6/include
   3662 /usr/X11R5/include
   3663 /usr/X11R4/include
   3664 
   3665 /usr/include/X11
   3666 /usr/include/X11R7
   3667 /usr/include/X11R6
   3668 /usr/include/X11R5
   3669 /usr/include/X11R4
   3670 
   3671 /usr/local/X11/include
   3672 /usr/local/X11R7/include
   3673 /usr/local/X11R6/include
   3674 /usr/local/X11R5/include
   3675 /usr/local/X11R4/include
   3676 
   3677 /usr/local/include/X11
   3678 /usr/local/include/X11R7
   3679 /usr/local/include/X11R6
   3680 /usr/local/include/X11R5
   3681 /usr/local/include/X11R4
   3682 
   3683 /usr/X386/include
   3684 /usr/x386/include
   3685 /usr/XFree86/include/X11
   3686 
   3687 /usr/include
   3688 /usr/local/include
   3689 /usr/unsupported/include
   3690 /usr/athena/include
   3691 /usr/local/x11r5/include
   3692 /usr/lpp/Xamples/include
   3693 
   3694 /usr/openwin/include
   3695 /usr/openwin/share/include'
   3696 
   3697 if test "$ac_x_includes" = no; then
   3698   # Guess where to find include files, by looking for Xlib.h.
   3699   # First, try using that file with no special directory specified.
   3700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3701 /* end confdefs.h.  */
   3702 #include <X11/Xlib.h>
   3703 _ACEOF
   3704 if ac_fn_c_try_cpp "$LINENO"; then :
   3705   # We can compile using X headers with no special include directory.
   3706 ac_x_includes=
   3707 else
   3708   for ac_dir in $ac_x_header_dirs; do
   3709   if test -r "$ac_dir/X11/Xlib.h"; then
   3710     ac_x_includes=$ac_dir
   3711     break
   3712   fi
   3713 done
   3714 fi
   3715 rm -f conftest.err conftest.i conftest.$ac_ext
   3716 fi # $ac_x_includes = no
   3717 
   3718 if test "$ac_x_libraries" = no; then
   3719   # Check for the libraries.
   3720   # See if we find them without any special options.
   3721   # Don't add to $LIBS permanently.
   3722   ac_save_LIBS=$LIBS
   3723   LIBS="-lX11 $LIBS"
   3724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3725 /* end confdefs.h.  */
   3726 #include <X11/Xlib.h>
   3727 int
   3728 main ()
   3729 {
   3730 XrmInitialize ()
   3731   ;
   3732   return 0;
   3733 }
   3734 _ACEOF
   3735 if ac_fn_c_try_link "$LINENO"; then :
   3736   LIBS=$ac_save_LIBS
   3737 # We can link X programs with no special library path.
   3738 ac_x_libraries=
   3739 else
   3740   LIBS=$ac_save_LIBS
   3741 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
   3742 do
   3743   # Don't even attempt the hair of trying to link an X program!
   3744   for ac_extension in a so sl dylib la dll; do
   3745     if test -r "$ac_dir/libX11.$ac_extension"; then
   3746       ac_x_libraries=$ac_dir
   3747       break 2
   3748     fi
   3749   done
   3750 done
   3751 fi
   3752 rm -f core conftest.err conftest.$ac_objext \
   3753     conftest$ac_exeext conftest.$ac_ext
   3754 fi # $ac_x_libraries = no
   3755 
   3756 case $ac_x_includes,$ac_x_libraries in #(
   3757   no,* | *,no | *\'*)
   3758     # Didn't find X, or a directory has "'" in its name.
   3759     ac_cv_have_x="have_x=no";; #(
   3760   *)
   3761     # Record where we found X for the cache.
   3762     ac_cv_have_x="have_x=yes\
   3763 	ac_x_includes='$ac_x_includes'\
   3764 	ac_x_libraries='$ac_x_libraries'"
   3765 esac
   3766 fi
   3767 ;; #(
   3768     *) have_x=yes;;
   3769   esac
   3770   eval "$ac_cv_have_x"
   3771 fi # $with_x != no
   3772 
   3773 if test "$have_x" != yes; then
   3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
   3775 $as_echo "$have_x" >&6; }
   3776   no_x=yes
   3777 else
   3778   # If each of the values was on the command line, it overrides each guess.
   3779   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
   3780   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
   3781   # Update the cache value to reflect the command line values.
   3782   ac_cv_have_x="have_x=yes\
   3783 	ac_x_includes='$x_includes'\
   3784 	ac_x_libraries='$x_libraries'"
   3785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
   3786 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
   3787 fi
   3788 
   3789 if test x$have_x = xyes; then
   3790     if test x$ac_x_includes = xno || test "x$ac_x_includes" = xNone || test "x$ac_x_includes" = x; then
   3791         :
   3792     else
   3793         CFLAGS="$CFLAGS -I$ac_x_includes"
   3794     fi
   3795     if test x$ac_x_libraries = xno || test "x$ac_x_libraries" = xNone; then
   3796         :
   3797     else
   3798         if test "x$ac_x_libraries" = x; then
   3799             XPATH=""
   3800             XLIB="-lX11"
   3801         else
   3802             XPATH="-L$ac_x_libraries"
   3803             XLIB="-L$ac_x_libraries -lX11"
   3804         fi
   3805     fi
   3806 fi
   3807 
   3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL support" >&5
   3809 $as_echo_n "checking for OpenGL support... " >&6; }
   3810 have_opengl=no
   3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3812 /* end confdefs.h.  */
   3813 
   3814  #include "SDL_opengl.h"
   3815 
   3816 int
   3817 main ()
   3818 {
   3819 
   3820 
   3821   ;
   3822   return 0;
   3823 }
   3824 _ACEOF
   3825 if ac_fn_c_try_compile "$LINENO"; then :
   3826 
   3827 have_opengl=yes
   3828 
   3829 fi
   3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengl" >&5
   3832 $as_echo "$have_opengl" >&6; }
   3833 
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES support" >&5
   3835 $as_echo_n "checking for OpenGL ES support... " >&6; }
   3836 have_opengles=no
   3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3838 /* end confdefs.h.  */
   3839 
   3840  #if defined (__IPHONEOS__)
   3841     #include <OpenGLES/ES1/gl.h>
   3842  #else
   3843     #include <GLES/gl.h>
   3844  #endif /* __QNXNTO__ */
   3845 
   3846 int
   3847 main ()
   3848 {
   3849 
   3850 
   3851   ;
   3852   return 0;
   3853 }
   3854 _ACEOF
   3855 if ac_fn_c_try_compile "$LINENO"; then :
   3856 
   3857 have_opengles=yes
   3858 
   3859 fi
   3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles" >&5
   3862 $as_echo "$have_opengles" >&6; }
   3863 
   3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES2 support" >&5
   3865 $as_echo_n "checking for OpenGL ES2 support... " >&6; }
   3866 have_opengles2=no
   3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3868 /* end confdefs.h.  */
   3869 
   3870  #if defined (__IPHONEOS__)
   3871     #include <OpenGLES/ES2/gl.h>
   3872     #include <OpenGLES/ES2/glext.h>
   3873  #else
   3874     #include <GLES2/gl2.h>
   3875     #include <GLES2/gl2ext.h>
   3876  #endif
   3877 
   3878 int
   3879 main ()
   3880 {
   3881 
   3882 
   3883   ;
   3884   return 0;
   3885 }
   3886 _ACEOF
   3887 if ac_fn_c_try_compile "$LINENO"; then :
   3888 
   3889 have_opengles2=yes
   3890 
   3891 fi
   3892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles2" >&5
   3894 $as_echo "$have_opengles2" >&6; }
   3895 
   3896 GLLIB=""
   3897 GLESLIB=""
   3898 GLES2LIB=""
   3899 if test x$have_opengles = xyes; then
   3900     CFLAGS="$CFLAGS -DHAVE_OPENGLES"
   3901     GLESLIB="$XPATH -lGLESv1_CM"
   3902 fi
   3903 if test x$have_opengles2 = xyes; then
   3904     CFLAGS="$CFLAGS -DHAVE_OPENGLES2"
   3905     #GLES2LIB="$XPATH -lGLESv2"
   3906 fi
   3907 if test x$have_opengl = xyes; then
   3908     CFLAGS="$CFLAGS -DHAVE_OPENGL"
   3909     GLLIB="$XPATH $SYS_GL_LIBS"
   3910 fi
   3911 
   3912 
   3913 
   3914 
   3915 
   3916 
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTF_Init in -lSDL2_ttf" >&5
   3918 $as_echo_n "checking for TTF_Init in -lSDL2_ttf... " >&6; }
   3919 if ${ac_cv_lib_SDL2_ttf_TTF_Init+:} false; then :
   3920   $as_echo_n "(cached) " >&6
   3921 else
   3922   ac_check_lib_save_LIBS=$LIBS
   3923 LIBS="-lSDL2_ttf  $LIBS"
   3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3925 /* end confdefs.h.  */
   3926 
   3927 /* Override any GCC internal prototype to avoid an error.
   3928    Use char because int might match the return type of a GCC
   3929    builtin and then its argument prototype would still apply.  */
   3930 #ifdef __cplusplus
   3931 extern "C"
   3932 #endif
   3933 char TTF_Init ();
   3934 int
   3935 main ()
   3936 {
   3937 return TTF_Init ();
   3938   ;
   3939   return 0;
   3940 }
   3941 _ACEOF
   3942 if ac_fn_c_try_link "$LINENO"; then :
   3943   ac_cv_lib_SDL2_ttf_TTF_Init=yes
   3944 else
   3945   ac_cv_lib_SDL2_ttf_TTF_Init=no
   3946 fi
   3947 rm -f core conftest.err conftest.$ac_objext \
   3948     conftest$ac_exeext conftest.$ac_ext
   3949 LIBS=$ac_check_lib_save_LIBS
   3950 fi
   3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL2_ttf_TTF_Init" >&5
   3952 $as_echo "$ac_cv_lib_SDL2_ttf_TTF_Init" >&6; }
   3953 if test "x$ac_cv_lib_SDL2_ttf_TTF_Init" = xyes; then :
   3954   have_SDL_ttf=yes
   3955 fi
   3956 
   3957 if test x$have_SDL_ttf = xyes; then
   3958     CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
   3959     SDL_TTF_LIB="-lSDL2_ttf"
   3960 fi
   3961 
   3962 
   3963 ac_config_files="$ac_config_files Makefile"
   3964 
   3965 cat >confcache <<\_ACEOF
   3966 # This file is a shell script that caches the results of configure
   3967 # tests run on this system so they can be shared between configure
   3968 # scripts and configure runs, see configure's option --config-cache.
   3969 # It is not useful on other systems.  If it contains results you don't
   3970 # want to keep, you may remove or edit it.
   3971 #
   3972 # config.status only pays attention to the cache file if you give it
   3973 # the --recheck option to rerun configure.
   3974 #
   3975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   3976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   3977 # following values.
   3978 
   3979 _ACEOF
   3980 
   3981 # The following way of writing the cache mishandles newlines in values,
   3982 # but we know of no workaround that is simple, portable, and efficient.
   3983 # So, we kill variables containing newlines.
   3984 # Ultrix sh set writes to stderr and can't be redirected directly,
   3985 # and sets the high bit in the cache file unless we assign to the vars.
   3986 (
   3987   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   3988     eval ac_val=\$$ac_var
   3989     case $ac_val in #(
   3990     *${as_nl}*)
   3991       case $ac_var in #(
   3992       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   3993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   3994       esac
   3995       case $ac_var in #(
   3996       _ | IFS | as_nl) ;; #(
   3997       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   3998       *) { eval $ac_var=; unset $ac_var;} ;;
   3999       esac ;;
   4000     esac
   4001   done
   4002 
   4003   (set) 2>&1 |
   4004     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   4005     *${as_nl}ac_space=\ *)
   4006       # `set' does not quote correctly, so add quotes: double-quote
   4007       # substitution turns \\\\ into \\, and sed turns \\ into \.
   4008       sed -n \
   4009 	"s/'/'\\\\''/g;
   4010 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   4011       ;; #(
   4012     *)
   4013       # `set' quotes correctly as required by POSIX, so do not add quotes.
   4014       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   4015       ;;
   4016     esac |
   4017     sort
   4018 ) |
   4019   sed '
   4020      /^ac_cv_env_/b end
   4021      t clear
   4022      :clear
   4023      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   4024      t end
   4025      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   4026      :end' >>confcache
   4027 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   4028   if test -w "$cache_file"; then
   4029     if test "x$cache_file" != "x/dev/null"; then
   4030       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   4031 $as_echo "$as_me: updating cache $cache_file" >&6;}
   4032       if test ! -f "$cache_file" || test -h "$cache_file"; then
   4033 	cat confcache >"$cache_file"
   4034       else
   4035         case $cache_file in #(
   4036         */* | ?:*)
   4037 	  mv -f confcache "$cache_file"$$ &&
   4038 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   4039         *)
   4040 	  mv -f confcache "$cache_file" ;;
   4041 	esac
   4042       fi
   4043     fi
   4044   else
   4045     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   4046 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   4047   fi
   4048 fi
   4049 rm -f confcache
   4050 
   4051 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   4052 # Let make expand exec_prefix.
   4053 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   4054 
   4055 # Transform confdefs.h into DEFS.
   4056 # Protect against shell expansion while executing Makefile rules.
   4057 # Protect against Makefile macro expansion.
   4058 #
   4059 # If the first sed substitution is executed (which looks for macros that
   4060 # take arguments), then branch to the quote section.  Otherwise,
   4061 # look for a macro that doesn't take arguments.
   4062 ac_script='
   4063 :mline
   4064 /\\$/{
   4065  N
   4066  s,\\\n,,
   4067  b mline
   4068 }
   4069 t clear
   4070 :clear
   4071 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   4072 t quote
   4073 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   4074 t quote
   4075 b any
   4076 :quote
   4077 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   4078 s/\[/\\&/g
   4079 s/\]/\\&/g
   4080 s/\$/$$/g
   4081 H
   4082 :any
   4083 ${
   4084 	g
   4085 	s/^\n//
   4086 	s/\n/ /g
   4087 	p
   4088 }
   4089 '
   4090 DEFS=`sed -n "$ac_script" confdefs.h`
   4091 
   4092 
   4093 ac_libobjs=
   4094 ac_ltlibobjs=
   4095 U=
   4096 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   4097   # 1. Remove the extension, and $U if already installed.
   4098   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   4099   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   4100   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   4101   #    will be set to the directory where LIBOBJS objects are built.
   4102   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   4103   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   4104 done
   4105 LIBOBJS=$ac_libobjs
   4106 
   4107 LTLIBOBJS=$ac_ltlibobjs
   4108 
   4109 
   4110 
   4111 : "${CONFIG_STATUS=./config.status}"
   4112 ac_write_fail=0
   4113 ac_clean_files_save=$ac_clean_files
   4114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   4115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   4116 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   4117 as_write_fail=0
   4118 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   4119 #! $SHELL
   4120 # Generated by $as_me.
   4121 # Run this file to recreate the current configuration.
   4122 # Compiler output produced by configure, useful for debugging
   4123 # configure, is in config.log if it exists.
   4124 
   4125 debug=false
   4126 ac_cs_recheck=false
   4127 ac_cs_silent=false
   4128 
   4129 SHELL=\${CONFIG_SHELL-$SHELL}
   4130 export SHELL
   4131 _ASEOF
   4132 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   4133 ## -------------------- ##
   4134 ## M4sh Initialization. ##
   4135 ## -------------------- ##
   4136 
   4137 # Be more Bourne compatible
   4138 DUALCASE=1; export DUALCASE # for MKS sh
   4139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   4140   emulate sh
   4141   NULLCMD=:
   4142   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   4143   # is contrary to our usage.  Disable this feature.
   4144   alias -g '${1+"$@"}'='"$@"'
   4145   setopt NO_GLOB_SUBST
   4146 else
   4147   case `(set -o) 2>/dev/null` in #(
   4148   *posix*) :
   4149     set -o posix ;; #(
   4150   *) :
   4151      ;;
   4152 esac
   4153 fi
   4154 
   4155 
   4156 as_nl='
   4157 '
   4158 export as_nl
   4159 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   4160 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   4162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   4163 # Prefer a ksh shell builtin over an external printf program on Solaris,
   4164 # but without wasting forks for bash or zsh.
   4165 if test -z "$BASH_VERSION$ZSH_VERSION" \
   4166     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   4167   as_echo='print -r --'
   4168   as_echo_n='print -rn --'
   4169 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   4170   as_echo='printf %s\n'
   4171   as_echo_n='printf %s'
   4172 else
   4173   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   4174     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   4175     as_echo_n='/usr/ucb/echo -n'
   4176   else
   4177     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   4178     as_echo_n_body='eval
   4179       arg=$1;
   4180       case $arg in #(
   4181       *"$as_nl"*)
   4182 	expr "X$arg" : "X\\(.*\\)$as_nl";
   4183 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   4184       esac;
   4185       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   4186     '
   4187     export as_echo_n_body
   4188     as_echo_n='sh -c $as_echo_n_body as_echo'
   4189   fi
   4190   export as_echo_body
   4191   as_echo='sh -c $as_echo_body as_echo'
   4192 fi
   4193 
   4194 # The user is always right.
   4195 if test "${PATH_SEPARATOR+set}" != set; then
   4196   PATH_SEPARATOR=:
   4197   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   4198     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   4199       PATH_SEPARATOR=';'
   4200   }
   4201 fi
   4202 
   4203 
   4204 # IFS
   4205 # We need space, tab and new line, in precisely that order.  Quoting is
   4206 # there to prevent editors from complaining about space-tab.
   4207 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   4208 # splitting by setting IFS to empty value.)
   4209 IFS=" ""	$as_nl"
   4210 
   4211 # Find who we are.  Look in the path if we contain no directory separator.
   4212 as_myself=
   4213 case $0 in #((
   4214   *[\\/]* ) as_myself=$0 ;;
   4215   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4216 for as_dir in $PATH
   4217 do
   4218   IFS=$as_save_IFS
   4219   test -z "$as_dir" && as_dir=.
   4220     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   4221   done
   4222 IFS=$as_save_IFS
   4223 
   4224      ;;
   4225 esac
   4226 # We did not find ourselves, most probably we were run as `sh COMMAND'
   4227 # in which case we are not to be found in the path.
   4228 if test "x$as_myself" = x; then
   4229   as_myself=$0
   4230 fi
   4231 if test ! -f "$as_myself"; then
   4232   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   4233   exit 1
   4234 fi
   4235 
   4236 # Unset variables that we do not need and which cause bugs (e.g. in
   4237 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   4238 # suppresses any "Segmentation fault" message there.  '((' could
   4239 # trigger a bug in pdksh 5.2.14.
   4240 for as_var in BASH_ENV ENV MAIL MAILPATH
   4241 do eval test x\${$as_var+set} = xset \
   4242   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   4243 done
   4244 PS1='$ '
   4245 PS2='> '
   4246 PS4='+ '
   4247 
   4248 # NLS nuisances.
   4249 LC_ALL=C
   4250 export LC_ALL
   4251 LANGUAGE=C
   4252 export LANGUAGE
   4253 
   4254 # CDPATH.
   4255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   4256 
   4257 
   4258 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   4259 # ----------------------------------------
   4260 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   4261 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   4262 # script with STATUS, using 1 if that was 0.
   4263 as_fn_error ()
   4264 {
   4265   as_status=$1; test $as_status -eq 0 && as_status=1
   4266   if test "$4"; then
   4267     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   4268     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   4269   fi
   4270   $as_echo "$as_me: error: $2" >&2
   4271   as_fn_exit $as_status
   4272 } # as_fn_error
   4273 
   4274 
   4275 # as_fn_set_status STATUS
   4276 # -----------------------
   4277 # Set $? to STATUS, without forking.
   4278 as_fn_set_status ()
   4279 {
   4280   return $1
   4281 } # as_fn_set_status
   4282 
   4283 # as_fn_exit STATUS
   4284 # -----------------
   4285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   4286 as_fn_exit ()
   4287 {
   4288   set +e
   4289   as_fn_set_status $1
   4290   exit $1
   4291 } # as_fn_exit
   4292 
   4293 # as_fn_unset VAR
   4294 # ---------------
   4295 # Portably unset VAR.
   4296 as_fn_unset ()
   4297 {
   4298   { eval $1=; unset $1;}
   4299 }
   4300 as_unset=as_fn_unset
   4301 # as_fn_append VAR VALUE
   4302 # ----------------------
   4303 # Append the text in VALUE to the end of the definition contained in VAR. Take
   4304 # advantage of any shell optimizations that allow amortized linear growth over
   4305 # repeated appends, instead of the typical quadratic growth present in naive
   4306 # implementations.
   4307 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   4308   eval 'as_fn_append ()
   4309   {
   4310     eval $1+=\$2
   4311   }'
   4312 else
   4313   as_fn_append ()
   4314   {
   4315     eval $1=\$$1\$2
   4316   }
   4317 fi # as_fn_append
   4318 
   4319 # as_fn_arith ARG...
   4320 # ------------------
   4321 # Perform arithmetic evaluation on the ARGs, and store the result in the
   4322 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   4323 # must be portable across $(()) and expr.
   4324 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   4325   eval 'as_fn_arith ()
   4326   {
   4327     as_val=$(( $* ))
   4328   }'
   4329 else
   4330   as_fn_arith ()
   4331   {
   4332     as_val=`expr "$@" || test $? -eq 1`
   4333   }
   4334 fi # as_fn_arith
   4335 
   4336 
   4337 if expr a : '\(a\)' >/dev/null 2>&1 &&
   4338    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   4339   as_expr=expr
   4340 else
   4341   as_expr=false
   4342 fi
   4343 
   4344 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   4345   as_basename=basename
   4346 else
   4347   as_basename=false
   4348 fi
   4349 
   4350 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   4351   as_dirname=dirname
   4352 else
   4353   as_dirname=false
   4354 fi
   4355 
   4356 as_me=`$as_basename -- "$0" ||
   4357 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   4358 	 X"$0" : 'X\(//\)$' \| \
   4359 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   4360 $as_echo X/"$0" |
   4361     sed '/^.*\/\([^/][^/]*\)\/*$/{
   4362 	    s//\1/
   4363 	    q
   4364 	  }
   4365 	  /^X\/\(\/\/\)$/{
   4366 	    s//\1/
   4367 	    q
   4368 	  }
   4369 	  /^X\/\(\/\).*/{
   4370 	    s//\1/
   4371 	    q
   4372 	  }
   4373 	  s/.*/./; q'`
   4374 
   4375 # Avoid depending upon Character Ranges.
   4376 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   4377 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   4378 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   4379 as_cr_digits='0123456789'
   4380 as_cr_alnum=$as_cr_Letters$as_cr_digits
   4381 
   4382 ECHO_C= ECHO_N= ECHO_T=
   4383 case `echo -n x` in #(((((
   4384 -n*)
   4385   case `echo 'xy\c'` in
   4386   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   4387   xy)  ECHO_C='\c';;
   4388   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   4389        ECHO_T='	';;
   4390   esac;;
   4391 *)
   4392   ECHO_N='-n';;
   4393 esac
   4394 
   4395 rm -f conf$$ conf$$.exe conf$$.file
   4396 if test -d conf$$.dir; then
   4397   rm -f conf$$.dir/conf$$.file
   4398 else
   4399   rm -f conf$$.dir
   4400   mkdir conf$$.dir 2>/dev/null
   4401 fi
   4402 if (echo >conf$$.file) 2>/dev/null; then
   4403   if ln -s conf$$.file conf$$ 2>/dev/null; then
   4404     as_ln_s='ln -s'
   4405     # ... but there are two gotchas:
   4406     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   4407     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   4408     # In both cases, we have to default to `cp -pR'.
   4409     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   4410       as_ln_s='cp -pR'
   4411   elif ln conf$$.file conf$$ 2>/dev/null; then
   4412     as_ln_s=ln
   4413   else
   4414     as_ln_s='cp -pR'
   4415   fi
   4416 else
   4417   as_ln_s='cp -pR'
   4418 fi
   4419 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   4420 rmdir conf$$.dir 2>/dev/null
   4421 
   4422 
   4423 # as_fn_mkdir_p
   4424 # -------------
   4425 # Create "$as_dir" as a directory, including parents if necessary.
   4426 as_fn_mkdir_p ()
   4427 {
   4428 
   4429   case $as_dir in #(
   4430   -*) as_dir=./$as_dir;;
   4431   esac
   4432   test -d "$as_dir" || eval $as_mkdir_p || {
   4433     as_dirs=
   4434     while :; do
   4435       case $as_dir in #(
   4436       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   4437       *) as_qdir=$as_dir;;
   4438       esac
   4439       as_dirs="'$as_qdir' $as_dirs"
   4440       as_dir=`$as_dirname -- "$as_dir" ||
   4441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   4442 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   4443 	 X"$as_dir" : 'X\(//\)$' \| \
   4444 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   4445 $as_echo X"$as_dir" |
   4446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   4447 	    s//\1/
   4448 	    q
   4449 	  }
   4450 	  /^X\(\/\/\)[^/].*/{
   4451 	    s//\1/
   4452 	    q
   4453 	  }
   4454 	  /^X\(\/\/\)$/{
   4455 	    s//\1/
   4456 	    q
   4457 	  }
   4458 	  /^X\(\/\).*/{
   4459 	    s//\1/
   4460 	    q
   4461 	  }
   4462 	  s/.*/./; q'`
   4463       test -d "$as_dir" && break
   4464     done
   4465     test -z "$as_dirs" || eval "mkdir $as_dirs"
   4466   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   4467 
   4468 
   4469 } # as_fn_mkdir_p
   4470 if mkdir -p . 2>/dev/null; then
   4471   as_mkdir_p='mkdir -p "$as_dir"'
   4472 else
   4473   test -d ./-p && rmdir ./-p
   4474   as_mkdir_p=false
   4475 fi
   4476 
   4477 
   4478 # as_fn_executable_p FILE
   4479 # -----------------------
   4480 # Test if FILE is an executable regular file.
   4481 as_fn_executable_p ()
   4482 {
   4483   test -f "$1" && test -x "$1"
   4484 } # as_fn_executable_p
   4485 as_test_x='test -x'
   4486 as_executable_p=as_fn_executable_p
   4487 
   4488 # Sed expression to map a string onto a valid CPP name.
   4489 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   4490 
   4491 # Sed expression to map a string onto a valid variable name.
   4492 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   4493 
   4494 
   4495 exec 6>&1
   4496 ## ----------------------------------- ##
   4497 ## Main body of $CONFIG_STATUS script. ##
   4498 ## ----------------------------------- ##
   4499 _ASEOF
   4500 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   4501 
   4502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   4503 # Save the log message, to keep $0 and so on meaningful, and to
   4504 # report actual input values of CONFIG_FILES etc. instead of their
   4505 # values after options handling.
   4506 ac_log="
   4507 This file was extended by $as_me, which was
   4508 generated by GNU Autoconf 2.69.  Invocation command line was
   4509 
   4510   CONFIG_FILES    = $CONFIG_FILES
   4511   CONFIG_HEADERS  = $CONFIG_HEADERS
   4512   CONFIG_LINKS    = $CONFIG_LINKS
   4513   CONFIG_COMMANDS = $CONFIG_COMMANDS
   4514   $ $0 $@
   4515 
   4516 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   4517 "
   4518 
   4519 _ACEOF
   4520 
   4521 case $ac_config_files in *"
   4522 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   4523 esac
   4524 
   4525 
   4526 
   4527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   4528 # Files that config.status was made for.
   4529 config_files="$ac_config_files"
   4530 
   4531 _ACEOF
   4532 
   4533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   4534 ac_cs_usage="\
   4535 \`$as_me' instantiates files and other configuration actions
   4536 from templates according to the current configuration.  Unless the files
   4537 and actions are specified as TAGs, all are instantiated by default.
   4538 
   4539 Usage: $0 [OPTION]... [TAG]...
   4540 
   4541   -h, --help       print this help, then exit
   4542   -V, --version    print version number and configuration settings, then exit
   4543       --config     print configuration, then exit
   4544   -q, --quiet, --silent
   4545                    do not print progress messages
   4546   -d, --debug      don't remove temporary files
   4547       --recheck    update $as_me by reconfiguring in the same conditions
   4548       --file=FILE[:TEMPLATE]
   4549                    instantiate the configuration file FILE
   4550 
   4551 Configuration files:
   4552 $config_files
   4553 
   4554 Report bugs to the package provider."
   4555 
   4556 _ACEOF
   4557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   4558 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   4559 ac_cs_version="\\
   4560 config.status
   4561 configured by $0, generated by GNU Autoconf 2.69,
   4562   with options \\"\$ac_cs_config\\"
   4563 
   4564 Copyright (C) 2012 Free Software Foundation, Inc.
   4565 This config.status script is free software; the Free Software Foundation
   4566 gives unlimited permission to copy, distribute and modify it."
   4567 
   4568 ac_pwd='$ac_pwd'
   4569 srcdir='$srcdir'
   4570 test -n "\$AWK" || AWK=awk
   4571 _ACEOF
   4572 
   4573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   4574 # The default lists apply if the user does not specify any file.
   4575 ac_need_defaults=:
   4576 while test $# != 0
   4577 do
   4578   case $1 in
   4579   --*=?*)
   4580     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   4581     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   4582     ac_shift=:
   4583     ;;
   4584   --*=)
   4585     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   4586     ac_optarg=
   4587     ac_shift=:
   4588     ;;
   4589   *)
   4590     ac_option=$1
   4591     ac_optarg=$2
   4592     ac_shift=shift
   4593     ;;
   4594   esac
   4595 
   4596   case $ac_option in
   4597   # Handling of the options.
   4598   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   4599     ac_cs_recheck=: ;;
   4600   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   4601     $as_echo "$ac_cs_version"; exit ;;
   4602   --config | --confi | --conf | --con | --co | --c )
   4603     $as_echo "$ac_cs_config"; exit ;;
   4604   --debug | --debu | --deb | --de | --d | -d )
   4605     debug=: ;;
   4606   --file | --fil | --fi | --f )
   4607     $ac_shift
   4608     case $ac_optarg in
   4609     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   4610     '') as_fn_error $? "missing file argument" ;;
   4611     esac
   4612     as_fn_append CONFIG_FILES " '$ac_optarg'"
   4613     ac_need_defaults=false;;
   4614   --he | --h |  --help | --hel | -h )
   4615     $as_echo "$ac_cs_usage"; exit ;;
   4616   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   4617   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   4618     ac_cs_silent=: ;;
   4619 
   4620   # This is an error.
   4621   -*) as_fn_error $? "unrecognized option: \`$1'
   4622 Try \`$0 --help' for more information." ;;
   4623 
   4624   *) as_fn_append ac_config_targets " $1"
   4625      ac_need_defaults=false ;;
   4626 
   4627   esac
   4628   shift
   4629 done
   4630 
   4631 ac_configure_extra_args=
   4632 
   4633 if $ac_cs_silent; then
   4634   exec 6>/dev/null
   4635   ac_configure_extra_args="$ac_configure_extra_args --silent"
   4636 fi
   4637 
   4638 _ACEOF
   4639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   4640 if \$ac_cs_recheck; then
   4641   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   4642   shift
   4643   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   4644   CONFIG_SHELL='$SHELL'
   4645   export CONFIG_SHELL
   4646   exec "\$@"
   4647 fi
   4648 
   4649 _ACEOF
   4650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   4651 exec 5>>config.log
   4652 {
   4653   echo
   4654   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   4655 ## Running $as_me. ##
   4656 _ASBOX
   4657   $as_echo "$ac_log"
   4658 } >&5
   4659 
   4660 _ACEOF
   4661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   4662 _ACEOF
   4663 
   4664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   4665 
   4666 # Handling of arguments.
   4667 for ac_config_target in $ac_config_targets
   4668 do
   4669   case $ac_config_target in
   4670     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   4671 
   4672   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   4673   esac
   4674 done
   4675 
   4676 
   4677 # If the user did not use the arguments to specify the items to instantiate,
   4678 # then the envvar interface is used.  Set only those that are not.
   4679 # We use the long form for the default assignment because of an extremely
   4680 # bizarre bug on SunOS 4.1.3.
   4681 if $ac_need_defaults; then
   4682   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   4683 fi
   4684 
   4685 # Have a temporary directory for convenience.  Make it in the build tree
   4686 # simply because there is no reason against having it here, and in addition,
   4687 # creating and moving files from /tmp can sometimes cause problems.
   4688 # Hook for its removal unless debugging.
   4689 # Note that there is a small window in which the directory will not be cleaned:
   4690 # after its creation but before its name has been assigned to `$tmp'.
   4691 $debug ||
   4692 {
   4693   tmp= ac_tmp=
   4694   trap 'exit_status=$?
   4695   : "${ac_tmp:=$tmp}"
   4696   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   4697 ' 0
   4698   trap 'as_fn_exit 1' 1 2 13 15
   4699 }
   4700 # Create a (secure) tmp directory for tmp files.
   4701 
   4702 {
   4703   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   4704   test -d "$tmp"
   4705 }  ||
   4706 {
   4707   tmp=./conf$$-$RANDOM
   4708   (umask 077 && mkdir "$tmp")
   4709 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   4710 ac_tmp=$tmp
   4711 
   4712 # Set up the scripts for CONFIG_FILES section.
   4713 # No need to generate them if there are no CONFIG_FILES.
   4714 # This happens for instance with `./config.status config.h'.
   4715 if test -n "$CONFIG_FILES"; then
   4716 
   4717 
   4718 ac_cr=`echo X | tr X '\015'`
   4719 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   4720 # But we know of no other shell where ac_cr would be empty at this
   4721 # point, so we can use a bashism as a fallback.
   4722 if test "x$ac_cr" = x; then
   4723   eval ac_cr=\$\'\\r\'
   4724 fi
   4725 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   4726 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   4727   ac_cs_awk_cr='\\r'
   4728 else
   4729   ac_cs_awk_cr=$ac_cr
   4730 fi
   4731 
   4732 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   4733 _ACEOF
   4734 
   4735 
   4736 {
   4737   echo "cat >conf$$subs.awk <<_ACEOF" &&
   4738   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   4739   echo "_ACEOF"
   4740 } >conf$$subs.sh ||
   4741   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   4742 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   4743 ac_delim='%!_!# '
   4744 for ac_last_try in false false false false false :; do
   4745   . ./conf$$subs.sh ||
   4746     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   4747 
   4748   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   4749   if test $ac_delim_n = $ac_delim_num; then
   4750     break
   4751   elif $ac_last_try; then
   4752     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   4753   else
   4754     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   4755   fi
   4756 done
   4757 rm -f conf$$subs.sh
   4758 
   4759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   4760 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   4761 _ACEOF
   4762 sed -n '
   4763 h
   4764 s/^/S["/; s/!.*/"]=/
   4765 p
   4766 g
   4767 s/^[^!]*!//
   4768 :repl
   4769 t repl
   4770 s/'"$ac_delim"'$//
   4771 t delim
   4772 :nl
   4773 h
   4774 s/\(.\{148\}\)..*/\1/
   4775 t more1
   4776 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   4777 p
   4778 n
   4779 b repl
   4780 :more1
   4781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   4782 p
   4783 g
   4784 s/.\{148\}//
   4785 t nl
   4786 :delim
   4787 h
   4788 s/\(.\{148\}\)..*/\1/
   4789 t more2
   4790 s/["\\]/\\&/g; s/^/"/; s/$/"/
   4791 p
   4792 b
   4793 :more2
   4794 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   4795 p
   4796 g
   4797 s/.\{148\}//
   4798 t delim
   4799 ' <conf$$subs.awk | sed '
   4800 /^[^""]/{
   4801   N
   4802   s/\n//
   4803 }
   4804 ' >>$CONFIG_STATUS || ac_write_fail=1
   4805 rm -f conf$$subs.awk
   4806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   4807 _ACAWK
   4808 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   4809   for (key in S) S_is_set[key] = 1
   4810   FS = ""
   4811 
   4812 }
   4813 {
   4814   line = $ 0
   4815   nfields = split(line, field, "@")
   4816   substed = 0
   4817   len = length(field[1])
   4818   for (i = 2; i < nfields; i++) {
   4819     key = field[i]
   4820     keylen = length(key)
   4821     if (S_is_set[key]) {
   4822       value = S[key]
   4823       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   4824       len += length(value) + length(field[++i])
   4825       substed = 1
   4826     } else
   4827       len += 1 + keylen
   4828   }
   4829 
   4830   print line
   4831 }
   4832 
   4833 _ACAWK
   4834 _ACEOF
   4835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   4836 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   4837   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   4838 else
   4839   cat
   4840 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   4841   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   4842 _ACEOF
   4843 
   4844 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   4845 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   4846 # trailing colons and then remove the whole line if VPATH becomes empty
   4847 # (actually we leave an empty line to preserve line numbers).
   4848 if test "x$srcdir" = x.; then
   4849   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   4850 h
   4851 s///
   4852 s/^/:/
   4853 s/[	 ]*$/:/
   4854 s/:\$(srcdir):/:/g
   4855 s/:\${srcdir}:/:/g
   4856 s/:@srcdir@:/:/g
   4857 s/^:*//
   4858 s/:*$//
   4859 x
   4860 s/\(=[	 ]*\).*/\1/
   4861 G
   4862 s/\n//
   4863 s/^[^=]*=[	 ]*$//
   4864 }'
   4865 fi
   4866 
   4867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   4868 fi # test -n "$CONFIG_FILES"
   4869 
   4870 
   4871 eval set X "  :F $CONFIG_FILES      "
   4872 shift
   4873 for ac_tag
   4874 do
   4875   case $ac_tag in
   4876   :[FHLC]) ac_mode=$ac_tag; continue;;
   4877   esac
   4878   case $ac_mode$ac_tag in
   4879   :[FHL]*:*);;
   4880   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   4881   :[FH]-) ac_tag=-:-;;
   4882   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   4883   esac
   4884   ac_save_IFS=$IFS
   4885   IFS=:
   4886   set x $ac_tag
   4887   IFS=$ac_save_IFS
   4888   shift
   4889   ac_file=$1
   4890   shift
   4891 
   4892   case $ac_mode in
   4893   :L) ac_source=$1;;
   4894   :[FH])
   4895     ac_file_inputs=
   4896     for ac_f
   4897     do
   4898       case $ac_f in
   4899       -) ac_f="$ac_tmp/stdin";;
   4900       *) # Look for the file first in the build tree, then in the source tree
   4901 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   4902 	 # because $ac_f cannot contain `:'.
   4903 	 test -f "$ac_f" ||
   4904 	   case $ac_f in
   4905 	   [\\/$]*) false;;
   4906 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   4907 	   esac ||
   4908 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   4909       esac
   4910       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   4911       as_fn_append ac_file_inputs " '$ac_f'"
   4912     done
   4913 
   4914     # Let's still pretend it is `configure' which instantiates (i.e., don't
   4915     # use $as_me), people would be surprised to read:
   4916     #    /* config.h.  Generated by config.status.  */
   4917     configure_input='Generated from '`
   4918 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   4919 	`' by configure.'
   4920     if test x"$ac_file" != x-; then
   4921       configure_input="$ac_file.  $configure_input"
   4922       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   4923 $as_echo "$as_me: creating $ac_file" >&6;}
   4924     fi
   4925     # Neutralize special characters interpreted by sed in replacement strings.
   4926     case $configure_input in #(
   4927     *\&* | *\|* | *\\* )
   4928        ac_sed_conf_input=`$as_echo "$configure_input" |
   4929        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   4930     *) ac_sed_conf_input=$configure_input;;
   4931     esac
   4932 
   4933     case $ac_tag in
   4934     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   4935       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   4936     esac
   4937     ;;
   4938   esac
   4939 
   4940   ac_dir=`$as_dirname -- "$ac_file" ||
   4941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   4942 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   4943 	 X"$ac_file" : 'X\(//\)$' \| \
   4944 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   4945 $as_echo X"$ac_file" |
   4946     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   4947 	    s//\1/
   4948 	    q
   4949 	  }
   4950 	  /^X\(\/\/\)[^/].*/{
   4951 	    s//\1/
   4952 	    q
   4953 	  }
   4954 	  /^X\(\/\/\)$/{
   4955 	    s//\1/
   4956 	    q
   4957 	  }
   4958 	  /^X\(\/\).*/{
   4959 	    s//\1/
   4960 	    q
   4961 	  }
   4962 	  s/.*/./; q'`
   4963   as_dir="$ac_dir"; as_fn_mkdir_p
   4964   ac_builddir=.
   4965 
   4966 case "$ac_dir" in
   4967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   4968 *)
   4969   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   4970   # A ".." for each directory in $ac_dir_suffix.
   4971   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   4972   case $ac_top_builddir_sub in
   4973   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   4974   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   4975   esac ;;
   4976 esac
   4977 ac_abs_top_builddir=$ac_pwd
   4978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   4979 # for backward compatibility:
   4980 ac_top_builddir=$ac_top_build_prefix
   4981 
   4982 case $srcdir in
   4983   .)  # We are building in place.
   4984     ac_srcdir=.
   4985     ac_top_srcdir=$ac_top_builddir_sub
   4986     ac_abs_top_srcdir=$ac_pwd ;;
   4987   [\\/]* | ?:[\\/]* )  # Absolute name.
   4988     ac_srcdir=$srcdir$ac_dir_suffix;
   4989     ac_top_srcdir=$srcdir
   4990     ac_abs_top_srcdir=$srcdir ;;
   4991   *) # Relative name.
   4992     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   4993     ac_top_srcdir=$ac_top_build_prefix$srcdir
   4994     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   4995 esac
   4996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   4997 
   4998 
   4999   case $ac_mode in
   5000   :F)
   5001   #
   5002   # CONFIG_FILE
   5003   #
   5004 
   5005 _ACEOF
   5006 
   5007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5008 # If the template does not know about datarootdir, expand it.
   5009 # FIXME: This hack should be removed a few years after 2.60.
   5010 ac_datarootdir_hack=; ac_datarootdir_seen=
   5011 ac_sed_dataroot='
   5012 /datarootdir/ {
   5013   p
   5014   q
   5015 }
   5016 /@datadir@/p
   5017 /@docdir@/p
   5018 /@infodir@/p
   5019 /@localedir@/p
   5020 /@mandir@/p'
   5021 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   5022 *datarootdir*) ac_datarootdir_seen=yes;;
   5023 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   5024   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   5025 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   5026 _ACEOF
   5027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5028   ac_datarootdir_hack='
   5029   s&@datadir@&$datadir&g
   5030   s&@docdir@&$docdir&g
   5031   s&@infodir@&$infodir&g
   5032   s&@localedir@&$localedir&g
   5033   s&@mandir@&$mandir&g
   5034   s&\\\${datarootdir}&$datarootdir&g' ;;
   5035 esac
   5036 _ACEOF
   5037 
   5038 # Neutralize VPATH when `$srcdir' = `.'.
   5039 # Shell code in configure.ac might set extrasub.
   5040 # FIXME: do we really want to maintain this feature?
   5041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5042 ac_sed_extra="$ac_vpsub
   5043 $extrasub
   5044 _ACEOF
   5045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5046 :t
   5047 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   5048 s|@configure_input@|$ac_sed_conf_input|;t t
   5049 s&@top_builddir@&$ac_top_builddir_sub&;t t
   5050 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   5051 s&@srcdir@&$ac_srcdir&;t t
   5052 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   5053 s&@top_srcdir@&$ac_top_srcdir&;t t
   5054 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   5055 s&@builddir@&$ac_builddir&;t t
   5056 s&@abs_builddir@&$ac_abs_builddir&;t t
   5057 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   5058 $ac_datarootdir_hack
   5059 "
   5060 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   5061   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   5062 
   5063 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   5064   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   5065   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   5066       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   5067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   5068 which seems to be undefined.  Please make sure it is defined" >&5
   5069 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   5070 which seems to be undefined.  Please make sure it is defined" >&2;}
   5071 
   5072   rm -f "$ac_tmp/stdin"
   5073   case $ac_file in
   5074   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   5075   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   5076   esac \
   5077   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   5078  ;;
   5079 
   5080 
   5081 
   5082   esac
   5083 
   5084 done # for ac_tag
   5085 
   5086 
   5087 as_fn_exit 0
   5088 _ACEOF
   5089 ac_clean_files=$ac_clean_files_save
   5090 
   5091 test $ac_write_fail = 0 ||
   5092   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   5093 
   5094 
   5095 # configure is writing to config.log, and then calls config.status.
   5096 # config.status does its own redirection, appending to config.log.
   5097 # Unfortunately, on DOS this fails, as config.log is still kept open
   5098 # by configure, so config.status won't be able to write to it; its
   5099 # output is simply discarded.  So we exec the FD to /dev/null,
   5100 # effectively closing config.log, so it can be properly (re)opened and
   5101 # appended to by config.status.  When coming back to configure, we
   5102 # need to make the FD available again.
   5103 if test "$no_create" != yes; then
   5104   ac_cs_success=:
   5105   ac_config_status_args=
   5106   test "$silent" = yes &&
   5107     ac_config_status_args="$ac_config_status_args --quiet"
   5108   exec 5>/dev/null
   5109   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   5110   exec 5>>config.log
   5111   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   5112   # would make configure fail if this is the last instruction.
   5113   $ac_cs_success || as_fn_exit 1
   5114 fi
   5115 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   5116   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   5117 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   5118 fi
   5119 
   5120