configure
author Sam Lantinga <slouken@libsdl.org>
Fri, 11 Mar 2011 14:15:25 -0800
changeset 5474 c2a1f62433e1
parent 5471 179adad3ae6f
child 5475 9c07ec632b24
permissions -rwxr-xr-x
Updated configure with newer autoconf
     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-3dnow          use MMX assembly routines [default=yes]
  1518   --enable-sse            use SSE assembly routines [default=yes]
  1519   --enable-sse2           use SSE2 assembly routines [default=no]
  1520   --enable-altivec        use Altivec assembly routines [default=yes]
  1521   --enable-oss            support the OSS audio API [default=yes]
  1522   --enable-alsa           support the ALSA audio API [default=yes]
  1523   --disable-alsatest      Do not try to compile and run a test Alsa program
  1524   --enable-alsa-shared    dynamically load ALSA audio support [default=yes]
  1525   --enable-esd            support the Enlightened Sound Daemon [default=yes]
  1526   --disable-esdtest       Do not try to compile and run a test ESD program
  1527   --enable-esd-shared     dynamically load ESD audio support [default=yes]
  1528   --enable-pulseaudio     use PulseAudio [default=yes]
  1529   --enable-pulseaudio-shared
  1530                           dynamically load PulseAudio support [default=yes]
  1531   --enable-arts           support the Analog Real Time Synthesizer
  1532                           [default=yes]
  1533   --enable-arts-shared    dynamically load aRts audio support [default=yes]
  1534   --enable-nas            support the NAS audio API [default=yes]
  1535   --enable-nas-shared     dynamically load NAS audio support [default=yes]
  1536   --enable-diskaudio      support the disk writer audio driver [default=yes]
  1537   --enable-dummyaudio     support the dummy audio driver [default=yes]
  1538   --enable-video-x11      use X11 video driver [default=yes]
  1539   --enable-x11-shared     dynamically load X11 support [default=maybe]
  1540   --enable-video-x11-xcursor
  1541                           enable X11 Xcursor support [default=yes]
  1542   --enable-video-x11-xinerama
  1543                           enable X11 Xinerama support [default=yes]
  1544   --enable-video-x11-xinput
  1545                           enable X11 XInput extension for manymouse, tablets,
  1546                           etc [default=yes]
  1547   --enable-video-x11-xrandr
  1548                           enable X11 Xrandr extension for fullscreen
  1549                           [default=yes]
  1550   --enable-video-x11-scrnsaver
  1551                           enable X11 screensaver extension [default=yes]
  1552   --enable-video-x11-xshape
  1553                           enable X11 XShape support [default=yes]
  1554   --enable-video-x11-vm   use X11 VM extension for fullscreen [default=yes]
  1555   --enable-video-cocoa    use Cocoa video driver [default=yes]
  1556   --enable-video-directfb use DirectFB video driver [default=no]
  1557   --enable-directfb-shared
  1558                           dynamically load directfb support [default=yes]
  1559   --enable-fusionsound    use FusionSound audio driver [default=no]
  1560   --enable-fusionsound-shared
  1561                           dynamically load fusionsound audio support
  1562                           [default=yes]
  1563   --enable-video-dummy    use dummy video driver [default=yes]
  1564   --enable-video-opengl   include OpenGL support [default=yes]
  1565   --enable-input-events   use Linux 2.4 unified input interface
  1566                           [default=yes]
  1567   --enable-input-tslib    use the Touchscreen library for input
  1568                           [default=yes]
  1569   --enable-pthreads       use POSIX threads for multi-threading
  1570                           [default=yes]
  1571   --enable-pthread-sem    use pthread semaphores [default=yes]
  1572   --enable-directx        use DirectX for Windows audio/video [default=yes]
  1573   --enable-sdl-dlopen     use dlopen for shared object loading [default=yes]
  1574   --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
  1575                           UNIX [default=no]
  1576   --enable-rpath          use an rpath when linking SDL [default=yes]
  1577   --enable-render-d3d     enable the Direct3D render driver [default=yes]
  1578 
  1579 Optional Packages:
  1580   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1581   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1582   --with-pic              try to use only PIC/non-PIC objects [default=use
  1583                           both]
  1584   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1585   --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
  1586   --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
  1587   --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
  1588   --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
  1589   --with-x                use the X Window System
  1590 
  1591 Some influential environment variables:
  1592   CC          C compiler command
  1593   CFLAGS      C compiler flags
  1594   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1595               nonstandard directory <lib dir>
  1596   LIBS        libraries to pass to the linker, e.g. -l<library>
  1597   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1598               you have headers in a nonstandard directory <include dir>
  1599   CPP         C preprocessor
  1600   CXX         C++ compiler command
  1601   CXXFLAGS    C++ compiler flags
  1602   CXXCPP      C++ preprocessor
  1603   XMKMF       Path to xmkmf, Makefile generator for X Window System
  1604 
  1605 Use these variables to override the choices made by `configure' or to help
  1606 it to find libraries and programs with nonstandard names/locations.
  1607 
  1608 _ACEOF
  1609 ac_status=$?
  1610 fi
  1611 
  1612 if test "$ac_init_help" = "recursive"; then
  1613   # If there are subdirs, report their specific --help.
  1614   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1615     test -d "$ac_dir" || continue
  1616     ac_builddir=.
  1617 
  1618 case "$ac_dir" in
  1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1620 *)
  1621   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1622   # A ".." for each directory in $ac_dir_suffix.
  1623   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1624   case $ac_top_builddir_sub in
  1625   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1626   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1627   esac ;;
  1628 esac
  1629 ac_abs_top_builddir=$ac_pwd
  1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1631 # for backward compatibility:
  1632 ac_top_builddir=$ac_top_build_prefix
  1633 
  1634 case $srcdir in
  1635   .)  # We are building in place.
  1636     ac_srcdir=.
  1637     ac_top_srcdir=$ac_top_builddir_sub
  1638     ac_abs_top_srcdir=$ac_pwd ;;
  1639   [\\/]* | ?:[\\/]* )  # Absolute name.
  1640     ac_srcdir=$srcdir$ac_dir_suffix;
  1641     ac_top_srcdir=$srcdir
  1642     ac_abs_top_srcdir=$srcdir ;;
  1643   *) # Relative name.
  1644     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1645     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1646     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1647 esac
  1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1649 
  1650     cd "$ac_dir" || { ac_status=$?; continue; }
  1651     # Check for guested configure.
  1652     if test -f "$ac_srcdir/configure.gnu"; then
  1653       echo &&
  1654       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1655     elif test -f "$ac_srcdir/configure"; then
  1656       echo &&
  1657       $SHELL "$ac_srcdir/configure" --help=recursive
  1658     else
  1659       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1660     fi || ac_status=$?
  1661     cd "$ac_pwd" || { ac_status=$?; break; }
  1662   done
  1663 fi
  1664 
  1665 test -n "$ac_init_help" && exit $ac_status
  1666 if $ac_init_version; then
  1667   cat <<\_ACEOF
  1668 configure
  1669 generated by GNU Autoconf 2.61
  1670 
  1671 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1672 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1673 This configure script is free software; the Free Software Foundation
  1674 gives unlimited permission to copy, distribute and modify it.
  1675 _ACEOF
  1676   exit
  1677 fi
  1678 cat >config.log <<_ACEOF
  1679 This file contains any messages produced by compilers while
  1680 running configure, to aid debugging if configure makes a mistake.
  1681 
  1682 It was created by $as_me, which was
  1683 generated by GNU Autoconf 2.61.  Invocation command line was
  1684 
  1685   $ $0 $@
  1686 
  1687 _ACEOF
  1688 exec 5>>config.log
  1689 {
  1690 cat <<_ASUNAME
  1691 ## --------- ##
  1692 ## Platform. ##
  1693 ## --------- ##
  1694 
  1695 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1696 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1697 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1698 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1699 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1700 
  1701 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1702 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1703 
  1704 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1705 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1706 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1707 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1708 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1709 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1710 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1711 
  1712 _ASUNAME
  1713 
  1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1715 for as_dir in $PATH
  1716 do
  1717   IFS=$as_save_IFS
  1718   test -z "$as_dir" && as_dir=.
  1719   echo "PATH: $as_dir"
  1720 done
  1721 IFS=$as_save_IFS
  1722 
  1723 } >&5
  1724 
  1725 cat >&5 <<_ACEOF
  1726 
  1727 
  1728 ## ----------- ##
  1729 ## Core tests. ##
  1730 ## ----------- ##
  1731 
  1732 _ACEOF
  1733 
  1734 
  1735 # Keep a trace of the command line.
  1736 # Strip out --no-create and --no-recursion so they do not pile up.
  1737 # Strip out --silent because we don't want to record it for future runs.
  1738 # Also quote any args containing shell meta-characters.
  1739 # Make two passes to allow for proper duplicate-argument suppression.
  1740 ac_configure_args=
  1741 ac_configure_args0=
  1742 ac_configure_args1=
  1743 ac_must_keep_next=false
  1744 for ac_pass in 1 2
  1745 do
  1746   for ac_arg
  1747   do
  1748     case $ac_arg in
  1749     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1750     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1751     | -silent | --silent | --silen | --sile | --sil)
  1752       continue ;;
  1753     *\'*)
  1754       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1755     esac
  1756     case $ac_pass in
  1757     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1758     2)
  1759       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1760       if test $ac_must_keep_next = true; then
  1761 	ac_must_keep_next=false # Got value, back to normal.
  1762       else
  1763 	case $ac_arg in
  1764 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1765 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1766 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1767 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1768 	    case "$ac_configure_args0 " in
  1769 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1770 	    esac
  1771 	    ;;
  1772 	  -* ) ac_must_keep_next=true ;;
  1773 	esac
  1774       fi
  1775       ac_configure_args="$ac_configure_args '$ac_arg'"
  1776       ;;
  1777     esac
  1778   done
  1779 done
  1780 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1781 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1782 
  1783 # When interrupted or exit'd, cleanup temporary files, and complete
  1784 # config.log.  We remove comments because anyway the quotes in there
  1785 # would cause problems or look ugly.
  1786 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1787 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1788 trap 'exit_status=$?
  1789   # Save into config.log some information that might help in debugging.
  1790   {
  1791     echo
  1792 
  1793     cat <<\_ASBOX
  1794 ## ---------------- ##
  1795 ## Cache variables. ##
  1796 ## ---------------- ##
  1797 _ASBOX
  1798     echo
  1799     # The following way of writing the cache mishandles newlines in values,
  1800 (
  1801   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1802     eval ac_val=\$$ac_var
  1803     case $ac_val in #(
  1804     *${as_nl}*)
  1805       case $ac_var in #(
  1806       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1807 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1808       esac
  1809       case $ac_var in #(
  1810       _ | IFS | as_nl) ;; #(
  1811       *) $as_unset $ac_var ;;
  1812       esac ;;
  1813     esac
  1814   done
  1815   (set) 2>&1 |
  1816     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1817     *${as_nl}ac_space=\ *)
  1818       sed -n \
  1819 	"s/'\''/'\''\\\\'\'''\''/g;
  1820 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1821       ;; #(
  1822     *)
  1823       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1824       ;;
  1825     esac |
  1826     sort
  1827 )
  1828     echo
  1829 
  1830     cat <<\_ASBOX
  1831 ## ----------------- ##
  1832 ## Output variables. ##
  1833 ## ----------------- ##
  1834 _ASBOX
  1835     echo
  1836     for ac_var in $ac_subst_vars
  1837     do
  1838       eval ac_val=\$$ac_var
  1839       case $ac_val in
  1840       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1841       esac
  1842       echo "$ac_var='\''$ac_val'\''"
  1843     done | sort
  1844     echo
  1845 
  1846     if test -n "$ac_subst_files"; then
  1847       cat <<\_ASBOX
  1848 ## ------------------- ##
  1849 ## File substitutions. ##
  1850 ## ------------------- ##
  1851 _ASBOX
  1852       echo
  1853       for ac_var in $ac_subst_files
  1854       do
  1855 	eval ac_val=\$$ac_var
  1856 	case $ac_val in
  1857 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1858 	esac
  1859 	echo "$ac_var='\''$ac_val'\''"
  1860       done | sort
  1861       echo
  1862     fi
  1863 
  1864     if test -s confdefs.h; then
  1865       cat <<\_ASBOX
  1866 ## ----------- ##
  1867 ## confdefs.h. ##
  1868 ## ----------- ##
  1869 _ASBOX
  1870       echo
  1871       cat confdefs.h
  1872       echo
  1873     fi
  1874     test "$ac_signal" != 0 &&
  1875       echo "$as_me: caught signal $ac_signal"
  1876     echo "$as_me: exit $exit_status"
  1877   } >&5
  1878   rm -f core *.core core.conftest.* &&
  1879     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1880     exit $exit_status
  1881 ' 0
  1882 for ac_signal in 1 2 13 15; do
  1883   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1884 done
  1885 ac_signal=0
  1886 
  1887 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1888 rm -f -r conftest* confdefs.h
  1889 
  1890 # Predefined preprocessor variables.
  1891 
  1892 cat >>confdefs.h <<_ACEOF
  1893 #define PACKAGE_NAME "$PACKAGE_NAME"
  1894 _ACEOF
  1895 
  1896 
  1897 cat >>confdefs.h <<_ACEOF
  1898 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1899 _ACEOF
  1900 
  1901 
  1902 cat >>confdefs.h <<_ACEOF
  1903 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1904 _ACEOF
  1905 
  1906 
  1907 cat >>confdefs.h <<_ACEOF
  1908 #define PACKAGE_STRING "$PACKAGE_STRING"
  1909 _ACEOF
  1910 
  1911 
  1912 cat >>confdefs.h <<_ACEOF
  1913 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1914 _ACEOF
  1915 
  1916 
  1917 # Let the site file select an alternate cache file if it wants to.
  1918 # Prefer explicitly selected file to automatically selected ones.
  1919 if test -n "$CONFIG_SITE"; then
  1920   set x "$CONFIG_SITE"
  1921 elif test "x$prefix" != xNONE; then
  1922   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1923 else
  1924   set x "$ac_default_prefix/share/config.site" \
  1925 	"$ac_default_prefix/etc/config.site"
  1926 fi
  1927 shift
  1928 for ac_site_file
  1929 do
  1930   if test -r "$ac_site_file"; then
  1931     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1932 echo "$as_me: loading site script $ac_site_file" >&6;}
  1933     sed 's/^/| /' "$ac_site_file" >&5
  1934     . "$ac_site_file"
  1935   fi
  1936 done
  1937 
  1938 if test -r "$cache_file"; then
  1939   # Some versions of bash will fail to source /dev/null (special
  1940   # files actually), so we avoid doing that.
  1941   if test -f "$cache_file"; then
  1942     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1943 echo "$as_me: loading cache $cache_file" >&6;}
  1944     case $cache_file in
  1945       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1946       *)                      . "./$cache_file";;
  1947     esac
  1948   fi
  1949 else
  1950   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1951 echo "$as_me: creating cache $cache_file" >&6;}
  1952   >$cache_file
  1953 fi
  1954 
  1955 # Check that the precious variables saved in the cache have kept the same
  1956 # value.
  1957 ac_cache_corrupted=false
  1958 for ac_var in $ac_precious_vars; do
  1959   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1960   eval ac_new_set=\$ac_env_${ac_var}_set
  1961   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1962   eval ac_new_val=\$ac_env_${ac_var}_value
  1963   case $ac_old_set,$ac_new_set in
  1964     set,)
  1965       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1966 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1967       ac_cache_corrupted=: ;;
  1968     ,set)
  1969       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1970 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1971       ac_cache_corrupted=: ;;
  1972     ,);;
  1973     *)
  1974       if test "x$ac_old_val" != "x$ac_new_val"; then
  1975 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1976 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1977 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1978 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1979 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1980 echo "$as_me:   current value: $ac_new_val" >&2;}
  1981 	ac_cache_corrupted=:
  1982       fi;;
  1983   esac
  1984   # Pass precious variables to config.status.
  1985   if test "$ac_new_set" = set; then
  1986     case $ac_new_val in
  1987     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1988     *) ac_arg=$ac_var=$ac_new_val ;;
  1989     esac
  1990     case " $ac_configure_args " in
  1991       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1992       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1993     esac
  1994   fi
  1995 done
  1996 if $ac_cache_corrupted; then
  1997   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1998 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1999   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  2000 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  2001    { (exit 1); exit 1; }; }
  2002 fi
  2003 
  2004 
  2005 
  2006 
  2007 
  2008 
  2009 
  2010 
  2011 
  2012 
  2013 
  2014 
  2015 
  2016 
  2017 
  2018 
  2019 
  2020 ac_ext=c
  2021 ac_cpp='$CPP $CPPFLAGS'
  2022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2025 
  2026 
  2027 ac_config_headers="$ac_config_headers include/SDL_config.h"
  2028 
  2029 
  2030 cat >>confdefs.h <<\_ACEOF
  2031 #define _GNU_SOURCE 1
  2032 _ACEOF
  2033 
  2034 
  2035 ac_aux_dir=
  2036 for ac_dir in $srcdir/build-scripts; do
  2037   if test -f "$ac_dir/install-sh"; then
  2038     ac_aux_dir=$ac_dir
  2039     ac_install_sh="$ac_aux_dir/install-sh -c"
  2040     break
  2041   elif test -f "$ac_dir/install.sh"; then
  2042     ac_aux_dir=$ac_dir
  2043     ac_install_sh="$ac_aux_dir/install.sh -c"
  2044     break
  2045   elif test -f "$ac_dir/shtool"; then
  2046     ac_aux_dir=$ac_dir
  2047     ac_install_sh="$ac_aux_dir/shtool install -c"
  2048     break
  2049   fi
  2050 done
  2051 if test -z "$ac_aux_dir"; then
  2052   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&5
  2053 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&2;}
  2054    { (exit 1); exit 1; }; }
  2055 fi
  2056 
  2057 # These three variables are undocumented and unsupported,
  2058 # and are intended to be withdrawn in a future Autoconf release.
  2059 # They can cause serious problems if a builder's source tree is in a directory
  2060 # whose full name contains unusual characters.
  2061 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2062 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2063 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2064 
  2065 
  2066 
  2067 orig_CFLAGS="$CFLAGS"
  2068 
  2069 #
  2070 # Making releases:
  2071 # Edit include/SDL/SDL_version.h and change the version, then:
  2072 #   SDL_MICRO_VERSION += 1;
  2073 #   SDL_INTERFACE_AGE += 1;
  2074 #   SDL_BINARY_AGE += 1;
  2075 # if any functions have been added, set SDL_INTERFACE_AGE to 0.
  2076 # if backwards compatibility has been broken,
  2077 # set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
  2078 #
  2079 SDL_MAJOR_VERSION=1
  2080 SDL_MINOR_VERSION=3
  2081 SDL_MICRO_VERSION=0
  2082 SDL_INTERFACE_AGE=0
  2083 SDL_BINARY_AGE=0
  2084 SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
  2085 
  2086 
  2087 
  2088 
  2089 
  2090 
  2091 
  2092 
  2093 # libtool versioning
  2094 case `pwd` in
  2095   *\ * | *\	*)
  2096     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  2097 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  2098 esac
  2099 
  2100 
  2101 
  2102 macro_version='2.2.6'
  2103 macro_revision='1.3012'
  2104 
  2105 
  2106 
  2107 
  2108 
  2109 
  2110 
  2111 
  2112 
  2113 
  2114 
  2115 
  2116 
  2117 ltmain="$ac_aux_dir/ltmain.sh"
  2118 
  2119 # Make sure we can run config.sub.
  2120 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2121   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  2122 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  2123    { (exit 1); exit 1; }; }
  2124 
  2125 { echo "$as_me:$LINENO: checking build system type" >&5
  2126 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  2127 if test "${ac_cv_build+set}" = set; then
  2128   echo $ECHO_N "(cached) $ECHO_C" >&6
  2129 else
  2130   ac_build_alias=$build_alias
  2131 test "x$ac_build_alias" = x &&
  2132   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2133 test "x$ac_build_alias" = x &&
  2134   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  2135 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  2136    { (exit 1); exit 1; }; }
  2137 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2138   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  2139 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  2140    { (exit 1); exit 1; }; }
  2141 
  2142 fi
  2143 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  2144 echo "${ECHO_T}$ac_cv_build" >&6; }
  2145 case $ac_cv_build in
  2146 *-*-*) ;;
  2147 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  2148 echo "$as_me: error: invalid value of canonical build" >&2;}
  2149    { (exit 1); exit 1; }; };;
  2150 esac
  2151 build=$ac_cv_build
  2152 ac_save_IFS=$IFS; IFS='-'
  2153 set x $ac_cv_build
  2154 shift
  2155 build_cpu=$1
  2156 build_vendor=$2
  2157 shift; shift
  2158 # Remember, the first character of IFS is used to create $*,
  2159 # except with old shells:
  2160 build_os=$*
  2161 IFS=$ac_save_IFS
  2162 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2163 
  2164 
  2165 { echo "$as_me:$LINENO: checking host system type" >&5
  2166 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  2167 if test "${ac_cv_host+set}" = set; then
  2168   echo $ECHO_N "(cached) $ECHO_C" >&6
  2169 else
  2170   if test "x$host_alias" = x; then
  2171   ac_cv_host=$ac_cv_build
  2172 else
  2173   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2174     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  2175 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  2176    { (exit 1); exit 1; }; }
  2177 fi
  2178 
  2179 fi
  2180 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2181 echo "${ECHO_T}$ac_cv_host" >&6; }
  2182 case $ac_cv_host in
  2183 *-*-*) ;;
  2184 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  2185 echo "$as_me: error: invalid value of canonical host" >&2;}
  2186    { (exit 1); exit 1; }; };;
  2187 esac
  2188 host=$ac_cv_host
  2189 ac_save_IFS=$IFS; IFS='-'
  2190 set x $ac_cv_host
  2191 shift
  2192 host_cpu=$1
  2193 host_vendor=$2
  2194 shift; shift
  2195 # Remember, the first character of IFS is used to create $*,
  2196 # except with old shells:
  2197 host_os=$*
  2198 IFS=$ac_save_IFS
  2199 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2200 
  2201 
  2202 ac_ext=c
  2203 ac_cpp='$CPP $CPPFLAGS'
  2204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2207 if test -n "$ac_tool_prefix"; then
  2208   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2209 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2212 if test "${ac_cv_prog_CC+set}" = set; then
  2213   echo $ECHO_N "(cached) $ECHO_C" >&6
  2214 else
  2215   if test -n "$CC"; then
  2216   ac_cv_prog_CC="$CC" # Let the user override the test.
  2217 else
  2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2219 for as_dir in $PATH
  2220 do
  2221   IFS=$as_save_IFS
  2222   test -z "$as_dir" && as_dir=.
  2223   for ac_exec_ext in '' $ac_executable_extensions; do
  2224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2225     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2226     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2227     break 2
  2228   fi
  2229 done
  2230 done
  2231 IFS=$as_save_IFS
  2232 
  2233 fi
  2234 fi
  2235 CC=$ac_cv_prog_CC
  2236 if test -n "$CC"; then
  2237   { echo "$as_me:$LINENO: result: $CC" >&5
  2238 echo "${ECHO_T}$CC" >&6; }
  2239 else
  2240   { echo "$as_me:$LINENO: result: no" >&5
  2241 echo "${ECHO_T}no" >&6; }
  2242 fi
  2243 
  2244 
  2245 fi
  2246 if test -z "$ac_cv_prog_CC"; then
  2247   ac_ct_CC=$CC
  2248   # Extract the first word of "gcc", so it can be a program name with args.
  2249 set dummy gcc; ac_word=$2
  2250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2253   echo $ECHO_N "(cached) $ECHO_C" >&6
  2254 else
  2255   if test -n "$ac_ct_CC"; then
  2256   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2257 else
  2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2259 for as_dir in $PATH
  2260 do
  2261   IFS=$as_save_IFS
  2262   test -z "$as_dir" && as_dir=.
  2263   for ac_exec_ext in '' $ac_executable_extensions; do
  2264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2265     ac_cv_prog_ac_ct_CC="gcc"
  2266     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2267     break 2
  2268   fi
  2269 done
  2270 done
  2271 IFS=$as_save_IFS
  2272 
  2273 fi
  2274 fi
  2275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2276 if test -n "$ac_ct_CC"; then
  2277   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2278 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2279 else
  2280   { echo "$as_me:$LINENO: result: no" >&5
  2281 echo "${ECHO_T}no" >&6; }
  2282 fi
  2283 
  2284   if test "x$ac_ct_CC" = x; then
  2285     CC=""
  2286   else
  2287     case $cross_compiling:$ac_tool_warned in
  2288 yes:)
  2289 { echo "$as_me:$LINENO: 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." >&5
  2292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2293 whose name does not start with the host triplet.  If you think this
  2294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2295 ac_tool_warned=yes ;;
  2296 esac
  2297     CC=$ac_ct_CC
  2298   fi
  2299 else
  2300   CC="$ac_cv_prog_CC"
  2301 fi
  2302 
  2303 if test -z "$CC"; then
  2304           if test -n "$ac_tool_prefix"; then
  2305     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2306 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2309 if test "${ac_cv_prog_CC+set}" = set; then
  2310   echo $ECHO_N "(cached) $ECHO_C" >&6
  2311 else
  2312   if test -n "$CC"; then
  2313   ac_cv_prog_CC="$CC" # Let the user override the test.
  2314 else
  2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2316 for as_dir in $PATH
  2317 do
  2318   IFS=$as_save_IFS
  2319   test -z "$as_dir" && as_dir=.
  2320   for ac_exec_ext in '' $ac_executable_extensions; do
  2321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2322     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2324     break 2
  2325   fi
  2326 done
  2327 done
  2328 IFS=$as_save_IFS
  2329 
  2330 fi
  2331 fi
  2332 CC=$ac_cv_prog_CC
  2333 if test -n "$CC"; then
  2334   { echo "$as_me:$LINENO: result: $CC" >&5
  2335 echo "${ECHO_T}$CC" >&6; }
  2336 else
  2337   { echo "$as_me:$LINENO: result: no" >&5
  2338 echo "${ECHO_T}no" >&6; }
  2339 fi
  2340 
  2341 
  2342   fi
  2343 fi
  2344 if test -z "$CC"; then
  2345   # Extract the first word of "cc", so it can be a program name with args.
  2346 set dummy cc; ac_word=$2
  2347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2349 if test "${ac_cv_prog_CC+set}" = set; then
  2350   echo $ECHO_N "(cached) $ECHO_C" >&6
  2351 else
  2352   if test -n "$CC"; then
  2353   ac_cv_prog_CC="$CC" # Let the user override the test.
  2354 else
  2355   ac_prog_rejected=no
  2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2357 for as_dir in $PATH
  2358 do
  2359   IFS=$as_save_IFS
  2360   test -z "$as_dir" && as_dir=.
  2361   for ac_exec_ext in '' $ac_executable_extensions; do
  2362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2363     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2364        ac_prog_rejected=yes
  2365        continue
  2366      fi
  2367     ac_cv_prog_CC="cc"
  2368     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2369     break 2
  2370   fi
  2371 done
  2372 done
  2373 IFS=$as_save_IFS
  2374 
  2375 if test $ac_prog_rejected = yes; then
  2376   # We found a bogon in the path, so make sure we never use it.
  2377   set dummy $ac_cv_prog_CC
  2378   shift
  2379   if test $# != 0; then
  2380     # We chose a different compiler from the bogus one.
  2381     # However, it has the same basename, so the bogon will be chosen
  2382     # first if we set CC to just the basename; use the full file name.
  2383     shift
  2384     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2385   fi
  2386 fi
  2387 fi
  2388 fi
  2389 CC=$ac_cv_prog_CC
  2390 if test -n "$CC"; then
  2391   { echo "$as_me:$LINENO: result: $CC" >&5
  2392 echo "${ECHO_T}$CC" >&6; }
  2393 else
  2394   { echo "$as_me:$LINENO: result: no" >&5
  2395 echo "${ECHO_T}no" >&6; }
  2396 fi
  2397 
  2398 
  2399 fi
  2400 if test -z "$CC"; then
  2401   if test -n "$ac_tool_prefix"; then
  2402   for ac_prog in cl.exe
  2403   do
  2404     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2408 if test "${ac_cv_prog_CC+set}" = set; then
  2409   echo $ECHO_N "(cached) $ECHO_C" >&6
  2410 else
  2411   if test -n "$CC"; then
  2412   ac_cv_prog_CC="$CC" # Let the user override the test.
  2413 else
  2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2415 for as_dir in $PATH
  2416 do
  2417   IFS=$as_save_IFS
  2418   test -z "$as_dir" && as_dir=.
  2419   for ac_exec_ext in '' $ac_executable_extensions; do
  2420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2421     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2422     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2423     break 2
  2424   fi
  2425 done
  2426 done
  2427 IFS=$as_save_IFS
  2428 
  2429 fi
  2430 fi
  2431 CC=$ac_cv_prog_CC
  2432 if test -n "$CC"; then
  2433   { echo "$as_me:$LINENO: result: $CC" >&5
  2434 echo "${ECHO_T}$CC" >&6; }
  2435 else
  2436   { echo "$as_me:$LINENO: result: no" >&5
  2437 echo "${ECHO_T}no" >&6; }
  2438 fi
  2439 
  2440 
  2441     test -n "$CC" && break
  2442   done
  2443 fi
  2444 if test -z "$CC"; then
  2445   ac_ct_CC=$CC
  2446   for ac_prog in cl.exe
  2447 do
  2448   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2449 set dummy $ac_prog; ac_word=$2
  2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2452 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2453   echo $ECHO_N "(cached) $ECHO_C" >&6
  2454 else
  2455   if test -n "$ac_ct_CC"; then
  2456   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2457 else
  2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2459 for as_dir in $PATH
  2460 do
  2461   IFS=$as_save_IFS
  2462   test -z "$as_dir" && as_dir=.
  2463   for ac_exec_ext in '' $ac_executable_extensions; do
  2464   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2465     ac_cv_prog_ac_ct_CC="$ac_prog"
  2466     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2467     break 2
  2468   fi
  2469 done
  2470 done
  2471 IFS=$as_save_IFS
  2472 
  2473 fi
  2474 fi
  2475 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2476 if test -n "$ac_ct_CC"; then
  2477   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2478 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2479 else
  2480   { echo "$as_me:$LINENO: result: no" >&5
  2481 echo "${ECHO_T}no" >&6; }
  2482 fi
  2483 
  2484 
  2485   test -n "$ac_ct_CC" && break
  2486 done
  2487 
  2488   if test "x$ac_ct_CC" = x; then
  2489     CC=""
  2490   else
  2491     case $cross_compiling:$ac_tool_warned in
  2492 yes:)
  2493 { echo "$as_me:$LINENO: 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." >&5
  2496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2497 whose name does not start with the host triplet.  If you think this
  2498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2499 ac_tool_warned=yes ;;
  2500 esac
  2501     CC=$ac_ct_CC
  2502   fi
  2503 fi
  2504 
  2505 fi
  2506 
  2507 
  2508 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2509 See \`config.log' for more details." >&5
  2510 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2511 See \`config.log' for more details." >&2;}
  2512    { (exit 1); exit 1; }; }
  2513 
  2514 # Provide some information about the compiler.
  2515 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2516 ac_compiler=`set X $ac_compile; echo $2`
  2517 { (ac_try="$ac_compiler --version >&5"
  2518 case "(($ac_try" in
  2519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2520   *) ac_try_echo=$ac_try;;
  2521 esac
  2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2523   (eval "$ac_compiler --version >&5") 2>&5
  2524   ac_status=$?
  2525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2526   (exit $ac_status); }
  2527 { (ac_try="$ac_compiler -v >&5"
  2528 case "(($ac_try" in
  2529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2530   *) ac_try_echo=$ac_try;;
  2531 esac
  2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2533   (eval "$ac_compiler -v >&5") 2>&5
  2534   ac_status=$?
  2535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2536   (exit $ac_status); }
  2537 { (ac_try="$ac_compiler -V >&5"
  2538 case "(($ac_try" in
  2539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2540   *) ac_try_echo=$ac_try;;
  2541 esac
  2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2543   (eval "$ac_compiler -V >&5") 2>&5
  2544   ac_status=$?
  2545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2546   (exit $ac_status); }
  2547 
  2548 cat >conftest.$ac_ext <<_ACEOF
  2549 /* confdefs.h.  */
  2550 _ACEOF
  2551 cat confdefs.h >>conftest.$ac_ext
  2552 cat >>conftest.$ac_ext <<_ACEOF
  2553 /* end confdefs.h.  */
  2554 
  2555 int
  2556 main ()
  2557 {
  2558 
  2559   ;
  2560   return 0;
  2561 }
  2562 _ACEOF
  2563 ac_clean_files_save=$ac_clean_files
  2564 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2565 # Try to create an executable without -o first, disregard a.out.
  2566 # It will help us diagnose broken compilers, and finding out an intuition
  2567 # of exeext.
  2568 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2569 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2570 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2571 #
  2572 # List of possible output files, starting from the most likely.
  2573 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2574 # only as a last resort.  b.out is created by i960 compilers.
  2575 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2576 #
  2577 # The IRIX 6 linker writes into existing files which may not be
  2578 # executable, retaining their permissions.  Remove them first so a
  2579 # subsequent execution test works.
  2580 ac_rmfiles=
  2581 for ac_file in $ac_files
  2582 do
  2583   case $ac_file in
  2584     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2585     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2586   esac
  2587 done
  2588 rm -f $ac_rmfiles
  2589 
  2590 if { (ac_try="$ac_link_default"
  2591 case "(($ac_try" in
  2592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2593   *) ac_try_echo=$ac_try;;
  2594 esac
  2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2596   (eval "$ac_link_default") 2>&5
  2597   ac_status=$?
  2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2599   (exit $ac_status); }; then
  2600   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2601 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2602 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2603 # so that the user can short-circuit this test for compilers unknown to
  2604 # Autoconf.
  2605 for ac_file in $ac_files ''
  2606 do
  2607   test -f "$ac_file" || continue
  2608   case $ac_file in
  2609     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2610 	;;
  2611     [ab].out )
  2612 	# We found the default executable, but exeext='' is most
  2613 	# certainly right.
  2614 	break;;
  2615     *.* )
  2616         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2617 	then :; else
  2618 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2619 	fi
  2620 	# We set ac_cv_exeext here because the later test for it is not
  2621 	# safe: cross compilers may not add the suffix if given an `-o'
  2622 	# argument, so we may need to know it at that point already.
  2623 	# Even if this section looks crufty: it has the advantage of
  2624 	# actually working.
  2625 	break;;
  2626     * )
  2627 	break;;
  2628   esac
  2629 done
  2630 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2631 
  2632 else
  2633   ac_file=''
  2634 fi
  2635 
  2636 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2637 echo "${ECHO_T}$ac_file" >&6; }
  2638 if test -z "$ac_file"; then
  2639   echo "$as_me: failed program was:" >&5
  2640 sed 's/^/| /' conftest.$ac_ext >&5
  2641 
  2642 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2643 See \`config.log' for more details." >&5
  2644 echo "$as_me: error: C compiler cannot create executables
  2645 See \`config.log' for more details." >&2;}
  2646    { (exit 77); exit 77; }; }
  2647 fi
  2648 
  2649 ac_exeext=$ac_cv_exeext
  2650 
  2651 # Check that the compiler produces executables we can run.  If not, either
  2652 # the compiler is broken, or we cross compile.
  2653 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2654 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2655 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2656 # If not cross compiling, check that we can run a simple program.
  2657 if test "$cross_compiling" != yes; then
  2658   if { ac_try='./$ac_file'
  2659   { (case "(($ac_try" in
  2660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2661   *) ac_try_echo=$ac_try;;
  2662 esac
  2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2664   (eval "$ac_try") 2>&5
  2665   ac_status=$?
  2666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2667   (exit $ac_status); }; }; then
  2668     cross_compiling=no
  2669   else
  2670     if test "$cross_compiling" = maybe; then
  2671 	cross_compiling=yes
  2672     else
  2673 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2674 If you meant to cross compile, use \`--host'.
  2675 See \`config.log' for more details." >&5
  2676 echo "$as_me: error: cannot run C compiled programs.
  2677 If you meant to cross compile, use \`--host'.
  2678 See \`config.log' for more details." >&2;}
  2679    { (exit 1); exit 1; }; }
  2680     fi
  2681   fi
  2682 fi
  2683 { echo "$as_me:$LINENO: result: yes" >&5
  2684 echo "${ECHO_T}yes" >&6; }
  2685 
  2686 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2687 ac_clean_files=$ac_clean_files_save
  2688 # Check that the compiler produces executables we can run.  If not, either
  2689 # the compiler is broken, or we cross compile.
  2690 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2691 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2692 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2693 echo "${ECHO_T}$cross_compiling" >&6; }
  2694 
  2695 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2696 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2697 if { (ac_try="$ac_link"
  2698 case "(($ac_try" in
  2699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2700   *) ac_try_echo=$ac_try;;
  2701 esac
  2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2703   (eval "$ac_link") 2>&5
  2704   ac_status=$?
  2705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2706   (exit $ac_status); }; then
  2707   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2708 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2709 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2710 # `rm'.
  2711 for ac_file in conftest.exe conftest conftest.*; do
  2712   test -f "$ac_file" || continue
  2713   case $ac_file in
  2714     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2715     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2716 	  break;;
  2717     * ) break;;
  2718   esac
  2719 done
  2720 else
  2721   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2722 See \`config.log' for more details." >&5
  2723 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2724 See \`config.log' for more details." >&2;}
  2725    { (exit 1); exit 1; }; }
  2726 fi
  2727 
  2728 rm -f conftest$ac_cv_exeext
  2729 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2730 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2731 
  2732 rm -f conftest.$ac_ext
  2733 EXEEXT=$ac_cv_exeext
  2734 ac_exeext=$EXEEXT
  2735 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2736 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2737 if test "${ac_cv_objext+set}" = set; then
  2738   echo $ECHO_N "(cached) $ECHO_C" >&6
  2739 else
  2740   cat >conftest.$ac_ext <<_ACEOF
  2741 /* confdefs.h.  */
  2742 _ACEOF
  2743 cat confdefs.h >>conftest.$ac_ext
  2744 cat >>conftest.$ac_ext <<_ACEOF
  2745 /* end confdefs.h.  */
  2746 
  2747 int
  2748 main ()
  2749 {
  2750 
  2751   ;
  2752   return 0;
  2753 }
  2754 _ACEOF
  2755 rm -f conftest.o conftest.obj
  2756 if { (ac_try="$ac_compile"
  2757 case "(($ac_try" in
  2758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2759   *) ac_try_echo=$ac_try;;
  2760 esac
  2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2762   (eval "$ac_compile") 2>&5
  2763   ac_status=$?
  2764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2765   (exit $ac_status); }; then
  2766   for ac_file in conftest.o conftest.obj conftest.*; do
  2767   test -f "$ac_file" || continue;
  2768   case $ac_file in
  2769     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2770     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2771        break;;
  2772   esac
  2773 done
  2774 else
  2775   echo "$as_me: failed program was:" >&5
  2776 sed 's/^/| /' conftest.$ac_ext >&5
  2777 
  2778 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2779 See \`config.log' for more details." >&5
  2780 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2781 See \`config.log' for more details." >&2;}
  2782    { (exit 1); exit 1; }; }
  2783 fi
  2784 
  2785 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2786 fi
  2787 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2788 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2789 OBJEXT=$ac_cv_objext
  2790 ac_objext=$OBJEXT
  2791 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2792 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2793 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2794   echo $ECHO_N "(cached) $ECHO_C" >&6
  2795 else
  2796   cat >conftest.$ac_ext <<_ACEOF
  2797 /* confdefs.h.  */
  2798 _ACEOF
  2799 cat confdefs.h >>conftest.$ac_ext
  2800 cat >>conftest.$ac_ext <<_ACEOF
  2801 /* end confdefs.h.  */
  2802 
  2803 int
  2804 main ()
  2805 {
  2806 #ifndef __GNUC__
  2807        choke me
  2808 #endif
  2809 
  2810   ;
  2811   return 0;
  2812 }
  2813 _ACEOF
  2814 rm -f conftest.$ac_objext
  2815 if { (ac_try="$ac_compile"
  2816 case "(($ac_try" in
  2817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2818   *) ac_try_echo=$ac_try;;
  2819 esac
  2820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2821   (eval "$ac_compile") 2>conftest.er1
  2822   ac_status=$?
  2823   grep -v '^ *+' conftest.er1 >conftest.err
  2824   rm -f conftest.er1
  2825   cat conftest.err >&5
  2826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2827   (exit $ac_status); } && {
  2828 	 test -z "$ac_c_werror_flag" ||
  2829 	 test ! -s conftest.err
  2830        } && test -s conftest.$ac_objext; then
  2831   ac_compiler_gnu=yes
  2832 else
  2833   echo "$as_me: failed program was:" >&5
  2834 sed 's/^/| /' conftest.$ac_ext >&5
  2835 
  2836 	ac_compiler_gnu=no
  2837 fi
  2838 
  2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2840 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2841 
  2842 fi
  2843 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2844 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2845 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2846 ac_test_CFLAGS=${CFLAGS+set}
  2847 ac_save_CFLAGS=$CFLAGS
  2848 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2849 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2850 if test "${ac_cv_prog_cc_g+set}" = set; then
  2851   echo $ECHO_N "(cached) $ECHO_C" >&6
  2852 else
  2853   ac_save_c_werror_flag=$ac_c_werror_flag
  2854    ac_c_werror_flag=yes
  2855    ac_cv_prog_cc_g=no
  2856    CFLAGS="-g"
  2857    cat >conftest.$ac_ext <<_ACEOF
  2858 /* confdefs.h.  */
  2859 _ACEOF
  2860 cat confdefs.h >>conftest.$ac_ext
  2861 cat >>conftest.$ac_ext <<_ACEOF
  2862 /* end confdefs.h.  */
  2863 
  2864 int
  2865 main ()
  2866 {
  2867 
  2868   ;
  2869   return 0;
  2870 }
  2871 _ACEOF
  2872 rm -f conftest.$ac_objext
  2873 if { (ac_try="$ac_compile"
  2874 case "(($ac_try" in
  2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2876   *) ac_try_echo=$ac_try;;
  2877 esac
  2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2879   (eval "$ac_compile") 2>conftest.er1
  2880   ac_status=$?
  2881   grep -v '^ *+' conftest.er1 >conftest.err
  2882   rm -f conftest.er1
  2883   cat conftest.err >&5
  2884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2885   (exit $ac_status); } && {
  2886 	 test -z "$ac_c_werror_flag" ||
  2887 	 test ! -s conftest.err
  2888        } && test -s conftest.$ac_objext; then
  2889   ac_cv_prog_cc_g=yes
  2890 else
  2891   echo "$as_me: failed program was:" >&5
  2892 sed 's/^/| /' conftest.$ac_ext >&5
  2893 
  2894 	CFLAGS=""
  2895       cat >conftest.$ac_ext <<_ACEOF
  2896 /* confdefs.h.  */
  2897 _ACEOF
  2898 cat confdefs.h >>conftest.$ac_ext
  2899 cat >>conftest.$ac_ext <<_ACEOF
  2900 /* end confdefs.h.  */
  2901 
  2902 int
  2903 main ()
  2904 {
  2905 
  2906   ;
  2907   return 0;
  2908 }
  2909 _ACEOF
  2910 rm -f conftest.$ac_objext
  2911 if { (ac_try="$ac_compile"
  2912 case "(($ac_try" in
  2913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2914   *) ac_try_echo=$ac_try;;
  2915 esac
  2916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2917   (eval "$ac_compile") 2>conftest.er1
  2918   ac_status=$?
  2919   grep -v '^ *+' conftest.er1 >conftest.err
  2920   rm -f conftest.er1
  2921   cat conftest.err >&5
  2922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2923   (exit $ac_status); } && {
  2924 	 test -z "$ac_c_werror_flag" ||
  2925 	 test ! -s conftest.err
  2926        } && test -s conftest.$ac_objext; then
  2927   :
  2928 else
  2929   echo "$as_me: failed program was:" >&5
  2930 sed 's/^/| /' conftest.$ac_ext >&5
  2931 
  2932 	ac_c_werror_flag=$ac_save_c_werror_flag
  2933 	 CFLAGS="-g"
  2934 	 cat >conftest.$ac_ext <<_ACEOF
  2935 /* confdefs.h.  */
  2936 _ACEOF
  2937 cat confdefs.h >>conftest.$ac_ext
  2938 cat >>conftest.$ac_ext <<_ACEOF
  2939 /* end confdefs.h.  */
  2940 
  2941 int
  2942 main ()
  2943 {
  2944 
  2945   ;
  2946   return 0;
  2947 }
  2948 _ACEOF
  2949 rm -f conftest.$ac_objext
  2950 if { (ac_try="$ac_compile"
  2951 case "(($ac_try" in
  2952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2953   *) ac_try_echo=$ac_try;;
  2954 esac
  2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2956   (eval "$ac_compile") 2>conftest.er1
  2957   ac_status=$?
  2958   grep -v '^ *+' conftest.er1 >conftest.err
  2959   rm -f conftest.er1
  2960   cat conftest.err >&5
  2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2962   (exit $ac_status); } && {
  2963 	 test -z "$ac_c_werror_flag" ||
  2964 	 test ! -s conftest.err
  2965        } && test -s conftest.$ac_objext; then
  2966   ac_cv_prog_cc_g=yes
  2967 else
  2968   echo "$as_me: failed program was:" >&5
  2969 sed 's/^/| /' conftest.$ac_ext >&5
  2970 
  2971 
  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 fi
  2979 
  2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2981    ac_c_werror_flag=$ac_save_c_werror_flag
  2982 fi
  2983 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2984 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2985 if test "$ac_test_CFLAGS" = set; then
  2986   CFLAGS=$ac_save_CFLAGS
  2987 elif test $ac_cv_prog_cc_g = yes; then
  2988   if test "$GCC" = yes; then
  2989     CFLAGS="-g -O2"
  2990   else
  2991     CFLAGS="-g"
  2992   fi
  2993 else
  2994   if test "$GCC" = yes; then
  2995     CFLAGS="-O2"
  2996   else
  2997     CFLAGS=
  2998   fi
  2999 fi
  3000 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3001 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3002 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3003   echo $ECHO_N "(cached) $ECHO_C" >&6
  3004 else
  3005   ac_cv_prog_cc_c89=no
  3006 ac_save_CC=$CC
  3007 cat >conftest.$ac_ext <<_ACEOF
  3008 /* confdefs.h.  */
  3009 _ACEOF
  3010 cat confdefs.h >>conftest.$ac_ext
  3011 cat >>conftest.$ac_ext <<_ACEOF
  3012 /* end confdefs.h.  */
  3013 #include <stdarg.h>
  3014 #include <stdio.h>
  3015 #include <sys/types.h>
  3016 #include <sys/stat.h>
  3017 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3018 struct buf { int x; };
  3019 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3020 static char *e (p, i)
  3021      char **p;
  3022      int i;
  3023 {
  3024   return p[i];
  3025 }
  3026 static char *f (char * (*g) (char **, int), char **p, ...)
  3027 {
  3028   char *s;
  3029   va_list v;
  3030   va_start (v,p);
  3031   s = g (p, va_arg (v,int));
  3032   va_end (v);
  3033   return s;
  3034 }
  3035 
  3036 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3037    function prototypes and stuff, but not '\xHH' hex character constants.
  3038    These don't provoke an error unfortunately, instead are silently treated
  3039    as 'x'.  The following induces an error, until -std is added to get
  3040    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3041    array size at least.  It's necessary to write '\x00'==0 to get something
  3042    that's true only with -std.  */
  3043 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3044 
  3045 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3046    inside strings and character constants.  */
  3047 #define FOO(x) 'x'
  3048 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3049 
  3050 int test (int i, double x);
  3051 struct s1 {int (*f) (int a);};
  3052 struct s2 {int (*f) (double a);};
  3053 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3054 int argc;
  3055 char **argv;
  3056 int
  3057 main ()
  3058 {
  3059 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3060   ;
  3061   return 0;
  3062 }
  3063 _ACEOF
  3064 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3065 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3066 do
  3067   CC="$ac_save_CC $ac_arg"
  3068   rm -f conftest.$ac_objext
  3069 if { (ac_try="$ac_compile"
  3070 case "(($ac_try" in
  3071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3072   *) ac_try_echo=$ac_try;;
  3073 esac
  3074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3075   (eval "$ac_compile") 2>conftest.er1
  3076   ac_status=$?
  3077   grep -v '^ *+' conftest.er1 >conftest.err
  3078   rm -f conftest.er1
  3079   cat conftest.err >&5
  3080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3081   (exit $ac_status); } && {
  3082 	 test -z "$ac_c_werror_flag" ||
  3083 	 test ! -s conftest.err
  3084        } && test -s conftest.$ac_objext; then
  3085   ac_cv_prog_cc_c89=$ac_arg
  3086 else
  3087   echo "$as_me: failed program was:" >&5
  3088 sed 's/^/| /' conftest.$ac_ext >&5
  3089 
  3090 
  3091 fi
  3092 
  3093 rm -f core conftest.err conftest.$ac_objext
  3094   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3095 done
  3096 rm -f conftest.$ac_ext
  3097 CC=$ac_save_CC
  3098 
  3099 fi
  3100 # AC_CACHE_VAL
  3101 case "x$ac_cv_prog_cc_c89" in
  3102   x)
  3103     { echo "$as_me:$LINENO: result: none needed" >&5
  3104 echo "${ECHO_T}none needed" >&6; } ;;
  3105   xno)
  3106     { echo "$as_me:$LINENO: result: unsupported" >&5
  3107 echo "${ECHO_T}unsupported" >&6; } ;;
  3108   *)
  3109     CC="$CC $ac_cv_prog_cc_c89"
  3110     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3111 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3112 esac
  3113 
  3114 
  3115 ac_ext=c
  3116 ac_cpp='$CPP $CPPFLAGS'
  3117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3120 
  3121 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  3122 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  3123 if test "${ac_cv_path_SED+set}" = set; then
  3124   echo $ECHO_N "(cached) $ECHO_C" >&6
  3125 else
  3126             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3127      for ac_i in 1 2 3 4 5 6 7; do
  3128        ac_script="$ac_script$as_nl$ac_script"
  3129      done
  3130      echo "$ac_script" | sed 99q >conftest.sed
  3131      $as_unset ac_script || ac_script=
  3132      # Extract the first word of "sed gsed" to use in msg output
  3133 if test -z "$SED"; then
  3134 set dummy sed gsed; ac_prog_name=$2
  3135 if test "${ac_cv_path_SED+set}" = set; then
  3136   echo $ECHO_N "(cached) $ECHO_C" >&6
  3137 else
  3138   ac_path_SED_found=false
  3139 # Loop through the user's path and test for each of PROGNAME-LIST
  3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3141 for as_dir in $PATH
  3142 do
  3143   IFS=$as_save_IFS
  3144   test -z "$as_dir" && as_dir=.
  3145   for ac_prog in sed gsed; do
  3146   for ac_exec_ext in '' $ac_executable_extensions; do
  3147     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3148     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  3149     # Check for GNU ac_path_SED and select it if it is found.
  3150   # Check for GNU $ac_path_SED
  3151 case `"$ac_path_SED" --version 2>&1` in
  3152 *GNU*)
  3153   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3154 *)
  3155   ac_count=0
  3156   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3157   while :
  3158   do
  3159     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3160     mv "conftest.tmp" "conftest.in"
  3161     cp "conftest.in" "conftest.nl"
  3162     echo '' >> "conftest.nl"
  3163     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3164     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3165     ac_count=`expr $ac_count + 1`
  3166     if test $ac_count -gt ${ac_path_SED_max-0}; then
  3167       # Best one so far, save it but keep looking for a better one
  3168       ac_cv_path_SED="$ac_path_SED"
  3169       ac_path_SED_max=$ac_count
  3170     fi
  3171     # 10*(2^10) chars as input seems more than enough
  3172     test $ac_count -gt 10 && break
  3173   done
  3174   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3175 esac
  3176 
  3177 
  3178     $ac_path_SED_found && break 3
  3179   done
  3180 done
  3181 
  3182 done
  3183 IFS=$as_save_IFS
  3184 
  3185 
  3186 fi
  3187 
  3188 SED="$ac_cv_path_SED"
  3189 if test -z "$SED"; then
  3190   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
  3191 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
  3192    { (exit 1); exit 1; }; }
  3193 fi
  3194 
  3195 else
  3196   ac_cv_path_SED=$SED
  3197 fi
  3198 
  3199 fi
  3200 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  3201 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
  3202  SED="$ac_cv_path_SED"
  3203   rm -f conftest.sed
  3204 
  3205 test -z "$SED" && SED=sed
  3206 Xsed="$SED -e 1s/^X//"
  3207 
  3208 
  3209 
  3210 
  3211 
  3212 
  3213 
  3214 
  3215 
  3216 
  3217 
  3218 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3219 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  3220 if test "${ac_cv_path_GREP+set}" = set; then
  3221   echo $ECHO_N "(cached) $ECHO_C" >&6
  3222 else
  3223   # Extract the first word of "grep ggrep" to use in msg output
  3224 if test -z "$GREP"; then
  3225 set dummy grep ggrep; ac_prog_name=$2
  3226 if test "${ac_cv_path_GREP+set}" = set; then
  3227   echo $ECHO_N "(cached) $ECHO_C" >&6
  3228 else
  3229   ac_path_GREP_found=false
  3230 # Loop through the user's path and test for each of PROGNAME-LIST
  3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3233 do
  3234   IFS=$as_save_IFS
  3235   test -z "$as_dir" && as_dir=.
  3236   for ac_prog in grep ggrep; do
  3237   for ac_exec_ext in '' $ac_executable_extensions; do
  3238     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3239     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3240     # Check for GNU ac_path_GREP and select it if it is found.
  3241   # Check for GNU $ac_path_GREP
  3242 case `"$ac_path_GREP" --version 2>&1` in
  3243 *GNU*)
  3244   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3245 *)
  3246   ac_count=0
  3247   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3248   while :
  3249   do
  3250     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3251     mv "conftest.tmp" "conftest.in"
  3252     cp "conftest.in" "conftest.nl"
  3253     echo 'GREP' >> "conftest.nl"
  3254     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3255     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3256     ac_count=`expr $ac_count + 1`
  3257     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3258       # Best one so far, save it but keep looking for a better one
  3259       ac_cv_path_GREP="$ac_path_GREP"
  3260       ac_path_GREP_max=$ac_count
  3261     fi
  3262     # 10*(2^10) chars as input seems more than enough
  3263     test $ac_count -gt 10 && break
  3264   done
  3265   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3266 esac
  3267 
  3268 
  3269     $ac_path_GREP_found && break 3
  3270   done
  3271 done
  3272 
  3273 done
  3274 IFS=$as_save_IFS
  3275 
  3276 
  3277 fi
  3278 
  3279 GREP="$ac_cv_path_GREP"
  3280 if test -z "$GREP"; then
  3281   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3282 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3283    { (exit 1); exit 1; }; }
  3284 fi
  3285 
  3286 else
  3287   ac_cv_path_GREP=$GREP
  3288 fi
  3289 
  3290 
  3291 fi
  3292 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3293 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  3294  GREP="$ac_cv_path_GREP"
  3295 
  3296 
  3297 { echo "$as_me:$LINENO: checking for egrep" >&5
  3298 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  3299 if test "${ac_cv_path_EGREP+set}" = set; then
  3300   echo $ECHO_N "(cached) $ECHO_C" >&6
  3301 else
  3302   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3303    then ac_cv_path_EGREP="$GREP -E"
  3304    else
  3305      # Extract the first word of "egrep" to use in msg output
  3306 if test -z "$EGREP"; then
  3307 set dummy egrep; ac_prog_name=$2
  3308 if test "${ac_cv_path_EGREP+set}" = set; then
  3309   echo $ECHO_N "(cached) $ECHO_C" >&6
  3310 else
  3311   ac_path_EGREP_found=false
  3312 # Loop through the user's path and test for each of PROGNAME-LIST
  3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3314 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3315 do
  3316   IFS=$as_save_IFS
  3317   test -z "$as_dir" && as_dir=.
  3318   for ac_prog in egrep; do
  3319   for ac_exec_ext in '' $ac_executable_extensions; do
  3320     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3321     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3322     # Check for GNU ac_path_EGREP and select it if it is found.
  3323   # Check for GNU $ac_path_EGREP
  3324 case `"$ac_path_EGREP" --version 2>&1` in
  3325 *GNU*)
  3326   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3327 *)
  3328   ac_count=0
  3329   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3330   while :
  3331   do
  3332     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3333     mv "conftest.tmp" "conftest.in"
  3334     cp "conftest.in" "conftest.nl"
  3335     echo 'EGREP' >> "conftest.nl"
  3336     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3337     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3338     ac_count=`expr $ac_count + 1`
  3339     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3340       # Best one so far, save it but keep looking for a better one
  3341       ac_cv_path_EGREP="$ac_path_EGREP"
  3342       ac_path_EGREP_max=$ac_count
  3343     fi
  3344     # 10*(2^10) chars as input seems more than enough
  3345     test $ac_count -gt 10 && break
  3346   done
  3347   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3348 esac
  3349 
  3350 
  3351     $ac_path_EGREP_found && break 3
  3352   done
  3353 done
  3354 
  3355 done
  3356 IFS=$as_save_IFS
  3357 
  3358 
  3359 fi
  3360 
  3361 EGREP="$ac_cv_path_EGREP"
  3362 if test -z "$EGREP"; then
  3363   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3364 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3365    { (exit 1); exit 1; }; }
  3366 fi
  3367 
  3368 else
  3369   ac_cv_path_EGREP=$EGREP
  3370 fi
  3371 
  3372 
  3373    fi
  3374 fi
  3375 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3376 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  3377  EGREP="$ac_cv_path_EGREP"
  3378 
  3379 
  3380 { echo "$as_me:$LINENO: checking for fgrep" >&5
  3381 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
  3382 if test "${ac_cv_path_FGREP+set}" = set; then
  3383   echo $ECHO_N "(cached) $ECHO_C" >&6
  3384 else
  3385   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3386    then ac_cv_path_FGREP="$GREP -F"
  3387    else
  3388      # Extract the first word of "fgrep" to use in msg output
  3389 if test -z "$FGREP"; then
  3390 set dummy fgrep; ac_prog_name=$2
  3391 if test "${ac_cv_path_FGREP+set}" = set; then
  3392   echo $ECHO_N "(cached) $ECHO_C" >&6
  3393 else
  3394   ac_path_FGREP_found=false
  3395 # Loop through the user's path and test for each of PROGNAME-LIST
  3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3398 do
  3399   IFS=$as_save_IFS
  3400   test -z "$as_dir" && as_dir=.
  3401   for ac_prog in fgrep; do
  3402   for ac_exec_ext in '' $ac_executable_extensions; do
  3403     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  3404     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  3405     # Check for GNU ac_path_FGREP and select it if it is found.
  3406   # Check for GNU $ac_path_FGREP
  3407 case `"$ac_path_FGREP" --version 2>&1` in
  3408 *GNU*)
  3409   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  3410 *)
  3411   ac_count=0
  3412   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3413   while :
  3414   do
  3415     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3416     mv "conftest.tmp" "conftest.in"
  3417     cp "conftest.in" "conftest.nl"
  3418     echo 'FGREP' >> "conftest.nl"
  3419     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3420     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3421     ac_count=`expr $ac_count + 1`
  3422     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  3423       # Best one so far, save it but keep looking for a better one
  3424       ac_cv_path_FGREP="$ac_path_FGREP"
  3425       ac_path_FGREP_max=$ac_count
  3426     fi
  3427     # 10*(2^10) chars as input seems more than enough
  3428     test $ac_count -gt 10 && break
  3429   done
  3430   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3431 esac
  3432 
  3433 
  3434     $ac_path_FGREP_found && break 3
  3435   done
  3436 done
  3437 
  3438 done
  3439 IFS=$as_save_IFS
  3440 
  3441 
  3442 fi
  3443 
  3444 FGREP="$ac_cv_path_FGREP"
  3445 if test -z "$FGREP"; then
  3446   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3447 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3448    { (exit 1); exit 1; }; }
  3449 fi
  3450 
  3451 else
  3452   ac_cv_path_FGREP=$FGREP
  3453 fi
  3454 
  3455 
  3456    fi
  3457 fi
  3458 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  3459 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
  3460  FGREP="$ac_cv_path_FGREP"
  3461 
  3462 
  3463 test -z "$GREP" && GREP=grep
  3464 
  3465 
  3466 
  3467 
  3468 
  3469 
  3470 
  3471 
  3472 
  3473 
  3474 
  3475 
  3476 
  3477 
  3478 
  3479 
  3480 
  3481 
  3482 
  3483 # Check whether --with-gnu-ld was given.
  3484 if test "${with_gnu_ld+set}" = set; then
  3485   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  3486 else
  3487   with_gnu_ld=no
  3488 fi
  3489 
  3490 ac_prog=ld
  3491 if test "$GCC" = yes; then
  3492   # Check if gcc -print-prog-name=ld gives a path.
  3493   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  3494 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  3495   case $host in
  3496   *-*-mingw*)
  3497     # gcc leaves a trailing carriage return which upsets mingw
  3498     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3499   *)
  3500     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3501   esac
  3502   case $ac_prog in
  3503     # Accept absolute paths.
  3504     [\\/]* | ?:[\\/]*)
  3505       re_direlt='/[^/][^/]*/\.\./'
  3506       # Canonicalize the pathname of ld
  3507       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  3508       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  3509 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  3510       done
  3511       test -z "$LD" && LD="$ac_prog"
  3512       ;;
  3513   "")
  3514     # If it fails, then pretend we aren't using GCC.
  3515     ac_prog=ld
  3516     ;;
  3517   *)
  3518     # If it is relative, then search for the first ld in PATH.
  3519     with_gnu_ld=unknown
  3520     ;;
  3521   esac
  3522 elif test "$with_gnu_ld" = yes; then
  3523   { echo "$as_me:$LINENO: checking for GNU ld" >&5
  3524 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  3525 else
  3526   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  3527 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  3528 fi
  3529 if test "${lt_cv_path_LD+set}" = set; then
  3530   echo $ECHO_N "(cached) $ECHO_C" >&6
  3531 else
  3532   if test -z "$LD"; then
  3533   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3534   for ac_dir in $PATH; do
  3535     IFS="$lt_save_ifs"
  3536     test -z "$ac_dir" && ac_dir=.
  3537     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  3538       lt_cv_path_LD="$ac_dir/$ac_prog"
  3539       # Check to see if the program is GNU ld.  I'd rather use --version,
  3540       # but apparently some variants of GNU ld only accept -v.
  3541       # Break only if it was the GNU/non-GNU ld that we prefer.
  3542       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  3543       *GNU* | *'with BFD'*)
  3544 	test "$with_gnu_ld" != no && break
  3545 	;;
  3546       *)
  3547 	test "$with_gnu_ld" != yes && break
  3548 	;;
  3549       esac
  3550     fi
  3551   done
  3552   IFS="$lt_save_ifs"
  3553 else
  3554   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  3555 fi
  3556 fi
  3557 
  3558 LD="$lt_cv_path_LD"
  3559 if test -n "$LD"; then
  3560   { echo "$as_me:$LINENO: result: $LD" >&5
  3561 echo "${ECHO_T}$LD" >&6; }
  3562 else
  3563   { echo "$as_me:$LINENO: result: no" >&5
  3564 echo "${ECHO_T}no" >&6; }
  3565 fi
  3566 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  3567 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  3568    { (exit 1); exit 1; }; }
  3569 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  3570 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  3571 if test "${lt_cv_prog_gnu_ld+set}" = set; then
  3572   echo $ECHO_N "(cached) $ECHO_C" >&6
  3573 else
  3574   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  3575 case `$LD -v 2>&1 </dev/null` in
  3576 *GNU* | *'with BFD'*)
  3577   lt_cv_prog_gnu_ld=yes
  3578   ;;
  3579 *)
  3580   lt_cv_prog_gnu_ld=no
  3581   ;;
  3582 esac
  3583 fi
  3584 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  3585 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  3586 with_gnu_ld=$lt_cv_prog_gnu_ld
  3587 
  3588 
  3589 
  3590 
  3591 
  3592 
  3593 
  3594 
  3595 
  3596 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  3597 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
  3598 if test "${lt_cv_path_NM+set}" = set; then
  3599   echo $ECHO_N "(cached) $ECHO_C" >&6
  3600 else
  3601   if test -n "$NM"; then
  3602   # Let the user override the test.
  3603   lt_cv_path_NM="$NM"
  3604 else
  3605   lt_nm_to_check="${ac_tool_prefix}nm"
  3606   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3607     lt_nm_to_check="$lt_nm_to_check nm"
  3608   fi
  3609   for lt_tmp_nm in $lt_nm_to_check; do
  3610     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3611     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3612       IFS="$lt_save_ifs"
  3613       test -z "$ac_dir" && ac_dir=.
  3614       tmp_nm="$ac_dir/$lt_tmp_nm"
  3615       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3616 	# Check to see if the nm accepts a BSD-compat flag.
  3617 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3618 	#   nm: unknown option "B" ignored
  3619 	# Tru64's nm complains that /dev/null is an invalid object file
  3620 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3621 	*/dev/null* | *'Invalid file or object type'*)
  3622 	  lt_cv_path_NM="$tmp_nm -B"
  3623 	  break
  3624 	  ;;
  3625 	*)
  3626 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3627 	  */dev/null*)
  3628 	    lt_cv_path_NM="$tmp_nm -p"
  3629 	    break
  3630 	    ;;
  3631 	  *)
  3632 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3633 	    continue # so that we can try to find one that supports BSD flags
  3634 	    ;;
  3635 	  esac
  3636 	  ;;
  3637 	esac
  3638       fi
  3639     done
  3640     IFS="$lt_save_ifs"
  3641   done
  3642   : ${lt_cv_path_NM=no}
  3643 fi
  3644 fi
  3645 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  3646 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  3647 if test "$lt_cv_path_NM" != "no"; then
  3648   NM="$lt_cv_path_NM"
  3649 else
  3650   # Didn't find any BSD compatible name lister, look for dumpbin.
  3651   if test -n "$ac_tool_prefix"; then
  3652   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  3653   do
  3654     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3658 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  3659   echo $ECHO_N "(cached) $ECHO_C" >&6
  3660 else
  3661   if test -n "$DUMPBIN"; then
  3662   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  3663 else
  3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3665 for as_dir in $PATH
  3666 do
  3667   IFS=$as_save_IFS
  3668   test -z "$as_dir" && as_dir=.
  3669   for ac_exec_ext in '' $ac_executable_extensions; do
  3670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3671     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  3672     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3673     break 2
  3674   fi
  3675 done
  3676 done
  3677 IFS=$as_save_IFS
  3678 
  3679 fi
  3680 fi
  3681 DUMPBIN=$ac_cv_prog_DUMPBIN
  3682 if test -n "$DUMPBIN"; then
  3683   { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  3684 echo "${ECHO_T}$DUMPBIN" >&6; }
  3685 else
  3686   { echo "$as_me:$LINENO: result: no" >&5
  3687 echo "${ECHO_T}no" >&6; }
  3688 fi
  3689 
  3690 
  3691     test -n "$DUMPBIN" && break
  3692   done
  3693 fi
  3694 if test -z "$DUMPBIN"; then
  3695   ac_ct_DUMPBIN=$DUMPBIN
  3696   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  3697 do
  3698   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3699 set dummy $ac_prog; ac_word=$2
  3700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3702 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  3703   echo $ECHO_N "(cached) $ECHO_C" >&6
  3704 else
  3705   if test -n "$ac_ct_DUMPBIN"; then
  3706   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  3707 else
  3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3709 for as_dir in $PATH
  3710 do
  3711   IFS=$as_save_IFS
  3712   test -z "$as_dir" && as_dir=.
  3713   for ac_exec_ext in '' $ac_executable_extensions; do
  3714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3715     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  3716     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3717     break 2
  3718   fi
  3719 done
  3720 done
  3721 IFS=$as_save_IFS
  3722 
  3723 fi
  3724 fi
  3725 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  3726 if test -n "$ac_ct_DUMPBIN"; then
  3727   { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  3728 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
  3729 else
  3730   { echo "$as_me:$LINENO: result: no" >&5
  3731 echo "${ECHO_T}no" >&6; }
  3732 fi
  3733 
  3734 
  3735   test -n "$ac_ct_DUMPBIN" && break
  3736 done
  3737 
  3738   if test "x$ac_ct_DUMPBIN" = x; then
  3739     DUMPBIN=":"
  3740   else
  3741     case $cross_compiling:$ac_tool_warned in
  3742 yes:)
  3743 { echo "$as_me:$LINENO: 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." >&5
  3746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3747 whose name does not start with the host triplet.  If you think this
  3748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3749 ac_tool_warned=yes ;;
  3750 esac
  3751     DUMPBIN=$ac_ct_DUMPBIN
  3752   fi
  3753 fi
  3754 
  3755 
  3756   if test "$DUMPBIN" != ":"; then
  3757     NM="$DUMPBIN"
  3758   fi
  3759 fi
  3760 test -z "$NM" && NM=nm
  3761 
  3762 
  3763 
  3764 
  3765 
  3766 
  3767 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  3768 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
  3769 if test "${lt_cv_nm_interface+set}" = set; then
  3770   echo $ECHO_N "(cached) $ECHO_C" >&6
  3771 else
  3772   lt_cv_nm_interface="BSD nm"
  3773   echo "int some_variable = 0;" > conftest.$ac_ext
  3774   (eval echo "\"\$as_me:3774: $ac_compile\"" >&5)
  3775   (eval "$ac_compile" 2>conftest.err)
  3776   cat conftest.err >&5
  3777   (eval echo "\"\$as_me:3777: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  3778   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3779   cat conftest.err >&5
  3780   (eval echo "\"\$as_me:3780: output\"" >&5)
  3781   cat conftest.out >&5
  3782   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3783     lt_cv_nm_interface="MS dumpbin"
  3784   fi
  3785   rm -f conftest*
  3786 fi
  3787 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  3788 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
  3789 
  3790 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
  3791 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  3792 LN_S=$as_ln_s
  3793 if test "$LN_S" = "ln -s"; then
  3794   { echo "$as_me:$LINENO: result: yes" >&5
  3795 echo "${ECHO_T}yes" >&6; }
  3796 else
  3797   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  3798 echo "${ECHO_T}no, using $LN_S" >&6; }
  3799 fi
  3800 
  3801 # find the maximum length of command line arguments
  3802 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  3803 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  3804 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  3805   echo $ECHO_N "(cached) $ECHO_C" >&6
  3806 else
  3807     i=0
  3808   teststring="ABCD"
  3809 
  3810   case $build_os in
  3811   msdosdjgpp*)
  3812     # On DJGPP, this test can blow up pretty badly due to problems in libc
  3813     # (any single argument exceeding 2000 bytes causes a buffer overrun
  3814     # during glob expansion).  Even if it were fixed, the result of this
  3815     # check would be larger than it should be.
  3816     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  3817     ;;
  3818 
  3819   gnu*)
  3820     # Under GNU Hurd, this test is not required because there is
  3821     # no limit to the length of command line arguments.
  3822     # Libtool will interpret -1 as no limit whatsoever
  3823     lt_cv_sys_max_cmd_len=-1;
  3824     ;;
  3825 
  3826   cygwin* | mingw* | cegcc*)
  3827     # On Win9x/ME, this test blows up -- it succeeds, but takes
  3828     # about 5 minutes as the teststring grows exponentially.
  3829     # Worse, since 9x/ME are not pre-emptively multitasking,
  3830     # you end up with a "frozen" computer, even though with patience
  3831     # the test eventually succeeds (with a max line length of 256k).
  3832     # Instead, let's just punt: use the minimum linelength reported by
  3833     # all of the supported platforms: 8192 (on NT/2K/XP).
  3834     lt_cv_sys_max_cmd_len=8192;
  3835     ;;
  3836 
  3837   beos*)
  3838     # On BeOS, this test takes a really really long time.
  3839     # So we just punt and use a minimum line length of 8192.
  3840     lt_cv_sys_max_cmd_len=8192;
  3841     ;;
  3842 
  3843   amigaos*)
  3844     # On AmigaOS with pdksh, this test takes hours, literally.
  3845     # So we just punt and use a minimum line length of 8192.
  3846     lt_cv_sys_max_cmd_len=8192;
  3847     ;;
  3848 
  3849   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  3850     # This has been around since 386BSD, at least.  Likely further.
  3851     if test -x /sbin/sysctl; then
  3852       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  3853     elif test -x /usr/sbin/sysctl; then
  3854       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  3855     else
  3856       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  3857     fi
  3858     # And add a safety zone
  3859     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  3860     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  3861     ;;
  3862 
  3863   interix*)
  3864     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  3865     lt_cv_sys_max_cmd_len=196608
  3866     ;;
  3867 
  3868   osf*)
  3869     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  3870     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  3871     # nice to cause kernel panics so lets avoid the loop below.
  3872     # First set a reasonable default.
  3873     lt_cv_sys_max_cmd_len=16384
  3874     #
  3875     if test -x /sbin/sysconfig; then
  3876       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  3877         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  3878       esac
  3879     fi
  3880     ;;
  3881   sco3.2v5*)
  3882     lt_cv_sys_max_cmd_len=102400
  3883     ;;
  3884   sysv5* | sco5v6* | sysv4.2uw2*)
  3885     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  3886     if test -n "$kargmax"; then
  3887       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  3888     else
  3889       lt_cv_sys_max_cmd_len=32768
  3890     fi
  3891     ;;
  3892   *)
  3893     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  3894     if test -n "$lt_cv_sys_max_cmd_len"; then
  3895       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  3896       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  3897     else
  3898       # Make teststring a little bigger before we do anything with it.
  3899       # a 1K string should be a reasonable start.
  3900       for i in 1 2 3 4 5 6 7 8 ; do
  3901         teststring=$teststring$teststring
  3902       done
  3903       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  3904       # If test is not a shell built-in, we'll probably end up computing a
  3905       # maximum length that is only half of the actual maximum length, but
  3906       # we can't tell.
  3907       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  3908 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  3909 	      test $i != 17 # 1/2 MB should be enough
  3910       do
  3911         i=`expr $i + 1`
  3912         teststring=$teststring$teststring
  3913       done
  3914       # Only check the string length outside the loop.
  3915       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  3916       teststring=
  3917       # Add a significant safety factor because C++ compilers can tack on
  3918       # massive amounts of additional arguments before passing them to the
  3919       # linker.  It appears as though 1/2 is a usable value.
  3920       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  3921     fi
  3922     ;;
  3923   esac
  3924 
  3925 fi
  3926 
  3927 if test -n $lt_cv_sys_max_cmd_len ; then
  3928   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  3929 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  3930 else
  3931   { echo "$as_me:$LINENO: result: none" >&5
  3932 echo "${ECHO_T}none" >&6; }
  3933 fi
  3934 max_cmd_len=$lt_cv_sys_max_cmd_len
  3935 
  3936 
  3937 
  3938 
  3939 
  3940 
  3941 : ${CP="cp -f"}
  3942 : ${MV="mv -f"}
  3943 : ${RM="rm -f"}
  3944 
  3945 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  3946 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
  3947 # Try some XSI features
  3948 xsi_shell=no
  3949 ( _lt_dummy="a/b/c"
  3950   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  3951       = c,a/b,, \
  3952     && eval 'test $(( 1 + 1 )) -eq 2 \
  3953     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  3954   && xsi_shell=yes
  3955 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
  3956 echo "${ECHO_T}$xsi_shell" >&6; }
  3957 
  3958 
  3959 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  3960 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
  3961 lt_shell_append=no
  3962 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  3963     >/dev/null 2>&1 \
  3964   && lt_shell_append=yes
  3965 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  3966 echo "${ECHO_T}$lt_shell_append" >&6; }
  3967 
  3968 
  3969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  3970   lt_unset=unset
  3971 else
  3972   lt_unset=false
  3973 fi
  3974 
  3975 
  3976 
  3977 
  3978 
  3979 # test EBCDIC or ASCII
  3980 case `echo X|tr X '\101'` in
  3981  A) # ASCII based system
  3982     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  3983   lt_SP2NL='tr \040 \012'
  3984   lt_NL2SP='tr \015\012 \040\040'
  3985   ;;
  3986  *) # EBCDIC based system
  3987   lt_SP2NL='tr \100 \n'
  3988   lt_NL2SP='tr \r\n \100\100'
  3989   ;;
  3990 esac
  3991 
  3992 
  3993 
  3994 
  3995 
  3996 
  3997 
  3998 
  3999 
  4000 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  4001 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  4002 if test "${lt_cv_ld_reload_flag+set}" = set; then
  4003   echo $ECHO_N "(cached) $ECHO_C" >&6
  4004 else
  4005   lt_cv_ld_reload_flag='-r'
  4006 fi
  4007 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  4008 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  4009 reload_flag=$lt_cv_ld_reload_flag
  4010 case $reload_flag in
  4011 "" | " "*) ;;
  4012 *) reload_flag=" $reload_flag" ;;
  4013 esac
  4014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4015 case $host_os in
  4016   darwin*)
  4017     if test "$GCC" = yes; then
  4018       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4019     else
  4020       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4021     fi
  4022     ;;
  4023 esac
  4024 
  4025 
  4026 
  4027 
  4028 
  4029 
  4030 
  4031 
  4032 
  4033 if test -n "$ac_tool_prefix"; then
  4034   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4035 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4038 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  4039   echo $ECHO_N "(cached) $ECHO_C" >&6
  4040 else
  4041   if test -n "$OBJDUMP"; then
  4042   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4043 else
  4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4045 for as_dir in $PATH
  4046 do
  4047   IFS=$as_save_IFS
  4048   test -z "$as_dir" && as_dir=.
  4049   for ac_exec_ext in '' $ac_executable_extensions; do
  4050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4051     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4052     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4053     break 2
  4054   fi
  4055 done
  4056 done
  4057 IFS=$as_save_IFS
  4058 
  4059 fi
  4060 fi
  4061 OBJDUMP=$ac_cv_prog_OBJDUMP
  4062 if test -n "$OBJDUMP"; then
  4063   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  4064 echo "${ECHO_T}$OBJDUMP" >&6; }
  4065 else
  4066   { echo "$as_me:$LINENO: result: no" >&5
  4067 echo "${ECHO_T}no" >&6; }
  4068 fi
  4069 
  4070 
  4071 fi
  4072 if test -z "$ac_cv_prog_OBJDUMP"; then
  4073   ac_ct_OBJDUMP=$OBJDUMP
  4074   # Extract the first word of "objdump", so it can be a program name with args.
  4075 set dummy objdump; ac_word=$2
  4076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4078 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  4079   echo $ECHO_N "(cached) $ECHO_C" >&6
  4080 else
  4081   if test -n "$ac_ct_OBJDUMP"; then
  4082   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4083 else
  4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4085 for as_dir in $PATH
  4086 do
  4087   IFS=$as_save_IFS
  4088   test -z "$as_dir" && as_dir=.
  4089   for ac_exec_ext in '' $ac_executable_extensions; do
  4090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4091     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4092     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4093     break 2
  4094   fi
  4095 done
  4096 done
  4097 IFS=$as_save_IFS
  4098 
  4099 fi
  4100 fi
  4101 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4102 if test -n "$ac_ct_OBJDUMP"; then
  4103   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  4104 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
  4105 else
  4106   { echo "$as_me:$LINENO: result: no" >&5
  4107 echo "${ECHO_T}no" >&6; }
  4108 fi
  4109 
  4110   if test "x$ac_ct_OBJDUMP" = x; then
  4111     OBJDUMP="false"
  4112   else
  4113     case $cross_compiling:$ac_tool_warned in
  4114 yes:)
  4115 { echo "$as_me:$LINENO: 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." >&5
  4118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4119 whose name does not start with the host triplet.  If you think this
  4120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4121 ac_tool_warned=yes ;;
  4122 esac
  4123     OBJDUMP=$ac_ct_OBJDUMP
  4124   fi
  4125 else
  4126   OBJDUMP="$ac_cv_prog_OBJDUMP"
  4127 fi
  4128 
  4129 test -z "$OBJDUMP" && OBJDUMP=objdump
  4130 
  4131 
  4132 
  4133 
  4134 
  4135 
  4136 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  4137 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
  4138 if test "${lt_cv_deplibs_check_method+set}" = set; then
  4139   echo $ECHO_N "(cached) $ECHO_C" >&6
  4140 else
  4141   lt_cv_file_magic_cmd='$MAGIC_CMD'
  4142 lt_cv_file_magic_test_file=
  4143 lt_cv_deplibs_check_method='unknown'
  4144 # Need to set the preceding variable on all platforms that support
  4145 # interlibrary dependencies.
  4146 # 'none' -- dependencies not supported.
  4147 # `unknown' -- same as none, but documents that we really don't know.
  4148 # 'pass_all' -- all dependencies passed with no checks.
  4149 # 'test_compile' -- check by making test program.
  4150 # 'file_magic [[regex]]' -- check by looking for files in library path
  4151 # which responds to the $file_magic_cmd with a given extended regex.
  4152 # If you have `file' or equivalent on your system and you're not sure
  4153 # whether `pass_all' will *always* work, you probably want this one.
  4154 
  4155 case $host_os in
  4156 aix[4-9]*)
  4157   lt_cv_deplibs_check_method=pass_all
  4158   ;;
  4159 
  4160 beos*)
  4161   lt_cv_deplibs_check_method=pass_all
  4162   ;;
  4163 
  4164 bsdi[45]*)
  4165   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4166   lt_cv_file_magic_cmd='/usr/bin/file -L'
  4167   lt_cv_file_magic_test_file=/shlib/libc.so
  4168   ;;
  4169 
  4170 cygwin*)
  4171   # func_win32_libid is a shell function defined in ltmain.sh
  4172   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4173   lt_cv_deplibs_check_method=pass_all
  4174   lt_cv_file_magic_cmd='func_win32_libid'
  4175   ;;
  4176 
  4177 mingw* | pw32*)
  4178   # Base MSYS/MinGW do not provide the 'file' command needed by
  4179   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4180   # unless we find 'file', for example because we are cross-compiling.
  4181   if ( file / ) >/dev/null 2>&1; then
  4182     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4183     lt_cv_file_magic_cmd='func_win32_libid'
  4184   else
  4185     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4186     lt_cv_file_magic_cmd='$OBJDUMP -f'
  4187   fi
  4188   lt_cv_deplibs_check_method=pass_all
  4189   ;;
  4190 
  4191 cegcc)
  4192   # use the weaker test based on 'objdump'. See mingw*.
  4193   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4194   lt_cv_file_magic_cmd='$OBJDUMP -f'
  4195   ;;
  4196 
  4197 darwin* | rhapsody*)
  4198   lt_cv_deplibs_check_method=pass_all
  4199   ;;
  4200 
  4201 freebsd* | dragonfly*)
  4202   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4203     case $host_cpu in
  4204     i*86 )
  4205       # Not sure whether the presence of OpenBSD here was a mistake.
  4206       # Let's accept both of them until this is cleared up.
  4207       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4208       lt_cv_file_magic_cmd=/usr/bin/file
  4209       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4210       ;;
  4211     esac
  4212   else
  4213     lt_cv_deplibs_check_method=pass_all
  4214   fi
  4215   ;;
  4216 
  4217 gnu*)
  4218   lt_cv_deplibs_check_method=pass_all
  4219   ;;
  4220 
  4221 hpux10.20* | hpux11*)
  4222   lt_cv_file_magic_cmd=/usr/bin/file
  4223   case $host_cpu in
  4224   ia64*)
  4225     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4226     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4227     ;;
  4228   hppa*64*)
  4229     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]'
  4230     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4231     ;;
  4232   *)
  4233     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  4234     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4235     ;;
  4236   esac
  4237   ;;
  4238 
  4239 interix[3-9]*)
  4240   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4241   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4242   ;;
  4243 
  4244 irix5* | irix6* | nonstopux*)
  4245   case $LD in
  4246   *-32|*"-32 ") libmagic=32-bit;;
  4247   *-n32|*"-n32 ") libmagic=N32;;
  4248   *-64|*"-64 ") libmagic=64-bit;;
  4249   *) libmagic=never-match;;
  4250   esac
  4251   lt_cv_deplibs_check_method=pass_all
  4252   ;;
  4253 
  4254 # This must be Linux ELF.
  4255 linux* | k*bsd*-gnu)
  4256   lt_cv_deplibs_check_method=pass_all
  4257   ;;
  4258 
  4259 netbsd*)
  4260   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4261     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4262   else
  4263     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4264   fi
  4265   ;;
  4266 
  4267 newos6*)
  4268   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4269   lt_cv_file_magic_cmd=/usr/bin/file
  4270   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4271   ;;
  4272 
  4273 *nto* | *qnx*)
  4274   lt_cv_deplibs_check_method=pass_all
  4275   ;;
  4276 
  4277 openbsd*)
  4278   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4279     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4280   else
  4281     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4282   fi
  4283   ;;
  4284 
  4285 osf3* | osf4* | osf5*)
  4286   lt_cv_deplibs_check_method=pass_all
  4287   ;;
  4288 
  4289 rdos*)
  4290   lt_cv_deplibs_check_method=pass_all
  4291   ;;
  4292 
  4293 solaris*)
  4294   lt_cv_deplibs_check_method=pass_all
  4295   ;;
  4296 
  4297 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4298   lt_cv_deplibs_check_method=pass_all
  4299   ;;
  4300 
  4301 sysv4 | sysv4.3*)
  4302   case $host_vendor in
  4303   motorola)
  4304     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]'
  4305     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4306     ;;
  4307   ncr)
  4308     lt_cv_deplibs_check_method=pass_all
  4309     ;;
  4310   sequent)
  4311     lt_cv_file_magic_cmd='/bin/file'
  4312     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4313     ;;
  4314   sni)
  4315     lt_cv_file_magic_cmd='/bin/file'
  4316     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4317     lt_cv_file_magic_test_file=/lib/libc.so
  4318     ;;
  4319   siemens)
  4320     lt_cv_deplibs_check_method=pass_all
  4321     ;;
  4322   pc)
  4323     lt_cv_deplibs_check_method=pass_all
  4324     ;;
  4325   esac
  4326   ;;
  4327 
  4328 tpf*)
  4329   lt_cv_deplibs_check_method=pass_all
  4330   ;;
  4331 esac
  4332 
  4333 fi
  4334 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  4335 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  4336 file_magic_cmd=$lt_cv_file_magic_cmd
  4337 deplibs_check_method=$lt_cv_deplibs_check_method
  4338 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4339 
  4340 
  4341 
  4342 
  4343 
  4344 
  4345 
  4346 
  4347 
  4348 
  4349 
  4350 
  4351 if test -n "$ac_tool_prefix"; then
  4352   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  4353 set dummy ${ac_tool_prefix}ar; ac_word=$2
  4354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4356 if test "${ac_cv_prog_AR+set}" = set; then
  4357   echo $ECHO_N "(cached) $ECHO_C" >&6
  4358 else
  4359   if test -n "$AR"; then
  4360   ac_cv_prog_AR="$AR" # Let the user override the test.
  4361 else
  4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4363 for as_dir in $PATH
  4364 do
  4365   IFS=$as_save_IFS
  4366   test -z "$as_dir" && as_dir=.
  4367   for ac_exec_ext in '' $ac_executable_extensions; do
  4368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4369     ac_cv_prog_AR="${ac_tool_prefix}ar"
  4370     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4371     break 2
  4372   fi
  4373 done
  4374 done
  4375 IFS=$as_save_IFS
  4376 
  4377 fi
  4378 fi
  4379 AR=$ac_cv_prog_AR
  4380 if test -n "$AR"; then
  4381   { echo "$as_me:$LINENO: result: $AR" >&5
  4382 echo "${ECHO_T}$AR" >&6; }
  4383 else
  4384   { echo "$as_me:$LINENO: result: no" >&5
  4385 echo "${ECHO_T}no" >&6; }
  4386 fi
  4387 
  4388 
  4389 fi
  4390 if test -z "$ac_cv_prog_AR"; then
  4391   ac_ct_AR=$AR
  4392   # Extract the first word of "ar", so it can be a program name with args.
  4393 set dummy ar; ac_word=$2
  4394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4396 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  4397   echo $ECHO_N "(cached) $ECHO_C" >&6
  4398 else
  4399   if test -n "$ac_ct_AR"; then
  4400   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4401 else
  4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4403 for as_dir in $PATH
  4404 do
  4405   IFS=$as_save_IFS
  4406   test -z "$as_dir" && as_dir=.
  4407   for ac_exec_ext in '' $ac_executable_extensions; do
  4408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4409     ac_cv_prog_ac_ct_AR="ar"
  4410     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4411     break 2
  4412   fi
  4413 done
  4414 done
  4415 IFS=$as_save_IFS
  4416 
  4417 fi
  4418 fi
  4419 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4420 if test -n "$ac_ct_AR"; then
  4421   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  4422 echo "${ECHO_T}$ac_ct_AR" >&6; }
  4423 else
  4424   { echo "$as_me:$LINENO: result: no" >&5
  4425 echo "${ECHO_T}no" >&6; }
  4426 fi
  4427 
  4428   if test "x$ac_ct_AR" = x; then
  4429     AR="false"
  4430   else
  4431     case $cross_compiling:$ac_tool_warned in
  4432 yes:)
  4433 { echo "$as_me:$LINENO: 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." >&5
  4436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4437 whose name does not start with the host triplet.  If you think this
  4438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4439 ac_tool_warned=yes ;;
  4440 esac
  4441     AR=$ac_ct_AR
  4442   fi
  4443 else
  4444   AR="$ac_cv_prog_AR"
  4445 fi
  4446 
  4447 test -z "$AR" && AR=ar
  4448 test -z "$AR_FLAGS" && AR_FLAGS=cru
  4449 
  4450 
  4451 
  4452 
  4453 
  4454 
  4455 
  4456 
  4457 
  4458 
  4459 
  4460 if test -n "$ac_tool_prefix"; then
  4461   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4462 set dummy ${ac_tool_prefix}strip; ac_word=$2
  4463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4465 if test "${ac_cv_prog_STRIP+set}" = set; then
  4466   echo $ECHO_N "(cached) $ECHO_C" >&6
  4467 else
  4468   if test -n "$STRIP"; then
  4469   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4470 else
  4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4472 for as_dir in $PATH
  4473 do
  4474   IFS=$as_save_IFS
  4475   test -z "$as_dir" && as_dir=.
  4476   for ac_exec_ext in '' $ac_executable_extensions; do
  4477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4478     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4479     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4480     break 2
  4481   fi
  4482 done
  4483 done
  4484 IFS=$as_save_IFS
  4485 
  4486 fi
  4487 fi
  4488 STRIP=$ac_cv_prog_STRIP
  4489 if test -n "$STRIP"; then
  4490   { echo "$as_me:$LINENO: result: $STRIP" >&5
  4491 echo "${ECHO_T}$STRIP" >&6; }
  4492 else
  4493   { echo "$as_me:$LINENO: result: no" >&5
  4494 echo "${ECHO_T}no" >&6; }
  4495 fi
  4496 
  4497 
  4498 fi
  4499 if test -z "$ac_cv_prog_STRIP"; then
  4500   ac_ct_STRIP=$STRIP
  4501   # Extract the first word of "strip", so it can be a program name with args.
  4502 set dummy strip; ac_word=$2
  4503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4505 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  4506   echo $ECHO_N "(cached) $ECHO_C" >&6
  4507 else
  4508   if test -n "$ac_ct_STRIP"; then
  4509   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4510 else
  4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4512 for as_dir in $PATH
  4513 do
  4514   IFS=$as_save_IFS
  4515   test -z "$as_dir" && as_dir=.
  4516   for ac_exec_ext in '' $ac_executable_extensions; do
  4517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4518     ac_cv_prog_ac_ct_STRIP="strip"
  4519     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4520     break 2
  4521   fi
  4522 done
  4523 done
  4524 IFS=$as_save_IFS
  4525 
  4526 fi
  4527 fi
  4528 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  4529 if test -n "$ac_ct_STRIP"; then
  4530   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  4531 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  4532 else
  4533   { echo "$as_me:$LINENO: result: no" >&5
  4534 echo "${ECHO_T}no" >&6; }
  4535 fi
  4536 
  4537   if test "x$ac_ct_STRIP" = x; then
  4538     STRIP=":"
  4539   else
  4540     case $cross_compiling:$ac_tool_warned in
  4541 yes:)
  4542 { echo "$as_me:$LINENO: 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." >&5
  4545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4546 whose name does not start with the host triplet.  If you think this
  4547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4548 ac_tool_warned=yes ;;
  4549 esac
  4550     STRIP=$ac_ct_STRIP
  4551   fi
  4552 else
  4553   STRIP="$ac_cv_prog_STRIP"
  4554 fi
  4555 
  4556 test -z "$STRIP" && STRIP=:
  4557 
  4558 
  4559 
  4560 
  4561 
  4562 
  4563 if test -n "$ac_tool_prefix"; then
  4564   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4565 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4568 if test "${ac_cv_prog_RANLIB+set}" = set; then
  4569   echo $ECHO_N "(cached) $ECHO_C" >&6
  4570 else
  4571   if test -n "$RANLIB"; then
  4572   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4573 else
  4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4575 for as_dir in $PATH
  4576 do
  4577   IFS=$as_save_IFS
  4578   test -z "$as_dir" && as_dir=.
  4579   for ac_exec_ext in '' $ac_executable_extensions; do
  4580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4581     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  4582     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4583     break 2
  4584   fi
  4585 done
  4586 done
  4587 IFS=$as_save_IFS
  4588 
  4589 fi
  4590 fi
  4591 RANLIB=$ac_cv_prog_RANLIB
  4592 if test -n "$RANLIB"; then
  4593   { echo "$as_me:$LINENO: result: $RANLIB" >&5
  4594 echo "${ECHO_T}$RANLIB" >&6; }
  4595 else
  4596   { echo "$as_me:$LINENO: result: no" >&5
  4597 echo "${ECHO_T}no" >&6; }
  4598 fi
  4599 
  4600 
  4601 fi
  4602 if test -z "$ac_cv_prog_RANLIB"; then
  4603   ac_ct_RANLIB=$RANLIB
  4604   # Extract the first word of "ranlib", so it can be a program name with args.
  4605 set dummy ranlib; ac_word=$2
  4606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4608 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  4609   echo $ECHO_N "(cached) $ECHO_C" >&6
  4610 else
  4611   if test -n "$ac_ct_RANLIB"; then
  4612   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  4613 else
  4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4615 for as_dir in $PATH
  4616 do
  4617   IFS=$as_save_IFS
  4618   test -z "$as_dir" && as_dir=.
  4619   for ac_exec_ext in '' $ac_executable_extensions; do
  4620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4621     ac_cv_prog_ac_ct_RANLIB="ranlib"
  4622     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4623     break 2
  4624   fi
  4625 done
  4626 done
  4627 IFS=$as_save_IFS
  4628 
  4629 fi
  4630 fi
  4631 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  4632 if test -n "$ac_ct_RANLIB"; then
  4633   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  4634 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  4635 else
  4636   { echo "$as_me:$LINENO: result: no" >&5
  4637 echo "${ECHO_T}no" >&6; }
  4638 fi
  4639 
  4640   if test "x$ac_ct_RANLIB" = x; then
  4641     RANLIB=":"
  4642   else
  4643     case $cross_compiling:$ac_tool_warned in
  4644 yes:)
  4645 { echo "$as_me:$LINENO: 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." >&5
  4648 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4649 whose name does not start with the host triplet.  If you think this
  4650 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4651 ac_tool_warned=yes ;;
  4652 esac
  4653     RANLIB=$ac_ct_RANLIB
  4654   fi
  4655 else
  4656   RANLIB="$ac_cv_prog_RANLIB"
  4657 fi
  4658 
  4659 test -z "$RANLIB" && RANLIB=:
  4660 
  4661 
  4662 
  4663 
  4664 
  4665 
  4666 # Determine commands to create old-style static archives.
  4667 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  4668 old_postinstall_cmds='chmod 644 $oldlib'
  4669 old_postuninstall_cmds=
  4670 
  4671 if test -n "$RANLIB"; then
  4672   case $host_os in
  4673   openbsd*)
  4674     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  4675     ;;
  4676   *)
  4677     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  4678     ;;
  4679   esac
  4680   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  4681 fi
  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 
  4714 
  4715 
  4716 # If no C compiler was specified, use CC.
  4717 LTCC=${LTCC-"$CC"}
  4718 
  4719 # If no C compiler flags were specified, use CFLAGS.
  4720 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  4721 
  4722 # Allow CC to be a program name with arguments.
  4723 compiler=$CC
  4724 
  4725 
  4726 # Check for command to grab the raw symbol name followed by C symbol from nm.
  4727 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  4728 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  4729 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  4730   echo $ECHO_N "(cached) $ECHO_C" >&6
  4731 else
  4732 
  4733 # These are sane defaults that work on at least a few old systems.
  4734 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  4735 
  4736 # Character class describing NM global symbol codes.
  4737 symcode='[BCDEGRST]'
  4738 
  4739 # Regexp to match symbols that can be accessed directly from C.
  4740 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  4741 
  4742 # Define system-specific variables.
  4743 case $host_os in
  4744 aix*)
  4745   symcode='[BCDT]'
  4746   ;;
  4747 cygwin* | mingw* | pw32* | cegcc*)
  4748   symcode='[ABCDGISTW]'
  4749   ;;
  4750 hpux*)
  4751   if test "$host_cpu" = ia64; then
  4752     symcode='[ABCDEGRST]'
  4753   fi
  4754   ;;
  4755 irix* | nonstopux*)
  4756   symcode='[BCDEGRST]'
  4757   ;;
  4758 osf*)
  4759   symcode='[BCDEGQRST]'
  4760   ;;
  4761 solaris*)
  4762   symcode='[BDRT]'
  4763   ;;
  4764 sco3.2v5*)
  4765   symcode='[DT]'
  4766   ;;
  4767 sysv4.2uw2*)
  4768   symcode='[DT]'
  4769   ;;
  4770 sysv5* | sco5v6* | unixware* | OpenUNIX*)
  4771   symcode='[ABDT]'
  4772   ;;
  4773 sysv4)
  4774   symcode='[DFNSTU]'
  4775   ;;
  4776 esac
  4777 
  4778 # If we're using GNU nm, then use its standard symbol codes.
  4779 case `$NM -V 2>&1` in
  4780 *GNU* | *'with BFD'*)
  4781   symcode='[ABCDGIRSTW]' ;;
  4782 esac
  4783 
  4784 # Transform an extracted symbol line into a proper C declaration.
  4785 # Some systems (esp. on ia64) link data and code symbols differently,
  4786 # so use this general approach.
  4787 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  4788 
  4789 # Transform an extracted symbol line into symbol name and symbol address
  4790 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  4791 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'"
  4792 
  4793 # Handle CRLF in mingw tool chain
  4794 opt_cr=
  4795 case $build_os in
  4796 mingw*)
  4797   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  4798   ;;
  4799 esac
  4800 
  4801 # Try without a prefix underscore, then with it.
  4802 for ac_symprfx in "" "_"; do
  4803 
  4804   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  4805   symxfrm="\\1 $ac_symprfx\\2 \\2"
  4806 
  4807   # Write the raw and C identifiers.
  4808   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  4809     # Fake it for dumpbin and say T for any non-static function
  4810     # and D for any global variable.
  4811     # Also find C++ and __fastcall symbols from MSVC++,
  4812     # which start with @ or ?.
  4813     lt_cv_sys_global_symbol_pipe="$AWK '"\
  4814 "     {last_section=section; section=\$ 3};"\
  4815 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  4816 "     \$ 0!~/External *\|/{next};"\
  4817 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  4818 "     {if(hide[section]) next};"\
  4819 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  4820 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  4821 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  4822 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  4823 "     ' prfx=^$ac_symprfx"
  4824   else
  4825     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  4826   fi
  4827 
  4828   # Check to see that the pipe works correctly.
  4829   pipe_works=no
  4830 
  4831   rm -f conftest*
  4832   cat > conftest.$ac_ext <<_LT_EOF
  4833 #ifdef __cplusplus
  4834 extern "C" {
  4835 #endif
  4836 char nm_test_var;
  4837 void nm_test_func(void);
  4838 void nm_test_func(void){}
  4839 #ifdef __cplusplus
  4840 }
  4841 #endif
  4842 int main(){nm_test_var='a';nm_test_func();return(0);}
  4843 _LT_EOF
  4844 
  4845   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4846   (eval $ac_compile) 2>&5
  4847   ac_status=$?
  4848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4849   (exit $ac_status); }; then
  4850     # Now try to grab the symbols.
  4851     nlist=conftest.nm
  4852     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  4853   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  4854   ac_status=$?
  4855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4856   (exit $ac_status); } && test -s "$nlist"; then
  4857       # Try sorting and uniquifying the output.
  4858       if sort "$nlist" | uniq > "$nlist"T; then
  4859 	mv -f "$nlist"T "$nlist"
  4860       else
  4861 	rm -f "$nlist"T
  4862       fi
  4863 
  4864       # Make sure that we snagged all the symbols we need.
  4865       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  4866 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  4867 	  cat <<_LT_EOF > conftest.$ac_ext
  4868 #ifdef __cplusplus
  4869 extern "C" {
  4870 #endif
  4871 
  4872 _LT_EOF
  4873 	  # Now generate the symbol file.
  4874 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  4875 
  4876 	  cat <<_LT_EOF >> conftest.$ac_ext
  4877 
  4878 /* The mapping between symbol names and symbols.  */
  4879 const struct {
  4880   const char *name;
  4881   void       *address;
  4882 }
  4883 lt__PROGRAM__LTX_preloaded_symbols[] =
  4884 {
  4885   { "@PROGRAM@", (void *) 0 },
  4886 _LT_EOF
  4887 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  4888 	  cat <<\_LT_EOF >> conftest.$ac_ext
  4889   {0, (void *) 0}
  4890 };
  4891 
  4892 /* This works around a problem in FreeBSD linker */
  4893 #ifdef FREEBSD_WORKAROUND
  4894 static const void *lt_preloaded_setup() {
  4895   return lt__PROGRAM__LTX_preloaded_symbols;
  4896 }
  4897 #endif
  4898 
  4899 #ifdef __cplusplus
  4900 }
  4901 #endif
  4902 _LT_EOF
  4903 	  # Now try linking the two files.
  4904 	  mv conftest.$ac_objext conftstm.$ac_objext
  4905 	  lt_save_LIBS="$LIBS"
  4906 	  lt_save_CFLAGS="$CFLAGS"
  4907 	  LIBS="conftstm.$ac_objext"
  4908 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  4909 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4910   (eval $ac_link) 2>&5
  4911   ac_status=$?
  4912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4913   (exit $ac_status); } && test -s conftest${ac_exeext}; then
  4914 	    pipe_works=yes
  4915 	  fi
  4916 	  LIBS="$lt_save_LIBS"
  4917 	  CFLAGS="$lt_save_CFLAGS"
  4918 	else
  4919 	  echo "cannot find nm_test_func in $nlist" >&5
  4920 	fi
  4921       else
  4922 	echo "cannot find nm_test_var in $nlist" >&5
  4923       fi
  4924     else
  4925       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  4926     fi
  4927   else
  4928     echo "$progname: failed program was:" >&5
  4929     cat conftest.$ac_ext >&5
  4930   fi
  4931   rm -rf conftest* conftst*
  4932 
  4933   # Do not use the global_symbol_pipe unless it works.
  4934   if test "$pipe_works" = yes; then
  4935     break
  4936   else
  4937     lt_cv_sys_global_symbol_pipe=
  4938   fi
  4939 done
  4940 
  4941 fi
  4942 
  4943 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  4944   lt_cv_sys_global_symbol_to_cdecl=
  4945 fi
  4946 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  4947   { echo "$as_me:$LINENO: result: failed" >&5
  4948 echo "${ECHO_T}failed" >&6; }
  4949 else
  4950   { echo "$as_me:$LINENO: result: ok" >&5
  4951 echo "${ECHO_T}ok" >&6; }
  4952 fi
  4953 
  4954 
  4955 
  4956 
  4957 
  4958 
  4959 
  4960 
  4961 
  4962 
  4963 
  4964 
  4965 
  4966 
  4967 
  4968 
  4969 
  4970 
  4971 
  4972 
  4973 
  4974 
  4975 
  4976 # Check whether --enable-libtool-lock was given.
  4977 if test "${enable_libtool_lock+set}" = set; then
  4978   enableval=$enable_libtool_lock;
  4979 fi
  4980 
  4981 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  4982 
  4983 # Some flags need to be propagated to the compiler or linker for good
  4984 # libtool support.
  4985 case $host in
  4986 ia64-*-hpux*)
  4987   # Find out which ABI we are using.
  4988   echo 'int i;' > conftest.$ac_ext
  4989   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4990   (eval $ac_compile) 2>&5
  4991   ac_status=$?
  4992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4993   (exit $ac_status); }; then
  4994     case `/usr/bin/file conftest.$ac_objext` in
  4995       *ELF-32*)
  4996 	HPUX_IA64_MODE="32"
  4997 	;;
  4998       *ELF-64*)
  4999 	HPUX_IA64_MODE="64"
  5000 	;;
  5001     esac
  5002   fi
  5003   rm -rf conftest*
  5004   ;;
  5005 *-*-irix6*)
  5006   # Find out which ABI we are using.
  5007   echo '#line 5007 "configure"' > conftest.$ac_ext
  5008   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5009   (eval $ac_compile) 2>&5
  5010   ac_status=$?
  5011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5012   (exit $ac_status); }; then
  5013     if test "$lt_cv_prog_gnu_ld" = yes; then
  5014       case `/usr/bin/file conftest.$ac_objext` in
  5015 	*32-bit*)
  5016 	  LD="${LD-ld} -melf32bsmip"
  5017 	  ;;
  5018 	*N32*)
  5019 	  LD="${LD-ld} -melf32bmipn32"
  5020 	  ;;
  5021 	*64-bit*)
  5022 	  LD="${LD-ld} -melf64bmip"
  5023 	;;
  5024       esac
  5025     else
  5026       case `/usr/bin/file conftest.$ac_objext` in
  5027 	*32-bit*)
  5028 	  LD="${LD-ld} -32"
  5029 	  ;;
  5030 	*N32*)
  5031 	  LD="${LD-ld} -n32"
  5032 	  ;;
  5033 	*64-bit*)
  5034 	  LD="${LD-ld} -64"
  5035 	  ;;
  5036       esac
  5037     fi
  5038   fi
  5039   rm -rf conftest*
  5040   ;;
  5041 
  5042 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5043 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5044   # Find out which ABI we are using.
  5045   echo 'int i;' > conftest.$ac_ext
  5046   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5047   (eval $ac_compile) 2>&5
  5048   ac_status=$?
  5049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5050   (exit $ac_status); }; then
  5051     case `/usr/bin/file conftest.o` in
  5052       *32-bit*)
  5053 	case $host in
  5054 	  x86_64-*kfreebsd*-gnu)
  5055 	    LD="${LD-ld} -m elf_i386_fbsd"
  5056 	    ;;
  5057 	  x86_64-*linux*)
  5058 	    LD="${LD-ld} -m elf_i386"
  5059 	    ;;
  5060 	  ppc64-*linux*|powerpc64-*linux*)
  5061 	    LD="${LD-ld} -m elf32ppclinux"
  5062 	    ;;
  5063 	  s390x-*linux*)
  5064 	    LD="${LD-ld} -m elf_s390"
  5065 	    ;;
  5066 	  sparc64-*linux*)
  5067 	    LD="${LD-ld} -m elf32_sparc"
  5068 	    ;;
  5069 	esac
  5070 	;;
  5071       *64-bit*)
  5072 	case $host in
  5073 	  x86_64-*kfreebsd*-gnu)
  5074 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  5075 	    ;;
  5076 	  x86_64-*linux*)
  5077 	    LD="${LD-ld} -m elf_x86_64"
  5078 	    ;;
  5079 	  ppc*-*linux*|powerpc*-*linux*)
  5080 	    LD="${LD-ld} -m elf64ppc"
  5081 	    ;;
  5082 	  s390*-*linux*|s390*-*tpf*)
  5083 	    LD="${LD-ld} -m elf64_s390"
  5084 	    ;;
  5085 	  sparc*-*linux*)
  5086 	    LD="${LD-ld} -m elf64_sparc"
  5087 	    ;;
  5088 	esac
  5089 	;;
  5090     esac
  5091   fi
  5092   rm -rf conftest*
  5093   ;;
  5094 
  5095 *-*-sco3.2v5*)
  5096   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5097   SAVE_CFLAGS="$CFLAGS"
  5098   CFLAGS="$CFLAGS -belf"
  5099   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  5100 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  5101 if test "${lt_cv_cc_needs_belf+set}" = set; then
  5102   echo $ECHO_N "(cached) $ECHO_C" >&6
  5103 else
  5104   ac_ext=c
  5105 ac_cpp='$CPP $CPPFLAGS'
  5106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5109 
  5110      cat >conftest.$ac_ext <<_ACEOF
  5111 /* confdefs.h.  */
  5112 _ACEOF
  5113 cat confdefs.h >>conftest.$ac_ext
  5114 cat >>conftest.$ac_ext <<_ACEOF
  5115 /* end confdefs.h.  */
  5116 
  5117 int
  5118 main ()
  5119 {
  5120 
  5121   ;
  5122   return 0;
  5123 }
  5124 _ACEOF
  5125 rm -f conftest.$ac_objext conftest$ac_exeext
  5126 if { (ac_try="$ac_link"
  5127 case "(($ac_try" in
  5128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5129   *) ac_try_echo=$ac_try;;
  5130 esac
  5131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5132   (eval "$ac_link") 2>conftest.er1
  5133   ac_status=$?
  5134   grep -v '^ *+' conftest.er1 >conftest.err
  5135   rm -f conftest.er1
  5136   cat conftest.err >&5
  5137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5138   (exit $ac_status); } && {
  5139 	 test -z "$ac_c_werror_flag" ||
  5140 	 test ! -s conftest.err
  5141        } && test -s conftest$ac_exeext &&
  5142        $as_test_x conftest$ac_exeext; then
  5143   lt_cv_cc_needs_belf=yes
  5144 else
  5145   echo "$as_me: failed program was:" >&5
  5146 sed 's/^/| /' conftest.$ac_ext >&5
  5147 
  5148 	lt_cv_cc_needs_belf=no
  5149 fi
  5150 
  5151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5152       conftest$ac_exeext conftest.$ac_ext
  5153      ac_ext=c
  5154 ac_cpp='$CPP $CPPFLAGS'
  5155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5158 
  5159 fi
  5160 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  5161 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  5162   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5163     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5164     CFLAGS="$SAVE_CFLAGS"
  5165   fi
  5166   ;;
  5167 sparc*-*solaris*)
  5168   # Find out which ABI we are using.
  5169   echo 'int i;' > conftest.$ac_ext
  5170   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5171   (eval $ac_compile) 2>&5
  5172   ac_status=$?
  5173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5174   (exit $ac_status); }; then
  5175     case `/usr/bin/file conftest.o` in
  5176     *64-bit*)
  5177       case $lt_cv_prog_gnu_ld in
  5178       yes*) LD="${LD-ld} -m elf64_sparc" ;;
  5179       *)
  5180 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5181 	  LD="${LD-ld} -64"
  5182 	fi
  5183 	;;
  5184       esac
  5185       ;;
  5186     esac
  5187   fi
  5188   rm -rf conftest*
  5189   ;;
  5190 esac
  5191 
  5192 need_locks="$enable_libtool_lock"
  5193 
  5194 
  5195   case $host_os in
  5196     rhapsody* | darwin*)
  5197     if test -n "$ac_tool_prefix"; then
  5198   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  5199 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  5200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5202 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  5203   echo $ECHO_N "(cached) $ECHO_C" >&6
  5204 else
  5205   if test -n "$DSYMUTIL"; then
  5206   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  5207 else
  5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5209 for as_dir in $PATH
  5210 do
  5211   IFS=$as_save_IFS
  5212   test -z "$as_dir" && as_dir=.
  5213   for ac_exec_ext in '' $ac_executable_extensions; do
  5214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5215     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  5216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5217     break 2
  5218   fi
  5219 done
  5220 done
  5221 IFS=$as_save_IFS
  5222 
  5223 fi
  5224 fi
  5225 DSYMUTIL=$ac_cv_prog_DSYMUTIL
  5226 if test -n "$DSYMUTIL"; then
  5227   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  5228 echo "${ECHO_T}$DSYMUTIL" >&6; }
  5229 else
  5230   { echo "$as_me:$LINENO: result: no" >&5
  5231 echo "${ECHO_T}no" >&6; }
  5232 fi
  5233 
  5234 
  5235 fi
  5236 if test -z "$ac_cv_prog_DSYMUTIL"; then
  5237   ac_ct_DSYMUTIL=$DSYMUTIL
  5238   # Extract the first word of "dsymutil", so it can be a program name with args.
  5239 set dummy dsymutil; ac_word=$2
  5240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5242 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  5243   echo $ECHO_N "(cached) $ECHO_C" >&6
  5244 else
  5245   if test -n "$ac_ct_DSYMUTIL"; then
  5246   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  5247 else
  5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5249 for as_dir in $PATH
  5250 do
  5251   IFS=$as_save_IFS
  5252   test -z "$as_dir" && as_dir=.
  5253   for ac_exec_ext in '' $ac_executable_extensions; do
  5254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5255     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  5256     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5257     break 2
  5258   fi
  5259 done
  5260 done
  5261 IFS=$as_save_IFS
  5262 
  5263 fi
  5264 fi
  5265 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  5266 if test -n "$ac_ct_DSYMUTIL"; then
  5267   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  5268 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
  5269 else
  5270   { echo "$as_me:$LINENO: result: no" >&5
  5271 echo "${ECHO_T}no" >&6; }
  5272 fi
  5273 
  5274   if test "x$ac_ct_DSYMUTIL" = x; then
  5275     DSYMUTIL=":"
  5276   else
  5277     case $cross_compiling:$ac_tool_warned in
  5278 yes:)
  5279 { echo "$as_me:$LINENO: 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." >&5
  5282 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5283 whose name does not start with the host triplet.  If you think this
  5284 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5285 ac_tool_warned=yes ;;
  5286 esac
  5287     DSYMUTIL=$ac_ct_DSYMUTIL
  5288   fi
  5289 else
  5290   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  5291 fi
  5292 
  5293     if test -n "$ac_tool_prefix"; then
  5294   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  5295 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  5296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5298 if test "${ac_cv_prog_NMEDIT+set}" = set; then
  5299   echo $ECHO_N "(cached) $ECHO_C" >&6
  5300 else
  5301   if test -n "$NMEDIT"; then
  5302   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  5303 else
  5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5305 for as_dir in $PATH
  5306 do
  5307   IFS=$as_save_IFS
  5308   test -z "$as_dir" && as_dir=.
  5309   for ac_exec_ext in '' $ac_executable_extensions; do
  5310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5311     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  5312     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5313     break 2
  5314   fi
  5315 done
  5316 done
  5317 IFS=$as_save_IFS
  5318 
  5319 fi
  5320 fi
  5321 NMEDIT=$ac_cv_prog_NMEDIT
  5322 if test -n "$NMEDIT"; then
  5323   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
  5324 echo "${ECHO_T}$NMEDIT" >&6; }
  5325 else
  5326   { echo "$as_me:$LINENO: result: no" >&5
  5327 echo "${ECHO_T}no" >&6; }
  5328 fi
  5329 
  5330 
  5331 fi
  5332 if test -z "$ac_cv_prog_NMEDIT"; then
  5333   ac_ct_NMEDIT=$NMEDIT
  5334   # Extract the first word of "nmedit", so it can be a program name with args.
  5335 set dummy nmedit; ac_word=$2
  5336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5338 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  5339   echo $ECHO_N "(cached) $ECHO_C" >&6
  5340 else
  5341   if test -n "$ac_ct_NMEDIT"; then
  5342   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  5343 else
  5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5345 for as_dir in $PATH
  5346 do
  5347   IFS=$as_save_IFS
  5348   test -z "$as_dir" && as_dir=.
  5349   for ac_exec_ext in '' $ac_executable_extensions; do
  5350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5351     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  5352     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5353     break 2
  5354   fi
  5355 done
  5356 done
  5357 IFS=$as_save_IFS
  5358 
  5359 fi
  5360 fi
  5361 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  5362 if test -n "$ac_ct_NMEDIT"; then
  5363   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  5364 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
  5365 else
  5366   { echo "$as_me:$LINENO: result: no" >&5
  5367 echo "${ECHO_T}no" >&6; }
  5368 fi
  5369 
  5370   if test "x$ac_ct_NMEDIT" = x; then
  5371     NMEDIT=":"
  5372   else
  5373     case $cross_compiling:$ac_tool_warned in
  5374 yes:)
  5375 { echo "$as_me:$LINENO: 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." >&5
  5378 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5379 whose name does not start with the host triplet.  If you think this
  5380 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5381 ac_tool_warned=yes ;;
  5382 esac
  5383     NMEDIT=$ac_ct_NMEDIT
  5384   fi
  5385 else
  5386   NMEDIT="$ac_cv_prog_NMEDIT"
  5387 fi
  5388 
  5389     if test -n "$ac_tool_prefix"; then
  5390   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  5391 set dummy ${ac_tool_prefix}lipo; ac_word=$2
  5392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5394 if test "${ac_cv_prog_LIPO+set}" = set; then
  5395   echo $ECHO_N "(cached) $ECHO_C" >&6
  5396 else
  5397   if test -n "$LIPO"; then
  5398   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  5399 else
  5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5401 for as_dir in $PATH
  5402 do
  5403   IFS=$as_save_IFS
  5404   test -z "$as_dir" && as_dir=.
  5405   for ac_exec_ext in '' $ac_executable_extensions; do
  5406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5407     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  5408     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5409     break 2
  5410   fi
  5411 done
  5412 done
  5413 IFS=$as_save_IFS
  5414 
  5415 fi
  5416 fi
  5417 LIPO=$ac_cv_prog_LIPO
  5418 if test -n "$LIPO"; then
  5419   { echo "$as_me:$LINENO: result: $LIPO" >&5
  5420 echo "${ECHO_T}$LIPO" >&6; }
  5421 else
  5422   { echo "$as_me:$LINENO: result: no" >&5
  5423 echo "${ECHO_T}no" >&6; }
  5424 fi
  5425 
  5426 
  5427 fi
  5428 if test -z "$ac_cv_prog_LIPO"; then
  5429   ac_ct_LIPO=$LIPO
  5430   # Extract the first word of "lipo", so it can be a program name with args.
  5431 set dummy lipo; ac_word=$2
  5432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5434 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  5435   echo $ECHO_N "(cached) $ECHO_C" >&6
  5436 else
  5437   if test -n "$ac_ct_LIPO"; then
  5438   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  5439 else
  5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5441 for as_dir in $PATH
  5442 do
  5443   IFS=$as_save_IFS
  5444   test -z "$as_dir" && as_dir=.
  5445   for ac_exec_ext in '' $ac_executable_extensions; do
  5446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5447     ac_cv_prog_ac_ct_LIPO="lipo"
  5448     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5449     break 2
  5450   fi
  5451 done
  5452 done
  5453 IFS=$as_save_IFS
  5454 
  5455 fi
  5456 fi
  5457 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  5458 if test -n "$ac_ct_LIPO"; then
  5459   { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  5460 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
  5461 else
  5462   { echo "$as_me:$LINENO: result: no" >&5
  5463 echo "${ECHO_T}no" >&6; }
  5464 fi
  5465 
  5466   if test "x$ac_ct_LIPO" = x; then
  5467     LIPO=":"
  5468   else
  5469     case $cross_compiling:$ac_tool_warned in
  5470 yes:)
  5471 { echo "$as_me:$LINENO: 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." >&5
  5474 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5475 whose name does not start with the host triplet.  If you think this
  5476 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5477 ac_tool_warned=yes ;;
  5478 esac
  5479     LIPO=$ac_ct_LIPO
  5480   fi
  5481 else
  5482   LIPO="$ac_cv_prog_LIPO"
  5483 fi
  5484 
  5485     if test -n "$ac_tool_prefix"; then
  5486   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  5487 set dummy ${ac_tool_prefix}otool; ac_word=$2
  5488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5490 if test "${ac_cv_prog_OTOOL+set}" = set; then
  5491   echo $ECHO_N "(cached) $ECHO_C" >&6
  5492 else
  5493   if test -n "$OTOOL"; then
  5494   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  5495 else
  5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5497 for as_dir in $PATH
  5498 do
  5499   IFS=$as_save_IFS
  5500   test -z "$as_dir" && as_dir=.
  5501   for ac_exec_ext in '' $ac_executable_extensions; do
  5502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5503     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  5504     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5505     break 2
  5506   fi
  5507 done
  5508 done
  5509 IFS=$as_save_IFS
  5510 
  5511 fi
  5512 fi
  5513 OTOOL=$ac_cv_prog_OTOOL
  5514 if test -n "$OTOOL"; then
  5515   { echo "$as_me:$LINENO: result: $OTOOL" >&5
  5516 echo "${ECHO_T}$OTOOL" >&6; }
  5517 else
  5518   { echo "$as_me:$LINENO: result: no" >&5
  5519 echo "${ECHO_T}no" >&6; }
  5520 fi
  5521 
  5522 
  5523 fi
  5524 if test -z "$ac_cv_prog_OTOOL"; then
  5525   ac_ct_OTOOL=$OTOOL
  5526   # Extract the first word of "otool", so it can be a program name with args.
  5527 set dummy otool; ac_word=$2
  5528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5530 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  5531   echo $ECHO_N "(cached) $ECHO_C" >&6
  5532 else
  5533   if test -n "$ac_ct_OTOOL"; then
  5534   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  5535 else
  5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5537 for as_dir in $PATH
  5538 do
  5539   IFS=$as_save_IFS
  5540   test -z "$as_dir" && as_dir=.
  5541   for ac_exec_ext in '' $ac_executable_extensions; do
  5542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5543     ac_cv_prog_ac_ct_OTOOL="otool"
  5544     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5545     break 2
  5546   fi
  5547 done
  5548 done
  5549 IFS=$as_save_IFS
  5550 
  5551 fi
  5552 fi
  5553 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  5554 if test -n "$ac_ct_OTOOL"; then
  5555   { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  5556 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
  5557 else
  5558   { echo "$as_me:$LINENO: result: no" >&5
  5559 echo "${ECHO_T}no" >&6; }
  5560 fi
  5561 
  5562   if test "x$ac_ct_OTOOL" = x; then
  5563     OTOOL=":"
  5564   else
  5565     case $cross_compiling:$ac_tool_warned in
  5566 yes:)
  5567 { echo "$as_me:$LINENO: 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." >&5
  5570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5571 whose name does not start with the host triplet.  If you think this
  5572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5573 ac_tool_warned=yes ;;
  5574 esac
  5575     OTOOL=$ac_ct_OTOOL
  5576   fi
  5577 else
  5578   OTOOL="$ac_cv_prog_OTOOL"
  5579 fi
  5580 
  5581     if test -n "$ac_tool_prefix"; then
  5582   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  5583 set dummy ${ac_tool_prefix}otool64; ac_word=$2
  5584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5586 if test "${ac_cv_prog_OTOOL64+set}" = set; then
  5587   echo $ECHO_N "(cached) $ECHO_C" >&6
  5588 else
  5589   if test -n "$OTOOL64"; then
  5590   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  5591 else
  5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5593 for as_dir in $PATH
  5594 do
  5595   IFS=$as_save_IFS
  5596   test -z "$as_dir" && as_dir=.
  5597   for ac_exec_ext in '' $ac_executable_extensions; do
  5598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5599     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  5600     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5601     break 2
  5602   fi
  5603 done
  5604 done
  5605 IFS=$as_save_IFS
  5606 
  5607 fi
  5608 fi
  5609 OTOOL64=$ac_cv_prog_OTOOL64
  5610 if test -n "$OTOOL64"; then
  5611   { echo "$as_me:$LINENO: result: $OTOOL64" >&5
  5612 echo "${ECHO_T}$OTOOL64" >&6; }
  5613 else
  5614   { echo "$as_me:$LINENO: result: no" >&5
  5615 echo "${ECHO_T}no" >&6; }
  5616 fi
  5617 
  5618 
  5619 fi
  5620 if test -z "$ac_cv_prog_OTOOL64"; then
  5621   ac_ct_OTOOL64=$OTOOL64
  5622   # Extract the first word of "otool64", so it can be a program name with args.
  5623 set dummy otool64; ac_word=$2
  5624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5626 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  5627   echo $ECHO_N "(cached) $ECHO_C" >&6
  5628 else
  5629   if test -n "$ac_ct_OTOOL64"; then
  5630   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  5631 else
  5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5633 for as_dir in $PATH
  5634 do
  5635   IFS=$as_save_IFS
  5636   test -z "$as_dir" && as_dir=.
  5637   for ac_exec_ext in '' $ac_executable_extensions; do
  5638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5639     ac_cv_prog_ac_ct_OTOOL64="otool64"
  5640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5641     break 2
  5642   fi
  5643 done
  5644 done
  5645 IFS=$as_save_IFS
  5646 
  5647 fi
  5648 fi
  5649 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  5650 if test -n "$ac_ct_OTOOL64"; then
  5651   { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  5652 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
  5653 else
  5654   { echo "$as_me:$LINENO: result: no" >&5
  5655 echo "${ECHO_T}no" >&6; }
  5656 fi
  5657 
  5658   if test "x$ac_ct_OTOOL64" = x; then
  5659     OTOOL64=":"
  5660   else
  5661     case $cross_compiling:$ac_tool_warned in
  5662 yes:)
  5663 { echo "$as_me:$LINENO: 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." >&5
  5666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5667 whose name does not start with the host triplet.  If you think this
  5668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5669 ac_tool_warned=yes ;;
  5670 esac
  5671     OTOOL64=$ac_ct_OTOOL64
  5672   fi
  5673 else
  5674   OTOOL64="$ac_cv_prog_OTOOL64"
  5675 fi
  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 
  5701 
  5702 
  5703     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  5704 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
  5705 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  5706   echo $ECHO_N "(cached) $ECHO_C" >&6
  5707 else
  5708   lt_cv_apple_cc_single_mod=no
  5709       if test -z "${LT_MULTI_MODULE}"; then
  5710 	# By default we will add the -single_module flag. You can override
  5711 	# by either setting the environment variable LT_MULTI_MODULE
  5712 	# non-empty at configure time, or by adding -multi_module to the
  5713 	# link flags.
  5714 	rm -rf libconftest.dylib*
  5715 	echo "int foo(void){return 1;}" > conftest.c
  5716 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5717 -dynamiclib -Wl,-single_module conftest.c" >&5
  5718 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5719 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  5720         _lt_result=$?
  5721 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  5722 	  lt_cv_apple_cc_single_mod=yes
  5723 	else
  5724 	  cat conftest.err >&5
  5725 	fi
  5726 	rm -rf libconftest.dylib*
  5727 	rm -f conftest.*
  5728       fi
  5729 fi
  5730 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  5731 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
  5732     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  5733 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
  5734 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  5735   echo $ECHO_N "(cached) $ECHO_C" >&6
  5736 else
  5737   lt_cv_ld_exported_symbols_list=no
  5738       save_LDFLAGS=$LDFLAGS
  5739       echo "_main" > conftest.sym
  5740       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  5741       cat >conftest.$ac_ext <<_ACEOF
  5742 /* confdefs.h.  */
  5743 _ACEOF
  5744 cat confdefs.h >>conftest.$ac_ext
  5745 cat >>conftest.$ac_ext <<_ACEOF
  5746 /* end confdefs.h.  */
  5747 
  5748 int
  5749 main ()
  5750 {
  5751 
  5752   ;
  5753   return 0;
  5754 }
  5755 _ACEOF
  5756 rm -f conftest.$ac_objext conftest$ac_exeext
  5757 if { (ac_try="$ac_link"
  5758 case "(($ac_try" in
  5759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5760   *) ac_try_echo=$ac_try;;
  5761 esac
  5762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5763   (eval "$ac_link") 2>conftest.er1
  5764   ac_status=$?
  5765   grep -v '^ *+' conftest.er1 >conftest.err
  5766   rm -f conftest.er1
  5767   cat conftest.err >&5
  5768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5769   (exit $ac_status); } && {
  5770 	 test -z "$ac_c_werror_flag" ||
  5771 	 test ! -s conftest.err
  5772        } && test -s conftest$ac_exeext &&
  5773        $as_test_x conftest$ac_exeext; then
  5774   lt_cv_ld_exported_symbols_list=yes
  5775 else
  5776   echo "$as_me: failed program was:" >&5
  5777 sed 's/^/| /' conftest.$ac_ext >&5
  5778 
  5779 	lt_cv_ld_exported_symbols_list=no
  5780 fi
  5781 
  5782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5783       conftest$ac_exeext conftest.$ac_ext
  5784 	LDFLAGS="$save_LDFLAGS"
  5785 
  5786 fi
  5787 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  5788 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
  5789     case $host_os in
  5790     rhapsody* | darwin1.[012])
  5791       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  5792     darwin1.*)
  5793       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5794     darwin*) # darwin 5.x on
  5795       # if running on 10.5 or later, the deployment target defaults
  5796       # to the OS version, if on x86, and 10.4, the deployment
  5797       # target defaults to 10.4. Don't you love it?
  5798       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  5799 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  5800 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5801 	10.[012]*)
  5802 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5803 	10.*)
  5804 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5805       esac
  5806     ;;
  5807   esac
  5808     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  5809       _lt_dar_single_mod='$single_module'
  5810     fi
  5811     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  5812       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  5813     else
  5814       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5815     fi
  5816     if test "$DSYMUTIL" != ":"; then
  5817       _lt_dsymutil='~$DSYMUTIL $lib || :'
  5818     else
  5819       _lt_dsymutil=
  5820     fi
  5821     ;;
  5822   esac
  5823 
  5824 ac_ext=c
  5825 ac_cpp='$CPP $CPPFLAGS'
  5826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5829 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5830 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  5831 # On Suns, sometimes $CPP names a directory.
  5832 if test -n "$CPP" && test -d "$CPP"; then
  5833   CPP=
  5834 fi
  5835 if test -z "$CPP"; then
  5836   if test "${ac_cv_prog_CPP+set}" = set; then
  5837   echo $ECHO_N "(cached) $ECHO_C" >&6
  5838 else
  5839       # Double quotes because CPP needs to be expanded
  5840     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5841     do
  5842       ac_preproc_ok=false
  5843 for ac_c_preproc_warn_flag in '' yes
  5844 do
  5845   # Use a header file that comes with gcc, so configuring glibc
  5846   # with a fresh cross-compiler works.
  5847   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5848   # <limits.h> exists even on freestanding compilers.
  5849   # On the NeXT, cc -E runs the code through the compiler's parser,
  5850   # not just through cpp. "Syntax error" is here to catch this case.
  5851   cat >conftest.$ac_ext <<_ACEOF
  5852 /* confdefs.h.  */
  5853 _ACEOF
  5854 cat confdefs.h >>conftest.$ac_ext
  5855 cat >>conftest.$ac_ext <<_ACEOF
  5856 /* end confdefs.h.  */
  5857 #ifdef __STDC__
  5858 # include <limits.h>
  5859 #else
  5860 # include <assert.h>
  5861 #endif
  5862 		     Syntax error
  5863 _ACEOF
  5864 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5865 case "(($ac_try" in
  5866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5867   *) ac_try_echo=$ac_try;;
  5868 esac
  5869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5870   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5871   ac_status=$?
  5872   grep -v '^ *+' conftest.er1 >conftest.err
  5873   rm -f conftest.er1
  5874   cat conftest.err >&5
  5875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5876   (exit $ac_status); } >/dev/null && {
  5877 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5878 	 test ! -s conftest.err
  5879        }; then
  5880   :
  5881 else
  5882   echo "$as_me: failed program was:" >&5
  5883 sed 's/^/| /' conftest.$ac_ext >&5
  5884 
  5885   # Broken: fails on valid input.
  5886 continue
  5887 fi
  5888 
  5889 rm -f conftest.err conftest.$ac_ext
  5890 
  5891   # OK, works on sane cases.  Now check whether nonexistent headers
  5892   # can be detected and how.
  5893   cat >conftest.$ac_ext <<_ACEOF
  5894 /* confdefs.h.  */
  5895 _ACEOF
  5896 cat confdefs.h >>conftest.$ac_ext
  5897 cat >>conftest.$ac_ext <<_ACEOF
  5898 /* end confdefs.h.  */
  5899 #include <ac_nonexistent.h>
  5900 _ACEOF
  5901 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5902 case "(($ac_try" in
  5903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5904   *) ac_try_echo=$ac_try;;
  5905 esac
  5906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5907   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5908   ac_status=$?
  5909   grep -v '^ *+' conftest.er1 >conftest.err
  5910   rm -f conftest.er1
  5911   cat conftest.err >&5
  5912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5913   (exit $ac_status); } >/dev/null && {
  5914 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5915 	 test ! -s conftest.err
  5916        }; then
  5917   # Broken: success on invalid input.
  5918 continue
  5919 else
  5920   echo "$as_me: failed program was:" >&5
  5921 sed 's/^/| /' conftest.$ac_ext >&5
  5922 
  5923   # Passes both tests.
  5924 ac_preproc_ok=:
  5925 break
  5926 fi
  5927 
  5928 rm -f conftest.err conftest.$ac_ext
  5929 
  5930 done
  5931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5932 rm -f conftest.err conftest.$ac_ext
  5933 if $ac_preproc_ok; then
  5934   break
  5935 fi
  5936 
  5937     done
  5938     ac_cv_prog_CPP=$CPP
  5939 
  5940 fi
  5941   CPP=$ac_cv_prog_CPP
  5942 else
  5943   ac_cv_prog_CPP=$CPP
  5944 fi
  5945 { echo "$as_me:$LINENO: result: $CPP" >&5
  5946 echo "${ECHO_T}$CPP" >&6; }
  5947 ac_preproc_ok=false
  5948 for ac_c_preproc_warn_flag in '' yes
  5949 do
  5950   # Use a header file that comes with gcc, so configuring glibc
  5951   # with a fresh cross-compiler works.
  5952   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5953   # <limits.h> exists even on freestanding compilers.
  5954   # On the NeXT, cc -E runs the code through the compiler's parser,
  5955   # not just through cpp. "Syntax error" is here to catch this case.
  5956   cat >conftest.$ac_ext <<_ACEOF
  5957 /* confdefs.h.  */
  5958 _ACEOF
  5959 cat confdefs.h >>conftest.$ac_ext
  5960 cat >>conftest.$ac_ext <<_ACEOF
  5961 /* end confdefs.h.  */
  5962 #ifdef __STDC__
  5963 # include <limits.h>
  5964 #else
  5965 # include <assert.h>
  5966 #endif
  5967 		     Syntax error
  5968 _ACEOF
  5969 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5970 case "(($ac_try" in
  5971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5972   *) ac_try_echo=$ac_try;;
  5973 esac
  5974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5975   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5976   ac_status=$?
  5977   grep -v '^ *+' conftest.er1 >conftest.err
  5978   rm -f conftest.er1
  5979   cat conftest.err >&5
  5980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5981   (exit $ac_status); } >/dev/null && {
  5982 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5983 	 test ! -s conftest.err
  5984        }; then
  5985   :
  5986 else
  5987   echo "$as_me: failed program was:" >&5
  5988 sed 's/^/| /' conftest.$ac_ext >&5
  5989 
  5990   # Broken: fails on valid input.
  5991 continue
  5992 fi
  5993 
  5994 rm -f conftest.err conftest.$ac_ext
  5995 
  5996   # OK, works on sane cases.  Now check whether nonexistent headers
  5997   # can be detected and how.
  5998   cat >conftest.$ac_ext <<_ACEOF
  5999 /* confdefs.h.  */
  6000 _ACEOF
  6001 cat confdefs.h >>conftest.$ac_ext
  6002 cat >>conftest.$ac_ext <<_ACEOF
  6003 /* end confdefs.h.  */
  6004 #include <ac_nonexistent.h>
  6005 _ACEOF
  6006 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6007 case "(($ac_try" in
  6008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6009   *) ac_try_echo=$ac_try;;
  6010 esac
  6011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6012   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6013   ac_status=$?
  6014   grep -v '^ *+' conftest.er1 >conftest.err
  6015   rm -f conftest.er1
  6016   cat conftest.err >&5
  6017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6018   (exit $ac_status); } >/dev/null && {
  6019 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6020 	 test ! -s conftest.err
  6021        }; then
  6022   # Broken: success on invalid input.
  6023 continue
  6024 else
  6025   echo "$as_me: failed program was:" >&5
  6026 sed 's/^/| /' conftest.$ac_ext >&5
  6027 
  6028   # Passes both tests.
  6029 ac_preproc_ok=:
  6030 break
  6031 fi
  6032 
  6033 rm -f conftest.err conftest.$ac_ext
  6034 
  6035 done
  6036 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6037 rm -f conftest.err conftest.$ac_ext
  6038 if $ac_preproc_ok; then
  6039   :
  6040 else
  6041   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  6042 See \`config.log' for more details." >&5
  6043 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  6044 See \`config.log' for more details." >&2;}
  6045    { (exit 1); exit 1; }; }
  6046 fi
  6047 
  6048 ac_ext=c
  6049 ac_cpp='$CPP $CPPFLAGS'
  6050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6053 
  6054 
  6055 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6056 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  6057 if test "${ac_cv_header_stdc+set}" = set; then
  6058   echo $ECHO_N "(cached) $ECHO_C" >&6
  6059 else
  6060   cat >conftest.$ac_ext <<_ACEOF
  6061 /* confdefs.h.  */
  6062 _ACEOF
  6063 cat confdefs.h >>conftest.$ac_ext
  6064 cat >>conftest.$ac_ext <<_ACEOF
  6065 /* end confdefs.h.  */
  6066 #include <stdlib.h>
  6067 #include <stdarg.h>
  6068 #include <string.h>
  6069 #include <float.h>
  6070 
  6071 int
  6072 main ()
  6073 {
  6074 
  6075   ;
  6076   return 0;
  6077 }
  6078 _ACEOF
  6079 rm -f conftest.$ac_objext
  6080 if { (ac_try="$ac_compile"
  6081 case "(($ac_try" in
  6082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6083   *) ac_try_echo=$ac_try;;
  6084 esac
  6085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6086   (eval "$ac_compile") 2>conftest.er1
  6087   ac_status=$?
  6088   grep -v '^ *+' conftest.er1 >conftest.err
  6089   rm -f conftest.er1
  6090   cat conftest.err >&5
  6091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6092   (exit $ac_status); } && {
  6093 	 test -z "$ac_c_werror_flag" ||
  6094 	 test ! -s conftest.err
  6095        } && test -s conftest.$ac_objext; then
  6096   ac_cv_header_stdc=yes
  6097 else
  6098   echo "$as_me: failed program was:" >&5
  6099 sed 's/^/| /' conftest.$ac_ext >&5
  6100 
  6101 	ac_cv_header_stdc=no
  6102 fi
  6103 
  6104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6105 
  6106 if test $ac_cv_header_stdc = yes; then
  6107   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6108   cat >conftest.$ac_ext <<_ACEOF
  6109 /* confdefs.h.  */
  6110 _ACEOF
  6111 cat confdefs.h >>conftest.$ac_ext
  6112 cat >>conftest.$ac_ext <<_ACEOF
  6113 /* end confdefs.h.  */
  6114 #include <string.h>
  6115 
  6116 _ACEOF
  6117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6118   $EGREP "memchr" >/dev/null 2>&1; then
  6119   :
  6120 else
  6121   ac_cv_header_stdc=no
  6122 fi
  6123 rm -f -r conftest*
  6124 
  6125 fi
  6126 
  6127 if test $ac_cv_header_stdc = yes; then
  6128   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6129   cat >conftest.$ac_ext <<_ACEOF
  6130 /* confdefs.h.  */
  6131 _ACEOF
  6132 cat confdefs.h >>conftest.$ac_ext
  6133 cat >>conftest.$ac_ext <<_ACEOF
  6134 /* end confdefs.h.  */
  6135 #include <stdlib.h>
  6136 
  6137 _ACEOF
  6138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6139   $EGREP "free" >/dev/null 2>&1; then
  6140   :
  6141 else
  6142   ac_cv_header_stdc=no
  6143 fi
  6144 rm -f -r conftest*
  6145 
  6146 fi
  6147 
  6148 if test $ac_cv_header_stdc = yes; then
  6149   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6150   if test "$cross_compiling" = yes; then
  6151   :
  6152 else
  6153   cat >conftest.$ac_ext <<_ACEOF
  6154 /* confdefs.h.  */
  6155 _ACEOF
  6156 cat confdefs.h >>conftest.$ac_ext
  6157 cat >>conftest.$ac_ext <<_ACEOF
  6158 /* end confdefs.h.  */
  6159 #include <ctype.h>
  6160 #include <stdlib.h>
  6161 #if ((' ' & 0x0FF) == 0x020)
  6162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6164 #else
  6165 # define ISLOWER(c) \
  6166 		   (('a' <= (c) && (c) <= 'i') \
  6167 		     || ('j' <= (c) && (c) <= 'r') \
  6168 		     || ('s' <= (c) && (c) <= 'z'))
  6169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6170 #endif
  6171 
  6172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6173 int
  6174 main ()
  6175 {
  6176   int i;
  6177   for (i = 0; i < 256; i++)
  6178     if (XOR (islower (i), ISLOWER (i))
  6179 	|| toupper (i) != TOUPPER (i))
  6180       return 2;
  6181   return 0;
  6182 }
  6183 _ACEOF
  6184 rm -f conftest$ac_exeext
  6185 if { (ac_try="$ac_link"
  6186 case "(($ac_try" in
  6187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6188   *) ac_try_echo=$ac_try;;
  6189 esac
  6190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6191   (eval "$ac_link") 2>&5
  6192   ac_status=$?
  6193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6194   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6195   { (case "(($ac_try" in
  6196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6197   *) ac_try_echo=$ac_try;;
  6198 esac
  6199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6200   (eval "$ac_try") 2>&5
  6201   ac_status=$?
  6202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6203   (exit $ac_status); }; }; then
  6204   :
  6205 else
  6206   echo "$as_me: program exited with status $ac_status" >&5
  6207 echo "$as_me: failed program was:" >&5
  6208 sed 's/^/| /' conftest.$ac_ext >&5
  6209 
  6210 ( exit $ac_status )
  6211 ac_cv_header_stdc=no
  6212 fi
  6213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6214 fi
  6215 
  6216 
  6217 fi
  6218 fi
  6219 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6220 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  6221 if test $ac_cv_header_stdc = yes; then
  6222 
  6223 cat >>confdefs.h <<\_ACEOF
  6224 #define STDC_HEADERS 1
  6225 _ACEOF
  6226 
  6227 fi
  6228 
  6229 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6230 
  6231 
  6232 
  6233 
  6234 
  6235 
  6236 
  6237 
  6238 
  6239 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6240 		  inttypes.h stdint.h unistd.h
  6241 do
  6242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6246   echo $ECHO_N "(cached) $ECHO_C" >&6
  6247 else
  6248   cat >conftest.$ac_ext <<_ACEOF
  6249 /* confdefs.h.  */
  6250 _ACEOF
  6251 cat confdefs.h >>conftest.$ac_ext
  6252 cat >>conftest.$ac_ext <<_ACEOF
  6253 /* end confdefs.h.  */
  6254 $ac_includes_default
  6255 
  6256 #include <$ac_header>
  6257 _ACEOF
  6258 rm -f conftest.$ac_objext
  6259 if { (ac_try="$ac_compile"
  6260 case "(($ac_try" in
  6261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6262   *) ac_try_echo=$ac_try;;
  6263 esac
  6264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6265   (eval "$ac_compile") 2>conftest.er1
  6266   ac_status=$?
  6267   grep -v '^ *+' conftest.er1 >conftest.err
  6268   rm -f conftest.er1
  6269   cat conftest.err >&5
  6270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6271   (exit $ac_status); } && {
  6272 	 test -z "$ac_c_werror_flag" ||
  6273 	 test ! -s conftest.err
  6274        } && test -s conftest.$ac_objext; then
  6275   eval "$as_ac_Header=yes"
  6276 else
  6277   echo "$as_me: failed program was:" >&5
  6278 sed 's/^/| /' conftest.$ac_ext >&5
  6279 
  6280 	eval "$as_ac_Header=no"
  6281 fi
  6282 
  6283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6284 fi
  6285 ac_res=`eval echo '${'$as_ac_Header'}'`
  6286 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6287 echo "${ECHO_T}$ac_res" >&6; }
  6288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6289   cat >>confdefs.h <<_ACEOF
  6290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6291 _ACEOF
  6292 
  6293 fi
  6294 
  6295 done
  6296 
  6297 
  6298 
  6299 for ac_header in dlfcn.h
  6300 do
  6301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6305   echo $ECHO_N "(cached) $ECHO_C" >&6
  6306 else
  6307   cat >conftest.$ac_ext <<_ACEOF
  6308 /* confdefs.h.  */
  6309 _ACEOF
  6310 cat confdefs.h >>conftest.$ac_ext
  6311 cat >>conftest.$ac_ext <<_ACEOF
  6312 /* end confdefs.h.  */
  6313 $ac_includes_default
  6314 
  6315 #include <$ac_header>
  6316 _ACEOF
  6317 rm -f conftest.$ac_objext
  6318 if { (ac_try="$ac_compile"
  6319 case "(($ac_try" in
  6320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6321   *) ac_try_echo=$ac_try;;
  6322 esac
  6323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6324   (eval "$ac_compile") 2>conftest.er1
  6325   ac_status=$?
  6326   grep -v '^ *+' conftest.er1 >conftest.err
  6327   rm -f conftest.er1
  6328   cat conftest.err >&5
  6329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6330   (exit $ac_status); } && {
  6331 	 test -z "$ac_c_werror_flag" ||
  6332 	 test ! -s conftest.err
  6333        } && test -s conftest.$ac_objext; then
  6334   eval "$as_ac_Header=yes"
  6335 else
  6336   echo "$as_me: failed program was:" >&5
  6337 sed 's/^/| /' conftest.$ac_ext >&5
  6338 
  6339 	eval "$as_ac_Header=no"
  6340 fi
  6341 
  6342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6343 fi
  6344 ac_res=`eval echo '${'$as_ac_Header'}'`
  6345 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6346 echo "${ECHO_T}$ac_res" >&6; }
  6347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6348   cat >>confdefs.h <<_ACEOF
  6349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6350 _ACEOF
  6351 
  6352 fi
  6353 
  6354 done
  6355 
  6356 
  6357 
  6358 # Set options
  6359 enable_win32_dll=yes
  6360 
  6361 case $host in
  6362 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  6363   if test -n "$ac_tool_prefix"; then
  6364   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  6365 set dummy ${ac_tool_prefix}as; ac_word=$2
  6366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6368 if test "${ac_cv_prog_AS+set}" = set; then
  6369   echo $ECHO_N "(cached) $ECHO_C" >&6
  6370 else
  6371   if test -n "$AS"; then
  6372   ac_cv_prog_AS="$AS" # Let the user override the test.
  6373 else
  6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6375 for as_dir in $PATH
  6376 do
  6377   IFS=$as_save_IFS
  6378   test -z "$as_dir" && as_dir=.
  6379   for ac_exec_ext in '' $ac_executable_extensions; do
  6380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6381     ac_cv_prog_AS="${ac_tool_prefix}as"
  6382     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6383     break 2
  6384   fi
  6385 done
  6386 done
  6387 IFS=$as_save_IFS
  6388 
  6389 fi
  6390 fi
  6391 AS=$ac_cv_prog_AS
  6392 if test -n "$AS"; then
  6393   { echo "$as_me:$LINENO: result: $AS" >&5
  6394 echo "${ECHO_T}$AS" >&6; }
  6395 else
  6396   { echo "$as_me:$LINENO: result: no" >&5
  6397 echo "${ECHO_T}no" >&6; }
  6398 fi
  6399 
  6400 
  6401 fi
  6402 if test -z "$ac_cv_prog_AS"; then
  6403   ac_ct_AS=$AS
  6404   # Extract the first word of "as", so it can be a program name with args.
  6405 set dummy as; ac_word=$2
  6406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6408 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
  6409   echo $ECHO_N "(cached) $ECHO_C" >&6
  6410 else
  6411   if test -n "$ac_ct_AS"; then
  6412   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  6413 else
  6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6415 for as_dir in $PATH
  6416 do
  6417   IFS=$as_save_IFS
  6418   test -z "$as_dir" && as_dir=.
  6419   for ac_exec_ext in '' $ac_executable_extensions; do
  6420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6421     ac_cv_prog_ac_ct_AS="as"
  6422     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6423     break 2
  6424   fi
  6425 done
  6426 done
  6427 IFS=$as_save_IFS
  6428 
  6429 fi
  6430 fi
  6431 ac_ct_AS=$ac_cv_prog_ac_ct_AS
  6432 if test -n "$ac_ct_AS"; then
  6433   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
  6434 echo "${ECHO_T}$ac_ct_AS" >&6; }
  6435 else
  6436   { echo "$as_me:$LINENO: result: no" >&5
  6437 echo "${ECHO_T}no" >&6; }
  6438 fi
  6439 
  6440   if test "x$ac_ct_AS" = x; then
  6441     AS="false"
  6442   else
  6443     case $cross_compiling:$ac_tool_warned in
  6444 yes:)
  6445 { echo "$as_me:$LINENO: 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." >&5
  6448 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6449 whose name does not start with the host triplet.  If you think this
  6450 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6451 ac_tool_warned=yes ;;
  6452 esac
  6453     AS=$ac_ct_AS
  6454   fi
  6455 else
  6456   AS="$ac_cv_prog_AS"
  6457 fi
  6458 
  6459   if test -n "$ac_tool_prefix"; then
  6460   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  6461 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  6462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6464 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
  6465   echo $ECHO_N "(cached) $ECHO_C" >&6
  6466 else
  6467   if test -n "$DLLTOOL"; then
  6468   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  6469 else
  6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6471 for as_dir in $PATH
  6472 do
  6473   IFS=$as_save_IFS
  6474   test -z "$as_dir" && as_dir=.
  6475   for ac_exec_ext in '' $ac_executable_extensions; do
  6476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6477     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  6478     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6479     break 2
  6480   fi
  6481 done
  6482 done
  6483 IFS=$as_save_IFS
  6484 
  6485 fi
  6486 fi
  6487 DLLTOOL=$ac_cv_prog_DLLTOOL
  6488 if test -n "$DLLTOOL"; then
  6489   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
  6490 echo "${ECHO_T}$DLLTOOL" >&6; }
  6491 else
  6492   { echo "$as_me:$LINENO: result: no" >&5
  6493 echo "${ECHO_T}no" >&6; }
  6494 fi
  6495 
  6496 
  6497 fi
  6498 if test -z "$ac_cv_prog_DLLTOOL"; then
  6499   ac_ct_DLLTOOL=$DLLTOOL
  6500   # Extract the first word of "dlltool", so it can be a program name with args.
  6501 set dummy dlltool; ac_word=$2
  6502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6504 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
  6505   echo $ECHO_N "(cached) $ECHO_C" >&6
  6506 else
  6507   if test -n "$ac_ct_DLLTOOL"; then
  6508   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  6509 else
  6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6511 for as_dir in $PATH
  6512 do
  6513   IFS=$as_save_IFS
  6514   test -z "$as_dir" && as_dir=.
  6515   for ac_exec_ext in '' $ac_executable_extensions; do
  6516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6517     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  6518     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6519     break 2
  6520   fi
  6521 done
  6522 done
  6523 IFS=$as_save_IFS
  6524 
  6525 fi
  6526 fi
  6527 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  6528 if test -n "$ac_ct_DLLTOOL"; then
  6529   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
  6530 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
  6531 else
  6532   { echo "$as_me:$LINENO: result: no" >&5
  6533 echo "${ECHO_T}no" >&6; }
  6534 fi
  6535 
  6536   if test "x$ac_ct_DLLTOOL" = x; then
  6537     DLLTOOL="false"
  6538   else
  6539     case $cross_compiling:$ac_tool_warned in
  6540 yes:)
  6541 { echo "$as_me:$LINENO: 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." >&5
  6544 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6545 whose name does not start with the host triplet.  If you think this
  6546 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6547 ac_tool_warned=yes ;;
  6548 esac
  6549     DLLTOOL=$ac_ct_DLLTOOL
  6550   fi
  6551 else
  6552   DLLTOOL="$ac_cv_prog_DLLTOOL"
  6553 fi
  6554 
  6555   if test -n "$ac_tool_prefix"; then
  6556   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  6557 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  6558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6560 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  6561   echo $ECHO_N "(cached) $ECHO_C" >&6
  6562 else
  6563   if test -n "$OBJDUMP"; then
  6564   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6565 else
  6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6567 for as_dir in $PATH
  6568 do
  6569   IFS=$as_save_IFS
  6570   test -z "$as_dir" && as_dir=.
  6571   for ac_exec_ext in '' $ac_executable_extensions; do
  6572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6573     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6575     break 2
  6576   fi
  6577 done
  6578 done
  6579 IFS=$as_save_IFS
  6580 
  6581 fi
  6582 fi
  6583 OBJDUMP=$ac_cv_prog_OBJDUMP
  6584 if test -n "$OBJDUMP"; then
  6585   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  6586 echo "${ECHO_T}$OBJDUMP" >&6; }
  6587 else
  6588   { echo "$as_me:$LINENO: result: no" >&5
  6589 echo "${ECHO_T}no" >&6; }
  6590 fi
  6591 
  6592 
  6593 fi
  6594 if test -z "$ac_cv_prog_OBJDUMP"; then
  6595   ac_ct_OBJDUMP=$OBJDUMP
  6596   # Extract the first word of "objdump", so it can be a program name with args.
  6597 set dummy objdump; ac_word=$2
  6598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6600 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  6601   echo $ECHO_N "(cached) $ECHO_C" >&6
  6602 else
  6603   if test -n "$ac_ct_OBJDUMP"; then
  6604   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6605 else
  6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6607 for as_dir in $PATH
  6608 do
  6609   IFS=$as_save_IFS
  6610   test -z "$as_dir" && as_dir=.
  6611   for ac_exec_ext in '' $ac_executable_extensions; do
  6612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6613     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6614     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6615     break 2
  6616   fi
  6617 done
  6618 done
  6619 IFS=$as_save_IFS
  6620 
  6621 fi
  6622 fi
  6623 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6624 if test -n "$ac_ct_OBJDUMP"; then
  6625   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  6626 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
  6627 else
  6628   { echo "$as_me:$LINENO: result: no" >&5
  6629 echo "${ECHO_T}no" >&6; }
  6630 fi
  6631 
  6632   if test "x$ac_ct_OBJDUMP" = x; then
  6633     OBJDUMP="false"
  6634   else
  6635     case $cross_compiling:$ac_tool_warned in
  6636 yes:)
  6637 { echo "$as_me:$LINENO: 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." >&5
  6640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6641 whose name does not start with the host triplet.  If you think this
  6642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6643 ac_tool_warned=yes ;;
  6644 esac
  6645     OBJDUMP=$ac_ct_OBJDUMP
  6646   fi
  6647 else
  6648   OBJDUMP="$ac_cv_prog_OBJDUMP"
  6649 fi
  6650 
  6651   ;;
  6652 esac
  6653 
  6654 test -z "$AS" && AS=as
  6655 
  6656 
  6657 
  6658 
  6659 
  6660 test -z "$DLLTOOL" && DLLTOOL=dlltool
  6661 
  6662 
  666