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