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