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