configure
author Sam Lantinga <slouken@libsdl.org>
Thu, 29 Dec 2011 05:36:39 -0500
changeset 6116 66f48d6bf735
parent 6102 bf7254ec1bf9
child 6188 e82023802002
permissions -rwxr-xr-x
Fixes bug 1296 - SDL_SetVideoMode crashes because of unaligned MOVAPS instruction

t.grundner@goto3d.de 2011-09-01 03:59:17 PDT
I figured out what is going on. GCC 4.5.2 assumes the stack is 16 byte aligned
by default. Therefore there are no AND alignment corrections necessary if we
wish to align a stack variable to a 16 byte boundary. That is bad if your OS
ABI is not 16 byte aligned. Windows 32 bit stacks are 4 byte aligned. This
results in the above mentioned SIGSEGV. This is also no problem if I compile
both SDL.dll and my app with MingW because MinGW/GCC inserts a

andl $-16, %esp

instruction right in the beginning of the main function. So at least the stack
of the thread calling the main function is 16 byte aligned. But as soon as I
start to use the SDL.dll from an application not compiled by MinGW there is no
ANDL safing my app.

However there is a GCC option that can change the default stack alignment:

-mpreferred-stack-boundary=num

Setting num=2 assumes a the stack is aligned to a 4 byte boundary. This results
in GCC inserting the necessary

andl $-16, %esp

into SDL_FillRect. Rebuilding SDL with

./configure "CFLAGS=-mpreferred-stack-boundary=2 -g -O3"

solved the problem.

IMHO this should also be a problem on Solaris.

The following links contain further information:

http://gcc.gnu.org/onlinedocs/gcc-4.5.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options

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