configure
changeset 5310 a9945ce48999
child 5323 ed319722cf1c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/configure	Wed Feb 16 02:37:09 2011 -0800
     1.3 @@ -0,0 +1,30853 @@
     1.4 +#! /bin/sh
     1.5 +# Guess values for system-dependent variables and create Makefiles.
     1.6 +# Generated by GNU Autoconf 2.61.
     1.7 +#
     1.8 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     1.9 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    1.10 +# This configure script is free software; the Free Software Foundation
    1.11 +# gives unlimited permission to copy, distribute and modify it.
    1.12 +## --------------------- ##
    1.13 +## M4sh Initialization.  ##
    1.14 +## --------------------- ##
    1.15 +
    1.16 +# Be more Bourne compatible
    1.17 +DUALCASE=1; export DUALCASE # for MKS sh
    1.18 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1.19 +  emulate sh
    1.20 +  NULLCMD=:
    1.21 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    1.22 +  # is contrary to our usage.  Disable this feature.
    1.23 +  alias -g '${1+"$@"}'='"$@"'
    1.24 +  setopt NO_GLOB_SUBST
    1.25 +else
    1.26 +  case `(set -o) 2>/dev/null` in
    1.27 +  *posix*) set -o posix ;;
    1.28 +esac
    1.29 +
    1.30 +fi
    1.31 +
    1.32 +
    1.33 +
    1.34 +
    1.35 +# PATH needs CR
    1.36 +# Avoid depending upon Character Ranges.
    1.37 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    1.38 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    1.39 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    1.40 +as_cr_digits='0123456789'
    1.41 +as_cr_alnum=$as_cr_Letters$as_cr_digits
    1.42 +
    1.43 +# The user is always right.
    1.44 +if test "${PATH_SEPARATOR+set}" != set; then
    1.45 +  echo "#! /bin/sh" >conf$$.sh
    1.46 +  echo  "exit 0"   >>conf$$.sh
    1.47 +  chmod +x conf$$.sh
    1.48 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    1.49 +    PATH_SEPARATOR=';'
    1.50 +  else
    1.51 +    PATH_SEPARATOR=:
    1.52 +  fi
    1.53 +  rm -f conf$$.sh
    1.54 +fi
    1.55 +
    1.56 +# Support unset when possible.
    1.57 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    1.58 +  as_unset=unset
    1.59 +else
    1.60 +  as_unset=false
    1.61 +fi
    1.62 +
    1.63 +
    1.64 +# IFS
    1.65 +# We need space, tab and new line, in precisely that order.  Quoting is
    1.66 +# there to prevent editors from complaining about space-tab.
    1.67 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    1.68 +# splitting by setting IFS to empty value.)
    1.69 +as_nl='
    1.70 +'
    1.71 +IFS=" ""	$as_nl"
    1.72 +
    1.73 +# Find who we are.  Look in the path if we contain no directory separator.
    1.74 +case $0 in
    1.75 +  *[\\/]* ) as_myself=$0 ;;
    1.76 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1.77 +for as_dir in $PATH
    1.78 +do
    1.79 +  IFS=$as_save_IFS
    1.80 +  test -z "$as_dir" && as_dir=.
    1.81 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    1.82 +done
    1.83 +IFS=$as_save_IFS
    1.84 +
    1.85 +     ;;
    1.86 +esac
    1.87 +# We did not find ourselves, most probably we were run as `sh COMMAND'
    1.88 +# in which case we are not to be found in the path.
    1.89 +if test "x$as_myself" = x; then
    1.90 +  as_myself=$0
    1.91 +fi
    1.92 +if test ! -f "$as_myself"; then
    1.93 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    1.94 +  { (exit 1); exit 1; }
    1.95 +fi
    1.96 +
    1.97 +# Work around bugs in pre-3.0 UWIN ksh.
    1.98 +for as_var in ENV MAIL MAILPATH
    1.99 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.100 +done
   1.101 +PS1='$ '
   1.102 +PS2='> '
   1.103 +PS4='+ '
   1.104 +
   1.105 +# NLS nuisances.
   1.106 +for as_var in \
   1.107 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   1.108 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   1.109 +  LC_TELEPHONE LC_TIME
   1.110 +do
   1.111 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   1.112 +    eval $as_var=C; export $as_var
   1.113 +  else
   1.114 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.115 +  fi
   1.116 +done
   1.117 +
   1.118 +# Required to use basename.
   1.119 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.120 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.121 +  as_expr=expr
   1.122 +else
   1.123 +  as_expr=false
   1.124 +fi
   1.125 +
   1.126 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   1.127 +  as_basename=basename
   1.128 +else
   1.129 +  as_basename=false
   1.130 +fi
   1.131 +
   1.132 +
   1.133 +# Name of the executable.
   1.134 +as_me=`$as_basename -- "$0" ||
   1.135 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1.136 +	 X"$0" : 'X\(//\)$' \| \
   1.137 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1.138 +echo X/"$0" |
   1.139 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
   1.140 +	    s//\1/
   1.141 +	    q
   1.142 +	  }
   1.143 +	  /^X\/\(\/\/\)$/{
   1.144 +	    s//\1/
   1.145 +	    q
   1.146 +	  }
   1.147 +	  /^X\/\(\/\).*/{
   1.148 +	    s//\1/
   1.149 +	    q
   1.150 +	  }
   1.151 +	  s/.*/./; q'`
   1.152 +
   1.153 +# CDPATH.
   1.154 +$as_unset CDPATH
   1.155 +
   1.156 +
   1.157 +if test "x$CONFIG_SHELL" = x; then
   1.158 +  if (eval ":") 2>/dev/null; then
   1.159 +  as_have_required=yes
   1.160 +else
   1.161 +  as_have_required=no
   1.162 +fi
   1.163 +
   1.164 +  if test $as_have_required = yes && 	 (eval ":
   1.165 +(as_func_return () {
   1.166 +  (exit \$1)
   1.167 +}
   1.168 +as_func_success () {
   1.169 +  as_func_return 0
   1.170 +}
   1.171 +as_func_failure () {
   1.172 +  as_func_return 1
   1.173 +}
   1.174 +as_func_ret_success () {
   1.175 +  return 0
   1.176 +}
   1.177 +as_func_ret_failure () {
   1.178 +  return 1
   1.179 +}
   1.180 +
   1.181 +exitcode=0
   1.182 +if as_func_success; then
   1.183 +  :
   1.184 +else
   1.185 +  exitcode=1
   1.186 +  echo as_func_success failed.
   1.187 +fi
   1.188 +
   1.189 +if as_func_failure; then
   1.190 +  exitcode=1
   1.191 +  echo as_func_failure succeeded.
   1.192 +fi
   1.193 +
   1.194 +if as_func_ret_success; then
   1.195 +  :
   1.196 +else
   1.197 +  exitcode=1
   1.198 +  echo as_func_ret_success failed.
   1.199 +fi
   1.200 +
   1.201 +if as_func_ret_failure; then
   1.202 +  exitcode=1
   1.203 +  echo as_func_ret_failure succeeded.
   1.204 +fi
   1.205 +
   1.206 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.207 +  :
   1.208 +else
   1.209 +  exitcode=1
   1.210 +  echo positional parameters were not saved.
   1.211 +fi
   1.212 +
   1.213 +test \$exitcode = 0) || { (exit 1); exit 1; }
   1.214 +
   1.215 +(
   1.216 +  as_lineno_1=\$LINENO
   1.217 +  as_lineno_2=\$LINENO
   1.218 +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   1.219 +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   1.220 +") 2> /dev/null; then
   1.221 +  :
   1.222 +else
   1.223 +  as_candidate_shells=
   1.224 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.225 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.226 +do
   1.227 +  IFS=$as_save_IFS
   1.228 +  test -z "$as_dir" && as_dir=.
   1.229 +  case $as_dir in
   1.230 +	 /*)
   1.231 +	   for as_base in sh bash ksh sh5; do
   1.232 +	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   1.233 +	   done;;
   1.234 +       esac
   1.235 +done
   1.236 +IFS=$as_save_IFS
   1.237 +
   1.238 +
   1.239 +      for as_shell in $as_candidate_shells $SHELL; do
   1.240 +	 # Try only shells that exist, to save several forks.
   1.241 +	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.242 +		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   1.243 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.244 +  emulate sh
   1.245 +  NULLCMD=:
   1.246 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.247 +  # is contrary to our usage.  Disable this feature.
   1.248 +  alias -g '${1+"$@"}'='"$@"'
   1.249 +  setopt NO_GLOB_SUBST
   1.250 +else
   1.251 +  case `(set -o) 2>/dev/null` in
   1.252 +  *posix*) set -o posix ;;
   1.253 +esac
   1.254 +
   1.255 +fi
   1.256 +
   1.257 +
   1.258 +:
   1.259 +_ASEOF
   1.260 +}; then
   1.261 +  CONFIG_SHELL=$as_shell
   1.262 +	       as_have_required=yes
   1.263 +	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   1.264 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.265 +  emulate sh
   1.266 +  NULLCMD=:
   1.267 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.268 +  # is contrary to our usage.  Disable this feature.
   1.269 +  alias -g '${1+"$@"}'='"$@"'
   1.270 +  setopt NO_GLOB_SUBST
   1.271 +else
   1.272 +  case `(set -o) 2>/dev/null` in
   1.273 +  *posix*) set -o posix ;;
   1.274 +esac
   1.275 +
   1.276 +fi
   1.277 +
   1.278 +
   1.279 +:
   1.280 +(as_func_return () {
   1.281 +  (exit $1)
   1.282 +}
   1.283 +as_func_success () {
   1.284 +  as_func_return 0
   1.285 +}
   1.286 +as_func_failure () {
   1.287 +  as_func_return 1
   1.288 +}
   1.289 +as_func_ret_success () {
   1.290 +  return 0
   1.291 +}
   1.292 +as_func_ret_failure () {
   1.293 +  return 1
   1.294 +}
   1.295 +
   1.296 +exitcode=0
   1.297 +if as_func_success; then
   1.298 +  :
   1.299 +else
   1.300 +  exitcode=1
   1.301 +  echo as_func_success failed.
   1.302 +fi
   1.303 +
   1.304 +if as_func_failure; then
   1.305 +  exitcode=1
   1.306 +  echo as_func_failure succeeded.
   1.307 +fi
   1.308 +
   1.309 +if as_func_ret_success; then
   1.310 +  :
   1.311 +else
   1.312 +  exitcode=1
   1.313 +  echo as_func_ret_success failed.
   1.314 +fi
   1.315 +
   1.316 +if as_func_ret_failure; then
   1.317 +  exitcode=1
   1.318 +  echo as_func_ret_failure succeeded.
   1.319 +fi
   1.320 +
   1.321 +if ( set x; as_func_ret_success y && test x = "$1" ); then
   1.322 +  :
   1.323 +else
   1.324 +  exitcode=1
   1.325 +  echo positional parameters were not saved.
   1.326 +fi
   1.327 +
   1.328 +test $exitcode = 0) || { (exit 1); exit 1; }
   1.329 +
   1.330 +(
   1.331 +  as_lineno_1=$LINENO
   1.332 +  as_lineno_2=$LINENO
   1.333 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.334 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   1.335 +
   1.336 +_ASEOF
   1.337 +}; then
   1.338 +  break
   1.339 +fi
   1.340 +
   1.341 +fi
   1.342 +
   1.343 +      done
   1.344 +
   1.345 +      if test "x$CONFIG_SHELL" != x; then
   1.346 +  for as_var in BASH_ENV ENV
   1.347 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.348 +        done
   1.349 +        export CONFIG_SHELL
   1.350 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   1.351 +fi
   1.352 +
   1.353 +
   1.354 +    if test $as_have_required = no; then
   1.355 +  echo This script requires a shell more modern than all the
   1.356 +      echo shells that I found on your system.  Please install a
   1.357 +      echo modern shell, or manually run the script under such a
   1.358 +      echo shell if you do have one.
   1.359 +      { (exit 1); exit 1; }
   1.360 +fi
   1.361 +
   1.362 +
   1.363 +fi
   1.364 +
   1.365 +fi
   1.366 +
   1.367 +
   1.368 +
   1.369 +(eval "as_func_return () {
   1.370 +  (exit \$1)
   1.371 +}
   1.372 +as_func_success () {
   1.373 +  as_func_return 0
   1.374 +}
   1.375 +as_func_failure () {
   1.376 +  as_func_return 1
   1.377 +}
   1.378 +as_func_ret_success () {
   1.379 +  return 0
   1.380 +}
   1.381 +as_func_ret_failure () {
   1.382 +  return 1
   1.383 +}
   1.384 +
   1.385 +exitcode=0
   1.386 +if as_func_success; then
   1.387 +  :
   1.388 +else
   1.389 +  exitcode=1
   1.390 +  echo as_func_success failed.
   1.391 +fi
   1.392 +
   1.393 +if as_func_failure; then
   1.394 +  exitcode=1
   1.395 +  echo as_func_failure succeeded.
   1.396 +fi
   1.397 +
   1.398 +if as_func_ret_success; then
   1.399 +  :
   1.400 +else
   1.401 +  exitcode=1
   1.402 +  echo as_func_ret_success failed.
   1.403 +fi
   1.404 +
   1.405 +if as_func_ret_failure; then
   1.406 +  exitcode=1
   1.407 +  echo as_func_ret_failure succeeded.
   1.408 +fi
   1.409 +
   1.410 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.411 +  :
   1.412 +else
   1.413 +  exitcode=1
   1.414 +  echo positional parameters were not saved.
   1.415 +fi
   1.416 +
   1.417 +test \$exitcode = 0") || {
   1.418 +  echo No shell found that supports shell functions.
   1.419 +  echo Please tell autoconf@gnu.org about your system,
   1.420 +  echo including any error possibly output before this
   1.421 +  echo message
   1.422 +}
   1.423 +
   1.424 +
   1.425 +
   1.426 +  as_lineno_1=$LINENO
   1.427 +  as_lineno_2=$LINENO
   1.428 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.429 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   1.430 +
   1.431 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   1.432 +  # uniformly replaced by the line number.  The first 'sed' inserts a
   1.433 +  # line-number line after each line using $LINENO; the second 'sed'
   1.434 +  # does the real work.  The second script uses 'N' to pair each
   1.435 +  # line-number line with the line containing $LINENO, and appends
   1.436 +  # trailing '-' during substitution so that $LINENO is not a special
   1.437 +  # case at line end.
   1.438 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   1.439 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
   1.440 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
   1.441 +  sed -n '
   1.442 +    p
   1.443 +    /[$]LINENO/=
   1.444 +  ' <$as_myself |
   1.445 +    sed '
   1.446 +      s/[$]LINENO.*/&-/
   1.447 +      t lineno
   1.448 +      b
   1.449 +      :lineno
   1.450 +      N
   1.451 +      :loop
   1.452 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   1.453 +      t loop
   1.454 +      s/-\n.*//
   1.455 +    ' >$as_me.lineno &&
   1.456 +  chmod +x "$as_me.lineno" ||
   1.457 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   1.458 +   { (exit 1); exit 1; }; }
   1.459 +
   1.460 +  # Don't try to exec as it changes $[0], causing all sort of problems
   1.461 +  # (the dirname of $[0] is not the place where we might find the
   1.462 +  # original and so on.  Autoconf is especially sensitive to this).
   1.463 +  . "./$as_me.lineno"
   1.464 +  # Exit status is that of the last command.
   1.465 +  exit
   1.466 +}
   1.467 +
   1.468 +
   1.469 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.470 +  as_dirname=dirname
   1.471 +else
   1.472 +  as_dirname=false
   1.473 +fi
   1.474 +
   1.475 +ECHO_C= ECHO_N= ECHO_T=
   1.476 +case `echo -n x` in
   1.477 +-n*)
   1.478 +  case `echo 'x\c'` in
   1.479 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   1.480 +  *)   ECHO_C='\c';;
   1.481 +  esac;;
   1.482 +*)
   1.483 +  ECHO_N='-n';;
   1.484 +esac
   1.485 +
   1.486 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.487 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.488 +  as_expr=expr
   1.489 +else
   1.490 +  as_expr=false
   1.491 +fi
   1.492 +
   1.493 +rm -f conf$$ conf$$.exe conf$$.file
   1.494 +if test -d conf$$.dir; then
   1.495 +  rm -f conf$$.dir/conf$$.file
   1.496 +else
   1.497 +  rm -f conf$$.dir
   1.498 +  mkdir conf$$.dir
   1.499 +fi
   1.500 +echo >conf$$.file
   1.501 +if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.502 +  as_ln_s='ln -s'
   1.503 +  # ... but there are two gotchas:
   1.504 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.505 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.506 +  # In both cases, we have to default to `cp -p'.
   1.507 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.508 +    as_ln_s='cp -p'
   1.509 +elif ln conf$$.file conf$$ 2>/dev/null; then
   1.510 +  as_ln_s=ln
   1.511 +else
   1.512 +  as_ln_s='cp -p'
   1.513 +fi
   1.514 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.515 +rmdir conf$$.dir 2>/dev/null
   1.516 +
   1.517 +if mkdir -p . 2>/dev/null; then
   1.518 +  as_mkdir_p=:
   1.519 +else
   1.520 +  test -d ./-p && rmdir ./-p
   1.521 +  as_mkdir_p=false
   1.522 +fi
   1.523 +
   1.524 +if test -x / >/dev/null 2>&1; then
   1.525 +  as_test_x='test -x'
   1.526 +else
   1.527 +  if ls -dL / >/dev/null 2>&1; then
   1.528 +    as_ls_L_option=L
   1.529 +  else
   1.530 +    as_ls_L_option=
   1.531 +  fi
   1.532 +  as_test_x='
   1.533 +    eval sh -c '\''
   1.534 +      if test -d "$1"; then
   1.535 +        test -d "$1/.";
   1.536 +      else
   1.537 +	case $1 in
   1.538 +        -*)set "./$1";;
   1.539 +	esac;
   1.540 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   1.541 +	???[sx]*):;;*)false;;esac;fi
   1.542 +    '\'' sh
   1.543 +  '
   1.544 +fi
   1.545 +as_executable_p=$as_test_x
   1.546 +
   1.547 +# Sed expression to map a string onto a valid CPP name.
   1.548 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.549 +
   1.550 +# Sed expression to map a string onto a valid variable name.
   1.551 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   1.552 +
   1.553 +
   1.554 +
   1.555 +
   1.556 +# Check that we are running under the correct shell.
   1.557 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.558 +
   1.559 +case X$lt_ECHO in
   1.560 +X*--fallback-echo)
   1.561 +  # Remove one level of quotation (which was required for Make).
   1.562 +  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
   1.563 +  ;;
   1.564 +esac
   1.565 +
   1.566 +ECHO=${lt_ECHO-echo}
   1.567 +if test "X$1" = X--no-reexec; then
   1.568 +  # Discard the --no-reexec flag, and continue.
   1.569 +  shift
   1.570 +elif test "X$1" = X--fallback-echo; then
   1.571 +  # Avoid inline document here, it may be left over
   1.572 +  :
   1.573 +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
   1.574 +  # Yippee, $ECHO works!
   1.575 +  :
   1.576 +else
   1.577 +  # Restart under the correct shell.
   1.578 +  exec $SHELL "$0" --no-reexec ${1+"$@"}
   1.579 +fi
   1.580 +
   1.581 +if test "X$1" = X--fallback-echo; then
   1.582 +  # used as fallback echo
   1.583 +  shift
   1.584 +  cat <<_LT_EOF
   1.585 +$*
   1.586 +_LT_EOF
   1.587 +  exit 0
   1.588 +fi
   1.589 +
   1.590 +# The HP-UX ksh and POSIX shell print the target directory to stdout
   1.591 +# if CDPATH is set.
   1.592 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.593 +
   1.594 +if test -z "$lt_ECHO"; then
   1.595 +  if test "X${echo_test_string+set}" != Xset; then
   1.596 +    # find a string as large as possible, as long as the shell can cope with it
   1.597 +    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   1.598 +      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   1.599 +      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
   1.600 +	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
   1.601 +      then
   1.602 +        break
   1.603 +      fi
   1.604 +    done
   1.605 +  fi
   1.606 +
   1.607 +  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   1.608 +     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   1.609 +     test "X$echo_testing_string" = "X$echo_test_string"; then
   1.610 +    :
   1.611 +  else
   1.612 +    # The Solaris, AIX, and Digital Unix default echo programs unquote
   1.613 +    # backslashes.  This makes it impossible to quote backslashes using
   1.614 +    #   echo "$something" | sed 's/\\/\\\\/g'
   1.615 +    #
   1.616 +    # So, first we look for a working echo in the user's PATH.
   1.617 +
   1.618 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   1.619 +    for dir in $PATH /usr/ucb; do
   1.620 +      IFS="$lt_save_ifs"
   1.621 +      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   1.622 +         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   1.623 +         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   1.624 +         test "X$echo_testing_string" = "X$echo_test_string"; then
   1.625 +        ECHO="$dir/echo"
   1.626 +        break
   1.627 +      fi
   1.628 +    done
   1.629 +    IFS="$lt_save_ifs"
   1.630 +
   1.631 +    if test "X$ECHO" = Xecho; then
   1.632 +      # We didn't find a better echo, so look for alternatives.
   1.633 +      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
   1.634 +         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
   1.635 +         test "X$echo_testing_string" = "X$echo_test_string"; then
   1.636 +        # This shell has a builtin print -r that does the trick.
   1.637 +        ECHO='print -r'
   1.638 +      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
   1.639 +	   test "X$CONFIG_SHELL" != X/bin/ksh; then
   1.640 +        # If we have ksh, try running configure again with it.
   1.641 +        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   1.642 +        export ORIGINAL_CONFIG_SHELL
   1.643 +        CONFIG_SHELL=/bin/ksh
   1.644 +        export CONFIG_SHELL
   1.645 +        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
   1.646 +      else
   1.647 +        # Try using printf.
   1.648 +        ECHO='printf %s\n'
   1.649 +        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   1.650 +	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   1.651 +	   test "X$echo_testing_string" = "X$echo_test_string"; then
   1.652 +	  # Cool, printf works
   1.653 +	  :
   1.654 +        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   1.655 +	     test "X$echo_testing_string" = 'X\t' &&
   1.656 +	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   1.657 +	     test "X$echo_testing_string" = "X$echo_test_string"; then
   1.658 +	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   1.659 +	  export CONFIG_SHELL
   1.660 +	  SHELL="$CONFIG_SHELL"
   1.661 +	  export SHELL
   1.662 +	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   1.663 +        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   1.664 +	     test "X$echo_testing_string" = 'X\t' &&
   1.665 +	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   1.666 +	     test "X$echo_testing_string" = "X$echo_test_string"; then
   1.667 +	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   1.668 +        else
   1.669 +	  # maybe with a smaller string...
   1.670 +	  prev=:
   1.671 +
   1.672 +	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
   1.673 +	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
   1.674 +	    then
   1.675 +	      break
   1.676 +	    fi
   1.677 +	    prev="$cmd"
   1.678 +	  done
   1.679 +
   1.680 +	  if test "$prev" != 'sed 50q "$0"'; then
   1.681 +	    echo_test_string=`eval $prev`
   1.682 +	    export echo_test_string
   1.683 +	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
   1.684 +	  else
   1.685 +	    # Oops.  We lost completely, so just stick with echo.
   1.686 +	    ECHO=echo
   1.687 +	  fi
   1.688 +        fi
   1.689 +      fi
   1.690 +    fi
   1.691 +  fi
   1.692 +fi
   1.693 +
   1.694 +# Copy echo and quote the copy suitably for passing to libtool from
   1.695 +# the Makefile, instead of quoting the original, which is used later.
   1.696 +lt_ECHO=$ECHO
   1.697 +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
   1.698 +   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   1.699 +fi
   1.700 +
   1.701 +
   1.702 +
   1.703 +
   1.704 +exec 7<&0 </dev/null 6>&1
   1.705 +
   1.706 +# Name of the host.
   1.707 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   1.708 +# so uname gets run too.
   1.709 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   1.710 +
   1.711 +#
   1.712 +# Initializations.
   1.713 +#
   1.714 +ac_default_prefix=/usr/local
   1.715 +ac_clean_files=
   1.716 +ac_config_libobj_dir=.
   1.717 +LIBOBJS=
   1.718 +cross_compiling=no
   1.719 +subdirs=
   1.720 +MFLAGS=
   1.721 +MAKEFLAGS=
   1.722 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.723 +
   1.724 +# Identity of this package.
   1.725 +PACKAGE_NAME=
   1.726 +PACKAGE_TARNAME=
   1.727 +PACKAGE_VERSION=
   1.728 +PACKAGE_STRING=
   1.729 +PACKAGE_BUGREPORT=
   1.730 +
   1.731 +ac_unique_file="README"
   1.732 +# Factoring default headers for most tests.
   1.733 +ac_includes_default="\
   1.734 +#include <stdio.h>
   1.735 +#ifdef HAVE_SYS_TYPES_H
   1.736 +# include <sys/types.h>
   1.737 +#endif
   1.738 +#ifdef HAVE_SYS_STAT_H
   1.739 +# include <sys/stat.h>
   1.740 +#endif
   1.741 +#ifdef STDC_HEADERS
   1.742 +# include <stdlib.h>
   1.743 +# include <stddef.h>
   1.744 +#else
   1.745 +# ifdef HAVE_STDLIB_H
   1.746 +#  include <stdlib.h>
   1.747 +# endif
   1.748 +#endif
   1.749 +#ifdef HAVE_STRING_H
   1.750 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   1.751 +#  include <memory.h>
   1.752 +# endif
   1.753 +# include <string.h>
   1.754 +#endif
   1.755 +#ifdef HAVE_STRINGS_H
   1.756 +# include <strings.h>
   1.757 +#endif
   1.758 +#ifdef HAVE_INTTYPES_H
   1.759 +# include <inttypes.h>
   1.760 +#endif
   1.761 +#ifdef HAVE_STDINT_H
   1.762 +# include <stdint.h>
   1.763 +#endif
   1.764 +#ifdef HAVE_UNISTD_H
   1.765 +# include <unistd.h>
   1.766 +#endif"
   1.767 +
   1.768 +ac_subst_vars='SHELL
   1.769 +PATH_SEPARATOR
   1.770 +PACKAGE_NAME
   1.771 +PACKAGE_TARNAME
   1.772 +PACKAGE_VERSION
   1.773 +PACKAGE_STRING
   1.774 +PACKAGE_BUGREPORT
   1.775 +exec_prefix
   1.776 +prefix
   1.777 +program_transform_name
   1.778 +bindir
   1.779 +sbindir
   1.780 +libexecdir
   1.781 +datarootdir
   1.782 +datadir
   1.783 +sysconfdir
   1.784 +sharedstatedir
   1.785 +localstatedir
   1.786 +includedir
   1.787 +oldincludedir
   1.788 +docdir
   1.789 +infodir
   1.790 +htmldir
   1.791 +dvidir
   1.792 +pdfdir
   1.793 +psdir
   1.794 +libdir
   1.795 +localedir
   1.796 +mandir
   1.797 +DEFS
   1.798 +ECHO_C
   1.799 +ECHO_N
   1.800 +ECHO_T
   1.801 +LIBS
   1.802 +build_alias
   1.803 +host_alias
   1.804 +target_alias
   1.805 +SDL_MAJOR_VERSION
   1.806 +SDL_MINOR_VERSION
   1.807 +SDL_MICRO_VERSION
   1.808 +SDL_INTERFACE_AGE
   1.809 +SDL_BINARY_AGE
   1.810 +SDL_VERSION
   1.811 +AS
   1.812 +DLLTOOL
   1.813 +OBJDUMP
   1.814 +LIBTOOL
   1.815 +build
   1.816 +build_cpu
   1.817 +build_vendor
   1.818 +build_os
   1.819 +host
   1.820 +host_cpu
   1.821 +host_vendor
   1.822 +host_os
   1.823 +CC
   1.824 +CFLAGS
   1.825 +LDFLAGS
   1.826 +CPPFLAGS
   1.827 +ac_ct_CC
   1.828 +EXEEXT
   1.829 +OBJEXT
   1.830 +SED
   1.831 +GREP
   1.832 +EGREP
   1.833 +FGREP
   1.834 +LD
   1.835 +DUMPBIN
   1.836 +ac_ct_DUMPBIN
   1.837 +NM
   1.838 +LN_S
   1.839 +AR
   1.840 +STRIP
   1.841 +RANLIB
   1.842 +lt_ECHO
   1.843 +DSYMUTIL
   1.844 +NMEDIT
   1.845 +LIPO
   1.846 +OTOOL
   1.847 +OTOOL64
   1.848 +CPP
   1.849 +LT_RELEASE
   1.850 +LT_CURRENT
   1.851 +LT_REVISION
   1.852 +LT_AGE
   1.853 +CXX
   1.854 +CXXFLAGS
   1.855 +ac_ct_CXX
   1.856 +CXXCPP
   1.857 +INSTALL_PROGRAM
   1.858 +INSTALL_SCRIPT
   1.859 +INSTALL_DATA
   1.860 +SET_MAKE
   1.861 +WINDRES
   1.862 +ALLOCA
   1.863 +LIBOBJS
   1.864 +POW_LIB
   1.865 +ALSA_CFLAGS
   1.866 +ALSA_LIBS
   1.867 +ESD_CONFIG
   1.868 +ESD_CFLAGS
   1.869 +ESD_LIBS
   1.870 +PKG_CONFIG
   1.871 +ARTSCONFIG
   1.872 +XMKMF
   1.873 +X_CFLAGS
   1.874 +X_PRE_LIBS
   1.875 +X_LIBS
   1.876 +X_EXTRA_LIBS
   1.877 +DIRECTFBCONFIG
   1.878 +SDL_CFLAGS
   1.879 +SDL_LIBS
   1.880 +SDL_STATIC_LIBS
   1.881 +SDL_RLD_FLAGS
   1.882 +ENABLE_SHARED_TRUE
   1.883 +ENABLE_SHARED_FALSE
   1.884 +ENABLE_STATIC_TRUE
   1.885 +ENABLE_STATIC_FALSE
   1.886 +ac_aux_dir
   1.887 +INCLUDE
   1.888 +OBJECTS
   1.889 +VERSION_OBJECTS
   1.890 +SDLMAIN_OBJECTS
   1.891 +BUILD_CFLAGS
   1.892 +EXTRA_CFLAGS
   1.893 +BUILD_LDFLAGS
   1.894 +EXTRA_LDFLAGS
   1.895 +LTLIBOBJS'
   1.896 +ac_subst_files=''
   1.897 +      ac_precious_vars='build_alias
   1.898 +host_alias
   1.899 +target_alias
   1.900 +CC
   1.901 +CFLAGS
   1.902 +LDFLAGS
   1.903 +LIBS
   1.904 +CPPFLAGS
   1.905 +CPP
   1.906 +CXX
   1.907 +CXXFLAGS
   1.908 +CCC
   1.909 +CXXCPP
   1.910 +XMKMF'
   1.911 +
   1.912 +
   1.913 +# Initialize some variables set by options.
   1.914 +ac_init_help=
   1.915 +ac_init_version=false
   1.916 +# The variables have the same names as the options, with
   1.917 +# dashes changed to underlines.
   1.918 +cache_file=/dev/null
   1.919 +exec_prefix=NONE
   1.920 +no_create=
   1.921 +no_recursion=
   1.922 +prefix=NONE
   1.923 +program_prefix=NONE
   1.924 +program_suffix=NONE
   1.925 +program_transform_name=s,x,x,
   1.926 +silent=
   1.927 +site=
   1.928 +srcdir=
   1.929 +verbose=
   1.930 +x_includes=NONE
   1.931 +x_libraries=NONE
   1.932 +
   1.933 +# Installation directory options.
   1.934 +# These are left unexpanded so users can "make install exec_prefix=/foo"
   1.935 +# and all the variables that are supposed to be based on exec_prefix
   1.936 +# by default will actually change.
   1.937 +# Use braces instead of parens because sh, perl, etc. also accept them.
   1.938 +# (The list follows the same order as the GNU Coding Standards.)
   1.939 +bindir='${exec_prefix}/bin'
   1.940 +sbindir='${exec_prefix}/sbin'
   1.941 +libexecdir='${exec_prefix}/libexec'
   1.942 +datarootdir='${prefix}/share'
   1.943 +datadir='${datarootdir}'
   1.944 +sysconfdir='${prefix}/etc'
   1.945 +sharedstatedir='${prefix}/com'
   1.946 +localstatedir='${prefix}/var'
   1.947 +includedir='${prefix}/include'
   1.948 +oldincludedir='/usr/include'
   1.949 +docdir='${datarootdir}/doc/${PACKAGE}'
   1.950 +infodir='${datarootdir}/info'
   1.951 +htmldir='${docdir}'
   1.952 +dvidir='${docdir}'
   1.953 +pdfdir='${docdir}'
   1.954 +psdir='${docdir}'
   1.955 +libdir='${exec_prefix}/lib'
   1.956 +localedir='${datarootdir}/locale'
   1.957 +mandir='${datarootdir}/man'
   1.958 +
   1.959 +ac_prev=
   1.960 +ac_dashdash=
   1.961 +for ac_option
   1.962 +do
   1.963 +  # If the previous option needs an argument, assign it.
   1.964 +  if test -n "$ac_prev"; then
   1.965 +    eval $ac_prev=\$ac_option
   1.966 +    ac_prev=
   1.967 +    continue
   1.968 +  fi
   1.969 +
   1.970 +  case $ac_option in
   1.971 +  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1.972 +  *)	ac_optarg=yes ;;
   1.973 +  esac
   1.974 +
   1.975 +  # Accept the important Cygnus configure options, so we can diagnose typos.
   1.976 +
   1.977 +  case $ac_dashdash$ac_option in
   1.978 +  --)
   1.979 +    ac_dashdash=yes ;;
   1.980 +
   1.981 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1.982 +    ac_prev=bindir ;;
   1.983 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1.984 +    bindir=$ac_optarg ;;
   1.985 +
   1.986 +  -build | --build | --buil | --bui | --bu)
   1.987 +    ac_prev=build_alias ;;
   1.988 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1.989 +    build_alias=$ac_optarg ;;
   1.990 +
   1.991 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
   1.992 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1.993 +    ac_prev=cache_file ;;
   1.994 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1.995 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1.996 +    cache_file=$ac_optarg ;;
   1.997 +
   1.998 +  --config-cache | -C)
   1.999 +    cache_file=config.cache ;;
  1.1000 +
  1.1001 +  -datadir | --datadir | --datadi | --datad)
  1.1002 +    ac_prev=datadir ;;
  1.1003 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1.1004 +    datadir=$ac_optarg ;;
  1.1005 +
  1.1006 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1.1007 +  | --dataroo | --dataro | --datar)
  1.1008 +    ac_prev=datarootdir ;;
  1.1009 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1.1010 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1.1011 +    datarootdir=$ac_optarg ;;
  1.1012 +
  1.1013 +  -disable-* | --disable-*)
  1.1014 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1.1015 +    # Reject names that are not valid shell variable names.
  1.1016 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1017 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1.1018 +   { (exit 1); exit 1; }; }
  1.1019 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  1.1020 +    eval enable_$ac_feature=no ;;
  1.1021 +
  1.1022 +  -docdir | --docdir | --docdi | --doc | --do)
  1.1023 +    ac_prev=docdir ;;
  1.1024 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1.1025 +    docdir=$ac_optarg ;;
  1.1026 +
  1.1027 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1.1028 +    ac_prev=dvidir ;;
  1.1029 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1.1030 +    dvidir=$ac_optarg ;;
  1.1031 +
  1.1032 +  -enable-* | --enable-*)
  1.1033 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1.1034 +    # Reject names that are not valid shell variable names.
  1.1035 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1036 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1.1037 +   { (exit 1); exit 1; }; }
  1.1038 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  1.1039 +    eval enable_$ac_feature=\$ac_optarg ;;
  1.1040 +
  1.1041 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1.1042 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1.1043 +  | --exec | --exe | --ex)
  1.1044 +    ac_prev=exec_prefix ;;
  1.1045 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1.1046 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1.1047 +  | --exec=* | --exe=* | --ex=*)
  1.1048 +    exec_prefix=$ac_optarg ;;
  1.1049 +
  1.1050 +  -gas | --gas | --ga | --g)
  1.1051 +    # Obsolete; use --with-gas.
  1.1052 +    with_gas=yes ;;
  1.1053 +
  1.1054 +  -help | --help | --hel | --he | -h)
  1.1055 +    ac_init_help=long ;;
  1.1056 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1.1057 +    ac_init_help=recursive ;;
  1.1058 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1.1059 +    ac_init_help=short ;;
  1.1060 +
  1.1061 +  -host | --host | --hos | --ho)
  1.1062 +    ac_prev=host_alias ;;
  1.1063 +  -host=* | --host=* | --hos=* | --ho=*)
  1.1064 +    host_alias=$ac_optarg ;;
  1.1065 +
  1.1066 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1.1067 +    ac_prev=htmldir ;;
  1.1068 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1.1069 +  | --ht=*)
  1.1070 +    htmldir=$ac_optarg ;;
  1.1071 +
  1.1072 +  -includedir | --includedir | --includedi | --included | --include \
  1.1073 +  | --includ | --inclu | --incl | --inc)
  1.1074 +    ac_prev=includedir ;;
  1.1075 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1.1076 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  1.1077 +    includedir=$ac_optarg ;;
  1.1078 +
  1.1079 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  1.1080 +    ac_prev=infodir ;;
  1.1081 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1.1082 +    infodir=$ac_optarg ;;
  1.1083 +
  1.1084 +  -libdir | --libdir | --libdi | --libd)
  1.1085 +    ac_prev=libdir ;;
  1.1086 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1.1087 +    libdir=$ac_optarg ;;
  1.1088 +
  1.1089 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1.1090 +  | --libexe | --libex | --libe)
  1.1091 +    ac_prev=libexecdir ;;
  1.1092 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1.1093 +  | --libexe=* | --libex=* | --libe=*)
  1.1094 +    libexecdir=$ac_optarg ;;
  1.1095 +
  1.1096 +  -localedir | --localedir | --localedi | --localed | --locale)
  1.1097 +    ac_prev=localedir ;;
  1.1098 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1.1099 +    localedir=$ac_optarg ;;
  1.1100 +
  1.1101 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  1.1102 +  | --localstate | --localstat | --localsta | --localst | --locals)
  1.1103 +    ac_prev=localstatedir ;;
  1.1104 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1.1105 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1.1106 +    localstatedir=$ac_optarg ;;
  1.1107 +
  1.1108 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1.1109 +    ac_prev=mandir ;;
  1.1110 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1.1111 +    mandir=$ac_optarg ;;
  1.1112 +
  1.1113 +  -nfp | --nfp | --nf)
  1.1114 +    # Obsolete; use --without-fp.
  1.1115 +    with_fp=no ;;
  1.1116 +
  1.1117 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1.1118 +  | --no-cr | --no-c | -n)
  1.1119 +    no_create=yes ;;
  1.1120 +
  1.1121 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1.1122 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1.1123 +    no_recursion=yes ;;
  1.1124 +
  1.1125 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1.1126 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1.1127 +  | --oldin | --oldi | --old | --ol | --o)
  1.1128 +    ac_prev=oldincludedir ;;
  1.1129 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1.1130 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1.1131 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1.1132 +    oldincludedir=$ac_optarg ;;
  1.1133 +
  1.1134 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1.1135 +    ac_prev=prefix ;;
  1.1136 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1.1137 +    prefix=$ac_optarg ;;
  1.1138 +
  1.1139 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1.1140 +  | --program-pre | --program-pr | --program-p)
  1.1141 +    ac_prev=program_prefix ;;
  1.1142 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1.1143 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1.1144 +    program_prefix=$ac_optarg ;;
  1.1145 +
  1.1146 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1.1147 +  | --program-suf | --program-su | --program-s)
  1.1148 +    ac_prev=program_suffix ;;
  1.1149 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1.1150 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1.1151 +    program_suffix=$ac_optarg ;;
  1.1152 +
  1.1153 +  -program-transform-name | --program-transform-name \
  1.1154 +  | --program-transform-nam | --program-transform-na \
  1.1155 +  | --program-transform-n | --program-transform- \
  1.1156 +  | --program-transform | --program-transfor \
  1.1157 +  | --program-transfo | --program-transf \
  1.1158 +  | --program-trans | --program-tran \
  1.1159 +  | --progr-tra | --program-tr | --program-t)
  1.1160 +    ac_prev=program_transform_name ;;
  1.1161 +  -program-transform-name=* | --program-transform-name=* \
  1.1162 +  | --program-transform-nam=* | --program-transform-na=* \
  1.1163 +  | --program-transform-n=* | --program-transform-=* \
  1.1164 +  | --program-transform=* | --program-transfor=* \
  1.1165 +  | --program-transfo=* | --program-transf=* \
  1.1166 +  | --program-trans=* | --program-tran=* \
  1.1167 +  | --progr-tra=* | --program-tr=* | --program-t=*)
  1.1168 +    program_transform_name=$ac_optarg ;;
  1.1169 +
  1.1170 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1.1171 +    ac_prev=pdfdir ;;
  1.1172 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1.1173 +    pdfdir=$ac_optarg ;;
  1.1174 +
  1.1175 +  -psdir | --psdir | --psdi | --psd | --ps)
  1.1176 +    ac_prev=psdir ;;
  1.1177 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1.1178 +    psdir=$ac_optarg ;;
  1.1179 +
  1.1180 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.1181 +  | -silent | --silent | --silen | --sile | --sil)
  1.1182 +    silent=yes ;;
  1.1183 +
  1.1184 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1.1185 +    ac_prev=sbindir ;;
  1.1186 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1.1187 +  | --sbi=* | --sb=*)
  1.1188 +    sbindir=$ac_optarg ;;
  1.1189 +
  1.1190 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1.1191 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1.1192 +  | --sharedst | --shareds | --shared | --share | --shar \
  1.1193 +  | --sha | --sh)
  1.1194 +    ac_prev=sharedstatedir ;;
  1.1195 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1.1196 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1.1197 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1.1198 +  | --sha=* | --sh=*)
  1.1199 +    sharedstatedir=$ac_optarg ;;
  1.1200 +
  1.1201 +  -site | --site | --sit)
  1.1202 +    ac_prev=site ;;
  1.1203 +  -site=* | --site=* | --sit=*)
  1.1204 +    site=$ac_optarg ;;
  1.1205 +
  1.1206 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1.1207 +    ac_prev=srcdir ;;
  1.1208 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1.1209 +    srcdir=$ac_optarg ;;
  1.1210 +
  1.1211 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1.1212 +  | --syscon | --sysco | --sysc | --sys | --sy)
  1.1213 +    ac_prev=sysconfdir ;;
  1.1214 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1.1215 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1.1216 +    sysconfdir=$ac_optarg ;;
  1.1217 +
  1.1218 +  -target | --target | --targe | --targ | --tar | --ta | --t)
  1.1219 +    ac_prev=target_alias ;;
  1.1220 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1.1221 +    target_alias=$ac_optarg ;;
  1.1222 +
  1.1223 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1.1224 +    verbose=yes ;;
  1.1225 +
  1.1226 +  -version | --version | --versio | --versi | --vers | -V)
  1.1227 +    ac_init_version=: ;;
  1.1228 +
  1.1229 +  -with-* | --with-*)
  1.1230 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1231 +    # Reject names that are not valid shell variable names.
  1.1232 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1233 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1234 +   { (exit 1); exit 1; }; }
  1.1235 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1.1236 +    eval with_$ac_package=\$ac_optarg ;;
  1.1237 +
  1.1238 +  -without-* | --without-*)
  1.1239 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1240 +    # Reject names that are not valid shell variable names.
  1.1241 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1242 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1243 +   { (exit 1); exit 1; }; }
  1.1244 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1.1245 +    eval with_$ac_package=no ;;
  1.1246 +
  1.1247 +  --x)
  1.1248 +    # Obsolete; use --with-x.
  1.1249 +    with_x=yes ;;
  1.1250 +
  1.1251 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1.1252 +  | --x-incl | --x-inc | --x-in | --x-i)
  1.1253 +    ac_prev=x_includes ;;
  1.1254 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1.1255 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1.1256 +    x_includes=$ac_optarg ;;
  1.1257 +
  1.1258 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1.1259 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1.1260 +    ac_prev=x_libraries ;;
  1.1261 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1.1262 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1.1263 +    x_libraries=$ac_optarg ;;
  1.1264 +
  1.1265 +  -*) { echo "$as_me: error: unrecognized option: $ac_option
  1.1266 +Try \`$0 --help' for more information." >&2
  1.1267 +   { (exit 1); exit 1; }; }
  1.1268 +    ;;
  1.1269 +
  1.1270 +  *=*)
  1.1271 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1.1272 +    # Reject names that are not valid shell variable names.
  1.1273 +    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1.1274 +      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1.1275 +   { (exit 1); exit 1; }; }
  1.1276 +    eval $ac_envvar=\$ac_optarg
  1.1277 +    export $ac_envvar ;;
  1.1278 +
  1.1279 +  *)
  1.1280 +    # FIXME: should be removed in autoconf 3.0.
  1.1281 +    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1282 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1283 +      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1284 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1.1285 +    ;;
  1.1286 +
  1.1287 +  esac
  1.1288 +done
  1.1289 +
  1.1290 +if test -n "$ac_prev"; then
  1.1291 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1.1292 +  { echo "$as_me: error: missing argument to $ac_option" >&2
  1.1293 +   { (exit 1); exit 1; }; }
  1.1294 +fi
  1.1295 +
  1.1296 +# Be sure to have absolute directory names.
  1.1297 +for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1.1298 +		datadir sysconfdir sharedstatedir localstatedir includedir \
  1.1299 +		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1.1300 +		libdir localedir mandir
  1.1301 +do
  1.1302 +  eval ac_val=\$$ac_var
  1.1303 +  case $ac_val in
  1.1304 +    [\\/$]* | ?:[\\/]* )  continue;;
  1.1305 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1.1306 +  esac
  1.1307 +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1.1308 +   { (exit 1); exit 1; }; }
  1.1309 +done
  1.1310 +
  1.1311 +# There might be people who depend on the old broken behavior: `$host'
  1.1312 +# used to hold the argument of --host etc.
  1.1313 +# FIXME: To remove some day.
  1.1314 +build=$build_alias
  1.1315 +host=$host_alias
  1.1316 +target=$target_alias
  1.1317 +
  1.1318 +# FIXME: To remove some day.
  1.1319 +if test "x$host_alias" != x; then
  1.1320 +  if test "x$build_alias" = x; then
  1.1321 +    cross_compiling=maybe
  1.1322 +    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1.1323 +    If a cross compiler is detected then cross compile mode will be used." >&2
  1.1324 +  elif test "x$build_alias" != "x$host_alias"; then
  1.1325 +    cross_compiling=yes
  1.1326 +  fi
  1.1327 +fi
  1.1328 +
  1.1329 +ac_tool_prefix=
  1.1330 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1.1331 +
  1.1332 +test "$silent" = yes && exec 6>/dev/null
  1.1333 +
  1.1334 +
  1.1335 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1.1336 +ac_ls_di=`ls -di .` &&
  1.1337 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1.1338 +  { echo "$as_me: error: Working directory cannot be determined" >&2
  1.1339 +   { (exit 1); exit 1; }; }
  1.1340 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1.1341 +  { echo "$as_me: error: pwd does not report name of working directory" >&2
  1.1342 +   { (exit 1); exit 1; }; }
  1.1343 +
  1.1344 +
  1.1345 +# Find the source files, if location was not specified.
  1.1346 +if test -z "$srcdir"; then
  1.1347 +  ac_srcdir_defaulted=yes
  1.1348 +  # Try the directory containing this script, then the parent directory.
  1.1349 +  ac_confdir=`$as_dirname -- "$0" ||
  1.1350 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1351 +	 X"$0" : 'X\(//\)[^/]' \| \
  1.1352 +	 X"$0" : 'X\(//\)$' \| \
  1.1353 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.1354 +echo X"$0" |
  1.1355 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.1356 +	    s//\1/
  1.1357 +	    q
  1.1358 +	  }
  1.1359 +	  /^X\(\/\/\)[^/].*/{
  1.1360 +	    s//\1/
  1.1361 +	    q
  1.1362 +	  }
  1.1363 +	  /^X\(\/\/\)$/{
  1.1364 +	    s//\1/
  1.1365 +	    q
  1.1366 +	  }
  1.1367 +	  /^X\(\/\).*/{
  1.1368 +	    s//\1/
  1.1369 +	    q
  1.1370 +	  }
  1.1371 +	  s/.*/./; q'`
  1.1372 +  srcdir=$ac_confdir
  1.1373 +  if test ! -r "$srcdir/$ac_unique_file"; then
  1.1374 +    srcdir=..
  1.1375 +  fi
  1.1376 +else
  1.1377 +  ac_srcdir_defaulted=no
  1.1378 +fi
  1.1379 +if test ! -r "$srcdir/$ac_unique_file"; then
  1.1380 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1.1381 +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1.1382 +   { (exit 1); exit 1; }; }
  1.1383 +fi
  1.1384 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1.1385 +ac_abs_confdir=`(
  1.1386 +	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1.1387 +   { (exit 1); exit 1; }; }
  1.1388 +	pwd)`
  1.1389 +# When building in place, set srcdir=.
  1.1390 +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1.1391 +  srcdir=.
  1.1392 +fi
  1.1393 +# Remove unnecessary trailing slashes from srcdir.
  1.1394 +# Double slashes in file names in object file debugging info
  1.1395 +# mess up M-x gdb in Emacs.
  1.1396 +case $srcdir in
  1.1397 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1.1398 +esac
  1.1399 +for ac_var in $ac_precious_vars; do
  1.1400 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1.1401 +  eval ac_env_${ac_var}_value=\$${ac_var}
  1.1402 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1.1403 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1.1404 +done
  1.1405 +
  1.1406 +#
  1.1407 +# Report the --help message.
  1.1408 +#
  1.1409 +if test "$ac_init_help" = "long"; then
  1.1410 +  # Omit some internal or obsolete options to make the list less imposing.
  1.1411 +  # This message is too long to be a string in the A/UX 3.1 sh.
  1.1412 +  cat <<_ACEOF
  1.1413 +\`configure' configures this package to adapt to many kinds of systems.
  1.1414 +
  1.1415 +Usage: $0 [OPTION]... [VAR=VALUE]...
  1.1416 +
  1.1417 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1.1418 +VAR=VALUE.  See below for descriptions of some of the useful variables.
  1.1419 +
  1.1420 +Defaults for the options are specified in brackets.
  1.1421 +
  1.1422 +Configuration:
  1.1423 +  -h, --help              display this help and exit
  1.1424 +      --help=short        display options specific to this package
  1.1425 +      --help=recursive    display the short help of all the included packages
  1.1426 +  -V, --version           display version information and exit
  1.1427 +  -q, --quiet, --silent   do not print \`checking...' messages
  1.1428 +      --cache-file=FILE   cache test results in FILE [disabled]
  1.1429 +  -C, --config-cache      alias for \`--cache-file=config.cache'
  1.1430 +  -n, --no-create         do not create output files
  1.1431 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1.1432 +
  1.1433 +Installation directories:
  1.1434 +  --prefix=PREFIX         install architecture-independent files in PREFIX
  1.1435 +			  [$ac_default_prefix]
  1.1436 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1.1437 +			  [PREFIX]
  1.1438 +
  1.1439 +By default, \`make install' will install all the files in
  1.1440 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1.1441 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1.1442 +for instance \`--prefix=\$HOME'.
  1.1443 +
  1.1444 +For better control, use the options below.
  1.1445 +
  1.1446 +Fine tuning of the installation directories:
  1.1447 +  --bindir=DIR           user executables [EPREFIX/bin]
  1.1448 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1.1449 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
  1.1450 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1.1451 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1.1452 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1.1453 +  --libdir=DIR           object code libraries [EPREFIX/lib]
  1.1454 +  --includedir=DIR       C header files [PREFIX/include]
  1.1455 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1.1456 +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1.1457 +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1.1458 +  --infodir=DIR          info documentation [DATAROOTDIR/info]
  1.1459 +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1.1460 +  --mandir=DIR           man documentation [DATAROOTDIR/man]
  1.1461 +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1462 +  --htmldir=DIR          html documentation [DOCDIR]
  1.1463 +  --dvidir=DIR           dvi documentation [DOCDIR]
  1.1464 +  --pdfdir=DIR           pdf documentation [DOCDIR]
  1.1465 +  --psdir=DIR            ps documentation [DOCDIR]
  1.1466 +_ACEOF
  1.1467 +
  1.1468 +  cat <<\_ACEOF
  1.1469 +
  1.1470 +X features:
  1.1471 +  --x-includes=DIR    X include files are in DIR
  1.1472 +  --x-libraries=DIR   X library files are in DIR
  1.1473 +
  1.1474 +System types:
  1.1475 +  --build=BUILD     configure for building on BUILD [guessed]
  1.1476 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1.1477 +_ACEOF
  1.1478 +fi
  1.1479 +
  1.1480 +if test -n "$ac_init_help"; then
  1.1481 +
  1.1482 +  cat <<\_ACEOF
  1.1483 +
  1.1484 +Optional Features:
  1.1485 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1.1486 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1.1487 +  --enable-shared[=PKGS]  build shared libraries [default=yes]
  1.1488 +  --enable-static[=PKGS]  build static libraries [default=yes]
  1.1489 +  --enable-fast-install[=PKGS]
  1.1490 +                          optimize for fast installation [default=yes]
  1.1491 +  --disable-libtool-lock  avoid locking (might break parallel builds)
  1.1492 +  --enable-assertions     Enable internal sanity checks
  1.1493 +                          (auto/disabled/release/enabled/paranoid)
  1.1494 +                          [default=auto]
  1.1495 +  --enable-dependency-tracking
  1.1496 +                          Use gcc -MMD -MT dependency tracking [default=yes]
  1.1497 +  --enable-libc           Use the system C library [default=yes]
  1.1498 +  --enable-gcc-atomics    Use gcc builtin atomics [default=yes]
  1.1499 +  --enable-atomic         Enable the atomic operations subsystem
  1.1500 +                          [default=yes]
  1.1501 +  --enable-audio          Enable the audio subsystem [default=yes]
  1.1502 +  --enable-video          Enable the video subsystem [default=yes]
  1.1503 +  --enable-render         Enable the render subsystem [default=yes]
  1.1504 +  --enable-events         Enable the events subsystem [default=yes]
  1.1505 +  --enable-joystick       Enable the joystick subsystem [default=yes]
  1.1506 +  --enable-haptic         Enable the haptic (force feedback) subsystem
  1.1507 +                          [default=yes]
  1.1508 +  --enable-power          Enable the power subsystem [default=yes]
  1.1509 +  --enable-threads        Enable the threading subsystem [default=yes]
  1.1510 +  --enable-timers         Enable the timer subsystem [default=yes]
  1.1511 +  --enable-file           Enable the file subsystem [default=yes]
  1.1512 +  --enable-loadso         Enable the shared object loading subsystem
  1.1513 +                          [default=yes]
  1.1514 +  --enable-cpuinfo        Enable the cpuinfo subsystem [default=yes]
  1.1515 +  --enable-atomic         Enable the atomic operations [default=yes]
  1.1516 +  --enable-assembly       Enable assembly routines [default=yes]
  1.1517 +  --enable-ssemath        Allow GCC to use SSE floating point math
  1.1518 +                          [default=no]
  1.1519 +  --enable-mmx            use MMX assembly routines [default=yes]
  1.1520 +  --enable-sse            use SSE assembly routines [default=yes]
  1.1521 +  --enable-sse2           use SSE2 assembly routines [default=no]
  1.1522 +  --enable-oss            support the OSS audio API [default=yes]
  1.1523 +  --enable-alsa           support the ALSA audio API [default=yes]
  1.1524 +  --disable-alsatest      Do not try to compile and run a test Alsa program
  1.1525 +  --enable-alsa-shared    dynamically load ALSA audio support [default=yes]
  1.1526 +  --enable-esd            support the Enlightened Sound Daemon [default=yes]
  1.1527 +  --disable-esdtest       Do not try to compile and run a test ESD program
  1.1528 +  --enable-esd-shared     dynamically load ESD audio support [default=yes]
  1.1529 +  --enable-pulseaudio     use PulseAudio [default=yes]
  1.1530 +  --enable-pulseaudio-shared
  1.1531 +                          dynamically load PulseAudio support [default=yes]
  1.1532 +  --enable-arts           support the Analog Real Time Synthesizer
  1.1533 +                          [default=yes]
  1.1534 +  --enable-arts-shared    dynamically load aRts audio support [default=yes]
  1.1535 +  --enable-nas            support the NAS audio API [default=yes]
  1.1536 +  --enable-nas-shared     dynamically load NAS audio support [default=yes]
  1.1537 +  --enable-diskaudio      support the disk writer audio driver [default=yes]
  1.1538 +  --enable-dummyaudio     support the dummy audio driver [default=yes]
  1.1539 +  --enable-video-x11      use X11 video driver [default=yes]
  1.1540 +  --enable-x11-shared     dynamically load X11 support [default=maybe]
  1.1541 +  --enable-video-x11-vm   use X11 VM extension for fullscreen [default=yes]
  1.1542 +  --enable-video-x11-xv   use X11 XvImage extension for video [default=yes]
  1.1543 +  --enable-video-x11-xinerama
  1.1544 +                          enable X11 Xinerama support [default=yes]
  1.1545 +  --enable-video-x11-xshape
  1.1546 +                          enable X11 XShape support [default=yes]
  1.1547 +  --enable-video-x11-xrandr
  1.1548 +                          enable X11 Xrandr extension for fullscreen
  1.1549 +                          [default=yes]
  1.1550 +  --enable-video-x11-xinput
  1.1551 +                          enable X11 XInput extension for manymouse, tablets,
  1.1552 +                          etc [default=yes]
  1.1553 +  --enable-video-x11-scrnsaver
  1.1554 +                          enable X11 screensaver extension [default=yes]
  1.1555 +  --enable-video-cocoa    use Cocoa video driver [default=yes]
  1.1556 +  --enable-video-directfb use DirectFB video driver [default=no]
  1.1557 +  --enable-directfb-shared
  1.1558 +                          dynamically load directfb support [default=yes]
  1.1559 +  --enable-fusionsound    use FusionSound audio driver [default=no]
  1.1560 +  --enable-fusionsound-shared
  1.1561 +                          dynamically load fusionsound audio support
  1.1562 +                          [default=yes]
  1.1563 +  --enable-video-dummy    use dummy video driver [default=yes]
  1.1564 +  --enable-video-opengl   include OpenGL support [default=yes]
  1.1565 +  --enable-input-events   use Linux 2.4 unified input interface
  1.1566 +                          [default=yes]
  1.1567 +  --enable-input-tslib    use the Touchscreen library for input
  1.1568 +                          [default=yes]
  1.1569 +  --enable-pthreads       use POSIX threads for multi-threading
  1.1570 +                          [default=yes]
  1.1571 +  --enable-pthread-sem    use pthread semaphores [default=yes]
  1.1572 +  --enable-stdio-redirect Redirect STDIO to files on Windows [default=yes]
  1.1573 +  --enable-directx        use DirectX for Windows audio/video [default=yes]
  1.1574 +  --enable-sdl-dlopen     use dlopen for shared object loading [default=yes]
  1.1575 +  --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
  1.1576 +                          UNIX [default=no]
  1.1577 +  --enable-rpath          use an rpath when linking SDL [default=yes]
  1.1578 +  --enable-render-d3d     enable the Direct3D render driver [default=yes]
  1.1579 +
  1.1580 +Optional Packages:
  1.1581 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1.1582 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1.1583 +  --with-pic              try to use only PIC/non-PIC objects [default=use
  1.1584 +                          both]
  1.1585 +  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1.1586 +  --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
  1.1587 +  --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
  1.1588 +  --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
  1.1589 +  --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
  1.1590 +  --with-x                use the X Window System
  1.1591 +
  1.1592 +Some influential environment variables:
  1.1593 +  CC          C compiler command
  1.1594 +  CFLAGS      C compiler flags
  1.1595 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1.1596 +              nonstandard directory <lib dir>
  1.1597 +  LIBS        libraries to pass to the linker, e.g. -l<library>
  1.1598 +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1.1599 +              you have headers in a nonstandard directory <include dir>
  1.1600 +  CPP         C preprocessor
  1.1601 +  CXX         C++ compiler command
  1.1602 +  CXXFLAGS    C++ compiler flags
  1.1603 +  CXXCPP      C++ preprocessor
  1.1604 +  XMKMF       Path to xmkmf, Makefile generator for X Window System
  1.1605 +
  1.1606 +Use these variables to override the choices made by `configure' or to help
  1.1607 +it to find libraries and programs with nonstandard names/locations.
  1.1608 +
  1.1609 +_ACEOF
  1.1610 +ac_status=$?
  1.1611 +fi
  1.1612 +
  1.1613 +if test "$ac_init_help" = "recursive"; then
  1.1614 +  # If there are subdirs, report their specific --help.
  1.1615 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1.1616 +    test -d "$ac_dir" || continue
  1.1617 +    ac_builddir=.
  1.1618 +
  1.1619 +case "$ac_dir" in
  1.1620 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1621 +*)
  1.1622 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1.1623 +  # A ".." for each directory in $ac_dir_suffix.
  1.1624 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1.1625 +  case $ac_top_builddir_sub in
  1.1626 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1627 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.1628 +  esac ;;
  1.1629 +esac
  1.1630 +ac_abs_top_builddir=$ac_pwd
  1.1631 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1.1632 +# for backward compatibility:
  1.1633 +ac_top_builddir=$ac_top_build_prefix
  1.1634 +
  1.1635 +case $srcdir in
  1.1636 +  .)  # We are building in place.
  1.1637 +    ac_srcdir=.
  1.1638 +    ac_top_srcdir=$ac_top_builddir_sub
  1.1639 +    ac_abs_top_srcdir=$ac_pwd ;;
  1.1640 +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1.1641 +    ac_srcdir=$srcdir$ac_dir_suffix;
  1.1642 +    ac_top_srcdir=$srcdir
  1.1643 +    ac_abs_top_srcdir=$srcdir ;;
  1.1644 +  *) # Relative name.
  1.1645 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1.1646 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1.1647 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1.1648 +esac
  1.1649 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1.1650 +
  1.1651 +    cd "$ac_dir" || { ac_status=$?; continue; }
  1.1652 +    # Check for guested configure.
  1.1653 +    if test -f "$ac_srcdir/configure.gnu"; then
  1.1654 +      echo &&
  1.1655 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1.1656 +    elif test -f "$ac_srcdir/configure"; then
  1.1657 +      echo &&
  1.1658 +      $SHELL "$ac_srcdir/configure" --help=recursive
  1.1659 +    else
  1.1660 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.1661 +    fi || ac_status=$?
  1.1662 +    cd "$ac_pwd" || { ac_status=$?; break; }
  1.1663 +  done
  1.1664 +fi
  1.1665 +
  1.1666 +test -n "$ac_init_help" && exit $ac_status
  1.1667 +if $ac_init_version; then
  1.1668 +  cat <<\_ACEOF
  1.1669 +configure
  1.1670 +generated by GNU Autoconf 2.61
  1.1671 +
  1.1672 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1.1673 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1.1674 +This configure script is free software; the Free Software Foundation
  1.1675 +gives unlimited permission to copy, distribute and modify it.
  1.1676 +_ACEOF
  1.1677 +  exit
  1.1678 +fi
  1.1679 +cat >config.log <<_ACEOF
  1.1680 +This file contains any messages produced by compilers while
  1.1681 +running configure, to aid debugging if configure makes a mistake.
  1.1682 +
  1.1683 +It was created by $as_me, which was
  1.1684 +generated by GNU Autoconf 2.61.  Invocation command line was
  1.1685 +
  1.1686 +  $ $0 $@
  1.1687 +
  1.1688 +_ACEOF
  1.1689 +exec 5>>config.log
  1.1690 +{
  1.1691 +cat <<_ASUNAME
  1.1692 +## --------- ##
  1.1693 +## Platform. ##
  1.1694 +## --------- ##
  1.1695 +
  1.1696 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.1697 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1.1698 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1.1699 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1.1700 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1.1701 +
  1.1702 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1.1703 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1.1704 +
  1.1705 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1.1706 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1.1707 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1.1708 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1.1709 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1.1710 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1.1711 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1.1712 +
  1.1713 +_ASUNAME
  1.1714 +
  1.1715 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1716 +for as_dir in $PATH
  1.1717 +do
  1.1718 +  IFS=$as_save_IFS
  1.1719 +  test -z "$as_dir" && as_dir=.
  1.1720 +  echo "PATH: $as_dir"
  1.1721 +done
  1.1722 +IFS=$as_save_IFS
  1.1723 +
  1.1724 +} >&5
  1.1725 +
  1.1726 +cat >&5 <<_ACEOF
  1.1727 +
  1.1728 +
  1.1729 +## ----------- ##
  1.1730 +## Core tests. ##
  1.1731 +## ----------- ##
  1.1732 +
  1.1733 +_ACEOF
  1.1734 +
  1.1735 +
  1.1736 +# Keep a trace of the command line.
  1.1737 +# Strip out --no-create and --no-recursion so they do not pile up.
  1.1738 +# Strip out --silent because we don't want to record it for future runs.
  1.1739 +# Also quote any args containing shell meta-characters.
  1.1740 +# Make two passes to allow for proper duplicate-argument suppression.
  1.1741 +ac_configure_args=
  1.1742 +ac_configure_args0=
  1.1743 +ac_configure_args1=
  1.1744 +ac_must_keep_next=false
  1.1745 +for ac_pass in 1 2
  1.1746 +do
  1.1747 +  for ac_arg
  1.1748 +  do
  1.1749 +    case $ac_arg in
  1.1750 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1.1751 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.1752 +    | -silent | --silent | --silen | --sile | --sil)
  1.1753 +      continue ;;
  1.1754 +    *\'*)
  1.1755 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1756 +    esac
  1.1757 +    case $ac_pass in
  1.1758 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1.1759 +    2)
  1.1760 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1.1761 +      if test $ac_must_keep_next = true; then
  1.1762 +	ac_must_keep_next=false # Got value, back to normal.
  1.1763 +      else
  1.1764 +	case $ac_arg in
  1.1765 +	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1.1766 +	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1.1767 +	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1.1768 +	  | -with-* | --with-* | -without-* | --without-* | --x)
  1.1769 +	    case "$ac_configure_args0 " in
  1.1770 +	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1.1771 +	    esac
  1.1772 +	    ;;
  1.1773 +	  -* ) ac_must_keep_next=true ;;
  1.1774 +	esac
  1.1775 +      fi
  1.1776 +      ac_configure_args="$ac_configure_args '$ac_arg'"
  1.1777 +      ;;
  1.1778 +    esac
  1.1779 +  done
  1.1780 +done
  1.1781 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1.1782 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1.1783 +
  1.1784 +# When interrupted or exit'd, cleanup temporary files, and complete
  1.1785 +# config.log.  We remove comments because anyway the quotes in there
  1.1786 +# would cause problems or look ugly.
  1.1787 +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1.1788 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1.1789 +trap 'exit_status=$?
  1.1790 +  # Save into config.log some information that might help in debugging.
  1.1791 +  {
  1.1792 +    echo
  1.1793 +
  1.1794 +    cat <<\_ASBOX
  1.1795 +## ---------------- ##
  1.1796 +## Cache variables. ##
  1.1797 +## ---------------- ##
  1.1798 +_ASBOX
  1.1799 +    echo
  1.1800 +    # The following way of writing the cache mishandles newlines in values,
  1.1801 +(
  1.1802 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1.1803 +    eval ac_val=\$$ac_var
  1.1804 +    case $ac_val in #(
  1.1805 +    *${as_nl}*)
  1.1806 +      case $ac_var in #(
  1.1807 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1.1808 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1.1809 +      esac
  1.1810 +      case $ac_var in #(
  1.1811 +      _ | IFS | as_nl) ;; #(
  1.1812 +      *) $as_unset $ac_var ;;
  1.1813 +      esac ;;
  1.1814 +    esac
  1.1815 +  done
  1.1816 +  (set) 2>&1 |
  1.1817 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1.1818 +    *${as_nl}ac_space=\ *)
  1.1819 +      sed -n \
  1.1820 +	"s/'\''/'\''\\\\'\'''\''/g;
  1.1821 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1.1822 +      ;; #(
  1.1823 +    *)
  1.1824 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1.1825 +      ;;
  1.1826 +    esac |
  1.1827 +    sort
  1.1828 +)
  1.1829 +    echo
  1.1830 +
  1.1831 +    cat <<\_ASBOX
  1.1832 +## ----------------- ##
  1.1833 +## Output variables. ##
  1.1834 +## ----------------- ##
  1.1835 +_ASBOX
  1.1836 +    echo
  1.1837 +    for ac_var in $ac_subst_vars
  1.1838 +    do
  1.1839 +      eval ac_val=\$$ac_var
  1.1840 +      case $ac_val in
  1.1841 +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1842 +      esac
  1.1843 +      echo "$ac_var='\''$ac_val'\''"
  1.1844 +    done | sort
  1.1845 +    echo
  1.1846 +
  1.1847 +    if test -n "$ac_subst_files"; then
  1.1848 +      cat <<\_ASBOX
  1.1849 +## ------------------- ##
  1.1850 +## File substitutions. ##
  1.1851 +## ------------------- ##
  1.1852 +_ASBOX
  1.1853 +      echo
  1.1854 +      for ac_var in $ac_subst_files
  1.1855 +      do
  1.1856 +	eval ac_val=\$$ac_var
  1.1857 +	case $ac_val in
  1.1858 +	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1859 +	esac
  1.1860 +	echo "$ac_var='\''$ac_val'\''"
  1.1861 +      done | sort
  1.1862 +      echo
  1.1863 +    fi
  1.1864 +
  1.1865 +    if test -s confdefs.h; then
  1.1866 +      cat <<\_ASBOX
  1.1867 +## ----------- ##
  1.1868 +## confdefs.h. ##
  1.1869 +## ----------- ##
  1.1870 +_ASBOX
  1.1871 +      echo
  1.1872 +      cat confdefs.h
  1.1873 +      echo
  1.1874 +    fi
  1.1875 +    test "$ac_signal" != 0 &&
  1.1876 +      echo "$as_me: caught signal $ac_signal"
  1.1877 +    echo "$as_me: exit $exit_status"
  1.1878 +  } >&5
  1.1879 +  rm -f core *.core core.conftest.* &&
  1.1880 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1.1881 +    exit $exit_status
  1.1882 +' 0
  1.1883 +for ac_signal in 1 2 13 15; do
  1.1884 +  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1.1885 +done
  1.1886 +ac_signal=0
  1.1887 +
  1.1888 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1.1889 +rm -f -r conftest* confdefs.h
  1.1890 +
  1.1891 +# Predefined preprocessor variables.
  1.1892 +
  1.1893 +cat >>confdefs.h <<_ACEOF
  1.1894 +#define PACKAGE_NAME "$PACKAGE_NAME"
  1.1895 +_ACEOF
  1.1896 +
  1.1897 +
  1.1898 +cat >>confdefs.h <<_ACEOF
  1.1899 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1.1900 +_ACEOF
  1.1901 +
  1.1902 +
  1.1903 +cat >>confdefs.h <<_ACEOF
  1.1904 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  1.1905 +_ACEOF
  1.1906 +
  1.1907 +
  1.1908 +cat >>confdefs.h <<_ACEOF
  1.1909 +#define PACKAGE_STRING "$PACKAGE_STRING"
  1.1910 +_ACEOF
  1.1911 +
  1.1912 +
  1.1913 +cat >>confdefs.h <<_ACEOF
  1.1914 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1.1915 +_ACEOF
  1.1916 +
  1.1917 +
  1.1918 +# Let the site file select an alternate cache file if it wants to.
  1.1919 +# Prefer explicitly selected file to automatically selected ones.
  1.1920 +if test -n "$CONFIG_SITE"; then
  1.1921 +  set x "$CONFIG_SITE"
  1.1922 +elif test "x$prefix" != xNONE; then
  1.1923 +  set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1.1924 +else
  1.1925 +  set x "$ac_default_prefix/share/config.site" \
  1.1926 +	"$ac_default_prefix/etc/config.site"
  1.1927 +fi
  1.1928 +shift
  1.1929 +for ac_site_file
  1.1930 +do
  1.1931 +  if test -r "$ac_site_file"; then
  1.1932 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1.1933 +echo "$as_me: loading site script $ac_site_file" >&6;}
  1.1934 +    sed 's/^/| /' "$ac_site_file" >&5
  1.1935 +    . "$ac_site_file"
  1.1936 +  fi
  1.1937 +done
  1.1938 +
  1.1939 +if test -r "$cache_file"; then
  1.1940 +  # Some versions of bash will fail to source /dev/null (special
  1.1941 +  # files actually), so we avoid doing that.
  1.1942 +  if test -f "$cache_file"; then
  1.1943 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1.1944 +echo "$as_me: loading cache $cache_file" >&6;}
  1.1945 +    case $cache_file in
  1.1946 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1.1947 +      *)                      . "./$cache_file";;
  1.1948 +    esac
  1.1949 +  fi
  1.1950 +else
  1.1951 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1.1952 +echo "$as_me: creating cache $cache_file" >&6;}
  1.1953 +  >$cache_file
  1.1954 +fi
  1.1955 +
  1.1956 +# Check that the precious variables saved in the cache have kept the same
  1.1957 +# value.
  1.1958 +ac_cache_corrupted=false
  1.1959 +for ac_var in $ac_precious_vars; do
  1.1960 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1.1961 +  eval ac_new_set=\$ac_env_${ac_var}_set
  1.1962 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1.1963 +  eval ac_new_val=\$ac_env_${ac_var}_value
  1.1964 +  case $ac_old_set,$ac_new_set in
  1.1965 +    set,)
  1.1966 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.1967 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.1968 +      ac_cache_corrupted=: ;;
  1.1969 +    ,set)
  1.1970 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1.1971 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.1972 +      ac_cache_corrupted=: ;;
  1.1973 +    ,);;
  1.1974 +    *)
  1.1975 +      if test "x$ac_old_val" != "x$ac_new_val"; then
  1.1976 +	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1.1977 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.1978 +	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1.1979 +echo "$as_me:   former value:  $ac_old_val" >&2;}
  1.1980 +	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1.1981 +echo "$as_me:   current value: $ac_new_val" >&2;}
  1.1982 +	ac_cache_corrupted=:
  1.1983 +      fi;;
  1.1984 +  esac
  1.1985 +  # Pass precious variables to config.status.
  1.1986 +  if test "$ac_new_set" = set; then
  1.1987 +    case $ac_new_val in
  1.1988 +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1989 +    *) ac_arg=$ac_var=$ac_new_val ;;
  1.1990 +    esac
  1.1991 +    case " $ac_configure_args " in
  1.1992 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1.1993 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1.1994 +    esac
  1.1995 +  fi
  1.1996 +done
  1.1997 +if $ac_cache_corrupted; then
  1.1998 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1.1999 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.2000 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1.2001 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1.2002 +   { (exit 1); exit 1; }; }
  1.2003 +fi
  1.2004 +
  1.2005 +
  1.2006 +
  1.2007 +
  1.2008 +
  1.2009 +
  1.2010 +
  1.2011 +
  1.2012 +
  1.2013 +
  1.2014 +
  1.2015 +
  1.2016 +
  1.2017 +
  1.2018 +
  1.2019 +
  1.2020 +
  1.2021 +ac_ext=c
  1.2022 +ac_cpp='$CPP $CPPFLAGS'
  1.2023 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2024 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2025 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.2026 +
  1.2027 +
  1.2028 +ac_config_headers="$ac_config_headers include/SDL_config.h"
  1.2029 +
  1.2030 +
  1.2031 +cat >>confdefs.h <<\_ACEOF
  1.2032 +#define _GNU_SOURCE 1
  1.2033 +_ACEOF
  1.2034 +
  1.2035 +
  1.2036 +ac_aux_dir=
  1.2037 +for ac_dir in $srcdir/build-scripts; do
  1.2038 +  if test -f "$ac_dir/install-sh"; then
  1.2039 +    ac_aux_dir=$ac_dir
  1.2040 +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1.2041 +    break
  1.2042 +  elif test -f "$ac_dir/install.sh"; then
  1.2043 +    ac_aux_dir=$ac_dir
  1.2044 +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1.2045 +    break
  1.2046 +  elif test -f "$ac_dir/shtool"; then
  1.2047 +    ac_aux_dir=$ac_dir
  1.2048 +    ac_install_sh="$ac_aux_dir/shtool install -c"
  1.2049 +    break
  1.2050 +  fi
  1.2051 +done
  1.2052 +if test -z "$ac_aux_dir"; then
  1.2053 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&5
  1.2054 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&2;}
  1.2055 +   { (exit 1); exit 1; }; }
  1.2056 +fi
  1.2057 +
  1.2058 +# These three variables are undocumented and unsupported,
  1.2059 +# and are intended to be withdrawn in a future Autoconf release.
  1.2060 +# They can cause serious problems if a builder's source tree is in a directory
  1.2061 +# whose full name contains unusual characters.
  1.2062 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1.2063 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1.2064 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1.2065 +
  1.2066 +
  1.2067 +
  1.2068 +orig_CFLAGS="$CFLAGS"
  1.2069 +
  1.2070 +#
  1.2071 +# Making releases:
  1.2072 +# Edit include/SDL/SDL_version.h and change the version, then:
  1.2073 +#   SDL_MICRO_VERSION += 1;
  1.2074 +#   SDL_INTERFACE_AGE += 1;
  1.2075 +#   SDL_BINARY_AGE += 1;
  1.2076 +# if any functions have been added, set SDL_INTERFACE_AGE to 0.
  1.2077 +# if backwards compatibility has been broken,
  1.2078 +# set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
  1.2079 +#
  1.2080 +SDL_MAJOR_VERSION=1
  1.2081 +SDL_MINOR_VERSION=3
  1.2082 +SDL_MICRO_VERSION=0
  1.2083 +SDL_INTERFACE_AGE=0
  1.2084 +SDL_BINARY_AGE=0
  1.2085 +SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
  1.2086 +
  1.2087 +
  1.2088 +
  1.2089 +
  1.2090 +
  1.2091 +
  1.2092 +
  1.2093 +
  1.2094 +# libtool versioning
  1.2095 +case `pwd` in
  1.2096 +  *\ * | *\	*)
  1.2097 +    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  1.2098 +echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  1.2099 +esac
  1.2100 +
  1.2101 +
  1.2102 +
  1.2103 +macro_version='2.2.6'
  1.2104 +macro_revision='1.3012'
  1.2105 +
  1.2106 +
  1.2107 +
  1.2108 +
  1.2109 +
  1.2110 +
  1.2111 +
  1.2112 +
  1.2113 +
  1.2114 +
  1.2115 +
  1.2116 +
  1.2117 +
  1.2118 +ltmain="$ac_aux_dir/ltmain.sh"
  1.2119 +
  1.2120 +# Make sure we can run config.sub.
  1.2121 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1.2122 +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1.2123 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1.2124 +   { (exit 1); exit 1; }; }
  1.2125 +
  1.2126 +{ echo "$as_me:$LINENO: checking build system type" >&5
  1.2127 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1.2128 +if test "${ac_cv_build+set}" = set; then
  1.2129 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2130 +else
  1.2131 +  ac_build_alias=$build_alias
  1.2132 +test "x$ac_build_alias" = x &&
  1.2133 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1.2134 +test "x$ac_build_alias" = x &&
  1.2135 +  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1.2136 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1.2137 +   { (exit 1); exit 1; }; }
  1.2138 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1.2139 +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1.2140 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1.2141 +   { (exit 1); exit 1; }; }
  1.2142 +
  1.2143 +fi
  1.2144 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1.2145 +echo "${ECHO_T}$ac_cv_build" >&6; }
  1.2146 +case $ac_cv_build in
  1.2147 +*-*-*) ;;
  1.2148 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1.2149 +echo "$as_me: error: invalid value of canonical build" >&2;}
  1.2150 +   { (exit 1); exit 1; }; };;
  1.2151 +esac
  1.2152 +build=$ac_cv_build
  1.2153 +ac_save_IFS=$IFS; IFS='-'
  1.2154 +set x $ac_cv_build
  1.2155 +shift
  1.2156 +build_cpu=$1
  1.2157 +build_vendor=$2
  1.2158 +shift; shift
  1.2159 +# Remember, the first character of IFS is used to create $*,
  1.2160 +# except with old shells:
  1.2161 +build_os=$*
  1.2162 +IFS=$ac_save_IFS
  1.2163 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1.2164 +
  1.2165 +
  1.2166 +{ echo "$as_me:$LINENO: checking host system type" >&5
  1.2167 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  1.2168 +if test "${ac_cv_host+set}" = set; then
  1.2169 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2170 +else
  1.2171 +  if test "x$host_alias" = x; then
  1.2172 +  ac_cv_host=$ac_cv_build
  1.2173 +else
  1.2174 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1.2175 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  1.2176 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1.2177 +   { (exit 1); exit 1; }; }
  1.2178 +fi
  1.2179 +
  1.2180 +fi
  1.2181 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1.2182 +echo "${ECHO_T}$ac_cv_host" >&6; }
  1.2183 +case $ac_cv_host in
  1.2184 +*-*-*) ;;
  1.2185 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  1.2186 +echo "$as_me: error: invalid value of canonical host" >&2;}
  1.2187 +   { (exit 1); exit 1; }; };;
  1.2188 +esac
  1.2189 +host=$ac_cv_host
  1.2190 +ac_save_IFS=$IFS; IFS='-'
  1.2191 +set x $ac_cv_host
  1.2192 +shift
  1.2193 +host_cpu=$1
  1.2194 +host_vendor=$2
  1.2195 +shift; shift
  1.2196 +# Remember, the first character of IFS is used to create $*,
  1.2197 +# except with old shells:
  1.2198 +host_os=$*
  1.2199 +IFS=$ac_save_IFS
  1.2200 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1.2201 +
  1.2202 +
  1.2203 +ac_ext=c
  1.2204 +ac_cpp='$CPP $CPPFLAGS'
  1.2205 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2206 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2207 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.2208 +if test -n "$ac_tool_prefix"; then
  1.2209 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1.2210 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1.2211 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2212 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2213 +if test "${ac_cv_prog_CC+set}" = set; then
  1.2214 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2215 +else
  1.2216 +  if test -n "$CC"; then
  1.2217 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2218 +else
  1.2219 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2220 +for as_dir in $PATH
  1.2221 +do
  1.2222 +  IFS=$as_save_IFS
  1.2223 +  test -z "$as_dir" && as_dir=.
  1.2224 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2225 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2226 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1.2227 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2228 +    break 2
  1.2229 +  fi
  1.2230 +done
  1.2231 +done
  1.2232 +IFS=$as_save_IFS
  1.2233 +
  1.2234 +fi
  1.2235 +fi
  1.2236 +CC=$ac_cv_prog_CC
  1.2237 +if test -n "$CC"; then
  1.2238 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2239 +echo "${ECHO_T}$CC" >&6; }
  1.2240 +else
  1.2241 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2242 +echo "${ECHO_T}no" >&6; }
  1.2243 +fi
  1.2244 +
  1.2245 +
  1.2246 +fi
  1.2247 +if test -z "$ac_cv_prog_CC"; then
  1.2248 +  ac_ct_CC=$CC
  1.2249 +  # Extract the first word of "gcc", so it can be a program name with args.
  1.2250 +set dummy gcc; ac_word=$2
  1.2251 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2252 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2253 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.2254 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2255 +else
  1.2256 +  if test -n "$ac_ct_CC"; then
  1.2257 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.2258 +else
  1.2259 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2260 +for as_dir in $PATH
  1.2261 +do
  1.2262 +  IFS=$as_save_IFS
  1.2263 +  test -z "$as_dir" && as_dir=.
  1.2264 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2265 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2266 +    ac_cv_prog_ac_ct_CC="gcc"
  1.2267 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2268 +    break 2
  1.2269 +  fi
  1.2270 +done
  1.2271 +done
  1.2272 +IFS=$as_save_IFS
  1.2273 +
  1.2274 +fi
  1.2275 +fi
  1.2276 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.2277 +if test -n "$ac_ct_CC"; then
  1.2278 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.2279 +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.2280 +else
  1.2281 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2282 +echo "${ECHO_T}no" >&6; }
  1.2283 +fi
  1.2284 +
  1.2285 +  if test "x$ac_ct_CC" = x; then
  1.2286 +    CC=""
  1.2287 +  else
  1.2288 +    case $cross_compiling:$ac_tool_warned in
  1.2289 +yes:)
  1.2290 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.2291 +whose name does not start with the host triplet.  If you think this
  1.2292 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.2293 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.2294 +whose name does not start with the host triplet.  If you think this
  1.2295 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.2296 +ac_tool_warned=yes ;;
  1.2297 +esac
  1.2298 +    CC=$ac_ct_CC
  1.2299 +  fi
  1.2300 +else
  1.2301 +  CC="$ac_cv_prog_CC"
  1.2302 +fi
  1.2303 +
  1.2304 +if test -z "$CC"; then
  1.2305 +          if test -n "$ac_tool_prefix"; then
  1.2306 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1.2307 +set dummy ${ac_tool_prefix}cc; ac_word=$2
  1.2308 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2309 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2310 +if test "${ac_cv_prog_CC+set}" = set; then
  1.2311 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2312 +else
  1.2313 +  if test -n "$CC"; then
  1.2314 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2315 +else
  1.2316 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2317 +for as_dir in $PATH
  1.2318 +do
  1.2319 +  IFS=$as_save_IFS
  1.2320 +  test -z "$as_dir" && as_dir=.
  1.2321 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2322 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2323 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
  1.2324 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2325 +    break 2
  1.2326 +  fi
  1.2327 +done
  1.2328 +done
  1.2329 +IFS=$as_save_IFS
  1.2330 +
  1.2331 +fi
  1.2332 +fi
  1.2333 +CC=$ac_cv_prog_CC
  1.2334 +if test -n "$CC"; then
  1.2335 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2336 +echo "${ECHO_T}$CC" >&6; }
  1.2337 +else
  1.2338 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2339 +echo "${ECHO_T}no" >&6; }
  1.2340 +fi
  1.2341 +
  1.2342 +
  1.2343 +  fi
  1.2344 +fi
  1.2345 +if test -z "$CC"; then
  1.2346 +  # Extract the first word of "cc", so it can be a program name with args.
  1.2347 +set dummy cc; ac_word=$2
  1.2348 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2349 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2350 +if test "${ac_cv_prog_CC+set}" = set; then
  1.2351 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2352 +else
  1.2353 +  if test -n "$CC"; then
  1.2354 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2355 +else
  1.2356 +  ac_prog_rejected=no
  1.2357 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2358 +for as_dir in $PATH
  1.2359 +do
  1.2360 +  IFS=$as_save_IFS
  1.2361 +  test -z "$as_dir" && as_dir=.
  1.2362 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2363 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2364 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1.2365 +       ac_prog_rejected=yes
  1.2366 +       continue
  1.2367 +     fi
  1.2368 +    ac_cv_prog_CC="cc"
  1.2369 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2370 +    break 2
  1.2371 +  fi
  1.2372 +done
  1.2373 +done
  1.2374 +IFS=$as_save_IFS
  1.2375 +
  1.2376 +if test $ac_prog_rejected = yes; then
  1.2377 +  # We found a bogon in the path, so make sure we never use it.
  1.2378 +  set dummy $ac_cv_prog_CC
  1.2379 +  shift
  1.2380 +  if test $# != 0; then
  1.2381 +    # We chose a different compiler from the bogus one.
  1.2382 +    # However, it has the same basename, so the bogon will be chosen
  1.2383 +    # first if we set CC to just the basename; use the full file name.
  1.2384 +    shift
  1.2385 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1.2386 +  fi
  1.2387 +fi
  1.2388 +fi
  1.2389 +fi
  1.2390 +CC=$ac_cv_prog_CC
  1.2391 +if test -n "$CC"; then
  1.2392 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2393 +echo "${ECHO_T}$CC" >&6; }
  1.2394 +else
  1.2395 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2396 +echo "${ECHO_T}no" >&6; }
  1.2397 +fi
  1.2398 +
  1.2399 +
  1.2400 +fi
  1.2401 +if test -z "$CC"; then
  1.2402 +  if test -n "$ac_tool_prefix"; then
  1.2403 +  for ac_prog in cl.exe
  1.2404 +  do
  1.2405 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.2406 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.2407 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2408 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2409 +if test "${ac_cv_prog_CC+set}" = set; then
  1.2410 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2411 +else
  1.2412 +  if test -n "$CC"; then
  1.2413 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2414 +else
  1.2415 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2416 +for as_dir in $PATH
  1.2417 +do
  1.2418 +  IFS=$as_save_IFS
  1.2419 +  test -z "$as_dir" && as_dir=.
  1.2420 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2421 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2422 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1.2423 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2424 +    break 2
  1.2425 +  fi
  1.2426 +done
  1.2427 +done
  1.2428 +IFS=$as_save_IFS
  1.2429 +
  1.2430 +fi
  1.2431 +fi
  1.2432 +CC=$ac_cv_prog_CC
  1.2433 +if test -n "$CC"; then
  1.2434 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2435 +echo "${ECHO_T}$CC" >&6; }
  1.2436 +else
  1.2437 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2438 +echo "${ECHO_T}no" >&6; }
  1.2439 +fi
  1.2440 +
  1.2441 +
  1.2442 +    test -n "$CC" && break
  1.2443 +  done
  1.2444 +fi
  1.2445 +if test -z "$CC"; then
  1.2446 +  ac_ct_CC=$CC
  1.2447 +  for ac_prog in cl.exe
  1.2448 +do
  1.2449 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.2450 +set dummy $ac_prog; ac_word=$2
  1.2451 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2452 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2453 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.2454 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2455 +else
  1.2456 +  if test -n "$ac_ct_CC"; then
  1.2457 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.2458 +else
  1.2459 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2460 +for as_dir in $PATH
  1.2461 +do
  1.2462 +  IFS=$as_save_IFS
  1.2463 +  test -z "$as_dir" && as_dir=.
  1.2464 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2465 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2466 +    ac_cv_prog_ac_ct_CC="$ac_prog"
  1.2467 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2468 +    break 2
  1.2469 +  fi
  1.2470 +done
  1.2471 +done
  1.2472 +IFS=$as_save_IFS
  1.2473 +
  1.2474 +fi
  1.2475 +fi
  1.2476 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.2477 +if test -n "$ac_ct_CC"; then
  1.2478 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.2479 +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.2480 +else
  1.2481 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2482 +echo "${ECHO_T}no" >&6; }
  1.2483 +fi
  1.2484 +
  1.2485 +
  1.2486 +  test -n "$ac_ct_CC" && break
  1.2487 +done
  1.2488 +
  1.2489 +  if test "x$ac_ct_CC" = x; then
  1.2490 +    CC=""
  1.2491 +  else
  1.2492 +    case $cross_compiling:$ac_tool_warned in
  1.2493 +yes:)
  1.2494 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.2495 +whose name does not start with the host triplet.  If you think this
  1.2496 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.2497 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.2498 +whose name does not start with the host triplet.  If you think this
  1.2499 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.2500 +ac_tool_warned=yes ;;
  1.2501 +esac
  1.2502 +    CC=$ac_ct_CC
  1.2503 +  fi
  1.2504 +fi
  1.2505 +
  1.2506 +fi
  1.2507 +
  1.2508 +
  1.2509 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1.2510 +See \`config.log' for more details." >&5
  1.2511 +echo "$as_me: error: no acceptable C compiler found in \$PATH
  1.2512 +See \`config.log' for more details." >&2;}
  1.2513 +   { (exit 1); exit 1; }; }
  1.2514 +
  1.2515 +# Provide some information about the compiler.
  1.2516 +echo "$as_me:$LINENO: checking for C compiler version" >&5
  1.2517 +ac_compiler=`set X $ac_compile; echo $2`
  1.2518 +{ (ac_try="$ac_compiler --version >&5"
  1.2519 +case "(($ac_try" in
  1.2520 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2521 +  *) ac_try_echo=$ac_try;;
  1.2522 +esac
  1.2523 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2524 +  (eval "$ac_compiler --version >&5") 2>&5
  1.2525 +  ac_status=$?
  1.2526 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2527 +  (exit $ac_status); }
  1.2528 +{ (ac_try="$ac_compiler -v >&5"
  1.2529 +case "(($ac_try" in
  1.2530 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2531 +  *) ac_try_echo=$ac_try;;
  1.2532 +esac
  1.2533 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2534 +  (eval "$ac_compiler -v >&5") 2>&5
  1.2535 +  ac_status=$?
  1.2536 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2537 +  (exit $ac_status); }
  1.2538 +{ (ac_try="$ac_compiler -V >&5"
  1.2539 +case "(($ac_try" in
  1.2540 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2541 +  *) ac_try_echo=$ac_try;;
  1.2542 +esac
  1.2543 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2544 +  (eval "$ac_compiler -V >&5") 2>&5
  1.2545 +  ac_status=$?
  1.2546 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2547 +  (exit $ac_status); }
  1.2548 +
  1.2549 +cat >conftest.$ac_ext <<_ACEOF
  1.2550 +/* confdefs.h.  */
  1.2551 +_ACEOF
  1.2552 +cat confdefs.h >>conftest.$ac_ext
  1.2553 +cat >>conftest.$ac_ext <<_ACEOF
  1.2554 +/* end confdefs.h.  */
  1.2555 +
  1.2556 +int
  1.2557 +main ()
  1.2558 +{
  1.2559 +
  1.2560 +  ;
  1.2561 +  return 0;
  1.2562 +}
  1.2563 +_ACEOF
  1.2564 +ac_clean_files_save=$ac_clean_files
  1.2565 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1.2566 +# Try to create an executable without -o first, disregard a.out.
  1.2567 +# It will help us diagnose broken compilers, and finding out an intuition
  1.2568 +# of exeext.
  1.2569 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  1.2570 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  1.2571 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.2572 +#
  1.2573 +# List of possible output files, starting from the most likely.
  1.2574 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  1.2575 +# only as a last resort.  b.out is created by i960 compilers.
  1.2576 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  1.2577 +#
  1.2578 +# The IRIX 6 linker writes into existing files which may not be
  1.2579 +# executable, retaining their permissions.  Remove them first so a
  1.2580 +# subsequent execution test works.
  1.2581 +ac_rmfiles=
  1.2582 +for ac_file in $ac_files
  1.2583 +do
  1.2584 +  case $ac_file in
  1.2585 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2586 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1.2587 +  esac
  1.2588 +done
  1.2589 +rm -f $ac_rmfiles
  1.2590 +
  1.2591 +if { (ac_try="$ac_link_default"
  1.2592 +case "(($ac_try" in
  1.2593 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2594 +  *) ac_try_echo=$ac_try;;
  1.2595 +esac
  1.2596 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2597 +  (eval "$ac_link_default") 2>&5
  1.2598 +  ac_status=$?
  1.2599 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2600 +  (exit $ac_status); }; then
  1.2601 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1.2602 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1.2603 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
  1.2604 +# so that the user can short-circuit this test for compilers unknown to
  1.2605 +# Autoconf.
  1.2606 +for ac_file in $ac_files ''
  1.2607 +do
  1.2608 +  test -f "$ac_file" || continue
  1.2609 +  case $ac_file in
  1.2610 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  1.2611 +	;;
  1.2612 +    [ab].out )
  1.2613 +	# We found the default executable, but exeext='' is most
  1.2614 +	# certainly right.
  1.2615 +	break;;
  1.2616 +    *.* )
  1.2617 +        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.2618 +	then :; else
  1.2619 +	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2620 +	fi
  1.2621 +	# We set ac_cv_exeext here because the later test for it is not
  1.2622 +	# safe: cross compilers may not add the suffix if given an `-o'
  1.2623 +	# argument, so we may need to know it at that point already.
  1.2624 +	# Even if this section looks crufty: it has the advantage of
  1.2625 +	# actually working.
  1.2626 +	break;;
  1.2627 +    * )
  1.2628 +	break;;
  1.2629 +  esac
  1.2630 +done
  1.2631 +test "$ac_cv_exeext" = no && ac_cv_exeext=
  1.2632 +
  1.2633 +else
  1.2634 +  ac_file=''
  1.2635 +fi
  1.2636 +
  1.2637 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  1.2638 +echo "${ECHO_T}$ac_file" >&6; }
  1.2639 +if test -z "$ac_file"; then
  1.2640 +  echo "$as_me: failed program was:" >&5
  1.2641 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2642 +
  1.2643 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1.2644 +See \`config.log' for more details." >&5
  1.2645 +echo "$as_me: error: C compiler cannot create executables
  1.2646 +See \`config.log' for more details." >&2;}
  1.2647 +   { (exit 77); exit 77; }; }
  1.2648 +fi
  1.2649 +
  1.2650 +ac_exeext=$ac_cv_exeext
  1.2651 +
  1.2652 +# Check that the compiler produces executables we can run.  If not, either
  1.2653 +# the compiler is broken, or we cross compile.
  1.2654 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1.2655 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  1.2656 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1.2657 +# If not cross compiling, check that we can run a simple program.
  1.2658 +if test "$cross_compiling" != yes; then
  1.2659 +  if { ac_try='./$ac_file'
  1.2660 +  { (case "(($ac_try" in
  1.2661 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2662 +  *) ac_try_echo=$ac_try;;
  1.2663 +esac
  1.2664 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2665 +  (eval "$ac_try") 2>&5
  1.2666 +  ac_status=$?
  1.2667 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2668 +  (exit $ac_status); }; }; then
  1.2669 +    cross_compiling=no
  1.2670 +  else
  1.2671 +    if test "$cross_compiling" = maybe; then
  1.2672 +	cross_compiling=yes
  1.2673 +    else
  1.2674 +	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1.2675 +If you meant to cross compile, use \`--host'.
  1.2676 +See \`config.log' for more details." >&5
  1.2677 +echo "$as_me: error: cannot run C compiled programs.
  1.2678 +If you meant to cross compile, use \`--host'.
  1.2679 +See \`config.log' for more details." >&2;}
  1.2680 +   { (exit 1); exit 1; }; }
  1.2681 +    fi
  1.2682 +  fi
  1.2683 +fi
  1.2684 +{ echo "$as_me:$LINENO: result: yes" >&5
  1.2685 +echo "${ECHO_T}yes" >&6; }
  1.2686 +
  1.2687 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1.2688 +ac_clean_files=$ac_clean_files_save
  1.2689 +# Check that the compiler produces executables we can run.  If not, either
  1.2690 +# the compiler is broken, or we cross compile.
  1.2691 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1.2692 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  1.2693 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1.2694 +echo "${ECHO_T}$cross_compiling" >&6; }
  1.2695 +
  1.2696 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1.2697 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  1.2698 +if { (ac_try="$ac_link"
  1.2699 +case "(($ac_try" in
  1.2700 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2701 +  *) ac_try_echo=$ac_try;;
  1.2702 +esac
  1.2703 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2704 +  (eval "$ac_link") 2>&5
  1.2705 +  ac_status=$?
  1.2706 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2707 +  (exit $ac_status); }; then
  1.2708 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1.2709 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1.2710 +# work properly (i.e., refer to `conftest.exe'), while it won't with
  1.2711 +# `rm'.
  1.2712 +for ac_file in conftest.exe conftest conftest.*; do
  1.2713 +  test -f "$ac_file" || continue
  1.2714 +  case $ac_file in
  1.2715 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2716 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2717 +	  break;;
  1.2718 +    * ) break;;
  1.2719 +  esac
  1.2720 +done
  1.2721 +else
  1.2722 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1.2723 +See \`config.log' for more details." >&5
  1.2724 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1.2725 +See \`config.log' for more details." >&2;}
  1.2726 +   { (exit 1); exit 1; }; }
  1.2727 +fi
  1.2728 +
  1.2729 +rm -f conftest$ac_cv_exeext
  1.2730 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1.2731 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  1.2732 +
  1.2733 +rm -f conftest.$ac_ext
  1.2734 +EXEEXT=$ac_cv_exeext
  1.2735 +ac_exeext=$EXEEXT
  1.2736 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1.2737 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  1.2738 +if test "${ac_cv_objext+set}" = set; then
  1.2739 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2740 +else
  1.2741 +  cat >conftest.$ac_ext <<_ACEOF
  1.2742 +/* confdefs.h.  */
  1.2743 +_ACEOF
  1.2744 +cat confdefs.h >>conftest.$ac_ext
  1.2745 +cat >>conftest.$ac_ext <<_ACEOF
  1.2746 +/* end confdefs.h.  */
  1.2747 +
  1.2748 +int
  1.2749 +main ()
  1.2750 +{
  1.2751 +
  1.2752 +  ;
  1.2753 +  return 0;
  1.2754 +}
  1.2755 +_ACEOF
  1.2756 +rm -f conftest.o conftest.obj
  1.2757 +if { (ac_try="$ac_compile"
  1.2758 +case "(($ac_try" in
  1.2759 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2760 +  *) ac_try_echo=$ac_try;;
  1.2761 +esac
  1.2762 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2763 +  (eval "$ac_compile") 2>&5
  1.2764 +  ac_status=$?
  1.2765 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2766 +  (exit $ac_status); }; then
  1.2767 +  for ac_file in conftest.o conftest.obj conftest.*; do
  1.2768 +  test -f "$ac_file" || continue;
  1.2769 +  case $ac_file in
  1.2770 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  1.2771 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1.2772 +       break;;
  1.2773 +  esac
  1.2774 +done
  1.2775 +else
  1.2776 +  echo "$as_me: failed program was:" >&5
  1.2777 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2778 +
  1.2779 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1.2780 +See \`config.log' for more details." >&5
  1.2781 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1.2782 +See \`config.log' for more details." >&2;}
  1.2783 +   { (exit 1); exit 1; }; }
  1.2784 +fi
  1.2785 +
  1.2786 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1.2787 +fi
  1.2788 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1.2789 +echo "${ECHO_T}$ac_cv_objext" >&6; }
  1.2790 +OBJEXT=$ac_cv_objext
  1.2791 +ac_objext=$OBJEXT
  1.2792 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1.2793 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  1.2794 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1.2795 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2796 +else
  1.2797 +  cat >conftest.$ac_ext <<_ACEOF
  1.2798 +/* confdefs.h.  */
  1.2799 +_ACEOF
  1.2800 +cat confdefs.h >>conftest.$ac_ext
  1.2801 +cat >>conftest.$ac_ext <<_ACEOF
  1.2802 +/* end confdefs.h.  */
  1.2803 +
  1.2804 +int
  1.2805 +main ()
  1.2806 +{
  1.2807 +#ifndef __GNUC__
  1.2808 +       choke me
  1.2809 +#endif
  1.2810 +
  1.2811 +  ;
  1.2812 +  return 0;
  1.2813 +}
  1.2814 +_ACEOF
  1.2815 +rm -f conftest.$ac_objext
  1.2816 +if { (ac_try="$ac_compile"
  1.2817 +case "(($ac_try" in
  1.2818 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2819 +  *) ac_try_echo=$ac_try;;
  1.2820 +esac
  1.2821 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2822 +  (eval "$ac_compile") 2>conftest.er1
  1.2823 +  ac_status=$?
  1.2824 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2825 +  rm -f conftest.er1
  1.2826 +  cat conftest.err >&5
  1.2827 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2828 +  (exit $ac_status); } && {
  1.2829 +	 test -z "$ac_c_werror_flag" ||
  1.2830 +	 test ! -s conftest.err
  1.2831 +       } && test -s conftest.$ac_objext; then
  1.2832 +  ac_compiler_gnu=yes
  1.2833 +else
  1.2834 +  echo "$as_me: failed program was:" >&5
  1.2835 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2836 +
  1.2837 +	ac_compiler_gnu=no
  1.2838 +fi
  1.2839 +
  1.2840 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2841 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1.2842 +
  1.2843 +fi
  1.2844 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1.2845 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  1.2846 +GCC=`test $ac_compiler_gnu = yes && echo yes`
  1.2847 +ac_test_CFLAGS=${CFLAGS+set}
  1.2848 +ac_save_CFLAGS=$CFLAGS
  1.2849 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1.2850 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  1.2851 +if test "${ac_cv_prog_cc_g+set}" = set; then
  1.2852 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2853 +else
  1.2854 +  ac_save_c_werror_flag=$ac_c_werror_flag
  1.2855 +   ac_c_werror_flag=yes
  1.2856 +   ac_cv_prog_cc_g=no
  1.2857 +   CFLAGS="-g"
  1.2858 +   cat >conftest.$ac_ext <<_ACEOF
  1.2859 +/* confdefs.h.  */
  1.2860 +_ACEOF
  1.2861 +cat confdefs.h >>conftest.$ac_ext
  1.2862 +cat >>conftest.$ac_ext <<_ACEOF
  1.2863 +/* end confdefs.h.  */
  1.2864 +
  1.2865 +int
  1.2866 +main ()
  1.2867 +{
  1.2868 +
  1.2869 +  ;
  1.2870 +  return 0;
  1.2871 +}
  1.2872 +_ACEOF
  1.2873 +rm -f conftest.$ac_objext
  1.2874 +if { (ac_try="$ac_compile"
  1.2875 +case "(($ac_try" in
  1.2876 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2877 +  *) ac_try_echo=$ac_try;;
  1.2878 +esac
  1.2879 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2880 +  (eval "$ac_compile") 2>conftest.er1
  1.2881 +  ac_status=$?
  1.2882 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2883 +  rm -f conftest.er1
  1.2884 +  cat conftest.err >&5
  1.2885 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2886 +  (exit $ac_status); } && {
  1.2887 +	 test -z "$ac_c_werror_flag" ||
  1.2888 +	 test ! -s conftest.err
  1.2889 +       } && test -s conftest.$ac_objext; then
  1.2890 +  ac_cv_prog_cc_g=yes
  1.2891 +else
  1.2892 +  echo "$as_me: failed program was:" >&5
  1.2893 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2894 +
  1.2895 +	CFLAGS=""
  1.2896 +      cat >conftest.$ac_ext <<_ACEOF
  1.2897 +/* confdefs.h.  */
  1.2898 +_ACEOF
  1.2899 +cat confdefs.h >>conftest.$ac_ext
  1.2900 +cat >>conftest.$ac_ext <<_ACEOF
  1.2901 +/* end confdefs.h.  */
  1.2902 +
  1.2903 +int
  1.2904 +main ()
  1.2905 +{
  1.2906 +
  1.2907 +  ;
  1.2908 +  return 0;
  1.2909 +}
  1.2910 +_ACEOF
  1.2911 +rm -f conftest.$ac_objext
  1.2912 +if { (ac_try="$ac_compile"
  1.2913 +case "(($ac_try" in
  1.2914 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2915 +  *) ac_try_echo=$ac_try;;
  1.2916 +esac
  1.2917 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2918 +  (eval "$ac_compile") 2>conftest.er1
  1.2919 +  ac_status=$?
  1.2920 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2921 +  rm -f conftest.er1
  1.2922 +  cat conftest.err >&5
  1.2923 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2924 +  (exit $ac_status); } && {
  1.2925 +	 test -z "$ac_c_werror_flag" ||
  1.2926 +	 test ! -s conftest.err
  1.2927 +       } && test -s conftest.$ac_objext; then
  1.2928 +  :
  1.2929 +else
  1.2930 +  echo "$as_me: failed program was:" >&5
  1.2931 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2932 +
  1.2933 +	ac_c_werror_flag=$ac_save_c_werror_flag
  1.2934 +	 CFLAGS="-g"
  1.2935 +	 cat >conftest.$ac_ext <<_ACEOF
  1.2936 +/* confdefs.h.  */
  1.2937 +_ACEOF
  1.2938 +cat confdefs.h >>conftest.$ac_ext
  1.2939 +cat >>conftest.$ac_ext <<_ACEOF
  1.2940 +/* end confdefs.h.  */
  1.2941 +
  1.2942 +int
  1.2943 +main ()
  1.2944 +{
  1.2945 +
  1.2946 +  ;
  1.2947 +  return 0;
  1.2948 +}
  1.2949 +_ACEOF
  1.2950 +rm -f conftest.$ac_objext
  1.2951 +if { (ac_try="$ac_compile"
  1.2952 +case "(($ac_try" in
  1.2953 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2954 +  *) ac_try_echo=$ac_try;;
  1.2955 +esac
  1.2956 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2957 +  (eval "$ac_compile") 2>conftest.er1
  1.2958 +  ac_status=$?
  1.2959 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2960 +  rm -f conftest.er1
  1.2961 +  cat conftest.err >&5
  1.2962 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2963 +  (exit $ac_status); } && {
  1.2964 +	 test -z "$ac_c_werror_flag" ||
  1.2965 +	 test ! -s conftest.err
  1.2966 +       } && test -s conftest.$ac_objext; then
  1.2967 +  ac_cv_prog_cc_g=yes
  1.2968 +else
  1.2969 +  echo "$as_me: failed program was:" >&5
  1.2970 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2971 +
  1.2972 +
  1.2973 +fi
  1.2974 +
  1.2975 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2976 +fi
  1.2977 +
  1.2978 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2979 +fi
  1.2980 +
  1.2981 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2982 +   ac_c_werror_flag=$ac_save_c_werror_flag
  1.2983 +fi
  1.2984 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1.2985 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  1.2986 +if test "$ac_test_CFLAGS" = set; then
  1.2987 +  CFLAGS=$ac_save_CFLAGS
  1.2988 +elif test $ac_cv_prog_cc_g = yes; then
  1.2989 +  if test "$GCC" = yes; then
  1.2990 +    CFLAGS="-g -O2"
  1.2991 +  else
  1.2992 +    CFLAGS="-g"
  1.2993 +  fi
  1.2994 +else
  1.2995 +  if test "$GCC" = yes; then
  1.2996 +    CFLAGS="-O2"
  1.2997 +  else
  1.2998 +    CFLAGS=
  1.2999 +  fi
  1.3000 +fi
  1.3001 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  1.3002 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  1.3003 +if test "${ac_cv_prog_cc_c89+set}" = set; then
  1.3004 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3005 +else
  1.3006 +  ac_cv_prog_cc_c89=no
  1.3007 +ac_save_CC=$CC
  1.3008 +cat >conftest.$ac_ext <<_ACEOF
  1.3009 +/* confdefs.h.  */
  1.3010 +_ACEOF
  1.3011 +cat confdefs.h >>conftest.$ac_ext
  1.3012 +cat >>conftest.$ac_ext <<_ACEOF
  1.3013 +/* end confdefs.h.  */
  1.3014 +#include <stdarg.h>
  1.3015 +#include <stdio.h>
  1.3016 +#include <sys/types.h>
  1.3017 +#include <sys/stat.h>
  1.3018 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1.3019 +struct buf { int x; };
  1.3020 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1.3021 +static char *e (p, i)
  1.3022 +     char **p;
  1.3023 +     int i;
  1.3024 +{
  1.3025 +  return p[i];
  1.3026 +}
  1.3027 +static char *f (char * (*g) (char **, int), char **p, ...)
  1.3028 +{
  1.3029 +  char *s;
  1.3030 +  va_list v;
  1.3031 +  va_start (v,p);
  1.3032 +  s = g (p, va_arg (v,int));
  1.3033 +  va_end (v);
  1.3034 +  return s;
  1.3035 +}
  1.3036 +
  1.3037 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  1.3038 +   function prototypes and stuff, but not '\xHH' hex character constants.
  1.3039 +   These don't provoke an error unfortunately, instead are silently treated
  1.3040 +   as 'x'.  The following induces an error, until -std is added to get
  1.3041 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  1.3042 +   array size at least.  It's necessary to write '\x00'==0 to get something
  1.3043 +   that's true only with -std.  */
  1.3044 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  1.3045 +
  1.3046 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  1.3047 +   inside strings and character constants.  */
  1.3048 +#define FOO(x) 'x'
  1.3049 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  1.3050 +
  1.3051 +int test (int i, double x);
  1.3052 +struct s1 {int (*f) (int a);};
  1.3053 +struct s2 {int (*f) (double a);};
  1.3054 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1.3055 +int argc;
  1.3056 +char **argv;
  1.3057 +int
  1.3058 +main ()
  1.3059 +{
  1.3060 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1.3061 +  ;
  1.3062 +  return 0;
  1.3063 +}
  1.3064 +_ACEOF
  1.3065 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  1.3066 +	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1.3067 +do
  1.3068 +  CC="$ac_save_CC $ac_arg"
  1.3069 +  rm -f conftest.$ac_objext
  1.3070 +if { (ac_try="$ac_compile"
  1.3071 +case "(($ac_try" in
  1.3072 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3073 +  *) ac_try_echo=$ac_try;;
  1.3074 +esac
  1.3075 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3076 +  (eval "$ac_compile") 2>conftest.er1
  1.3077 +  ac_status=$?
  1.3078 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3079 +  rm -f conftest.er1
  1.3080 +  cat conftest.err >&5
  1.3081 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3082 +  (exit $ac_status); } && {
  1.3083 +	 test -z "$ac_c_werror_flag" ||
  1.3084 +	 test ! -s conftest.err
  1.3085 +       } && test -s conftest.$ac_objext; then
  1.3086 +  ac_cv_prog_cc_c89=$ac_arg
  1.3087 +else
  1.3088 +  echo "$as_me: failed program was:" >&5
  1.3089 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3090 +
  1.3091 +
  1.3092 +fi
  1.3093 +
  1.3094 +rm -f core conftest.err conftest.$ac_objext
  1.3095 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
  1.3096 +done
  1.3097 +rm -f conftest.$ac_ext
  1.3098 +CC=$ac_save_CC
  1.3099 +
  1.3100 +fi
  1.3101 +# AC_CACHE_VAL
  1.3102 +case "x$ac_cv_prog_cc_c89" in
  1.3103 +  x)
  1.3104 +    { echo "$as_me:$LINENO: result: none needed" >&5
  1.3105 +echo "${ECHO_T}none needed" >&6; } ;;
  1.3106 +  xno)
  1.3107 +    { echo "$as_me:$LINENO: result: unsupported" >&5
  1.3108 +echo "${ECHO_T}unsupported" >&6; } ;;
  1.3109 +  *)
  1.3110 +    CC="$CC $ac_cv_prog_cc_c89"
  1.3111 +    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  1.3112 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  1.3113 +esac
  1.3114 +
  1.3115 +
  1.3116 +ac_ext=c
  1.3117 +ac_cpp='$CPP $CPPFLAGS'
  1.3118 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3119 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3120 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3121 +
  1.3122 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  1.3123 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  1.3124 +if test "${ac_cv_path_SED+set}" = set; then
  1.3125 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3126 +else
  1.3127 +            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  1.3128 +     for ac_i in 1 2 3 4 5 6 7; do
  1.3129 +       ac_script="$ac_script$as_nl$ac_script"
  1.3130 +     done
  1.3131 +     echo "$ac_script" | sed 99q >conftest.sed
  1.3132 +     $as_unset ac_script || ac_script=
  1.3133 +     # Extract the first word of "sed gsed" to use in msg output
  1.3134 +if test -z "$SED"; then
  1.3135 +set dummy sed gsed; ac_prog_name=$2
  1.3136 +if test "${ac_cv_path_SED+set}" = set; then
  1.3137 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3138 +else
  1.3139 +  ac_path_SED_found=false
  1.3140 +# Loop through the user's path and test for each of PROGNAME-LIST
  1.3141 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3142 +for as_dir in $PATH
  1.3143 +do
  1.3144 +  IFS=$as_save_IFS
  1.3145 +  test -z "$as_dir" && as_dir=.
  1.3146 +  for ac_prog in sed gsed; do
  1.3147 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3148 +    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  1.3149 +    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  1.3150 +    # Check for GNU ac_path_SED and select it if it is found.
  1.3151 +  # Check for GNU $ac_path_SED
  1.3152 +case `"$ac_path_SED" --version 2>&1` in
  1.3153 +*GNU*)
  1.3154 +  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  1.3155 +*)
  1.3156 +  ac_count=0
  1.3157 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.3158 +  while :
  1.3159 +  do
  1.3160 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.3161 +    mv "conftest.tmp" "conftest.in"
  1.3162 +    cp "conftest.in" "conftest.nl"
  1.3163 +    echo '' >> "conftest.nl"
  1.3164 +    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.3165 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.3166 +    ac_count=`expr $ac_count + 1`
  1.3167 +    if test $ac_count -gt ${ac_path_SED_max-0}; then
  1.3168 +      # Best one so far, save it but keep looking for a better one
  1.3169 +      ac_cv_path_SED="$ac_path_SED"
  1.3170 +      ac_path_SED_max=$ac_count
  1.3171 +    fi
  1.3172 +    # 10*(2^10) chars as input seems more than enough
  1.3173 +    test $ac_count -gt 10 && break
  1.3174 +  done
  1.3175 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.3176 +esac
  1.3177 +
  1.3178 +
  1.3179 +    $ac_path_SED_found && break 3
  1.3180 +  done
  1.3181 +done
  1.3182 +
  1.3183 +done
  1.3184 +IFS=$as_save_IFS
  1.3185 +
  1.3186 +
  1.3187 +fi
  1.3188 +
  1.3189 +SED="$ac_cv_path_SED"
  1.3190 +if test -z "$SED"; then
  1.3191 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
  1.3192 +echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
  1.3193 +   { (exit 1); exit 1; }; }
  1.3194 +fi
  1.3195 +
  1.3196 +else
  1.3197 +  ac_cv_path_SED=$SED
  1.3198 +fi
  1.3199 +
  1.3200 +fi
  1.3201 +{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  1.3202 +echo "${ECHO_T}$ac_cv_path_SED" >&6; }
  1.3203 + SED="$ac_cv_path_SED"
  1.3204 +  rm -f conftest.sed
  1.3205 +
  1.3206 +test -z "$SED" && SED=sed
  1.3207 +Xsed="$SED -e 1s/^X//"
  1.3208 +
  1.3209 +
  1.3210 +
  1.3211 +
  1.3212 +
  1.3213 +
  1.3214 +
  1.3215 +
  1.3216 +
  1.3217 +
  1.3218 +
  1.3219 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  1.3220 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  1.3221 +if test "${ac_cv_path_GREP+set}" = set; then
  1.3222 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3223 +else
  1.3224 +  # Extract the first word of "grep ggrep" to use in msg output
  1.3225 +if test -z "$GREP"; then
  1.3226 +set dummy grep ggrep; ac_prog_name=$2
  1.3227 +if test "${ac_cv_path_GREP+set}" = set; then
  1.3228 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3229 +else
  1.3230 +  ac_path_GREP_found=false
  1.3231 +# Loop through the user's path and test for each of PROGNAME-LIST
  1.3232 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3233 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.3234 +do
  1.3235 +  IFS=$as_save_IFS
  1.3236 +  test -z "$as_dir" && as_dir=.
  1.3237 +  for ac_prog in grep ggrep; do
  1.3238 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3239 +    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  1.3240 +    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  1.3241 +    # Check for GNU ac_path_GREP and select it if it is found.
  1.3242 +  # Check for GNU $ac_path_GREP
  1.3243 +case `"$ac_path_GREP" --version 2>&1` in
  1.3244 +*GNU*)
  1.3245 +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  1.3246 +*)
  1.3247 +  ac_count=0
  1.3248 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.3249 +  while :
  1.3250 +  do
  1.3251 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.3252 +    mv "conftest.tmp" "conftest.in"
  1.3253 +    cp "conftest.in" "conftest.nl"
  1.3254 +    echo 'GREP' >> "conftest.nl"
  1.3255 +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.3256 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.3257 +    ac_count=`expr $ac_count + 1`
  1.3258 +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
  1.3259 +      # Best one so far, save it but keep looking for a better one
  1.3260 +      ac_cv_path_GREP="$ac_path_GREP"
  1.3261 +      ac_path_GREP_max=$ac_count
  1.3262 +    fi
  1.3263 +    # 10*(2^10) chars as input seems more than enough
  1.3264 +    test $ac_count -gt 10 && break
  1.3265 +  done
  1.3266 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.3267 +esac
  1.3268 +
  1.3269 +
  1.3270 +    $ac_path_GREP_found && break 3
  1.3271 +  done
  1.3272 +done
  1.3273 +
  1.3274 +done
  1.3275 +IFS=$as_save_IFS
  1.3276 +
  1.3277 +
  1.3278 +fi
  1.3279 +
  1.3280 +GREP="$ac_cv_path_GREP"
  1.3281 +if test -z "$GREP"; then
  1.3282 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.3283 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.3284 +   { (exit 1); exit 1; }; }
  1.3285 +fi
  1.3286 +
  1.3287 +else
  1.3288 +  ac_cv_path_GREP=$GREP
  1.3289 +fi
  1.3290 +
  1.3291 +
  1.3292 +fi
  1.3293 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  1.3294 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  1.3295 + GREP="$ac_cv_path_GREP"
  1.3296 +
  1.3297 +
  1.3298 +{ echo "$as_me:$LINENO: checking for egrep" >&5
  1.3299 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  1.3300 +if test "${ac_cv_path_EGREP+set}" = set; then
  1.3301 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3302 +else
  1.3303 +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  1.3304 +   then ac_cv_path_EGREP="$GREP -E"
  1.3305 +   else
  1.3306 +     # Extract the first word of "egrep" to use in msg output
  1.3307 +if test -z "$EGREP"; then
  1.3308 +set dummy egrep; ac_prog_name=$2
  1.3309 +if test "${ac_cv_path_EGREP+set}" = set; then
  1.3310 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3311 +else
  1.3312 +  ac_path_EGREP_found=false
  1.3313 +# Loop through the user's path and test for each of PROGNAME-LIST
  1.3314 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3315 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.3316 +do
  1.3317 +  IFS=$as_save_IFS
  1.3318 +  test -z "$as_dir" && as_dir=.
  1.3319 +  for ac_prog in egrep; do
  1.3320 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3321 +    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.3322 +    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  1.3323 +    # Check for GNU ac_path_EGREP and select it if it is found.
  1.3324 +  # Check for GNU $ac_path_EGREP
  1.3325 +case `"$ac_path_EGREP" --version 2>&1` in
  1.3326 +*GNU*)
  1.3327 +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  1.3328 +*)
  1.3329 +  ac_count=0
  1.3330 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.3331 +  while :
  1.3332 +  do
  1.3333 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.3334 +    mv "conftest.tmp" "conftest.in"
  1.3335 +    cp "conftest.in" "conftest.nl"
  1.3336 +    echo 'EGREP' >> "conftest.nl"
  1.3337 +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.3338 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.3339 +    ac_count=`expr $ac_count + 1`
  1.3340 +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  1.3341 +      # Best one so far, save it but keep looking for a better one
  1.3342 +      ac_cv_path_EGREP="$ac_path_EGREP"
  1.3343 +      ac_path_EGREP_max=$ac_count
  1.3344 +    fi
  1.3345 +    # 10*(2^10) chars as input seems more than enough
  1.3346 +    test $ac_count -gt 10 && break
  1.3347 +  done
  1.3348 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.3349 +esac
  1.3350 +
  1.3351 +
  1.3352 +    $ac_path_EGREP_found && break 3
  1.3353 +  done
  1.3354 +done
  1.3355 +
  1.3356 +done
  1.3357 +IFS=$as_save_IFS
  1.3358 +
  1.3359 +
  1.3360 +fi
  1.3361 +
  1.3362 +EGREP="$ac_cv_path_EGREP"
  1.3363 +if test -z "$EGREP"; then
  1.3364 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.3365 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.3366 +   { (exit 1); exit 1; }; }
  1.3367 +fi
  1.3368 +
  1.3369 +else
  1.3370 +  ac_cv_path_EGREP=$EGREP
  1.3371 +fi
  1.3372 +
  1.3373 +
  1.3374 +   fi
  1.3375 +fi
  1.3376 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  1.3377 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  1.3378 + EGREP="$ac_cv_path_EGREP"
  1.3379 +
  1.3380 +
  1.3381 +{ echo "$as_me:$LINENO: checking for fgrep" >&5
  1.3382 +echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
  1.3383 +if test "${ac_cv_path_FGREP+set}" = set; then
  1.3384 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3385 +else
  1.3386 +  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  1.3387 +   then ac_cv_path_FGREP="$GREP -F"
  1.3388 +   else
  1.3389 +     # Extract the first word of "fgrep" to use in msg output
  1.3390 +if test -z "$FGREP"; then
  1.3391 +set dummy fgrep; ac_prog_name=$2
  1.3392 +if test "${ac_cv_path_FGREP+set}" = set; then
  1.3393 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3394 +else
  1.3395 +  ac_path_FGREP_found=false
  1.3396 +# Loop through the user's path and test for each of PROGNAME-LIST
  1.3397 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3398 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.3399 +do
  1.3400 +  IFS=$as_save_IFS
  1.3401 +  test -z "$as_dir" && as_dir=.
  1.3402 +  for ac_prog in fgrep; do
  1.3403 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3404 +    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.3405 +    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  1.3406 +    # Check for GNU ac_path_FGREP and select it if it is found.
  1.3407 +  # Check for GNU $ac_path_FGREP
  1.3408 +case `"$ac_path_FGREP" --version 2>&1` in
  1.3409 +*GNU*)
  1.3410 +  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  1.3411 +*)
  1.3412 +  ac_count=0
  1.3413 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.3414 +  while :
  1.3415 +  do
  1.3416 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.3417 +    mv "conftest.tmp" "conftest.in"
  1.3418 +    cp "conftest.in" "conftest.nl"
  1.3419 +    echo 'FGREP' >> "conftest.nl"
  1.3420 +    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.3421 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.3422 +    ac_count=`expr $ac_count + 1`
  1.3423 +    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  1.3424 +      # Best one so far, save it but keep looking for a better one
  1.3425 +      ac_cv_path_FGREP="$ac_path_FGREP"
  1.3426 +      ac_path_FGREP_max=$ac_count
  1.3427 +    fi
  1.3428 +    # 10*(2^10) chars as input seems more than enough
  1.3429 +    test $ac_count -gt 10 && break
  1.3430 +  done
  1.3431 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.3432 +esac
  1.3433 +
  1.3434 +
  1.3435 +    $ac_path_FGREP_found && break 3
  1.3436 +  done
  1.3437 +done
  1.3438 +
  1.3439 +done
  1.3440 +IFS=$as_save_IFS
  1.3441 +
  1.3442 +
  1.3443 +fi
  1.3444 +
  1.3445 +FGREP="$ac_cv_path_FGREP"
  1.3446 +if test -z "$FGREP"; then
  1.3447 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.3448 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.3449 +   { (exit 1); exit 1; }; }
  1.3450 +fi
  1.3451 +
  1.3452 +else
  1.3453 +  ac_cv_path_FGREP=$FGREP
  1.3454 +fi
  1.3455 +
  1.3456 +
  1.3457 +   fi
  1.3458 +fi
  1.3459 +{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  1.3460 +echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
  1.3461 + FGREP="$ac_cv_path_FGREP"
  1.3462 +
  1.3463 +
  1.3464 +test -z "$GREP" && GREP=grep
  1.3465 +
  1.3466 +
  1.3467 +
  1.3468 +
  1.3469 +
  1.3470 +
  1.3471 +
  1.3472 +
  1.3473 +
  1.3474 +
  1.3475 +
  1.3476 +
  1.3477 +
  1.3478 +
  1.3479 +
  1.3480 +
  1.3481 +
  1.3482 +
  1.3483 +
  1.3484 +# Check whether --with-gnu-ld was given.
  1.3485 +if test "${with_gnu_ld+set}" = set; then
  1.3486 +  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  1.3487 +else
  1.3488 +  with_gnu_ld=no
  1.3489 +fi
  1.3490 +
  1.3491 +ac_prog=ld
  1.3492 +if test "$GCC" = yes; then
  1.3493 +  # Check if gcc -print-prog-name=ld gives a path.
  1.3494 +  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  1.3495 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  1.3496 +  case $host in
  1.3497 +  *-*-mingw*)
  1.3498 +    # gcc leaves a trailing carriage return which upsets mingw
  1.3499 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  1.3500 +  *)
  1.3501 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  1.3502 +  esac
  1.3503 +  case $ac_prog in
  1.3504 +    # Accept absolute paths.
  1.3505 +    [\\/]* | ?:[\\/]*)
  1.3506 +      re_direlt='/[^/][^/]*/\.\./'
  1.3507 +      # Canonicalize the pathname of ld
  1.3508 +      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  1.3509 +      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  1.3510 +	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  1.3511 +      done
  1.3512 +      test -z "$LD" && LD="$ac_prog"
  1.3513 +      ;;
  1.3514 +  "")
  1.3515 +    # If it fails, then pretend we aren't using GCC.
  1.3516 +    ac_prog=ld
  1.3517 +    ;;
  1.3518 +  *)
  1.3519 +    # If it is relative, then search for the first ld in PATH.
  1.3520 +    with_gnu_ld=unknown
  1.3521 +    ;;
  1.3522 +  esac
  1.3523 +elif test "$with_gnu_ld" = yes; then
  1.3524 +  { echo "$as_me:$LINENO: checking for GNU ld" >&5
  1.3525 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  1.3526 +else
  1.3527 +  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  1.3528 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  1.3529 +fi
  1.3530 +if test "${lt_cv_path_LD+set}" = set; then
  1.3531 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3532 +else
  1.3533 +  if test -z "$LD"; then
  1.3534 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.3535 +  for ac_dir in $PATH; do
  1.3536 +    IFS="$lt_save_ifs"
  1.3537 +    test -z "$ac_dir" && ac_dir=.
  1.3538 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  1.3539 +      lt_cv_path_LD="$ac_dir/$ac_prog"
  1.3540 +      # Check to see if the program is GNU ld.  I'd rather use --version,
  1.3541 +      # but apparently some variants of GNU ld only accept -v.
  1.3542 +      # Break only if it was the GNU/non-GNU ld that we prefer.
  1.3543 +      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  1.3544 +      *GNU* | *'with BFD'*)
  1.3545 +	test "$with_gnu_ld" != no && break
  1.3546 +	;;
  1.3547 +      *)
  1.3548 +	test "$with_gnu_ld" != yes && break
  1.3549 +	;;
  1.3550 +      esac
  1.3551 +    fi
  1.3552 +  done
  1.3553 +  IFS="$lt_save_ifs"
  1.3554 +else
  1.3555 +  lt_cv_path_LD="$LD" # Let the user override the test with a path.
  1.3556 +fi
  1.3557 +fi
  1.3558 +
  1.3559 +LD="$lt_cv_path_LD"
  1.3560 +if test -n "$LD"; then
  1.3561 +  { echo "$as_me:$LINENO: result: $LD" >&5
  1.3562 +echo "${ECHO_T}$LD" >&6; }
  1.3563 +else
  1.3564 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3565 +echo "${ECHO_T}no" >&6; }
  1.3566 +fi
  1.3567 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  1.3568 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  1.3569 +   { (exit 1); exit 1; }; }
  1.3570 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  1.3571 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  1.3572 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
  1.3573 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3574 +else
  1.3575 +  # I'd rather use --version here, but apparently some GNU lds only accept -v.
  1.3576 +case `$LD -v 2>&1 </dev/null` in
  1.3577 +*GNU* | *'with BFD'*)
  1.3578 +  lt_cv_prog_gnu_ld=yes
  1.3579 +  ;;
  1.3580 +*)
  1.3581 +  lt_cv_prog_gnu_ld=no
  1.3582 +  ;;
  1.3583 +esac
  1.3584 +fi
  1.3585 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  1.3586 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  1.3587 +with_gnu_ld=$lt_cv_prog_gnu_ld
  1.3588 +
  1.3589 +
  1.3590 +
  1.3591 +
  1.3592 +
  1.3593 +
  1.3594 +
  1.3595 +
  1.3596 +
  1.3597 +{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  1.3598 +echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
  1.3599 +if test "${lt_cv_path_NM+set}" = set; then
  1.3600 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3601 +else
  1.3602 +  if test -n "$NM"; then
  1.3603 +  # Let the user override the test.
  1.3604 +  lt_cv_path_NM="$NM"
  1.3605 +else
  1.3606 +  lt_nm_to_check="${ac_tool_prefix}nm"
  1.3607 +  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  1.3608 +    lt_nm_to_check="$lt_nm_to_check nm"
  1.3609 +  fi
  1.3610 +  for lt_tmp_nm in $lt_nm_to_check; do
  1.3611 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.3612 +    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  1.3613 +      IFS="$lt_save_ifs"
  1.3614 +      test -z "$ac_dir" && ac_dir=.
  1.3615 +      tmp_nm="$ac_dir/$lt_tmp_nm"
  1.3616 +      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  1.3617 +	# Check to see if the nm accepts a BSD-compat flag.
  1.3618 +	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  1.3619 +	#   nm: unknown option "B" ignored
  1.3620 +	# Tru64's nm complains that /dev/null is an invalid object file
  1.3621 +	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  1.3622 +	*/dev/null* | *'Invalid file or object type'*)
  1.3623 +	  lt_cv_path_NM="$tmp_nm -B"
  1.3624 +	  break
  1.3625 +	  ;;
  1.3626 +	*)
  1.3627 +	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  1.3628 +	  */dev/null*)
  1.3629 +	    lt_cv_path_NM="$tmp_nm -p"
  1.3630 +	    break
  1.3631 +	    ;;
  1.3632 +	  *)
  1.3633 +	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  1.3634 +	    continue # so that we can try to find one that supports BSD flags
  1.3635 +	    ;;
  1.3636 +	  esac
  1.3637 +	  ;;
  1.3638 +	esac
  1.3639 +      fi
  1.3640 +    done
  1.3641 +    IFS="$lt_save_ifs"
  1.3642 +  done
  1.3643 +  : ${lt_cv_path_NM=no}
  1.3644 +fi
  1.3645 +fi
  1.3646 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  1.3647 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  1.3648 +if test "$lt_cv_path_NM" != "no"; then
  1.3649 +  NM="$lt_cv_path_NM"
  1.3650 +else
  1.3651 +  # Didn't find any BSD compatible name lister, look for dumpbin.
  1.3652 +  if test -n "$ac_tool_prefix"; then
  1.3653 +  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  1.3654 +  do
  1.3655 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.3656 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.3657 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3658 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3659 +if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  1.3660 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3661 +else
  1.3662 +  if test -n "$DUMPBIN"; then
  1.3663 +  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  1.3664 +else
  1.3665 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3666 +for as_dir in $PATH
  1.3667 +do
  1.3668 +  IFS=$as_save_IFS
  1.3669 +  test -z "$as_dir" && as_dir=.
  1.3670 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3671 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3672 +    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  1.3673 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3674 +    break 2
  1.3675 +  fi
  1.3676 +done
  1.3677 +done
  1.3678 +IFS=$as_save_IFS
  1.3679 +
  1.3680 +fi
  1.3681 +fi
  1.3682 +DUMPBIN=$ac_cv_prog_DUMPBIN
  1.3683 +if test -n "$DUMPBIN"; then
  1.3684 +  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  1.3685 +echo "${ECHO_T}$DUMPBIN" >&6; }
  1.3686 +else
  1.3687 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3688 +echo "${ECHO_T}no" >&6; }
  1.3689 +fi
  1.3690 +
  1.3691 +
  1.3692 +    test -n "$DUMPBIN" && break
  1.3693 +  done
  1.3694 +fi
  1.3695 +if test -z "$DUMPBIN"; then
  1.3696 +  ac_ct_DUMPBIN=$DUMPBIN
  1.3697 +  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  1.3698 +do
  1.3699 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.3700 +set dummy $ac_prog; ac_word=$2
  1.3701 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3702 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3703 +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  1.3704 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3705 +else
  1.3706 +  if test -n "$ac_ct_DUMPBIN"; then
  1.3707 +  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  1.3708 +else
  1.3709 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3710 +for as_dir in $PATH
  1.3711 +do
  1.3712 +  IFS=$as_save_IFS
  1.3713 +  test -z "$as_dir" && as_dir=.
  1.3714 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3715 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3716 +    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  1.3717 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3718 +    break 2
  1.3719 +  fi
  1.3720 +done
  1.3721 +done
  1.3722 +IFS=$as_save_IFS
  1.3723 +
  1.3724 +fi
  1.3725 +fi
  1.3726 +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  1.3727 +if test -n "$ac_ct_DUMPBIN"; then
  1.3728 +  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  1.3729 +echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
  1.3730 +else
  1.3731 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3732 +echo "${ECHO_T}no" >&6; }
  1.3733 +fi
  1.3734 +
  1.3735 +
  1.3736 +  test -n "$ac_ct_DUMPBIN" && break
  1.3737 +done
  1.3738 +
  1.3739 +  if test "x$ac_ct_DUMPBIN" = x; then
  1.3740 +    DUMPBIN=":"
  1.3741 +  else
  1.3742 +    case $cross_compiling:$ac_tool_warned in
  1.3743 +yes:)
  1.3744 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.3745 +whose name does not start with the host triplet.  If you think this
  1.3746 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.3747 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.3748 +whose name does not start with the host triplet.  If you think this
  1.3749 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.3750 +ac_tool_warned=yes ;;
  1.3751 +esac
  1.3752 +    DUMPBIN=$ac_ct_DUMPBIN
  1.3753 +  fi
  1.3754 +fi
  1.3755 +
  1.3756 +
  1.3757 +  if test "$DUMPBIN" != ":"; then
  1.3758 +    NM="$DUMPBIN"
  1.3759 +  fi
  1.3760 +fi
  1.3761 +test -z "$NM" && NM=nm
  1.3762 +
  1.3763 +
  1.3764 +
  1.3765 +
  1.3766 +
  1.3767 +
  1.3768 +{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  1.3769 +echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
  1.3770 +if test "${lt_cv_nm_interface+set}" = set; then
  1.3771 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3772 +else
  1.3773 +  lt_cv_nm_interface="BSD nm"
  1.3774 +  echo "int some_variable = 0;" > conftest.$ac_ext
  1.3775 +  (eval echo "\"\$as_me:3772: $ac_compile\"" >&5)
  1.3776 +  (eval "$ac_compile" 2>conftest.err)
  1.3777 +  cat conftest.err >&5
  1.3778 +  (eval echo "\"\$as_me:3775: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  1.3779 +  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  1.3780 +  cat conftest.err >&5
  1.3781 +  (eval echo "\"\$as_me:3778: output\"" >&5)
  1.3782 +  cat conftest.out >&5
  1.3783 +  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  1.3784 +    lt_cv_nm_interface="MS dumpbin"
  1.3785 +  fi
  1.3786 +  rm -f conftest*
  1.3787 +fi
  1.3788 +{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  1.3789 +echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
  1.3790 +
  1.3791 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
  1.3792 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  1.3793 +LN_S=$as_ln_s
  1.3794 +if test "$LN_S" = "ln -s"; then
  1.3795 +  { echo "$as_me:$LINENO: result: yes" >&5
  1.3796 +echo "${ECHO_T}yes" >&6; }
  1.3797 +else
  1.3798 +  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  1.3799 +echo "${ECHO_T}no, using $LN_S" >&6; }
  1.3800 +fi
  1.3801 +
  1.3802 +# find the maximum length of command line arguments
  1.3803 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  1.3804 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  1.3805 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  1.3806 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3807 +else
  1.3808 +    i=0
  1.3809 +  teststring="ABCD"
  1.3810 +
  1.3811 +  case $build_os in
  1.3812 +  msdosdjgpp*)
  1.3813 +    # On DJGPP, this test can blow up pretty badly due to problems in libc
  1.3814 +    # (any single argument exceeding 2000 bytes causes a buffer overrun
  1.3815 +    # during glob expansion).  Even if it were fixed, the result of this
  1.3816 +    # check would be larger than it should be.
  1.3817 +    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  1.3818 +    ;;
  1.3819 +
  1.3820 +  gnu*)
  1.3821 +    # Under GNU Hurd, this test is not required because there is
  1.3822 +    # no limit to the length of command line arguments.
  1.3823 +    # Libtool will interpret -1 as no limit whatsoever
  1.3824 +    lt_cv_sys_max_cmd_len=-1;
  1.3825 +    ;;
  1.3826 +
  1.3827 +  cygwin* | mingw* | cegcc*)
  1.3828 +    # On Win9x/ME, this test blows up -- it succeeds, but takes
  1.3829 +    # about 5 minutes as the teststring grows exponentially.
  1.3830 +    # Worse, since 9x/ME are not pre-emptively multitasking,
  1.3831 +    # you end up with a "frozen" computer, even though with patience
  1.3832 +    # the test eventually succeeds (with a max line length of 256k).
  1.3833 +    # Instead, let's just punt: use the minimum linelength reported by
  1.3834 +    # all of the supported platforms: 8192 (on NT/2K/XP).
  1.3835 +    lt_cv_sys_max_cmd_len=8192;
  1.3836 +    ;;
  1.3837 +
  1.3838 +  beos*)
  1.3839 +    # On BeOS, this test takes a really really long time.
  1.3840 +    # So we just punt and use a minimum line length of 8192.
  1.3841 +    lt_cv_sys_max_cmd_len=8192;
  1.3842 +    ;;
  1.3843 +
  1.3844 +  amigaos*)
  1.3845 +    # On AmigaOS with pdksh, this test takes hours, literally.
  1.3846 +    # So we just punt and use a minimum line length of 8192.
  1.3847 +    lt_cv_sys_max_cmd_len=8192;
  1.3848 +    ;;
  1.3849 +
  1.3850 +  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  1.3851 +    # This has been around since 386BSD, at least.  Likely further.
  1.3852 +    if test -x /sbin/sysctl; then
  1.3853 +      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  1.3854 +    elif test -x /usr/sbin/sysctl; then
  1.3855 +      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  1.3856 +    else
  1.3857 +      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  1.3858 +    fi
  1.3859 +    # And add a safety zone
  1.3860 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1.3861 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1.3862 +    ;;
  1.3863 +
  1.3864 +  interix*)
  1.3865 +    # We know the value 262144 and hardcode it with a safety zone (like BSD)
  1.3866 +    lt_cv_sys_max_cmd_len=196608
  1.3867 +    ;;
  1.3868 +
  1.3869 +  osf*)
  1.3870 +    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  1.3871 +    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  1.3872 +    # nice to cause kernel panics so lets avoid the loop below.
  1.3873 +    # First set a reasonable default.
  1.3874 +    lt_cv_sys_max_cmd_len=16384
  1.3875 +    #
  1.3876 +    if test -x /sbin/sysconfig; then
  1.3877 +      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  1.3878 +        *1*) lt_cv_sys_max_cmd_len=-1 ;;
  1.3879 +      esac
  1.3880 +    fi
  1.3881 +    ;;
  1.3882 +  sco3.2v5*)
  1.3883 +    lt_cv_sys_max_cmd_len=102400
  1.3884 +    ;;
  1.3885 +  sysv5* | sco5v6* | sysv4.2uw2*)
  1.3886 +    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1.3887 +    if test -n "$kargmax"; then
  1.3888 +      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  1.3889 +    else
  1.3890 +      lt_cv_sys_max_cmd_len=32768
  1.3891 +    fi
  1.3892 +    ;;
  1.3893 +  *)
  1.3894 +    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  1.3895 +    if test -n "$lt_cv_sys_max_cmd_len"; then
  1.3896 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1.3897 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1.3898 +    else
  1.3899 +      # Make teststring a little bigger before we do anything with it.
  1.3900 +      # a 1K string should be a reasonable start.
  1.3901 +      for i in 1 2 3 4 5 6 7 8 ; do
  1.3902 +        teststring=$teststring$teststring
  1.3903 +      done
  1.3904 +      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1.3905 +      # If test is not a shell built-in, we'll probably end up computing a
  1.3906 +      # maximum length that is only half of the actual maximum length, but
  1.3907 +      # we can't tell.
  1.3908 +      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  1.3909 +	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  1.3910 +	      test $i != 17 # 1/2 MB should be enough
  1.3911 +      do
  1.3912 +        i=`expr $i + 1`
  1.3913 +        teststring=$teststring$teststring
  1.3914 +      done
  1.3915 +      # Only check the string length outside the loop.
  1.3916 +      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  1.3917 +      teststring=
  1.3918 +      # Add a significant safety factor because C++ compilers can tack on
  1.3919 +      # massive amounts of additional arguments before passing them to the
  1.3920 +      # linker.  It appears as though 1/2 is a usable value.
  1.3921 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1.3922 +    fi
  1.3923 +    ;;
  1.3924 +  esac
  1.3925 +
  1.3926 +fi
  1.3927 +
  1.3928 +if test -n $lt_cv_sys_max_cmd_len ; then
  1.3929 +  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  1.3930 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  1.3931 +else
  1.3932 +  { echo "$as_me:$LINENO: result: none" >&5
  1.3933 +echo "${ECHO_T}none" >&6; }
  1.3934 +fi
  1.3935 +max_cmd_len=$lt_cv_sys_max_cmd_len
  1.3936 +
  1.3937 +
  1.3938 +
  1.3939 +
  1.3940 +
  1.3941 +
  1.3942 +: ${CP="cp -f"}
  1.3943 +: ${MV="mv -f"}
  1.3944 +: ${RM="rm -f"}
  1.3945 +
  1.3946 +{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  1.3947 +echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
  1.3948 +# Try some XSI features
  1.3949 +xsi_shell=no
  1.3950 +( _lt_dummy="a/b/c"
  1.3951 +  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  1.3952 +      = c,a/b,, \
  1.3953 +    && eval 'test $(( 1 + 1 )) -eq 2 \
  1.3954 +    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  1.3955 +  && xsi_shell=yes
  1.3956 +{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
  1.3957 +echo "${ECHO_T}$xsi_shell" >&6; }
  1.3958 +
  1.3959 +
  1.3960 +{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  1.3961 +echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
  1.3962 +lt_shell_append=no
  1.3963 +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  1.3964 +    >/dev/null 2>&1 \
  1.3965 +  && lt_shell_append=yes
  1.3966 +{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  1.3967 +echo "${ECHO_T}$lt_shell_append" >&6; }
  1.3968 +
  1.3969 +
  1.3970 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1.3971 +  lt_unset=unset
  1.3972 +else
  1.3973 +  lt_unset=false
  1.3974 +fi
  1.3975 +
  1.3976 +
  1.3977 +
  1.3978 +
  1.3979 +
  1.3980 +# test EBCDIC or ASCII
  1.3981 +case `echo X|tr X '\101'` in
  1.3982 + A) # ASCII based system
  1.3983 +    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  1.3984 +  lt_SP2NL='tr \040 \012'
  1.3985 +  lt_NL2SP='tr \015\012 \040\040'
  1.3986 +  ;;
  1.3987 + *) # EBCDIC based system
  1.3988 +  lt_SP2NL='tr \100 \n'
  1.3989 +  lt_NL2SP='tr \r\n \100\100'
  1.3990 +  ;;
  1.3991 +esac
  1.3992 +
  1.3993 +
  1.3994 +
  1.3995 +
  1.3996 +
  1.3997 +
  1.3998 +
  1.3999 +
  1.4000 +
  1.4001 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  1.4002 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  1.4003 +if test "${lt_cv_ld_reload_flag+set}" = set; then
  1.4004 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4005 +else
  1.4006 +  lt_cv_ld_reload_flag='-r'
  1.4007 +fi
  1.4008 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  1.4009 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  1.4010 +reload_flag=$lt_cv_ld_reload_flag
  1.4011 +case $reload_flag in
  1.4012 +"" | " "*) ;;
  1.4013 +*) reload_flag=" $reload_flag" ;;
  1.4014 +esac
  1.4015 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  1.4016 +case $host_os in
  1.4017 +  darwin*)
  1.4018 +    if test "$GCC" = yes; then
  1.4019 +      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  1.4020 +    else
  1.4021 +      reload_cmds='$LD$reload_flag -o $output$reload_objs'
  1.4022 +    fi
  1.4023 +    ;;
  1.4024 +esac
  1.4025 +
  1.4026 +
  1.4027 +
  1.4028 +
  1.4029 +
  1.4030 +
  1.4031 +
  1.4032 +
  1.4033 +
  1.4034 +if test -n "$ac_tool_prefix"; then
  1.4035 +  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  1.4036 +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  1.4037 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4038 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4039 +if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  1.4040 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4041 +else
  1.4042 +  if test -n "$OBJDUMP"; then
  1.4043 +  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  1.4044 +else
  1.4045 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4046 +for as_dir in $PATH
  1.4047 +do
  1.4048 +  IFS=$as_save_IFS
  1.4049 +  test -z "$as_dir" && as_dir=.
  1.4050 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4051 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4052 +    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  1.4053 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4054 +    break 2
  1.4055 +  fi
  1.4056 +done
  1.4057 +done
  1.4058 +IFS=$as_save_IFS
  1.4059 +
  1.4060 +fi
  1.4061 +fi
  1.4062 +OBJDUMP=$ac_cv_prog_OBJDUMP
  1.4063 +if test -n "$OBJDUMP"; then
  1.4064 +  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  1.4065 +echo "${ECHO_T}$OBJDUMP" >&6; }
  1.4066 +else
  1.4067 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4068 +echo "${ECHO_T}no" >&6; }
  1.4069 +fi
  1.4070 +
  1.4071 +
  1.4072 +fi
  1.4073 +if test -z "$ac_cv_prog_OBJDUMP"; then
  1.4074 +  ac_ct_OBJDUMP=$OBJDUMP
  1.4075 +  # Extract the first word of "objdump", so it can be a program name with args.
  1.4076 +set dummy objdump; ac_word=$2
  1.4077 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4078 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4079 +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  1.4080 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4081 +else
  1.4082 +  if test -n "$ac_ct_OBJDUMP"; then
  1.4083 +  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  1.4084 +else
  1.4085 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4086 +for as_dir in $PATH
  1.4087 +do
  1.4088 +  IFS=$as_save_IFS
  1.4089 +  test -z "$as_dir" && as_dir=.
  1.4090 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4091 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4092 +    ac_cv_prog_ac_ct_OBJDUMP="objdump"
  1.4093 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4094 +    break 2
  1.4095 +  fi
  1.4096 +done
  1.4097 +done
  1.4098 +IFS=$as_save_IFS
  1.4099 +
  1.4100 +fi
  1.4101 +fi
  1.4102 +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  1.4103 +if test -n "$ac_ct_OBJDUMP"; then
  1.4104 +  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  1.4105 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
  1.4106 +else
  1.4107 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4108 +echo "${ECHO_T}no" >&6; }
  1.4109 +fi
  1.4110 +
  1.4111 +  if test "x$ac_ct_OBJDUMP" = x; then
  1.4112 +    OBJDUMP="false"
  1.4113 +  else
  1.4114 +    case $cross_compiling:$ac_tool_warned in
  1.4115 +yes:)
  1.4116 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.4117 +whose name does not start with the host triplet.  If you think this
  1.4118 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.4119 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.4120 +whose name does not start with the host triplet.  If you think this
  1.4121 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.4122 +ac_tool_warned=yes ;;
  1.4123 +esac
  1.4124 +    OBJDUMP=$ac_ct_OBJDUMP
  1.4125 +  fi
  1.4126 +else
  1.4127 +  OBJDUMP="$ac_cv_prog_OBJDUMP"
  1.4128 +fi
  1.4129 +
  1.4130 +test -z "$OBJDUMP" && OBJDUMP=objdump
  1.4131 +
  1.4132 +
  1.4133 +
  1.4134 +
  1.4135 +
  1.4136 +
  1.4137 +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  1.4138 +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
  1.4139 +if test "${lt_cv_deplibs_check_method+set}" = set; then
  1.4140 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4141 +else
  1.4142 +  lt_cv_file_magic_cmd='$MAGIC_CMD'
  1.4143 +lt_cv_file_magic_test_file=
  1.4144 +lt_cv_deplibs_check_method='unknown'
  1.4145 +# Need to set the preceding variable on all platforms that support
  1.4146 +# interlibrary dependencies.
  1.4147 +# 'none' -- dependencies not supported.
  1.4148 +# `unknown' -- same as none, but documents that we really don't know.
  1.4149 +# 'pass_all' -- all dependencies passed with no checks.
  1.4150 +# 'test_compile' -- check by making test program.
  1.4151 +# 'file_magic [[regex]]' -- check by looking for files in library path
  1.4152 +# which responds to the $file_magic_cmd with a given extended regex.
  1.4153 +# If you have `file' or equivalent on your system and you're not sure
  1.4154 +# whether `pass_all' will *always* work, you probably want this one.
  1.4155 +
  1.4156 +case $host_os in
  1.4157 +aix[4-9]*)
  1.4158 +  lt_cv_deplibs_check_method=pass_all
  1.4159 +  ;;
  1.4160 +
  1.4161 +beos*)
  1.4162 +  lt_cv_deplibs_check_method=pass_all
  1.4163 +  ;;
  1.4164 +
  1.4165 +bsdi[45]*)
  1.4166 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  1.4167 +  lt_cv_file_magic_cmd='/usr/bin/file -L'
  1.4168 +  lt_cv_file_magic_test_file=/shlib/libc.so
  1.4169 +  ;;
  1.4170 +
  1.4171 +cygwin*)
  1.4172 +  # func_win32_libid is a shell function defined in ltmain.sh
  1.4173 +  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  1.4174 +  lt_cv_deplibs_check_method=pass_all
  1.4175 +  lt_cv_file_magic_cmd='func_win32_libid'
  1.4176 +  ;;
  1.4177 +
  1.4178 +mingw* | pw32*)
  1.4179 +  # Base MSYS/MinGW do not provide the 'file' command needed by
  1.4180 +  # func_win32_libid shell function, so use a weaker test based on 'objdump',
  1.4181 +  # unless we find 'file', for example because we are cross-compiling.
  1.4182 +  if ( file / ) >/dev/null 2>&1; then
  1.4183 +    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  1.4184 +    lt_cv_file_magic_cmd='func_win32_libid'
  1.4185 +  else
  1.4186 +    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  1.4187 +    lt_cv_file_magic_cmd='$OBJDUMP -f'
  1.4188 +  fi
  1.4189 +  lt_cv_deplibs_check_method=pass_all
  1.4190 +  ;;
  1.4191 +
  1.4192 +cegcc)
  1.4193 +  # use the weaker test based on 'objdump'. See mingw*.
  1.4194 +  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  1.4195 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
  1.4196 +  ;;
  1.4197 +
  1.4198 +darwin* | rhapsody*)
  1.4199 +  lt_cv_deplibs_check_method=pass_all
  1.4200 +  ;;
  1.4201 +
  1.4202 +freebsd* | dragonfly*)
  1.4203 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  1.4204 +    case $host_cpu in
  1.4205 +    i*86 )
  1.4206 +      # Not sure whether the presence of OpenBSD here was a mistake.
  1.4207 +      # Let's accept both of them until this is cleared up.
  1.4208 +      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  1.4209 +      lt_cv_file_magic_cmd=/usr/bin/file
  1.4210 +      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  1.4211 +      ;;
  1.4212 +    esac
  1.4213 +  else
  1.4214 +    lt_cv_deplibs_check_method=pass_all
  1.4215 +  fi
  1.4216 +  ;;
  1.4217 +
  1.4218 +gnu*)
  1.4219 +  lt_cv_deplibs_check_method=pass_all
  1.4220 +  ;;
  1.4221 +
  1.4222 +hpux10.20* | hpux11*)
  1.4223 +  lt_cv_file_magic_cmd=/usr/bin/file
  1.4224 +  case $host_cpu in
  1.4225 +  ia64*)
  1.4226 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  1.4227 +    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  1.4228 +    ;;
  1.4229 +  hppa*64*)
  1.4230 +    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]'
  1.4231 +    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  1.4232 +    ;;
  1.4233 +  *)
  1.4234 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  1.4235 +    lt_cv_file_magic_test_file=/usr/lib/libc.sl
  1.4236 +    ;;
  1.4237 +  esac
  1.4238 +  ;;
  1.4239 +
  1.4240 +interix[3-9]*)
  1.4241 +  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  1.4242 +  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  1.4243 +  ;;
  1.4244 +
  1.4245 +irix5* | irix6* | nonstopux*)
  1.4246 +  case $LD in
  1.4247 +  *-32|*"-32 ") libmagic=32-bit;;
  1.4248 +  *-n32|*"-n32 ") libmagic=N32;;
  1.4249 +  *-64|*"-64 ") libmagic=64-bit;;
  1.4250 +  *) libmagic=never-match;;
  1.4251 +  esac
  1.4252 +  lt_cv_deplibs_check_method=pass_all
  1.4253 +  ;;
  1.4254 +
  1.4255 +# This must be Linux ELF.
  1.4256 +linux* | k*bsd*-gnu)
  1.4257 +  lt_cv_deplibs_check_method=pass_all
  1.4258 +  ;;
  1.4259 +
  1.4260 +netbsd*)
  1.4261 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  1.4262 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  1.4263 +  else
  1.4264 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  1.4265 +  fi
  1.4266 +  ;;
  1.4267 +
  1.4268 +newos6*)
  1.4269 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  1.4270 +  lt_cv_file_magic_cmd=/usr/bin/file
  1.4271 +  lt_cv_file_magic_test_file=/usr/lib/libnls.so
  1.4272 +  ;;
  1.4273 +
  1.4274 +*nto* | *qnx*)
  1.4275 +  lt_cv_deplibs_check_method=pass_all
  1.4276 +  ;;
  1.4277 +
  1.4278 +openbsd*)
  1.4279 +  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  1.4280 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  1.4281 +  else
  1.4282 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  1.4283 +  fi
  1.4284 +  ;;
  1.4285 +
  1.4286 +osf3* | osf4* | osf5*)
  1.4287 +  lt_cv_deplibs_check_method=pass_all
  1.4288 +  ;;
  1.4289 +
  1.4290 +rdos*)
  1.4291 +  lt_cv_deplibs_check_method=pass_all
  1.4292 +  ;;
  1.4293 +
  1.4294 +solaris*)
  1.4295 +  lt_cv_deplibs_check_method=pass_all
  1.4296 +  ;;
  1.4297 +
  1.4298 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  1.4299 +  lt_cv_deplibs_check_method=pass_all
  1.4300 +  ;;
  1.4301 +
  1.4302 +sysv4 | sysv4.3*)
  1.4303 +  case $host_vendor in
  1.4304 +  motorola)
  1.4305 +    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]'
  1.4306 +    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  1.4307 +    ;;
  1.4308 +  ncr)
  1.4309 +    lt_cv_deplibs_check_method=pass_all
  1.4310 +    ;;
  1.4311 +  sequent)
  1.4312 +    lt_cv_file_magic_cmd='/bin/file'
  1.4313 +    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  1.4314 +    ;;
  1.4315 +  sni)
  1.4316 +    lt_cv_file_magic_cmd='/bin/file'
  1.4317 +    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  1.4318 +    lt_cv_file_magic_test_file=/lib/libc.so
  1.4319 +    ;;
  1.4320 +  siemens)
  1.4321 +    lt_cv_deplibs_check_method=pass_all
  1.4322 +    ;;
  1.4323 +  pc)
  1.4324 +    lt_cv_deplibs_check_method=pass_all
  1.4325 +    ;;
  1.4326 +  esac
  1.4327 +  ;;
  1.4328 +
  1.4329 +tpf*)
  1.4330 +  lt_cv_deplibs_check_method=pass_all
  1.4331 +  ;;
  1.4332 +esac
  1.4333 +
  1.4334 +fi
  1.4335 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  1.4336 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  1.4337 +file_magic_cmd=$lt_cv_file_magic_cmd
  1.4338 +deplibs_check_method=$lt_cv_deplibs_check_method
  1.4339 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  1.4340 +
  1.4341 +
  1.4342 +
  1.4343 +
  1.4344 +
  1.4345 +
  1.4346 +
  1.4347 +
  1.4348 +
  1.4349 +
  1.4350 +
  1.4351 +
  1.4352 +if test -n "$ac_tool_prefix"; then
  1.4353 +  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  1.4354 +set dummy ${ac_tool_prefix}ar; ac_word=$2
  1.4355 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4356 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4357 +if test "${ac_cv_prog_AR+set}" = set; then
  1.4358 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4359 +else
  1.4360 +  if test -n "$AR"; then
  1.4361 +  ac_cv_prog_AR="$AR" # Let the user override the test.
  1.4362 +else
  1.4363 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4364 +for as_dir in $PATH
  1.4365 +do
  1.4366 +  IFS=$as_save_IFS
  1.4367 +  test -z "$as_dir" && as_dir=.
  1.4368 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4369 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4370 +    ac_cv_prog_AR="${ac_tool_prefix}ar"
  1.4371 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4372 +    break 2
  1.4373 +  fi
  1.4374 +done
  1.4375 +done
  1.4376 +IFS=$as_save_IFS
  1.4377 +
  1.4378 +fi
  1.4379 +fi
  1.4380 +AR=$ac_cv_prog_AR
  1.4381 +if test -n "$AR"; then
  1.4382 +  { echo "$as_me:$LINENO: result: $AR" >&5
  1.4383 +echo "${ECHO_T}$AR" >&6; }
  1.4384 +else
  1.4385 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4386 +echo "${ECHO_T}no" >&6; }
  1.4387 +fi
  1.4388 +
  1.4389 +
  1.4390 +fi
  1.4391 +if test -z "$ac_cv_prog_AR"; then
  1.4392 +  ac_ct_AR=$AR
  1.4393 +  # Extract the first word of "ar", so it can be a program name with args.
  1.4394 +set dummy ar; ac_word=$2
  1.4395 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4396 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4397 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  1.4398 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4399 +else
  1.4400 +  if test -n "$ac_ct_AR"; then
  1.4401 +  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  1.4402 +else
  1.4403 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4404 +for as_dir in $PATH
  1.4405 +do
  1.4406 +  IFS=$as_save_IFS
  1.4407 +  test -z "$as_dir" && as_dir=.
  1.4408 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4409 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4410 +    ac_cv_prog_ac_ct_AR="ar"
  1.4411 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4412 +    break 2
  1.4413 +  fi
  1.4414 +done
  1.4415 +done
  1.4416 +IFS=$as_save_IFS
  1.4417 +
  1.4418 +fi
  1.4419 +fi
  1.4420 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  1.4421 +if test -n "$ac_ct_AR"; then
  1.4422 +  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  1.4423 +echo "${ECHO_T}$ac_ct_AR" >&6; }
  1.4424 +else
  1.4425 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4426 +echo "${ECHO_T}no" >&6; }
  1.4427 +fi
  1.4428 +
  1.4429 +  if test "x$ac_ct_AR" = x; then
  1.4430 +    AR="false"
  1.4431 +  else
  1.4432 +    case $cross_compiling:$ac_tool_warned in
  1.4433 +yes:)
  1.4434 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.4435 +whose name does not start with the host triplet.  If you think this
  1.4436 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.4437 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.4438 +whose name does not start with the host triplet.  If you think this
  1.4439 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.4440 +ac_tool_warned=yes ;;
  1.4441 +esac
  1.4442 +    AR=$ac_ct_AR
  1.4443 +  fi
  1.4444 +else
  1.4445 +  AR="$ac_cv_prog_AR"
  1.4446 +fi
  1.4447 +
  1.4448 +test -z "$AR" && AR=ar
  1.4449 +test -z "$AR_FLAGS" && AR_FLAGS=cru
  1.4450 +
  1.4451 +
  1.4452 +
  1.4453 +
  1.4454 +
  1.4455 +
  1.4456 +
  1.4457 +
  1.4458 +
  1.4459 +
  1.4460 +
  1.4461 +if test -n "$ac_tool_prefix"; then
  1.4462 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1.4463 +set dummy ${ac_tool_prefix}strip; ac_word=$2
  1.4464 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4465 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4466 +if test "${ac_cv_prog_STRIP+set}" = set; then
  1.4467 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4468 +else
  1.4469 +  if test -n "$STRIP"; then
  1.4470 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1.4471 +else
  1.4472 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4473 +for as_dir in $PATH
  1.4474 +do
  1.4475 +  IFS=$as_save_IFS
  1.4476 +  test -z "$as_dir" && as_dir=.
  1.4477 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4478 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4479 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1.4480 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4481 +    break 2
  1.4482 +  fi
  1.4483 +done
  1.4484 +done
  1.4485 +IFS=$as_save_IFS
  1.4486 +
  1.4487 +fi
  1.4488 +fi
  1.4489 +STRIP=$ac_cv_prog_STRIP
  1.4490 +if test -n "$STRIP"; then
  1.4491 +  { echo "$as_me:$LINENO: result: $STRIP" >&5
  1.4492 +echo "${ECHO_T}$STRIP" >&6; }
  1.4493 +else
  1.4494 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4495 +echo "${ECHO_T}no" >&6; }
  1.4496 +fi
  1.4497 +
  1.4498 +
  1.4499 +fi
  1.4500 +if test -z "$ac_cv_prog_STRIP"; then
  1.4501 +  ac_ct_STRIP=$STRIP
  1.4502 +  # Extract the first word of "strip", so it can be a program name with args.
  1.4503 +set dummy strip; ac_word=$2
  1.4504 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4505 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4506 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1.4507 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4508 +else
  1.4509 +  if test -n "$ac_ct_STRIP"; then
  1.4510 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1.4511 +else
  1.4512 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4513 +for as_dir in $PATH
  1.4514 +do
  1.4515 +  IFS=$as_save_IFS
  1.4516 +  test -z "$as_dir" && as_dir=.
  1.4517 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4518 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4519 +    ac_cv_prog_ac_ct_STRIP="strip"
  1.4520 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4521 +    break 2
  1.4522 +  fi
  1.4523 +done
  1.4524 +done
  1.4525 +IFS=$as_save_IFS
  1.4526 +
  1.4527 +fi
  1.4528 +fi
  1.4529 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1.4530 +if test -n "$ac_ct_STRIP"; then
  1.4531 +  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1.4532 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  1.4533 +else
  1.4534 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4535 +echo "${ECHO_T}no" >&6; }
  1.4536 +fi
  1.4537 +
  1.4538 +  if test "x$ac_ct_STRIP" = x; then
  1.4539 +    STRIP=":"
  1.4540 +  else
  1.4541 +    case $cross_compiling:$ac_tool_warned in
  1.4542 +yes:)
  1.4543 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.4544 +whose name does not start with the host triplet.  If you think this
  1.4545 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.4546 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.4547 +whose name does not start with the host triplet.  If you think this
  1.4548 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.4549 +ac_tool_warned=yes ;;
  1.4550 +esac
  1.4551 +    STRIP=$ac_ct_STRIP
  1.4552 +  fi
  1.4553 +else
  1.4554 +  STRIP="$ac_cv_prog_STRIP"
  1.4555 +fi
  1.4556 +
  1.4557 +test -z "$STRIP" && STRIP=:
  1.4558 +
  1.4559 +
  1.4560 +
  1.4561 +
  1.4562 +
  1.4563 +
  1.4564 +if test -n "$ac_tool_prefix"; then
  1.4565 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  1.4566 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  1.4567 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4568 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4569 +if test "${ac_cv_prog_RANLIB+set}" = set; then
  1.4570 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4571 +else
  1.4572 +  if test -n "$RANLIB"; then
  1.4573 +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1.4574 +else
  1.4575 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4576 +for as_dir in $PATH
  1.4577 +do
  1.4578 +  IFS=$as_save_IFS
  1.4579 +  test -z "$as_dir" && as_dir=.
  1.4580 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4581 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4582 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  1.4583 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4584 +    break 2
  1.4585 +  fi
  1.4586 +done
  1.4587 +done
  1.4588 +IFS=$as_save_IFS
  1.4589 +
  1.4590 +fi
  1.4591 +fi
  1.4592 +RANLIB=$ac_cv_prog_RANLIB
  1.4593 +if test -n "$RANLIB"; then
  1.4594 +  { echo "$as_me:$LINENO: result: $RANLIB" >&5
  1.4595 +echo "${ECHO_T}$RANLIB" >&6; }
  1.4596 +else
  1.4597 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4598 +echo "${ECHO_T}no" >&6; }
  1.4599 +fi
  1.4600 +
  1.4601 +
  1.4602 +fi
  1.4603 +if test -z "$ac_cv_prog_RANLIB"; then
  1.4604 +  ac_ct_RANLIB=$RANLIB
  1.4605 +  # Extract the first word of "ranlib", so it can be a program name with args.
  1.4606 +set dummy ranlib; ac_word=$2
  1.4607 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.4608 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.4609 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  1.4610 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4611 +else
  1.4612 +  if test -n "$ac_ct_RANLIB"; then
  1.4613 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  1.4614 +else
  1.4615 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4616 +for as_dir in $PATH
  1.4617 +do
  1.4618 +  IFS=$as_save_IFS
  1.4619 +  test -z "$as_dir" && as_dir=.
  1.4620 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4621 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4622 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
  1.4623 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4624 +    break 2
  1.4625 +  fi
  1.4626 +done
  1.4627 +done
  1.4628 +IFS=$as_save_IFS
  1.4629 +
  1.4630 +fi
  1.4631 +fi
  1.4632 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  1.4633 +if test -n "$ac_ct_RANLIB"; then
  1.4634 +  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  1.4635 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  1.4636 +else
  1.4637 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4638 +echo "${ECHO_T}no" >&6; }
  1.4639 +fi
  1.4640 +
  1.4641 +  if test "x$ac_ct_RANLIB" = x; then
  1.4642 +    RANLIB=":"
  1.4643 +  else
  1.4644 +    case $cross_compiling:$ac_tool_warned in
  1.4645 +yes:)
  1.4646 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.4647 +whose name does not start with the host triplet.  If you think this
  1.4648 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.4649 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.4650 +whose name does not start with the host triplet.  If you think this
  1.4651 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.4652 +ac_tool_warned=yes ;;
  1.4653 +esac
  1.4654 +    RANLIB=$ac_ct_RANLIB
  1.4655 +  fi
  1.4656 +else
  1.4657 +  RANLIB="$ac_cv_prog_RANLIB"
  1.4658 +fi
  1.4659 +
  1.4660 +test -z "$RANLIB" && RANLIB=:
  1.4661 +
  1.4662 +
  1.4663 +
  1.4664 +
  1.4665 +
  1.4666 +
  1.4667 +# Determine commands to create old-style static archives.
  1.4668 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  1.4669 +old_postinstall_cmds='chmod 644 $oldlib'
  1.4670 +old_postuninstall_cmds=
  1.4671 +
  1.4672 +if test -n "$RANLIB"; then
  1.4673 +  case $host_os in
  1.4674 +  openbsd*)
  1.4675 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1.4676 +    ;;
  1.4677 +  *)
  1.4678 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1.4679 +    ;;
  1.4680 +  esac
  1.4681 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1.4682 +fi
  1.4683 +
  1.4684 +
  1.4685 +
  1.4686 +
  1.4687 +
  1.4688 +
  1.4689 +
  1.4690 +
  1.4691 +
  1.4692 +
  1.4693 +
  1.4694 +
  1.4695 +
  1.4696 +
  1.4697 +
  1.4698 +
  1.4699 +
  1.4700 +
  1.4701 +
  1.4702 +
  1.4703 +
  1.4704 +
  1.4705 +
  1.4706 +
  1.4707 +
  1.4708 +
  1.4709 +
  1.4710 +
  1.4711 +
  1.4712 +
  1.4713 +
  1.4714 +
  1.4715 +
  1.4716 +
  1.4717 +# If no C compiler was specified, use CC.
  1.4718 +LTCC=${LTCC-"$CC"}
  1.4719 +
  1.4720 +# If no C compiler flags were specified, use CFLAGS.
  1.4721 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  1.4722 +
  1.4723 +# Allow CC to be a program name with arguments.
  1.4724 +compiler=$CC
  1.4725 +
  1.4726 +
  1.4727 +# Check for command to grab the raw symbol name followed by C symbol from nm.
  1.4728 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  1.4729 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  1.4730 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  1.4731 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4732 +else
  1.4733 +
  1.4734 +# These are sane defaults that work on at least a few old systems.
  1.4735 +# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  1.4736 +
  1.4737 +# Character class describing NM global symbol codes.
  1.4738 +symcode='[BCDEGRST]'
  1.4739 +
  1.4740 +# Regexp to match symbols that can be accessed directly from C.
  1.4741 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  1.4742 +
  1.4743 +# Define system-specific variables.
  1.4744 +case $host_os in
  1.4745 +aix*)
  1.4746 +  symcode='[BCDT]'
  1.4747 +  ;;
  1.4748 +cygwin* | mingw* | pw32* | cegcc*)
  1.4749 +  symcode='[ABCDGISTW]'
  1.4750 +  ;;
  1.4751 +hpux*)
  1.4752 +  if test "$host_cpu" = ia64; then
  1.4753 +    symcode='[ABCDEGRST]'
  1.4754 +  fi
  1.4755 +  ;;
  1.4756 +irix* | nonstopux*)
  1.4757 +  symcode='[BCDEGRST]'
  1.4758 +  ;;
  1.4759 +osf*)
  1.4760 +  symcode='[BCDEGQRST]'
  1.4761 +  ;;
  1.4762 +solaris*)
  1.4763 +  symcode='[BDRT]'
  1.4764 +  ;;
  1.4765 +sco3.2v5*)
  1.4766 +  symcode='[DT]'
  1.4767 +  ;;
  1.4768 +sysv4.2uw2*)
  1.4769 +  symcode='[DT]'
  1.4770 +  ;;
  1.4771 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  1.4772 +  symcode='[ABDT]'
  1.4773 +  ;;
  1.4774 +sysv4)
  1.4775 +  symcode='[DFNSTU]'
  1.4776 +  ;;
  1.4777 +esac
  1.4778 +
  1.4779 +# If we're using GNU nm, then use its standard symbol codes.
  1.4780 +case `$NM -V 2>&1` in
  1.4781 +*GNU* | *'with BFD'*)
  1.4782 +  symcode='[ABCDGIRSTW]' ;;
  1.4783 +esac
  1.4784 +
  1.4785 +# Transform an extracted symbol line into a proper C declaration.
  1.4786 +# Some systems (esp. on ia64) link data and code symbols differently,
  1.4787 +# so use this general approach.
  1.4788 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  1.4789 +
  1.4790 +# Transform an extracted symbol line into symbol name and symbol address
  1.4791 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  1.4792 +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'"
  1.4793 +
  1.4794 +# Handle CRLF in mingw tool chain
  1.4795 +opt_cr=
  1.4796 +case $build_os in
  1.4797 +mingw*)
  1.4798 +  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  1.4799 +  ;;
  1.4800 +esac
  1.4801 +
  1.4802 +# Try without a prefix underscore, then with it.
  1.4803 +for ac_symprfx in "" "_"; do
  1.4804 +
  1.4805 +  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  1.4806 +  symxfrm="\\1 $ac_symprfx\\2 \\2"
  1.4807 +
  1.4808 +  # Write the raw and C identifiers.
  1.4809 +  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  1.4810 +    # Fake it for dumpbin and say T for any non-static function
  1.4811 +    # and D for any global variable.
  1.4812 +    # Also find C++ and __fastcall symbols from MSVC++,
  1.4813 +    # which start with @ or ?.
  1.4814 +    lt_cv_sys_global_symbol_pipe="$AWK '"\
  1.4815 +"     {last_section=section; section=\$ 3};"\
  1.4816 +"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  1.4817 +"     \$ 0!~/External *\|/{next};"\
  1.4818 +"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  1.4819 +"     {if(hide[section]) next};"\
  1.4820 +"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  1.4821 +"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  1.4822 +"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  1.4823 +"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  1.4824 +"     ' prfx=^$ac_symprfx"
  1.4825 +  else
  1.4826 +    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  1.4827 +  fi
  1.4828 +
  1.4829 +  # Check to see that the pipe works correctly.
  1.4830 +  pipe_works=no
  1.4831 +
  1.4832 +  rm -f conftest*
  1.4833 +  cat > conftest.$ac_ext <<_LT_EOF
  1.4834 +#ifdef __cplusplus
  1.4835 +extern "C" {
  1.4836 +#endif
  1.4837 +char nm_test_var;
  1.4838 +void nm_test_func(void);
  1.4839 +void nm_test_func(void){}
  1.4840 +#ifdef __cplusplus
  1.4841 +}
  1.4842 +#endif
  1.4843 +int main(){nm_test_var='a';nm_test_func();return(0);}
  1.4844 +_LT_EOF
  1.4845 +
  1.4846 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.4847 +  (eval $ac_compile) 2>&5
  1.4848 +  ac_status=$?
  1.4849 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4850 +  (exit $ac_status); }; then
  1.4851 +    # Now try to grab the symbols.
  1.4852 +    nlist=conftest.nm
  1.4853 +    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  1.4854 +  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  1.4855 +  ac_status=$?
  1.4856 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4857 +  (exit $ac_status); } && test -s "$nlist"; then
  1.4858 +      # Try sorting and uniquifying the output.
  1.4859 +      if sort "$nlist" | uniq > "$nlist"T; then
  1.4860 +	mv -f "$nlist"T "$nlist"
  1.4861 +      else
  1.4862 +	rm -f "$nlist"T
  1.4863 +      fi
  1.4864 +
  1.4865 +      # Make sure that we snagged all the symbols we need.
  1.4866 +      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  1.4867 +	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  1.4868 +	  cat <<_LT_EOF > conftest.$ac_ext
  1.4869 +#ifdef __cplusplus
  1.4870 +extern "C" {
  1.4871 +#endif
  1.4872 +
  1.4873 +_LT_EOF
  1.4874 +	  # Now generate the symbol file.
  1.4875 +	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  1.4876 +
  1.4877 +	  cat <<_LT_EOF >> conftest.$ac_ext
  1.4878 +
  1.4879 +/* The mapping between symbol names and symbols.  */
  1.4880 +const struct {
  1.4881 +  const char *name;
  1.4882 +  void       *address;
  1.4883 +}
  1.4884 +lt__PROGRAM__LTX_preloaded_symbols[] =
  1.4885 +{
  1.4886 +  { "@PROGRAM@", (void *) 0 },
  1.4887 +_LT_EOF
  1.4888 +	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  1.4889 +	  cat <<\_LT_EOF >> conftest.$ac_ext
  1.4890 +  {0, (void *) 0}
  1.4891 +};
  1.4892 +
  1.4893 +/* This works around a problem in FreeBSD linker */
  1.4894 +#ifdef FREEBSD_WORKAROUND
  1.4895 +static const void *lt_preloaded_setup() {
  1.4896 +  return lt__PROGRAM__LTX_preloaded_symbols;
  1.4897 +}
  1.4898 +#endif
  1.4899 +
  1.4900 +#ifdef __cplusplus
  1.4901 +}
  1.4902 +#endif
  1.4903 +_LT_EOF
  1.4904 +	  # Now try linking the two files.
  1.4905 +	  mv conftest.$ac_objext conftstm.$ac_objext
  1.4906 +	  lt_save_LIBS="$LIBS"
  1.4907 +	  lt_save_CFLAGS="$CFLAGS"
  1.4908 +	  LIBS="conftstm.$ac_objext"
  1.4909 +	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  1.4910 +	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1.4911 +  (eval $ac_link) 2>&5
  1.4912 +  ac_status=$?
  1.4913 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4914 +  (exit $ac_status); } && test -s conftest${ac_exeext}; then
  1.4915 +	    pipe_works=yes
  1.4916 +	  fi
  1.4917 +	  LIBS="$lt_save_LIBS"
  1.4918 +	  CFLAGS="$lt_save_CFLAGS"
  1.4919 +	else
  1.4920 +	  echo "cannot find nm_test_func in $nlist" >&5
  1.4921 +	fi
  1.4922 +      else
  1.4923 +	echo "cannot find nm_test_var in $nlist" >&5
  1.4924 +      fi
  1.4925 +    else
  1.4926 +      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  1.4927 +    fi
  1.4928 +  else
  1.4929 +    echo "$progname: failed program was:" >&5
  1.4930 +    cat conftest.$ac_ext >&5
  1.4931 +  fi
  1.4932 +  rm -rf conftest* conftst*
  1.4933 +
  1.4934 +  # Do not use the global_symbol_pipe unless it works.
  1.4935 +  if test "$pipe_works" = yes; then
  1.4936 +    break
  1.4937 +  else
  1.4938 +    lt_cv_sys_global_symbol_pipe=
  1.4939 +  fi
  1.4940 +done
  1.4941 +
  1.4942 +fi
  1.4943 +
  1.4944 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  1.4945 +  lt_cv_sys_global_symbol_to_cdecl=
  1.4946 +fi
  1.4947 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  1.4948 +  { echo "$as_me:$LINENO: result: failed" >&5
  1.4949 +echo "${ECHO_T}failed" >&6; }
  1.4950 +else
  1.4951 +  { echo "$as_me:$LINENO: result: ok" >&5
  1.4952 +echo "${ECHO_T}ok" >&6; }
  1.4953 +fi
  1.4954 +
  1.4955 +
  1.4956 +
  1.4957 +
  1.4958 +
  1.4959 +
  1.4960 +
  1.4961 +
  1.4962 +
  1.4963 +
  1.4964 +
  1.4965 +
  1.4966 +
  1.4967 +
  1.4968 +
  1.4969 +
  1.4970 +
  1.4971 +
  1.4972 +
  1.4973 +
  1.4974 +
  1.4975 +
  1.4976 +
  1.4977 +# Check whether --enable-libtool-lock was given.
  1.4978 +if test "${enable_libtool_lock+set}" = set; then
  1.4979 +  enableval=$enable_libtool_lock;
  1.4980 +fi
  1.4981 +
  1.4982 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1.4983 +
  1.4984 +# Some flags need to be propagated to the compiler or linker for good
  1.4985 +# libtool support.
  1.4986 +case $host in
  1.4987 +ia64-*-hpux*)
  1.4988 +  # Find out which ABI we are using.
  1.4989 +  echo 'int i;' > conftest.$ac_ext
  1.4990 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.4991 +  (eval $ac_compile) 2>&5
  1.4992 +  ac_status=$?
  1.4993 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4994 +  (exit $ac_status); }; then
  1.4995 +    case `/usr/bin/file conftest.$ac_objext` in
  1.4996 +      *ELF-32*)
  1.4997 +	HPUX_IA64_MODE="32"
  1.4998 +	;;
  1.4999 +      *ELF-64*)
  1.5000 +	HPUX_IA64_MODE="64"
  1.5001 +	;;
  1.5002 +    esac
  1.5003 +  fi
  1.5004 +  rm -rf conftest*
  1.5005 +  ;;
  1.5006 +*-*-irix6*)
  1.5007 +  # Find out which ABI we are using.
  1.5008 +  echo '#line 5005 "configure"' > conftest.$ac_ext
  1.5009 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.5010 +  (eval $ac_compile) 2>&5
  1.5011 +  ac_status=$?
  1.5012 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5013 +  (exit $ac_status); }; then
  1.5014 +    if test "$lt_cv_prog_gnu_ld" = yes; then
  1.5015 +      case `/usr/bin/file conftest.$ac_objext` in
  1.5016 +	*32-bit*)
  1.5017 +	  LD="${LD-ld} -melf32bsmip"
  1.5018 +	  ;;
  1.5019 +	*N32*)
  1.5020 +	  LD="${LD-ld} -melf32bmipn32"
  1.5021 +	  ;;
  1.5022 +	*64-bit*)
  1.5023 +	  LD="${LD-ld} -melf64bmip"
  1.5024 +	;;
  1.5025 +      esac
  1.5026 +    else
  1.5027 +      case `/usr/bin/file conftest.$ac_objext` in
  1.5028 +	*32-bit*)
  1.5029 +	  LD="${LD-ld} -32"
  1.5030 +	  ;;
  1.5031 +	*N32*)
  1.5032 +	  LD="${LD-ld} -n32"
  1.5033 +	  ;;
  1.5034 +	*64-bit*)
  1.5035 +	  LD="${LD-ld} -64"
  1.5036 +	  ;;
  1.5037 +      esac
  1.5038 +    fi
  1.5039 +  fi
  1.5040 +  rm -rf conftest*
  1.5041 +  ;;
  1.5042 +
  1.5043 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1.5044 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1.5045 +  # Find out which ABI we are using.
  1.5046 +  echo 'int i;' > conftest.$ac_ext
  1.5047 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.5048 +  (eval $ac_compile) 2>&5
  1.5049 +  ac_status=$?
  1.5050 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5051 +  (exit $ac_status); }; then
  1.5052 +    case `/usr/bin/file conftest.o` in
  1.5053 +      *32-bit*)
  1.5054 +	case $host in
  1.5055 +	  x86_64-*kfreebsd*-gnu)
  1.5056 +	    LD="${LD-ld} -m elf_i386_fbsd"
  1.5057 +	    ;;
  1.5058 +	  x86_64-*linux*)
  1.5059 +	    LD="${LD-ld} -m elf_i386"
  1.5060 +	    ;;
  1.5061 +	  ppc64-*linux*|powerpc64-*linux*)
  1.5062 +	    LD="${LD-ld} -m elf32ppclinux"
  1.5063 +	    ;;
  1.5064 +	  s390x-*linux*)
  1.5065 +	    LD="${LD-ld} -m elf_s390"
  1.5066 +	    ;;
  1.5067 +	  sparc64-*linux*)
  1.5068 +	    LD="${LD-ld} -m elf32_sparc"
  1.5069 +	    ;;
  1.5070 +	esac
  1.5071 +	;;
  1.5072 +      *64-bit*)
  1.5073 +	case $host in
  1.5074 +	  x86_64-*kfreebsd*-gnu)
  1.5075 +	    LD="${LD-ld} -m elf_x86_64_fbsd"
  1.5076 +	    ;;
  1.5077 +	  x86_64-*linux*)
  1.5078 +	    LD="${LD-ld} -m elf_x86_64"
  1.5079 +	    ;;
  1.5080 +	  ppc*-*linux*|powerpc*-*linux*)
  1.5081 +	    LD="${LD-ld} -m elf64ppc"
  1.5082 +	    ;;
  1.5083 +	  s390*-*linux*|s390*-*tpf*)
  1.5084 +	    LD="${LD-ld} -m elf64_s390"
  1.5085 +	    ;;
  1.5086 +	  sparc*-*linux*)
  1.5087 +	    LD="${LD-ld} -m elf64_sparc"
  1.5088 +	    ;;
  1.5089 +	esac
  1.5090 +	;;
  1.5091 +    esac
  1.5092 +  fi
  1.5093 +  rm -rf conftest*
  1.5094 +  ;;
  1.5095 +
  1.5096 +*-*-sco3.2v5*)
  1.5097 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1.5098 +  SAVE_CFLAGS="$CFLAGS"
  1.5099 +  CFLAGS="$CFLAGS -belf"
  1.5100 +  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  1.5101 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  1.5102 +if test "${lt_cv_cc_needs_belf+set}" = set; then
  1.5103 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5104 +else
  1.5105 +  ac_ext=c
  1.5106 +ac_cpp='$CPP $CPPFLAGS'
  1.5107 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5108 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5109 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.5110 +
  1.5111 +     cat >conftest.$ac_ext <<_ACEOF
  1.5112 +/* confdefs.h.  */
  1.5113 +_ACEOF
  1.5114 +cat confdefs.h >>conftest.$ac_ext
  1.5115 +cat >>conftest.$ac_ext <<_ACEOF
  1.5116 +/* end confdefs.h.  */
  1.5117 +
  1.5118 +int
  1.5119 +main ()
  1.5120 +{
  1.5121 +
  1.5122 +  ;
  1.5123 +  return 0;
  1.5124 +}
  1.5125 +_ACEOF
  1.5126 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.5127 +if { (ac_try="$ac_link"
  1.5128 +case "(($ac_try" in
  1.5129 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5130 +  *) ac_try_echo=$ac_try;;
  1.5131 +esac
  1.5132 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5133 +  (eval "$ac_link") 2>conftest.er1
  1.5134 +  ac_status=$?
  1.5135 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5136 +  rm -f conftest.er1
  1.5137 +  cat conftest.err >&5
  1.5138 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5139 +  (exit $ac_status); } && {
  1.5140 +	 test -z "$ac_c_werror_flag" ||
  1.5141 +	 test ! -s conftest.err
  1.5142 +       } && test -s conftest$ac_exeext &&
  1.5143 +       $as_test_x conftest$ac_exeext; then
  1.5144 +  lt_cv_cc_needs_belf=yes
  1.5145 +else
  1.5146 +  echo "$as_me: failed program was:" >&5
  1.5147 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5148 +
  1.5149 +	lt_cv_cc_needs_belf=no
  1.5150 +fi
  1.5151 +
  1.5152 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.5153 +      conftest$ac_exeext conftest.$ac_ext
  1.5154 +     ac_ext=c
  1.5155 +ac_cpp='$CPP $CPPFLAGS'
  1.5156 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5157 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5158 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.5159 +
  1.5160 +fi
  1.5161 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  1.5162 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  1.5163 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1.5164 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1.5165 +    CFLAGS="$SAVE_CFLAGS"
  1.5166 +  fi
  1.5167 +  ;;
  1.5168 +sparc*-*solaris*)
  1.5169 +  # Find out which ABI we are using.
  1.5170 +  echo 'int i;' > conftest.$ac_ext
  1.5171 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.5172 +  (eval $ac_compile) 2>&5
  1.5173 +  ac_status=$?
  1.5174 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5175 +  (exit $ac_status); }; then
  1.5176 +    case `/usr/bin/file conftest.o` in
  1.5177 +    *64-bit*)
  1.5178 +      case $lt_cv_prog_gnu_ld in
  1.5179 +      yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1.5180 +      *)
  1.5181 +	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1.5182 +	  LD="${LD-ld} -64"
  1.5183 +	fi
  1.5184 +	;;
  1.5185 +      esac
  1.5186 +      ;;
  1.5187 +    esac
  1.5188 +  fi
  1.5189 +  rm -rf conftest*
  1.5190 +  ;;
  1.5191 +esac
  1.5192 +
  1.5193 +need_locks="$enable_libtool_lock"
  1.5194 +
  1.5195 +
  1.5196 +  case $host_os in
  1.5197 +    rhapsody* | darwin*)
  1.5198 +    if test -n "$ac_tool_prefix"; then
  1.5199 +  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  1.5200 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  1.5201 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5202 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5203 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  1.5204 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5205 +else
  1.5206 +  if test -n "$DSYMUTIL"; then
  1.5207 +  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  1.5208 +else
  1.5209 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5210 +for as_dir in $PATH
  1.5211 +do
  1.5212 +  IFS=$as_save_IFS
  1.5213 +  test -z "$as_dir" && as_dir=.
  1.5214 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5215 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5216 +    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  1.5217 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5218 +    break 2
  1.5219 +  fi
  1.5220 +done
  1.5221 +done
  1.5222 +IFS=$as_save_IFS
  1.5223 +
  1.5224 +fi
  1.5225 +fi
  1.5226 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  1.5227 +if test -n "$DSYMUTIL"; then
  1.5228 +  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  1.5229 +echo "${ECHO_T}$DSYMUTIL" >&6; }
  1.5230 +else
  1.5231 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5232 +echo "${ECHO_T}no" >&6; }
  1.5233 +fi
  1.5234 +
  1.5235 +
  1.5236 +fi
  1.5237 +if test -z "$ac_cv_prog_DSYMUTIL"; then
  1.5238 +  ac_ct_DSYMUTIL=$DSYMUTIL
  1.5239 +  # Extract the first word of "dsymutil", so it can be a program name with args.
  1.5240 +set dummy dsymutil; ac_word=$2
  1.5241 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5242 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5243 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  1.5244 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5245 +else
  1.5246 +  if test -n "$ac_ct_DSYMUTIL"; then
  1.5247 +  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  1.5248 +else
  1.5249 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5250 +for as_dir in $PATH
  1.5251 +do
  1.5252 +  IFS=$as_save_IFS
  1.5253 +  test -z "$as_dir" && as_dir=.
  1.5254 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5255 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5256 +    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  1.5257 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5258 +    break 2
  1.5259 +  fi
  1.5260 +done
  1.5261 +done
  1.5262 +IFS=$as_save_IFS
  1.5263 +
  1.5264 +fi
  1.5265 +fi
  1.5266 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  1.5267 +if test -n "$ac_ct_DSYMUTIL"; then
  1.5268 +  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  1.5269 +echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
  1.5270 +else
  1.5271 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5272 +echo "${ECHO_T}no" >&6; }
  1.5273 +fi
  1.5274 +
  1.5275 +  if test "x$ac_ct_DSYMUTIL" = x; then
  1.5276 +    DSYMUTIL=":"
  1.5277 +  else
  1.5278 +    case $cross_compiling:$ac_tool_warned in
  1.5279 +yes:)
  1.5280 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5281 +whose name does not start with the host triplet.  If you think this
  1.5282 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5283 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5284 +whose name does not start with the host triplet.  If you think this
  1.5285 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5286 +ac_tool_warned=yes ;;
  1.5287 +esac
  1.5288 +    DSYMUTIL=$ac_ct_DSYMUTIL
  1.5289 +  fi
  1.5290 +else
  1.5291 +  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  1.5292 +fi
  1.5293 +
  1.5294 +    if test -n "$ac_tool_prefix"; then
  1.5295 +  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  1.5296 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  1.5297 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5298 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5299 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
  1.5300 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5301 +else
  1.5302 +  if test -n "$NMEDIT"; then
  1.5303 +  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  1.5304 +else
  1.5305 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5306 +for as_dir in $PATH
  1.5307 +do
  1.5308 +  IFS=$as_save_IFS
  1.5309 +  test -z "$as_dir" && as_dir=.
  1.5310 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5311 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5312 +    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  1.5313 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5314 +    break 2
  1.5315 +  fi
  1.5316 +done
  1.5317 +done
  1.5318 +IFS=$as_save_IFS
  1.5319 +
  1.5320 +fi
  1.5321 +fi
  1.5322 +NMEDIT=$ac_cv_prog_NMEDIT
  1.5323 +if test -n "$NMEDIT"; then
  1.5324 +  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
  1.5325 +echo "${ECHO_T}$NMEDIT" >&6; }
  1.5326 +else
  1.5327 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5328 +echo "${ECHO_T}no" >&6; }
  1.5329 +fi
  1.5330 +
  1.5331 +
  1.5332 +fi
  1.5333 +if test -z "$ac_cv_prog_NMEDIT"; then
  1.5334 +  ac_ct_NMEDIT=$NMEDIT
  1.5335 +  # Extract the first word of "nmedit", so it can be a program name with args.
  1.5336 +set dummy nmedit; ac_word=$2
  1.5337 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5338 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5339 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  1.5340 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5341 +else
  1.5342 +  if test -n "$ac_ct_NMEDIT"; then
  1.5343 +  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  1.5344 +else
  1.5345 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5346 +for as_dir in $PATH
  1.5347 +do
  1.5348 +  IFS=$as_save_IFS
  1.5349 +  test -z "$as_dir" && as_dir=.
  1.5350 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5351 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5352 +    ac_cv_prog_ac_ct_NMEDIT="nmedit"
  1.5353 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5354 +    break 2
  1.5355 +  fi
  1.5356 +done
  1.5357 +done
  1.5358 +IFS=$as_save_IFS
  1.5359 +
  1.5360 +fi
  1.5361 +fi
  1.5362 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  1.5363 +if test -n "$ac_ct_NMEDIT"; then
  1.5364 +  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  1.5365 +echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
  1.5366 +else
  1.5367 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5368 +echo "${ECHO_T}no" >&6; }
  1.5369 +fi
  1.5370 +
  1.5371 +  if test "x$ac_ct_NMEDIT" = x; then
  1.5372 +    NMEDIT=":"
  1.5373 +  else
  1.5374 +    case $cross_compiling:$ac_tool_warned in
  1.5375 +yes:)
  1.5376 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5377 +whose name does not start with the host triplet.  If you think this
  1.5378 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5379 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5380 +whose name does not start with the host triplet.  If you think this
  1.5381 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5382 +ac_tool_warned=yes ;;
  1.5383 +esac
  1.5384 +    NMEDIT=$ac_ct_NMEDIT
  1.5385 +  fi
  1.5386 +else
  1.5387 +  NMEDIT="$ac_cv_prog_NMEDIT"
  1.5388 +fi
  1.5389 +
  1.5390 +    if test -n "$ac_tool_prefix"; then
  1.5391 +  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  1.5392 +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  1.5393 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5394 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5395 +if test "${ac_cv_prog_LIPO+set}" = set; then
  1.5396 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5397 +else
  1.5398 +  if test -n "$LIPO"; then
  1.5399 +  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  1.5400 +else
  1.5401 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5402 +for as_dir in $PATH
  1.5403 +do
  1.5404 +  IFS=$as_save_IFS
  1.5405 +  test -z "$as_dir" && as_dir=.
  1.5406 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5407 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5408 +    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  1.5409 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5410 +    break 2
  1.5411 +  fi
  1.5412 +done
  1.5413 +done
  1.5414 +IFS=$as_save_IFS
  1.5415 +
  1.5416 +fi
  1.5417 +fi
  1.5418 +LIPO=$ac_cv_prog_LIPO
  1.5419 +if test -n "$LIPO"; then
  1.5420 +  { echo "$as_me:$LINENO: result: $LIPO" >&5
  1.5421 +echo "${ECHO_T}$LIPO" >&6; }
  1.5422 +else
  1.5423 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5424 +echo "${ECHO_T}no" >&6; }
  1.5425 +fi
  1.5426 +
  1.5427 +
  1.5428 +fi
  1.5429 +if test -z "$ac_cv_prog_LIPO"; then
  1.5430 +  ac_ct_LIPO=$LIPO
  1.5431 +  # Extract the first word of "lipo", so it can be a program name with args.
  1.5432 +set dummy lipo; ac_word=$2
  1.5433 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5434 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5435 +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  1.5436 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5437 +else
  1.5438 +  if test -n "$ac_ct_LIPO"; then
  1.5439 +  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  1.5440 +else
  1.5441 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5442 +for as_dir in $PATH
  1.5443 +do
  1.5444 +  IFS=$as_save_IFS
  1.5445 +  test -z "$as_dir" && as_dir=.
  1.5446 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5447 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5448 +    ac_cv_prog_ac_ct_LIPO="lipo"
  1.5449 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5450 +    break 2
  1.5451 +  fi
  1.5452 +done
  1.5453 +done
  1.5454 +IFS=$as_save_IFS
  1.5455 +
  1.5456 +fi
  1.5457 +fi
  1.5458 +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  1.5459 +if test -n "$ac_ct_LIPO"; then
  1.5460 +  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  1.5461 +echo "${ECHO_T}$ac_ct_LIPO" >&6; }
  1.5462 +else
  1.5463 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5464 +echo "${ECHO_T}no" >&6; }
  1.5465 +fi
  1.5466 +
  1.5467 +  if test "x$ac_ct_LIPO" = x; then
  1.5468 +    LIPO=":"
  1.5469 +  else
  1.5470 +    case $cross_compiling:$ac_tool_warned in
  1.5471 +yes:)
  1.5472 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5473 +whose name does not start with the host triplet.  If you think this
  1.5474 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5475 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5476 +whose name does not start with the host triplet.  If you think this
  1.5477 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5478 +ac_tool_warned=yes ;;
  1.5479 +esac
  1.5480 +    LIPO=$ac_ct_LIPO
  1.5481 +  fi
  1.5482 +else
  1.5483 +  LIPO="$ac_cv_prog_LIPO"
  1.5484 +fi
  1.5485 +
  1.5486 +    if test -n "$ac_tool_prefix"; then
  1.5487 +  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  1.5488 +set dummy ${ac_tool_prefix}otool; ac_word=$2
  1.5489 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5490 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5491 +if test "${ac_cv_prog_OTOOL+set}" = set; then
  1.5492 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5493 +else
  1.5494 +  if test -n "$OTOOL"; then
  1.5495 +  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  1.5496 +else
  1.5497 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5498 +for as_dir in $PATH
  1.5499 +do
  1.5500 +  IFS=$as_save_IFS
  1.5501 +  test -z "$as_dir" && as_dir=.
  1.5502 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5503 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5504 +    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  1.5505 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5506 +    break 2
  1.5507 +  fi
  1.5508 +done
  1.5509 +done
  1.5510 +IFS=$as_save_IFS
  1.5511 +
  1.5512 +fi
  1.5513 +fi
  1.5514 +OTOOL=$ac_cv_prog_OTOOL
  1.5515 +if test -n "$OTOOL"; then
  1.5516 +  { echo "$as_me:$LINENO: result: $OTOOL" >&5
  1.5517 +echo "${ECHO_T}$OTOOL" >&6; }
  1.5518 +else
  1.5519 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5520 +echo "${ECHO_T}no" >&6; }
  1.5521 +fi
  1.5522 +
  1.5523 +
  1.5524 +fi
  1.5525 +if test -z "$ac_cv_prog_OTOOL"; then
  1.5526 +  ac_ct_OTOOL=$OTOOL
  1.5527 +  # Extract the first word of "otool", so it can be a program name with args.
  1.5528 +set dummy otool; ac_word=$2
  1.5529 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5530 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5531 +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  1.5532 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5533 +else
  1.5534 +  if test -n "$ac_ct_OTOOL"; then
  1.5535 +  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  1.5536 +else
  1.5537 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5538 +for as_dir in $PATH
  1.5539 +do
  1.5540 +  IFS=$as_save_IFS
  1.5541 +  test -z "$as_dir" && as_dir=.
  1.5542 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5543 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5544 +    ac_cv_prog_ac_ct_OTOOL="otool"
  1.5545 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5546 +    break 2
  1.5547 +  fi
  1.5548 +done
  1.5549 +done
  1.5550 +IFS=$as_save_IFS
  1.5551 +
  1.5552 +fi
  1.5553 +fi
  1.5554 +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  1.5555 +if test -n "$ac_ct_OTOOL"; then
  1.5556 +  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  1.5557 +echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
  1.5558 +else
  1.5559 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5560 +echo "${ECHO_T}no" >&6; }
  1.5561 +fi
  1.5562 +
  1.5563 +  if test "x$ac_ct_OTOOL" = x; then
  1.5564 +    OTOOL=":"
  1.5565 +  else
  1.5566 +    case $cross_compiling:$ac_tool_warned in
  1.5567 +yes:)
  1.5568 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5569 +whose name does not start with the host triplet.  If you think this
  1.5570 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5571 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5572 +whose name does not start with the host triplet.  If you think this
  1.5573 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5574 +ac_tool_warned=yes ;;
  1.5575 +esac
  1.5576 +    OTOOL=$ac_ct_OTOOL
  1.5577 +  fi
  1.5578 +else
  1.5579 +  OTOOL="$ac_cv_prog_OTOOL"
  1.5580 +fi
  1.5581 +
  1.5582 +    if test -n "$ac_tool_prefix"; then
  1.5583 +  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  1.5584 +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  1.5585 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5586 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5587 +if test "${ac_cv_prog_OTOOL64+set}" = set; then
  1.5588 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5589 +else
  1.5590 +  if test -n "$OTOOL64"; then
  1.5591 +  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  1.5592 +else
  1.5593 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5594 +for as_dir in $PATH
  1.5595 +do
  1.5596 +  IFS=$as_save_IFS
  1.5597 +  test -z "$as_dir" && as_dir=.
  1.5598 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5599 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5600 +    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  1.5601 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5602 +    break 2
  1.5603 +  fi
  1.5604 +done
  1.5605 +done
  1.5606 +IFS=$as_save_IFS
  1.5607 +
  1.5608 +fi
  1.5609 +fi
  1.5610 +OTOOL64=$ac_cv_prog_OTOOL64
  1.5611 +if test -n "$OTOOL64"; then
  1.5612 +  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
  1.5613 +echo "${ECHO_T}$OTOOL64" >&6; }
  1.5614 +else
  1.5615 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5616 +echo "${ECHO_T}no" >&6; }
  1.5617 +fi
  1.5618 +
  1.5619 +
  1.5620 +fi
  1.5621 +if test -z "$ac_cv_prog_OTOOL64"; then
  1.5622 +  ac_ct_OTOOL64=$OTOOL64
  1.5623 +  # Extract the first word of "otool64", so it can be a program name with args.
  1.5624 +set dummy otool64; ac_word=$2
  1.5625 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5626 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5627 +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  1.5628 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5629 +else
  1.5630 +  if test -n "$ac_ct_OTOOL64"; then
  1.5631 +  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  1.5632 +else
  1.5633 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5634 +for as_dir in $PATH
  1.5635 +do
  1.5636 +  IFS=$as_save_IFS
  1.5637 +  test -z "$as_dir" && as_dir=.
  1.5638 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5639 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5640 +    ac_cv_prog_ac_ct_OTOOL64="otool64"
  1.5641 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5642 +    break 2
  1.5643 +  fi
  1.5644 +done
  1.5645 +done
  1.5646 +IFS=$as_save_IFS
  1.5647 +
  1.5648 +fi
  1.5649 +fi
  1.5650 +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  1.5651 +if test -n "$ac_ct_OTOOL64"; then
  1.5652 +  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  1.5653 +echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
  1.5654 +else
  1.5655 +  { echo "$as_me:$LINENO: result: no" >&5
  1.5656 +echo "${ECHO_T}no" >&6; }
  1.5657 +fi
  1.5658 +
  1.5659 +  if test "x$ac_ct_OTOOL64" = x; then
  1.5660 +    OTOOL64=":"
  1.5661 +  else
  1.5662 +    case $cross_compiling:$ac_tool_warned in
  1.5663 +yes:)
  1.5664 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5665 +whose name does not start with the host triplet.  If you think this
  1.5666 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5667 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5668 +whose name does not start with the host triplet.  If you think this
  1.5669 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5670 +ac_tool_warned=yes ;;
  1.5671 +esac
  1.5672 +    OTOOL64=$ac_ct_OTOOL64
  1.5673 +  fi
  1.5674 +else
  1.5675 +  OTOOL64="$ac_cv_prog_OTOOL64"
  1.5676 +fi
  1.5677 +
  1.5678 +
  1.5679 +
  1.5680 +
  1.5681 +
  1.5682 +
  1.5683 +
  1.5684 +
  1.5685 +
  1.5686 +
  1.5687 +
  1.5688 +
  1.5689 +
  1.5690 +
  1.5691 +
  1.5692 +
  1.5693 +
  1.5694 +
  1.5695 +
  1.5696 +
  1.5697 +
  1.5698 +
  1.5699 +
  1.5700 +
  1.5701 +
  1.5702 +
  1.5703 +
  1.5704 +    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  1.5705 +echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
  1.5706 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  1.5707 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5708 +else
  1.5709 +  lt_cv_apple_cc_single_mod=no
  1.5710 +      if test -z "${LT_MULTI_MODULE}"; then
  1.5711 +	# By default we will add the -single_module flag. You can override
  1.5712 +	# by either setting the environment variable LT_MULTI_MODULE
  1.5713 +	# non-empty at configure time, or by adding -multi_module to the
  1.5714 +	# link flags.
  1.5715 +	rm -rf libconftest.dylib*
  1.5716 +	echo "int foo(void){return 1;}" > conftest.c
  1.5717 +	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1.5718 +-dynamiclib -Wl,-single_module conftest.c" >&5
  1.5719 +	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1.5720 +	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  1.5721 +        _lt_result=$?
  1.5722 +	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  1.5723 +	  lt_cv_apple_cc_single_mod=yes
  1.5724 +	else
  1.5725 +	  cat conftest.err >&5
  1.5726 +	fi
  1.5727 +	rm -rf libconftest.dylib*
  1.5728 +	rm -f conftest.*
  1.5729 +      fi
  1.5730 +fi
  1.5731 +{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  1.5732 +echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
  1.5733 +    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  1.5734 +echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
  1.5735 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  1.5736 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5737 +else
  1.5738 +  lt_cv_ld_exported_symbols_list=no
  1.5739 +      save_LDFLAGS=$LDFLAGS
  1.5740 +      echo "_main" > conftest.sym
  1.5741 +      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  1.5742 +      cat >conftest.$ac_ext <<_ACEOF
  1.5743 +/* confdefs.h.  */
  1.5744 +_ACEOF
  1.5745 +cat confdefs.h >>conftest.$ac_ext
  1.5746 +cat >>conftest.$ac_ext <<_ACEOF
  1.5747 +/* end confdefs.h.  */
  1.5748 +
  1.5749 +int
  1.5750 +main ()
  1.5751 +{
  1.5752 +
  1.5753 +  ;
  1.5754 +  return 0;
  1.5755 +}
  1.5756 +_ACEOF
  1.5757 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.5758 +if { (ac_try="$ac_link"
  1.5759 +case "(($ac_try" in
  1.5760 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5761 +  *) ac_try_echo=$ac_try;;
  1.5762 +esac
  1.5763 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5764 +  (eval "$ac_link") 2>conftest.er1
  1.5765 +  ac_status=$?
  1.5766 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5767 +  rm -f conftest.er1
  1.5768 +  cat conftest.err >&5
  1.5769 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5770 +  (exit $ac_status); } && {
  1.5771 +	 test -z "$ac_c_werror_flag" ||
  1.5772 +	 test ! -s conftest.err
  1.5773 +       } && test -s conftest$ac_exeext &&
  1.5774 +       $as_test_x conftest$ac_exeext; then
  1.5775 +  lt_cv_ld_exported_symbols_list=yes
  1.5776 +else
  1.5777 +  echo "$as_me: failed program was:" >&5
  1.5778 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5779 +
  1.5780 +	lt_cv_ld_exported_symbols_list=no
  1.5781 +fi
  1.5782 +
  1.5783 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.5784 +      conftest$ac_exeext conftest.$ac_ext
  1.5785 +	LDFLAGS="$save_LDFLAGS"
  1.5786 +
  1.5787 +fi
  1.5788 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  1.5789 +echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
  1.5790 +    case $host_os in
  1.5791 +    rhapsody* | darwin1.[012])
  1.5792 +      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  1.5793 +    darwin1.*)
  1.5794 +      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1.5795 +    darwin*) # darwin 5.x on
  1.5796 +      # if running on 10.5 or later, the deployment target defaults
  1.5797 +      # to the OS version, if on x86, and 10.4, the deployment
  1.5798 +      # target defaults to 10.4. Don't you love it?
  1.5799 +      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  1.5800 +	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  1.5801 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1.5802 +	10.[012]*)
  1.5803 +	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1.5804 +	10.*)
  1.5805 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1.5806 +      esac
  1.5807 +    ;;
  1.5808 +  esac
  1.5809 +    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  1.5810 +      _lt_dar_single_mod='$single_module'
  1.5811 +    fi
  1.5812 +    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  1.5813 +      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  1.5814 +    else
  1.5815 +      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1.5816 +    fi
  1.5817 +    if test "$DSYMUTIL" != ":"; then
  1.5818 +      _lt_dsymutil='~$DSYMUTIL $lib || :'
  1.5819 +    else
  1.5820 +      _lt_dsymutil=
  1.5821 +    fi
  1.5822 +    ;;
  1.5823 +  esac
  1.5824 +
  1.5825 +ac_ext=c
  1.5826 +ac_cpp='$CPP $CPPFLAGS'
  1.5827 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5828 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5829 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.5830 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  1.5831 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  1.5832 +# On Suns, sometimes $CPP names a directory.
  1.5833 +if test -n "$CPP" && test -d "$CPP"; then
  1.5834 +  CPP=
  1.5835 +fi
  1.5836 +if test -z "$CPP"; then
  1.5837 +  if test "${ac_cv_prog_CPP+set}" = set; then
  1.5838 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5839 +else
  1.5840 +      # Double quotes because CPP needs to be expanded
  1.5841 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1.5842 +    do
  1.5843 +      ac_preproc_ok=false
  1.5844 +for ac_c_preproc_warn_flag in '' yes
  1.5845 +do
  1.5846 +  # Use a header file that comes with gcc, so configuring glibc
  1.5847 +  # with a fresh cross-compiler works.
  1.5848 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.5849 +  # <limits.h> exists even on freestanding compilers.
  1.5850 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.5851 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.5852 +  cat >conftest.$ac_ext <<_ACEOF
  1.5853 +/* confdefs.h.  */
  1.5854 +_ACEOF
  1.5855 +cat confdefs.h >>conftest.$ac_ext
  1.5856 +cat >>conftest.$ac_ext <<_ACEOF
  1.5857 +/* end confdefs.h.  */
  1.5858 +#ifdef __STDC__
  1.5859 +# include <limits.h>
  1.5860 +#else
  1.5861 +# include <assert.h>
  1.5862 +#endif
  1.5863 +		     Syntax error
  1.5864 +_ACEOF
  1.5865 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5866 +case "(($ac_try" in
  1.5867 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5868 +  *) ac_try_echo=$ac_try;;
  1.5869 +esac
  1.5870 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5871 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5872 +  ac_status=$?
  1.5873 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5874 +  rm -f conftest.er1
  1.5875 +  cat conftest.err >&5
  1.5876 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5877 +  (exit $ac_status); } >/dev/null && {
  1.5878 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.5879 +	 test ! -s conftest.err
  1.5880 +       }; then
  1.5881 +  :
  1.5882 +else
  1.5883 +  echo "$as_me: failed program was:" >&5
  1.5884 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5885 +
  1.5886 +  # Broken: fails on valid input.
  1.5887 +continue
  1.5888 +fi
  1.5889 +
  1.5890 +rm -f conftest.err conftest.$ac_ext
  1.5891 +
  1.5892 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.5893 +  # can be detected and how.
  1.5894 +  cat >conftest.$ac_ext <<_ACEOF
  1.5895 +/* confdefs.h.  */
  1.5896 +_ACEOF
  1.5897 +cat confdefs.h >>conftest.$ac_ext
  1.5898 +cat >>conftest.$ac_ext <<_ACEOF
  1.5899 +/* end confdefs.h.  */
  1.5900 +#include <ac_nonexistent.h>
  1.5901 +_ACEOF
  1.5902 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5903 +case "(($ac_try" in
  1.5904 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5905 +  *) ac_try_echo=$ac_try;;
  1.5906 +esac
  1.5907 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5908 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5909 +  ac_status=$?
  1.5910 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5911 +  rm -f conftest.er1
  1.5912 +  cat conftest.err >&5
  1.5913 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5914 +  (exit $ac_status); } >/dev/null && {
  1.5915 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.5916 +	 test ! -s conftest.err
  1.5917 +       }; then
  1.5918 +  # Broken: success on invalid input.
  1.5919 +continue
  1.5920 +else
  1.5921 +  echo "$as_me: failed program was:" >&5
  1.5922 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5923 +
  1.5924 +  # Passes both tests.
  1.5925 +ac_preproc_ok=:
  1.5926 +break
  1.5927 +fi
  1.5928 +
  1.5929 +rm -f conftest.err conftest.$ac_ext
  1.5930 +
  1.5931 +done
  1.5932 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.5933 +rm -f conftest.err conftest.$ac_ext
  1.5934 +if $ac_preproc_ok; then
  1.5935 +  break
  1.5936 +fi
  1.5937 +
  1.5938 +    done
  1.5939 +    ac_cv_prog_CPP=$CPP
  1.5940 +
  1.5941 +fi
  1.5942 +  CPP=$ac_cv_prog_CPP
  1.5943 +else
  1.5944 +  ac_cv_prog_CPP=$CPP
  1.5945 +fi
  1.5946 +{ echo "$as_me:$LINENO: result: $CPP" >&5
  1.5947 +echo "${ECHO_T}$CPP" >&6; }
  1.5948 +ac_preproc_ok=false
  1.5949 +for ac_c_preproc_warn_flag in '' yes
  1.5950 +do
  1.5951 +  # Use a header file that comes with gcc, so configuring glibc
  1.5952 +  # with a fresh cross-compiler works.
  1.5953 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.5954 +  # <limits.h> exists even on freestanding compilers.
  1.5955 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.5956 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.5957 +  cat >conftest.$ac_ext <<_ACEOF
  1.5958 +/* confdefs.h.  */
  1.5959 +_ACEOF
  1.5960 +cat confdefs.h >>conftest.$ac_ext
  1.5961 +cat >>conftest.$ac_ext <<_ACEOF
  1.5962 +/* end confdefs.h.  */
  1.5963 +#ifdef __STDC__
  1.5964 +# include <limits.h>
  1.5965 +#else
  1.5966 +# include <assert.h>
  1.5967 +#endif
  1.5968 +		     Syntax error
  1.5969 +_ACEOF
  1.5970 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5971 +case "(($ac_try" in
  1.5972 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5973 +  *) ac_try_echo=$ac_try;;
  1.5974 +esac
  1.5975 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5976 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5977 +  ac_status=$?
  1.5978 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5979 +  rm -f conftest.er1
  1.5980 +  cat conftest.err >&5
  1.5981 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5982 +  (exit $ac_status); } >/dev/null && {
  1.5983 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.5984 +	 test ! -s conftest.err
  1.5985 +       }; then
  1.5986 +  :
  1.5987 +else
  1.5988 +  echo "$as_me: failed program was:" >&5
  1.5989 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5990 +
  1.5991 +  # Broken: fails on valid input.
  1.5992 +continue
  1.5993 +fi
  1.5994 +
  1.5995 +rm -f conftest.err conftest.$ac_ext
  1.5996 +
  1.5997 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.5998 +  # can be detected and how.
  1.5999 +  cat >conftest.$ac_ext <<_ACEOF
  1.6000 +/* confdefs.h.  */
  1.6001 +_ACEOF
  1.6002 +cat confdefs.h >>conftest.$ac_ext
  1.6003 +cat >>conftest.$ac_ext <<_ACEOF
  1.6004 +/* end confdefs.h.  */
  1.6005 +#include <ac_nonexistent.h>
  1.6006 +_ACEOF
  1.6007 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.6008 +case "(($ac_try" in
  1.6009 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6010 +  *) ac_try_echo=$ac_try;;
  1.6011 +esac
  1.6012 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6013 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.6014 +  ac_status=$?
  1.6015 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.6016 +  rm -f conftest.er1
  1.6017 +  cat conftest.err >&5
  1.6018 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6019 +  (exit $ac_status); } >/dev/null && {
  1.6020 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.6021 +	 test ! -s conftest.err
  1.6022 +       }; then
  1.6023 +  # Broken: success on invalid input.
  1.6024 +continue
  1.6025 +else
  1.6026 +  echo "$as_me: failed program was:" >&5
  1.6027 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6028 +
  1.6029 +  # Passes both tests.
  1.6030 +ac_preproc_ok=:
  1.6031 +break
  1.6032 +fi
  1.6033 +
  1.6034 +rm -f conftest.err conftest.$ac_ext
  1.6035 +
  1.6036 +done
  1.6037 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.6038 +rm -f conftest.err conftest.$ac_ext
  1.6039 +if $ac_preproc_ok; then
  1.6040 +  :
  1.6041 +else
  1.6042 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  1.6043 +See \`config.log' for more details." >&5
  1.6044 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  1.6045 +See \`config.log' for more details." >&2;}
  1.6046 +   { (exit 1); exit 1; }; }
  1.6047 +fi
  1.6048 +
  1.6049 +ac_ext=c
  1.6050 +ac_cpp='$CPP $CPPFLAGS'
  1.6051 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.6052 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.6053 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.6054 +
  1.6055 +
  1.6056 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  1.6057 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  1.6058 +if test "${ac_cv_header_stdc+set}" = set; then
  1.6059 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6060 +else
  1.6061 +  cat >conftest.$ac_ext <<_ACEOF
  1.6062 +/* confdefs.h.  */
  1.6063 +_ACEOF
  1.6064 +cat confdefs.h >>conftest.$ac_ext
  1.6065 +cat >>conftest.$ac_ext <<_ACEOF
  1.6066 +/* end confdefs.h.  */
  1.6067 +#include <stdlib.h>
  1.6068 +#include <stdarg.h>
  1.6069 +#include <string.h>
  1.6070 +#include <float.h>
  1.6071 +
  1.6072 +int
  1.6073 +main ()
  1.6074 +{
  1.6075 +
  1.6076 +  ;
  1.6077 +  return 0;
  1.6078 +}
  1.6079 +_ACEOF
  1.6080 +rm -f conftest.$ac_objext
  1.6081 +if { (ac_try="$ac_compile"
  1.6082 +case "(($ac_try" in
  1.6083 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6084 +  *) ac_try_echo=$ac_try;;
  1.6085 +esac
  1.6086 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6087 +  (eval "$ac_compile") 2>conftest.er1
  1.6088 +  ac_status=$?
  1.6089 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.6090 +  rm -f conftest.er1
  1.6091 +  cat conftest.err >&5
  1.6092 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6093 +  (exit $ac_status); } && {
  1.6094 +	 test -z "$ac_c_werror_flag" ||
  1.6095 +	 test ! -s conftest.err
  1.6096 +       } && test -s conftest.$ac_objext; then
  1.6097 +  ac_cv_header_stdc=yes
  1.6098 +else
  1.6099 +  echo "$as_me: failed program was:" >&5
  1.6100 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6101 +
  1.6102 +	ac_cv_header_stdc=no
  1.6103 +fi
  1.6104 +
  1.6105 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6106 +
  1.6107 +if test $ac_cv_header_stdc = yes; then
  1.6108 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1.6109 +  cat >conftest.$ac_ext <<_ACEOF
  1.6110 +/* confdefs.h.  */
  1.6111 +_ACEOF
  1.6112 +cat confdefs.h >>conftest.$ac_ext
  1.6113 +cat >>conftest.$ac_ext <<_ACEOF
  1.6114 +/* end confdefs.h.  */
  1.6115 +#include <string.h>
  1.6116 +
  1.6117 +_ACEOF
  1.6118 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.6119 +  $EGREP "memchr" >/dev/null 2>&1; then
  1.6120 +  :
  1.6121 +else
  1.6122 +  ac_cv_header_stdc=no
  1.6123 +fi
  1.6124 +rm -f -r conftest*
  1.6125 +
  1.6126 +fi
  1.6127 +
  1.6128 +if test $ac_cv_header_stdc = yes; then
  1.6129 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1.6130 +  cat >conftest.$ac_ext <<_ACEOF
  1.6131 +/* confdefs.h.  */
  1.6132 +_ACEOF
  1.6133 +cat confdefs.h >>conftest.$ac_ext
  1.6134 +cat >>conftest.$ac_ext <<_ACEOF
  1.6135 +/* end confdefs.h.  */
  1.6136 +#include <stdlib.h>
  1.6137 +
  1.6138 +_ACEOF
  1.6139 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.6140 +  $EGREP "free" >/dev/null 2>&1; then
  1.6141 +  :
  1.6142 +else
  1.6143 +  ac_cv_header_stdc=no
  1.6144 +fi
  1.6145 +rm -f -r conftest*
  1.6146 +
  1.6147 +fi
  1.6148 +
  1.6149 +if test $ac_cv_header_stdc = yes; then
  1.6150 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1.6151 +  if test "$cross_compiling" = yes; then
  1.6152 +  :
  1.6153 +else
  1.6154 +  cat >conftest.$ac_ext <<_ACEOF
  1.6155 +/* confdefs.h.  */
  1.6156 +_ACEOF
  1.6157 +cat confdefs.h >>conftest.$ac_ext
  1.6158 +cat >>conftest.$ac_ext <<_ACEOF
  1.6159 +/* end confdefs.h.  */
  1.6160 +#include <ctype.h>
  1.6161 +#include <stdlib.h>
  1.6162 +#if ((' ' & 0x0FF) == 0x020)
  1.6163 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1.6164 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1.6165 +#else
  1.6166 +# define ISLOWER(c) \
  1.6167 +		   (('a' <= (c) && (c) <= 'i') \
  1.6168 +		     || ('j' <= (c) && (c) <= 'r') \
  1.6169 +		     || ('s' <= (c) && (c) <= 'z'))
  1.6170 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  1.6171 +#endif
  1.6172 +
  1.6173 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1.6174 +int
  1.6175 +main ()
  1.6176 +{
  1.6177 +  int i;
  1.6178 +  for (i = 0; i < 256; i++)
  1.6179 +    if (XOR (islower (i), ISLOWER (i))
  1.6180 +	|| toupper (i) != TOUPPER (i))
  1.6181 +      return 2;
  1.6182 +  return 0;
  1.6183 +}
  1.6184 +_ACEOF
  1.6185 +rm -f conftest$ac_exeext
  1.6186 +if { (ac_try="$ac_link"
  1.6187 +case "(($ac_try" in
  1.6188 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6189 +  *) ac_try_echo=$ac_try;;
  1.6190 +esac
  1.6191 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6192 +  (eval "$ac_link") 2>&5
  1.6193 +  ac_status=$?
  1.6194 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6195 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  1.6196 +  { (case "(($ac_try" in
  1.6197 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6198 +  *) ac_try_echo=$ac_try;;
  1.6199 +esac
  1.6200 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6201 +  (eval "$ac_try") 2>&5
  1.6202 +  ac_status=$?
  1.6203 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6204 +  (exit $ac_status); }; }; then
  1.6205 +  :
  1.6206 +else
  1.6207 +  echo "$as_me: program exited with status $ac_status" >&5
  1.6208 +echo "$as_me: failed program was:" >&5
  1.6209 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6210 +
  1.6211 +( exit $ac_status )
  1.6212 +ac_cv_header_stdc=no
  1.6213 +fi
  1.6214 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  1.6215 +fi
  1.6216 +
  1.6217 +
  1.6218 +fi
  1.6219 +fi
  1.6220 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  1.6221 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  1.6222 +if test $ac_cv_header_stdc = yes; then
  1.6223 +
  1.6224 +cat >>confdefs.h <<\_ACEOF
  1.6225 +#define STDC_HEADERS 1
  1.6226 +_ACEOF
  1.6227 +
  1.6228 +fi
  1.6229 +
  1.6230 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  1.6231 +
  1.6232 +
  1.6233 +
  1.6234 +
  1.6235 +
  1.6236 +
  1.6237 +
  1.6238 +
  1.6239 +
  1.6240 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  1.6241 +		  inttypes.h stdint.h unistd.h
  1.6242 +do
  1.6243 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.6244 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  1.6245 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  1.6246 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  1.6247 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6248 +else
  1.6249 +  cat >conftest.$ac_ext <<_ACEOF
  1.6250 +/* confdefs.h.  */
  1.6251 +_ACEOF
  1.6252 +cat confdefs.h >>conftest.$ac_ext
  1.6253 +cat >>conftest.$ac_ext <<_ACEOF
  1.6254 +/* end confdefs.h.  */
  1.6255 +$ac_includes_default
  1.6256 +
  1.6257 +#include <$ac_header>
  1.6258 +_ACEOF
  1.6259 +rm -f conftest.$ac_objext
  1.6260 +if { (ac_try="$ac_compile"
  1.6261 +case "(($ac_try" in
  1.6262 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6263 +  *) ac_try_echo=$ac_try;;
  1.6264 +esac
  1.6265 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6266 +  (eval "$ac_compile") 2>conftest.er1
  1.6267 +  ac_status=$?
  1.6268 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.6269 +  rm -f conftest.er1
  1.6270 +  cat conftest.err >&5
  1.6271 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6272 +  (exit $ac_status); } && {
  1.6273 +	 test -z "$ac_c_werror_flag" ||
  1.6274 +	 test ! -s conftest.err
  1.6275 +       } && test -s conftest.$ac_objext; then
  1.6276 +  eval "$as_ac_Header=yes"
  1.6277 +else
  1.6278 +  echo "$as_me: failed program was:" >&5
  1.6279 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6280 +
  1.6281 +	eval "$as_ac_Header=no"
  1.6282 +fi
  1.6283 +
  1.6284 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6285 +fi
  1.6286 +ac_res=`eval echo '${'$as_ac_Header'}'`
  1.6287 +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  1.6288 +echo "${ECHO_T}$ac_res" >&6; }
  1.6289 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
  1.6290 +  cat >>confdefs.h <<_ACEOF
  1.6291 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.6292 +_ACEOF
  1.6293 +
  1.6294 +fi
  1.6295 +
  1.6296 +done
  1.6297 +
  1.6298 +
  1.6299 +
  1.6300 +for ac_header in dlfcn.h
  1.6301 +do
  1.6302 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.6303 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  1.6304 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  1.6305 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  1.6306 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6307 +else
  1.6308 +  cat >conftest.$ac_ext <<_ACEOF
  1.6309 +/* confdefs.h.  */
  1.6310 +_ACEOF
  1.6311 +cat confdefs.h >>conftest.$ac_ext
  1.6312 +cat >>conftest.$ac_ext <<_ACEOF
  1.6313 +/* end confdefs.h.  */
  1.6314 +$ac_includes_default
  1.6315 +
  1.6316 +#include <$ac_header>
  1.6317 +_ACEOF
  1.6318 +rm -f conftest.$ac_objext
  1.6319 +if { (ac_try="$ac_compile"
  1.6320 +case "(($ac_try" in
  1.6321 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6322 +  *) ac_try_echo=$ac_try;;
  1.6323 +esac
  1.6324 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6325 +  (eval "$ac_compile") 2>conftest.er1
  1.6326 +  ac_status=$?
  1.6327 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.6328 +  rm -f conftest.er1
  1.6329 +  cat conftest.err >&5
  1.6330 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6331 +  (exit $ac_status); } && {
  1.6332 +	 test -z "$ac_c_werror_flag" ||
  1.6333 +	 test ! -s conftest.err
  1.6334 +       } && test -s conftest.$ac_objext; then
  1.6335 +  eval "$as_ac_Header=yes"
  1.6336 +else
  1.6337 +  echo "$as_me: failed program was:" >&5
  1.6338 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6339 +
  1.6340 +	eval "$as_ac_Header=no"
  1.6341 +fi
  1.6342 +
  1.6343 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6344 +fi
  1.6345 +ac_res=`eval echo '${'$as_ac_Header'}'`
  1.6346 +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  1.6347 +echo "${ECHO_T}$ac_res" >&6; }
  1.6348 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
  1.6349 +  cat >>confdefs.h <<_ACEOF
  1.6350 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.6351 +_ACEOF
  1.6352 +
  1.6353 +fi
  1.6354 +
  1.6355 +done
  1.6356 +
  1.6357 +
  1.6358 +
  1.6359 +# Set options
  1.6360 +enable_win32_dll=yes
  1.6361 +
  1.6362 +case $host in
  1.6363 +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  1.6364 +  if test -n "$ac_tool_prefix"; then
  1.6365 +  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  1.6366 +set dummy ${ac_tool_prefix}as; ac_word=$2
  1.6367 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6368 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6369 +if test "${ac_cv_prog_AS+set}" = set; then
  1.6370 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6371 +else
  1.6372 +  if test -n "$AS"; then
  1.6373 +  ac_cv_prog_AS="$AS" # Let the user override the test.
  1.6374 +else
  1.6375 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6376 +for as_dir in $PATH
  1.6377 +do
  1.6378 +  IFS=$as_save_IFS
  1.6379 +  test -z "$as_dir" && as_dir=.
  1.6380 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6381 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6382 +    ac_cv_prog_AS="${ac_tool_prefix}as"
  1.6383 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6384 +    break 2
  1.6385 +  fi
  1.6386 +done
  1.6387 +done
  1.6388 +IFS=$as_save_IFS
  1.6389 +
  1.6390 +fi
  1.6391 +fi
  1.6392 +AS=$ac_cv_prog_AS
  1.6393 +if test -n "$AS"; then
  1.6394 +  { echo "$as_me:$LINENO: result: $AS" >&5
  1.6395 +echo "${ECHO_T}$AS" >&6; }
  1.6396 +else
  1.6397 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6398 +echo "${ECHO_T}no" >&6; }
  1.6399 +fi
  1.6400 +
  1.6401 +
  1.6402 +fi
  1.6403 +if test -z "$ac_cv_prog_AS"; then
  1.6404 +  ac_ct_AS=$AS
  1.6405 +  # Extract the first word of "as", so it can be a program name with args.
  1.6406 +set dummy as; ac_word=$2
  1.6407 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6408 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6409 +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
  1.6410 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6411 +else
  1.6412 +  if test -n "$ac_ct_AS"; then
  1.6413 +  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  1.6414 +else
  1.6415 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6416 +for as_dir in $PATH
  1.6417 +do
  1.6418 +  IFS=$as_save_IFS
  1.6419 +  test -z "$as_dir" && as_dir=.
  1.6420 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6421 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6422 +    ac_cv_prog_ac_ct_AS="as"
  1.6423 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6424 +    break 2
  1.6425 +  fi
  1.6426 +done
  1.6427 +done
  1.6428 +IFS=$as_save_IFS
  1.6429 +
  1.6430 +fi
  1.6431 +fi
  1.6432 +ac_ct_AS=$ac_cv_prog_ac_ct_AS
  1.6433 +if test -n "$ac_ct_AS"; then
  1.6434 +  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
  1.6435 +echo "${ECHO_T}$ac_ct_AS" >&6; }
  1.6436 +else
  1.6437 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6438 +echo "${ECHO_T}no" >&6; }
  1.6439 +fi
  1.6440 +
  1.6441 +  if test "x$ac_ct_AS" = x; then
  1.6442 +    AS="false"
  1.6443 +  else
  1.6444 +    case $cross_compiling:$ac_tool_warned in
  1.6445 +yes:)
  1.6446 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6447 +whose name does not start with the host triplet.  If you think this
  1.6448 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6449 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6450 +whose name does not start with the host triplet.  If you think this
  1.6451 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6452 +ac_tool_warned=yes ;;
  1.6453 +esac
  1.6454 +    AS=$ac_ct_AS
  1.6455 +  fi
  1.6456 +else
  1.6457 +  AS="$ac_cv_prog_AS"
  1.6458 +fi
  1.6459 +
  1.6460 +  if test -n "$ac_tool_prefix"; then
  1.6461 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  1.6462 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  1.6463 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6464 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6465 +if test "${ac_cv_prog_DLLTOOL+set}" = set; then
  1.6466 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6467 +else
  1.6468 +  if test -n "$DLLTOOL"; then
  1.6469 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  1.6470 +else
  1.6471 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6472 +for as_dir in $PATH
  1.6473 +do
  1.6474 +  IFS=$as_save_IFS
  1.6475 +  test -z "$as_dir" && as_dir=.
  1.6476 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6477 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6478 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  1.6479 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6480 +    break 2
  1.6481 +  fi
  1.6482 +done
  1.6483 +done
  1.6484 +IFS=$as_save_IFS
  1.6485 +
  1.6486 +fi
  1.6487 +fi
  1.6488 +DLLTOOL=$ac_cv_prog_DLLTOOL
  1.6489 +if test -n "$DLLTOOL"; then
  1.6490 +  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
  1.6491 +echo "${ECHO_T}$DLLTOOL" >&6; }
  1.6492 +else
  1.6493 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6494 +echo "${ECHO_T}no" >&6; }
  1.6495 +fi
  1.6496 +
  1.6497 +
  1.6498 +fi
  1.6499 +if test -z "$ac_cv_prog_DLLTOOL"; then
  1.6500 +  ac_ct_DLLTOOL=$DLLTOOL
  1.6501 +  # Extract the first word of "dlltool", so it can be a program name with args.
  1.6502 +set dummy dlltool; ac_word=$2
  1.6503 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6504 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6505 +if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
  1.6506 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6507 +else
  1.6508 +  if test -n "$ac_ct_DLLTOOL"; then
  1.6509 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  1.6510 +else
  1.6511 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6512 +for as_dir in $PATH
  1.6513 +do
  1.6514 +  IFS=$as_save_IFS
  1.6515 +  test -z "$as_dir" && as_dir=.
  1.6516 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6517 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6518 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  1.6519 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6520 +    break 2
  1.6521 +  fi
  1.6522 +done
  1.6523 +done
  1.6524 +IFS=$as_save_IFS
  1.6525 +
  1.6526 +fi
  1.6527 +fi
  1.6528 +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  1.6529 +if test -n "$ac_ct_DLLTOOL"; then
  1.6530 +  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
  1.6531 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
  1.6532 +else
  1.6533 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6534 +echo "${ECHO_T}no" >&6; }
  1.6535 +fi
  1.6536 +
  1.6537 +  if test "x$ac_ct_DLLTOOL" = x; then
  1.6538 +    DLLTOOL="false"
  1.6539 +  else
  1.6540 +    case $cross_compiling:$ac_tool_warned in
  1.6541 +yes:)
  1.6542 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6543 +whose name does not start with the host triplet.  If you think this
  1.6544 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6545 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6546 +whose name does not start with the host triplet.  If you think this
  1.6547 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6548 +ac_tool_warned=yes ;;
  1.6549 +esac
  1.6550 +    DLLTOOL=$ac_ct_DLLTOOL
  1.6551 +  fi
  1.6552 +else
  1.6553 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
  1.6554 +fi
  1.6555 +
  1.6556 +  if test -n "$ac_tool_prefix"; then
  1.6557 +  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  1.6558 +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  1.6559 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6560 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6561 +if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  1.6562 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6563 +else
  1.6564 +  if test -n "$OBJDUMP"; then
  1.6565 +  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  1.6566 +else
  1.6567 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6568 +for as_dir in $PATH
  1.6569 +do
  1.6570 +  IFS=$as_save_IFS
  1.6571 +  test -z "$as_dir" && as_dir=.
  1.6572 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6573 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6574 +    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  1.6575 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6576 +    break 2
  1.6577 +  fi
  1.6578 +done
  1.6579 +done
  1.6580 +IFS=$as_save_IFS
  1.6581 +
  1.6582 +fi
  1.6583 +fi
  1.6584 +OBJDUMP=$ac_cv_prog_OBJDUMP
  1.6585 +if test -n "$OBJDUMP"; then
  1.6586 +  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  1.6587 +echo "${ECHO_T}$OBJDUMP" >&6; }
  1.6588 +else
  1.6589 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6590 +echo "${ECHO_T}no" >&6; }
  1.6591 +fi
  1.6592 +
  1.6593 +
  1.6594 +fi
  1.6595 +if test -z "$ac_cv_prog_OBJDUMP"; then
  1.6596 +  ac_ct_OBJDUMP=$OBJDUMP
  1.6597 +  # Extract the first word of "objdump", so it can be a program name with args.
  1.6598 +set dummy objdump; ac_word=$2
  1.6599 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6600 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6601 +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  1.6602 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6603 +else
  1.6604 +  if test -n "$ac_ct_OBJDUMP"; then
  1.6605 +  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  1.6606 +else
  1.6607 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6608 +for as_dir in $PATH
  1.6609 +do
  1.6610 +  IFS=$as_save_IFS
  1.6611 +  test -z "$as_dir" && as_dir=.
  1.6612 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6613 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6614 +    ac_cv_prog_ac_ct_OBJDUMP="objdump"
  1.6615 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6616 +    break 2
  1.6617 +  fi
  1.6618 +done
  1.6619 +done
  1.6620 +IFS=$as_save_IFS
  1.6621 +
  1.6622 +fi
  1.6623 +fi
  1.6624 +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  1.6625 +if test -n "$ac_ct_OBJDUMP"; then
  1.6626 +  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  1.6627 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
  1.6628 +else
  1.6629 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6630 +echo "${ECHO_T}no" >&6; }
  1.6631 +fi
  1.6632 +
  1.6633 +  if test "x$ac_ct_OBJDUMP" = x; then
  1.6634 +    OBJDUMP="false"
  1.6635 +  else
  1.6636 +    case $cross_compiling:$ac_tool_warned in
  1.6637 +yes:)
  1.6638 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6639 +whose name does not start with the host triplet.  If you think this
  1.6640 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6641 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6642 +whose name does not start with the host triplet.  If you think this
  1.6643 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6644 +ac_tool_warned=yes ;;
  1.6645 +esac
  1.6646 +    OBJDUMP=$ac_ct_OBJDUMP
  1.6647 +  fi
  1.6648 +else
  1.6649 +  OBJDUMP="$ac_cv_prog_OBJDUMP"
  1.6650 +fi
  1.6651 +
  1.6652 +  ;;
  1.6653 +esac
  1.6654 +
  1.6655 +test -z "$AS" && AS=as
  1.6656 +
  1.6657 +
  1.6658 +
  1.6659 +
  1.6660 +
  1.6661 +test -z "$DLLTOOL" && DLLTOOL=dlltool
  1.6662 +
  1.6663 +
  1.6664 +
  1.6665 +
  1.6666 +
  1.6667 +test -z "$OBJDUMP" && OBJDUMP=objdump
  1.6668 +
  1.6669 +
  1.6670 +
  1.6671 +
  1.6672 +
  1.6673 +
  1.6674 +
  1.6675 +        enable_dlopen=no
  1.6676 +
  1.6677 +
  1.6678 +
  1.6679 +            # Check whether --enable-shared was given.
  1.6680 +if test "${enable_shared+set}" = set; then
  1.6681 +  enableval=$enable_shared; p=${PACKAGE-default}
  1.6682 +    case $enableval in
  1.6683 +    yes) enable_shared=yes ;;
  1.6684 +    no) enable_shared=no ;;
  1.6685 +    *)
  1.6686 +      enable_shared=no
  1.6687 +      # Look at the argument we got.  We use all the common list separators.
  1.6688 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.6689 +      for pkg in $enableval; do
  1.6690 +	IFS="$lt_save_ifs"
  1.6691 +	if test "X$pkg" = "X$p"; then
  1.6692 +	  enable_shared=yes
  1.6693 +	fi
  1.6694 +      done
  1.6695 +      IFS="$lt_save_ifs"
  1.6696 +      ;;
  1.6697 +    esac
  1.6698 +else
  1.6699 +  enable_shared=yes
  1.6700 +fi
  1.6701 +
  1.6702 +
  1.6703 +
  1.6704 +
  1.6705 +
  1.6706 +
  1.6707 +
  1.6708 +
  1.6709 +
  1.6710 +  # Check whether --enable-static was given.
  1.6711 +if test "${enable_static+set}" = set; then
  1.6712 +  enableval=$enable_static; p=${PACKAGE-default}
  1.6713 +    case $enableval in
  1.6714 +    yes) enable_static=yes ;;
  1.6715 +    no) enable_static=no ;;
  1.6716 +    *)
  1.6717 +     enable_static=no
  1.6718 +      # Look at the argument we got.  We use all the common list separators.
  1.6719 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.6720 +      for pkg in $enableval; do
  1.6721 +	IFS="$lt_save_ifs"
  1.6722 +	if test "X$pkg" = "X$p"; then
  1.6723 +	  enable_static=yes
  1.6724 +	fi
  1.6725 +      done
  1.6726 +      IFS="$lt_save_ifs"
  1.6727 +      ;;
  1.6728 +    esac
  1.6729 +else
  1.6730 +  enable_static=yes
  1.6731 +fi
  1.6732 +
  1.6733 +
  1.6734 +
  1.6735 +
  1.6736 +
  1.6737 +
  1.6738 +
  1.6739 +
  1.6740 +
  1.6741 +
  1.6742 +# Check whether --with-pic was given.
  1.6743 +if test "${with_pic+set}" = set; then
  1.6744 +  withval=$with_pic; pic_mode="$withval"
  1.6745 +else
  1.6746 +  pic_mode=default
  1.6747 +fi
  1.6748 +
  1.6749 +
  1.6750 +test -z "$pic_mode" && pic_mode=default
  1.6751 +
  1.6752 +
  1.6753 +
  1.6754 +
  1.6755 +
  1.6756 +
  1.6757 +
  1.6758 +  # Check whether --enable-fast-install was given.
  1.6759 +if test "${enable_fast_install+set}" = set; then
  1.6760 +  enableval=$enable_fast_install; p=${PACKAGE-default}
  1.6761 +    case $enableval in
  1.6762 +    yes) enable_fast_install=yes ;;
  1.6763 +    no) enable_fast_install=no ;;
  1.6764 +    *)
  1.6765 +      enable_fast_install=no
  1.6766 +      # Look at the argument we got.  We use all the common list separators.
  1.6767 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.6768 +      for pkg in $enableval; do
  1.6769 +	IFS="$lt_save_ifs"
  1.6770 +	if test "X$pkg" = "X$p"; then
  1.6771 +	  enable_fast_install=yes
  1.6772 +	fi
  1.6773 +      done
  1.6774 +      IFS="$lt_save_ifs"
  1.6775 +      ;;
  1.6776 +    esac
  1.6777 +else
  1.6778 +  enable_fast_install=yes
  1.6779 +fi
  1.6780 +
  1.6781 +
  1.6782 +
  1.6783 +
  1.6784 +
  1.6785 +
  1.6786 +
  1.6787 +
  1.6788 +
  1.6789 +
  1.6790 +
  1.6791 +# This can be used to rebuild libtool when needed
  1.6792 +LIBTOOL_DEPS="$ltmain"
  1.6793 +
  1.6794 +# Always use our own libtool.
  1.6795 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  1.6796 +
  1.6797 +
  1.6798 +
  1.6799 +
  1.6800 +
  1.6801 +
  1.6802 +
  1.6803 +
  1.6804 +
  1.6805 +
  1.6806 +
  1.6807 +
  1.6808 +
  1.6809 +
  1.6810 +
  1.6811 +
  1.6812 +
  1.6813 +
  1.6814 +
  1.6815 +
  1.6816 +
  1.6817 +
  1.6818 +
  1.6819 +
  1.6820 +
  1.6821 +test -z "$LN_S" && LN_S="ln -s"
  1.6822 +
  1.6823 +
  1.6824 +
  1.6825 +
  1.6826 +
  1.6827 +
  1.6828 +
  1.6829 +
  1.6830 +
  1.6831 +
  1.6832 +
  1.6833 +
  1.6834 +
  1.6835 +
  1.6836 +if test -n "${ZSH_VERSION+set}" ; then
  1.6837 +   setopt NO_GLOB_SUBST
  1.6838 +fi
  1.6839 +
  1.6840 +{ echo "$as_me:$LINENO: checking for objdir" >&5
  1.6841 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
  1.6842 +if test "${lt_cv_objdir+set}" = set; then
  1.6843 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6844 +else
  1.6845 +  rm -f .libs 2>/dev/null
  1.6846 +mkdir .libs 2>/dev/null
  1.6847 +if test -d .libs; then
  1.6848 +  lt_cv_objdir=.libs
  1.6849 +else
  1.6850 +  # MS-DOS does not allow filenames that begin with a dot.
  1.6851 +  lt_cv_objdir=_libs
  1.6852 +fi
  1.6853 +rmdir .libs 2>/dev/null
  1.6854 +fi
  1.6855 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  1.6856 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
  1.6857 +objdir=$lt_cv_objdir
  1.6858 +
  1.6859 +
  1.6860 +
  1.6861 +
  1.6862 +
  1.6863 +cat >>confdefs.h <<_ACEOF
  1.6864 +#define LT_OBJDIR "$lt_cv_objdir/"
  1.6865 +_ACEOF
  1.6866 +
  1.6867 +
  1.6868 +
  1.6869 +
  1.6870 +
  1.6871 +
  1.6872 +
  1.6873 +
  1.6874 +
  1.6875 +
  1.6876 +
  1.6877 +
  1.6878 +
  1.6879 +
  1.6880 +
  1.6881 +
  1.6882 +
  1.6883 +case $host_os in
  1.6884 +aix3*)
  1.6885 +  # AIX sometimes has problems with the GCC collect2 program.  For some
  1.6886 +  # reason, if we set the COLLECT_NAMES environment variable, the problems
  1.6887 +  # vanish in a puff of smoke.
  1.6888 +  if test "X${COLLECT_NAMES+set}" != Xset; then
  1.6889 +    COLLECT_NAMES=
  1.6890 +    export COLLECT_NAMES
  1.6891 +  fi
  1.6892 +  ;;
  1.6893 +esac
  1.6894 +
  1.6895 +# Sed substitution that helps us do robust quoting.  It backslashifies
  1.6896 +# metacharacters that are still active within double-quoted strings.
  1.6897 +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  1.6898 +
  1.6899 +# Same as above, but do not quote variable references.
  1.6900 +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  1.6901 +
  1.6902 +# Sed substitution to delay expansion of an escaped shell variable in a
  1.6903 +# double_quote_subst'ed string.
  1.6904 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  1.6905 +
  1.6906 +# Sed substitution to delay expansion of an escaped single quote.
  1.6907 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  1.6908 +
  1.6909 +# Sed substitution to avoid accidental globbing in evaled expressions
  1.6910 +no_glob_subst='s/\*/\\\*/g'
  1.6911 +
  1.6912 +# Global variables:
  1.6913 +ofile=libtool
  1.6914 +can_build_shared=yes
  1.6915 +
  1.6916 +# All known linkers require a `.a' archive for static linking (except MSVC,
  1.6917 +# which needs '.lib').
  1.6918 +libext=a
  1.6919 +
  1.6920 +with_gnu_ld="$lt_cv_prog_gnu_ld"
  1.6921 +
  1.6922 +old_CC="$CC"
  1.6923 +old_CFLAGS="$CFLAGS"
  1.6924 +
  1.6925 +# Set sane defaults for various variables
  1.6926 +test -z "$CC" && CC=cc
  1.6927 +test -z "$LTCC" && LTCC=$CC
  1.6928 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  1.6929 +test -z "$LD" && LD=ld
  1.6930 +test -z "$ac_objext" && ac_objext=o
  1.6931 +
  1.6932 +for cc_temp in $compiler""; do
  1.6933 +  case $cc_temp in
  1.6934 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  1.6935 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  1.6936 +    \-*) ;;
  1.6937 +    *) break;;
  1.6938 +  esac
  1.6939 +done
  1.6940 +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  1.6941 +
  1.6942 +
  1.6943 +# Only perform the check for file, if the check method requires it
  1.6944 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  1.6945 +case $deplibs_check_method in
  1.6946 +file_magic*)
  1.6947 +  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  1.6948 +    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  1.6949 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
  1.6950 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  1.6951 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6952 +else
  1.6953 +  case $MAGIC_CMD in
  1.6954 +[\\/*] |  ?:[\\/]*)
  1.6955 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  1.6956 +  ;;
  1.6957 +*)
  1.6958 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  1.6959 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.6960 +  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  1.6961 +  for ac_dir in $ac_dummy; do
  1.6962 +    IFS="$lt_save_ifs"
  1.6963 +    test -z "$ac_dir" && ac_dir=.
  1.6964 +    if test -f $ac_dir/${ac_tool_prefix}file; then
  1.6965 +      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  1.6966 +      if test -n "$file_magic_test_file"; then
  1.6967 +	case $deplibs_check_method in
  1.6968 +	"file_magic "*)
  1.6969 +	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  1.6970 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.6971 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  1.6972 +	    $EGREP "$file_magic_regex" > /dev/null; then
  1.6973 +	    :
  1.6974 +	  else
  1.6975 +	    cat <<_LT_EOF 1>&2
  1.6976 +
  1.6977 +*** Warning: the command libtool uses to detect shared libraries,
  1.6978 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  1.6979 +*** The result is that libtool may fail to recognize shared libraries
  1.6980 +*** as such.  This will affect the creation of libtool libraries that
  1.6981 +*** depend on shared libraries, but programs linked with such libtool
  1.6982 +*** libraries will work regardless of this problem.  Nevertheless, you
  1.6983 +*** may want to report the problem to your system manager and/or to
  1.6984 +*** bug-libtool@gnu.org
  1.6985 +
  1.6986 +_LT_EOF
  1.6987 +	  fi ;;
  1.6988 +	esac
  1.6989 +      fi
  1.6990 +      break
  1.6991 +    fi
  1.6992 +  done
  1.6993 +  IFS="$lt_save_ifs"
  1.6994 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  1.6995 +  ;;
  1.6996 +esac
  1.6997 +fi
  1.6998 +
  1.6999 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.7000 +if test -n "$MAGIC_CMD"; then
  1.7001 +  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  1.7002 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
  1.7003 +else
  1.7004 +  { echo "$as_me:$LINENO: result: no" >&5
  1.7005 +echo "${ECHO_T}no" >&6; }
  1.7006 +fi
  1.7007 +
  1.7008 +
  1.7009 +
  1.7010 +
  1.7011 +
  1.7012 +if test -z "$lt_cv_path_MAGIC_CMD"; then
  1.7013 +  if test -n "$ac_tool_prefix"; then
  1.7014 +    { echo "$as_me:$LINENO: checking for file" >&5
  1.7015 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
  1.7016 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  1.7017 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7018 +else
  1.7019 +  case $MAGIC_CMD in
  1.7020 +[\\/*] |  ?:[\\/]*)
  1.7021 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  1.7022 +  ;;
  1.7023 +*)
  1.7024 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  1.7025 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.7026 +  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  1.7027 +  for ac_dir in $ac_dummy; do
  1.7028 +    IFS="$lt_save_ifs"
  1.7029 +    test -z "$ac_dir" && ac_dir=.
  1.7030 +    if test -f $ac_dir/file; then
  1.7031 +      lt_cv_path_MAGIC_CMD="$ac_dir/file"
  1.7032 +      if test -n "$file_magic_test_file"; then
  1.7033 +	case $deplibs_check_method in
  1.7034 +	"file_magic "*)
  1.7035 +	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  1.7036 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.7037 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  1.7038 +	    $EGREP "$file_magic_regex" > /dev/null; then
  1.7039 +	    :
  1.7040 +	  else
  1.7041 +	    cat <<_LT_EOF 1>&2
  1.7042 +
  1.7043 +*** Warning: the command libtool uses to detect shared libraries,
  1.7044 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  1.7045 +*** The result is that libtool may fail to recognize shared libraries
  1.7046 +*** as such.  This will affect the creation of libtool libraries that
  1.7047 +*** depend on shared libraries, but programs linked with such libtool
  1.7048 +*** libraries will work regardless of this problem.  Nevertheless, you
  1.7049 +*** may want to report the problem to your system manager and/or to
  1.7050 +*** bug-libtool@gnu.org
  1.7051 +
  1.7052 +_LT_EOF
  1.7053 +	  fi ;;
  1.7054 +	esac
  1.7055 +      fi
  1.7056 +      break
  1.7057 +    fi
  1.7058 +  done
  1.7059 +  IFS="$lt_save_ifs"
  1.7060 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  1.7061 +  ;;
  1.7062 +esac
  1.7063 +fi
  1.7064 +
  1.7065 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.7066 +if test -n "$MAGIC_CMD"; then
  1.7067 +  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  1.7068 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
  1.7069 +else
  1.7070 +  { echo "$as_me:$LINENO: result: no" >&5
  1.7071 +echo "${ECHO_T}no" >&6; }
  1.7072 +fi
  1.7073 +
  1.7074 +
  1.7075 +  else
  1.7076 +    MAGIC_CMD=:
  1.7077 +  fi
  1.7078 +fi
  1.7079 +
  1.7080 +  fi
  1.7081 +  ;;
  1.7082 +esac
  1.7083 +
  1.7084 +# Use C for the default configuration in the libtool script
  1.7085 +
  1.7086 +lt_save_CC="$CC"
  1.7087 +ac_ext=c
  1.7088 +ac_cpp='$CPP $CPPFLAGS'
  1.7089 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.7090 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.7091 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.7092 +
  1.7093 +
  1.7094 +# Source file extension for C test sources.
  1.7095 +ac_ext=c
  1.7096 +
  1.7097 +# Object file extension for compiled C test sources.
  1.7098 +objext=o
  1.7099 +objext=$objext
  1.7100 +
  1.7101 +# Code to be used in simple compile tests
  1.7102 +lt_simple_compile_test_code="int some_variable = 0;"
  1.7103 +
  1.7104 +# Code to be used in simple link tests
  1.7105 +lt_simple_link_test_code='int main(){return(0);}'
  1.7106 +
  1.7107 +
  1.7108 +
  1.7109 +
  1.7110 +
  1.7111 +
  1.7112 +
  1.7113 +# If no C compiler was specified, use CC.
  1.7114 +LTCC=${LTCC-"$CC"}
  1.7115 +
  1.7116 +# If no C compiler flags were specified, use CFLAGS.
  1.7117 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  1.7118 +
  1.7119 +# Allow CC to be a program name with arguments.
  1.7120 +compiler=$CC
  1.7121 +
  1.7122 +# Save the default compiler, since it gets overwritten when the other
  1.7123 +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  1.7124 +compiler_DEFAULT=$CC
  1.7125 +
  1.7126 +# save warnings/boilerplate of simple test code
  1.7127 +ac_outfile=conftest.$ac_objext
  1.7128 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  1.7129 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1.7130 +_lt_compiler_boilerplate=`cat conftest.err`
  1.7131 +$RM conftest*
  1.7132 +
  1.7133 +ac_outfile=conftest.$ac_objext
  1.7134 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  1.7135 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1.7136 +_lt_linker_boilerplate=`cat conftest.err`
  1.7137 +$RM -r conftest*
  1.7138 +
  1.7139 +
  1.7140 +## CAVEAT EMPTOR:
  1.7141 +## There is no encapsulation within the following macros, do not change
  1.7142 +## the running order or otherwise move them around unless you know exactly
  1.7143 +## what you are doing...
  1.7144 +if test -n "$compiler"; then
  1.7145 +
  1.7146 +lt_prog_compiler_no_builtin_flag=
  1.7147 +
  1.7148 +if test "$GCC" = yes; then
  1.7149 +  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  1.7150 +
  1.7151 +  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  1.7152 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  1.7153 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  1.7154 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7155 +else
  1.7156 +  lt_cv_prog_compiler_rtti_exceptions=no
  1.7157 +   ac_outfile=conftest.$ac_objext
  1.7158 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.7159 +   lt_compiler_flag="-fno-rtti -fno-exceptions"
  1.7160 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.7161 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.7162 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.7163 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.7164 +   # The option is referenced via a variable to avoid confusing sed.
  1.7165 +   lt_compile=`echo "$ac_compile" | $SED \
  1.7166 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.7167 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.7168 +   -e 's:$: $lt_compiler_flag:'`
  1.7169 +   (eval echo "\"\$as_me:7166: $lt_compile\"" >&5)
  1.7170 +   (eval "$lt_compile" 2>conftest.err)
  1.7171 +   ac_status=$?
  1.7172 +   cat conftest.err >&5
  1.7173 +   echo "$as_me:7170: \$? = $ac_status" >&5
  1.7174 +   if (exit $ac_status) && test -s "$ac_outfile"; then
  1.7175 +     # The compiler can only warn and ignore the option if not recognized
  1.7176 +     # So say no if there are warnings other than the usual output.
  1.7177 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1.7178 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.7179 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1.7180 +       lt_cv_prog_compiler_rtti_exceptions=yes
  1.7181 +     fi
  1.7182 +   fi
  1.7183 +   $RM conftest*
  1.7184 +
  1.7185 +fi
  1.7186 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  1.7187 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  1.7188 +
  1.7189 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  1.7190 +    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  1.7191 +else
  1.7192 +    :
  1.7193 +fi
  1.7194 +
  1.7195 +fi
  1.7196 +
  1.7197 +
  1.7198 +
  1.7199 +
  1.7200 +
  1.7201 +
  1.7202 +  lt_prog_compiler_wl=
  1.7203 +lt_prog_compiler_pic=
  1.7204 +lt_prog_compiler_static=
  1.7205 +
  1.7206 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  1.7207 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  1.7208 +
  1.7209 +  if test "$GCC" = yes; then
  1.7210 +    lt_prog_compiler_wl='-Wl,'
  1.7211 +    lt_prog_compiler_static='-static'
  1.7212 +
  1.7213 +    case $host_os in
  1.7214 +      aix*)
  1.7215 +      # All AIX code is PIC.
  1.7216 +      if test "$host_cpu" = ia64; then
  1.7217 +	# AIX 5 now supports IA64 processor
  1.7218 +	lt_prog_compiler_static='-Bstatic'
  1.7219 +      fi
  1.7220 +      ;;
  1.7221 +
  1.7222 +    amigaos*)
  1.7223 +      case $host_cpu in
  1.7224 +      powerpc)
  1.7225 +            # see comment about AmigaOS4 .so support
  1.7226 +            lt_prog_compiler_pic='-fPIC'
  1.7227 +        ;;
  1.7228 +      m68k)
  1.7229 +            # FIXME: we need at least 68020 code to build shared libraries, but
  1.7230 +            # adding the `-m68020' flag to GCC prevents building anything better,
  1.7231 +            # like `-m68040'.
  1.7232 +            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  1.7233 +        ;;
  1.7234 +      esac
  1.7235 +      ;;
  1.7236 +
  1.7237 +    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  1.7238 +      # PIC is the default for these OSes.
  1.7239 +      ;;
  1.7240 +
  1.7241 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  1.7242 +      # This hack is so that the source file can tell whether it is being
  1.7243 +      # built for inclusion in a dll (and should export symbols for example).
  1.7244 +      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  1.7245 +      # (--disable-auto-import) libraries
  1.7246 +      lt_prog_compiler_pic='-DDLL_EXPORT'
  1.7247 +      ;;
  1.7248 +
  1.7249 +    darwin* | rhapsody*)
  1.7250 +      # PIC is the default on this platform
  1.7251 +      # Common symbols not allowed in MH_DYLIB files
  1.7252 +      lt_prog_compiler_pic='-fno-common'
  1.7253 +      ;;
  1.7254 +
  1.7255 +    hpux*)
  1.7256 +      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  1.7257 +      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  1.7258 +      # sets the default TLS model and affects inlining.
  1.7259 +      case $host_cpu in
  1.7260 +      hppa*64*)
  1.7261 +	# +Z the default
  1.7262 +	;;
  1.7263 +      *)
  1.7264 +	lt_prog_compiler_pic='-fPIC'
  1.7265 +	;;
  1.7266 +      esac
  1.7267 +      ;;
  1.7268 +
  1.7269 +    interix[3-9]*)
  1.7270 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  1.7271 +      # Instead, we relocate shared libraries at runtime.
  1.7272 +      ;;
  1.7273 +
  1.7274 +    msdosdjgpp*)
  1.7275 +      # Just because we use GCC doesn't mean we suddenly get shared libraries
  1.7276 +      # on systems that don't support them.
  1.7277 +      lt_prog_compiler_can_build_shared=no
  1.7278 +      enable_shared=no
  1.7279 +      ;;
  1.7280 +
  1.7281 +    *nto* | *qnx*)
  1.7282 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  1.7283 +      # it will coredump.
  1.7284 +      lt_prog_compiler_pic='-fPIC -shared'
  1.7285 +      ;;
  1.7286 +
  1.7287 +    sysv4*MP*)
  1.7288 +      if test -d /usr/nec; then
  1.7289 +	lt_prog_compiler_pic=-Kconform_pic
  1.7290 +      fi
  1.7291 +      ;;
  1.7292 +
  1.7293 +    *)
  1.7294 +      lt_prog_compiler_pic='-fPIC'
  1.7295 +      ;;
  1.7296 +    esac
  1.7297 +  else
  1.7298 +    # PORTME Check for flag to pass linker flags through the system compiler.
  1.7299 +    case $host_os in
  1.7300 +    aix*)
  1.7301 +      lt_prog_compiler_wl='-Wl,'
  1.7302 +      if test "$host_cpu" = ia64; then
  1.7303 +	# AIX 5 now supports IA64 processor
  1.7304 +	lt_prog_compiler_static='-Bstatic'
  1.7305 +      else
  1.7306 +	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  1.7307 +      fi
  1.7308 +      ;;
  1.7309 +
  1.7310 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  1.7311 +      # This hack is so that the source file can tell whether it is being
  1.7312 +      # built for inclusion in a dll (and should export symbols for example).
  1.7313 +      lt_prog_compiler_pic='-DDLL_EXPORT'
  1.7314 +      ;;
  1.7315 +
  1.7316 +    hpux9* | hpux10* | hpux11*)
  1.7317 +      lt_prog_compiler_wl='-Wl,'
  1.7318 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  1.7319 +      # not for PA HP-UX.
  1.7320 +      case $host_cpu in
  1.7321 +      hppa*64*|ia64*)
  1.7322 +	# +Z the default
  1.7323 +	;;
  1.7324 +      *)
  1.7325 +	lt_prog_compiler_pic='+Z'
  1.7326 +	;;
  1.7327 +      esac
  1.7328 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  1.7329 +      lt_prog_compiler_static='${wl}-a ${wl}archive'
  1.7330 +      ;;
  1.7331 +
  1.7332 +    irix5* | irix6* | nonstopux*)
  1.7333 +      lt_prog_compiler_wl='-Wl,'
  1.7334 +      # PIC (with -KPIC) is the default.
  1.7335 +      lt_prog_compiler_static='-non_shared'
  1.7336 +      ;;
  1.7337 +
  1.7338 +    linux* | k*bsd*-gnu)
  1.7339 +      case $cc_basename in
  1.7340 +      # old Intel for x86_64 which still supported -KPIC.
  1.7341 +      ecc*)
  1.7342 +	lt_prog_compiler_wl='-Wl,'
  1.7343 +	lt_prog_compiler_pic='-KPIC'
  1.7344 +	lt_prog_compiler_static='-static'
  1.7345 +        ;;
  1.7346 +      # icc used to be incompatible with GCC.
  1.7347 +      # ICC 10 doesn't accept -KPIC any more.
  1.7348 +      icc* | ifort*)
  1.7349 +	lt_prog_compiler_wl='-Wl,'
  1.7350 +	lt_prog_compiler_pic='-fPIC'
  1.7351 +	lt_prog_compiler_static='-static'
  1.7352 +        ;;
  1.7353 +      # Lahey Fortran 8.1.
  1.7354 +      lf95*)
  1.7355 +	lt_prog_compiler_wl='-Wl,'
  1.7356 +	lt_prog_compiler_pic='--shared'
  1.7357 +	lt_prog_compiler_static='--static'
  1.7358 +	;;
  1.7359 +      pgcc* | pgf77* | pgf90* | pgf95*)
  1.7360 +        # Portland Group compilers (*not* the Pentium gcc compiler,
  1.7361 +	# which looks to be a dead project)
  1.7362 +	lt_prog_compiler_wl='-Wl,'
  1.7363 +	lt_prog_compiler_pic='-fpic'
  1.7364 +	lt_prog_compiler_static='-Bstatic'
  1.7365 +        ;;
  1.7366 +      ccc*)
  1.7367 +        lt_prog_compiler_wl='-Wl,'
  1.7368 +        # All Alpha code is PIC.
  1.7369 +        lt_prog_compiler_static='-non_shared'
  1.7370 +        ;;
  1.7371 +      xl*)
  1.7372 +	# IBM XL C 8.0/Fortran 10.1 on PPC
  1.7373 +	lt_prog_compiler_wl='-Wl,'
  1.7374 +	lt_prog_compiler_pic='-qpic'
  1.7375 +	lt_prog_compiler_static='-qstaticlink'
  1.7376 +	;;
  1.7377 +      *)
  1.7378 +	case `$CC -V 2>&1 | sed 5q` in
  1.7379 +	*Sun\ C*)
  1.7380 +	  # Sun C 5.9
  1.7381 +	  lt_prog_compiler_pic='-KPIC'
  1.7382 +	  lt_prog_compiler_static='-Bstatic'
  1.7383 +	  lt_prog_compiler_wl='-Wl,'
  1.7384 +	  ;;
  1.7385 +	*Sun\ F*)
  1.7386 +	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  1.7387 +	  lt_prog_compiler_pic='-KPIC'
  1.7388 +	  lt_prog_compiler_static='-Bstatic'
  1.7389 +	  lt_prog_compiler_wl=''
  1.7390 +	  ;;
  1.7391 +	esac
  1.7392 +	;;
  1.7393 +      esac
  1.7394 +      ;;
  1.7395 +
  1.7396 +    newsos6)
  1.7397 +      lt_prog_compiler_pic='-KPIC'
  1.7398 +      lt_prog_compiler_static='-Bstatic'
  1.7399 +      ;;
  1.7400 +
  1.7401 +    *nto* | *qnx*)
  1.7402 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  1.7403 +      # it will coredump.
  1.7404 +      lt_prog_compiler_pic='-fPIC -shared'
  1.7405 +      ;;
  1.7406 +
  1.7407 +    osf3* | osf4* | osf5*)
  1.7408 +      lt_prog_compiler_wl='-Wl,'
  1.7409 +      # All OSF/1 code is PIC.
  1.7410 +      lt_prog_compiler_static='-non_shared'
  1.7411 +      ;;
  1.7412 +
  1.7413 +    rdos*)
  1.7414 +      lt_prog_compiler_static='-non_shared'
  1.7415 +      ;;
  1.7416 +
  1.7417 +    solaris*)
  1.7418 +      lt_prog_compiler_pic='-KPIC'
  1.7419 +      lt_prog_compiler_static='-Bstatic'
  1.7420 +      case $cc_basename in
  1.7421 +      f77* | f90* | f95*)
  1.7422 +	lt_prog_compiler_wl='-Qoption ld ';;
  1.7423 +      *)
  1.7424 +	lt_prog_compiler_wl='-Wl,';;
  1.7425 +      esac
  1.7426 +      ;;
  1.7427 +
  1.7428 +    sunos4*)
  1.7429 +      lt_prog_compiler_wl='-Qoption ld '
  1.7430 +      lt_prog_compiler_pic='-PIC'
  1.7431 +      lt_prog_compiler_static='-Bstatic'
  1.7432 +      ;;
  1.7433 +
  1.7434 +    sysv4 | sysv4.2uw2* | sysv4.3*)
  1.7435 +      lt_prog_compiler_wl='-Wl,'
  1.7436 +      lt_prog_compiler_pic='-KPIC'
  1.7437 +      lt_prog_compiler_static='-Bstatic'
  1.7438 +      ;;
  1.7439 +
  1.7440 +    sysv4*MP*)
  1.7441 +      if test -d /usr/nec ;then
  1.7442 +	lt_prog_compiler_pic='-Kconform_pic'
  1.7443 +	lt_prog_compiler_static='-Bstatic'
  1.7444 +      fi
  1.7445 +      ;;
  1.7446 +
  1.7447 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  1.7448 +      lt_prog_compiler_wl='-Wl,'
  1.7449 +      lt_prog_compiler_pic='-KPIC'
  1.7450 +      lt_prog_compiler_static='-Bstatic'
  1.7451 +      ;;
  1.7452 +
  1.7453 +    unicos*)
  1.7454 +      lt_prog_compiler_wl='-Wl,'
  1.7455 +      lt_prog_compiler_can_build_shared=no
  1.7456 +      ;;
  1.7457 +
  1.7458 +    uts4*)
  1.7459 +      lt_prog_compiler_pic='-pic'
  1.7460 +      lt_prog_compiler_static='-Bstatic'
  1.7461 +      ;;
  1.7462 +
  1.7463 +    *)
  1.7464 +      lt_prog_compiler_can_build_shared=no
  1.7465 +      ;;
  1.7466 +    esac
  1.7467 +  fi
  1.7468 +
  1.7469 +case $host_os in
  1.7470 +  # For platforms which do not support PIC, -DPIC is meaningless:
  1.7471 +  *djgpp*)
  1.7472 +    lt_prog_compiler_pic=
  1.7473 +    ;;
  1.7474 +  *)
  1.7475 +    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  1.7476 +    ;;
  1.7477 +esac
  1.7478 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  1.7479 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
  1.7480 +
  1.7481 +
  1.7482 +
  1.7483 +
  1.7484 +
  1.7485 +
  1.7486 +#
  1.7487 +# Check to make sure the PIC flag actually works.
  1.7488 +#
  1.7489 +if test -n "$lt_prog_compiler_pic"; then
  1.7490 +  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  1.7491 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
  1.7492 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  1.7493 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7494 +else
  1.7495 +  lt_cv_prog_compiler_pic_works=no
  1.7496 +   ac_outfile=conftest.$ac_objext
  1.7497 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.7498 +   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  1.7499 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.7500 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.7501 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.7502 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.7503 +   # The option is referenced via a variable to avoid confusing sed.
  1.7504 +   lt_compile=`echo "$ac_compile" | $SED \
  1.7505 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.7506 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.7507 +   -e 's:$: $lt_compiler_flag:'`
  1.7508 +   (eval echo "\"\$as_me:7505: $lt_compile\"" >&5)
  1.7509 +   (eval "$lt_compile" 2>conftest.err)
  1.7510 +   ac_status=$?
  1.7511 +   cat conftest.err >&5
  1.7512 +   echo "$as_me:7509: \$? = $ac_status" >&5
  1.7513 +   if (exit $ac_status) && test -s "$ac_outfile"; then
  1.7514 +     # The compiler can only warn and ignore the option if not recognized
  1.7515 +     # So say no if there are warnings other than the usual output.
  1.7516 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1.7517 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.7518 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1.7519 +       lt_cv_prog_compiler_pic_works=yes
  1.7520 +     fi
  1.7521 +   fi
  1.7522 +   $RM conftest*
  1.7523 +
  1.7524 +fi
  1.7525 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  1.7526 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
  1.7527 +
  1.7528 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  1.7529 +    case $lt_prog_compiler_pic in
  1.7530 +     "" | " "*) ;;
  1.7531 +     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  1.7532 +     esac
  1.7533 +else
  1.7534 +    lt_prog_compiler_pic=
  1.7535 +     lt_prog_compiler_can_build_shared=no
  1.7536 +fi
  1.7537 +
  1.7538 +fi
  1.7539 +
  1.7540 +
  1.7541 +
  1.7542 +
  1.7543 +
  1.7544 +
  1.7545 +#
  1.7546 +# Check to make sure the static flag actually works.
  1.7547 +#
  1.7548 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  1.7549 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  1.7550 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  1.7551 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  1.7552 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7553 +else
  1.7554 +  lt_cv_prog_compiler_static_works=no
  1.7555 +   save_LDFLAGS="$LDFLAGS"
  1.7556 +   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  1.7557 +   echo "$lt_simple_link_test_code" > conftest.$ac_ext
  1.7558 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1.7559 +     # The linker can only warn and ignore the option if not recognized
  1.7560 +     # So say no if there are warnings
  1.7561 +     if test -s conftest.err; then
  1.7562 +       # Append any errors to the config.log.
  1.7563 +       cat conftest.err 1>&5
  1.7564 +       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1.7565 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.7566 +       if diff conftest.exp conftest.er2 >/dev/null; then
  1.7567 +         lt_cv_prog_compiler_static_works=yes
  1.7568 +       fi
  1.7569 +     else
  1.7570 +       lt_cv_prog_compiler_static_works=yes
  1.7571 +     fi
  1.7572 +   fi
  1.7573 +   $RM -r conftest*
  1.7574 +   LDFLAGS="$save_LDFLAGS"
  1.7575 +
  1.7576 +fi
  1.7577 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  1.7578 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
  1.7579 +
  1.7580 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  1.7581 +    :
  1.7582 +else
  1.7583 +    lt_prog_compiler_static=
  1.7584 +fi
  1.7585 +
  1.7586 +
  1.7587 +
  1.7588 +
  1.7589 +
  1.7590 +
  1.7591 +
  1.7592 +  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  1.7593 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  1.7594 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  1.7595 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7596 +else
  1.7597 +  lt_cv_prog_compiler_c_o=no
  1.7598 +   $RM -r conftest 2>/dev/null
  1.7599 +   mkdir conftest
  1.7600 +   cd conftest
  1.7601 +   mkdir out
  1.7602 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.7603 +
  1.7604 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
  1.7605 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.7606 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.7607 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.7608 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.7609 +   lt_compile=`echo "$ac_compile" | $SED \
  1.7610 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.7611 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.7612 +   -e 's:$: $lt_compiler_flag:'`
  1.7613 +   (eval echo "\"\$as_me:7610: $lt_compile\"" >&5)
  1.7614 +   (eval "$lt_compile" 2>out/conftest.err)
  1.7615 +   ac_status=$?
  1.7616 +   cat out/conftest.err >&5
  1.7617 +   echo "$as_me:7614: \$? = $ac_status" >&5
  1.7618 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1.7619 +   then
  1.7620 +     # The compiler can only warn and ignore the option if not recognized
  1.7621 +     # So say no if there are warnings
  1.7622 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1.7623 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1.7624 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1.7625 +       lt_cv_prog_compiler_c_o=yes
  1.7626 +     fi
  1.7627 +   fi
  1.7628 +   chmod u+w . 2>&5
  1.7629 +   $RM conftest*
  1.7630 +   # SGI C++ compiler will create directory out/ii_files/ for
  1.7631 +   # template instantiation
  1.7632 +   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  1.7633 +   $RM out/* && rmdir out
  1.7634 +   cd ..
  1.7635 +   $RM -r conftest
  1.7636 +   $RM conftest*
  1.7637 +
  1.7638 +fi
  1.7639 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  1.7640 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  1.7641 +
  1.7642 +
  1.7643 +
  1.7644 +
  1.7645 +
  1.7646 +
  1.7647 +  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  1.7648 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  1.7649 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  1.7650 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7651 +else
  1.7652 +  lt_cv_prog_compiler_c_o=no
  1.7653 +   $RM -r conftest 2>/dev/null
  1.7654 +   mkdir conftest
  1.7655 +   cd conftest
  1.7656 +   mkdir out
  1.7657 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.7658 +
  1.7659 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
  1.7660 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.7661 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.7662 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.7663 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.7664 +   lt_compile=`echo "$ac_compile" | $SED \
  1.7665 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.7666 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.7667 +   -e 's:$: $lt_compiler_flag:'`
  1.7668 +   (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
  1.7669 +   (eval "$lt_compile" 2>out/conftest.err)
  1.7670 +   ac_status=$?
  1.7671 +   cat out/conftest.err >&5
  1.7672 +   echo "$as_me:7669: \$? = $ac_status" >&5
  1.7673 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1.7674 +   then
  1.7675 +     # The compiler can only warn and ignore the option if not recognized
  1.7676 +     # So say no if there are warnings
  1.7677 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1.7678 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1.7679 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1.7680 +       lt_cv_prog_compiler_c_o=yes
  1.7681 +     fi
  1.7682 +   fi
  1.7683 +   chmod u+w . 2>&5
  1.7684 +   $RM conftest*
  1.7685 +   # SGI C++ compiler will create directory out/ii_files/ for
  1.7686 +   # template instantiation
  1.7687 +   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  1.7688 +   $RM out/* && rmdir out
  1.7689 +   cd ..
  1.7690 +   $RM -r conftest
  1.7691 +   $RM conftest*
  1.7692 +
  1.7693 +fi
  1.7694 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  1.7695 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  1.7696 +
  1.7697 +
  1.7698 +
  1.7699 +
  1.7700 +hard_links="nottested"
  1.7701 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  1.7702 +  # do not overwrite the value of need_locks provided by the user
  1.7703 +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  1.7704 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  1.7705 +  hard_links=yes
  1.7706 +  $RM conftest*
  1.7707 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1.7708 +  touch conftest.a
  1.7709 +  ln conftest.a conftest.b 2>&5 || hard_links=no
  1.7710 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1.7711 +  { echo "$as_me:$LINENO: result: $hard_links" >&5
  1.7712 +echo "${ECHO_T}$hard_links" >&6; }
  1.7713 +  if test "$hard_links" = no; then
  1.7714 +    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  1.7715 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  1.7716 +    need_locks=warn
  1.7717 +  fi
  1.7718 +else
  1.7719 +  need_locks=no
  1.7720 +fi
  1.7721 +
  1.7722 +
  1.7723 +
  1.7724 +
  1.7725 +
  1.7726 +
  1.7727 +  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  1.7728 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  1.7729 +
  1.7730 +  runpath_var=
  1.7731 +  allow_undefined_flag=
  1.7732 +  always_export_symbols=no
  1.7733 +  archive_cmds=
  1.7734 +  archive_expsym_cmds=
  1.7735 +  compiler_needs_object=no
  1.7736 +  enable_shared_with_static_runtimes=no
  1.7737 +  export_dynamic_flag_spec=
  1.7738 +  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  1.7739 +  hardcode_automatic=no
  1.7740 +  hardcode_direct=no
  1.7741 +  hardcode_direct_absolute=no
  1.7742 +  hardcode_libdir_flag_spec=
  1.7743 +  hardcode_libdir_flag_spec_ld=
  1.7744 +  hardcode_libdir_separator=
  1.7745 +  hardcode_minus_L=no
  1.7746 +  hardcode_shlibpath_var=unsupported
  1.7747 +  inherit_rpath=no
  1.7748 +  link_all_deplibs=unknown
  1.7749 +  module_cmds=
  1.7750 +  module_expsym_cmds=
  1.7751 +  old_archive_from_new_cmds=
  1.7752 +  old_archive_from_expsyms_cmds=
  1.7753 +  thread_safe_flag_spec=
  1.7754 +  whole_archive_flag_spec=
  1.7755 +  # include_expsyms should be a list of space-separated symbols to be *always*
  1.7756 +  # included in the symbol list
  1.7757 +  include_expsyms=
  1.7758 +  # exclude_expsyms can be an extended regexp of symbols to exclude
  1.7759 +  # it will be wrapped by ` (' and `)$', so one must not match beginning or
  1.7760 +  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  1.7761 +  # as well as any symbol that contains `d'.
  1.7762 +  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  1.7763 +  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  1.7764 +  # platforms (ab)use it in PIC code, but their linkers get confused if
  1.7765 +  # the symbol is explicitly referenced.  Since portable code cannot
  1.7766 +  # rely on this symbol name, it's probably fine to never include it in
  1.7767 +  # preloaded symbol tables.
  1.7768 +  # Exclude shared library initialization/finalization symbols.
  1.7769 +  extract_expsyms_cmds=
  1.7770 +
  1.7771 +  case $host_os in
  1.7772 +  cygwin* | mingw* | pw32* | cegcc*)
  1.7773 +    # FIXME: the MSVC++ port hasn't been tested in a loooong time
  1.7774 +    # When not using gcc, we currently assume that we are using
  1.7775 +    # Microsoft Visual C++.
  1.7776 +    if test "$GCC" != yes; then
  1.7777 +      with_gnu_ld=no
  1.7778 +    fi
  1.7779 +    ;;
  1.7780 +  interix*)
  1.7781 +    # we just hope/assume this is gcc and not c89 (= MSVC++)
  1.7782 +    with_gnu_ld=yes
  1.7783 +    ;;
  1.7784 +  openbsd*)
  1.7785 +    with_gnu_ld=no
  1.7786 +    ;;
  1.7787 +  esac
  1.7788 +
  1.7789 +  ld_shlibs=yes
  1.7790 +  if test "$with_gnu_ld" = yes; then
  1.7791 +    # If archive_cmds runs LD, not CC, wlarc should be empty
  1.7792 +    wlarc='${wl}'
  1.7793 +
  1.7794 +    # Set some defaults for GNU ld with shared library support. These
  1.7795 +    # are reset later if shared libraries are not supported. Putting them
  1.7796 +    # here allows them to be overridden if necessary.
  1.7797 +    runpath_var=LD_RUN_PATH
  1.7798 +    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.7799 +    export_dynamic_flag_spec='${wl}--export-dynamic'
  1.7800 +    # ancient GNU ld didn't support --whole-archive et. al.
  1.7801 +    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  1.7802 +      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  1.7803 +    else
  1.7804 +      whole_archive_flag_spec=
  1.7805 +    fi
  1.7806 +    supports_anon_versioning=no
  1.7807 +    case `$LD -v 2>&1` in
  1.7808 +      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  1.7809 +      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  1.7810 +      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  1.7811 +      *\ 2.11.*) ;; # other 2.11 versions
  1.7812 +      *) supports_anon_versioning=yes ;;
  1.7813 +    esac
  1.7814 +
  1.7815 +    # See if GNU ld supports shared libraries.
  1.7816 +    case $host_os in
  1.7817 +    aix[3-9]*)
  1.7818 +      # On AIX/PPC, the GNU linker is very broken
  1.7819 +      if test "$host_cpu" != ia64; then
  1.7820 +	ld_shlibs=no
  1.7821 +	cat <<_LT_EOF 1>&2
  1.7822 +
  1.7823 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  1.7824 +*** to be unable to reliably create shared libraries on AIX.
  1.7825 +*** Therefore, libtool is disabling shared libraries support.  If you
  1.7826 +*** really care for shared libraries, you may want to modify your PATH
  1.7827 +*** so that a non-GNU linker is found, and then restart.
  1.7828 +
  1.7829 +_LT_EOF
  1.7830 +      fi
  1.7831 +      ;;
  1.7832 +
  1.7833 +    amigaos*)
  1.7834 +      case $host_cpu in
  1.7835 +      powerpc)
  1.7836 +            # see comment about AmigaOS4 .so support
  1.7837 +            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7838 +            archive_expsym_cmds=''
  1.7839 +        ;;
  1.7840 +      m68k)
  1.7841 +            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  1.7842 +            hardcode_libdir_flag_spec='-L$libdir'
  1.7843 +            hardcode_minus_L=yes
  1.7844 +        ;;
  1.7845 +      esac
  1.7846 +      ;;
  1.7847 +
  1.7848 +    beos*)
  1.7849 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.7850 +	allow_undefined_flag=unsupported
  1.7851 +	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  1.7852 +	# support --undefined.  This deserves some investigation.  FIXME
  1.7853 +	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7854 +      else
  1.7855 +	ld_shlibs=no
  1.7856 +      fi
  1.7857 +      ;;
  1.7858 +
  1.7859 +    cygwin* | mingw* | pw32* | cegcc*)
  1.7860 +      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  1.7861 +      # as there is no search path for DLLs.
  1.7862 +      hardcode_libdir_flag_spec='-L$libdir'
  1.7863 +      allow_undefined_flag=unsupported
  1.7864 +      always_export_symbols=no
  1.7865 +      enable_shared_with_static_runtimes=yes
  1.7866 +      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  1.7867 +
  1.7868 +      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  1.7869 +        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  1.7870 +	# If the export-symbols file already is a .def file (1st line
  1.7871 +	# is EXPORTS), use it as is; otherwise, prepend...
  1.7872 +	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  1.7873 +	  cp $export_symbols $output_objdir/$soname.def;
  1.7874 +	else
  1.7875 +	  echo EXPORTS > $output_objdir/$soname.def;
  1.7876 +	  cat $export_symbols >> $output_objdir/$soname.def;
  1.7877 +	fi~
  1.7878 +	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  1.7879 +      else
  1.7880 +	ld_shlibs=no
  1.7881 +      fi
  1.7882 +      ;;
  1.7883 +
  1.7884 +    interix[3-9]*)
  1.7885 +      hardcode_direct=no
  1.7886 +      hardcode_shlibpath_var=no
  1.7887 +      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  1.7888 +      export_dynamic_flag_spec='${wl}-E'
  1.7889 +      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  1.7890 +      # Instead, shared libraries are loaded at an image base (0x10000000 by
  1.7891 +      # default) and relocated if they conflict, which is a slow very memory
  1.7892 +      # consuming and fragmenting process.  To avoid this, we pick a random,
  1.7893 +      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  1.7894 +      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  1.7895 +      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  1.7896 +      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  1.7897 +      ;;
  1.7898 +
  1.7899 +    gnu* | linux* | tpf* | k*bsd*-gnu)
  1.7900 +      tmp_diet=no
  1.7901 +      if test "$host_os" = linux-dietlibc; then
  1.7902 +	case $cc_basename in
  1.7903 +	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  1.7904 +	esac
  1.7905 +      fi
  1.7906 +      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  1.7907 +	 && test "$tmp_diet" = no
  1.7908 +      then
  1.7909 +	tmp_addflag=
  1.7910 +	tmp_sharedflag='-shared'
  1.7911 +	case $cc_basename,$host_cpu in
  1.7912 +        pgcc*)				# Portland Group C compiler
  1.7913 +	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  1.7914 +	  tmp_addflag=' $pic_flag'
  1.7915 +	  ;;
  1.7916 +	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  1.7917 +	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  1.7918 +	  tmp_addflag=' $pic_flag -Mnomain' ;;
  1.7919 +	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  1.7920 +	  tmp_addflag=' -i_dynamic' ;;
  1.7921 +	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  1.7922 +	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  1.7923 +	ifc* | ifort*)			# Intel Fortran compiler
  1.7924 +	  tmp_addflag=' -nofor_main' ;;
  1.7925 +	lf95*)				# Lahey Fortran 8.1
  1.7926 +	  whole_archive_flag_spec=
  1.7927 +	  tmp_sharedflag='--shared' ;;
  1.7928 +	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
  1.7929 +	  tmp_sharedflag='-qmkshrobj'
  1.7930 +	  tmp_addflag= ;;
  1.7931 +	esac
  1.7932 +	case `$CC -V 2>&1 | sed 5q` in
  1.7933 +	*Sun\ C*)			# Sun C 5.9
  1.7934 +	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  1.7935 +	  compiler_needs_object=yes
  1.7936 +	  tmp_sharedflag='-G' ;;
  1.7937 +	*Sun\ F*)			# Sun Fortran 8.3
  1.7938 +	  tmp_sharedflag='-G' ;;
  1.7939 +	esac
  1.7940 +	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7941 +
  1.7942 +        if test "x$supports_anon_versioning" = xyes; then
  1.7943 +          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  1.7944 +	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  1.7945 +	    echo "local: *; };" >> $output_objdir/$libname.ver~
  1.7946 +	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  1.7947 +        fi
  1.7948 +
  1.7949 +	case $cc_basename in
  1.7950 +	xlf*)
  1.7951 +	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  1.7952 +	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  1.7953 +	  hardcode_libdir_flag_spec=
  1.7954 +	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
  1.7955 +	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  1.7956 +	  if test "x$supports_anon_versioning" = xyes; then
  1.7957 +	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  1.7958 +	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  1.7959 +	      echo "local: *; };" >> $output_objdir/$libname.ver~
  1.7960 +	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  1.7961 +	  fi
  1.7962 +	  ;;
  1.7963 +	esac
  1.7964 +      else
  1.7965 +        ld_shlibs=no
  1.7966 +      fi
  1.7967 +      ;;
  1.7968 +
  1.7969 +    netbsd*)
  1.7970 +      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  1.7971 +	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  1.7972 +	wlarc=
  1.7973 +      else
  1.7974 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7975 +	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.7976 +      fi
  1.7977 +      ;;
  1.7978 +
  1.7979 +    solaris*)
  1.7980 +      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  1.7981 +	ld_shlibs=no
  1.7982 +	cat <<_LT_EOF 1>&2
  1.7983 +
  1.7984 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  1.7985 +*** create shared libraries on Solaris systems.  Therefore, libtool
  1.7986 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  1.7987 +*** binutils to release 2.9.1 or newer.  Another option is to modify
  1.7988 +*** your PATH or compiler configuration so that the native linker is
  1.7989 +*** used, and then restart.
  1.7990 +
  1.7991 +_LT_EOF
  1.7992 +      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.7993 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7994 +	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.7995 +      else
  1.7996 +	ld_shlibs=no
  1.7997 +      fi
  1.7998 +      ;;
  1.7999 +
  1.8000 +    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  1.8001 +      case `$LD -v 2>&1` in
  1.8002 +        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  1.8003 +	ld_shlibs=no
  1.8004 +	cat <<_LT_EOF 1>&2
  1.8005 +
  1.8006 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  1.8007 +*** reliably create shared libraries on SCO systems.  Therefore, libtool
  1.8008 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  1.8009 +*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  1.8010 +*** your PATH or compiler configuration so that the native linker is
  1.8011 +*** used, and then restart.
  1.8012 +
  1.8013 +_LT_EOF
  1.8014 +	;;
  1.8015 +	*)
  1.8016 +	  # For security reasons, it is highly recommended that you always
  1.8017 +	  # use absolute paths for naming shared libraries, and exclude the
  1.8018 +	  # DT_RUNPATH tag from executables and libraries.  But doing so
  1.8019 +	  # requires that you compile everything twice, which is a pain.
  1.8020 +	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.8021 +	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.8022 +	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.8023 +	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.8024 +	  else
  1.8025 +	    ld_shlibs=no
  1.8026 +	  fi
  1.8027 +	;;
  1.8028 +      esac
  1.8029 +      ;;
  1.8030 +
  1.8031 +    sunos4*)
  1.8032 +      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  1.8033 +      wlarc=
  1.8034 +      hardcode_direct=yes
  1.8035 +      hardcode_shlibpath_var=no
  1.8036 +      ;;
  1.8037 +
  1.8038 +    *)
  1.8039 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.8040 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.8041 +	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.8042 +      else
  1.8043 +	ld_shlibs=no
  1.8044 +      fi
  1.8045 +      ;;
  1.8046 +    esac
  1.8047 +
  1.8048 +    if test "$ld_shlibs" = no; then
  1.8049 +      runpath_var=
  1.8050 +      hardcode_libdir_flag_spec=
  1.8051 +      export_dynamic_flag_spec=
  1.8052 +      whole_archive_flag_spec=
  1.8053 +    fi
  1.8054 +  else
  1.8055 +    # PORTME fill in a description of your system's linker (not GNU ld)
  1.8056 +    case $host_os in
  1.8057 +    aix3*)
  1.8058 +      allow_undefined_flag=unsupported
  1.8059 +      always_export_symbols=yes
  1.8060 +      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  1.8061 +      # Note: this linker hardcodes the directories in LIBPATH if there
  1.8062 +      # are no directories specified by -L.
  1.8063 +      hardcode_minus_L=yes
  1.8064 +      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  1.8065 +	# Neither direct hardcoding nor static linking is supported with a
  1.8066 +	# broken collect2.
  1.8067 +	hardcode_direct=unsupported
  1.8068 +      fi
  1.8069 +      ;;
  1.8070 +
  1.8071 +    aix[4-9]*)
  1.8072 +      if test "$host_cpu" = ia64; then
  1.8073 +	# On IA64, the linker does run time linking by default, so we don't
  1.8074 +	# have to do anything special.
  1.8075 +	aix_use_runtimelinking=no
  1.8076 +	exp_sym_flag='-Bexport'
  1.8077 +	no_entry_flag=""
  1.8078 +      else
  1.8079 +	# If we're using GNU nm, then we don't want the "-C" option.
  1.8080 +	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  1.8081 +	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  1.8082 +	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  1.8083 +	else
  1.8084 +	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  1.8085 +	fi
  1.8086 +	aix_use_runtimelinking=no
  1.8087 +
  1.8088 +	# Test if we are trying to use run time linking or normal
  1.8089 +	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  1.8090 +	# need to do runtime linking.
  1.8091 +	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  1.8092 +	  for ld_flag in $LDFLAGS; do
  1.8093 +	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  1.8094 +	    aix_use_runtimelinking=yes
  1.8095 +	    break
  1.8096 +	  fi
  1.8097 +	  done