configure
author Ozkan Sezer <sezeroz@gmail.com>
Sat, 03 Aug 2019 12:47:10 +0300
branchSDL-1.2
changeset 12989 f4dccc2744a2
parent 12988 e92b0859ceed
child 13011 edf8cb7ce974
permissions -rwxr-xr-x
update documents for 1.2.16 changes so far.
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.63.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    12 
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    39 
    40 as_nl='
    41 '
    42 export as_nl
    43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    71 
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    80 
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    87 
    88 
    89 # IFS
    90 # We need space, tab and new line, in precisely that order.  Quoting is
    91 # there to prevent editors from complaining about space-tab.
    92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    93 # splitting by setting IFS to empty value.)
    94 IFS=" ""	$as_nl"
    95 
    96 # Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
    98   *[\\/]* ) as_myself=$0 ;;
    99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   100 for as_dir in $PATH
   101 do
   102   IFS=$as_save_IFS
   103   test -z "$as_dir" && as_dir=.
   104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   105 done
   106 IFS=$as_save_IFS
   107 
   108      ;;
   109 esac
   110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   111 # in which case we are not to be found in the path.
   112 if test "x$as_myself" = x; then
   113   as_myself=$0
   114 fi
   115 if test ! -f "$as_myself"; then
   116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   117   { (exit 1); exit 1; }
   118 fi
   119 
   120 # Work around bugs in pre-3.0 UWIN ksh.
   121 for as_var in ENV MAIL MAILPATH
   122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_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 # Required to use basename.
   135 if expr a : '\(a\)' >/dev/null 2>&1 &&
   136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   137   as_expr=expr
   138 else
   139   as_expr=false
   140 fi
   141 
   142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   143   as_basename=basename
   144 else
   145   as_basename=false
   146 fi
   147 
   148 
   149 # Name of the executable.
   150 as_me=`$as_basename -- "$0" ||
   151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   152 	 X"$0" : 'X\(//\)$' \| \
   153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   154 $as_echo X/"$0" |
   155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   156 	    s//\1/
   157 	    q
   158 	  }
   159 	  /^X\/\(\/\/\)$/{
   160 	    s//\1/
   161 	    q
   162 	  }
   163 	  /^X\/\(\/\).*/{
   164 	    s//\1/
   165 	    q
   166 	  }
   167 	  s/.*/./; q'`
   168 
   169 # CDPATH.
   170 $as_unset CDPATH
   171 
   172 
   173 if test "x$CONFIG_SHELL" = x; then
   174   if (eval ":") 2>/dev/null; then
   175   as_have_required=yes
   176 else
   177   as_have_required=no
   178 fi
   179 
   180   if test $as_have_required = yes &&	 (eval ":
   181 (as_func_return () {
   182   (exit \$1)
   183 }
   184 as_func_success () {
   185   as_func_return 0
   186 }
   187 as_func_failure () {
   188   as_func_return 1
   189 }
   190 as_func_ret_success () {
   191   return 0
   192 }
   193 as_func_ret_failure () {
   194   return 1
   195 }
   196 
   197 exitcode=0
   198 if as_func_success; then
   199   :
   200 else
   201   exitcode=1
   202   echo as_func_success failed.
   203 fi
   204 
   205 if as_func_failure; then
   206   exitcode=1
   207   echo as_func_failure succeeded.
   208 fi
   209 
   210 if as_func_ret_success; then
   211   :
   212 else
   213   exitcode=1
   214   echo as_func_ret_success failed.
   215 fi
   216 
   217 if as_func_ret_failure; then
   218   exitcode=1
   219   echo as_func_ret_failure succeeded.
   220 fi
   221 
   222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   223   :
   224 else
   225   exitcode=1
   226   echo positional parameters were not saved.
   227 fi
   228 
   229 test \$exitcode = 0) || { (exit 1); exit 1; }
   230 
   231 (
   232   as_lineno_1=\$LINENO
   233   as_lineno_2=\$LINENO
   234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   236 ") 2> /dev/null; then
   237   :
   238 else
   239   as_candidate_shells=
   240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   242 do
   243   IFS=$as_save_IFS
   244   test -z "$as_dir" && as_dir=.
   245   case $as_dir in
   246 	 /*)
   247 	   for as_base in sh bash ksh sh5; do
   248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   249 	   done;;
   250        esac
   251 done
   252 IFS=$as_save_IFS
   253 
   254 
   255       for as_shell in $as_candidate_shells $SHELL; do
   256 	 # Try only shells that exist, to save several forks.
   257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   260   emulate sh
   261   NULLCMD=:
   262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   263   # is contrary to our usage.  Disable this feature.
   264   alias -g '${1+"$@"}'='"$@"'
   265   setopt NO_GLOB_SUBST
   266 else
   267   case `(set -o) 2>/dev/null` in
   268   *posix*) set -o posix ;;
   269 esac
   270 
   271 fi
   272 
   273 
   274 :
   275 _ASEOF
   276 }; then
   277   CONFIG_SHELL=$as_shell
   278 	       as_have_required=yes
   279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   281   emulate sh
   282   NULLCMD=:
   283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   284   # is contrary to our usage.  Disable this feature.
   285   alias -g '${1+"$@"}'='"$@"'
   286   setopt NO_GLOB_SUBST
   287 else
   288   case `(set -o) 2>/dev/null` in
   289   *posix*) set -o posix ;;
   290 esac
   291 
   292 fi
   293 
   294 
   295 :
   296 (as_func_return () {
   297   (exit $1)
   298 }
   299 as_func_success () {
   300   as_func_return 0
   301 }
   302 as_func_failure () {
   303   as_func_return 1
   304 }
   305 as_func_ret_success () {
   306   return 0
   307 }
   308 as_func_ret_failure () {
   309   return 1
   310 }
   311 
   312 exitcode=0
   313 if as_func_success; then
   314   :
   315 else
   316   exitcode=1
   317   echo as_func_success failed.
   318 fi
   319 
   320 if as_func_failure; then
   321   exitcode=1
   322   echo as_func_failure succeeded.
   323 fi
   324 
   325 if as_func_ret_success; then
   326   :
   327 else
   328   exitcode=1
   329   echo as_func_ret_success failed.
   330 fi
   331 
   332 if as_func_ret_failure; then
   333   exitcode=1
   334   echo as_func_ret_failure succeeded.
   335 fi
   336 
   337 if ( set x; as_func_ret_success y && test x = "$1" ); then
   338   :
   339 else
   340   exitcode=1
   341   echo positional parameters were not saved.
   342 fi
   343 
   344 test $exitcode = 0) || { (exit 1); exit 1; }
   345 
   346 (
   347   as_lineno_1=$LINENO
   348   as_lineno_2=$LINENO
   349   test "x$as_lineno_1" != "x$as_lineno_2" &&
   350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   351 
   352 _ASEOF
   353 }; then
   354   break
   355 fi
   356 
   357 fi
   358 
   359       done
   360 
   361       if test "x$CONFIG_SHELL" != x; then
   362   for as_var in BASH_ENV ENV
   363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   364 	done
   365 	export CONFIG_SHELL
   366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   367 fi
   368 
   369 
   370     if test $as_have_required = no; then
   371   echo This script requires a shell more modern than all the
   372       echo shells that I found on your system.  Please install a
   373       echo modern shell, or manually run the script under such a
   374       echo shell if you do have one.
   375       { (exit 1); exit 1; }
   376 fi
   377 
   378 
   379 fi
   380 
   381 fi
   382 
   383 
   384 
   385 (eval "as_func_return () {
   386   (exit \$1)
   387 }
   388 as_func_success () {
   389   as_func_return 0
   390 }
   391 as_func_failure () {
   392   as_func_return 1
   393 }
   394 as_func_ret_success () {
   395   return 0
   396 }
   397 as_func_ret_failure () {
   398   return 1
   399 }
   400 
   401 exitcode=0
   402 if as_func_success; then
   403   :
   404 else
   405   exitcode=1
   406   echo as_func_success failed.
   407 fi
   408 
   409 if as_func_failure; then
   410   exitcode=1
   411   echo as_func_failure succeeded.
   412 fi
   413 
   414 if as_func_ret_success; then
   415   :
   416 else
   417   exitcode=1
   418   echo as_func_ret_success failed.
   419 fi
   420 
   421 if as_func_ret_failure; then
   422   exitcode=1
   423   echo as_func_ret_failure succeeded.
   424 fi
   425 
   426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   427   :
   428 else
   429   exitcode=1
   430   echo positional parameters were not saved.
   431 fi
   432 
   433 test \$exitcode = 0") || {
   434   echo No shell found that supports shell functions.
   435   echo Please tell bug-autoconf@gnu.org about your system,
   436   echo including any error possibly output before this message.
   437   echo This can help us improve future autoconf versions.
   438   echo Configuration will now proceed without shell functions.
   439 }
   440 
   441 
   442 
   443   as_lineno_1=$LINENO
   444   as_lineno_2=$LINENO
   445   test "x$as_lineno_1" != "x$as_lineno_2" &&
   446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   447 
   448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   449   # uniformly replaced by the line number.  The first 'sed' inserts a
   450   # line-number line after each line using $LINENO; the second 'sed'
   451   # does the real work.  The second script uses 'N' to pair each
   452   # line-number line with the line containing $LINENO, and appends
   453   # trailing '-' during substitution so that $LINENO is not a special
   454   # case at line end.
   455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   457   # E. McMahon (1931-1989) for sed's syntax.  :-)
   458   sed -n '
   459     p
   460     /[$]LINENO/=
   461   ' <$as_myself |
   462     sed '
   463       s/[$]LINENO.*/&-/
   464       t lineno
   465       b
   466       :lineno
   467       N
   468       :loop
   469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   470       t loop
   471       s/-\n.*//
   472     ' >$as_me.lineno &&
   473   chmod +x "$as_me.lineno" ||
   474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   475    { (exit 1); exit 1; }; }
   476 
   477   # Don't try to exec as it changes $[0], causing all sort of problems
   478   # (the dirname of $[0] is not the place where we might find the
   479   # original and so on.  Autoconf is especially sensitive to this).
   480   . "./$as_me.lineno"
   481   # Exit status is that of the last command.
   482   exit
   483 }
   484 
   485 
   486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   487   as_dirname=dirname
   488 else
   489   as_dirname=false
   490 fi
   491 
   492 ECHO_C= ECHO_N= ECHO_T=
   493 case `echo -n x` in
   494 -n*)
   495   case `echo 'x\c'` in
   496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   497   *)   ECHO_C='\c';;
   498   esac;;
   499 *)
   500   ECHO_N='-n';;
   501 esac
   502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   504   as_expr=expr
   505 else
   506   as_expr=false
   507 fi
   508 
   509 rm -f conf$$ conf$$.exe conf$$.file
   510 if test -d conf$$.dir; then
   511   rm -f conf$$.dir/conf$$.file
   512 else
   513   rm -f conf$$.dir
   514   mkdir conf$$.dir 2>/dev/null
   515 fi
   516 if (echo >conf$$.file) 2>/dev/null; then
   517   if ln -s conf$$.file conf$$ 2>/dev/null; then
   518     as_ln_s='ln -s'
   519     # ... but there are two gotchas:
   520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   522     # In both cases, we have to default to `cp -p'.
   523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   524       as_ln_s='cp -p'
   525   elif ln conf$$.file conf$$ 2>/dev/null; then
   526     as_ln_s=ln
   527   else
   528     as_ln_s='cp -p'
   529   fi
   530 else
   531   as_ln_s='cp -p'
   532 fi
   533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   534 rmdir conf$$.dir 2>/dev/null
   535 
   536 if mkdir -p . 2>/dev/null; then
   537   as_mkdir_p=:
   538 else
   539   test -d ./-p && rmdir ./-p
   540   as_mkdir_p=false
   541 fi
   542 
   543 if test -x / >/dev/null 2>&1; then
   544   as_test_x='test -x'
   545 else
   546   if ls -dL / >/dev/null 2>&1; then
   547     as_ls_L_option=L
   548   else
   549     as_ls_L_option=
   550   fi
   551   as_test_x='
   552     eval sh -c '\''
   553       if test -d "$1"; then
   554 	test -d "$1/.";
   555       else
   556 	case $1 in
   557 	-*)set "./$1";;
   558 	esac;
   559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   560 	???[sx]*):;;*)false;;esac;fi
   561     '\'' sh
   562   '
   563 fi
   564 as_executable_p=$as_test_x
   565 
   566 # Sed expression to map a string onto a valid CPP name.
   567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   568 
   569 # Sed expression to map a string onto a valid variable name.
   570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   571 
   572 
   573 
   574 
   575 # Check that we are running under the correct shell.
   576 SHELL=${CONFIG_SHELL-/bin/sh}
   577 
   578 case X$lt_ECHO in
   579 X*--fallback-echo)
   580   # Remove one level of quotation (which was required for Make).
   581   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
   582   ;;
   583 esac
   584 
   585 ECHO=${lt_ECHO-echo}
   586 if test "X$1" = X--no-reexec; then
   587   # Discard the --no-reexec flag, and continue.
   588   shift
   589 elif test "X$1" = X--fallback-echo; then
   590   # Avoid inline document here, it may be left over
   591   :
   592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
   593   # Yippee, $ECHO works!
   594   :
   595 else
   596   # Restart under the correct shell.
   597   exec $SHELL "$0" --no-reexec ${1+"$@"}
   598 fi
   599 
   600 if test "X$1" = X--fallback-echo; then
   601   # used as fallback echo
   602   shift
   603   cat <<_LT_EOF
   604 $*
   605 _LT_EOF
   606   exit 0
   607 fi
   608 
   609 # The HP-UX ksh and POSIX shell print the target directory to stdout
   610 # if CDPATH is set.
   611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   612 
   613 if test -z "$lt_ECHO"; then
   614   if test "X${echo_test_string+set}" != Xset; then
   615     # find a string as large as possible, as long as the shell can cope with it
   616     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   617       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   618       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
   619 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
   620       then
   621         break
   622       fi
   623     done
   624   fi
   625 
   626   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   627      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   628      test "X$echo_testing_string" = "X$echo_test_string"; then
   629     :
   630   else
   631     # The Solaris, AIX, and Digital Unix default echo programs unquote
   632     # backslashes.  This makes it impossible to quote backslashes using
   633     #   echo "$something" | sed 's/\\/\\\\/g'
   634     #
   635     # So, first we look for a working echo in the user's PATH.
   636 
   637     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   638     for dir in $PATH /usr/ucb; do
   639       IFS="$lt_save_ifs"
   640       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   641          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   642          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   643          test "X$echo_testing_string" = "X$echo_test_string"; then
   644         ECHO="$dir/echo"
   645         break
   646       fi
   647     done
   648     IFS="$lt_save_ifs"
   649 
   650     if test "X$ECHO" = Xecho; then
   651       # We didn't find a better echo, so look for alternatives.
   652       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
   653          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
   654          test "X$echo_testing_string" = "X$echo_test_string"; then
   655         # This shell has a builtin print -r that does the trick.
   656         ECHO='print -r'
   657       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
   658 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
   659         # If we have ksh, try running configure again with it.
   660         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   661         export ORIGINAL_CONFIG_SHELL
   662         CONFIG_SHELL=/bin/ksh
   663         export CONFIG_SHELL
   664         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
   665       else
   666         # Try using printf.
   667         ECHO='printf %s\n'
   668         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   669 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   670 	   test "X$echo_testing_string" = "X$echo_test_string"; then
   671 	  # Cool, printf works
   672 	  :
   673         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   674 	     test "X$echo_testing_string" = 'X\t' &&
   675 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   676 	     test "X$echo_testing_string" = "X$echo_test_string"; then
   677 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   678 	  export CONFIG_SHELL
   679 	  SHELL="$CONFIG_SHELL"
   680 	  export SHELL
   681 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   682         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   683 	     test "X$echo_testing_string" = 'X\t' &&
   684 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   685 	     test "X$echo_testing_string" = "X$echo_test_string"; then
   686 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   687         else
   688 	  # maybe with a smaller string...
   689 	  prev=:
   690 
   691 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
   692 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
   693 	    then
   694 	      break
   695 	    fi
   696 	    prev="$cmd"
   697 	  done
   698 
   699 	  if test "$prev" != 'sed 50q "$0"'; then
   700 	    echo_test_string=`eval $prev`
   701 	    export echo_test_string
   702 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
   703 	  else
   704 	    # Oops.  We lost completely, so just stick with echo.
   705 	    ECHO=echo
   706 	  fi
   707         fi
   708       fi
   709     fi
   710   fi
   711 fi
   712 
   713 # Copy echo and quote the copy suitably for passing to libtool from
   714 # the Makefile, instead of quoting the original, which is used later.
   715 lt_ECHO=$ECHO
   716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
   717    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   718 fi
   719 
   720 
   721 
   722 
   723 exec 7<&0 </dev/null 6>&1
   724 
   725 # Name of the host.
   726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   727 # so uname gets run too.
   728 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   729 
   730 #
   731 # Initializations.
   732 #
   733 ac_default_prefix=/usr/local
   734 ac_clean_files=
   735 ac_config_libobj_dir=.
   736 LIBOBJS=
   737 cross_compiling=no
   738 subdirs=
   739 MFLAGS=
   740 MAKEFLAGS=
   741 SHELL=${CONFIG_SHELL-/bin/sh}
   742 
   743 # Identity of this package.
   744 PACKAGE_NAME=
   745 PACKAGE_TARNAME=
   746 PACKAGE_VERSION=
   747 PACKAGE_STRING=
   748 PACKAGE_BUGREPORT=
   749 
   750 ac_unique_file="README"
   751 # Factoring default headers for most tests.
   752 ac_includes_default="\
   753 #include <stdio.h>
   754 #ifdef HAVE_SYS_TYPES_H
   755 # include <sys/types.h>
   756 #endif
   757 #ifdef HAVE_SYS_STAT_H
   758 # include <sys/stat.h>
   759 #endif
   760 #ifdef STDC_HEADERS
   761 # include <stdlib.h>
   762 # include <stddef.h>
   763 #else
   764 # ifdef HAVE_STDLIB_H
   765 #  include <stdlib.h>
   766 # endif
   767 #endif
   768 #ifdef HAVE_STRING_H
   769 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   770 #  include <memory.h>
   771 # endif
   772 # include <string.h>
   773 #endif
   774 #ifdef HAVE_STRINGS_H
   775 # include <strings.h>
   776 #endif
   777 #ifdef HAVE_INTTYPES_H
   778 # include <inttypes.h>
   779 #endif
   780 #ifdef HAVE_STDINT_H
   781 # include <stdint.h>
   782 #endif
   783 #ifdef HAVE_UNISTD_H
   784 # include <unistd.h>
   785 #endif"
   786 
   787 ac_subst_vars='LTLIBOBJS
   788 EXTRA_LDFLAGS
   789 BUILD_LDFLAGS
   790 EXTRA_CFLAGS
   791 BUILD_CFLAGS
   792 SDLMAIN_LDFLAGS
   793 SDLMAIN_OBJECTS
   794 SDLMAIN_SOURCES
   795 OBJECTS
   796 SOURCES
   797 INCLUDE
   798 ac_aux_dir
   799 ENABLE_STATIC_FALSE
   800 ENABLE_STATIC_TRUE
   801 ENABLE_SHARED_FALSE
   802 ENABLE_SHARED_TRUE
   803 SDL_RLD_FLAGS
   804 SDL_STATIC_LIBS
   805 SDL_LIBS
   806 SDL_CFLAGS
   807 PTH_CONFIG
   808 OSMESA_CONFIG
   809 CACACONFIG
   810 DIRECTFBCONFIG
   811 X_EXTRA_LIBS
   812 X_LIBS
   813 X_PRE_LIBS
   814 X_CFLAGS
   815 XMKMF
   816 NASMFLAGS
   817 NASM
   818 ARTSCONFIG
   819 PKG_CONFIG
   820 ESD_LIBS
   821 ESD_CFLAGS
   822 ESD_CONFIG
   823 ALSA_LIBS
   824 ALSA_CFLAGS
   825 POW_LIB
   826 LIBOBJS
   827 ALLOCA
   828 WINDRES
   829 SET_MAKE
   830 INSTALL_DATA
   831 INSTALL_SCRIPT
   832 INSTALL_PROGRAM
   833 CXXCPP
   834 ac_ct_CXX
   835 CXXFLAGS
   836 CXX
   837 LT_AGE
   838 LT_REVISION
   839 LT_CURRENT
   840 LT_RELEASE
   841 OTOOL64
   842 OTOOL
   843 LIPO
   844 NMEDIT
   845 DSYMUTIL
   846 lt_ECHO
   847 RANLIB
   848 STRIP
   849 AR
   850 LN_S
   851 NM
   852 ac_ct_DUMPBIN
   853 DUMPBIN
   854 LD
   855 FGREP
   856 SED
   857 host_os
   858 host_vendor
   859 host_cpu
   860 host
   861 build_os
   862 build_vendor
   863 build_cpu
   864 build
   865 LIBTOOL
   866 OBJDUMP
   867 DLLTOOL
   868 AS
   869 SDL_VERSION
   870 SDL_BINARY_AGE
   871 SDL_INTERFACE_AGE
   872 SDL_MICRO_VERSION
   873 SDL_MINOR_VERSION
   874 SDL_MAJOR_VERSION
   875 EGREP
   876 GREP
   877 CPP
   878 OBJEXT
   879 EXEEXT
   880 ac_ct_CC
   881 CPPFLAGS
   882 LDFLAGS
   883 CFLAGS
   884 CC
   885 target_alias
   886 host_alias
   887 build_alias
   888 LIBS
   889 ECHO_T
   890 ECHO_N
   891 ECHO_C
   892 DEFS
   893 mandir
   894 localedir
   895 libdir
   896 psdir
   897 pdfdir
   898 dvidir
   899 htmldir
   900 infodir
   901 docdir
   902 oldincludedir
   903 includedir
   904 localstatedir
   905 sharedstatedir
   906 sysconfdir
   907 datadir
   908 datarootdir
   909 libexecdir
   910 sbindir
   911 bindir
   912 program_transform_name
   913 prefix
   914 exec_prefix
   915 PACKAGE_BUGREPORT
   916 PACKAGE_STRING
   917 PACKAGE_VERSION
   918 PACKAGE_TARNAME
   919 PACKAGE_NAME
   920 PATH_SEPARATOR
   921 SHELL'
   922 ac_subst_files=''
   923 ac_user_opts='
   924 enable_option_checking
   925 enable_shared
   926 enable_static
   927 with_pic
   928 enable_fast_install
   929 with_gnu_ld
   930 enable_libtool_lock
   931 enable_libc
   932 enable_audio
   933 enable_video
   934 enable_events
   935 enable_joystick
   936 enable_cdrom
   937 enable_threads
   938 enable_timers
   939 enable_file
   940 enable_loadso
   941 enable_cpuinfo
   942 enable_assembly
   943 enable_oss
   944 enable_alsa
   945 with_alsa_prefix
   946 with_alsa_inc_prefix
   947 enable_alsatest
   948 enable_alsa_shared
   949 enable_esd
   950 with_esd_prefix
   951 with_esd_exec_prefix
   952 enable_esdtest
   953 enable_esd_shared
   954 enable_sndio
   955 enable_pulseaudio
   956 enable_pulseaudio_shared
   957 enable_arts
   958 enable_arts_shared
   959 enable_nas
   960 enable_nas_shared
   961 enable_diskaudio
   962 enable_dummyaudio
   963 enable_mintaudio
   964 enable_nasm
   965 enable_altivec
   966 enable_ipod
   967 enable_video_nanox
   968 enable_nanox_debug
   969 enable_nanox_share_memory
   970 enable_nanox_direct_fb
   971 enable_video_x11
   972 with_x
   973 enable_x11_shared
   974 enable_dga
   975 enable_video_dga
   976 enable_video_x11_dgamouse
   977 enable_video_x11_vm
   978 enable_video_x11_xv
   979 enable_video_x11_xinerama
   980 enable_video_x11_xme
   981 enable_video_x11_xrandr
   982 enable_video_photon
   983 enable_video_carbon
   984 enable_video_cocoa
   985 enable_video_fbcon
   986 enable_video_directfb
   987 enable_video_ps2gs
   988 enable_video_ps3
   989 enable_video_ggi
   990 enable_video_svga
   991 enable_video_vgl
   992 enable_video_wscons
   993 enable_video_aalib
   994 enable_video_caca
   995 enable_video_qtopia
   996 enable_video_picogui
   997 enable_xbios
   998 enable_gem
   999 enable_video_dummy
  1000 enable_video_opengl
  1001 enable_osmesa_shared
  1002 enable_screensaver
  1003 enable_input_events
  1004 enable_input_tslib
  1005 enable_pth
  1006 enable_pthreads
  1007 enable_pthread_sem
  1008 enable_stdio_redirect
  1009 enable_directx
  1010 enable_sdl_dlopen
  1011 enable_atari_ldg
  1012 enable_clock_gettime
  1013 enable_rpath
  1014 '
  1015       ac_precious_vars='build_alias
  1016 host_alias
  1017 target_alias
  1018 CC
  1019 CFLAGS
  1020 LDFLAGS
  1021 LIBS
  1022 CPPFLAGS
  1023 CPP
  1024 CXX
  1025 CXXFLAGS
  1026 CCC
  1027 CXXCPP
  1028 XMKMF'
  1029 
  1030 
  1031 # Initialize some variables set by options.
  1032 ac_init_help=
  1033 ac_init_version=false
  1034 ac_unrecognized_opts=
  1035 ac_unrecognized_sep=
  1036 # The variables have the same names as the options, with
  1037 # dashes changed to underlines.
  1038 cache_file=/dev/null
  1039 exec_prefix=NONE
  1040 no_create=
  1041 no_recursion=
  1042 prefix=NONE
  1043 program_prefix=NONE
  1044 program_suffix=NONE
  1045 program_transform_name=s,x,x,
  1046 silent=
  1047 site=
  1048 srcdir=
  1049 verbose=
  1050 x_includes=NONE
  1051 x_libraries=NONE
  1052 
  1053 # Installation directory options.
  1054 # These are left unexpanded so users can "make install exec_prefix=/foo"
  1055 # and all the variables that are supposed to be based on exec_prefix
  1056 # by default will actually change.
  1057 # Use braces instead of parens because sh, perl, etc. also accept them.
  1058 # (The list follows the same order as the GNU Coding Standards.)
  1059 bindir='${exec_prefix}/bin'
  1060 sbindir='${exec_prefix}/sbin'
  1061 libexecdir='${exec_prefix}/libexec'
  1062 datarootdir='${prefix}/share'
  1063 datadir='${datarootdir}'
  1064 sysconfdir='${prefix}/etc'
  1065 sharedstatedir='${prefix}/com'
  1066 localstatedir='${prefix}/var'
  1067 includedir='${prefix}/include'
  1068 oldincludedir='/usr/include'
  1069 docdir='${datarootdir}/doc/${PACKAGE}'
  1070 infodir='${datarootdir}/info'
  1071 htmldir='${docdir}'
  1072 dvidir='${docdir}'
  1073 pdfdir='${docdir}'
  1074 psdir='${docdir}'
  1075 libdir='${exec_prefix}/lib'
  1076 localedir='${datarootdir}/locale'
  1077 mandir='${datarootdir}/man'
  1078 
  1079 ac_prev=
  1080 ac_dashdash=
  1081 for ac_option
  1082 do
  1083   # If the previous option needs an argument, assign it.
  1084   if test -n "$ac_prev"; then
  1085     eval $ac_prev=\$ac_option
  1086     ac_prev=
  1087     continue
  1088   fi
  1089 
  1090   case $ac_option in
  1091   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1092   *)	ac_optarg=yes ;;
  1093   esac
  1094 
  1095   # Accept the important Cygnus configure options, so we can diagnose typos.
  1096 
  1097   case $ac_dashdash$ac_option in
  1098   --)
  1099     ac_dashdash=yes ;;
  1100 
  1101   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1102     ac_prev=bindir ;;
  1103   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1104     bindir=$ac_optarg ;;
  1105 
  1106   -build | --build | --buil | --bui | --bu)
  1107     ac_prev=build_alias ;;
  1108   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1109     build_alias=$ac_optarg ;;
  1110 
  1111   -cache-file | --cache-file | --cache-fil | --cache-fi \
  1112   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1113     ac_prev=cache_file ;;
  1114   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1115   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1116     cache_file=$ac_optarg ;;
  1117 
  1118   --config-cache | -C)
  1119     cache_file=config.cache ;;
  1120 
  1121   -datadir | --datadir | --datadi | --datad)
  1122     ac_prev=datadir ;;
  1123   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1124     datadir=$ac_optarg ;;
  1125 
  1126   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1127   | --dataroo | --dataro | --datar)
  1128     ac_prev=datarootdir ;;
  1129   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1130   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1131     datarootdir=$ac_optarg ;;
  1132 
  1133   -disable-* | --disable-*)
  1134     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1135     # Reject names that are not valid shell variable names.
  1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1137       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1138    { (exit 1); exit 1; }; }
  1139     ac_useropt_orig=$ac_useropt
  1140     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1141     case $ac_user_opts in
  1142       *"
  1143 "enable_$ac_useropt"
  1144 "*) ;;
  1145       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1146 	 ac_unrecognized_sep=', ';;
  1147     esac
  1148     eval enable_$ac_useropt=no ;;
  1149 
  1150   -docdir | --docdir | --docdi | --doc | --do)
  1151     ac_prev=docdir ;;
  1152   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1153     docdir=$ac_optarg ;;
  1154 
  1155   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1156     ac_prev=dvidir ;;
  1157   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1158     dvidir=$ac_optarg ;;
  1159 
  1160   -enable-* | --enable-*)
  1161     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1162     # Reject names that are not valid shell variable names.
  1163     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1164       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1165    { (exit 1); exit 1; }; }
  1166     ac_useropt_orig=$ac_useropt
  1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1168     case $ac_user_opts in
  1169       *"
  1170 "enable_$ac_useropt"
  1171 "*) ;;
  1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1173 	 ac_unrecognized_sep=', ';;
  1174     esac
  1175     eval enable_$ac_useropt=\$ac_optarg ;;
  1176 
  1177   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1178   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1179   | --exec | --exe | --ex)
  1180     ac_prev=exec_prefix ;;
  1181   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1182   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1183   | --exec=* | --exe=* | --ex=*)
  1184     exec_prefix=$ac_optarg ;;
  1185 
  1186   -gas | --gas | --ga | --g)
  1187     # Obsolete; use --with-gas.
  1188     with_gas=yes ;;
  1189 
  1190   -help | --help | --hel | --he | -h)
  1191     ac_init_help=long ;;
  1192   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1193     ac_init_help=recursive ;;
  1194   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1195     ac_init_help=short ;;
  1196 
  1197   -host | --host | --hos | --ho)
  1198     ac_prev=host_alias ;;
  1199   -host=* | --host=* | --hos=* | --ho=*)
  1200     host_alias=$ac_optarg ;;
  1201 
  1202   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1203     ac_prev=htmldir ;;
  1204   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1205   | --ht=*)
  1206     htmldir=$ac_optarg ;;
  1207 
  1208   -includedir | --includedir | --includedi | --included | --include \
  1209   | --includ | --inclu | --incl | --inc)
  1210     ac_prev=includedir ;;
  1211   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1212   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1213     includedir=$ac_optarg ;;
  1214 
  1215   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1216     ac_prev=infodir ;;
  1217   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1218     infodir=$ac_optarg ;;
  1219 
  1220   -libdir | --libdir | --libdi | --libd)
  1221     ac_prev=libdir ;;
  1222   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1223     libdir=$ac_optarg ;;
  1224 
  1225   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1226   | --libexe | --libex | --libe)
  1227     ac_prev=libexecdir ;;
  1228   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1229   | --libexe=* | --libex=* | --libe=*)
  1230     libexecdir=$ac_optarg ;;
  1231 
  1232   -localedir | --localedir | --localedi | --localed | --locale)
  1233     ac_prev=localedir ;;
  1234   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1235     localedir=$ac_optarg ;;
  1236 
  1237   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1238   | --localstate | --localstat | --localsta | --localst | --locals)
  1239     ac_prev=localstatedir ;;
  1240   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1241   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1242     localstatedir=$ac_optarg ;;
  1243 
  1244   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1245     ac_prev=mandir ;;
  1246   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1247     mandir=$ac_optarg ;;
  1248 
  1249   -nfp | --nfp | --nf)
  1250     # Obsolete; use --without-fp.
  1251     with_fp=no ;;
  1252 
  1253   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1254   | --no-cr | --no-c | -n)
  1255     no_create=yes ;;
  1256 
  1257   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1258   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1259     no_recursion=yes ;;
  1260 
  1261   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1262   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1263   | --oldin | --oldi | --old | --ol | --o)
  1264     ac_prev=oldincludedir ;;
  1265   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1266   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1267   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1268     oldincludedir=$ac_optarg ;;
  1269 
  1270   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1271     ac_prev=prefix ;;
  1272   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1273     prefix=$ac_optarg ;;
  1274 
  1275   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1276   | --program-pre | --program-pr | --program-p)
  1277     ac_prev=program_prefix ;;
  1278   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1279   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1280     program_prefix=$ac_optarg ;;
  1281 
  1282   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1283   | --program-suf | --program-su | --program-s)
  1284     ac_prev=program_suffix ;;
  1285   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1286   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1287     program_suffix=$ac_optarg ;;
  1288 
  1289   -program-transform-name | --program-transform-name \
  1290   | --program-transform-nam | --program-transform-na \
  1291   | --program-transform-n | --program-transform- \
  1292   | --program-transform | --program-transfor \
  1293   | --program-transfo | --program-transf \
  1294   | --program-trans | --program-tran \
  1295   | --progr-tra | --program-tr | --program-t)
  1296     ac_prev=program_transform_name ;;
  1297   -program-transform-name=* | --program-transform-name=* \
  1298   | --program-transform-nam=* | --program-transform-na=* \
  1299   | --program-transform-n=* | --program-transform-=* \
  1300   | --program-transform=* | --program-transfor=* \
  1301   | --program-transfo=* | --program-transf=* \
  1302   | --program-trans=* | --program-tran=* \
  1303   | --progr-tra=* | --program-tr=* | --program-t=*)
  1304     program_transform_name=$ac_optarg ;;
  1305 
  1306   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1307     ac_prev=pdfdir ;;
  1308   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1309     pdfdir=$ac_optarg ;;
  1310 
  1311   -psdir | --psdir | --psdi | --psd | --ps)
  1312     ac_prev=psdir ;;
  1313   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1314     psdir=$ac_optarg ;;
  1315 
  1316   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1317   | -silent | --silent | --silen | --sile | --sil)
  1318     silent=yes ;;
  1319 
  1320   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1321     ac_prev=sbindir ;;
  1322   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1323   | --sbi=* | --sb=*)
  1324     sbindir=$ac_optarg ;;
  1325 
  1326   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1327   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1328   | --sharedst | --shareds | --shared | --share | --shar \
  1329   | --sha | --sh)
  1330     ac_prev=sharedstatedir ;;
  1331   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1332   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1333   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1334   | --sha=* | --sh=*)
  1335     sharedstatedir=$ac_optarg ;;
  1336 
  1337   -site | --site | --sit)
  1338     ac_prev=site ;;
  1339   -site=* | --site=* | --sit=*)
  1340     site=$ac_optarg ;;
  1341 
  1342   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1343     ac_prev=srcdir ;;
  1344   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1345     srcdir=$ac_optarg ;;
  1346 
  1347   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1348   | --syscon | --sysco | --sysc | --sys | --sy)
  1349     ac_prev=sysconfdir ;;
  1350   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1351   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1352     sysconfdir=$ac_optarg ;;
  1353 
  1354   -target | --target | --targe | --targ | --tar | --ta | --t)
  1355     ac_prev=target_alias ;;
  1356   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1357     target_alias=$ac_optarg ;;
  1358 
  1359   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1360     verbose=yes ;;
  1361 
  1362   -version | --version | --versio | --versi | --vers | -V)
  1363     ac_init_version=: ;;
  1364 
  1365   -with-* | --with-*)
  1366     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1367     # Reject names that are not valid shell variable names.
  1368     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1369       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1370    { (exit 1); exit 1; }; }
  1371     ac_useropt_orig=$ac_useropt
  1372     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1373     case $ac_user_opts in
  1374       *"
  1375 "with_$ac_useropt"
  1376 "*) ;;
  1377       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1378 	 ac_unrecognized_sep=', ';;
  1379     esac
  1380     eval with_$ac_useropt=\$ac_optarg ;;
  1381 
  1382   -without-* | --without-*)
  1383     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1384     # Reject names that are not valid shell variable names.
  1385     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1386       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1387    { (exit 1); exit 1; }; }
  1388     ac_useropt_orig=$ac_useropt
  1389     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1390     case $ac_user_opts in
  1391       *"
  1392 "with_$ac_useropt"
  1393 "*) ;;
  1394       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1395 	 ac_unrecognized_sep=', ';;
  1396     esac
  1397     eval with_$ac_useropt=no ;;
  1398 
  1399   --x)
  1400     # Obsolete; use --with-x.
  1401     with_x=yes ;;
  1402 
  1403   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1404   | --x-incl | --x-inc | --x-in | --x-i)
  1405     ac_prev=x_includes ;;
  1406   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1407   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1408     x_includes=$ac_optarg ;;
  1409 
  1410   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1411   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1412     ac_prev=x_libraries ;;
  1413   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1414   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1415     x_libraries=$ac_optarg ;;
  1416 
  1417   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1418 Try \`$0 --help' for more information." >&2
  1419    { (exit 1); exit 1; }; }
  1420     ;;
  1421 
  1422   *=*)
  1423     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1424     # Reject names that are not valid shell variable names.
  1425     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1426       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1427    { (exit 1); exit 1; }; }
  1428     eval $ac_envvar=\$ac_optarg
  1429     export $ac_envvar ;;
  1430 
  1431   *)
  1432     # FIXME: should be removed in autoconf 3.0.
  1433     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1434     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1435       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1436     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1437     ;;
  1438 
  1439   esac
  1440 done
  1441 
  1442 if test -n "$ac_prev"; then
  1443   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1444   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1445    { (exit 1); exit 1; }; }
  1446 fi
  1447 
  1448 if test -n "$ac_unrecognized_opts"; then
  1449   case $enable_option_checking in
  1450     no) ;;
  1451     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
  1452    { (exit 1); exit 1; }; } ;;
  1453     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1454   esac
  1455 fi
  1456 
  1457 # Check all directory arguments for consistency.
  1458 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1459 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1460 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1461 		libdir localedir mandir
  1462 do
  1463   eval ac_val=\$$ac_var
  1464   # Remove trailing slashes.
  1465   case $ac_val in
  1466     */ )
  1467       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1468       eval $ac_var=\$ac_val;;
  1469   esac
  1470   # Be sure to have absolute directory names.
  1471   case $ac_val in
  1472     [\\/$]* | ?:[\\/]* )  continue;;
  1473     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1474   esac
  1475   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1476    { (exit 1); exit 1; }; }
  1477 done
  1478 
  1479 # There might be people who depend on the old broken behavior: `$host'
  1480 # used to hold the argument of --host etc.
  1481 # FIXME: To remove some day.
  1482 build=$build_alias
  1483 host=$host_alias
  1484 target=$target_alias
  1485 
  1486 # FIXME: To remove some day.
  1487 if test "x$host_alias" != x; then
  1488   if test "x$build_alias" = x; then
  1489     cross_compiling=maybe
  1490     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1491     If a cross compiler is detected then cross compile mode will be used." >&2
  1492   elif test "x$build_alias" != "x$host_alias"; then
  1493     cross_compiling=yes
  1494   fi
  1495 fi
  1496 
  1497 ac_tool_prefix=
  1498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1499 
  1500 test "$silent" = yes && exec 6>/dev/null
  1501 
  1502 
  1503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1504 ac_ls_di=`ls -di .` &&
  1505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1506   { $as_echo "$as_me: error: working directory cannot be determined" >&2
  1507    { (exit 1); exit 1; }; }
  1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1509   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1510    { (exit 1); exit 1; }; }
  1511 
  1512 
  1513 # Find the source files, if location was not specified.
  1514 if test -z "$srcdir"; then
  1515   ac_srcdir_defaulted=yes
  1516   # Try the directory containing this script, then the parent directory.
  1517   ac_confdir=`$as_dirname -- "$as_myself" ||
  1518 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1519 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1520 	 X"$as_myself" : 'X\(//\)$' \| \
  1521 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1522 $as_echo X"$as_myself" |
  1523     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1524 	    s//\1/
  1525 	    q
  1526 	  }
  1527 	  /^X\(\/\/\)[^/].*/{
  1528 	    s//\1/
  1529 	    q
  1530 	  }
  1531 	  /^X\(\/\/\)$/{
  1532 	    s//\1/
  1533 	    q
  1534 	  }
  1535 	  /^X\(\/\).*/{
  1536 	    s//\1/
  1537 	    q
  1538 	  }
  1539 	  s/.*/./; q'`
  1540   srcdir=$ac_confdir
  1541   if test ! -r "$srcdir/$ac_unique_file"; then
  1542     srcdir=..
  1543   fi
  1544 else
  1545   ac_srcdir_defaulted=no
  1546 fi
  1547 if test ! -r "$srcdir/$ac_unique_file"; then
  1548   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1549   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1550    { (exit 1); exit 1; }; }
  1551 fi
  1552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1553 ac_abs_confdir=`(
  1554 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1555    { (exit 1); exit 1; }; }
  1556 	pwd)`
  1557 # When building in place, set srcdir=.
  1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1559   srcdir=.
  1560 fi
  1561 # Remove unnecessary trailing slashes from srcdir.
  1562 # Double slashes in file names in object file debugging info
  1563 # mess up M-x gdb in Emacs.
  1564 case $srcdir in
  1565 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1566 esac
  1567 for ac_var in $ac_precious_vars; do
  1568   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1569   eval ac_env_${ac_var}_value=\$${ac_var}
  1570   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1571   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1572 done
  1573 
  1574 #
  1575 # Report the --help message.
  1576 #
  1577 if test "$ac_init_help" = "long"; then
  1578   # Omit some internal or obsolete options to make the list less imposing.
  1579   # This message is too long to be a string in the A/UX 3.1 sh.
  1580   cat <<_ACEOF
  1581 \`configure' configures this package to adapt to many kinds of systems.
  1582 
  1583 Usage: $0 [OPTION]... [VAR=VALUE]...
  1584 
  1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1586 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1587 
  1588 Defaults for the options are specified in brackets.
  1589 
  1590 Configuration:
  1591   -h, --help              display this help and exit
  1592       --help=short        display options specific to this package
  1593       --help=recursive    display the short help of all the included packages
  1594   -V, --version           display version information and exit
  1595   -q, --quiet, --silent   do not print \`checking...' messages
  1596       --cache-file=FILE   cache test results in FILE [disabled]
  1597   -C, --config-cache      alias for \`--cache-file=config.cache'
  1598   -n, --no-create         do not create output files
  1599       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1600 
  1601 Installation directories:
  1602   --prefix=PREFIX         install architecture-independent files in PREFIX
  1603                           [$ac_default_prefix]
  1604   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1605                           [PREFIX]
  1606 
  1607 By default, \`make install' will install all the files in
  1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1610 for instance \`--prefix=\$HOME'.
  1611 
  1612 For better control, use the options below.
  1613 
  1614 Fine tuning of the installation directories:
  1615   --bindir=DIR            user executables [EPREFIX/bin]
  1616   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1617   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1618   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1619   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1620   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1621   --libdir=DIR            object code libraries [EPREFIX/lib]
  1622   --includedir=DIR        C header files [PREFIX/include]
  1623   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1624   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1625   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1626   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1627   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1628   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1629   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1630   --htmldir=DIR           html documentation [DOCDIR]
  1631   --dvidir=DIR            dvi documentation [DOCDIR]
  1632   --pdfdir=DIR            pdf documentation [DOCDIR]
  1633   --psdir=DIR             ps documentation [DOCDIR]
  1634 _ACEOF
  1635 
  1636   cat <<\_ACEOF
  1637 
  1638 X features:
  1639   --x-includes=DIR    X include files are in DIR
  1640   --x-libraries=DIR   X library files are in DIR
  1641 
  1642 System types:
  1643   --build=BUILD     configure for building on BUILD [guessed]
  1644   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1645 _ACEOF
  1646 fi
  1647 
  1648 if test -n "$ac_init_help"; then
  1649 
  1650   cat <<\_ACEOF
  1651 
  1652 Optional Features:
  1653   --disable-option-checking  ignore unrecognized --enable/--with options
  1654   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1655   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1656   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1657   --enable-static[=PKGS]  build static libraries [default=yes]
  1658   --enable-fast-install[=PKGS]
  1659                           optimize for fast installation [default=yes]
  1660   --disable-libtool-lock  avoid locking (might break parallel builds)
  1661   --enable-libc           Use the system C library [default=yes]
  1662   --enable-audio          Enable the audio subsystem [default=yes]
  1663   --enable-video          Enable the video subsystem [default=yes]
  1664   --enable-events         Enable the events subsystem [default=yes]
  1665   --enable-joystick       Enable the joystick subsystem [default=yes]
  1666   --enable-cdrom          Enable the cdrom subsystem [default=yes]
  1667   --enable-threads        Enable the threading subsystem [default=yes]
  1668   --enable-timers         Enable the timer subsystem [default=yes]
  1669   --enable-file           Enable the file subsystem [default=yes]
  1670   --enable-loadso         Enable the shared object loading subsystem
  1671                           [default=yes]
  1672   --enable-cpuinfo        Enable the cpuinfo subsystem [default=yes]
  1673   --enable-assembly       Enable assembly routines [default=yes]
  1674   --enable-oss            support the OSS audio API [default=yes]
  1675   --enable-alsa           support the ALSA audio API [default=yes]
  1676   --disable-alsatest      Do not try to compile and run a test Alsa program
  1677   --enable-alsa-shared    dynamically load ALSA audio support [default=yes]
  1678   --enable-esd            support the Enlightened Sound Daemon [default=yes]
  1679   --disable-esdtest       Do not try to compile and run a test ESD program
  1680   --enable-esd-shared     dynamically load ESD audio support [default=yes]
  1681   --enable-sndio          support the sndio audio API [default=yes]
  1682   --enable-pulseaudio     use PulseAudio [default=yes]
  1683   --enable-pulseaudio-shared
  1684                           dynamically load PulseAudio support [default=yes]
  1685   --enable-arts           support the Analog Real Time Synthesizer
  1686                           [default=yes]
  1687   --enable-arts-shared    dynamically load aRts audio support [default=yes]
  1688   --enable-nas            support the NAS audio API [default=yes]
  1689   --enable-nas-shared     dynamically load NAS audio support [default=yes]
  1690   --enable-diskaudio      support the disk writer audio driver [default=yes]
  1691   --enable-dummyaudio     support the dummy audio driver [default=yes]
  1692   --enable-mintaudio      support Atari audio driver [default=yes]
  1693   --enable-nasm           use nasm assembly blitters on x86 [default=yes]
  1694   --enable-altivec        use altivec assembly blitters on PPC [default=yes]
  1695   --enable-ipod           configure SDL to work with iPodLinux [default=no]
  1696   --enable-video-nanox    use nanox video driver [default=no]
  1697   --enable-nanox-debug    print debug messages [default=no]
  1698   --enable-nanox-share-memory
  1699                           use share memory [default=no]
  1700   --enable-nanox-direct-fb
  1701                           use direct framebuffer access [default=no]
  1702   --enable-video-x11      use X11 video driver [default=yes]
  1703   --enable-x11-shared     dynamically load X11 support [default=maybe]
  1704   --enable-dga            allow use of X11 DGA code [default=yes]
  1705   --enable-video-dga      use DGA 2.0 video driver [default=yes]
  1706   --enable-video-x11-dgamouse
  1707                           use X11 DGA for mouse events [default=yes]
  1708   --enable-video-x11-vm   use X11 VM extension for fullscreen [default=yes]
  1709   --enable-video-x11-xv   use X11 XvImage extension for video [default=yes]
  1710   --enable-video-x11-xinerama
  1711                           enable X11 Xinerama support [default=yes]
  1712   --enable-video-x11-xme  enable Xi Graphics XME for fullscreen
  1713                           [default=yes]
  1714   --enable-video-x11-xrandr
  1715                           enable X11 Xrandr extension for fullscreen
  1716                           [default=yes]
  1717   --enable-video-photon   use QNX Photon video driver [default=yes]
  1718   --enable-video-carbon   use Carbon/QuickDraw video driver [default=no]
  1719   --enable-video-cocoa    use Cocoa/Quartz video driver [default=yes]
  1720   --enable-video-fbcon    use framebuffer console video driver [default=yes]
  1721   --enable-video-directfb use DirectFB video driver [default=yes]
  1722   --enable-video-ps2gs    use PlayStation 2 GS video driver [default=yes]
  1723   --enable-video-ps3      use PlayStation 3 Cell driver [default=yes]
  1724   --enable-video-ggi      use GGI video driver [default=no]
  1725   --enable-video-svga     use SVGAlib video driver [default=yes]
  1726   --enable-video-vgl      use VGL video driver [default=yes]
  1727   --enable-video-wscons   use wscons video driver [default=yes]
  1728   --enable-video-aalib    use AAlib video driver [default=no]
  1729   --enable-video-caca     use libcaca video driver [default=no]
  1730   --enable-video-qtopia   use Qtopia video driver [default=no]
  1731   --enable-video-picogui  use PicoGUI video driver [default=no]
  1732   --enable-video-xbios    use Atari Xbios video driver [default=yes]
  1733   --enable-video-gem      use Atari Gem video driver [default=yes]
  1734   --enable-video-dummy    use dummy video driver [default=yes]
  1735   --enable-video-opengl   include OpenGL context creation [default=yes]
  1736   --enable-osmesa-shared  dynamically load OSMesa OpenGL support
  1737                           [default=yes]
  1738   --enable-screensaver    enable screensaver by default while any SDL
  1739                           application is running [default=no]
  1740   --enable-input-events   use Linux 2.4 unified input interface
  1741                           [default=yes]
  1742   --enable-input-tslib    use the Touchscreen library for input
  1743                           [default=yes]
  1744   --enable-pth            use GNU pth library for multi-threading
  1745                           [default=yes]
  1746   --enable-pthreads       use POSIX threads for multi-threading
  1747                           [default=yes]
  1748   --enable-pthread-sem    use pthread semaphores [default=yes]
  1749   --enable-stdio-redirect Redirect STDIO to files on Win32 [default=yes]
  1750   --enable-directx        use DirectX for Win32 audio/video [default=yes]
  1751   --enable-sdl-dlopen     use dlopen for shared object loading [default=yes]
  1752   --enable-atari-ldg      use Atari LDG for shared object loading
  1753                           [default=yes]
  1754   --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
  1755                           UNIX [default=no]
  1756   --enable-rpath          use an rpath when linking SDL [default=yes]
  1757 
  1758 Optional Packages:
  1759   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1760   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1761   --with-pic              try to use only PIC/non-PIC objects [default=use
  1762                           both]
  1763   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1764   --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
  1765   --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
  1766   --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
  1767   --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
  1768   --with-x                use the X Window System
  1769 
  1770 Some influential environment variables:
  1771   CC          C compiler command
  1772   CFLAGS      C compiler flags
  1773   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1774               nonstandard directory <lib dir>
  1775   LIBS        libraries to pass to the linker, e.g. -l<library>
  1776   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1777               you have headers in a nonstandard directory <include dir>
  1778   CPP         C preprocessor
  1779   CXX         C++ compiler command
  1780   CXXFLAGS    C++ compiler flags
  1781   CXXCPP      C++ preprocessor
  1782   XMKMF       Path to xmkmf, Makefile generator for X Window System
  1783 
  1784 Use these variables to override the choices made by `configure' or to help
  1785 it to find libraries and programs with nonstandard names/locations.
  1786 
  1787 _ACEOF
  1788 ac_status=$?
  1789 fi
  1790 
  1791 if test "$ac_init_help" = "recursive"; then
  1792   # If there are subdirs, report their specific --help.
  1793   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1794     test -d "$ac_dir" ||
  1795       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1796       continue
  1797     ac_builddir=.
  1798 
  1799 case "$ac_dir" in
  1800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1801 *)
  1802   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1803   # A ".." for each directory in $ac_dir_suffix.
  1804   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1805   case $ac_top_builddir_sub in
  1806   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1807   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1808   esac ;;
  1809 esac
  1810 ac_abs_top_builddir=$ac_pwd
  1811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1812 # for backward compatibility:
  1813 ac_top_builddir=$ac_top_build_prefix
  1814 
  1815 case $srcdir in
  1816   .)  # We are building in place.
  1817     ac_srcdir=.
  1818     ac_top_srcdir=$ac_top_builddir_sub
  1819     ac_abs_top_srcdir=$ac_pwd ;;
  1820   [\\/]* | ?:[\\/]* )  # Absolute name.
  1821     ac_srcdir=$srcdir$ac_dir_suffix;
  1822     ac_top_srcdir=$srcdir
  1823     ac_abs_top_srcdir=$srcdir ;;
  1824   *) # Relative name.
  1825     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1826     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1827     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1828 esac
  1829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1830 
  1831     cd "$ac_dir" || { ac_status=$?; continue; }
  1832     # Check for guested configure.
  1833     if test -f "$ac_srcdir/configure.gnu"; then
  1834       echo &&
  1835       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1836     elif test -f "$ac_srcdir/configure"; then
  1837       echo &&
  1838       $SHELL "$ac_srcdir/configure" --help=recursive
  1839     else
  1840       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1841     fi || ac_status=$?
  1842     cd "$ac_pwd" || { ac_status=$?; break; }
  1843   done
  1844 fi
  1845 
  1846 test -n "$ac_init_help" && exit $ac_status
  1847 if $ac_init_version; then
  1848   cat <<\_ACEOF
  1849 configure
  1850 generated by GNU Autoconf 2.63
  1851 
  1852 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1853 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1854 This configure script is free software; the Free Software Foundation
  1855 gives unlimited permission to copy, distribute and modify it.
  1856 _ACEOF
  1857   exit
  1858 fi
  1859 cat >config.log <<_ACEOF
  1860 This file contains any messages produced by compilers while
  1861 running configure, to aid debugging if configure makes a mistake.
  1862 
  1863 It was created by $as_me, which was
  1864 generated by GNU Autoconf 2.63.  Invocation command line was
  1865 
  1866   $ $0 $@
  1867 
  1868 _ACEOF
  1869 exec 5>>config.log
  1870 {
  1871 cat <<_ASUNAME
  1872 ## --------- ##
  1873 ## Platform. ##
  1874 ## --------- ##
  1875 
  1876 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1877 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1878 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1879 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1880 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1881 
  1882 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1883 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1884 
  1885 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1886 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1887 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1888 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1889 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1890 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1891 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1892 
  1893 _ASUNAME
  1894 
  1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1896 for as_dir in $PATH
  1897 do
  1898   IFS=$as_save_IFS
  1899   test -z "$as_dir" && as_dir=.
  1900   $as_echo "PATH: $as_dir"
  1901 done
  1902 IFS=$as_save_IFS
  1903 
  1904 } >&5
  1905 
  1906 cat >&5 <<_ACEOF
  1907 
  1908 
  1909 ## ----------- ##
  1910 ## Core tests. ##
  1911 ## ----------- ##
  1912 
  1913 _ACEOF
  1914 
  1915 
  1916 # Keep a trace of the command line.
  1917 # Strip out --no-create and --no-recursion so they do not pile up.
  1918 # Strip out --silent because we don't want to record it for future runs.
  1919 # Also quote any args containing shell meta-characters.
  1920 # Make two passes to allow for proper duplicate-argument suppression.
  1921 ac_configure_args=
  1922 ac_configure_args0=
  1923 ac_configure_args1=
  1924 ac_must_keep_next=false
  1925 for ac_pass in 1 2
  1926 do
  1927   for ac_arg
  1928   do
  1929     case $ac_arg in
  1930     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1931     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1932     | -silent | --silent | --silen | --sile | --sil)
  1933       continue ;;
  1934     *\'*)
  1935       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1936     esac
  1937     case $ac_pass in
  1938     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1939     2)
  1940       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1941       if test $ac_must_keep_next = true; then
  1942 	ac_must_keep_next=false # Got value, back to normal.
  1943       else
  1944 	case $ac_arg in
  1945 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1946 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1947 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1948 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1949 	    case "$ac_configure_args0 " in
  1950 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1951 	    esac
  1952 	    ;;
  1953 	  -* ) ac_must_keep_next=true ;;
  1954 	esac
  1955       fi
  1956       ac_configure_args="$ac_configure_args '$ac_arg'"
  1957       ;;
  1958     esac
  1959   done
  1960 done
  1961 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1962 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1963 
  1964 # When interrupted or exit'd, cleanup temporary files, and complete
  1965 # config.log.  We remove comments because anyway the quotes in there
  1966 # would cause problems or look ugly.
  1967 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1968 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1969 trap 'exit_status=$?
  1970   # Save into config.log some information that might help in debugging.
  1971   {
  1972     echo
  1973 
  1974     cat <<\_ASBOX
  1975 ## ---------------- ##
  1976 ## Cache variables. ##
  1977 ## ---------------- ##
  1978 _ASBOX
  1979     echo
  1980     # The following way of writing the cache mishandles newlines in values,
  1981 (
  1982   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1983     eval ac_val=\$$ac_var
  1984     case $ac_val in #(
  1985     *${as_nl}*)
  1986       case $ac_var in #(
  1987       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  1988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1989       esac
  1990       case $ac_var in #(
  1991       _ | IFS | as_nl) ;; #(
  1992       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1993       *) $as_unset $ac_var ;;
  1994       esac ;;
  1995     esac
  1996   done
  1997   (set) 2>&1 |
  1998     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1999     *${as_nl}ac_space=\ *)
  2000       sed -n \
  2001 	"s/'\''/'\''\\\\'\'''\''/g;
  2002 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2003       ;; #(
  2004     *)
  2005       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2006       ;;
  2007     esac |
  2008     sort
  2009 )
  2010     echo
  2011 
  2012     cat <<\_ASBOX
  2013 ## ----------------- ##
  2014 ## Output variables. ##
  2015 ## ----------------- ##
  2016 _ASBOX
  2017     echo
  2018     for ac_var in $ac_subst_vars
  2019     do
  2020       eval ac_val=\$$ac_var
  2021       case $ac_val in
  2022       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2023       esac
  2024       $as_echo "$ac_var='\''$ac_val'\''"
  2025     done | sort
  2026     echo
  2027 
  2028     if test -n "$ac_subst_files"; then
  2029       cat <<\_ASBOX
  2030 ## ------------------- ##
  2031 ## File substitutions. ##
  2032 ## ------------------- ##
  2033 _ASBOX
  2034       echo
  2035       for ac_var in $ac_subst_files
  2036       do
  2037 	eval ac_val=\$$ac_var
  2038 	case $ac_val in
  2039 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2040 	esac
  2041 	$as_echo "$ac_var='\''$ac_val'\''"
  2042       done | sort
  2043       echo
  2044     fi
  2045 
  2046     if test -s confdefs.h; then
  2047       cat <<\_ASBOX
  2048 ## ----------- ##
  2049 ## confdefs.h. ##
  2050 ## ----------- ##
  2051 _ASBOX
  2052       echo
  2053       cat confdefs.h
  2054       echo
  2055     fi
  2056     test "$ac_signal" != 0 &&
  2057       $as_echo "$as_me: caught signal $ac_signal"
  2058     $as_echo "$as_me: exit $exit_status"
  2059   } >&5
  2060   rm -f core *.core core.conftest.* &&
  2061     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2062     exit $exit_status
  2063 ' 0
  2064 for ac_signal in 1 2 13 15; do
  2065   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  2066 done
  2067 ac_signal=0
  2068 
  2069 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2070 rm -f -r conftest* confdefs.h
  2071 
  2072 # Predefined preprocessor variables.
  2073 
  2074 cat >>confdefs.h <<_ACEOF
  2075 #define PACKAGE_NAME "$PACKAGE_NAME"
  2076 _ACEOF
  2077 
  2078 
  2079 cat >>confdefs.h <<_ACEOF
  2080 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2081 _ACEOF
  2082 
  2083 
  2084 cat >>confdefs.h <<_ACEOF
  2085 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2086 _ACEOF
  2087 
  2088 
  2089 cat >>confdefs.h <<_ACEOF
  2090 #define PACKAGE_STRING "$PACKAGE_STRING"
  2091 _ACEOF
  2092 
  2093 
  2094 cat >>confdefs.h <<_ACEOF
  2095 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2096 _ACEOF
  2097 
  2098 
  2099 # Let the site file select an alternate cache file if it wants to.
  2100 # Prefer an explicitly selected file to automatically selected ones.
  2101 ac_site_file1=NONE
  2102 ac_site_file2=NONE
  2103 if test -n "$CONFIG_SITE"; then
  2104   ac_site_file1=$CONFIG_SITE
  2105 elif test "x$prefix" != xNONE; then
  2106   ac_site_file1=$prefix/share/config.site
  2107   ac_site_file2=$prefix/etc/config.site
  2108 else
  2109   ac_site_file1=$ac_default_prefix/share/config.site
  2110   ac_site_file2=$ac_default_prefix/etc/config.site
  2111 fi
  2112 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2113 do
  2114   test "x$ac_site_file" = xNONE && continue
  2115   if test -r "$ac_site_file"; then
  2116     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  2117 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2118     sed 's/^/| /' "$ac_site_file" >&5
  2119     . "$ac_site_file"
  2120   fi
  2121 done
  2122 
  2123 if test -r "$cache_file"; then
  2124   # Some versions of bash will fail to source /dev/null (special
  2125   # files actually), so we avoid doing that.
  2126   if test -f "$cache_file"; then
  2127     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  2128 $as_echo "$as_me: loading cache $cache_file" >&6;}
  2129     case $cache_file in
  2130       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2131       *)                      . "./$cache_file";;
  2132     esac
  2133   fi
  2134 else
  2135   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  2136 $as_echo "$as_me: creating cache $cache_file" >&6;}
  2137   >$cache_file
  2138 fi
  2139 
  2140 # Check that the precious variables saved in the cache have kept the same
  2141 # value.
  2142 ac_cache_corrupted=false
  2143 for ac_var in $ac_precious_vars; do
  2144   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2145   eval ac_new_set=\$ac_env_${ac_var}_set
  2146   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2147   eval ac_new_val=\$ac_env_${ac_var}_value
  2148   case $ac_old_set,$ac_new_set in
  2149     set,)
  2150       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2152       ac_cache_corrupted=: ;;
  2153     ,set)
  2154       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  2155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2156       ac_cache_corrupted=: ;;
  2157     ,);;
  2158     *)
  2159       if test "x$ac_old_val" != "x$ac_new_val"; then
  2160 	# differences in whitespace do not lead to failure.
  2161 	ac_old_val_w=`echo x $ac_old_val`
  2162 	ac_new_val_w=`echo x $ac_new_val`
  2163 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2164 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  2165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2166 	  ac_cache_corrupted=:
  2167 	else
  2168 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2170 	  eval $ac_var=\$ac_old_val
  2171 	fi
  2172 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  2173 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2174 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  2175 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2176       fi;;
  2177   esac
  2178   # Pass precious variables to config.status.
  2179   if test "$ac_new_set" = set; then
  2180     case $ac_new_val in
  2181     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2182     *) ac_arg=$ac_var=$ac_new_val ;;
  2183     esac
  2184     case " $ac_configure_args " in
  2185       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2186       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  2187     esac
  2188   fi
  2189 done
  2190 if $ac_cache_corrupted; then
  2191   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2193   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  2194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2195   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  2196 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  2197    { (exit 1); exit 1; }; }
  2198 fi
  2199 
  2200 
  2201 
  2202 
  2203 
  2204 
  2205 
  2206 
  2207 
  2208 
  2209 
  2210 
  2211 
  2212 
  2213 
  2214 
  2215 
  2216 ac_ext=c
  2217 ac_cpp='$CPP $CPPFLAGS'
  2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2221 
  2222 
  2223 ac_config_headers="$ac_config_headers include/SDL_config.h"
  2224 
  2225 ac_ext=c
  2226 ac_cpp='$CPP $CPPFLAGS'
  2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2230 if test -n "$ac_tool_prefix"; then
  2231   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2232 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2233 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2234 $as_echo_n "checking for $ac_word... " >&6; }
  2235 if test "${ac_cv_prog_CC+set}" = set; then
  2236   $as_echo_n "(cached) " >&6
  2237 else
  2238   if test -n "$CC"; then
  2239   ac_cv_prog_CC="$CC" # Let the user override the test.
  2240 else
  2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2242 for as_dir in $PATH
  2243 do
  2244   IFS=$as_save_IFS
  2245   test -z "$as_dir" && as_dir=.
  2246   for ac_exec_ext in '' $ac_executable_extensions; do
  2247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2248     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2249     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2250     break 2
  2251   fi
  2252 done
  2253 done
  2254 IFS=$as_save_IFS
  2255 
  2256 fi
  2257 fi
  2258 CC=$ac_cv_prog_CC
  2259 if test -n "$CC"; then
  2260   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2261 $as_echo "$CC" >&6; }
  2262 else
  2263   { $as_echo "$as_me:$LINENO: result: no" >&5
  2264 $as_echo "no" >&6; }
  2265 fi
  2266 
  2267 
  2268 fi
  2269 if test -z "$ac_cv_prog_CC"; then
  2270   ac_ct_CC=$CC
  2271   # Extract the first word of "gcc", so it can be a program name with args.
  2272 set dummy gcc; ac_word=$2
  2273 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2274 $as_echo_n "checking for $ac_word... " >&6; }
  2275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2276   $as_echo_n "(cached) " >&6
  2277 else
  2278   if test -n "$ac_ct_CC"; then
  2279   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2280 else
  2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2282 for as_dir in $PATH
  2283 do
  2284   IFS=$as_save_IFS
  2285   test -z "$as_dir" && as_dir=.
  2286   for ac_exec_ext in '' $ac_executable_extensions; do
  2287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2288     ac_cv_prog_ac_ct_CC="gcc"
  2289     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2290     break 2
  2291   fi
  2292 done
  2293 done
  2294 IFS=$as_save_IFS
  2295 
  2296 fi
  2297 fi
  2298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2299 if test -n "$ac_ct_CC"; then
  2300   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2301 $as_echo "$ac_ct_CC" >&6; }
  2302 else
  2303   { $as_echo "$as_me:$LINENO: result: no" >&5
  2304 $as_echo "no" >&6; }
  2305 fi
  2306 
  2307   if test "x$ac_ct_CC" = x; then
  2308     CC=""
  2309   else
  2310     case $cross_compiling:$ac_tool_warned in
  2311 yes:)
  2312 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2314 ac_tool_warned=yes ;;
  2315 esac
  2316     CC=$ac_ct_CC
  2317   fi
  2318 else
  2319   CC="$ac_cv_prog_CC"
  2320 fi
  2321 
  2322 if test -z "$CC"; then
  2323           if test -n "$ac_tool_prefix"; then
  2324     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2325 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2326 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2327 $as_echo_n "checking for $ac_word... " >&6; }
  2328 if test "${ac_cv_prog_CC+set}" = set; then
  2329   $as_echo_n "(cached) " >&6
  2330 else
  2331   if test -n "$CC"; then
  2332   ac_cv_prog_CC="$CC" # Let the user override the test.
  2333 else
  2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2335 for as_dir in $PATH
  2336 do
  2337   IFS=$as_save_IFS
  2338   test -z "$as_dir" && as_dir=.
  2339   for ac_exec_ext in '' $ac_executable_extensions; do
  2340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2341     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2342     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2343     break 2
  2344   fi
  2345 done
  2346 done
  2347 IFS=$as_save_IFS
  2348 
  2349 fi
  2350 fi
  2351 CC=$ac_cv_prog_CC
  2352 if test -n "$CC"; then
  2353   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2354 $as_echo "$CC" >&6; }
  2355 else
  2356   { $as_echo "$as_me:$LINENO: result: no" >&5
  2357 $as_echo "no" >&6; }
  2358 fi
  2359 
  2360 
  2361   fi
  2362 fi
  2363 if test -z "$CC"; then
  2364   # Extract the first word of "cc", so it can be a program name with args.
  2365 set dummy cc; ac_word=$2
  2366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2367 $as_echo_n "checking for $ac_word... " >&6; }
  2368 if test "${ac_cv_prog_CC+set}" = set; then
  2369   $as_echo_n "(cached) " >&6
  2370 else
  2371   if test -n "$CC"; then
  2372   ac_cv_prog_CC="$CC" # Let the user override the test.
  2373 else
  2374   ac_prog_rejected=no
  2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2376 for as_dir in $PATH
  2377 do
  2378   IFS=$as_save_IFS
  2379   test -z "$as_dir" && as_dir=.
  2380   for ac_exec_ext in '' $ac_executable_extensions; do
  2381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2382     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2383        ac_prog_rejected=yes
  2384        continue
  2385      fi
  2386     ac_cv_prog_CC="cc"
  2387     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2388     break 2
  2389   fi
  2390 done
  2391 done
  2392 IFS=$as_save_IFS
  2393 
  2394 if test $ac_prog_rejected = yes; then
  2395   # We found a bogon in the path, so make sure we never use it.
  2396   set dummy $ac_cv_prog_CC
  2397   shift
  2398   if test $# != 0; then
  2399     # We chose a different compiler from the bogus one.
  2400     # However, it has the same basename, so the bogon will be chosen
  2401     # first if we set CC to just the basename; use the full file name.
  2402     shift
  2403     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2404   fi
  2405 fi
  2406 fi
  2407 fi
  2408 CC=$ac_cv_prog_CC
  2409 if test -n "$CC"; then
  2410   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2411 $as_echo "$CC" >&6; }
  2412 else
  2413   { $as_echo "$as_me:$LINENO: result: no" >&5
  2414 $as_echo "no" >&6; }
  2415 fi
  2416 
  2417 
  2418 fi
  2419 if test -z "$CC"; then
  2420   if test -n "$ac_tool_prefix"; then
  2421   for ac_prog in cl.exe
  2422   do
  2423     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2426 $as_echo_n "checking for $ac_word... " >&6; }
  2427 if test "${ac_cv_prog_CC+set}" = set; then
  2428   $as_echo_n "(cached) " >&6
  2429 else
  2430   if test -n "$CC"; then
  2431   ac_cv_prog_CC="$CC" # Let the user override the test.
  2432 else
  2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2434 for as_dir in $PATH
  2435 do
  2436   IFS=$as_save_IFS
  2437   test -z "$as_dir" && as_dir=.
  2438   for ac_exec_ext in '' $ac_executable_extensions; do
  2439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2440     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2441     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2442     break 2
  2443   fi
  2444 done
  2445 done
  2446 IFS=$as_save_IFS
  2447 
  2448 fi
  2449 fi
  2450 CC=$ac_cv_prog_CC
  2451 if test -n "$CC"; then
  2452   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2453 $as_echo "$CC" >&6; }
  2454 else
  2455   { $as_echo "$as_me:$LINENO: result: no" >&5
  2456 $as_echo "no" >&6; }
  2457 fi
  2458 
  2459 
  2460     test -n "$CC" && break
  2461   done
  2462 fi
  2463 if test -z "$CC"; then
  2464   ac_ct_CC=$CC
  2465   for ac_prog in cl.exe
  2466 do
  2467   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2468 set dummy $ac_prog; ac_word=$2
  2469 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2470 $as_echo_n "checking for $ac_word... " >&6; }
  2471 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2472   $as_echo_n "(cached) " >&6
  2473 else
  2474   if test -n "$ac_ct_CC"; then
  2475   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2476 else
  2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2478 for as_dir in $PATH
  2479 do
  2480   IFS=$as_save_IFS
  2481   test -z "$as_dir" && as_dir=.
  2482   for ac_exec_ext in '' $ac_executable_extensions; do
  2483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2484     ac_cv_prog_ac_ct_CC="$ac_prog"
  2485     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2486     break 2
  2487   fi
  2488 done
  2489 done
  2490 IFS=$as_save_IFS
  2491 
  2492 fi
  2493 fi
  2494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2495 if test -n "$ac_ct_CC"; then
  2496   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2497 $as_echo "$ac_ct_CC" >&6; }
  2498 else
  2499   { $as_echo "$as_me:$LINENO: result: no" >&5
  2500 $as_echo "no" >&6; }
  2501 fi
  2502 
  2503 
  2504   test -n "$ac_ct_CC" && break
  2505 done
  2506 
  2507   if test "x$ac_ct_CC" = x; then
  2508     CC=""
  2509   else
  2510     case $cross_compiling:$ac_tool_warned in
  2511 yes:)
  2512 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2514 ac_tool_warned=yes ;;
  2515 esac
  2516     CC=$ac_ct_CC
  2517   fi
  2518 fi
  2519 
  2520 fi
  2521 
  2522 
  2523 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2525 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2526 See \`config.log' for more details." >&5
  2527 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2528 See \`config.log' for more details." >&2;}
  2529    { (exit 1); exit 1; }; }; }
  2530 
  2531 # Provide some information about the compiler.
  2532 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2533 set X $ac_compile
  2534 ac_compiler=$2
  2535 { (ac_try="$ac_compiler --version >&5"
  2536 case "(($ac_try" in
  2537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2538   *) ac_try_echo=$ac_try;;
  2539 esac
  2540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2541 $as_echo "$ac_try_echo") >&5
  2542   (eval "$ac_compiler --version >&5") 2>&5
  2543   ac_status=$?
  2544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2545   (exit $ac_status); }
  2546 { (ac_try="$ac_compiler -v >&5"
  2547 case "(($ac_try" in
  2548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2549   *) ac_try_echo=$ac_try;;
  2550 esac
  2551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2552 $as_echo "$ac_try_echo") >&5
  2553   (eval "$ac_compiler -v >&5") 2>&5
  2554   ac_status=$?
  2555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2556   (exit $ac_status); }
  2557 { (ac_try="$ac_compiler -V >&5"
  2558 case "(($ac_try" in
  2559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2560   *) ac_try_echo=$ac_try;;
  2561 esac
  2562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2563 $as_echo "$ac_try_echo") >&5
  2564   (eval "$ac_compiler -V >&5") 2>&5
  2565   ac_status=$?
  2566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2567   (exit $ac_status); }
  2568 
  2569 cat >conftest.$ac_ext <<_ACEOF
  2570 /* confdefs.h.  */
  2571 _ACEOF
  2572 cat confdefs.h >>conftest.$ac_ext
  2573 cat >>conftest.$ac_ext <<_ACEOF
  2574 /* end confdefs.h.  */
  2575 
  2576 int
  2577 main ()
  2578 {
  2579 
  2580   ;
  2581   return 0;
  2582 }
  2583 _ACEOF
  2584 ac_clean_files_save=$ac_clean_files
  2585 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2586 # Try to create an executable without -o first, disregard a.out.
  2587 # It will help us diagnose broken compilers, and finding out an intuition
  2588 # of exeext.
  2589 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2590 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2591 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2592 
  2593 # The possible output files:
  2594 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2595 
  2596 ac_rmfiles=
  2597 for ac_file in $ac_files
  2598 do
  2599   case $ac_file in
  2600     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2601     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2602   esac
  2603 done
  2604 rm -f $ac_rmfiles
  2605 
  2606 if { (ac_try="$ac_link_default"
  2607 case "(($ac_try" in
  2608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2609   *) ac_try_echo=$ac_try;;
  2610 esac
  2611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2612 $as_echo "$ac_try_echo") >&5
  2613   (eval "$ac_link_default") 2>&5
  2614   ac_status=$?
  2615   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2616   (exit $ac_status); }; then
  2617   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2618 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2619 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2620 # so that the user can short-circuit this test for compilers unknown to
  2621 # Autoconf.
  2622 for ac_file in $ac_files ''
  2623 do
  2624   test -f "$ac_file" || continue
  2625   case $ac_file in
  2626     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2627 	;;
  2628     [ab].out )
  2629 	# We found the default executable, but exeext='' is most
  2630 	# certainly right.
  2631 	break;;
  2632     *.* )
  2633         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2634 	then :; else
  2635 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2636 	fi
  2637 	# We set ac_cv_exeext here because the later test for it is not
  2638 	# safe: cross compilers may not add the suffix if given an `-o'
  2639 	# argument, so we may need to know it at that point already.
  2640 	# Even if this section looks crufty: it has the advantage of
  2641 	# actually working.
  2642 	break;;
  2643     * )
  2644 	break;;
  2645   esac
  2646 done
  2647 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2648 
  2649 else
  2650   ac_file=''
  2651 fi
  2652 
  2653 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2654 $as_echo "$ac_file" >&6; }
  2655 if test -z "$ac_file"; then
  2656   $as_echo "$as_me: failed program was:" >&5
  2657 sed 's/^/| /' conftest.$ac_ext >&5
  2658 
  2659 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2661 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2662 See \`config.log' for more details." >&5
  2663 $as_echo "$as_me: error: C compiler cannot create executables
  2664 See \`config.log' for more details." >&2;}
  2665    { (exit 77); exit 77; }; }; }
  2666 fi
  2667 
  2668 ac_exeext=$ac_cv_exeext
  2669 
  2670 # Check that the compiler produces executables we can run.  If not, either
  2671 # the compiler is broken, or we cross compile.
  2672 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2673 $as_echo_n "checking whether the C compiler works... " >&6; }
  2674 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2675 # If not cross compiling, check that we can run a simple program.
  2676 if test "$cross_compiling" != yes; then
  2677   if { ac_try='./$ac_file'
  2678   { (case "(($ac_try" in
  2679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2680   *) ac_try_echo=$ac_try;;
  2681 esac
  2682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2683 $as_echo "$ac_try_echo") >&5
  2684   (eval "$ac_try") 2>&5
  2685   ac_status=$?
  2686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2687   (exit $ac_status); }; }; then
  2688     cross_compiling=no
  2689   else
  2690     if test "$cross_compiling" = maybe; then
  2691 	cross_compiling=yes
  2692     else
  2693 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2695 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2696 If you meant to cross compile, use \`--host'.
  2697 See \`config.log' for more details." >&5
  2698 $as_echo "$as_me: error: cannot run C compiled programs.
  2699 If you meant to cross compile, use \`--host'.
  2700 See \`config.log' for more details." >&2;}
  2701    { (exit 1); exit 1; }; }; }
  2702     fi
  2703   fi
  2704 fi
  2705 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2706 $as_echo "yes" >&6; }
  2707 
  2708 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2709 ac_clean_files=$ac_clean_files_save
  2710 # Check that the compiler produces executables we can run.  If not, either
  2711 # the compiler is broken, or we cross compile.
  2712 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2713 $as_echo_n "checking whether we are cross compiling... " >&6; }
  2714 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2715 $as_echo "$cross_compiling" >&6; }
  2716 
  2717 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2718 $as_echo_n "checking for suffix of executables... " >&6; }
  2719 if { (ac_try="$ac_link"
  2720 case "(($ac_try" in
  2721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2722   *) ac_try_echo=$ac_try;;
  2723 esac
  2724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2725 $as_echo "$ac_try_echo") >&5
  2726   (eval "$ac_link") 2>&5
  2727   ac_status=$?
  2728   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2729   (exit $ac_status); }; then
  2730   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2731 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2732 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2733 # `rm'.
  2734 for ac_file in conftest.exe conftest conftest.*; do
  2735   test -f "$ac_file" || continue
  2736   case $ac_file in
  2737     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2738     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2739 	  break;;
  2740     * ) break;;
  2741   esac
  2742 done
  2743 else
  2744   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2746 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2747 See \`config.log' for more details." >&5
  2748 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2749 See \`config.log' for more details." >&2;}
  2750    { (exit 1); exit 1; }; }; }
  2751 fi
  2752 
  2753 rm -f conftest$ac_cv_exeext
  2754 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2755 $as_echo "$ac_cv_exeext" >&6; }
  2756 
  2757 rm -f conftest.$ac_ext
  2758 EXEEXT=$ac_cv_exeext
  2759 ac_exeext=$EXEEXT
  2760 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2761 $as_echo_n "checking for suffix of object files... " >&6; }
  2762 if test "${ac_cv_objext+set}" = set; then
  2763   $as_echo_n "(cached) " >&6
  2764 else
  2765   cat >conftest.$ac_ext <<_ACEOF
  2766 /* confdefs.h.  */
  2767 _ACEOF
  2768 cat confdefs.h >>conftest.$ac_ext
  2769 cat >>conftest.$ac_ext <<_ACEOF
  2770 /* end confdefs.h.  */
  2771 
  2772 int
  2773 main ()
  2774 {
  2775 
  2776   ;
  2777   return 0;
  2778 }
  2779 _ACEOF
  2780 rm -f conftest.o conftest.obj
  2781 if { (ac_try="$ac_compile"
  2782 case "(($ac_try" in
  2783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2784   *) ac_try_echo=$ac_try;;
  2785 esac
  2786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2787 $as_echo "$ac_try_echo") >&5
  2788   (eval "$ac_compile") 2>&5
  2789   ac_status=$?
  2790   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2791   (exit $ac_status); }; then
  2792   for ac_file in conftest.o conftest.obj conftest.*; do
  2793   test -f "$ac_file" || continue;
  2794   case $ac_file in
  2795     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2796     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2797        break;;
  2798   esac
  2799 done
  2800 else
  2801   $as_echo "$as_me: failed program was:" >&5
  2802 sed 's/^/| /' conftest.$ac_ext >&5
  2803 
  2804 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2806 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2807 See \`config.log' for more details." >&5
  2808 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2809 See \`config.log' for more details." >&2;}
  2810    { (exit 1); exit 1; }; }; }
  2811 fi
  2812 
  2813 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2814 fi
  2815 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2816 $as_echo "$ac_cv_objext" >&6; }
  2817 OBJEXT=$ac_cv_objext
  2818 ac_objext=$OBJEXT
  2819 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2820 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2821 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2822   $as_echo_n "(cached) " >&6
  2823 else
  2824   cat >conftest.$ac_ext <<_ACEOF
  2825 /* confdefs.h.  */
  2826 _ACEOF
  2827 cat confdefs.h >>conftest.$ac_ext
  2828 cat >>conftest.$ac_ext <<_ACEOF
  2829 /* end confdefs.h.  */
  2830 
  2831 int
  2832 main ()
  2833 {
  2834 #ifndef __GNUC__
  2835        choke me
  2836 #endif
  2837 
  2838   ;
  2839   return 0;
  2840 }
  2841 _ACEOF
  2842 rm -f conftest.$ac_objext
  2843 if { (ac_try="$ac_compile"
  2844 case "(($ac_try" in
  2845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2846   *) ac_try_echo=$ac_try;;
  2847 esac
  2848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2849 $as_echo "$ac_try_echo") >&5
  2850   (eval "$ac_compile") 2>conftest.er1
  2851   ac_status=$?
  2852   grep -v '^ *+' conftest.er1 >conftest.err
  2853   rm -f conftest.er1
  2854   cat conftest.err >&5
  2855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2856   (exit $ac_status); } && {
  2857 	 test -z "$ac_c_werror_flag" ||
  2858 	 test ! -s conftest.err
  2859        } && test -s conftest.$ac_objext; then
  2860   ac_compiler_gnu=yes
  2861 else
  2862   $as_echo "$as_me: failed program was:" >&5
  2863 sed 's/^/| /' conftest.$ac_ext >&5
  2864 
  2865 	ac_compiler_gnu=no
  2866 fi
  2867 
  2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2869 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2870 
  2871 fi
  2872 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2873 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2874 if test $ac_compiler_gnu = yes; then
  2875   GCC=yes
  2876 else
  2877   GCC=
  2878 fi
  2879 ac_test_CFLAGS=${CFLAGS+set}
  2880 ac_save_CFLAGS=$CFLAGS
  2881 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2882 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2883 if test "${ac_cv_prog_cc_g+set}" = set; then
  2884   $as_echo_n "(cached) " >&6
  2885 else
  2886   ac_save_c_werror_flag=$ac_c_werror_flag
  2887    ac_c_werror_flag=yes
  2888    ac_cv_prog_cc_g=no
  2889    CFLAGS="-g"
  2890    cat >conftest.$ac_ext <<_ACEOF
  2891 /* confdefs.h.  */
  2892 _ACEOF
  2893 cat confdefs.h >>conftest.$ac_ext
  2894 cat >>conftest.$ac_ext <<_ACEOF
  2895 /* end confdefs.h.  */
  2896 
  2897 int
  2898 main ()
  2899 {
  2900 
  2901   ;
  2902   return 0;
  2903 }
  2904 _ACEOF
  2905 rm -f conftest.$ac_objext
  2906 if { (ac_try="$ac_compile"
  2907 case "(($ac_try" in
  2908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2909   *) ac_try_echo=$ac_try;;
  2910 esac
  2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2912 $as_echo "$ac_try_echo") >&5
  2913   (eval "$ac_compile") 2>conftest.er1
  2914   ac_status=$?
  2915   grep -v '^ *+' conftest.er1 >conftest.err
  2916   rm -f conftest.er1
  2917   cat conftest.err >&5
  2918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2919   (exit $ac_status); } && {
  2920 	 test -z "$ac_c_werror_flag" ||
  2921 	 test ! -s conftest.err
  2922        } && test -s conftest.$ac_objext; then
  2923   ac_cv_prog_cc_g=yes
  2924 else
  2925   $as_echo "$as_me: failed program was:" >&5
  2926 sed 's/^/| /' conftest.$ac_ext >&5
  2927 
  2928 	CFLAGS=""
  2929       cat >conftest.$ac_ext <<_ACEOF
  2930 /* confdefs.h.  */
  2931 _ACEOF
  2932 cat confdefs.h >>conftest.$ac_ext
  2933 cat >>conftest.$ac_ext <<_ACEOF
  2934 /* end confdefs.h.  */
  2935 
  2936 int
  2937 main ()
  2938 {
  2939 
  2940   ;
  2941   return 0;
  2942 }
  2943 _ACEOF
  2944 rm -f conftest.$ac_objext
  2945 if { (ac_try="$ac_compile"
  2946 case "(($ac_try" in
  2947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2948   *) ac_try_echo=$ac_try;;
  2949 esac
  2950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2951 $as_echo "$ac_try_echo") >&5
  2952   (eval "$ac_compile") 2>conftest.er1
  2953   ac_status=$?
  2954   grep -v '^ *+' conftest.er1 >conftest.err
  2955   rm -f conftest.er1
  2956   cat conftest.err >&5
  2957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2958   (exit $ac_status); } && {
  2959 	 test -z "$ac_c_werror_flag" ||
  2960 	 test ! -s conftest.err
  2961        } && test -s conftest.$ac_objext; then
  2962   :
  2963 else
  2964   $as_echo "$as_me: failed program was:" >&5
  2965 sed 's/^/| /' conftest.$ac_ext >&5
  2966 
  2967 	ac_c_werror_flag=$ac_save_c_werror_flag
  2968 	 CFLAGS="-g"
  2969 	 cat >conftest.$ac_ext <<_ACEOF
  2970 /* confdefs.h.  */
  2971 _ACEOF
  2972 cat confdefs.h >>conftest.$ac_ext
  2973 cat >>conftest.$ac_ext <<_ACEOF
  2974 /* end confdefs.h.  */
  2975 
  2976 int
  2977 main ()
  2978 {
  2979 
  2980   ;
  2981   return 0;
  2982 }
  2983 _ACEOF
  2984 rm -f conftest.$ac_objext
  2985 if { (ac_try="$ac_compile"
  2986 case "(($ac_try" in
  2987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2988   *) ac_try_echo=$ac_try;;
  2989 esac
  2990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2991 $as_echo "$ac_try_echo") >&5
  2992   (eval "$ac_compile") 2>conftest.er1
  2993   ac_status=$?
  2994   grep -v '^ *+' conftest.er1 >conftest.err
  2995   rm -f conftest.er1
  2996   cat conftest.err >&5
  2997   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2998   (exit $ac_status); } && {
  2999 	 test -z "$ac_c_werror_flag" ||
  3000 	 test ! -s conftest.err
  3001        } && test -s conftest.$ac_objext; then
  3002   ac_cv_prog_cc_g=yes
  3003 else
  3004   $as_echo "$as_me: failed program was:" >&5
  3005 sed 's/^/| /' conftest.$ac_ext >&5
  3006 
  3007 
  3008 fi
  3009 
  3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3011 fi
  3012 
  3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3014 fi
  3015 
  3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3017    ac_c_werror_flag=$ac_save_c_werror_flag
  3018 fi
  3019 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3020 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3021 if test "$ac_test_CFLAGS" = set; then
  3022   CFLAGS=$ac_save_CFLAGS
  3023 elif test $ac_cv_prog_cc_g = yes; then
  3024   if test "$GCC" = yes; then
  3025     CFLAGS="-g -O2"
  3026   else
  3027     CFLAGS="-g"
  3028   fi
  3029 else
  3030   if test "$GCC" = yes; then
  3031     CFLAGS="-O2"
  3032   else
  3033     CFLAGS=
  3034   fi
  3035 fi
  3036 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3037 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3038 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3039   $as_echo_n "(cached) " >&6
  3040 else
  3041   ac_cv_prog_cc_c89=no
  3042 ac_save_CC=$CC
  3043 cat >conftest.$ac_ext <<_ACEOF
  3044 /* confdefs.h.  */
  3045 _ACEOF
  3046 cat confdefs.h >>conftest.$ac_ext
  3047 cat >>conftest.$ac_ext <<_ACEOF
  3048 /* end confdefs.h.  */
  3049 #include <stdarg.h>
  3050 #include <stdio.h>
  3051 #include <sys/types.h>
  3052 #include <sys/stat.h>
  3053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3054 struct buf { int x; };
  3055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3056 static char *e (p, i)
  3057      char **p;
  3058      int i;
  3059 {
  3060   return p[i];
  3061 }
  3062 static char *f (char * (*g) (char **, int), char **p, ...)
  3063 {
  3064   char *s;
  3065   va_list v;
  3066   va_start (v,p);
  3067   s = g (p, va_arg (v,int));
  3068   va_end (v);
  3069   return s;
  3070 }
  3071 
  3072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3073    function prototypes and stuff, but not '\xHH' hex character constants.
  3074    These don't provoke an error unfortunately, instead are silently treated
  3075    as 'x'.  The following induces an error, until -std is added to get
  3076    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3077    array size at least.  It's necessary to write '\x00'==0 to get something
  3078    that's true only with -std.  */
  3079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3080 
  3081 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3082    inside strings and character constants.  */
  3083 #define FOO(x) 'x'
  3084 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3085 
  3086 int test (int i, double x);
  3087 struct s1 {int (*f) (int a);};
  3088 struct s2 {int (*f) (double a);};
  3089 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3090 int argc;
  3091 char **argv;
  3092 int
  3093 main ()
  3094 {
  3095 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3096   ;
  3097   return 0;
  3098 }
  3099 _ACEOF
  3100 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3101 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3102 do
  3103   CC="$ac_save_CC $ac_arg"
  3104   rm -f conftest.$ac_objext
  3105 if { (ac_try="$ac_compile"
  3106 case "(($ac_try" in
  3107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3108   *) ac_try_echo=$ac_try;;
  3109 esac
  3110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3111 $as_echo "$ac_try_echo") >&5
  3112   (eval "$ac_compile") 2>conftest.er1
  3113   ac_status=$?
  3114   grep -v '^ *+' conftest.er1 >conftest.err
  3115   rm -f conftest.er1
  3116   cat conftest.err >&5
  3117   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3118   (exit $ac_status); } && {
  3119 	 test -z "$ac_c_werror_flag" ||
  3120 	 test ! -s conftest.err
  3121        } && test -s conftest.$ac_objext; then
  3122   ac_cv_prog_cc_c89=$ac_arg
  3123 else
  3124   $as_echo "$as_me: failed program was:" >&5
  3125 sed 's/^/| /' conftest.$ac_ext >&5
  3126 
  3127 
  3128 fi
  3129 
  3130 rm -f core conftest.err conftest.$ac_objext
  3131   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3132 done
  3133 rm -f conftest.$ac_ext
  3134 CC=$ac_save_CC
  3135 
  3136 fi
  3137 # AC_CACHE_VAL
  3138 case "x$ac_cv_prog_cc_c89" in
  3139   x)
  3140     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3141 $as_echo "none needed" >&6; } ;;
  3142   xno)
  3143     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3144 $as_echo "unsupported" >&6; } ;;
  3145   *)
  3146     CC="$CC $ac_cv_prog_cc_c89"
  3147     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3148 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3149 esac
  3150 
  3151 
  3152 ac_ext=c
  3153 ac_cpp='$CPP $CPPFLAGS'
  3154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3157 
  3158 
  3159 ac_ext=c
  3160 ac_cpp='$CPP $CPPFLAGS'
  3161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3164 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3166 # On Suns, sometimes $CPP names a directory.
  3167 if test -n "$CPP" && test -d "$CPP"; then
  3168   CPP=
  3169 fi
  3170 if test -z "$CPP"; then
  3171   if test "${ac_cv_prog_CPP+set}" = set; then
  3172   $as_echo_n "(cached) " >&6
  3173 else
  3174       # Double quotes because CPP needs to be expanded
  3175     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3176     do
  3177       ac_preproc_ok=false
  3178 for ac_c_preproc_warn_flag in '' yes
  3179 do
  3180   # Use a header file that comes with gcc, so configuring glibc
  3181   # with a fresh cross-compiler works.
  3182   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3183   # <limits.h> exists even on freestanding compilers.
  3184   # On the NeXT, cc -E runs the code through the compiler's parser,
  3185   # not just through cpp. "Syntax error" is here to catch this case.
  3186   cat >conftest.$ac_ext <<_ACEOF
  3187 /* confdefs.h.  */
  3188 _ACEOF
  3189 cat confdefs.h >>conftest.$ac_ext
  3190 cat >>conftest.$ac_ext <<_ACEOF
  3191 /* end confdefs.h.  */
  3192 #ifdef __STDC__
  3193 # include <limits.h>
  3194 #else
  3195 # include <assert.h>
  3196 #endif
  3197 		     Syntax error
  3198 _ACEOF
  3199 if { (ac_try="$ac_cpp conftest.$ac_ext"
  3200 case "(($ac_try" in
  3201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3202   *) ac_try_echo=$ac_try;;
  3203 esac
  3204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3205 $as_echo "$ac_try_echo") >&5
  3206   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3207   ac_status=$?
  3208   grep -v '^ *+' conftest.er1 >conftest.err
  3209   rm -f conftest.er1
  3210   cat conftest.err >&5
  3211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3212   (exit $ac_status); } >/dev/null && {
  3213 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3214 	 test ! -s conftest.err
  3215        }; then
  3216   :
  3217 else
  3218   $as_echo "$as_me: failed program was:" >&5
  3219 sed 's/^/| /' conftest.$ac_ext >&5
  3220 
  3221   # Broken: fails on valid input.
  3222 continue
  3223 fi
  3224 
  3225 rm -f conftest.err conftest.$ac_ext
  3226 
  3227   # OK, works on sane cases.  Now check whether nonexistent headers
  3228   # can be detected and how.
  3229   cat >conftest.$ac_ext <<_ACEOF
  3230 /* confdefs.h.  */
  3231 _ACEOF
  3232 cat confdefs.h >>conftest.$ac_ext
  3233 cat >>conftest.$ac_ext <<_ACEOF
  3234 /* end confdefs.h.  */
  3235 #include <ac_nonexistent.h>
  3236 _ACEOF
  3237 if { (ac_try="$ac_cpp conftest.$ac_ext"
  3238 case "(($ac_try" in
  3239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3240   *) ac_try_echo=$ac_try;;
  3241 esac
  3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3243 $as_echo "$ac_try_echo") >&5
  3244   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3245   ac_status=$?
  3246   grep -v '^ *+' conftest.er1 >conftest.err
  3247   rm -f conftest.er1
  3248   cat conftest.err >&5
  3249   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3250   (exit $ac_status); } >/dev/null && {
  3251 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3252 	 test ! -s conftest.err
  3253        }; then
  3254   # Broken: success on invalid input.
  3255 continue
  3256 else
  3257   $as_echo "$as_me: failed program was:" >&5
  3258 sed 's/^/| /' conftest.$ac_ext >&5
  3259 
  3260   # Passes both tests.
  3261 ac_preproc_ok=:
  3262 break
  3263 fi
  3264 
  3265 rm -f conftest.err conftest.$ac_ext
  3266 
  3267 done
  3268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3269 rm -f conftest.err conftest.$ac_ext
  3270 if $ac_preproc_ok; then
  3271   break
  3272 fi
  3273 
  3274     done
  3275     ac_cv_prog_CPP=$CPP
  3276 
  3277 fi
  3278   CPP=$ac_cv_prog_CPP
  3279 else
  3280   ac_cv_prog_CPP=$CPP
  3281 fi
  3282 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  3283 $as_echo "$CPP" >&6; }
  3284 ac_preproc_ok=false
  3285 for ac_c_preproc_warn_flag in '' yes
  3286 do
  3287   # Use a header file that comes with gcc, so configuring glibc
  3288   # with a fresh cross-compiler works.
  3289   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3290   # <limits.h> exists even on freestanding compilers.
  3291   # On the NeXT, cc -E runs the code through the compiler's parser,
  3292   # not just through cpp. "Syntax error" is here to catch this case.
  3293   cat >conftest.$ac_ext <<_ACEOF
  3294 /* confdefs.h.  */
  3295 _ACEOF
  3296 cat confdefs.h >>conftest.$ac_ext
  3297 cat >>conftest.$ac_ext <<_ACEOF
  3298 /* end confdefs.h.  */
  3299 #ifdef __STDC__
  3300 # include <limits.h>
  3301 #else
  3302 # include <assert.h>
  3303 #endif
  3304 		     Syntax error
  3305 _ACEOF
  3306 if { (ac_try="$ac_cpp conftest.$ac_ext"
  3307 case "(($ac_try" in
  3308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3309   *) ac_try_echo=$ac_try;;
  3310 esac
  3311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3312 $as_echo "$ac_try_echo") >&5
  3313   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3314   ac_status=$?
  3315   grep -v '^ *+' conftest.er1 >conftest.err
  3316   rm -f conftest.er1
  3317   cat conftest.err >&5
  3318   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3319   (exit $ac_status); } >/dev/null && {
  3320 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3321 	 test ! -s conftest.err
  3322        }; then
  3323   :
  3324 else
  3325   $as_echo "$as_me: failed program was:" >&5
  3326 sed 's/^/| /' conftest.$ac_ext >&5
  3327 
  3328   # Broken: fails on valid input.
  3329 continue
  3330 fi
  3331 
  3332 rm -f conftest.err conftest.$ac_ext
  3333 
  3334   # OK, works on sane cases.  Now check whether nonexistent headers
  3335   # can be detected and how.
  3336   cat >conftest.$ac_ext <<_ACEOF
  3337 /* confdefs.h.  */
  3338 _ACEOF
  3339 cat confdefs.h >>conftest.$ac_ext
  3340 cat >>conftest.$ac_ext <<_ACEOF
  3341 /* end confdefs.h.  */
  3342 #include <ac_nonexistent.h>
  3343 _ACEOF
  3344 if { (ac_try="$ac_cpp conftest.$ac_ext"
  3345 case "(($ac_try" in
  3346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3347   *) ac_try_echo=$ac_try;;
  3348 esac
  3349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3350 $as_echo "$ac_try_echo") >&5
  3351   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3352   ac_status=$?
  3353   grep -v '^ *+' conftest.er1 >conftest.err
  3354   rm -f conftest.er1
  3355   cat conftest.err >&5
  3356   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3357   (exit $ac_status); } >/dev/null && {
  3358 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3359 	 test ! -s conftest.err
  3360        }; then
  3361   # Broken: success on invalid input.
  3362 continue
  3363 else
  3364   $as_echo "$as_me: failed program was:" >&5
  3365 sed 's/^/| /' conftest.$ac_ext >&5
  3366 
  3367   # Passes both tests.
  3368 ac_preproc_ok=:
  3369 break
  3370 fi
  3371 
  3372 rm -f conftest.err conftest.$ac_ext
  3373 
  3374 done
  3375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3376 rm -f conftest.err conftest.$ac_ext
  3377 if $ac_preproc_ok; then
  3378   :
  3379 else
  3380   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3382 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  3383 See \`config.log' for more details." >&5
  3384 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  3385 See \`config.log' for more details." >&2;}
  3386    { (exit 1); exit 1; }; }; }
  3387 fi
  3388 
  3389 ac_ext=c
  3390 ac_cpp='$CPP $CPPFLAGS'
  3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3394 
  3395 
  3396 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3397 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3398 if test "${ac_cv_path_GREP+set}" = set; then
  3399   $as_echo_n "(cached) " >&6
  3400 else
  3401   if test -z "$GREP"; then
  3402   ac_path_GREP_found=false
  3403   # Loop through the user's path and test for each of PROGNAME-LIST
  3404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3406 do
  3407   IFS=$as_save_IFS
  3408   test -z "$as_dir" && as_dir=.
  3409   for ac_prog in grep ggrep; do
  3410     for ac_exec_ext in '' $ac_executable_extensions; do
  3411       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3412       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3413 # Check for GNU ac_path_GREP and select it if it is found.
  3414   # Check for GNU $ac_path_GREP
  3415 case `"$ac_path_GREP" --version 2>&1` in
  3416 *GNU*)
  3417   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3418 *)
  3419   ac_count=0
  3420   $as_echo_n 0123456789 >"conftest.in"
  3421   while :
  3422   do
  3423     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3424     mv "conftest.tmp" "conftest.in"
  3425     cp "conftest.in" "conftest.nl"
  3426     $as_echo 'GREP' >> "conftest.nl"
  3427     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3428     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3429     ac_count=`expr $ac_count + 1`
  3430     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3431       # Best one so far, save it but keep looking for a better one
  3432       ac_cv_path_GREP="$ac_path_GREP"
  3433       ac_path_GREP_max=$ac_count
  3434     fi
  3435     # 10*(2^10) chars as input seems more than enough
  3436     test $ac_count -gt 10 && break
  3437   done
  3438   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3439 esac
  3440 
  3441       $ac_path_GREP_found && break 3
  3442     done
  3443   done
  3444 done
  3445 IFS=$as_save_IFS
  3446   if test -z "$ac_cv_path_GREP"; then
  3447     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3448 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3449    { (exit 1); exit 1; }; }
  3450   fi
  3451 else
  3452   ac_cv_path_GREP=$GREP
  3453 fi
  3454 
  3455 fi
  3456 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3457 $as_echo "$ac_cv_path_GREP" >&6; }
  3458  GREP="$ac_cv_path_GREP"
  3459 
  3460 
  3461 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  3462 $as_echo_n "checking for egrep... " >&6; }
  3463 if test "${ac_cv_path_EGREP+set}" = set; then
  3464   $as_echo_n "(cached) " >&6
  3465 else
  3466   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3467    then ac_cv_path_EGREP="$GREP -E"
  3468    else
  3469      if test -z "$EGREP"; then
  3470   ac_path_EGREP_found=false
  3471   # Loop through the user's path and test for each of PROGNAME-LIST
  3472   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3473 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3474 do
  3475   IFS=$as_save_IFS
  3476   test -z "$as_dir" && as_dir=.
  3477   for ac_prog in egrep; do
  3478     for ac_exec_ext in '' $ac_executable_extensions; do
  3479       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3480       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3481 # Check for GNU ac_path_EGREP and select it if it is found.
  3482   # Check for GNU $ac_path_EGREP
  3483 case `"$ac_path_EGREP" --version 2>&1` in
  3484 *GNU*)
  3485   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3486 *)
  3487   ac_count=0
  3488   $as_echo_n 0123456789 >"conftest.in"
  3489   while :
  3490   do
  3491     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3492     mv "conftest.tmp" "conftest.in"
  3493     cp "conftest.in" "conftest.nl"
  3494     $as_echo 'EGREP' >> "conftest.nl"
  3495     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3496     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3497     ac_count=`expr $ac_count + 1`
  3498     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3499       # Best one so far, save it but keep looking for a better one
  3500       ac_cv_path_EGREP="$ac_path_EGREP"
  3501       ac_path_EGREP_max=$ac_count
  3502     fi
  3503     # 10*(2^10) chars as input seems more than enough
  3504     test $ac_count -gt 10 && break
  3505   done
  3506   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3507 esac
  3508 
  3509       $ac_path_EGREP_found && break 3
  3510     done
  3511   done
  3512 done
  3513 IFS=$as_save_IFS
  3514   if test -z "$ac_cv_path_EGREP"; then
  3515     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3516 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3517    { (exit 1); exit 1; }; }
  3518   fi
  3519 else
  3520   ac_cv_path_EGREP=$EGREP
  3521 fi
  3522 
  3523    fi
  3524 fi
  3525 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3526 $as_echo "$ac_cv_path_EGREP" >&6; }
  3527  EGREP="$ac_cv_path_EGREP"
  3528 
  3529 
  3530 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3531 $as_echo_n "checking for ANSI C header files... " >&6; }
  3532 if test "${ac_cv_header_stdc+set}" = set; then
  3533   $as_echo_n "(cached) " >&6
  3534 else
  3535   cat >conftest.$ac_ext <<_ACEOF
  3536 /* confdefs.h.  */
  3537 _ACEOF
  3538 cat confdefs.h >>conftest.$ac_ext
  3539 cat >>conftest.$ac_ext <<_ACEOF
  3540 /* end confdefs.h.  */
  3541 #include <stdlib.h>
  3542 #include <stdarg.h>
  3543 #include <string.h>
  3544 #include <float.h>
  3545 
  3546 int
  3547 main ()
  3548 {
  3549 
  3550   ;
  3551   return 0;
  3552 }
  3553 _ACEOF
  3554 rm -f conftest.$ac_objext
  3555 if { (ac_try="$ac_compile"
  3556 case "(($ac_try" in
  3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3558   *) ac_try_echo=$ac_try;;
  3559 esac
  3560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3561 $as_echo "$ac_try_echo") >&5
  3562   (eval "$ac_compile") 2>conftest.er1
  3563   ac_status=$?
  3564   grep -v '^ *+' conftest.er1 >conftest.err
  3565   rm -f conftest.er1
  3566   cat conftest.err >&5
  3567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3568   (exit $ac_status); } && {
  3569 	 test -z "$ac_c_werror_flag" ||
  3570 	 test ! -s conftest.err
  3571        } && test -s conftest.$ac_objext; then
  3572   ac_cv_header_stdc=yes
  3573 else
  3574   $as_echo "$as_me: failed program was:" >&5
  3575 sed 's/^/| /' conftest.$ac_ext >&5
  3576 
  3577 	ac_cv_header_stdc=no
  3578 fi
  3579 
  3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3581 
  3582 if test $ac_cv_header_stdc = yes; then
  3583   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3584   cat >conftest.$ac_ext <<_ACEOF
  3585 /* confdefs.h.  */
  3586 _ACEOF
  3587 cat confdefs.h >>conftest.$ac_ext
  3588 cat >>conftest.$ac_ext <<_ACEOF
  3589 /* end confdefs.h.  */
  3590 #include <string.h>
  3591 
  3592 _ACEOF
  3593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3594   $EGREP "memchr" >/dev/null 2>&1; then
  3595   :
  3596 else
  3597   ac_cv_header_stdc=no
  3598 fi
  3599 rm -f conftest*
  3600 
  3601 fi
  3602 
  3603 if test $ac_cv_header_stdc = yes; then
  3604   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3605   cat >conftest.$ac_ext <<_ACEOF
  3606 /* confdefs.h.  */
  3607 _ACEOF
  3608 cat confdefs.h >>conftest.$ac_ext
  3609 cat >>conftest.$ac_ext <<_ACEOF
  3610 /* end confdefs.h.  */
  3611 #include <stdlib.h>
  3612 
  3613 _ACEOF
  3614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3615   $EGREP "free" >/dev/null 2>&1; then
  3616   :
  3617 else
  3618   ac_cv_header_stdc=no
  3619 fi
  3620 rm -f conftest*
  3621 
  3622 fi
  3623 
  3624 if test $ac_cv_header_stdc = yes; then
  3625   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3626   if test "$cross_compiling" = yes; then
  3627   :
  3628 else
  3629   cat >conftest.$ac_ext <<_ACEOF
  3630 /* confdefs.h.  */
  3631 _ACEOF
  3632 cat confdefs.h >>conftest.$ac_ext
  3633 cat >>conftest.$ac_ext <<_ACEOF
  3634 /* end confdefs.h.  */
  3635 #include <ctype.h>
  3636 #include <stdlib.h>
  3637 #if ((' ' & 0x0FF) == 0x020)
  3638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3640 #else
  3641 # define ISLOWER(c) \
  3642 		   (('a' <= (c) && (c) <= 'i') \
  3643 		     || ('j' <= (c) && (c) <= 'r') \
  3644 		     || ('s' <= (c) && (c) <= 'z'))
  3645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3646 #endif
  3647 
  3648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3649 int
  3650 main ()
  3651 {
  3652   int i;
  3653   for (i = 0; i < 256; i++)
  3654     if (XOR (islower (i), ISLOWER (i))
  3655 	|| toupper (i) != TOUPPER (i))
  3656       return 2;
  3657   return 0;
  3658 }
  3659 _ACEOF
  3660 rm -f conftest$ac_exeext
  3661 if { (ac_try="$ac_link"
  3662 case "(($ac_try" in
  3663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3664   *) ac_try_echo=$ac_try;;
  3665 esac
  3666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3667 $as_echo "$ac_try_echo") >&5
  3668   (eval "$ac_link") 2>&5
  3669   ac_status=$?
  3670   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3671   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3672   { (case "(($ac_try" in
  3673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3674   *) ac_try_echo=$ac_try;;
  3675 esac
  3676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3677 $as_echo "$ac_try_echo") >&5
  3678   (eval "$ac_try") 2>&5
  3679   ac_status=$?
  3680   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3681   (exit $ac_status); }; }; then
  3682   :
  3683 else
  3684   $as_echo "$as_me: program exited with status $ac_status" >&5
  3685 $as_echo "$as_me: failed program was:" >&5
  3686 sed 's/^/| /' conftest.$ac_ext >&5
  3687 
  3688 ( exit $ac_status )
  3689 ac_cv_header_stdc=no
  3690 fi
  3691 rm -rf conftest.dSYM
  3692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3693 fi
  3694 
  3695 
  3696 fi
  3697 fi
  3698 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3699 $as_echo "$ac_cv_header_stdc" >&6; }
  3700 if test $ac_cv_header_stdc = yes; then
  3701 
  3702 cat >>confdefs.h <<\_ACEOF
  3703 #define STDC_HEADERS 1
  3704 _ACEOF
  3705 
  3706 fi
  3707 
  3708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3709 
  3710 
  3711 
  3712 
  3713 
  3714 
  3715 
  3716 
  3717 
  3718 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3719 		  inttypes.h stdint.h unistd.h
  3720 do
  3721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3722 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  3723 $as_echo_n "checking for $ac_header... " >&6; }
  3724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3725   $as_echo_n "(cached) " >&6
  3726 else
  3727   cat >conftest.$ac_ext <<_ACEOF
  3728 /* confdefs.h.  */
  3729 _ACEOF
  3730 cat confdefs.h >>conftest.$ac_ext
  3731 cat >>conftest.$ac_ext <<_ACEOF
  3732 /* end confdefs.h.  */
  3733 $ac_includes_default
  3734 
  3735 #include <$ac_header>
  3736 _ACEOF
  3737 rm -f conftest.$ac_objext
  3738 if { (ac_try="$ac_compile"
  3739 case "(($ac_try" in
  3740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3741   *) ac_try_echo=$ac_try;;
  3742 esac
  3743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3744 $as_echo "$ac_try_echo") >&5
  3745   (eval "$ac_compile") 2>conftest.er1
  3746   ac_status=$?
  3747   grep -v '^ *+' conftest.er1 >conftest.err
  3748   rm -f conftest.er1
  3749   cat conftest.err >&5
  3750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3751   (exit $ac_status); } && {
  3752 	 test -z "$ac_c_werror_flag" ||
  3753 	 test ! -s conftest.err
  3754        } && test -s conftest.$ac_objext; then
  3755   eval "$as_ac_Header=yes"
  3756 else
  3757   $as_echo "$as_me: failed program was:" >&5
  3758 sed 's/^/| /' conftest.$ac_ext >&5
  3759 
  3760 	eval "$as_ac_Header=no"
  3761 fi
  3762 
  3763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3764 fi
  3765 ac_res=`eval 'as_val=${'$as_ac_Header'}
  3766 		 $as_echo "$as_val"'`
  3767 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  3768 $as_echo "$ac_res" >&6; }
  3769 as_val=`eval 'as_val=${'$as_ac_Header'}
  3770 		 $as_echo "$as_val"'`
  3771    if test "x$as_val" = x""yes; then
  3772   cat >>confdefs.h <<_ACEOF
  3773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3774 _ACEOF
  3775 
  3776 fi
  3777 
  3778 done
  3779 
  3780 
  3781 
  3782   if test "${ac_cv_header_minix_config_h+set}" = set; then
  3783   { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
  3784 $as_echo_n "checking for minix/config.h... " >&6; }
  3785 if test "${ac_cv_header_minix_config_h+set}" = set; then
  3786   $as_echo_n "(cached) " >&6
  3787 fi
  3788 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
  3789 $as_echo "$ac_cv_header_minix_config_h" >&6; }
  3790 else
  3791   # Is the header compilable?
  3792 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
  3793 $as_echo_n "checking minix/config.h usability... " >&6; }
  3794 cat >conftest.$ac_ext <<_ACEOF
  3795 /* confdefs.h.  */
  3796 _ACEOF
  3797 cat confdefs.h >>conftest.$ac_ext
  3798 cat >>conftest.$ac_ext <<_ACEOF
  3799 /* end confdefs.h.  */
  3800 $ac_includes_default
  3801 #include <minix/config.h>
  3802 _ACEOF
  3803 rm -f conftest.$ac_objext
  3804 if { (ac_try="$ac_compile"
  3805 case "(($ac_try" in
  3806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3807   *) ac_try_echo=$ac_try;;
  3808 esac
  3809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3810 $as_echo "$ac_try_echo") >&5
  3811   (eval "$ac_compile") 2>conftest.er1
  3812   ac_status=$?
  3813   grep -v '^ *+' conftest.er1 >conftest.err
  3814   rm -f conftest.er1
  3815   cat conftest.err >&5
  3816   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3817   (exit $ac_status); } && {
  3818 	 test -z "$ac_c_werror_flag" ||
  3819 	 test ! -s conftest.err
  3820        } && test -s conftest.$ac_objext; then
  3821   ac_header_compiler=yes
  3822 else
  3823   $as_echo "$as_me: failed program was:" >&5
  3824 sed 's/^/| /' conftest.$ac_ext >&5
  3825 
  3826 	ac_header_compiler=no
  3827 fi
  3828 
  3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3830 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3831 $as_echo "$ac_header_compiler" >&6; }
  3832 
  3833 # Is the header present?
  3834 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
  3835 $as_echo_n "checking minix/config.h presence... " >&6; }
  3836 cat >conftest.$ac_ext <<_ACEOF
  3837 /* confdefs.h.  */
  3838 _ACEOF
  3839 cat confdefs.h >>conftest.$ac_ext
  3840 cat >>conftest.$ac_ext <<_ACEOF
  3841 /* end confdefs.h.  */
  3842 #include <minix/config.h>
  3843 _ACEOF
  3844 if { (ac_try="$ac_cpp conftest.$ac_ext"
  3845 case "(($ac_try" in
  3846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3847   *) ac_try_echo=$ac_try;;
  3848 esac
  3849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3850 $as_echo "$ac_try_echo") >&5
  3851   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3852   ac_status=$?
  3853   grep -v '^ *+' conftest.er1 >conftest.err
  3854   rm -f conftest.er1
  3855   cat conftest.err >&5
  3856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3857   (exit $ac_status); } >/dev/null && {
  3858 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3859 	 test ! -s conftest.err
  3860        }; then
  3861   ac_header_preproc=yes
  3862 else
  3863   $as_echo "$as_me: failed program was:" >&5
  3864 sed 's/^/| /' conftest.$ac_ext >&5
  3865 
  3866   ac_header_preproc=no
  3867 fi
  3868 
  3869 rm -f conftest.err conftest.$ac_ext
  3870 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3871 $as_echo "$ac_header_preproc" >&6; }
  3872 
  3873 # So?  What about this header?
  3874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  3875   yes:no: )
  3876     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
  3877 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3878     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
  3879 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
  3880     ac_header_preproc=yes
  3881     ;;
  3882   no:yes:* )
  3883     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
  3884 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
  3885     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
  3886 $as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
  3887     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
  3888 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
  3889     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
  3890 $as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  3891     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
  3892 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
  3893     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
  3894 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
  3895 
  3896     ;;
  3897 esac
  3898 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
  3899 $as_echo_n "checking for minix/config.h... " >&6; }
  3900 if test "${ac_cv_header_minix_config_h+set}" = set; then
  3901   $as_echo_n "(cached) " >&6
  3902 else
  3903   ac_cv_header_minix_config_h=$ac_header_preproc
  3904 fi
  3905 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
  3906 $as_echo "$ac_cv_header_minix_config_h" >&6; }
  3907 
  3908 fi
  3909 if test "x$ac_cv_header_minix_config_h" = x""yes; then
  3910   MINIX=yes
  3911 else
  3912   MINIX=
  3913 fi
  3914 
  3915 
  3916   if test "$MINIX" = yes; then
  3917 
  3918 cat >>confdefs.h <<\_ACEOF
  3919 #define _POSIX_SOURCE 1
  3920 _ACEOF
  3921 
  3922 
  3923 cat >>confdefs.h <<\_ACEOF
  3924 #define _POSIX_1_SOURCE 2
  3925 _ACEOF
  3926 
  3927 
  3928 cat >>confdefs.h <<\_ACEOF
  3929 #define _MINIX 1
  3930 _ACEOF
  3931 
  3932   fi
  3933 
  3934 
  3935 
  3936   { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
  3937 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  3938 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
  3939   $as_echo_n "(cached) " >&6
  3940 else
  3941   cat >conftest.$ac_ext <<_ACEOF
  3942 /* confdefs.h.  */
  3943 _ACEOF
  3944 cat confdefs.h >>conftest.$ac_ext
  3945 cat >>conftest.$ac_ext <<_ACEOF
  3946 /* end confdefs.h.  */
  3947 
  3948 #	  define __EXTENSIONS__ 1
  3949 	  $ac_includes_default
  3950 int
  3951 main ()
  3952 {
  3953 
  3954   ;
  3955   return 0;
  3956 }
  3957 _ACEOF
  3958 rm -f conftest.$ac_objext
  3959 if { (ac_try="$ac_compile"
  3960 case "(($ac_try" in
  3961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3962   *) ac_try_echo=$ac_try;;
  3963 esac
  3964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3965 $as_echo "$ac_try_echo") >&5
  3966   (eval "$ac_compile") 2>conftest.er1
  3967   ac_status=$?
  3968   grep -v '^ *+' conftest.er1 >conftest.err
  3969   rm -f conftest.er1
  3970   cat conftest.err >&5
  3971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3972   (exit $ac_status); } && {
  3973 	 test -z "$ac_c_werror_flag" ||
  3974 	 test ! -s conftest.err
  3975        } && test -s conftest.$ac_objext; then
  3976   ac_cv_safe_to_define___extensions__=yes
  3977 else
  3978   $as_echo "$as_me: failed program was:" >&5
  3979 sed 's/^/| /' conftest.$ac_ext >&5
  3980 
  3981 	ac_cv_safe_to_define___extensions__=no
  3982 fi
  3983 
  3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3985 fi
  3986 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
  3987 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  3988   test $ac_cv_safe_to_define___extensions__ = yes &&
  3989     cat >>confdefs.h <<\_ACEOF
  3990 #define __EXTENSIONS__ 1
  3991 _ACEOF
  3992 
  3993   cat >>confdefs.h <<\_ACEOF
  3994 #define _ALL_SOURCE 1
  3995 _ACEOF
  3996 
  3997   cat >>confdefs.h <<\_ACEOF
  3998 #define _GNU_SOURCE 1
  3999 _ACEOF
  4000 
  4001   cat >>confdefs.h <<\_ACEOF
  4002 #define _POSIX_PTHREAD_SEMANTICS 1
  4003 _ACEOF
  4004 
  4005   cat >>confdefs.h <<\_ACEOF
  4006 #define _TANDEM_SOURCE 1
  4007 _ACEOF
  4008 
  4009 
  4010 ac_aux_dir=
  4011 for ac_dir in $srcdir/build-scripts; do
  4012   if test -f "$ac_dir/install-sh"; then
  4013     ac_aux_dir=$ac_dir
  4014     ac_install_sh="$ac_aux_dir/install-sh -c"
  4015     break
  4016   elif test -f "$ac_dir/install.sh"; then
  4017     ac_aux_dir=$ac_dir
  4018     ac_install_sh="$ac_aux_dir/install.sh -c"
  4019     break
  4020   elif test -f "$ac_dir/shtool"; then
  4021     ac_aux_dir=$ac_dir
  4022     ac_install_sh="$ac_aux_dir/shtool install -c"
  4023     break
  4024   fi
  4025 done
  4026 if test -z "$ac_aux_dir"; then
  4027   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&5
  4028 $as_echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&2;}
  4029    { (exit 1); exit 1; }; }
  4030 fi
  4031 
  4032 # These three variables are undocumented and unsupported,
  4033 # and are intended to be withdrawn in a future Autoconf release.
  4034 # They can cause serious problems if a builder's source tree is in a directory
  4035 # whose full name contains unusual characters.
  4036 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  4037 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  4038 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  4039 
  4040 
  4041 
  4042 #
  4043 # Making releases:
  4044 # Edit include/SDL/SDL_version.h and change the version, then:
  4045 #   SDL_MICRO_VERSION += 1;
  4046 #   SDL_INTERFACE_AGE += 1;
  4047 #   SDL_BINARY_AGE += 1;
  4048 # if any functions have been added, set SDL_INTERFACE_AGE to 0.
  4049 # if backwards compatibility has been broken,
  4050 # set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
  4051 #
  4052 SDL_MAJOR_VERSION=1
  4053 SDL_MINOR_VERSION=2
  4054 SDL_MICRO_VERSION=16
  4055 SDL_INTERFACE_AGE=5
  4056 SDL_BINARY_AGE=16
  4057 SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
  4058 
  4059 
  4060 
  4061 
  4062 
  4063 
  4064 
  4065 
  4066 # libtool versioning
  4067 case `pwd` in
  4068   *\ * | *\	*)
  4069     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4070 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4071 esac
  4072 
  4073 
  4074 
  4075 macro_version='2.2.6'
  4076 macro_revision='1.3012'
  4077 
  4078 
  4079 
  4080 
  4081 
  4082 
  4083 
  4084 
  4085 
  4086 
  4087 
  4088 
  4089 
  4090 ltmain="$ac_aux_dir/ltmain.sh"
  4091 
  4092 # Make sure we can run config.sub.
  4093 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4094   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4095 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4096    { (exit 1); exit 1; }; }
  4097 
  4098 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  4099 $as_echo_n "checking build system type... " >&6; }
  4100 if test "${ac_cv_build+set}" = set; then
  4101   $as_echo_n "(cached) " >&6
  4102 else
  4103   ac_build_alias=$build_alias
  4104 test "x$ac_build_alias" = x &&
  4105   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4106 test "x$ac_build_alias" = x &&
  4107   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4108 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4109    { (exit 1); exit 1; }; }
  4110 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4111   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4112 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4113    { (exit 1); exit 1; }; }
  4114 
  4115 fi
  4116 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4117 $as_echo "$ac_cv_build" >&6; }
  4118 case $ac_cv_build in
  4119 *-*-*) ;;
  4120 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4121 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  4122    { (exit 1); exit 1; }; };;
  4123 esac
  4124 build=$ac_cv_build
  4125 ac_save_IFS=$IFS; IFS='-'
  4126 set x $ac_cv_build
  4127 shift
  4128 build_cpu=$1
  4129 build_vendor=$2
  4130 shift; shift
  4131 # Remember, the first character of IFS is used to create $*,
  4132 # except with old shells:
  4133 build_os=$*
  4134 IFS=$ac_save_IFS
  4135 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4136 
  4137 
  4138 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  4139 $as_echo_n "checking host system type... " >&6; }
  4140 if test "${ac_cv_host+set}" = set; then
  4141   $as_echo_n "(cached) " >&6
  4142 else
  4143   if test "x$host_alias" = x; then
  4144   ac_cv_host=$ac_cv_build
  4145 else
  4146   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4147     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4148 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4149    { (exit 1); exit 1; }; }
  4150 fi
  4151 
  4152 fi
  4153 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4154 $as_echo "$ac_cv_host" >&6; }
  4155 case $ac_cv_host in
  4156 *-*-*) ;;
  4157 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4158 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  4159    { (exit 1); exit 1; }; };;
  4160 esac
  4161 host=$ac_cv_host
  4162 ac_save_IFS=$IFS; IFS='-'
  4163 set x $ac_cv_host
  4164 shift
  4165 host_cpu=$1
  4166 host_vendor=$2
  4167 shift; shift
  4168 # Remember, the first character of IFS is used to create $*,
  4169 # except with old shells:
  4170 host_os=$*
  4171 IFS=$ac_save_IFS
  4172 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4173 
  4174 
  4175 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  4176 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4177 if test "${ac_cv_path_SED+set}" = set; then
  4178   $as_echo_n "(cached) " >&6
  4179 else
  4180             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4181      for ac_i in 1 2 3 4 5 6 7; do
  4182        ac_script="$ac_script$as_nl$ac_script"
  4183      done
  4184      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4185      $as_unset ac_script || ac_script=
  4186      if test -z "$SED"; then
  4187   ac_path_SED_found=false
  4188   # Loop through the user's path and test for each of PROGNAME-LIST
  4189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4190 for as_dir in $PATH
  4191 do
  4192   IFS=$as_save_IFS
  4193   test -z "$as_dir" && as_dir=.
  4194   for ac_prog in sed gsed; do
  4195     for ac_exec_ext in '' $ac_executable_extensions; do
  4196       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4197       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  4198 # Check for GNU ac_path_SED and select it if it is found.
  4199   # Check for GNU $ac_path_SED
  4200 case `"$ac_path_SED" --version 2>&1` in
  4201 *GNU*)
  4202   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4203 *)
  4204   ac_count=0
  4205   $as_echo_n 0123456789 >"conftest.in"
  4206   while :
  4207   do
  4208     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4209     mv "conftest.tmp" "conftest.in"
  4210     cp "conftest.in" "conftest.nl"
  4211     $as_echo '' >> "conftest.nl"
  4212     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4213     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4214     ac_count=`expr $ac_count + 1`
  4215     if test $ac_count -gt ${ac_path_SED_max-0}; then
  4216       # Best one so far, save it but keep looking for a better one
  4217       ac_cv_path_SED="$ac_path_SED"
  4218       ac_path_SED_max=$ac_count
  4219     fi
  4220     # 10*(2^10) chars as input seems more than enough
  4221     test $ac_count -gt 10 && break
  4222   done
  4223   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4224 esac
  4225 
  4226       $ac_path_SED_found && break 3
  4227     done
  4228   done
  4229 done
  4230 IFS=$as_save_IFS
  4231   if test -z "$ac_cv_path_SED"; then
  4232     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  4233 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  4234    { (exit 1); exit 1; }; }
  4235   fi
  4236 else
  4237   ac_cv_path_SED=$SED
  4238 fi
  4239 
  4240 fi
  4241 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  4242 $as_echo "$ac_cv_path_SED" >&6; }
  4243  SED="$ac_cv_path_SED"
  4244   rm -f conftest.sed
  4245 
  4246 test -z "$SED" && SED=sed
  4247 Xsed="$SED -e 1s/^X//"
  4248 
  4249 
  4250 
  4251 
  4252 
  4253 
  4254 
  4255 
  4256 
  4257 
  4258 
  4259 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
  4260 $as_echo_n "checking for fgrep... " >&6; }
  4261 if test "${ac_cv_path_FGREP+set}" = set; then
  4262   $as_echo_n "(cached) " >&6
  4263 else
  4264   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4265    then ac_cv_path_FGREP="$GREP -F"
  4266    else
  4267      if test -z "$FGREP"; then
  4268   ac_path_FGREP_found=false
  4269   # Loop through the user's path and test for each of PROGNAME-LIST
  4270   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4271 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4272 do
  4273   IFS=$as_save_IFS
  4274   test -z "$as_dir" && as_dir=.
  4275   for ac_prog in fgrep; do
  4276     for ac_exec_ext in '' $ac_executable_extensions; do
  4277       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4278       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  4279 # Check for GNU ac_path_FGREP and select it if it is found.
  4280   # Check for GNU $ac_path_FGREP
  4281 case `"$ac_path_FGREP" --version 2>&1` in
  4282 *GNU*)
  4283   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4284 *)
  4285   ac_count=0
  4286   $as_echo_n 0123456789 >"conftest.in"
  4287   while :
  4288   do
  4289     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4290     mv "conftest.tmp" "conftest.in"
  4291     cp "conftest.in" "conftest.nl"
  4292     $as_echo 'FGREP' >> "conftest.nl"
  4293     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4294     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4295     ac_count=`expr $ac_count + 1`
  4296     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4297       # Best one so far, save it but keep looking for a better one
  4298       ac_cv_path_FGREP="$ac_path_FGREP"
  4299       ac_path_FGREP_max=$ac_count
  4300     fi
  4301     # 10*(2^10) chars as input seems more than enough
  4302     test $ac_count -gt 10 && break
  4303   done
  4304   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4305 esac
  4306 
  4307       $ac_path_FGREP_found && break 3
  4308     done
  4309   done
  4310 done
  4311 IFS=$as_save_IFS
  4312   if test -z "$ac_cv_path_FGREP"; then
  4313     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4314 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4315    { (exit 1); exit 1; }; }
  4316   fi
  4317 else
  4318   ac_cv_path_FGREP=$FGREP
  4319 fi
  4320 
  4321    fi
  4322 fi
  4323 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  4324 $as_echo "$ac_cv_path_FGREP" >&6; }
  4325  FGREP="$ac_cv_path_FGREP"
  4326 
  4327 
  4328 test -z "$GREP" && GREP=grep
  4329 
  4330 
  4331 
  4332 
  4333 
  4334 
  4335 
  4336 
  4337 
  4338 
  4339 
  4340 
  4341 
  4342 
  4343 
  4344 
  4345 
  4346 
  4347 
  4348 # Check whether --with-gnu-ld was given.
  4349 if test "${with_gnu_ld+set}" = set; then
  4350   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4351 else
  4352   with_gnu_ld=no
  4353 fi
  4354 
  4355 ac_prog=ld
  4356 if test "$GCC" = yes; then
  4357   # Check if gcc -print-prog-name=ld gives a path.
  4358   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  4359 $as_echo_n "checking for ld used by $CC... " >&6; }
  4360   case $host in
  4361   *-*-mingw*)
  4362     # gcc leaves a trailing carriage return which upsets mingw
  4363     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4364   *)
  4365     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4366   esac
  4367   case $ac_prog in
  4368     # Accept absolute paths.
  4369     [\\/]* | ?:[\\/]*)
  4370       re_direlt='/[^/][^/]*/\.\./'
  4371       # Canonicalize the pathname of ld
  4372       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4373       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4374 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4375       done
  4376       test -z "$LD" && LD="$ac_prog"
  4377       ;;
  4378   "")
  4379     # If it fails, then pretend we aren't using GCC.
  4380     ac_prog=ld
  4381     ;;
  4382   *)
  4383     # If it is relative, then search for the first ld in PATH.
  4384     with_gnu_ld=unknown
  4385     ;;
  4386   esac
  4387 elif test "$with_gnu_ld" = yes; then
  4388   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  4389 $as_echo_n "checking for GNU ld... " >&6; }
  4390 else
  4391   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  4392 $as_echo_n "checking for non-GNU ld... " >&6; }
  4393 fi
  4394 if test "${lt_cv_path_LD+set}" = set; then
  4395   $as_echo_n "(cached) " >&6
  4396 else
  4397   if test -z "$LD"; then
  4398   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4399   for ac_dir in $PATH; do
  4400     IFS="$lt_save_ifs"
  4401     test -z "$ac_dir" && ac_dir=.
  4402     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4403       lt_cv_path_LD="$ac_dir/$ac_prog"
  4404       # Check to see if the program is GNU ld.  I'd rather use --version,
  4405       # but apparently some variants of GNU ld only accept -v.
  4406       # Break only if it was the GNU/non-GNU ld that we prefer.
  4407       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4408       *GNU* | *'with BFD'*)
  4409 	test "$with_gnu_ld" != no && break
  4410 	;;
  4411       *)
  4412 	test "$with_gnu_ld" != yes && break
  4413 	;;
  4414       esac
  4415     fi
  4416   done
  4417   IFS="$lt_save_ifs"
  4418 else
  4419   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4420 fi
  4421 fi
  4422 
  4423 LD="$lt_cv_path_LD"
  4424 if test -n "$LD"; then
  4425   { $as_echo "$as_me:$LINENO: result: $LD" >&5
  4426 $as_echo "$LD" >&6; }
  4427 else
  4428   { $as_echo "$as_me:$LINENO: result: no" >&5
  4429 $as_echo "no" >&6; }
  4430 fi
  4431 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  4432 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  4433    { (exit 1); exit 1; }; }
  4434 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  4435 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4436 if test "${lt_cv_prog_gnu_ld+set}" = set; then
  4437   $as_echo_n "(cached) " >&6
  4438 else
  4439   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4440 case `$LD -v 2>&1 </dev/null` in
  4441 *GNU* | *'with BFD'*)
  4442   lt_cv_prog_gnu_ld=yes
  4443   ;;
  4444 *)
  4445   lt_cv_prog_gnu_ld=no
  4446   ;;
  4447 esac
  4448 fi
  4449 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  4450 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4451 with_gnu_ld=$lt_cv_prog_gnu_ld
  4452 
  4453 
  4454 
  4455 
  4456 
  4457 
  4458 
  4459 
  4460 
  4461 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  4462 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4463 if test "${lt_cv_path_NM+set}" = set; then
  4464   $as_echo_n "(cached) " >&6
  4465 else
  4466   if test -n "$NM"; then
  4467   # Let the user override the test.
  4468   lt_cv_path_NM="$NM"
  4469 else
  4470   lt_nm_to_check="${ac_tool_prefix}nm"
  4471   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4472     lt_nm_to_check="$lt_nm_to_check nm"
  4473   fi
  4474   for lt_tmp_nm in $lt_nm_to_check; do
  4475     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4476     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4477       IFS="$lt_save_ifs"
  4478       test -z "$ac_dir" && ac_dir=.
  4479       tmp_nm="$ac_dir/$lt_tmp_nm"
  4480       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4481 	# Check to see if the nm accepts a BSD-compat flag.
  4482 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4483 	#   nm: unknown option "B" ignored
  4484 	# Tru64's nm complains that /dev/null is an invalid object file
  4485 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4486 	*/dev/null* | *'Invalid file or object type'*)
  4487 	  lt_cv_path_NM="$tmp_nm -B"
  4488 	  break
  4489 	  ;;
  4490 	*)
  4491 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4492 	  */dev/null*)
  4493 	    lt_cv_path_NM="$tmp_nm -p"
  4494 	    break
  4495 	    ;;
  4496 	  *)
  4497 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4498 	    continue # so that we can try to find one that supports BSD flags
  4499 	    ;;
  4500 	  esac
  4501 	  ;;
  4502 	esac
  4503       fi
  4504     done
  4505     IFS="$lt_save_ifs"
  4506   done
  4507   : ${lt_cv_path_NM=no}
  4508 fi
  4509 fi
  4510 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  4511 $as_echo "$lt_cv_path_NM" >&6; }
  4512 if test "$lt_cv_path_NM" != "no"; then
  4513   NM="$lt_cv_path_NM"
  4514 else
  4515   # Didn't find any BSD compatible name lister, look for dumpbin.
  4516   if test -n "$ac_tool_prefix"; then
  4517   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  4518   do
  4519     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4521 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4522 $as_echo_n "checking for $ac_word... " >&6; }
  4523 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  4524   $as_echo_n "(cached) " >&6
  4525 else
  4526   if test -n "$DUMPBIN"; then
  4527   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4528 else
  4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4530 for as_dir in $PATH
  4531 do
  4532   IFS=$as_save_IFS
  4533   test -z "$as_dir" && as_dir=.
  4534   for ac_exec_ext in '' $ac_executable_extensions; do
  4535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4536     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4537     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4538     break 2
  4539   fi
  4540 done
  4541 done
  4542 IFS=$as_save_IFS
  4543 
  4544 fi
  4545 fi
  4546 DUMPBIN=$ac_cv_prog_DUMPBIN
  4547 if test -n "$DUMPBIN"; then
  4548   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  4549 $as_echo "$DUMPBIN" >&6; }
  4550 else
  4551   { $as_echo "$as_me:$LINENO: result: no" >&5
  4552 $as_echo "no" >&6; }
  4553 fi
  4554 
  4555 
  4556     test -n "$DUMPBIN" && break
  4557   done
  4558 fi
  4559 if test -z "$DUMPBIN"; then
  4560   ac_ct_DUMPBIN=$DUMPBIN
  4561   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  4562 do
  4563   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4564 set dummy $ac_prog; ac_word=$2
  4565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4566 $as_echo_n "checking for $ac_word... " >&6; }
  4567 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  4568   $as_echo_n "(cached) " >&6
  4569 else
  4570   if test -n "$ac_ct_DUMPBIN"; then
  4571   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4572 else
  4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4574 for as_dir in $PATH
  4575 do
  4576   IFS=$as_save_IFS
  4577   test -z "$as_dir" && as_dir=.
  4578   for ac_exec_ext in '' $ac_executable_extensions; do
  4579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4580     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4581     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4582     break 2
  4583   fi
  4584 done
  4585 done
  4586 IFS=$as_save_IFS
  4587 
  4588 fi
  4589 fi
  4590 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4591 if test -n "$ac_ct_DUMPBIN"; then
  4592   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  4593 $as_echo "$ac_ct_DUMPBIN" >&6; }
  4594 else
  4595   { $as_echo "$as_me:$LINENO: result: no" >&5
  4596 $as_echo "no" >&6; }
  4597 fi
  4598 
  4599 
  4600   test -n "$ac_ct_DUMPBIN" && break
  4601 done
  4602 
  4603   if test "x$ac_ct_DUMPBIN" = x; then
  4604     DUMPBIN=":"
  4605   else
  4606     case $cross_compiling:$ac_tool_warned in
  4607 yes:)
  4608 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4610 ac_tool_warned=yes ;;
  4611 esac
  4612     DUMPBIN=$ac_ct_DUMPBIN
  4613   fi
  4614 fi
  4615 
  4616 
  4617   if test "$DUMPBIN" != ":"; then
  4618     NM="$DUMPBIN"
  4619   fi
  4620 fi
  4621 test -z "$NM" && NM=nm
  4622 
  4623 
  4624 
  4625 
  4626 
  4627 
  4628 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  4629 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4630 if test "${lt_cv_nm_interface+set}" = set; then
  4631   $as_echo_n "(cached) " >&6
  4632 else
  4633   lt_cv_nm_interface="BSD nm"
  4634   echo "int some_variable = 0;" > conftest.$ac_ext
  4635   (eval echo "\"\$as_me:4635: $ac_compile\"" >&5)
  4636   (eval "$ac_compile" 2>conftest.err)
  4637   cat conftest.err >&5
  4638   (eval echo "\"\$as_me:4638: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4639   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4640   cat conftest.err >&5
  4641   (eval echo "\"\$as_me:4641: output\"" >&5)
  4642   cat conftest.out >&5
  4643   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4644     lt_cv_nm_interface="MS dumpbin"
  4645   fi
  4646   rm -f conftest*
  4647 fi
  4648 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  4649 $as_echo "$lt_cv_nm_interface" >&6; }
  4650 
  4651 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  4652 $as_echo_n "checking whether ln -s works... " >&6; }
  4653 LN_S=$as_ln_s
  4654 if test "$LN_S" = "ln -s"; then
  4655   { $as_echo "$as_me:$LINENO: result: yes" >&5
  4656 $as_echo "yes" >&6; }
  4657 else
  4658   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  4659 $as_echo "no, using $LN_S" >&6; }
  4660 fi
  4661 
  4662 # find the maximum length of command line arguments
  4663 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  4664 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4665 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  4666   $as_echo_n "(cached) " >&6
  4667 else
  4668     i=0
  4669   teststring="ABCD"
  4670 
  4671   case $build_os in
  4672   msdosdjgpp*)
  4673     # On DJGPP, this test can blow up pretty badly due to problems in libc
  4674     # (any single argument exceeding 2000 bytes causes a buffer overrun
  4675     # during glob expansion).  Even if it were fixed, the result of this
  4676     # check would be larger than it should be.
  4677     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  4678     ;;
  4679 
  4680   gnu*)
  4681     # Under GNU Hurd, this test is not required because there is
  4682     # no limit to the length of command line arguments.
  4683     # Libtool will interpret -1 as no limit whatsoever
  4684     lt_cv_sys_max_cmd_len=-1;
  4685     ;;
  4686 
  4687   cygwin* | mingw* | cegcc*)
  4688     # On Win9x/ME, this test blows up -- it succeeds, but takes
  4689     # about 5 minutes as the teststring grows exponentially.
  4690     # Worse, since 9x/ME are not pre-emptively multitasking,
  4691     # you end up with a "frozen" computer, even though with patience
  4692     # the test eventually succeeds (with a max line length of 256k).
  4693     # Instead, let's just punt: use the minimum linelength reported by
  4694     # all of the supported platforms: 8192 (on NT/2K/XP).
  4695     lt_cv_sys_max_cmd_len=8192;
  4696     ;;
  4697 
  4698   beos*)
  4699     # On BeOS, this test takes a really really long time.
  4700     # So we just punt and use a minimum line length of 8192.
  4701     lt_cv_sys_max_cmd_len=8192;
  4702     ;;
  4703 
  4704   amigaos*)
  4705     # On AmigaOS with pdksh, this test takes hours, literally.
  4706     # So we just punt and use a minimum line length of 8192.
  4707     lt_cv_sys_max_cmd_len=8192;
  4708     ;;
  4709 
  4710   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4711     # This has been around since 386BSD, at least.  Likely further.
  4712     if test -x /sbin/sysctl; then
  4713       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4714     elif test -x /usr/sbin/sysctl; then
  4715       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4716     else
  4717       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  4718     fi
  4719     # And add a safety zone
  4720     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4721     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4722     ;;
  4723 
  4724   interix*)
  4725     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4726     lt_cv_sys_max_cmd_len=196608
  4727     ;;
  4728 
  4729   osf*)
  4730     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4731     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4732     # nice to cause kernel panics so lets avoid the loop below.
  4733     # First set a reasonable default.
  4734     lt_cv_sys_max_cmd_len=16384
  4735     #
  4736     if test -x /sbin/sysconfig; then
  4737       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4738         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4739       esac
  4740     fi
  4741     ;;
  4742   sco3.2v5*)
  4743     lt_cv_sys_max_cmd_len=102400
  4744     ;;
  4745   sysv5* | sco5v6* | sysv4.2uw2*)
  4746     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4747     if test -n "$kargmax"; then
  4748       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  4749     else
  4750       lt_cv_sys_max_cmd_len=32768
  4751     fi
  4752     ;;
  4753   *)
  4754     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4755     if test -n "$lt_cv_sys_max_cmd_len"; then
  4756       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4757       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4758     else
  4759       # Make teststring a little bigger before we do anything with it.
  4760       # a 1K string should be a reasonable start.
  4761       for i in 1 2 3 4 5 6 7 8 ; do
  4762         teststring=$teststring$teststring
  4763       done
  4764       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4765       # If test is not a shell built-in, we'll probably end up computing a
  4766       # maximum length that is only half of the actual maximum length, but
  4767       # we can't tell.
  4768       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  4769 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  4770 	      test $i != 17 # 1/2 MB should be enough
  4771       do
  4772         i=`expr $i + 1`
  4773         teststring=$teststring$teststring
  4774       done
  4775       # Only check the string length outside the loop.
  4776       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4777       teststring=
  4778       # Add a significant safety factor because C++ compilers can tack on
  4779       # massive amounts of additional arguments before passing them to the
  4780       # linker.  It appears as though 1/2 is a usable value.
  4781       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4782     fi
  4783     ;;
  4784   esac
  4785 
  4786 fi
  4787 
  4788 if test -n $lt_cv_sys_max_cmd_len ; then
  4789   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  4790 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4791 else
  4792   { $as_echo "$as_me:$LINENO: result: none" >&5
  4793 $as_echo "none" >&6; }
  4794 fi
  4795 max_cmd_len=$lt_cv_sys_max_cmd_len
  4796 
  4797 
  4798 
  4799 
  4800 
  4801 
  4802 : ${CP="cp -f"}
  4803 : ${MV="mv -f"}
  4804 : ${RM="rm -f"}
  4805 
  4806 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  4807 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4808 # Try some XSI features
  4809 xsi_shell=no
  4810 ( _lt_dummy="a/b/c"
  4811   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  4812       = c,a/b,, \
  4813     && eval 'test $(( 1 + 1 )) -eq 2 \
  4814     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4815   && xsi_shell=yes
  4816 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
  4817 $as_echo "$xsi_shell" >&6; }
  4818 
  4819 
  4820 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  4821 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4822 lt_shell_append=no
  4823 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4824     >/dev/null 2>&1 \
  4825   && lt_shell_append=yes
  4826 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  4827 $as_echo "$lt_shell_append" >&6; }
  4828 
  4829 
  4830 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4831   lt_unset=unset
  4832 else
  4833   lt_unset=false
  4834 fi
  4835 
  4836 
  4837 
  4838 
  4839 
  4840 # test EBCDIC or ASCII
  4841 case `echo X|tr X '\101'` in
  4842  A) # ASCII based system
  4843     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4844   lt_SP2NL='tr \040 \012'
  4845   lt_NL2SP='tr \015\012 \040\040'
  4846   ;;
  4847  *) # EBCDIC based system
  4848   lt_SP2NL='tr \100 \n'
  4849   lt_NL2SP='tr \r\n \100\100'
  4850   ;;
  4851 esac
  4852 
  4853 
  4854 
  4855 
  4856 
  4857 
  4858 
  4859 
  4860 
  4861 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  4862 $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4863 if test "${lt_cv_ld_reload_flag+set}" = set; then
  4864   $as_echo_n "(cached) " >&6
  4865 else
  4866   lt_cv_ld_reload_flag='-r'
  4867 fi
  4868 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  4869 $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4870 reload_flag=$lt_cv_ld_reload_flag
  4871 case $reload_flag in
  4872 "" | " "*) ;;
  4873 *) reload_flag=" $reload_flag" ;;
  4874 esac
  4875 reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4876 case $host_os in
  4877   darwin*)
  4878     if test "$GCC" = yes; then
  4879       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4880     else
  4881       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4882     fi
  4883     ;;
  4884 esac
  4885 
  4886 
  4887 
  4888 
  4889 
  4890 
  4891 
  4892 
  4893 
  4894 if test -n "$ac_tool_prefix"; then
  4895   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4896 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4897 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4898 $as_echo_n "checking for $ac_word... " >&6; }
  4899 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  4900   $as_echo_n "(cached) " >&6
  4901 else
  4902   if test -n "$OBJDUMP"; then
  4903   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4904 else
  4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4906 for as_dir in $PATH
  4907 do
  4908   IFS=$as_save_IFS
  4909   test -z "$as_dir" && as_dir=.
  4910   for ac_exec_ext in '' $ac_executable_extensions; do
  4911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4912     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4913     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4914     break 2
  4915   fi
  4916 done
  4917 done
  4918 IFS=$as_save_IFS
  4919 
  4920 fi
  4921 fi
  4922 OBJDUMP=$ac_cv_prog_OBJDUMP
  4923 if test -n "$OBJDUMP"; then
  4924   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  4925 $as_echo "$OBJDUMP" >&6; }
  4926 else
  4927   { $as_echo "$as_me:$LINENO: result: no" >&5
  4928 $as_echo "no" >&6; }
  4929 fi
  4930 
  4931 
  4932 fi
  4933 if test -z "$ac_cv_prog_OBJDUMP"; then
  4934   ac_ct_OBJDUMP=$OBJDUMP
  4935   # Extract the first word of "objdump", so it can be a program name with args.
  4936 set dummy objdump; ac_word=$2
  4937 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4938 $as_echo_n "checking for $ac_word... " >&6; }
  4939 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  4940   $as_echo_n "(cached) " >&6
  4941 else
  4942   if test -n "$ac_ct_OBJDUMP"; then
  4943   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4944 else
  4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4946 for as_dir in $PATH
  4947 do
  4948   IFS=$as_save_IFS
  4949   test -z "$as_dir" && as_dir=.
  4950   for ac_exec_ext in '' $ac_executable_extensions; do
  4951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4952     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4953     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4954     break 2
  4955   fi
  4956 done
  4957 done
  4958 IFS=$as_save_IFS
  4959 
  4960 fi
  4961 fi
  4962 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4963 if test -n "$ac_ct_OBJDUMP"; then
  4964   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  4965 $as_echo "$ac_ct_OBJDUMP" >&6; }
  4966 else
  4967   { $as_echo "$as_me:$LINENO: result: no" >&5
  4968 $as_echo "no" >&6; }
  4969 fi
  4970 
  4971   if test "x$ac_ct_OBJDUMP" = x; then
  4972     OBJDUMP="false"
  4973   else
  4974     case $cross_compiling:$ac_tool_warned in
  4975 yes:)
  4976 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4978 ac_tool_warned=yes ;;
  4979 esac
  4980     OBJDUMP=$ac_ct_OBJDUMP
  4981   fi
  4982 else
  4983   OBJDUMP="$ac_cv_prog_OBJDUMP"
  4984 fi
  4985 
  4986 test -z "$OBJDUMP" && OBJDUMP=objdump
  4987 
  4988 
  4989 
  4990 
  4991 
  4992 
  4993 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  4994 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4995 if test "${lt_cv_deplibs_check_method+set}" = set; then
  4996   $as_echo_n "(cached) " >&6
  4997 else
  4998   lt_cv_file_magic_cmd='$MAGIC_CMD'
  4999 lt_cv_file_magic_test_file=
  5000 lt_cv_deplibs_check_method='unknown'
  5001 # Need to set the preceding variable on all platforms that support
  5002 # interlibrary dependencies.
  5003 # 'none' -- dependencies not supported.
  5004 # `unknown' -- same as none, but documents that we really don't know.
  5005 # 'pass_all' -- all dependencies passed with no checks.
  5006 # 'test_compile' -- check by making test program.
  5007 # 'file_magic [[regex]]' -- check by looking for files in library path
  5008 # which responds to the $file_magic_cmd with a given extended regex.
  5009 # If you have `file' or equivalent on your system and you're not sure
  5010 # whether `pass_all' will *always* work, you probably want this one.
  5011 
  5012 case $host_os in
  5013 aix[4-9]*)
  5014   lt_cv_deplibs_check_method=pass_all
  5015   ;;
  5016 
  5017 beos*)
  5018   lt_cv_deplibs_check_method=pass_all
  5019   ;;
  5020 
  5021 bsdi[45]*)
  5022   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5023   lt_cv_file_magic_cmd='/usr/bin/file -L'
  5024   lt_cv_file_magic_test_file=/shlib/libc.so
  5025   ;;
  5026 
  5027 cygwin*)
  5028   # func_win32_libid is a shell function defined in ltmain.sh
  5029   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5030   lt_cv_deplibs_check_method=pass_all
  5031   lt_cv_file_magic_cmd='func_win32_libid'
  5032   ;;
  5033 
  5034 mingw* | pw32*)
  5035   # Base MSYS/MinGW do not provide the 'file' command needed by
  5036   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5037   # unless we find 'file', for example because we are cross-compiling.
  5038   if ( file / ) >/dev/null 2>&1; then
  5039     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5040     lt_cv_file_magic_cmd='func_win32_libid'
  5041   else
  5042     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  5043     lt_cv_file_magic_cmd='$OBJDUMP -f'
  5044   fi
  5045   lt_cv_deplibs_check_method=pass_all
  5046   ;;
  5047 
  5048 cegcc)
  5049   # use the weaker test based on 'objdump'. See mingw*.
  5050   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5051   lt_cv_file_magic_cmd='$OBJDUMP -f'
  5052   ;;
  5053 
  5054 darwin* | rhapsody*)
  5055   lt_cv_deplibs_check_method=pass_all
  5056   ;;
  5057 
  5058 freebsd* | dragonfly*)
  5059   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5060     case $host_cpu in
  5061     i*86 )
  5062       # Not sure whether the presence of OpenBSD here was a mistake.
  5063       # Let's accept both of them until this is cleared up.
  5064       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5065       lt_cv_file_magic_cmd=/usr/bin/file
  5066       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5067       ;;
  5068     esac
  5069   else
  5070     lt_cv_deplibs_check_method=pass_all
  5071   fi
  5072   ;;
  5073 
  5074 gnu*)
  5075   lt_cv_deplibs_check_method=pass_all
  5076   ;;
  5077 
  5078 hpux10.20* | hpux11*)
  5079   lt_cv_file_magic_cmd=/usr/bin/file
  5080   case $host_cpu in
  5081   ia64*)
  5082     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5083     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5084     ;;
  5085   hppa*64*)
  5086     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  5087     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5088     ;;
  5089   *)
  5090     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  5091     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5092     ;;
  5093   esac
  5094   ;;
  5095 
  5096 interix[3-9]*)
  5097   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5098   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5099   ;;
  5100 
  5101 irix5* | irix6* | nonstopux*)
  5102   case $LD in
  5103   *-32|*"-32 ") libmagic=32-bit;;
  5104   *-n32|*"-n32 ") libmagic=N32;;
  5105   *-64|*"-64 ") libmagic=64-bit;;
  5106   *) libmagic=never-match;;
  5107   esac
  5108   lt_cv_deplibs_check_method=pass_all
  5109   ;;
  5110 
  5111 # This must be Linux ELF.
  5112 linux* | k*bsd*-gnu)
  5113   lt_cv_deplibs_check_method=pass_all
  5114   ;;
  5115 
  5116 netbsd*)
  5117   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5118     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5119   else
  5120     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5121   fi
  5122   ;;
  5123 
  5124 newos6*)
  5125   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5126   lt_cv_file_magic_cmd=/usr/bin/file
  5127   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5128   ;;
  5129 
  5130 *nto* | *qnx*)
  5131   lt_cv_deplibs_check_method=pass_all
  5132   ;;
  5133 
  5134 openbsd*)
  5135   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5136     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5137   else
  5138     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5139   fi
  5140   ;;
  5141 
  5142 osf3* | osf4* | osf5*)
  5143   lt_cv_deplibs_check_method=pass_all
  5144   ;;
  5145 
  5146 rdos*)
  5147   lt_cv_deplibs_check_method=pass_all
  5148   ;;
  5149 
  5150 solaris*)
  5151   lt_cv_deplibs_check_method=pass_all
  5152   ;;
  5153 
  5154 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5155   lt_cv_deplibs_check_method=pass_all
  5156   ;;
  5157 
  5158 sysv4 | sysv4.3*)
  5159   case $host_vendor in
  5160   motorola)
  5161     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  5162     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5163     ;;
  5164   ncr)
  5165     lt_cv_deplibs_check_method=pass_all
  5166     ;;
  5167   sequent)
  5168     lt_cv_file_magic_cmd='/bin/file'
  5169     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5170     ;;
  5171   sni)
  5172     lt_cv_file_magic_cmd='/bin/file'
  5173     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5174     lt_cv_file_magic_test_file=/lib/libc.so
  5175     ;;
  5176   siemens)
  5177     lt_cv_deplibs_check_method=pass_all
  5178     ;;
  5179   pc)
  5180     lt_cv_deplibs_check_method=pass_all
  5181     ;;
  5182   esac
  5183   ;;
  5184 
  5185 tpf*)
  5186   lt_cv_deplibs_check_method=pass_all
  5187   ;;
  5188 esac
  5189 
  5190 fi
  5191 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  5192 $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5193 file_magic_cmd=$lt_cv_file_magic_cmd
  5194 deplibs_check_method=$lt_cv_deplibs_check_method
  5195 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5196 
  5197 
  5198 
  5199 
  5200 
  5201 
  5202 
  5203 
  5204 
  5205 
  5206 
  5207 
  5208 if test -n "$ac_tool_prefix"; then
  5209   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5210 set dummy ${ac_tool_prefix}ar; ac_word=$2
  5211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5212 $as_echo_n "checking for $ac_word... " >&6; }
  5213 if test "${ac_cv_prog_AR+set}" = set; then
  5214   $as_echo_n "(cached) " >&6
  5215 else
  5216   if test -n "$AR"; then
  5217   ac_cv_prog_AR="$AR" # Let the user override the test.
  5218 else
  5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5220 for as_dir in $PATH
  5221 do
  5222   IFS=$as_save_IFS
  5223   test -z "$as_dir" && as_dir=.
  5224   for ac_exec_ext in '' $ac_executable_extensions; do
  5225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5226     ac_cv_prog_AR="${ac_tool_prefix}ar"
  5227     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5228     break 2
  5229   fi
  5230 done
  5231 done
  5232 IFS=$as_save_IFS
  5233 
  5234 fi
  5235 fi
  5236 AR=$ac_cv_prog_AR
  5237 if test -n "$AR"; then
  5238   { $as_echo "$as_me:$LINENO: result: $AR" >&5
  5239 $as_echo "$AR" >&6; }
  5240 else
  5241   { $as_echo "$as_me:$LINENO: result: no" >&5
  5242 $as_echo "no" >&6; }
  5243 fi
  5244 
  5245 
  5246 fi
  5247 if test -z "$ac_cv_prog_AR"; then
  5248   ac_ct_AR=$AR
  5249   # Extract the first word of "ar", so it can be a program name with args.
  5250 set dummy ar; ac_word=$2
  5251 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5252 $as_echo_n "checking for $ac_word... " >&6; }
  5253 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  5254   $as_echo_n "(cached) " >&6
  5255 else
  5256   if test -n "$ac_ct_AR"; then
  5257   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5258 else
  5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5260 for as_dir in $PATH
  5261 do
  5262   IFS=$as_save_IFS
  5263   test -z "$as_dir" && as_dir=.
  5264   for ac_exec_ext in '' $ac_executable_extensions; do
  5265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5266     ac_cv_prog_ac_ct_AR="ar"
  5267     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5268     break 2
  5269   fi
  5270 done
  5271 done
  5272 IFS=$as_save_IFS
  5273 
  5274 fi
  5275 fi
  5276 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5277 if test -n "$ac_ct_AR"; then
  5278   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  5279 $as_echo "$ac_ct_AR" >&6; }
  5280 else
  5281   { $as_echo "$as_me:$LINENO: result: no" >&5
  5282 $as_echo "no" >&6; }
  5283 fi
  5284 
  5285   if test "x$ac_ct_AR" = x; then
  5286     AR="false"
  5287   else
  5288     case $cross_compiling:$ac_tool_warned in
  5289 yes:)
  5290 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5292 ac_tool_warned=yes ;;
  5293 esac
  5294     AR=$ac_ct_AR
  5295   fi
  5296 else
  5297   AR="$ac_cv_prog_AR"
  5298 fi
  5299 
  5300 test -z "$AR" && AR=ar
  5301 test -z "$AR_FLAGS" && AR_FLAGS=cru
  5302 
  5303 
  5304 
  5305 
  5306 
  5307 
  5308 
  5309 
  5310 
  5311 
  5312 
  5313 if test -n "$ac_tool_prefix"; then
  5314   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5315 set dummy ${ac_tool_prefix}strip; ac_word=$2
  5316 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5317 $as_echo_n "checking for $ac_word... " >&6; }
  5318 if test "${ac_cv_prog_STRIP+set}" = set; then
  5319   $as_echo_n "(cached) " >&6
  5320 else
  5321   if test -n "$STRIP"; then
  5322   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5323 else
  5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5325 for as_dir in $PATH
  5326 do
  5327   IFS=$as_save_IFS
  5328   test -z "$as_dir" && as_dir=.
  5329   for ac_exec_ext in '' $ac_executable_extensions; do
  5330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5331     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5332     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5333     break 2
  5334   fi
  5335 done
  5336 done
  5337 IFS=$as_save_IFS
  5338 
  5339 fi
  5340 fi
  5341 STRIP=$ac_cv_prog_STRIP
  5342 if test -n "$STRIP"; then
  5343   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  5344 $as_echo "$STRIP" >&6; }
  5345 else
  5346   { $as_echo "$as_me:$LINENO: result: no" >&5
  5347 $as_echo "no" >&6; }
  5348 fi
  5349 
  5350 
  5351 fi
  5352 if test -z "$ac_cv_prog_STRIP"; then
  5353   ac_ct_STRIP=$STRIP
  5354   # Extract the first word of "strip", so it can be a program name with args.
  5355 set dummy strip; ac_word=$2
  5356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5357 $as_echo_n "checking for $ac_word... " >&6; }
  5358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  5359   $as_echo_n "(cached) " >&6
  5360 else
  5361   if test -n "$ac_ct_STRIP"; then
  5362   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5363 else
  5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5365 for as_dir in $PATH
  5366 do
  5367   IFS=$as_save_IFS
  5368   test -z "$as_dir" && as_dir=.
  5369   for ac_exec_ext in '' $ac_executable_extensions; do
  5370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5371     ac_cv_prog_ac_ct_STRIP="strip"
  5372     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5373     break 2
  5374   fi
  5375 done
  5376 done
  5377 IFS=$as_save_IFS
  5378 
  5379 fi
  5380 fi
  5381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5382 if test -n "$ac_ct_STRIP"; then
  5383   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  5384 $as_echo "$ac_ct_STRIP" >&6; }
  5385 else
  5386   { $as_echo "$as_me:$LINENO: result: no" >&5
  5387 $as_echo "no" >&6; }
  5388 fi
  5389 
  5390   if test "x$ac_ct_STRIP" = x; then
  5391     STRIP=":"
  5392   else
  5393     case $cross_compiling:$ac_tool_warned in
  5394 yes:)
  5395 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5397 ac_tool_warned=yes ;;
  5398 esac
  5399     STRIP=$ac_ct_STRIP
  5400   fi
  5401 else
  5402   STRIP="$ac_cv_prog_STRIP"
  5403 fi
  5404 
  5405 test -z "$STRIP" && STRIP=:
  5406 
  5407 
  5408 
  5409 
  5410 
  5411 
  5412 if test -n "$ac_tool_prefix"; then
  5413   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5414 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5416 $as_echo_n "checking for $ac_word... " >&6; }
  5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
  5418   $as_echo_n "(cached) " >&6
  5419 else
  5420   if test -n "$RANLIB"; then
  5421   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5422 else
  5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5424 for as_dir in $PATH
  5425 do
  5426   IFS=$as_save_IFS
  5427   test -z "$as_dir" && as_dir=.
  5428   for ac_exec_ext in '' $ac_executable_extensions; do
  5429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5430     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5431     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5432     break 2
  5433   fi
  5434 done
  5435 done
  5436 IFS=$as_save_IFS
  5437 
  5438 fi
  5439 fi
  5440 RANLIB=$ac_cv_prog_RANLIB
  5441 if test -n "$RANLIB"; then
  5442   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  5443 $as_echo "$RANLIB" >&6; }
  5444 else
  5445   { $as_echo "$as_me:$LINENO: result: no" >&5
  5446 $as_echo "no" >&6; }
  5447 fi
  5448 
  5449 
  5450 fi
  5451 if test -z "$ac_cv_prog_RANLIB"; then
  5452   ac_ct_RANLIB=$RANLIB
  5453   # Extract the first word of "ranlib", so it can be a program name with args.
  5454 set dummy ranlib; ac_word=$2
  5455 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5456 $as_echo_n "checking for $ac_word... " >&6; }
  5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  5458   $as_echo_n "(cached) " >&6
  5459 else
  5460   if test -n "$ac_ct_RANLIB"; then
  5461   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5462 else
  5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5464 for as_dir in $PATH
  5465 do
  5466   IFS=$as_save_IFS
  5467   test -z "$as_dir" && as_dir=.
  5468   for ac_exec_ext in '' $ac_executable_extensions; do
  5469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5470     ac_cv_prog_ac_ct_RANLIB="ranlib"
  5471     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5472     break 2
  5473   fi
  5474 done
  5475 done
  5476 IFS=$as_save_IFS
  5477 
  5478 fi
  5479 fi
  5480 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5481 if test -n "$ac_ct_RANLIB"; then
  5482   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  5483 $as_echo "$ac_ct_RANLIB" >&6; }
  5484 else
  5485   { $as_echo "$as_me:$LINENO: result: no" >&5
  5486 $as_echo "no" >&6; }
  5487 fi
  5488 
  5489   if test "x$ac_ct_RANLIB" = x; then
  5490     RANLIB=":"
  5491   else
  5492     case $cross_compiling:$ac_tool_warned in
  5493 yes:)
  5494 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5496 ac_tool_warned=yes ;;
  5497 esac
  5498     RANLIB=$ac_ct_RANLIB
  5499   fi
  5500 else
  5501   RANLIB="$ac_cv_prog_RANLIB"
  5502 fi
  5503 
  5504 test -z "$RANLIB" && RANLIB=:
  5505 
  5506 
  5507 
  5508 
  5509 
  5510 
  5511 # Determine commands to create old-style static archives.
  5512 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5513 old_postinstall_cmds='chmod 644 $oldlib'
  5514 old_postuninstall_cmds=
  5515 
  5516 if test -n "$RANLIB"; then
  5517   case $host_os in
  5518   openbsd*)
  5519     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  5520     ;;
  5521   *)
  5522     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  5523     ;;
  5524   esac
  5525   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  5526 fi
  5527 
  5528 
  5529 
  5530 
  5531 
  5532 
  5533 
  5534 
  5535 
  5536 
  5537 
  5538 
  5539 
  5540 
  5541 
  5542 
  5543 
  5544 
  5545 
  5546 
  5547 
  5548 
  5549 
  5550 
  5551 
  5552 
  5553 
  5554 
  5555 
  5556 
  5557 
  5558 
  5559 
  5560 
  5561 # If no C compiler was specified, use CC.
  5562 LTCC=${LTCC-"$CC"}
  5563 
  5564 # If no C compiler flags were specified, use CFLAGS.
  5565 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5566 
  5567 # Allow CC to be a program name with arguments.
  5568 compiler=$CC
  5569 
  5570 
  5571 # Check for command to grab the raw symbol name followed by C symbol from nm.
  5572 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  5573 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5574 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  5575   $as_echo_n "(cached) " >&6
  5576 else
  5577 
  5578 # These are sane defaults that work on at least a few old systems.
  5579 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  5580 
  5581 # Character class describing NM global symbol codes.
  5582 symcode='[BCDEGRST]'
  5583 
  5584 # Regexp to match symbols that can be accessed directly from C.
  5585 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5586 
  5587 # Define system-specific variables.
  5588 case $host_os in
  5589 aix*)
  5590   symcode='[BCDT]'
  5591   ;;
  5592 cygwin* | mingw* | pw32* | cegcc*)
  5593   symcode='[ABCDGISTW]'
  5594   ;;
  5595 hpux*)
  5596   if test "$host_cpu" = ia64; then
  5597     symcode='[ABCDEGRST]'
  5598   fi
  5599   ;;
  5600 irix* | nonstopux*)
  5601   symcode='[BCDEGRST]'
  5602   ;;
  5603 osf*)
  5604   symcode='[BCDEGQRST]'
  5605   ;;
  5606 solaris*)
  5607   symcode='[BDRT]'
  5608   ;;
  5609 sco3.2v5*)
  5610   symcode='[DT]'
  5611   ;;
  5612 sysv4.2uw2*)
  5613   symcode='[DT]'
  5614   ;;
  5615 sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5616   symcode='[ABDT]'
  5617   ;;
  5618 sysv4)
  5619   symcode='[DFNSTU]'
  5620   ;;
  5621 esac
  5622 
  5623 # If we're using GNU nm, then use its standard symbol codes.
  5624 case `$NM -V 2>&1` in
  5625 *GNU* | *'with BFD'*)
  5626   symcode='[ABCDGIRSTW]' ;;
  5627 esac
  5628 
  5629 # Transform an extracted symbol line into a proper C declaration.
  5630 # Some systems (esp. on ia64) link data and code symbols differently,
  5631 # so use this general approach.
  5632 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5633 
  5634 # Transform an extracted symbol line into symbol name and symbol address
  5635 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  5636 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  5637 
  5638 # Handle CRLF in mingw tool chain
  5639 opt_cr=
  5640 case $build_os in
  5641 mingw*)
  5642   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5643   ;;
  5644 esac
  5645 
  5646 # Try without a prefix underscore, then with it.
  5647 for ac_symprfx in "" "_"; do
  5648 
  5649   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5650   symxfrm="\\1 $ac_symprfx\\2 \\2"
  5651 
  5652   # Write the raw and C identifiers.
  5653   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5654     # Fake it for dumpbin and say T for any non-static function
  5655     # and D for any global variable.
  5656     # Also find C++ and __fastcall symbols from MSVC++,
  5657     # which start with @ or ?.
  5658     lt_cv_sys_global_symbol_pipe="$AWK '"\
  5659 "     {last_section=section; section=\$ 3};"\
  5660 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5661 "     \$ 0!~/External *\|/{next};"\
  5662 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5663 "     {if(hide[section]) next};"\
  5664 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5665 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5666 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5667 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5668 "     ' prfx=^$ac_symprfx"
  5669   else
  5670     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5671   fi
  5672 
  5673   # Check to see that the pipe works correctly.
  5674   pipe_works=no
  5675 
  5676   rm -f conftest*
  5677   cat > conftest.$ac_ext <<_LT_EOF
  5678 #ifdef __cplusplus
  5679 extern "C" {
  5680 #endif
  5681 char nm_test_var;
  5682 void nm_test_func(void);
  5683 void nm_test_func(void){}
  5684 #ifdef __cplusplus
  5685 }
  5686 #endif
  5687 int main(){nm_test_var='a';nm_test_func();return(0);}
  5688 _LT_EOF
  5689 
  5690   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5691   (eval $ac_compile) 2>&5
  5692   ac_status=$?
  5693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5694   (exit $ac_status); }; then
  5695     # Now try to grab the symbols.
  5696     nlist=conftest.nm
  5697     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  5698   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  5699   ac_status=$?
  5700   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5701   (exit $ac_status); } && test -s "$nlist"; then
  5702       # Try sorting and uniquifying the output.
  5703       if sort "$nlist" | uniq > "$nlist"T; then
  5704 	mv -f "$nlist"T "$nlist"
  5705       else
  5706 	rm -f "$nlist"T
  5707       fi
  5708 
  5709       # Make sure that we snagged all the symbols we need.
  5710       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5711 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5712 	  cat <<_LT_EOF > conftest.$ac_ext
  5713 #ifdef __cplusplus
  5714 extern "C" {
  5715 #endif
  5716 
  5717 _LT_EOF
  5718 	  # Now generate the symbol file.
  5719 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5720 
  5721 	  cat <<_LT_EOF >> conftest.$ac_ext
  5722 
  5723 /* The mapping between symbol names and symbols.  */
  5724 const struct {
  5725   const char *name;
  5726   void       *address;
  5727 }
  5728 lt__PROGRAM__LTX_preloaded_symbols[] =
  5729 {
  5730   { "@PROGRAM@", (void *) 0 },
  5731 _LT_EOF
  5732 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5733 	  cat <<\_LT_EOF >> conftest.$ac_ext
  5734   {0, (void *) 0}
  5735 };
  5736 
  5737 /* This works around a problem in FreeBSD linker */
  5738 #ifdef FREEBSD_WORKAROUND
  5739 static const void *lt_preloaded_setup() {
  5740   return lt__PROGRAM__LTX_preloaded_symbols;
  5741 }
  5742 #endif
  5743 
  5744 #ifdef __cplusplus
  5745 }
  5746 #endif
  5747 _LT_EOF
  5748 	  # Now try linking the two files.
  5749 	  mv conftest.$ac_objext conftstm.$ac_objext
  5750 	  lt_save_LIBS="$LIBS"
  5751 	  lt_save_CFLAGS="$CFLAGS"
  5752 	  LIBS="conftstm.$ac_objext"
  5753 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5754 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5755   (eval $ac_link) 2>&5
  5756   ac_status=$?
  5757   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5758   (exit $ac_status); } && test -s conftest${ac_exeext}; then
  5759 	    pipe_works=yes
  5760 	  fi
  5761 	  LIBS="$lt_save_LIBS"
  5762 	  CFLAGS="$lt_save_CFLAGS"
  5763 	else
  5764 	  echo "cannot find nm_test_func in $nlist" >&5
  5765 	fi
  5766       else
  5767 	echo "cannot find nm_test_var in $nlist" >&5
  5768       fi
  5769     else
  5770       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5771     fi
  5772   else
  5773     echo "$progname: failed program was:" >&5
  5774     cat conftest.$ac_ext >&5
  5775   fi
  5776   rm -rf conftest* conftst*
  5777 
  5778   # Do not use the global_symbol_pipe unless it works.
  5779   if test "$pipe_works" = yes; then
  5780     break
  5781   else
  5782     lt_cv_sys_global_symbol_pipe=
  5783   fi
  5784 done
  5785 
  5786 fi
  5787 
  5788 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5789   lt_cv_sys_global_symbol_to_cdecl=
  5790 fi
  5791 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5792   { $as_echo "$as_me:$LINENO: result: failed" >&5
  5793 $as_echo "failed" >&6; }
  5794 else
  5795   { $as_echo "$as_me:$LINENO: result: ok" >&5
  5796 $as_echo "ok" >&6; }
  5797 fi
  5798 
  5799 
  5800 
  5801 
  5802 
  5803 
  5804 
  5805 
  5806 
  5807 
  5808 
  5809 
  5810 
  5811 
  5812 
  5813 
  5814 
  5815 
  5816 
  5817 
  5818 
  5819 
  5820 # Check whether --enable-libtool-lock was given.
  5821 if test "${enable_libtool_lock+set}" = set; then
  5822   enableval=$enable_libtool_lock;
  5823 fi
  5824 
  5825 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5826 
  5827 # Some flags need to be propagated to the compiler or linker for good
  5828 # libtool support.
  5829 case $host in
  5830 ia64-*-hpux*)
  5831   # Find out which ABI we are using.
  5832   echo 'int i;' > conftest.$ac_ext
  5833   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5834   (eval $ac_compile) 2>&5
  5835   ac_status=$?
  5836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5837   (exit $ac_status); }; then
  5838     case `/usr/bin/file conftest.$ac_objext` in
  5839       *ELF-32*)
  5840 	HPUX_IA64_MODE="32"
  5841 	;;
  5842       *ELF-64*)
  5843 	HPUX_IA64_MODE="64"
  5844 	;;
  5845     esac
  5846   fi
  5847   rm -rf conftest*
  5848   ;;
  5849 *-*-irix6*)
  5850   # Find out which ABI we are using.
  5851   echo '#line 5851 "configure"' > conftest.$ac_ext
  5852   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5853   (eval $ac_compile) 2>&5
  5854   ac_status=$?
  5855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5856   (exit $ac_status); }; then
  5857     if test "$lt_cv_prog_gnu_ld" = yes; then
  5858       case `/usr/bin/file conftest.$ac_objext` in
  5859 	*32-bit*)
  5860 	  LD="${LD-ld} -melf32bsmip"
  5861 	  ;;
  5862 	*N32*)
  5863 	  LD="${LD-ld} -melf32bmipn32"
  5864 	  ;;
  5865 	*64-bit*)
  5866 	  LD="${LD-ld} -melf64bmip"
  5867 	;;
  5868       esac
  5869     else
  5870       case `/usr/bin/file conftest.$ac_objext` in
  5871 	*32-bit*)
  5872 	  LD="${LD-ld} -32"
  5873 	  ;;
  5874 	*N32*)
  5875 	  LD="${LD-ld} -n32"
  5876 	  ;;
  5877 	*64-bit*)
  5878 	  LD="${LD-ld} -64"
  5879 	  ;;
  5880       esac
  5881     fi
  5882   fi
  5883   rm -rf conftest*
  5884   ;;
  5885 
  5886 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5887 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5888   # Find out which ABI we are using.
  5889   echo 'int i;' > conftest.$ac_ext
  5890   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5891   (eval $ac_compile) 2>&5
  5892   ac_status=$?
  5893   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5894   (exit $ac_status); }; then
  5895     case `/usr/bin/file conftest.o` in
  5896       *32-bit*)
  5897 	case $host in
  5898 	  x86_64-*kfreebsd*-gnu)
  5899 	    LD="${LD-ld} -m elf_i386_fbsd"
  5900 	    ;;
  5901 	  x86_64-*linux*)
  5902 	    LD="${LD-ld} -m elf_i386"
  5903 	    ;;
  5904 	  ppc64-*linux*|powerpc64-*linux*)
  5905 	    LD="${LD-ld} -m elf32ppclinux"
  5906 	    ;;
  5907 	  s390x-*linux*)
  5908 	    LD="${LD-ld} -m elf_s390"
  5909 	    ;;
  5910 	  sparc64-*linux*)
  5911 	    LD="${LD-ld} -m elf32_sparc"
  5912 	    ;;
  5913 	esac
  5914 	;;
  5915       *64-bit*)
  5916 	case $host in
  5917 	  x86_64-*kfreebsd*-gnu)
  5918 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  5919 	    ;;
  5920 	  x86_64-*linux*)
  5921 	    LD="${LD-ld} -m elf_x86_64"
  5922 	    ;;
  5923 	  powerpc64le-*linux*)
  5924 	    LD="${LD-ld} -m elf64lppc"
  5925 	    ;;
  5926 	  powerpc64-*linux*)
  5927 	    LD="${LD-ld} -m elf64ppc"
  5928 	    ;;
  5929 	  s390*-*linux*|s390*-*tpf*)
  5930 	    LD="${LD-ld} -m elf64_s390"
  5931 	    ;;
  5932 	  sparc*-*linux*)
  5933 	    LD="${LD-ld} -m elf64_sparc"
  5934 	    ;;
  5935 	esac
  5936 	;;
  5937     esac
  5938   fi
  5939   rm -rf conftest*
  5940   ;;
  5941 
  5942 *-*-sco3.2v5*)
  5943   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5944   SAVE_CFLAGS="$CFLAGS"
  5945   CFLAGS="$CFLAGS -belf"
  5946   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  5947 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5948 if test "${lt_cv_cc_needs_belf+set}" = set; then
  5949   $as_echo_n "(cached) " >&6
  5950 else
  5951   ac_ext=c
  5952 ac_cpp='$CPP $CPPFLAGS'
  5953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5956 
  5957      cat >conftest.$ac_ext <<_ACEOF
  5958 /* confdefs.h.  */
  5959 _ACEOF
  5960 cat confdefs.h >>conftest.$ac_ext
  5961 cat >>conftest.$ac_ext <<_ACEOF
  5962 /* end confdefs.h.  */
  5963 
  5964 int
  5965 main ()
  5966 {
  5967 
  5968   ;
  5969   return 0;
  5970 }
  5971 _ACEOF
  5972 rm -f conftest.$ac_objext conftest$ac_exeext
  5973 if { (ac_try="$ac_link"
  5974 case "(($ac_try" in
  5975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5976   *) ac_try_echo=$ac_try;;
  5977 esac
  5978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5979 $as_echo "$ac_try_echo") >&5
  5980   (eval "$ac_link") 2>conftest.er1
  5981   ac_status=$?
  5982   grep -v '^ *+' conftest.er1 >conftest.err
  5983   rm -f conftest.er1
  5984   cat conftest.err >&5
  5985   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5986   (exit $ac_status); } && {
  5987 	 test -z "$ac_c_werror_flag" ||
  5988 	 test ! -s conftest.err
  5989        } && test -s conftest$ac_exeext && {
  5990 	 test "$cross_compiling" = yes ||
  5991 	 $as_test_x conftest$ac_exeext
  5992        }; then
  5993   lt_cv_cc_needs_belf=yes
  5994 else
  5995   $as_echo "$as_me: failed program was:" >&5
  5996 sed 's/^/| /' conftest.$ac_ext >&5
  5997 
  5998 	lt_cv_cc_needs_belf=no
  5999 fi
  6000 
  6001 rm -rf conftest.dSYM
  6002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6003       conftest$ac_exeext conftest.$ac_ext
  6004      ac_ext=c
  6005 ac_cpp='$CPP $CPPFLAGS'
  6006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6009 
  6010 fi
  6011 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  6012 $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6013   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6014     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6015     CFLAGS="$SAVE_CFLAGS"
  6016   fi
  6017   ;;
  6018 sparc*-*solaris*)
  6019   # Find out which ABI we are using.
  6020   echo 'int i;' > conftest.$ac_ext
  6021   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6022   (eval $ac_compile) 2>&5
  6023   ac_status=$?
  6024   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6025   (exit $ac_status); }; then
  6026     case `/usr/bin/file conftest.o` in
  6027     *64-bit*)
  6028       case $lt_cv_prog_gnu_ld in
  6029       yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6030       *)
  6031 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6032 	  LD="${LD-ld} -64"
  6033 	fi
  6034 	;;
  6035       esac
  6036       ;;
  6037     esac
  6038   fi
  6039   rm -rf conftest*
  6040   ;;
  6041 esac
  6042 
  6043 need_locks="$enable_libtool_lock"
  6044 
  6045 
  6046   case $host_os in
  6047     rhapsody* | darwin*)
  6048     if test -n "$ac_tool_prefix"; then
  6049   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6050 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6052 $as_echo_n "checking for $ac_word... " >&6; }
  6053 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  6054   $as_echo_n "(cached) " >&6
  6055 else
  6056   if test -n "$DSYMUTIL"; then
  6057   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6058 else
  6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6060 for as_dir in $PATH
  6061 do
  6062   IFS=$as_save_IFS
  6063   test -z "$as_dir" && as_dir=.
  6064   for ac_exec_ext in '' $ac_executable_extensions; do
  6065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6066     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6067     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6068     break 2
  6069   fi
  6070 done
  6071 done
  6072 IFS=$as_save_IFS
  6073 
  6074 fi
  6075 fi
  6076 DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6077 if test -n "$DSYMUTIL"; then
  6078   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  6079 $as_echo "$DSYMUTIL" >&6; }
  6080 else
  6081   { $as_echo "$as_me:$LINENO: result: no" >&5
  6082 $as_echo "no" >&6; }
  6083 fi
  6084 
  6085 
  6086 fi
  6087 if test -z "$ac_cv_prog_DSYMUTIL"; then
  6088   ac_ct_DSYMUTIL=$DSYMUTIL
  6089   # Extract the first word of "dsymutil", so it can be a program name with args.
  6090 set dummy dsymutil; ac_word=$2
  6091 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6092 $as_echo_n "checking for $ac_word... " >&6; }
  6093 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  6094   $as_echo_n "(cached) " >&6
  6095 else
  6096   if test -n "$ac_ct_DSYMUTIL"; then
  6097   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6098 else
  6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6100 for as_dir in $PATH
  6101 do
  6102   IFS=$as_save_IFS
  6103   test -z "$as_dir" && as_dir=.
  6104   for ac_exec_ext in '' $ac_executable_extensions; do
  6105   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6106     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6107     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6108     break 2
  6109   fi
  6110 done
  6111 done
  6112 IFS=$as_save_IFS
  6113 
  6114 fi
  6115 fi
  6116 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6117 if test -n "$ac_ct_DSYMUTIL"; then
  6118   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  6119 $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6120 else
  6121   { $as_echo "$as_me:$LINENO: result: no" >&5
  6122 $as_echo "no" >&6; }
  6123 fi
  6124 
  6125   if test "x$ac_ct_DSYMUTIL" = x; then
  6126     DSYMUTIL=":"
  6127   else
  6128     case $cross_compiling:$ac_tool_warned in
  6129 yes:)
  6130 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6132 ac_tool_warned=yes ;;
  6133 esac
  6134     DSYMUTIL=$ac_ct_DSYMUTIL
  6135   fi
  6136 else
  6137   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6138 fi
  6139 
  6140     if test -n "$ac_tool_prefix"; then
  6141   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6142 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6144 $as_echo_n "checking for $ac_word... " >&6; }
  6145 if test "${ac_cv_prog_NMEDIT+set}" = set; then
  6146   $as_echo_n "(cached) " >&6
  6147 else
  6148   if test -n "$NMEDIT"; then
  6149   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6150 else
  6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6152 for as_dir in $PATH
  6153 do
  6154   IFS=$as_save_IFS
  6155   test -z "$as_dir" && as_dir=.
  6156   for ac_exec_ext in '' $ac_executable_extensions; do
  6157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6158     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6160     break 2
  6161   fi
  6162 done
  6163 done
  6164 IFS=$as_save_IFS
  6165 
  6166 fi
  6167 fi
  6168 NMEDIT=$ac_cv_prog_NMEDIT
  6169 if test -n "$NMEDIT"; then
  6170   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
  6171 $as_echo "$NMEDIT" >&6; }
  6172 else
  6173   { $as_echo "$as_me:$LINENO: result: no" >&5
  6174 $as_echo "no" >&6; }
  6175 fi
  6176 
  6177 
  6178 fi
  6179 if test -z "$ac_cv_prog_NMEDIT"; then
  6180   ac_ct_NMEDIT=$NMEDIT
  6181   # Extract the first word of "nmedit", so it can be a program name with args.
  6182 set dummy nmedit; ac_word=$2
  6183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6184 $as_echo_n "checking for $ac_word... " >&6; }
  6185 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  6186   $as_echo_n "(cached) " >&6
  6187 else
  6188   if test -n "$ac_ct_NMEDIT"; then
  6189   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6190 else
  6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6192 for as_dir in $PATH
  6193 do
  6194   IFS=$as_save_IFS
  6195   test -z "$as_dir" && as_dir=.
  6196   for ac_exec_ext in '' $ac_executable_extensions; do
  6197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6198     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6199     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6200     break 2
  6201   fi
  6202 done
  6203 done
  6204 IFS=$as_save_IFS
  6205 
  6206 fi
  6207 fi
  6208 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6209 if test -n "$ac_ct_NMEDIT"; then
  6210   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  6211 $as_echo "$ac_ct_NMEDIT" >&6; }
  6212 else
  6213   { $as_echo "$as_me:$LINENO: result: no" >&5
  6214 $as_echo "no" >&6; }
  6215 fi
  6216 
  6217   if test "x$ac_ct_NMEDIT" = x; then
  6218     NMEDIT=":"
  6219   else
  6220     case $cross_compiling:$ac_tool_warned in
  6221 yes:)
  6222 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6224 ac_tool_warned=yes ;;
  6225 esac
  6226     NMEDIT=$ac_ct_NMEDIT
  6227   fi
  6228 else
  6229   NMEDIT="$ac_cv_prog_NMEDIT"
  6230 fi
  6231 
  6232     if test -n "$ac_tool_prefix"; then
  6233   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6234 set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6235 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6236 $as_echo_n "checking for $ac_word... " >&6; }
  6237 if test "${ac_cv_prog_LIPO+set}" = set; then
  6238   $as_echo_n "(cached) " >&6
  6239 else
  6240   if test -n "$LIPO"; then
  6241   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6242 else
  6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6244 for as_dir in $PATH
  6245 do
  6246   IFS=$as_save_IFS
  6247   test -z "$as_dir" && as_dir=.
  6248   for ac_exec_ext in '' $ac_executable_extensions; do
  6249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6250     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6251     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6252     break 2
  6253   fi
  6254 done
  6255 done
  6256 IFS=$as_save_IFS
  6257 
  6258 fi
  6259 fi
  6260 LIPO=$ac_cv_prog_LIPO
  6261 if test -n "$LIPO"; then
  6262   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
  6263 $as_echo "$LIPO" >&6; }
  6264 else
  6265   { $as_echo "$as_me:$LINENO: result: no" >&5
  6266 $as_echo "no" >&6; }
  6267 fi
  6268 
  6269 
  6270 fi
  6271 if test -z "$ac_cv_prog_LIPO"; then
  6272   ac_ct_LIPO=$LIPO
  6273   # Extract the first word of "lipo", so it can be a program name with args.
  6274 set dummy lipo; ac_word=$2
  6275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6276 $as_echo_n "checking for $ac_word... " >&6; }
  6277 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  6278   $as_echo_n "(cached) " >&6
  6279 else
  6280   if test -n "$ac_ct_LIPO"; then
  6281   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6282 else
  6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6284 for as_dir in $PATH
  6285 do
  6286   IFS=$as_save_IFS
  6287   test -z "$as_dir" && as_dir=.
  6288   for ac_exec_ext in '' $ac_executable_extensions; do
  6289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6290     ac_cv_prog_ac_ct_LIPO="lipo"
  6291     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6292     break 2
  6293   fi
  6294 done
  6295 done
  6296 IFS=$as_save_IFS
  6297 
  6298 fi
  6299 fi
  6300 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6301 if test -n "$ac_ct_LIPO"; then
  6302   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  6303 $as_echo "$ac_ct_LIPO" >&6; }
  6304 else
  6305   { $as_echo "$as_me:$LINENO: result: no" >&5
  6306 $as_echo "no" >&6; }
  6307 fi
  6308 
  6309   if test "x$ac_ct_LIPO" = x; then
  6310     LIPO=":"
  6311   else
  6312     case $cross_compiling:$ac_tool_warned in
  6313 yes:)
  6314 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6316 ac_tool_warned=yes ;;
  6317 esac
  6318     LIPO=$ac_ct_LIPO
  6319   fi
  6320 else
  6321   LIPO="$ac_cv_prog_LIPO"
  6322 fi
  6323 
  6324     if test -n "$ac_tool_prefix"; then
  6325   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6326 set dummy ${ac_tool_prefix}otool; ac_word=$2
  6327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6328 $as_echo_n "checking for $ac_word... " >&6; }
  6329 if test "${ac_cv_prog_OTOOL+set}" = set; then
  6330   $as_echo_n "(cached) " >&6
  6331 else
  6332   if test -n "$OTOOL"; then
  6333   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6334 else
  6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6336 for as_dir in $PATH
  6337 do
  6338   IFS=$as_save_IFS
  6339   test -z "$as_dir" && as_dir=.
  6340   for ac_exec_ext in '' $ac_executable_extensions; do
  6341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6342     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6343     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6344     break 2
  6345   fi
  6346 done
  6347 done
  6348 IFS=$as_save_IFS
  6349 
  6350 fi
  6351 fi
  6352 OTOOL=$ac_cv_prog_OTOOL
  6353 if test -n "$OTOOL"; then
  6354   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
  6355 $as_echo "$OTOOL" >&6; }
  6356 else
  6357   { $as_echo "$as_me:$LINENO: result: no" >&5
  6358 $as_echo "no" >&6; }
  6359 fi
  6360 
  6361 
  6362 fi
  6363 if test -z "$ac_cv_prog_OTOOL"; then
  6364   ac_ct_OTOOL=$OTOOL
  6365   # Extract the first word of "otool", so it can be a program name with args.
  6366 set dummy otool; ac_word=$2
  6367 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6368 $as_echo_n "checking for $ac_word... " >&6; }
  6369 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  6370   $as_echo_n "(cached) " >&6
  6371 else
  6372   if test -n "$ac_ct_OTOOL"; then
  6373   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6374 else
  6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6376 for as_dir in $PATH
  6377 do
  6378   IFS=$as_save_IFS
  6379   test -z "$as_dir" && as_dir=.
  6380   for ac_exec_ext in '' $ac_executable_extensions; do
  6381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6382     ac_cv_prog_ac_ct_OTOOL="otool"
  6383     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6384     break 2
  6385   fi
  6386 done
  6387 done
  6388 IFS=$as_save_IFS
  6389 
  6390 fi
  6391 fi
  6392 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6393 if test -n "$ac_ct_OTOOL"; then
  6394   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  6395 $as_echo "$ac_ct_OTOOL" >&6; }
  6396 else
  6397   { $as_echo "$as_me:$LINENO: result: no" >&5
  6398 $as_echo "no" >&6; }
  6399 fi
  6400 
  6401   if test "x$ac_ct_OTOOL" = x; then
  6402     OTOOL=":"
  6403   else
  6404     case $cross_compiling:$ac_tool_warned in
  6405 yes:)
  6406 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6408 ac_tool_warned=yes ;;
  6409 esac
  6410     OTOOL=$ac_ct_OTOOL
  6411   fi
  6412 else
  6413   OTOOL="$ac_cv_prog_OTOOL"
  6414 fi
  6415 
  6416     if test -n "$ac_tool_prefix"; then
  6417   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6418 set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6419 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6420 $as_echo_n "checking for $ac_word... " >&6; }
  6421 if test "${ac_cv_prog_OTOOL64+set}" = set; then
  6422   $as_echo_n "(cached) " >&6
  6423 else
  6424   if test -n "$OTOOL64"; then
  6425   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6426 else
  6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6428 for as_dir in $PATH
  6429 do
  6430   IFS=$as_save_IFS
  6431   test -z "$as_dir" && as_dir=.
  6432   for ac_exec_ext in '' $ac_executable_extensions; do
  6433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6434     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6435     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6436     break 2
  6437   fi
  6438 done
  6439 done
  6440 IFS=$as_save_IFS
  6441 
  6442 fi
  6443 fi
  6444 OTOOL64=$ac_cv_prog_OTOOL64
  6445 if test -n "$OTOOL64"; then
  6446   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
  6447 $as_echo "$OTOOL64" >&6; }
  6448 else
  6449   { $as_echo "$as_me:$LINENO: result: no" >&5
  6450 $as_echo "no" >&6; }
  6451 fi
  6452 
  6453 
  6454 fi
  6455 if test -z "$ac_cv_prog_OTOOL64"; then
  6456   ac_ct_OTOOL64=$OTOOL64
  6457   # Extract the first word of "otool64", so it can be a program name with args.
  6458 set dummy otool64; ac_word=$2
  6459 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6460 $as_echo_n "checking for $ac_word... " >&6; }
  6461 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  6462   $as_echo_n "(cached) " >&6
  6463 else
  6464   if test -n "$ac_ct_OTOOL64"; then
  6465   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6466 else
  6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6468 for as_dir in $PATH
  6469 do
  6470   IFS=$as_save_IFS
  6471   test -z "$as_dir" && as_dir=.
  6472   for ac_exec_ext in '' $ac_executable_extensions; do
  6473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6474     ac_cv_prog_ac_ct_OTOOL64="otool64"
  6475     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6476     break 2
  6477   fi
  6478 done
  6479 done
  6480 IFS=$as_save_IFS
  6481 
  6482 fi
  6483 fi
  6484 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6485 if test -n "$ac_ct_OTOOL64"; then
  6486   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  6487 $as_echo "$ac_ct_OTOOL64" >&6; }
  6488 else
  6489   { $as_echo "$as_me:$LINENO: result: no" >&5
  6490 $as_echo "no" >&6; }
  6491 fi
  6492 
  6493   if test "x$ac_ct_OTOOL64" = x; then
  6494     OTOOL64=":"
  6495   else
  6496     case $cross_compiling:$ac_tool_warned in
  6497 yes:)
  6498 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6500 ac_tool_warned=yes ;;
  6501 esac
  6502     OTOOL64=$ac_ct_OTOOL64
  6503   fi
  6504 else
  6505   OTOOL64="$ac_cv_prog_OTOOL64"
  6506 fi
  6507 
  6508 
  6509 
  6510 
  6511 
  6512 
  6513 
  6514 
  6515 
  6516 
  6517 
  6518 
  6519 
  6520 
  6521 
  6522 
  6523 
  6524 
  6525 
  6526 
  6527 
  6528 
  6529 
  6530 
  6531 
  6532 
  6533 
  6534     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  6535 $as_echo_n "checking for -single_module linker flag... " >&6; }
  6536 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  6537   $as_echo_n "(cached) " >&6
  6538 else
  6539   lt_cv_apple_cc_single_mod=no
  6540       if test -z "${LT_MULTI_MODULE}"; then
  6541 	# By default we will add the -single_module flag. You can override
  6542 	# by either setting the environment variable LT_MULTI_MODULE
  6543 	# non-empty at configure time, or by adding -multi_module to the
  6544 	# link flags.
  6545 	rm -rf libconftest.dylib*
  6546 	echo "int foo(void){return 1;}" > conftest.c
  6547 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6548 -dynamiclib -Wl,-single_module conftest.c" >&5
  6549 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6550 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6551         _lt_result=$?
  6552 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  6553 	  lt_cv_apple_cc_single_mod=yes
  6554 	else
  6555 	  cat conftest.err >&5
  6556 	fi
  6557 	rm -rf libconftest.dylib*
  6558 	rm -f conftest.*
  6559       fi
  6560 fi
  6561 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  6562 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6563     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  6564 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6565 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  6566   $as_echo_n "(cached) " >&6
  6567 else
  6568   lt_cv_ld_exported_symbols_list=no
  6569       save_LDFLAGS=$LDFLAGS
  6570       echo "_main" > conftest.sym
  6571       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6572       cat >conftest.$ac_ext <<_ACEOF
  6573 /* confdefs.h.  */
  6574 _ACEOF
  6575 cat confdefs.h >>conftest.$ac_ext
  6576 cat >>conftest.$ac_ext <<_ACEOF
  6577 /* end confdefs.h.  */
  6578 
  6579 int
  6580 main ()
  6581 {
  6582 
  6583   ;
  6584   return 0;
  6585 }
  6586 _ACEOF
  6587 rm -f conftest.$ac_objext conftest$ac_exeext
  6588 if { (ac_try="$ac_link"
  6589 case "(($ac_try" in
  6590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6591   *) ac_try_echo=$ac_try;;
  6592 esac
  6593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6594 $as_echo "$ac_try_echo") >&5
  6595   (eval "$ac_link") 2>conftest.er1
  6596   ac_status=$?
  6597   grep -v '^ *+' conftest.er1 >conftest.err
  6598   rm -f conftest.er1
  6599   cat conftest.err >&5
  6600   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6601   (exit $ac_status); } && {
  6602 	 test -z "$ac_c_werror_flag" ||
  6603 	 test ! -s conftest.err
  6604        } && test -s conftest$ac_exeext && {
  6605 	 test "$cross_compiling" = yes ||
  6606 	 $as_test_x conftest$ac_exeext
  6607        }; then
  6608   lt_cv_ld_exported_symbols_list=yes
  6609 else
  6610   $as_echo "$as_me: failed program was:" >&5
  6611 sed 's/^/| /' conftest.$ac_ext >&5
  6612 
  6613 	lt_cv_ld_exported_symbols_list=no
  6614 fi
  6615 
  6616 rm -rf conftest.dSYM
  6617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6618       conftest$ac_exeext conftest.$ac_ext
  6619 	LDFLAGS="$save_LDFLAGS"
  6620 
  6621 fi
  6622 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  6623 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6624     case $host_os in
  6625     rhapsody* | darwin1.[012])
  6626       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6627     darwin1.*)
  6628       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6629     darwin*) # darwin 5.x on
  6630       # if running on 10.5 or later, the deployment target defaults
  6631       # to the OS version, if on x86, and 10.4, the deployment
  6632       # target defaults to 10.4. Don't you love it?
  6633       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6634 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6635 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6636 	10.[012]*)
  6637 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6638 	10.*)
  6639 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6640       esac
  6641     ;;
  6642   esac
  6643     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  6644       _lt_dar_single_mod='$single_module'
  6645     fi
  6646     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  6647       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  6648     else
  6649       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  6650     fi
  6651     if test "$DSYMUTIL" != ":"; then
  6652       _lt_dsymutil='~$DSYMUTIL $lib || :'
  6653     else
  6654       _lt_dsymutil=
  6655     fi
  6656     ;;
  6657   esac
  6658 
  6659 
  6660 for ac_header in dlfcn.h
  6661 do
  6662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6663 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6664 $as_echo_n "checking for $ac_header... " >&6; }
  6665 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then