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