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