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