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