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