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