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