configure
author Sam Lantinga <slouken@libsdl.org>
Wed, 18 Jul 2012 13:57:39 -0700
changeset 6365 975e23e06124
parent 6362 562a9fe60603
child 6378 58c9e692aec5
permissions -rwxr-xr-x
Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD

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