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