tools/picctldisplaytest/configure
changeset 2 2f55e5dd591d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/picctldisplaytest/configure	Tue Jan 29 22:31:52 2008 +0100
     1.3 @@ -0,0 +1,21043 @@
     1.4 +#! /bin/sh
     1.5 +# Guess values for system-dependent variables and create Makefiles.
     1.6 +# Generated by GNU Autoconf 2.60.
     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 Bourne compatible
    1.17 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1.18 +  emulate sh
    1.19 +  NULLCMD=:
    1.20 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    1.21 +  # is contrary to our usage.  Disable this feature.
    1.22 +  alias -g '${1+"$@"}'='"$@"'
    1.23 +  setopt NO_GLOB_SUBST
    1.24 +else
    1.25 +  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    1.26 +fi
    1.27 +BIN_SH=xpg4; export BIN_SH # for Tru64
    1.28 +DUALCASE=1; export DUALCASE # for MKS sh
    1.29 +
    1.30 +
    1.31 +# PATH needs CR
    1.32 +# Avoid depending upon Character Ranges.
    1.33 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    1.34 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    1.35 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    1.36 +as_cr_digits='0123456789'
    1.37 +as_cr_alnum=$as_cr_Letters$as_cr_digits
    1.38 +
    1.39 +# The user is always right.
    1.40 +if test "${PATH_SEPARATOR+set}" != set; then
    1.41 +  echo "#! /bin/sh" >conf$$.sh
    1.42 +  echo  "exit 0"   >>conf$$.sh
    1.43 +  chmod +x conf$$.sh
    1.44 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    1.45 +    PATH_SEPARATOR=';'
    1.46 +  else
    1.47 +    PATH_SEPARATOR=:
    1.48 +  fi
    1.49 +  rm -f conf$$.sh
    1.50 +fi
    1.51 +
    1.52 +# Support unset when possible.
    1.53 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    1.54 +  as_unset=unset
    1.55 +else
    1.56 +  as_unset=false
    1.57 +fi
    1.58 +
    1.59 +
    1.60 +# IFS
    1.61 +# We need space, tab and new line, in precisely that order.  Quoting is
    1.62 +# there to prevent editors from complaining about space-tab.
    1.63 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    1.64 +# splitting by setting IFS to empty value.)
    1.65 +as_nl='
    1.66 +'
    1.67 +IFS=" ""	$as_nl"
    1.68 +
    1.69 +# Find who we are.  Look in the path if we contain no directory separator.
    1.70 +case $0 in
    1.71 +  *[\\/]* ) as_myself=$0 ;;
    1.72 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1.73 +for as_dir in $PATH
    1.74 +do
    1.75 +  IFS=$as_save_IFS
    1.76 +  test -z "$as_dir" && as_dir=.
    1.77 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    1.78 +done
    1.79 +IFS=$as_save_IFS
    1.80 +
    1.81 +     ;;
    1.82 +esac
    1.83 +# We did not find ourselves, most probably we were run as `sh COMMAND'
    1.84 +# in which case we are not to be found in the path.
    1.85 +if test "x$as_myself" = x; then
    1.86 +  as_myself=$0
    1.87 +fi
    1.88 +if test ! -f "$as_myself"; then
    1.89 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    1.90 +  { (exit 1); exit 1; }
    1.91 +fi
    1.92 +
    1.93 +# Work around bugs in pre-3.0 UWIN ksh.
    1.94 +for as_var in ENV MAIL MAILPATH
    1.95 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    1.96 +done
    1.97 +PS1='$ '
    1.98 +PS2='> '
    1.99 +PS4='+ '
   1.100 +
   1.101 +# NLS nuisances.
   1.102 +for as_var in \
   1.103 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   1.104 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   1.105 +  LC_TELEPHONE LC_TIME
   1.106 +do
   1.107 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   1.108 +    eval $as_var=C; export $as_var
   1.109 +  else
   1.110 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.111 +  fi
   1.112 +done
   1.113 +
   1.114 +# Required to use basename.
   1.115 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.116 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.117 +  as_expr=expr
   1.118 +else
   1.119 +  as_expr=false
   1.120 +fi
   1.121 +
   1.122 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   1.123 +  as_basename=basename
   1.124 +else
   1.125 +  as_basename=false
   1.126 +fi
   1.127 +
   1.128 +
   1.129 +# Name of the executable.
   1.130 +as_me=`$as_basename -- "$0" ||
   1.131 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1.132 +	 X"$0" : 'X\(//\)$' \| \
   1.133 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1.134 +echo X/"$0" |
   1.135 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
   1.136 +	    s//\1/
   1.137 +	    q
   1.138 +	  }
   1.139 +	  /^X\/\(\/\/\)$/{
   1.140 +	    s//\1/
   1.141 +	    q
   1.142 +	  }
   1.143 +	  /^X\/\(\/\).*/{
   1.144 +	    s//\1/
   1.145 +	    q
   1.146 +	  }
   1.147 +	  s/.*/./; q'`
   1.148 +
   1.149 +# CDPATH.
   1.150 +$as_unset CDPATH
   1.151 +
   1.152 +
   1.153 +if test "x$CONFIG_SHELL" = x; then
   1.154 +  if (eval ":") 2>/dev/null; then
   1.155 +  as_have_required=yes
   1.156 +else
   1.157 +  as_have_required=no
   1.158 +fi
   1.159 +
   1.160 +  if test $as_have_required = yes && 	 (eval ":
   1.161 +(as_func_return () {
   1.162 +  (exit \$1)
   1.163 +}
   1.164 +as_func_success () {
   1.165 +  as_func_return 0
   1.166 +}
   1.167 +as_func_failure () {
   1.168 +  as_func_return 1
   1.169 +}
   1.170 +as_func_ret_success () {
   1.171 +  return 0
   1.172 +}
   1.173 +as_func_ret_failure () {
   1.174 +  return 1
   1.175 +}
   1.176 +
   1.177 +exitcode=0
   1.178 +if as_func_success; then
   1.179 +  :
   1.180 +else
   1.181 +  exitcode=1
   1.182 +  echo as_func_success failed.
   1.183 +fi
   1.184 +
   1.185 +if as_func_failure; then
   1.186 +  exitcode=1
   1.187 +  echo as_func_failure succeeded.
   1.188 +fi
   1.189 +
   1.190 +if as_func_ret_success; then
   1.191 +  :
   1.192 +else
   1.193 +  exitcode=1
   1.194 +  echo as_func_ret_success failed.
   1.195 +fi
   1.196 +
   1.197 +if as_func_ret_failure; then
   1.198 +  exitcode=1
   1.199 +  echo as_func_ret_failure succeeded.
   1.200 +fi
   1.201 +
   1.202 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.203 +  :
   1.204 +else
   1.205 +  exitcode=1
   1.206 +  echo positional parameters were not saved.
   1.207 +fi
   1.208 +
   1.209 +test \$exitcode = 0) || { (exit 1); exit 1; }
   1.210 +
   1.211 +(
   1.212 +  as_lineno_1=\$LINENO
   1.213 +  as_lineno_2=\$LINENO
   1.214 +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   1.215 +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   1.216 +") 2> /dev/null; then
   1.217 +  :
   1.218 +else
   1.219 +  as_candidate_shells=
   1.220 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.221 +for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.222 +do
   1.223 +  IFS=$as_save_IFS
   1.224 +  test -z "$as_dir" && as_dir=.
   1.225 +  case $as_dir in
   1.226 +	 /*)
   1.227 +	   for as_base in sh bash ksh sh5; do
   1.228 +	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   1.229 +	   done;;
   1.230 +       esac
   1.231 +done
   1.232 +IFS=$as_save_IFS
   1.233 +
   1.234 +
   1.235 +      for as_shell in $as_candidate_shells $SHELL; do
   1.236 +	 # Try only shells that exist, to save several forks.
   1.237 +	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.238 +		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   1.239 +# Be Bourne compatible
   1.240 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.241 +  emulate sh
   1.242 +  NULLCMD=:
   1.243 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.244 +  # is contrary to our usage.  Disable this feature.
   1.245 +  alias -g '${1+"$@"}'='"$@"'
   1.246 +  setopt NO_GLOB_SUBST
   1.247 +else
   1.248 +  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   1.249 +fi
   1.250 +BIN_SH=xpg4; export BIN_SH # for Tru64
   1.251 +DUALCASE=1; export DUALCASE # for MKS sh
   1.252 +
   1.253 +:
   1.254 +_ASEOF
   1.255 +}; then
   1.256 +  CONFIG_SHELL=$as_shell
   1.257 +	       as_have_required=yes
   1.258 +	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   1.259 +# Be Bourne compatible
   1.260 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.261 +  emulate sh
   1.262 +  NULLCMD=:
   1.263 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.264 +  # is contrary to our usage.  Disable this feature.
   1.265 +  alias -g '${1+"$@"}'='"$@"'
   1.266 +  setopt NO_GLOB_SUBST
   1.267 +else
   1.268 +  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   1.269 +fi
   1.270 +BIN_SH=xpg4; export BIN_SH # for Tru64
   1.271 +DUALCASE=1; export DUALCASE # for MKS sh
   1.272 +
   1.273 +:
   1.274 +(as_func_return () {
   1.275 +  (exit $1)
   1.276 +}
   1.277 +as_func_success () {
   1.278 +  as_func_return 0
   1.279 +}
   1.280 +as_func_failure () {
   1.281 +  as_func_return 1
   1.282 +}
   1.283 +as_func_ret_success () {
   1.284 +  return 0
   1.285 +}
   1.286 +as_func_ret_failure () {
   1.287 +  return 1
   1.288 +}
   1.289 +
   1.290 +exitcode=0
   1.291 +if as_func_success; then
   1.292 +  :
   1.293 +else
   1.294 +  exitcode=1
   1.295 +  echo as_func_success failed.
   1.296 +fi
   1.297 +
   1.298 +if as_func_failure; then
   1.299 +  exitcode=1
   1.300 +  echo as_func_failure succeeded.
   1.301 +fi
   1.302 +
   1.303 +if as_func_ret_success; then
   1.304 +  :
   1.305 +else
   1.306 +  exitcode=1
   1.307 +  echo as_func_ret_success failed.
   1.308 +fi
   1.309 +
   1.310 +if as_func_ret_failure; then
   1.311 +  exitcode=1
   1.312 +  echo as_func_ret_failure succeeded.
   1.313 +fi
   1.314 +
   1.315 +if ( set x; as_func_ret_success y && test x = "$1" ); then
   1.316 +  :
   1.317 +else
   1.318 +  exitcode=1
   1.319 +  echo positional parameters were not saved.
   1.320 +fi
   1.321 +
   1.322 +test $exitcode = 0) || { (exit 1); exit 1; }
   1.323 +
   1.324 +(
   1.325 +  as_lineno_1=$LINENO
   1.326 +  as_lineno_2=$LINENO
   1.327 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.328 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   1.329 +
   1.330 +_ASEOF
   1.331 +}; then
   1.332 +  break
   1.333 +fi
   1.334 +
   1.335 +fi
   1.336 +
   1.337 +      done
   1.338 +
   1.339 +      if test "x$CONFIG_SHELL" != x; then
   1.340 +  for as_var in BASH_ENV ENV
   1.341 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.342 +        done
   1.343 +        export CONFIG_SHELL
   1.344 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   1.345 +fi
   1.346 +
   1.347 +
   1.348 +    if test $as_have_required = no; then
   1.349 +  echo This script requires a shell more modern than all the
   1.350 +      echo shells that I found on your system.  Please install a
   1.351 +      echo modern shell, or manually run the script under such a
   1.352 +      echo shell if you do have one.
   1.353 +      { (exit 1); exit 1; }
   1.354 +fi
   1.355 +
   1.356 +
   1.357 +fi
   1.358 +
   1.359 +fi
   1.360 +
   1.361 +
   1.362 +
   1.363 +(eval "as_func_return () {
   1.364 +  (exit \$1)
   1.365 +}
   1.366 +as_func_success () {
   1.367 +  as_func_return 0
   1.368 +}
   1.369 +as_func_failure () {
   1.370 +  as_func_return 1
   1.371 +}
   1.372 +as_func_ret_success () {
   1.373 +  return 0
   1.374 +}
   1.375 +as_func_ret_failure () {
   1.376 +  return 1
   1.377 +}
   1.378 +
   1.379 +exitcode=0
   1.380 +if as_func_success; then
   1.381 +  :
   1.382 +else
   1.383 +  exitcode=1
   1.384 +  echo as_func_success failed.
   1.385 +fi
   1.386 +
   1.387 +if as_func_failure; then
   1.388 +  exitcode=1
   1.389 +  echo as_func_failure succeeded.
   1.390 +fi
   1.391 +
   1.392 +if as_func_ret_success; then
   1.393 +  :
   1.394 +else
   1.395 +  exitcode=1
   1.396 +  echo as_func_ret_success failed.
   1.397 +fi
   1.398 +
   1.399 +if as_func_ret_failure; then
   1.400 +  exitcode=1
   1.401 +  echo as_func_ret_failure succeeded.
   1.402 +fi
   1.403 +
   1.404 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.405 +  :
   1.406 +else
   1.407 +  exitcode=1
   1.408 +  echo positional parameters were not saved.
   1.409 +fi
   1.410 +
   1.411 +test \$exitcode = 0") || {
   1.412 +  echo No shell found that supports shell functions.
   1.413 +  echo Please tell autoconf@gnu.org about your system,
   1.414 +  echo including any error possibly output before this
   1.415 +  echo message
   1.416 +}
   1.417 +
   1.418 +
   1.419 +
   1.420 +  as_lineno_1=$LINENO
   1.421 +  as_lineno_2=$LINENO
   1.422 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.423 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   1.424 +
   1.425 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   1.426 +  # uniformly replaced by the line number.  The first 'sed' inserts a
   1.427 +  # line-number line after each line using $LINENO; the second 'sed'
   1.428 +  # does the real work.  The second script uses 'N' to pair each
   1.429 +  # line-number line with the line containing $LINENO, and appends
   1.430 +  # trailing '-' during substitution so that $LINENO is not a special
   1.431 +  # case at line end.
   1.432 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   1.433 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
   1.434 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
   1.435 +  sed -n '
   1.436 +    p
   1.437 +    /[$]LINENO/=
   1.438 +  ' <$as_myself |
   1.439 +    sed '
   1.440 +      s/[$]LINENO.*/&-/
   1.441 +      t lineno
   1.442 +      b
   1.443 +      :lineno
   1.444 +      N
   1.445 +      :loop
   1.446 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   1.447 +      t loop
   1.448 +      s/-\n.*//
   1.449 +    ' >$as_me.lineno &&
   1.450 +  chmod +x "$as_me.lineno" ||
   1.451 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   1.452 +   { (exit 1); exit 1; }; }
   1.453 +
   1.454 +  # Don't try to exec as it changes $[0], causing all sort of problems
   1.455 +  # (the dirname of $[0] is not the place where we might find the
   1.456 +  # original and so on.  Autoconf is especially sensitive to this).
   1.457 +  . "./$as_me.lineno"
   1.458 +  # Exit status is that of the last command.
   1.459 +  exit
   1.460 +}
   1.461 +
   1.462 +
   1.463 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.464 +  as_dirname=dirname
   1.465 +else
   1.466 +  as_dirname=false
   1.467 +fi
   1.468 +
   1.469 +ECHO_C= ECHO_N= ECHO_T=
   1.470 +case `echo -n x` in
   1.471 +-n*)
   1.472 +  case `echo 'x\c'` in
   1.473 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   1.474 +  *)   ECHO_C='\c';;
   1.475 +  esac;;
   1.476 +*)
   1.477 +  ECHO_N='-n';;
   1.478 +esac
   1.479 +
   1.480 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.481 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.482 +  as_expr=expr
   1.483 +else
   1.484 +  as_expr=false
   1.485 +fi
   1.486 +
   1.487 +rm -f conf$$ conf$$.exe conf$$.file
   1.488 +if test -d conf$$.dir; then
   1.489 +  rm -f conf$$.dir/conf$$.file
   1.490 +else
   1.491 +  rm -f conf$$.dir
   1.492 +  mkdir conf$$.dir
   1.493 +fi
   1.494 +echo >conf$$.file
   1.495 +if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.496 +  as_ln_s='ln -s'
   1.497 +  # ... but there are two gotchas:
   1.498 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.499 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.500 +  # In both cases, we have to default to `cp -p'.
   1.501 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.502 +    as_ln_s='cp -p'
   1.503 +elif ln conf$$.file conf$$ 2>/dev/null; then
   1.504 +  as_ln_s=ln
   1.505 +else
   1.506 +  as_ln_s='cp -p'
   1.507 +fi
   1.508 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.509 +rmdir conf$$.dir 2>/dev/null
   1.510 +
   1.511 +if mkdir -p . 2>/dev/null; then
   1.512 +  as_mkdir_p=:
   1.513 +else
   1.514 +  test -d ./-p && rmdir ./-p
   1.515 +  as_mkdir_p=false
   1.516 +fi
   1.517 +
   1.518 +# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   1.519 +# systems may use methods other than mode bits to determine executability.
   1.520 +cat >conf$$.file <<_ASEOF
   1.521 +#! /bin/sh
   1.522 +exit 0
   1.523 +_ASEOF
   1.524 +chmod +x conf$$.file
   1.525 +if test -x conf$$.file >/dev/null 2>&1; then
   1.526 +  as_executable_p="test -x"
   1.527 +else
   1.528 +  as_executable_p=:
   1.529 +fi
   1.530 +rm -f conf$$.file
   1.531 +
   1.532 +# Sed expression to map a string onto a valid CPP name.
   1.533 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.534 +
   1.535 +# Sed expression to map a string onto a valid variable name.
   1.536 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   1.537 +
   1.538 +
   1.539 +
   1.540 +
   1.541 +# Check that we are running under the correct shell.
   1.542 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.543 +
   1.544 +case X$ECHO in
   1.545 +X*--fallback-echo)
   1.546 +  # Remove one level of quotation (which was required for Make).
   1.547 +  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
   1.548 +  ;;
   1.549 +esac
   1.550 +
   1.551 +echo=${ECHO-echo}
   1.552 +if test "X$1" = X--no-reexec; then
   1.553 +  # Discard the --no-reexec flag, and continue.
   1.554 +  shift
   1.555 +elif test "X$1" = X--fallback-echo; then
   1.556 +  # Avoid inline document here, it may be left over
   1.557 +  :
   1.558 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
   1.559 +  # Yippee, $echo works!
   1.560 +  :
   1.561 +else
   1.562 +  # Restart under the correct shell.
   1.563 +  exec $SHELL "$0" --no-reexec ${1+"$@"}
   1.564 +fi
   1.565 +
   1.566 +if test "X$1" = X--fallback-echo; then
   1.567 +  # used as fallback echo
   1.568 +  shift
   1.569 +  cat <<EOF
   1.570 +$*
   1.571 +EOF
   1.572 +  exit 0
   1.573 +fi
   1.574 +
   1.575 +# The HP-UX ksh and POSIX shell print the target directory to stdout
   1.576 +# if CDPATH is set.
   1.577 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.578 +
   1.579 +if test -z "$ECHO"; then
   1.580 +if test "X${echo_test_string+set}" != Xset; then
   1.581 +# find a string as large as possible, as long as the shell can cope with it
   1.582 +  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   1.583 +    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   1.584 +    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
   1.585 +       echo_test_string=`eval $cmd` &&
   1.586 +       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
   1.587 +    then
   1.588 +      break
   1.589 +    fi
   1.590 +  done
   1.591 +fi
   1.592 +
   1.593 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   1.594 +   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   1.595 +   test "X$echo_testing_string" = "X$echo_test_string"; then
   1.596 +  :
   1.597 +else
   1.598 +  # The Solaris, AIX, and Digital Unix default echo programs unquote
   1.599 +  # backslashes.  This makes it impossible to quote backslashes using
   1.600 +  #   echo "$something" | sed 's/\\/\\\\/g'
   1.601 +  #
   1.602 +  # So, first we look for a working echo in the user's PATH.
   1.603 +
   1.604 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   1.605 +  for dir in $PATH /usr/ucb; do
   1.606 +    IFS="$lt_save_ifs"
   1.607 +    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   1.608 +       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   1.609 +       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   1.610 +       test "X$echo_testing_string" = "X$echo_test_string"; then
   1.611 +      echo="$dir/echo"
   1.612 +      break
   1.613 +    fi
   1.614 +  done
   1.615 +  IFS="$lt_save_ifs"
   1.616 +
   1.617 +  if test "X$echo" = Xecho; then
   1.618 +    # We didn't find a better echo, so look for alternatives.
   1.619 +    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
   1.620 +       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
   1.621 +       test "X$echo_testing_string" = "X$echo_test_string"; then
   1.622 +      # This shell has a builtin print -r that does the trick.
   1.623 +      echo='print -r'
   1.624 +    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
   1.625 +	 test "X$CONFIG_SHELL" != X/bin/ksh; then
   1.626 +      # If we have ksh, try running configure again with it.
   1.627 +      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   1.628 +      export ORIGINAL_CONFIG_SHELL
   1.629 +      CONFIG_SHELL=/bin/ksh
   1.630 +      export CONFIG_SHELL
   1.631 +      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
   1.632 +    else
   1.633 +      # Try using printf.
   1.634 +      echo='printf %s\n'
   1.635 +      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   1.636 +	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   1.637 +	 test "X$echo_testing_string" = "X$echo_test_string"; then
   1.638 +	# Cool, printf works
   1.639 +	:
   1.640 +      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   1.641 +	   test "X$echo_testing_string" = 'X\t' &&
   1.642 +	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   1.643 +	   test "X$echo_testing_string" = "X$echo_test_string"; then
   1.644 +	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   1.645 +	export CONFIG_SHELL
   1.646 +	SHELL="$CONFIG_SHELL"
   1.647 +	export SHELL
   1.648 +	echo="$CONFIG_SHELL $0 --fallback-echo"
   1.649 +      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   1.650 +	   test "X$echo_testing_string" = 'X\t' &&
   1.651 +	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   1.652 +	   test "X$echo_testing_string" = "X$echo_test_string"; then
   1.653 +	echo="$CONFIG_SHELL $0 --fallback-echo"
   1.654 +      else
   1.655 +	# maybe with a smaller string...
   1.656 +	prev=:
   1.657 +
   1.658 +	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
   1.659 +	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
   1.660 +	  then
   1.661 +	    break
   1.662 +	  fi
   1.663 +	  prev="$cmd"
   1.664 +	done
   1.665 +
   1.666 +	if test "$prev" != 'sed 50q "$0"'; then
   1.667 +	  echo_test_string=`eval $prev`
   1.668 +	  export echo_test_string
   1.669 +	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
   1.670 +	else
   1.671 +	  # Oops.  We lost completely, so just stick with echo.
   1.672 +	  echo=echo
   1.673 +	fi
   1.674 +      fi
   1.675 +    fi
   1.676 +  fi
   1.677 +fi
   1.678 +fi
   1.679 +
   1.680 +# Copy echo and quote the copy suitably for passing to libtool from
   1.681 +# the Makefile, instead of quoting the original, which is used later.
   1.682 +ECHO=$echo
   1.683 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
   1.684 +   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   1.685 +fi
   1.686 +
   1.687 +
   1.688 +
   1.689 +
   1.690 +tagnames=${tagnames+${tagnames},}CXX
   1.691 +
   1.692 +tagnames=${tagnames+${tagnames},}F77
   1.693 +
   1.694 +exec 7<&0 </dev/null 6>&1
   1.695 +
   1.696 +# Name of the host.
   1.697 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   1.698 +# so uname gets run too.
   1.699 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   1.700 +
   1.701 +#
   1.702 +# Initializations.
   1.703 +#
   1.704 +ac_default_prefix=/usr/local
   1.705 +ac_clean_files=
   1.706 +ac_config_libobj_dir=.
   1.707 +LIBOBJS=
   1.708 +cross_compiling=no
   1.709 +subdirs=
   1.710 +MFLAGS=
   1.711 +MAKEFLAGS=
   1.712 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.713 +
   1.714 +# Identity of this package.
   1.715 +PACKAGE_NAME=
   1.716 +PACKAGE_TARNAME=
   1.717 +PACKAGE_VERSION=
   1.718 +PACKAGE_STRING=
   1.719 +PACKAGE_BUGREPORT=
   1.720 +
   1.721 +ac_unique_file="configure.in"
   1.722 +# Factoring default headers for most tests.
   1.723 +ac_includes_default="\
   1.724 +#include <stdio.h>
   1.725 +#if HAVE_SYS_TYPES_H
   1.726 +# include <sys/types.h>
   1.727 +#endif
   1.728 +#if HAVE_SYS_STAT_H
   1.729 +# include <sys/stat.h>
   1.730 +#endif
   1.731 +#if STDC_HEADERS
   1.732 +# include <stdlib.h>
   1.733 +# include <stddef.h>
   1.734 +#else
   1.735 +# if HAVE_STDLIB_H
   1.736 +#  include <stdlib.h>
   1.737 +# endif
   1.738 +#endif
   1.739 +#if HAVE_STRING_H
   1.740 +# if !STDC_HEADERS && HAVE_MEMORY_H
   1.741 +#  include <memory.h>
   1.742 +# endif
   1.743 +# include <string.h>
   1.744 +#endif
   1.745 +#if HAVE_STRINGS_H
   1.746 +# include <strings.h>
   1.747 +#endif
   1.748 +#if HAVE_INTTYPES_H
   1.749 +# include <inttypes.h>
   1.750 +#endif
   1.751 +#if HAVE_STDINT_H
   1.752 +# include <stdint.h>
   1.753 +#endif
   1.754 +#if HAVE_UNISTD_H
   1.755 +# include <unistd.h>
   1.756 +#endif"
   1.757 +
   1.758 +ac_subst_vars='SHELL
   1.759 +PATH_SEPARATOR
   1.760 +PACKAGE_NAME
   1.761 +PACKAGE_TARNAME
   1.762 +PACKAGE_VERSION
   1.763 +PACKAGE_STRING
   1.764 +PACKAGE_BUGREPORT
   1.765 +exec_prefix
   1.766 +prefix
   1.767 +program_transform_name
   1.768 +bindir
   1.769 +sbindir
   1.770 +libexecdir
   1.771 +datarootdir
   1.772 +datadir
   1.773 +sysconfdir
   1.774 +sharedstatedir
   1.775 +localstatedir
   1.776 +includedir
   1.777 +oldincludedir
   1.778 +docdir
   1.779 +infodir
   1.780 +htmldir
   1.781 +dvidir
   1.782 +pdfdir
   1.783 +psdir
   1.784 +libdir
   1.785 +localedir
   1.786 +mandir
   1.787 +DEFS
   1.788 +ECHO_C
   1.789 +ECHO_N
   1.790 +ECHO_T
   1.791 +LIBS
   1.792 +build_alias
   1.793 +host_alias
   1.794 +target_alias
   1.795 +INSTALL_PROGRAM
   1.796 +INSTALL_SCRIPT
   1.797 +INSTALL_DATA
   1.798 +CYGPATH_W
   1.799 +PACKAGE
   1.800 +VERSION
   1.801 +ACLOCAL
   1.802 +AUTOCONF
   1.803 +AUTOMAKE
   1.804 +AUTOHEADER
   1.805 +MAKEINFO
   1.806 +install_sh
   1.807 +STRIP
   1.808 +INSTALL_STRIP_PROGRAM
   1.809 +mkdir_p
   1.810 +AWK
   1.811 +SET_MAKE
   1.812 +am__leading_dot
   1.813 +AMTAR
   1.814 +am__tar
   1.815 +am__untar
   1.816 +CXX
   1.817 +CXXFLAGS
   1.818 +LDFLAGS
   1.819 +CPPFLAGS
   1.820 +ac_ct_CXX
   1.821 +EXEEXT
   1.822 +OBJEXT
   1.823 +DEPDIR
   1.824 +am__include
   1.825 +am__quote
   1.826 +AMDEP_TRUE
   1.827 +AMDEP_FALSE
   1.828 +AMDEPBACKSLASH
   1.829 +CXXDEPMODE
   1.830 +am__fastdepCXX_TRUE
   1.831 +am__fastdepCXX_FALSE
   1.832 +build
   1.833 +build_cpu
   1.834 +build_vendor
   1.835 +build_os
   1.836 +host
   1.837 +host_cpu
   1.838 +host_vendor
   1.839 +host_os
   1.840 +CC
   1.841 +CFLAGS
   1.842 +ac_ct_CC
   1.843 +CCDEPMODE
   1.844 +am__fastdepCC_TRUE
   1.845 +am__fastdepCC_FALSE
   1.846 +GREP
   1.847 +EGREP
   1.848 +LN_S
   1.849 +ECHO
   1.850 +AR
   1.851 +RANLIB
   1.852 +CPP
   1.853 +CXXCPP
   1.854 +F77
   1.855 +FFLAGS
   1.856 +ac_ct_F77
   1.857 +LIBTOOL
   1.858 +LIBOBJS
   1.859 +LTLIBOBJS'
   1.860 +ac_subst_files=''
   1.861 +      ac_precious_vars='build_alias
   1.862 +host_alias
   1.863 +target_alias
   1.864 +CXX
   1.865 +CXXFLAGS
   1.866 +LDFLAGS
   1.867 +CPPFLAGS
   1.868 +CCC
   1.869 +CC
   1.870 +CFLAGS
   1.871 +CPP
   1.872 +CXXCPP
   1.873 +F77
   1.874 +FFLAGS'
   1.875 +
   1.876 +
   1.877 +# Initialize some variables set by options.
   1.878 +ac_init_help=
   1.879 +ac_init_version=false
   1.880 +# The variables have the same names as the options, with
   1.881 +# dashes changed to underlines.
   1.882 +cache_file=/dev/null
   1.883 +exec_prefix=NONE
   1.884 +no_create=
   1.885 +no_recursion=
   1.886 +prefix=NONE
   1.887 +program_prefix=NONE
   1.888 +program_suffix=NONE
   1.889 +program_transform_name=s,x,x,
   1.890 +silent=
   1.891 +site=
   1.892 +srcdir=
   1.893 +verbose=
   1.894 +x_includes=NONE
   1.895 +x_libraries=NONE
   1.896 +
   1.897 +# Installation directory options.
   1.898 +# These are left unexpanded so users can "make install exec_prefix=/foo"
   1.899 +# and all the variables that are supposed to be based on exec_prefix
   1.900 +# by default will actually change.
   1.901 +# Use braces instead of parens because sh, perl, etc. also accept them.
   1.902 +# (The list follows the same order as the GNU Coding Standards.)
   1.903 +bindir='${exec_prefix}/bin'
   1.904 +sbindir='${exec_prefix}/sbin'
   1.905 +libexecdir='${exec_prefix}/libexec'
   1.906 +datarootdir='${prefix}/share'
   1.907 +datadir='${datarootdir}'
   1.908 +sysconfdir='${prefix}/etc'
   1.909 +sharedstatedir='${prefix}/com'
   1.910 +localstatedir='${prefix}/var'
   1.911 +includedir='${prefix}/include'
   1.912 +oldincludedir='/usr/include'
   1.913 +docdir='${datarootdir}/doc/${PACKAGE}'
   1.914 +infodir='${datarootdir}/info'
   1.915 +htmldir='${docdir}'
   1.916 +dvidir='${docdir}'
   1.917 +pdfdir='${docdir}'
   1.918 +psdir='${docdir}'
   1.919 +libdir='${exec_prefix}/lib'
   1.920 +localedir='${datarootdir}/locale'
   1.921 +mandir='${datarootdir}/man'
   1.922 +
   1.923 +ac_prev=
   1.924 +ac_dashdash=
   1.925 +for ac_option
   1.926 +do
   1.927 +  # If the previous option needs an argument, assign it.
   1.928 +  if test -n "$ac_prev"; then
   1.929 +    eval $ac_prev=\$ac_option
   1.930 +    ac_prev=
   1.931 +    continue
   1.932 +  fi
   1.933 +
   1.934 +  case $ac_option in
   1.935 +  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1.936 +  *)	ac_optarg=yes ;;
   1.937 +  esac
   1.938 +
   1.939 +  # Accept the important Cygnus configure options, so we can diagnose typos.
   1.940 +
   1.941 +  case $ac_dashdash$ac_option in
   1.942 +  --)
   1.943 +    ac_dashdash=yes ;;
   1.944 +
   1.945 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1.946 +    ac_prev=bindir ;;
   1.947 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1.948 +    bindir=$ac_optarg ;;
   1.949 +
   1.950 +  -build | --build | --buil | --bui | --bu)
   1.951 +    ac_prev=build_alias ;;
   1.952 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1.953 +    build_alias=$ac_optarg ;;
   1.954 +
   1.955 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
   1.956 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1.957 +    ac_prev=cache_file ;;
   1.958 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1.959 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1.960 +    cache_file=$ac_optarg ;;
   1.961 +
   1.962 +  --config-cache | -C)
   1.963 +    cache_file=config.cache ;;
   1.964 +
   1.965 +  -datadir | --datadir | --datadi | --datad)
   1.966 +    ac_prev=datadir ;;
   1.967 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1.968 +    datadir=$ac_optarg ;;
   1.969 +
   1.970 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1.971 +  | --dataroo | --dataro | --datar)
   1.972 +    ac_prev=datarootdir ;;
   1.973 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1.974 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1.975 +    datarootdir=$ac_optarg ;;
   1.976 +
   1.977 +  -disable-* | --disable-*)
   1.978 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1.979 +    # Reject names that are not valid shell variable names.
   1.980 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1.981 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1.982 +   { (exit 1); exit 1; }; }
   1.983 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   1.984 +    eval enable_$ac_feature=no ;;
   1.985 +
   1.986 +  -docdir | --docdir | --docdi | --doc | --do)
   1.987 +    ac_prev=docdir ;;
   1.988 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1.989 +    docdir=$ac_optarg ;;
   1.990 +
   1.991 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1.992 +    ac_prev=dvidir ;;
   1.993 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1.994 +    dvidir=$ac_optarg ;;
   1.995 +
   1.996 +  -enable-* | --enable-*)
   1.997 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1.998 +    # Reject names that are not valid shell variable names.
   1.999 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1.1000 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1.1001 +   { (exit 1); exit 1; }; }
  1.1002 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  1.1003 +    eval enable_$ac_feature=\$ac_optarg ;;
  1.1004 +
  1.1005 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1.1006 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1.1007 +  | --exec | --exe | --ex)
  1.1008 +    ac_prev=exec_prefix ;;
  1.1009 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1.1010 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1.1011 +  | --exec=* | --exe=* | --ex=*)
  1.1012 +    exec_prefix=$ac_optarg ;;
  1.1013 +
  1.1014 +  -gas | --gas | --ga | --g)
  1.1015 +    # Obsolete; use --with-gas.
  1.1016 +    with_gas=yes ;;
  1.1017 +
  1.1018 +  -help | --help | --hel | --he | -h)
  1.1019 +    ac_init_help=long ;;
  1.1020 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1.1021 +    ac_init_help=recursive ;;
  1.1022 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1.1023 +    ac_init_help=short ;;
  1.1024 +
  1.1025 +  -host | --host | --hos | --ho)
  1.1026 +    ac_prev=host_alias ;;
  1.1027 +  -host=* | --host=* | --hos=* | --ho=*)
  1.1028 +    host_alias=$ac_optarg ;;
  1.1029 +
  1.1030 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1.1031 +    ac_prev=htmldir ;;
  1.1032 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1.1033 +  | --ht=*)
  1.1034 +    htmldir=$ac_optarg ;;
  1.1035 +
  1.1036 +  -includedir | --includedir | --includedi | --included | --include \
  1.1037 +  | --includ | --inclu | --incl | --inc)
  1.1038 +    ac_prev=includedir ;;
  1.1039 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1.1040 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  1.1041 +    includedir=$ac_optarg ;;
  1.1042 +
  1.1043 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  1.1044 +    ac_prev=infodir ;;
  1.1045 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1.1046 +    infodir=$ac_optarg ;;
  1.1047 +
  1.1048 +  -libdir | --libdir | --libdi | --libd)
  1.1049 +    ac_prev=libdir ;;
  1.1050 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1.1051 +    libdir=$ac_optarg ;;
  1.1052 +
  1.1053 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1.1054 +  | --libexe | --libex | --libe)
  1.1055 +    ac_prev=libexecdir ;;
  1.1056 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1.1057 +  | --libexe=* | --libex=* | --libe=*)
  1.1058 +    libexecdir=$ac_optarg ;;
  1.1059 +
  1.1060 +  -localedir | --localedir | --localedi | --localed | --locale)
  1.1061 +    ac_prev=localedir ;;
  1.1062 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1.1063 +    localedir=$ac_optarg ;;
  1.1064 +
  1.1065 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  1.1066 +  | --localstate | --localstat | --localsta | --localst | --locals)
  1.1067 +    ac_prev=localstatedir ;;
  1.1068 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1.1069 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1.1070 +    localstatedir=$ac_optarg ;;
  1.1071 +
  1.1072 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1.1073 +    ac_prev=mandir ;;
  1.1074 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1.1075 +    mandir=$ac_optarg ;;
  1.1076 +
  1.1077 +  -nfp | --nfp | --nf)
  1.1078 +    # Obsolete; use --without-fp.
  1.1079 +    with_fp=no ;;
  1.1080 +
  1.1081 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1.1082 +  | --no-cr | --no-c | -n)
  1.1083 +    no_create=yes ;;
  1.1084 +
  1.1085 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1.1086 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1.1087 +    no_recursion=yes ;;
  1.1088 +
  1.1089 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1.1090 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1.1091 +  | --oldin | --oldi | --old | --ol | --o)
  1.1092 +    ac_prev=oldincludedir ;;
  1.1093 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1.1094 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1.1095 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1.1096 +    oldincludedir=$ac_optarg ;;
  1.1097 +
  1.1098 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1.1099 +    ac_prev=prefix ;;
  1.1100 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1.1101 +    prefix=$ac_optarg ;;
  1.1102 +
  1.1103 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1.1104 +  | --program-pre | --program-pr | --program-p)
  1.1105 +    ac_prev=program_prefix ;;
  1.1106 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1.1107 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1.1108 +    program_prefix=$ac_optarg ;;
  1.1109 +
  1.1110 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1.1111 +  | --program-suf | --program-su | --program-s)
  1.1112 +    ac_prev=program_suffix ;;
  1.1113 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1.1114 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1.1115 +    program_suffix=$ac_optarg ;;
  1.1116 +
  1.1117 +  -program-transform-name | --program-transform-name \
  1.1118 +  | --program-transform-nam | --program-transform-na \
  1.1119 +  | --program-transform-n | --program-transform- \
  1.1120 +  | --program-transform | --program-transfor \
  1.1121 +  | --program-transfo | --program-transf \
  1.1122 +  | --program-trans | --program-tran \
  1.1123 +  | --progr-tra | --program-tr | --program-t)
  1.1124 +    ac_prev=program_transform_name ;;
  1.1125 +  -program-transform-name=* | --program-transform-name=* \
  1.1126 +  | --program-transform-nam=* | --program-transform-na=* \
  1.1127 +  | --program-transform-n=* | --program-transform-=* \
  1.1128 +  | --program-transform=* | --program-transfor=* \
  1.1129 +  | --program-transfo=* | --program-transf=* \
  1.1130 +  | --program-trans=* | --program-tran=* \
  1.1131 +  | --progr-tra=* | --program-tr=* | --program-t=*)
  1.1132 +    program_transform_name=$ac_optarg ;;
  1.1133 +
  1.1134 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1.1135 +    ac_prev=pdfdir ;;
  1.1136 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1.1137 +    pdfdir=$ac_optarg ;;
  1.1138 +
  1.1139 +  -psdir | --psdir | --psdi | --psd | --ps)
  1.1140 +    ac_prev=psdir ;;
  1.1141 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1.1142 +    psdir=$ac_optarg ;;
  1.1143 +
  1.1144 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.1145 +  | -silent | --silent | --silen | --sile | --sil)
  1.1146 +    silent=yes ;;
  1.1147 +
  1.1148 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1.1149 +    ac_prev=sbindir ;;
  1.1150 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1.1151 +  | --sbi=* | --sb=*)
  1.1152 +    sbindir=$ac_optarg ;;
  1.1153 +
  1.1154 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1.1155 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1.1156 +  | --sharedst | --shareds | --shared | --share | --shar \
  1.1157 +  | --sha | --sh)
  1.1158 +    ac_prev=sharedstatedir ;;
  1.1159 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1.1160 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1.1161 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1.1162 +  | --sha=* | --sh=*)
  1.1163 +    sharedstatedir=$ac_optarg ;;
  1.1164 +
  1.1165 +  -site | --site | --sit)
  1.1166 +    ac_prev=site ;;
  1.1167 +  -site=* | --site=* | --sit=*)
  1.1168 +    site=$ac_optarg ;;
  1.1169 +
  1.1170 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1.1171 +    ac_prev=srcdir ;;
  1.1172 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1.1173 +    srcdir=$ac_optarg ;;
  1.1174 +
  1.1175 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1.1176 +  | --syscon | --sysco | --sysc | --sys | --sy)
  1.1177 +    ac_prev=sysconfdir ;;
  1.1178 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1.1179 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1.1180 +    sysconfdir=$ac_optarg ;;
  1.1181 +
  1.1182 +  -target | --target | --targe | --targ | --tar | --ta | --t)
  1.1183 +    ac_prev=target_alias ;;
  1.1184 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1.1185 +    target_alias=$ac_optarg ;;
  1.1186 +
  1.1187 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1.1188 +    verbose=yes ;;
  1.1189 +
  1.1190 +  -version | --version | --versio | --versi | --vers | -V)
  1.1191 +    ac_init_version=: ;;
  1.1192 +
  1.1193 +  -with-* | --with-*)
  1.1194 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1195 +    # Reject names that are not valid shell variable names.
  1.1196 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1.1197 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1198 +   { (exit 1); exit 1; }; }
  1.1199 +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  1.1200 +    eval with_$ac_package=\$ac_optarg ;;
  1.1201 +
  1.1202 +  -without-* | --without-*)
  1.1203 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1204 +    # Reject names that are not valid shell variable names.
  1.1205 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1.1206 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1207 +   { (exit 1); exit 1; }; }
  1.1208 +    ac_package=`echo $ac_package | sed 's/-/_/g'`
  1.1209 +    eval with_$ac_package=no ;;
  1.1210 +
  1.1211 +  --x)
  1.1212 +    # Obsolete; use --with-x.
  1.1213 +    with_x=yes ;;
  1.1214 +
  1.1215 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1.1216 +  | --x-incl | --x-inc | --x-in | --x-i)
  1.1217 +    ac_prev=x_includes ;;
  1.1218 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1.1219 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1.1220 +    x_includes=$ac_optarg ;;
  1.1221 +
  1.1222 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1.1223 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1.1224 +    ac_prev=x_libraries ;;
  1.1225 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1.1226 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1.1227 +    x_libraries=$ac_optarg ;;
  1.1228 +
  1.1229 +  -*) { echo "$as_me: error: unrecognized option: $ac_option
  1.1230 +Try \`$0 --help' for more information." >&2
  1.1231 +   { (exit 1); exit 1; }; }
  1.1232 +    ;;
  1.1233 +
  1.1234 +  *=*)
  1.1235 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1.1236 +    # Reject names that are not valid shell variable names.
  1.1237 +    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1.1238 +      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1.1239 +   { (exit 1); exit 1; }; }
  1.1240 +    eval $ac_envvar=\$ac_optarg
  1.1241 +    export $ac_envvar ;;
  1.1242 +
  1.1243 +  *)
  1.1244 +    # FIXME: should be removed in autoconf 3.0.
  1.1245 +    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1246 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1247 +      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1248 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1.1249 +    ;;
  1.1250 +
  1.1251 +  esac
  1.1252 +done
  1.1253 +
  1.1254 +if test -n "$ac_prev"; then
  1.1255 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1.1256 +  { echo "$as_me: error: missing argument to $ac_option" >&2
  1.1257 +   { (exit 1); exit 1; }; }
  1.1258 +fi
  1.1259 +
  1.1260 +# Be sure to have absolute directory names.
  1.1261 +for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1.1262 +		datadir sysconfdir sharedstatedir localstatedir includedir \
  1.1263 +		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1.1264 +		libdir localedir mandir
  1.1265 +do
  1.1266 +  eval ac_val=\$$ac_var
  1.1267 +  case $ac_val in
  1.1268 +    [\\/$]* | ?:[\\/]* )  continue;;
  1.1269 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1.1270 +  esac
  1.1271 +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1.1272 +   { (exit 1); exit 1; }; }
  1.1273 +done
  1.1274 +
  1.1275 +# There might be people who depend on the old broken behavior: `$host'
  1.1276 +# used to hold the argument of --host etc.
  1.1277 +# FIXME: To remove some day.
  1.1278 +build=$build_alias
  1.1279 +host=$host_alias
  1.1280 +target=$target_alias
  1.1281 +
  1.1282 +# FIXME: To remove some day.
  1.1283 +if test "x$host_alias" != x; then
  1.1284 +  if test "x$build_alias" = x; then
  1.1285 +    cross_compiling=maybe
  1.1286 +    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1.1287 +    If a cross compiler is detected then cross compile mode will be used." >&2
  1.1288 +  elif test "x$build_alias" != "x$host_alias"; then
  1.1289 +    cross_compiling=yes
  1.1290 +  fi
  1.1291 +fi
  1.1292 +
  1.1293 +ac_tool_prefix=
  1.1294 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1.1295 +
  1.1296 +test "$silent" = yes && exec 6>/dev/null
  1.1297 +
  1.1298 +
  1.1299 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1.1300 +ac_ls_di=`ls -di .` &&
  1.1301 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1.1302 +  { echo "$as_me: error: Working directory cannot be determined" >&2
  1.1303 +   { (exit 1); exit 1; }; }
  1.1304 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1.1305 +  { echo "$as_me: error: pwd does not report name of working directory" >&2
  1.1306 +   { (exit 1); exit 1; }; }
  1.1307 +
  1.1308 +
  1.1309 +# Find the source files, if location was not specified.
  1.1310 +if test -z "$srcdir"; then
  1.1311 +  ac_srcdir_defaulted=yes
  1.1312 +  # Try the directory containing this script, then the parent directory.
  1.1313 +  ac_confdir=`$as_dirname -- "$0" ||
  1.1314 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1315 +	 X"$0" : 'X\(//\)[^/]' \| \
  1.1316 +	 X"$0" : 'X\(//\)$' \| \
  1.1317 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.1318 +echo X"$0" |
  1.1319 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.1320 +	    s//\1/
  1.1321 +	    q
  1.1322 +	  }
  1.1323 +	  /^X\(\/\/\)[^/].*/{
  1.1324 +	    s//\1/
  1.1325 +	    q
  1.1326 +	  }
  1.1327 +	  /^X\(\/\/\)$/{
  1.1328 +	    s//\1/
  1.1329 +	    q
  1.1330 +	  }
  1.1331 +	  /^X\(\/\).*/{
  1.1332 +	    s//\1/
  1.1333 +	    q
  1.1334 +	  }
  1.1335 +	  s/.*/./; q'`
  1.1336 +  srcdir=$ac_confdir
  1.1337 +  if test ! -r "$srcdir/$ac_unique_file"; then
  1.1338 +    srcdir=..
  1.1339 +  fi
  1.1340 +else
  1.1341 +  ac_srcdir_defaulted=no
  1.1342 +fi
  1.1343 +if test ! -r "$srcdir/$ac_unique_file"; then
  1.1344 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1.1345 +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1.1346 +   { (exit 1); exit 1; }; }
  1.1347 +fi
  1.1348 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1.1349 +ac_abs_confdir=`(
  1.1350 +	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1.1351 +   { (exit 1); exit 1; }; }
  1.1352 +	pwd)`
  1.1353 +# When building in place, set srcdir=.
  1.1354 +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1.1355 +  srcdir=.
  1.1356 +fi
  1.1357 +# Remove unnecessary trailing slashes from srcdir.
  1.1358 +# Double slashes in file names in object file debugging info
  1.1359 +# mess up M-x gdb in Emacs.
  1.1360 +case $srcdir in
  1.1361 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1.1362 +esac
  1.1363 +for ac_var in $ac_precious_vars; do
  1.1364 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1.1365 +  eval ac_env_${ac_var}_value=\$${ac_var}
  1.1366 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1.1367 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1.1368 +done
  1.1369 +
  1.1370 +#
  1.1371 +# Report the --help message.
  1.1372 +#
  1.1373 +if test "$ac_init_help" = "long"; then
  1.1374 +  # Omit some internal or obsolete options to make the list less imposing.
  1.1375 +  # This message is too long to be a string in the A/UX 3.1 sh.
  1.1376 +  cat <<_ACEOF
  1.1377 +\`configure' configures this package to adapt to many kinds of systems.
  1.1378 +
  1.1379 +Usage: $0 [OPTION]... [VAR=VALUE]...
  1.1380 +
  1.1381 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1.1382 +VAR=VALUE.  See below for descriptions of some of the useful variables.
  1.1383 +
  1.1384 +Defaults for the options are specified in brackets.
  1.1385 +
  1.1386 +Configuration:
  1.1387 +  -h, --help              display this help and exit
  1.1388 +      --help=short        display options specific to this package
  1.1389 +      --help=recursive    display the short help of all the included packages
  1.1390 +  -V, --version           display version information and exit
  1.1391 +  -q, --quiet, --silent   do not print \`checking...' messages
  1.1392 +      --cache-file=FILE   cache test results in FILE [disabled]
  1.1393 +  -C, --config-cache      alias for \`--cache-file=config.cache'
  1.1394 +  -n, --no-create         do not create output files
  1.1395 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1.1396 +
  1.1397 +Installation directories:
  1.1398 +  --prefix=PREFIX         install architecture-independent files in PREFIX
  1.1399 +			  [$ac_default_prefix]
  1.1400 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1.1401 +			  [PREFIX]
  1.1402 +
  1.1403 +By default, \`make install' will install all the files in
  1.1404 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1.1405 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1.1406 +for instance \`--prefix=\$HOME'.
  1.1407 +
  1.1408 +For better control, use the options below.
  1.1409 +
  1.1410 +Fine tuning of the installation directories:
  1.1411 +  --bindir=DIR           user executables [EPREFIX/bin]
  1.1412 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1.1413 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
  1.1414 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1.1415 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1.1416 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1.1417 +  --libdir=DIR           object code libraries [EPREFIX/lib]
  1.1418 +  --includedir=DIR       C header files [PREFIX/include]
  1.1419 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1.1420 +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1.1421 +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1.1422 +  --infodir=DIR          info documentation [DATAROOTDIR/info]
  1.1423 +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1.1424 +  --mandir=DIR           man documentation [DATAROOTDIR/man]
  1.1425 +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1426 +  --htmldir=DIR          html documentation [DOCDIR]
  1.1427 +  --dvidir=DIR           dvi documentation [DOCDIR]
  1.1428 +  --pdfdir=DIR           pdf documentation [DOCDIR]
  1.1429 +  --psdir=DIR            ps documentation [DOCDIR]
  1.1430 +_ACEOF
  1.1431 +
  1.1432 +  cat <<\_ACEOF
  1.1433 +
  1.1434 +Program names:
  1.1435 +  --program-prefix=PREFIX            prepend PREFIX to installed program names
  1.1436 +  --program-suffix=SUFFIX            append SUFFIX to installed program names
  1.1437 +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1.1438 +
  1.1439 +System types:
  1.1440 +  --build=BUILD     configure for building on BUILD [guessed]
  1.1441 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1.1442 +_ACEOF
  1.1443 +fi
  1.1444 +
  1.1445 +if test -n "$ac_init_help"; then
  1.1446 +
  1.1447 +  cat <<\_ACEOF
  1.1448 +
  1.1449 +Optional Features:
  1.1450 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1.1451 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1.1452 +  --disable-dependency-tracking  speeds up one-time build
  1.1453 +  --enable-dependency-tracking   do not reject slow dependency extractors
  1.1454 +  --enable-shared[=PKGS]  build shared libraries [default=yes]
  1.1455 +  --enable-static[=PKGS]  build static libraries [default=yes]
  1.1456 +  --enable-fast-install[=PKGS]
  1.1457 +                          optimize for fast installation [default=yes]
  1.1458 +  --disable-libtool-lock  avoid locking (might break parallel builds)
  1.1459 +
  1.1460 +Optional Packages:
  1.1461 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1.1462 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1.1463 +  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1.1464 +  --with-pic              try to use only PIC/non-PIC objects [default=use
  1.1465 +                          both]
  1.1466 +  --with-tags[=TAGS]      include additional configurations [automatic]
  1.1467 +
  1.1468 +Some influential environment variables:
  1.1469 +  CXX         C++ compiler command
  1.1470 +  CXXFLAGS    C++ compiler flags
  1.1471 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1.1472 +              nonstandard directory <lib dir>
  1.1473 +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1.1474 +              you have headers in a nonstandard directory <include dir>
  1.1475 +  CC          C compiler command
  1.1476 +  CFLAGS      C compiler flags
  1.1477 +  CPP         C preprocessor
  1.1478 +  CXXCPP      C++ preprocessor
  1.1479 +  F77         Fortran 77 compiler command
  1.1480 +  FFLAGS      Fortran 77 compiler flags
  1.1481 +
  1.1482 +Use these variables to override the choices made by `configure' or to help
  1.1483 +it to find libraries and programs with nonstandard names/locations.
  1.1484 +
  1.1485 +_ACEOF
  1.1486 +ac_status=$?
  1.1487 +fi
  1.1488 +
  1.1489 +if test "$ac_init_help" = "recursive"; then
  1.1490 +  # If there are subdirs, report their specific --help.
  1.1491 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1.1492 +    test -d "$ac_dir" || continue
  1.1493 +    ac_builddir=.
  1.1494 +
  1.1495 +case "$ac_dir" in
  1.1496 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1497 +*)
  1.1498 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1.1499 +  # A ".." for each directory in $ac_dir_suffix.
  1.1500 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1.1501 +  case $ac_top_builddir_sub in
  1.1502 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1503 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.1504 +  esac ;;
  1.1505 +esac
  1.1506 +ac_abs_top_builddir=$ac_pwd
  1.1507 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1.1508 +# for backward compatibility:
  1.1509 +ac_top_builddir=$ac_top_build_prefix
  1.1510 +
  1.1511 +case $srcdir in
  1.1512 +  .)  # We are building in place.
  1.1513 +    ac_srcdir=.
  1.1514 +    ac_top_srcdir=$ac_top_builddir_sub
  1.1515 +    ac_abs_top_srcdir=$ac_pwd ;;
  1.1516 +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1.1517 +    ac_srcdir=$srcdir$ac_dir_suffix;
  1.1518 +    ac_top_srcdir=$srcdir
  1.1519 +    ac_abs_top_srcdir=$srcdir ;;
  1.1520 +  *) # Relative name.
  1.1521 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1.1522 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1.1523 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1.1524 +esac
  1.1525 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1.1526 +
  1.1527 +    cd "$ac_dir" || { ac_status=$?; continue; }
  1.1528 +    # Check for guested configure.
  1.1529 +    if test -f "$ac_srcdir/configure.gnu"; then
  1.1530 +      echo &&
  1.1531 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1.1532 +    elif test -f "$ac_srcdir/configure"; then
  1.1533 +      echo &&
  1.1534 +      $SHELL "$ac_srcdir/configure" --help=recursive
  1.1535 +    else
  1.1536 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.1537 +    fi || ac_status=$?
  1.1538 +    cd "$ac_pwd" || { ac_status=$?; break; }
  1.1539 +  done
  1.1540 +fi
  1.1541 +
  1.1542 +test -n "$ac_init_help" && exit $ac_status
  1.1543 +if $ac_init_version; then
  1.1544 +  cat <<\_ACEOF
  1.1545 +configure
  1.1546 +generated by GNU Autoconf 2.60
  1.1547 +
  1.1548 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1.1549 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1.1550 +This configure script is free software; the Free Software Foundation
  1.1551 +gives unlimited permission to copy, distribute and modify it.
  1.1552 +_ACEOF
  1.1553 +  exit
  1.1554 +fi
  1.1555 +cat >config.log <<_ACEOF
  1.1556 +This file contains any messages produced by compilers while
  1.1557 +running configure, to aid debugging if configure makes a mistake.
  1.1558 +
  1.1559 +It was created by $as_me, which was
  1.1560 +generated by GNU Autoconf 2.60.  Invocation command line was
  1.1561 +
  1.1562 +  $ $0 $@
  1.1563 +
  1.1564 +_ACEOF
  1.1565 +exec 5>>config.log
  1.1566 +{
  1.1567 +cat <<_ASUNAME
  1.1568 +## --------- ##
  1.1569 +## Platform. ##
  1.1570 +## --------- ##
  1.1571 +
  1.1572 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.1573 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1.1574 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1.1575 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1.1576 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1.1577 +
  1.1578 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1.1579 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1.1580 +
  1.1581 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1.1582 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1.1583 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1.1584 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1.1585 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1.1586 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1.1587 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1.1588 +
  1.1589 +_ASUNAME
  1.1590 +
  1.1591 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1592 +for as_dir in $PATH
  1.1593 +do
  1.1594 +  IFS=$as_save_IFS
  1.1595 +  test -z "$as_dir" && as_dir=.
  1.1596 +  echo "PATH: $as_dir"
  1.1597 +done
  1.1598 +IFS=$as_save_IFS
  1.1599 +
  1.1600 +} >&5
  1.1601 +
  1.1602 +cat >&5 <<_ACEOF
  1.1603 +
  1.1604 +
  1.1605 +## ----------- ##
  1.1606 +## Core tests. ##
  1.1607 +## ----------- ##
  1.1608 +
  1.1609 +_ACEOF
  1.1610 +
  1.1611 +
  1.1612 +# Keep a trace of the command line.
  1.1613 +# Strip out --no-create and --no-recursion so they do not pile up.
  1.1614 +# Strip out --silent because we don't want to record it for future runs.
  1.1615 +# Also quote any args containing shell meta-characters.
  1.1616 +# Make two passes to allow for proper duplicate-argument suppression.
  1.1617 +ac_configure_args=
  1.1618 +ac_configure_args0=
  1.1619 +ac_configure_args1=
  1.1620 +ac_must_keep_next=false
  1.1621 +for ac_pass in 1 2
  1.1622 +do
  1.1623 +  for ac_arg
  1.1624 +  do
  1.1625 +    case $ac_arg in
  1.1626 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1.1627 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.1628 +    | -silent | --silent | --silen | --sile | --sil)
  1.1629 +      continue ;;
  1.1630 +    *\'*)
  1.1631 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1632 +    esac
  1.1633 +    case $ac_pass in
  1.1634 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1.1635 +    2)
  1.1636 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1.1637 +      if test $ac_must_keep_next = true; then
  1.1638 +	ac_must_keep_next=false # Got value, back to normal.
  1.1639 +      else
  1.1640 +	case $ac_arg in
  1.1641 +	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1.1642 +	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1.1643 +	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1.1644 +	  | -with-* | --with-* | -without-* | --without-* | --x)
  1.1645 +	    case "$ac_configure_args0 " in
  1.1646 +	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1.1647 +	    esac
  1.1648 +	    ;;
  1.1649 +	  -* ) ac_must_keep_next=true ;;
  1.1650 +	esac
  1.1651 +      fi
  1.1652 +      ac_configure_args="$ac_configure_args '$ac_arg'"
  1.1653 +      ;;
  1.1654 +    esac
  1.1655 +  done
  1.1656 +done
  1.1657 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1.1658 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1.1659 +
  1.1660 +# When interrupted or exit'd, cleanup temporary files, and complete
  1.1661 +# config.log.  We remove comments because anyway the quotes in there
  1.1662 +# would cause problems or look ugly.
  1.1663 +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1.1664 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1.1665 +trap 'exit_status=$?
  1.1666 +  # Save into config.log some information that might help in debugging.
  1.1667 +  {
  1.1668 +    echo
  1.1669 +
  1.1670 +    cat <<\_ASBOX
  1.1671 +## ---------------- ##
  1.1672 +## Cache variables. ##
  1.1673 +## ---------------- ##
  1.1674 +_ASBOX
  1.1675 +    echo
  1.1676 +    # The following way of writing the cache mishandles newlines in values,
  1.1677 +(
  1.1678 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1.1679 +    eval ac_val=\$$ac_var
  1.1680 +    case $ac_val in #(
  1.1681 +    *${as_nl}*)
  1.1682 +      case $ac_var in #(
  1.1683 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1.1684 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1.1685 +      esac
  1.1686 +      case $ac_var in #(
  1.1687 +      _ | IFS | as_nl) ;; #(
  1.1688 +      *) $as_unset $ac_var ;;
  1.1689 +      esac ;;
  1.1690 +    esac
  1.1691 +  done
  1.1692 +  (set) 2>&1 |
  1.1693 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1.1694 +    *${as_nl}ac_space=\ *)
  1.1695 +      sed -n \
  1.1696 +	"s/'\''/'\''\\\\'\'''\''/g;
  1.1697 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1.1698 +      ;; #(
  1.1699 +    *)
  1.1700 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1.1701 +      ;;
  1.1702 +    esac |
  1.1703 +    sort
  1.1704 +)
  1.1705 +    echo
  1.1706 +
  1.1707 +    cat <<\_ASBOX
  1.1708 +## ----------------- ##
  1.1709 +## Output variables. ##
  1.1710 +## ----------------- ##
  1.1711 +_ASBOX
  1.1712 +    echo
  1.1713 +    for ac_var in $ac_subst_vars
  1.1714 +    do
  1.1715 +      eval ac_val=\$$ac_var
  1.1716 +      case $ac_val in
  1.1717 +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1718 +      esac
  1.1719 +      echo "$ac_var='\''$ac_val'\''"
  1.1720 +    done | sort
  1.1721 +    echo
  1.1722 +
  1.1723 +    if test -n "$ac_subst_files"; then
  1.1724 +      cat <<\_ASBOX
  1.1725 +## ------------------- ##
  1.1726 +## File substitutions. ##
  1.1727 +## ------------------- ##
  1.1728 +_ASBOX
  1.1729 +      echo
  1.1730 +      for ac_var in $ac_subst_files
  1.1731 +      do
  1.1732 +	eval ac_val=\$$ac_var
  1.1733 +	case $ac_val in
  1.1734 +	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1735 +	esac
  1.1736 +	echo "$ac_var='\''$ac_val'\''"
  1.1737 +      done | sort
  1.1738 +      echo
  1.1739 +    fi
  1.1740 +
  1.1741 +    if test -s confdefs.h; then
  1.1742 +      cat <<\_ASBOX
  1.1743 +## ----------- ##
  1.1744 +## confdefs.h. ##
  1.1745 +## ----------- ##
  1.1746 +_ASBOX
  1.1747 +      echo
  1.1748 +      cat confdefs.h
  1.1749 +      echo
  1.1750 +    fi
  1.1751 +    test "$ac_signal" != 0 &&
  1.1752 +      echo "$as_me: caught signal $ac_signal"
  1.1753 +    echo "$as_me: exit $exit_status"
  1.1754 +  } >&5
  1.1755 +  rm -f core *.core core.conftest.* &&
  1.1756 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1.1757 +    exit $exit_status
  1.1758 +' 0
  1.1759 +for ac_signal in 1 2 13 15; do
  1.1760 +  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1.1761 +done
  1.1762 +ac_signal=0
  1.1763 +
  1.1764 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1.1765 +rm -f -r conftest* confdefs.h
  1.1766 +
  1.1767 +# Predefined preprocessor variables.
  1.1768 +
  1.1769 +cat >>confdefs.h <<_ACEOF
  1.1770 +#define PACKAGE_NAME "$PACKAGE_NAME"
  1.1771 +_ACEOF
  1.1772 +
  1.1773 +
  1.1774 +cat >>confdefs.h <<_ACEOF
  1.1775 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1.1776 +_ACEOF
  1.1777 +
  1.1778 +
  1.1779 +cat >>confdefs.h <<_ACEOF
  1.1780 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  1.1781 +_ACEOF
  1.1782 +
  1.1783 +
  1.1784 +cat >>confdefs.h <<_ACEOF
  1.1785 +#define PACKAGE_STRING "$PACKAGE_STRING"
  1.1786 +_ACEOF
  1.1787 +
  1.1788 +
  1.1789 +cat >>confdefs.h <<_ACEOF
  1.1790 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1.1791 +_ACEOF
  1.1792 +
  1.1793 +
  1.1794 +# Let the site file select an alternate cache file if it wants to.
  1.1795 +# Prefer explicitly selected file to automatically selected ones.
  1.1796 +if test -n "$CONFIG_SITE"; then
  1.1797 +  set x "$CONFIG_SITE"
  1.1798 +elif test "x$prefix" != xNONE; then
  1.1799 +  set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1.1800 +else
  1.1801 +  set x "$ac_default_prefix/share/config.site" \
  1.1802 +	"$ac_default_prefix/etc/config.site"
  1.1803 +fi
  1.1804 +shift
  1.1805 +for ac_site_file
  1.1806 +do
  1.1807 +  if test -r "$ac_site_file"; then
  1.1808 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1.1809 +echo "$as_me: loading site script $ac_site_file" >&6;}
  1.1810 +    sed 's/^/| /' "$ac_site_file" >&5
  1.1811 +    . "$ac_site_file"
  1.1812 +  fi
  1.1813 +done
  1.1814 +
  1.1815 +if test -r "$cache_file"; then
  1.1816 +  # Some versions of bash will fail to source /dev/null (special
  1.1817 +  # files actually), so we avoid doing that.
  1.1818 +  if test -f "$cache_file"; then
  1.1819 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1.1820 +echo "$as_me: loading cache $cache_file" >&6;}
  1.1821 +    case $cache_file in
  1.1822 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1.1823 +      *)                      . "./$cache_file";;
  1.1824 +    esac
  1.1825 +  fi
  1.1826 +else
  1.1827 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1.1828 +echo "$as_me: creating cache $cache_file" >&6;}
  1.1829 +  >$cache_file
  1.1830 +fi
  1.1831 +
  1.1832 +# Check that the precious variables saved in the cache have kept the same
  1.1833 +# value.
  1.1834 +ac_cache_corrupted=false
  1.1835 +for ac_var in $ac_precious_vars; do
  1.1836 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1.1837 +  eval ac_new_set=\$ac_env_${ac_var}_set
  1.1838 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1.1839 +  eval ac_new_val=\$ac_env_${ac_var}_value
  1.1840 +  case $ac_old_set,$ac_new_set in
  1.1841 +    set,)
  1.1842 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.1843 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.1844 +      ac_cache_corrupted=: ;;
  1.1845 +    ,set)
  1.1846 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1.1847 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.1848 +      ac_cache_corrupted=: ;;
  1.1849 +    ,);;
  1.1850 +    *)
  1.1851 +      if test "x$ac_old_val" != "x$ac_new_val"; then
  1.1852 +	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1.1853 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.1854 +	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1.1855 +echo "$as_me:   former value:  $ac_old_val" >&2;}
  1.1856 +	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1.1857 +echo "$as_me:   current value: $ac_new_val" >&2;}
  1.1858 +	ac_cache_corrupted=:
  1.1859 +      fi;;
  1.1860 +  esac
  1.1861 +  # Pass precious variables to config.status.
  1.1862 +  if test "$ac_new_set" = set; then
  1.1863 +    case $ac_new_val in
  1.1864 +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1865 +    *) ac_arg=$ac_var=$ac_new_val ;;
  1.1866 +    esac
  1.1867 +    case " $ac_configure_args " in
  1.1868 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1.1869 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1.1870 +    esac
  1.1871 +  fi
  1.1872 +done
  1.1873 +if $ac_cache_corrupted; then
  1.1874 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1.1875 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.1876 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1.1877 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1.1878 +   { (exit 1); exit 1; }; }
  1.1879 +fi
  1.1880 +
  1.1881 +
  1.1882 +
  1.1883 +
  1.1884 +
  1.1885 +
  1.1886 +
  1.1887 +
  1.1888 +
  1.1889 +
  1.1890 +
  1.1891 +
  1.1892 +
  1.1893 +
  1.1894 +
  1.1895 +
  1.1896 +
  1.1897 +ac_ext=c
  1.1898 +ac_cpp='$CPP $CPPFLAGS'
  1.1899 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.1900 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.1901 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.1902 +
  1.1903 +
  1.1904 +
  1.1905 +ac_config_headers="$ac_config_headers config.h"
  1.1906 +
  1.1907 +am__api_version="1.9"
  1.1908 +ac_aux_dir=
  1.1909 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1.1910 +  if test -f "$ac_dir/install-sh"; then
  1.1911 +    ac_aux_dir=$ac_dir
  1.1912 +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1.1913 +    break
  1.1914 +  elif test -f "$ac_dir/install.sh"; then
  1.1915 +    ac_aux_dir=$ac_dir
  1.1916 +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1.1917 +    break
  1.1918 +  elif test -f "$ac_dir/shtool"; then
  1.1919 +    ac_aux_dir=$ac_dir
  1.1920 +    ac_install_sh="$ac_aux_dir/shtool install -c"
  1.1921 +    break
  1.1922 +  fi
  1.1923 +done
  1.1924 +if test -z "$ac_aux_dir"; then
  1.1925 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1.1926 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1.1927 +   { (exit 1); exit 1; }; }
  1.1928 +fi
  1.1929 +
  1.1930 +# These three variables are undocumented and unsupported,
  1.1931 +# and are intended to be withdrawn in a future Autoconf release.
  1.1932 +# They can cause serious problems if a builder's source tree is in a directory
  1.1933 +# whose full name contains unusual characters.
  1.1934 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1.1935 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1.1936 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1.1937 +
  1.1938 +
  1.1939 +# Find a good install program.  We prefer a C program (faster),
  1.1940 +# so one script is as good as another.  But avoid the broken or
  1.1941 +# incompatible versions:
  1.1942 +# SysV /etc/install, /usr/sbin/install
  1.1943 +# SunOS /usr/etc/install
  1.1944 +# IRIX /sbin/install
  1.1945 +# AIX /bin/install
  1.1946 +# AmigaOS /C/install, which installs bootblocks on floppy discs
  1.1947 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1.1948 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1.1949 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1.1950 +# OS/2's system install, which has a completely different semantic
  1.1951 +# ./install, which can be erroneously created by make from ./install.sh.
  1.1952 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1.1953 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1.1954 +if test -z "$INSTALL"; then
  1.1955 +if test "${ac_cv_path_install+set}" = set; then
  1.1956 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1957 +else
  1.1958 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1959 +for as_dir in $PATH
  1.1960 +do
  1.1961 +  IFS=$as_save_IFS
  1.1962 +  test -z "$as_dir" && as_dir=.
  1.1963 +  # Account for people who put trailing slashes in PATH elements.
  1.1964 +case $as_dir/ in
  1.1965 +  ./ | .// | /cC/* | \
  1.1966 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1.1967 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1.1968 +  /usr/ucb/* ) ;;
  1.1969 +  *)
  1.1970 +    # OSF1 and SCO ODT 3.0 have their own names for install.
  1.1971 +    # Don't use installbsd from OSF since it installs stuff as root
  1.1972 +    # by default.
  1.1973 +    for ac_prog in ginstall scoinst install; do
  1.1974 +      for ac_exec_ext in '' $ac_executable_extensions; do
  1.1975 +	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1.1976 +	  if test $ac_prog = install &&
  1.1977 +	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1.1978 +	    # AIX install.  It has an incompatible calling convention.
  1.1979 +	    :
  1.1980 +	  elif test $ac_prog = install &&
  1.1981 +	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1.1982 +	    # program-specific install script used by HP pwplus--don't use.
  1.1983 +	    :
  1.1984 +	  else
  1.1985 +	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1.1986 +	    break 3
  1.1987 +	  fi
  1.1988 +	fi
  1.1989 +      done
  1.1990 +    done
  1.1991 +    ;;
  1.1992 +esac
  1.1993 +done
  1.1994 +IFS=$as_save_IFS
  1.1995 +
  1.1996 +
  1.1997 +fi
  1.1998 +  if test "${ac_cv_path_install+set}" = set; then
  1.1999 +    INSTALL=$ac_cv_path_install
  1.2000 +  else
  1.2001 +    # As a last resort, use the slow shell script.  Don't cache a
  1.2002 +    # value for INSTALL within a source directory, because that will
  1.2003 +    # break other packages using the cache if that directory is
  1.2004 +    # removed, or if the value is a relative name.
  1.2005 +    INSTALL=$ac_install_sh
  1.2006 +  fi
  1.2007 +fi
  1.2008 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  1.2009 +echo "${ECHO_T}$INSTALL" >&6; }
  1.2010 +
  1.2011 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1.2012 +# It thinks the first close brace ends the variable substitution.
  1.2013 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1.2014 +
  1.2015 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1.2016 +
  1.2017 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1.2018 +
  1.2019 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1.2020 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1.2021 +# Just in case
  1.2022 +sleep 1
  1.2023 +echo timestamp > conftest.file
  1.2024 +# Do `set' in a subshell so we don't clobber the current shell's
  1.2025 +# arguments.  Must try -L first in case configure is actually a
  1.2026 +# symlink; some systems play weird games with the mod time of symlinks
  1.2027 +# (eg FreeBSD returns the mod time of the symlink's containing
  1.2028 +# directory).
  1.2029 +if (
  1.2030 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1.2031 +   if test "$*" = "X"; then
  1.2032 +      # -L didn't work.
  1.2033 +      set X `ls -t $srcdir/configure conftest.file`
  1.2034 +   fi
  1.2035 +   rm -f conftest.file
  1.2036 +   if test "$*" != "X $srcdir/configure conftest.file" \
  1.2037 +      && test "$*" != "X conftest.file $srcdir/configure"; then
  1.2038 +
  1.2039 +      # If neither matched, then we have a broken ls.  This can happen
  1.2040 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
  1.2041 +      # broken ls alias from the environment.  This has actually
  1.2042 +      # happened.  Such a system could not be considered "sane".
  1.2043 +      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1.2044 +alias in your environment" >&5
  1.2045 +echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1.2046 +alias in your environment" >&2;}
  1.2047 +   { (exit 1); exit 1; }; }
  1.2048 +   fi
  1.2049 +
  1.2050 +   test "$2" = conftest.file
  1.2051 +   )
  1.2052 +then
  1.2053 +   # Ok.
  1.2054 +   :
  1.2055 +else
  1.2056 +   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1.2057 +Check your system clock" >&5
  1.2058 +echo "$as_me: error: newly created file is older than distributed files!
  1.2059 +Check your system clock" >&2;}
  1.2060 +   { (exit 1); exit 1; }; }
  1.2061 +fi
  1.2062 +{ echo "$as_me:$LINENO: result: yes" >&5
  1.2063 +echo "${ECHO_T}yes" >&6; }
  1.2064 +test "$program_prefix" != NONE &&
  1.2065 +  program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1.2066 +# Use a double $ so make ignores it.
  1.2067 +test "$program_suffix" != NONE &&
  1.2068 +  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1.2069 +# Double any \ or $.  echo might interpret backslashes.
  1.2070 +# By default was `s,x,x', remove it if useless.
  1.2071 +cat <<\_ACEOF >conftest.sed
  1.2072 +s/[\\$]/&&/g;s/;s,x,x,$//
  1.2073 +_ACEOF
  1.2074 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1.2075 +rm -f conftest.sed
  1.2076 +
  1.2077 +# expand $ac_aux_dir to an absolute path
  1.2078 +am_aux_dir=`cd $ac_aux_dir && pwd`
  1.2079 +
  1.2080 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1.2081 +# Use eval to expand $SHELL
  1.2082 +if eval "$MISSING --run true"; then
  1.2083 +  am_missing_run="$MISSING --run "
  1.2084 +else
  1.2085 +  am_missing_run=
  1.2086 +  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1.2087 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1.2088 +fi
  1.2089 +
  1.2090 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  1.2091 +  # We used to keeping the `.' as first argument, in order to
  1.2092 +  # allow $(mkdir_p) to be used without argument.  As in
  1.2093 +  #   $(mkdir_p) $(somedir)
  1.2094 +  # where $(somedir) is conditionally defined.  However this is wrong
  1.2095 +  # for two reasons:
  1.2096 +  #  1. if the package is installed by a user who cannot write `.'
  1.2097 +  #     make install will fail,
  1.2098 +  #  2. the above comment should most certainly read
  1.2099 +  #     $(mkdir_p) $(DESTDIR)$(somedir)
  1.2100 +  #     so it does not work when $(somedir) is undefined and
  1.2101 +  #     $(DESTDIR) is not.
  1.2102 +  #  To support the latter case, we have to write
  1.2103 +  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  1.2104 +  #  so the `.' trick is pointless.
  1.2105 +  mkdir_p='mkdir -p --'
  1.2106 +else
  1.2107 +  # On NextStep and OpenStep, the `mkdir' command does not
  1.2108 +  # recognize any option.  It will interpret all options as
  1.2109 +  # directories to create, and then abort because `.' already
  1.2110 +  # exists.
  1.2111 +  for d in ./-p ./--version;
  1.2112 +  do
  1.2113 +    test -d $d && rmdir $d
  1.2114 +  done
  1.2115 +  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  1.2116 +  if test -f "$ac_aux_dir/mkinstalldirs"; then
  1.2117 +    mkdir_p='$(mkinstalldirs)'
  1.2118 +  else
  1.2119 +    mkdir_p='$(install_sh) -d'
  1.2120 +  fi
  1.2121 +fi
  1.2122 +
  1.2123 +for ac_prog in gawk mawk nawk awk
  1.2124 +do
  1.2125 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.2126 +set dummy $ac_prog; ac_word=$2
  1.2127 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2128 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2129 +if test "${ac_cv_prog_AWK+set}" = set; then
  1.2130 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2131 +else
  1.2132 +  if test -n "$AWK"; then
  1.2133 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1.2134 +else
  1.2135 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2136 +for as_dir in $PATH
  1.2137 +do
  1.2138 +  IFS=$as_save_IFS
  1.2139 +  test -z "$as_dir" && as_dir=.
  1.2140 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2141 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2142 +    ac_cv_prog_AWK="$ac_prog"
  1.2143 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2144 +    break 2
  1.2145 +  fi
  1.2146 +done
  1.2147 +done
  1.2148 +IFS=$as_save_IFS
  1.2149 +
  1.2150 +fi
  1.2151 +fi
  1.2152 +AWK=$ac_cv_prog_AWK
  1.2153 +if test -n "$AWK"; then
  1.2154 +  { echo "$as_me:$LINENO: result: $AWK" >&5
  1.2155 +echo "${ECHO_T}$AWK" >&6; }
  1.2156 +else
  1.2157 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2158 +echo "${ECHO_T}no" >&6; }
  1.2159 +fi
  1.2160 +
  1.2161 +
  1.2162 +  test -n "$AWK" && break
  1.2163 +done
  1.2164 +
  1.2165 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1.2166 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  1.2167 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1.2168 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  1.2169 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2170 +else
  1.2171 +  cat >conftest.make <<\_ACEOF
  1.2172 +SHELL = /bin/sh
  1.2173 +all:
  1.2174 +	@echo '@@@%%%=$(MAKE)=@@@%%%'
  1.2175 +_ACEOF
  1.2176 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1.2177 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1.2178 +  *@@@%%%=?*=@@@%%%*)
  1.2179 +    eval ac_cv_prog_make_${ac_make}_set=yes;;
  1.2180 +  *)
  1.2181 +    eval ac_cv_prog_make_${ac_make}_set=no;;
  1.2182 +esac
  1.2183 +rm -f conftest.make
  1.2184 +fi
  1.2185 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1.2186 +  { echo "$as_me:$LINENO: result: yes" >&5
  1.2187 +echo "${ECHO_T}yes" >&6; }
  1.2188 +  SET_MAKE=
  1.2189 +else
  1.2190 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2191 +echo "${ECHO_T}no" >&6; }
  1.2192 +  SET_MAKE="MAKE=${MAKE-make}"
  1.2193 +fi
  1.2194 +
  1.2195 +rm -rf .tst 2>/dev/null
  1.2196 +mkdir .tst 2>/dev/null
  1.2197 +if test -d .tst; then
  1.2198 +  am__leading_dot=.
  1.2199 +else
  1.2200 +  am__leading_dot=_
  1.2201 +fi
  1.2202 +rmdir .tst 2>/dev/null
  1.2203 +
  1.2204 +# test to see if srcdir already configured
  1.2205 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1.2206 +   test -f $srcdir/config.status; then
  1.2207 +  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1.2208 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1.2209 +   { (exit 1); exit 1; }; }
  1.2210 +fi
  1.2211 +
  1.2212 +# test whether we have cygpath
  1.2213 +if test -z "$CYGPATH_W"; then
  1.2214 +  if (cygpath --version) >/dev/null 2>/dev/null; then
  1.2215 +    CYGPATH_W='cygpath -w'
  1.2216 +  else
  1.2217 +    CYGPATH_W=echo
  1.2218 +  fi
  1.2219 +fi
  1.2220 +
  1.2221 +
  1.2222 +# Define the identity of the package.
  1.2223 + PACKAGE=picctldisplaytest
  1.2224 + VERSION=0.1
  1.2225 +
  1.2226 +
  1.2227 +cat >>confdefs.h <<_ACEOF
  1.2228 +#define PACKAGE "$PACKAGE"
  1.2229 +_ACEOF
  1.2230 +
  1.2231 +
  1.2232 +cat >>confdefs.h <<_ACEOF
  1.2233 +#define VERSION "$VERSION"
  1.2234 +_ACEOF
  1.2235 +
  1.2236 +# Some tools Automake needs.
  1.2237 +
  1.2238 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1.2239 +
  1.2240 +
  1.2241 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1.2242 +
  1.2243 +
  1.2244 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1.2245 +
  1.2246 +
  1.2247 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1.2248 +
  1.2249 +
  1.2250 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1.2251 +
  1.2252 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1.2253 +
  1.2254 +# Installed binaries are usually stripped using `strip' when the user
  1.2255 +# run `make install-strip'.  However `strip' might not be the right
  1.2256 +# tool to use in cross-compilation environments, therefore Automake
  1.2257 +# will honor the `STRIP' environment variable to overrule this program.
  1.2258 +if test "$cross_compiling" != no; then
  1.2259 +  if test -n "$ac_tool_prefix"; then
  1.2260 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1.2261 +set dummy ${ac_tool_prefix}strip; ac_word=$2
  1.2262 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2263 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2264 +if test "${ac_cv_prog_STRIP+set}" = set; then
  1.2265 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2266 +else
  1.2267 +  if test -n "$STRIP"; then
  1.2268 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1.2269 +else
  1.2270 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2271 +for as_dir in $PATH
  1.2272 +do
  1.2273 +  IFS=$as_save_IFS
  1.2274 +  test -z "$as_dir" && as_dir=.
  1.2275 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2276 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2277 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1.2278 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2279 +    break 2
  1.2280 +  fi
  1.2281 +done
  1.2282 +done
  1.2283 +IFS=$as_save_IFS
  1.2284 +
  1.2285 +fi
  1.2286 +fi
  1.2287 +STRIP=$ac_cv_prog_STRIP
  1.2288 +if test -n "$STRIP"; then
  1.2289 +  { echo "$as_me:$LINENO: result: $STRIP" >&5
  1.2290 +echo "${ECHO_T}$STRIP" >&6; }
  1.2291 +else
  1.2292 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2293 +echo "${ECHO_T}no" >&6; }
  1.2294 +fi
  1.2295 +
  1.2296 +
  1.2297 +fi
  1.2298 +if test -z "$ac_cv_prog_STRIP"; then
  1.2299 +  ac_ct_STRIP=$STRIP
  1.2300 +  # Extract the first word of "strip", so it can be a program name with args.
  1.2301 +set dummy strip; ac_word=$2
  1.2302 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2303 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2304 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1.2305 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2306 +else
  1.2307 +  if test -n "$ac_ct_STRIP"; then
  1.2308 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1.2309 +else
  1.2310 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2311 +for as_dir in $PATH
  1.2312 +do
  1.2313 +  IFS=$as_save_IFS
  1.2314 +  test -z "$as_dir" && as_dir=.
  1.2315 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2316 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2317 +    ac_cv_prog_ac_ct_STRIP="strip"
  1.2318 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2319 +    break 2
  1.2320 +  fi
  1.2321 +done
  1.2322 +done
  1.2323 +IFS=$as_save_IFS
  1.2324 +
  1.2325 +fi
  1.2326 +fi
  1.2327 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1.2328 +if test -n "$ac_ct_STRIP"; then
  1.2329 +  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1.2330 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  1.2331 +else
  1.2332 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2333 +echo "${ECHO_T}no" >&6; }
  1.2334 +fi
  1.2335 +
  1.2336 +  if test "x$ac_ct_STRIP" = x; then
  1.2337 +    STRIP=":"
  1.2338 +  else
  1.2339 +    case $cross_compiling:$ac_tool_warned in
  1.2340 +yes:)
  1.2341 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.2342 +whose name does not start with the host triplet.  If you think this
  1.2343 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.2344 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.2345 +whose name does not start with the host triplet.  If you think this
  1.2346 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.2347 +ac_tool_warned=yes ;;
  1.2348 +esac
  1.2349 +    STRIP=$ac_ct_STRIP
  1.2350 +  fi
  1.2351 +else
  1.2352 +  STRIP="$ac_cv_prog_STRIP"
  1.2353 +fi
  1.2354 +
  1.2355 +fi
  1.2356 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  1.2357 +
  1.2358 +# We need awk for the "check" target.  The system "awk" is bad on
  1.2359 +# some platforms.
  1.2360 +# Always define AMTAR for backward compatibility.
  1.2361 +
  1.2362 +AMTAR=${AMTAR-"${am_missing_run}tar"}
  1.2363 +
  1.2364 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  1.2365 +
  1.2366 +
  1.2367 +
  1.2368 +
  1.2369 +
  1.2370 +
  1.2371 +ac_ext=cpp
  1.2372 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.2373 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2374 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2375 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.2376 +
  1.2377 +ac_ext=cpp
  1.2378 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.2379 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2380 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2381 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.2382 +if test -z "$CXX"; then
  1.2383 +  if test -n "$CCC"; then
  1.2384 +    CXX=$CCC
  1.2385 +  else
  1.2386 +    if test -n "$ac_tool_prefix"; then
  1.2387 +  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  1.2388 +  do
  1.2389 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.2390 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.2391 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2392 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2393 +if test "${ac_cv_prog_CXX+set}" = set; then
  1.2394 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2395 +else
  1.2396 +  if test -n "$CXX"; then
  1.2397 +  ac_cv_prog_CXX="$CXX" # Let the user override the test.
  1.2398 +else
  1.2399 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2400 +for as_dir in $PATH
  1.2401 +do
  1.2402 +  IFS=$as_save_IFS
  1.2403 +  test -z "$as_dir" && as_dir=.
  1.2404 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2405 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2406 +    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  1.2407 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2408 +    break 2
  1.2409 +  fi
  1.2410 +done
  1.2411 +done
  1.2412 +IFS=$as_save_IFS
  1.2413 +
  1.2414 +fi
  1.2415 +fi
  1.2416 +CXX=$ac_cv_prog_CXX
  1.2417 +if test -n "$CXX"; then
  1.2418 +  { echo "$as_me:$LINENO: result: $CXX" >&5
  1.2419 +echo "${ECHO_T}$CXX" >&6; }
  1.2420 +else
  1.2421 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2422 +echo "${ECHO_T}no" >&6; }
  1.2423 +fi
  1.2424 +
  1.2425 +
  1.2426 +    test -n "$CXX" && break
  1.2427 +  done
  1.2428 +fi
  1.2429 +if test -z "$CXX"; then
  1.2430 +  ac_ct_CXX=$CXX
  1.2431 +  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  1.2432 +do
  1.2433 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.2434 +set dummy $ac_prog; ac_word=$2
  1.2435 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2436 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2437 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  1.2438 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2439 +else
  1.2440 +  if test -n "$ac_ct_CXX"; then
  1.2441 +  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  1.2442 +else
  1.2443 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2444 +for as_dir in $PATH
  1.2445 +do
  1.2446 +  IFS=$as_save_IFS
  1.2447 +  test -z "$as_dir" && as_dir=.
  1.2448 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2449 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2450 +    ac_cv_prog_ac_ct_CXX="$ac_prog"
  1.2451 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2452 +    break 2
  1.2453 +  fi
  1.2454 +done
  1.2455 +done
  1.2456 +IFS=$as_save_IFS
  1.2457 +
  1.2458 +fi
  1.2459 +fi
  1.2460 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  1.2461 +if test -n "$ac_ct_CXX"; then
  1.2462 +  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  1.2463 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
  1.2464 +else
  1.2465 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2466 +echo "${ECHO_T}no" >&6; }
  1.2467 +fi
  1.2468 +
  1.2469 +
  1.2470 +  test -n "$ac_ct_CXX" && break
  1.2471 +done
  1.2472 +
  1.2473 +  if test "x$ac_ct_CXX" = x; then
  1.2474 +    CXX="g++"
  1.2475 +  else
  1.2476 +    case $cross_compiling:$ac_tool_warned in
  1.2477 +yes:)
  1.2478 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.2479 +whose name does not start with the host triplet.  If you think this
  1.2480 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.2481 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.2482 +whose name does not start with the host triplet.  If you think this
  1.2483 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.2484 +ac_tool_warned=yes ;;
  1.2485 +esac
  1.2486 +    CXX=$ac_ct_CXX
  1.2487 +  fi
  1.2488 +fi
  1.2489 +
  1.2490 +  fi
  1.2491 +fi
  1.2492 +# Provide some information about the compiler.
  1.2493 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  1.2494 +ac_compiler=`set X $ac_compile; echo $2`
  1.2495 +{ (ac_try="$ac_compiler --version >&5"
  1.2496 +case "(($ac_try" in
  1.2497 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2498 +  *) ac_try_echo=$ac_try;;
  1.2499 +esac
  1.2500 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2501 +  (eval "$ac_compiler --version >&5") 2>&5
  1.2502 +  ac_status=$?
  1.2503 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2504 +  (exit $ac_status); }
  1.2505 +{ (ac_try="$ac_compiler -v >&5"
  1.2506 +case "(($ac_try" in
  1.2507 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2508 +  *) ac_try_echo=$ac_try;;
  1.2509 +esac
  1.2510 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2511 +  (eval "$ac_compiler -v >&5") 2>&5
  1.2512 +  ac_status=$?
  1.2513 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2514 +  (exit $ac_status); }
  1.2515 +{ (ac_try="$ac_compiler -V >&5"
  1.2516 +case "(($ac_try" in
  1.2517 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2518 +  *) ac_try_echo=$ac_try;;
  1.2519 +esac
  1.2520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2521 +  (eval "$ac_compiler -V >&5") 2>&5
  1.2522 +  ac_status=$?
  1.2523 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2524 +  (exit $ac_status); }
  1.2525 +
  1.2526 +cat >conftest.$ac_ext <<_ACEOF
  1.2527 +/* confdefs.h.  */
  1.2528 +_ACEOF
  1.2529 +cat confdefs.h >>conftest.$ac_ext
  1.2530 +cat >>conftest.$ac_ext <<_ACEOF
  1.2531 +/* end confdefs.h.  */
  1.2532 +
  1.2533 +int
  1.2534 +main ()
  1.2535 +{
  1.2536 +
  1.2537 +  ;
  1.2538 +  return 0;
  1.2539 +}
  1.2540 +_ACEOF
  1.2541 +ac_clean_files_save=$ac_clean_files
  1.2542 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1.2543 +# Try to create an executable without -o first, disregard a.out.
  1.2544 +# It will help us diagnose broken compilers, and finding out an intuition
  1.2545 +# of exeext.
  1.2546 +{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
  1.2547 +echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
  1.2548 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.2549 +#
  1.2550 +# List of possible output files, starting from the most likely.
  1.2551 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  1.2552 +# only as a last resort.  b.out is created by i960 compilers.
  1.2553 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  1.2554 +#
  1.2555 +# The IRIX 6 linker writes into existing files which may not be
  1.2556 +# executable, retaining their permissions.  Remove them first so a
  1.2557 +# subsequent execution test works.
  1.2558 +ac_rmfiles=
  1.2559 +for ac_file in $ac_files
  1.2560 +do
  1.2561 +  case $ac_file in
  1.2562 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2563 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1.2564 +  esac
  1.2565 +done
  1.2566 +rm -f $ac_rmfiles
  1.2567 +
  1.2568 +if { (ac_try="$ac_link_default"
  1.2569 +case "(($ac_try" in
  1.2570 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2571 +  *) ac_try_echo=$ac_try;;
  1.2572 +esac
  1.2573 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2574 +  (eval "$ac_link_default") 2>&5
  1.2575 +  ac_status=$?
  1.2576 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2577 +  (exit $ac_status); }; then
  1.2578 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1.2579 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1.2580 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
  1.2581 +# so that the user can short-circuit this test for compilers unknown to
  1.2582 +# Autoconf.
  1.2583 +for ac_file in $ac_files
  1.2584 +do
  1.2585 +  test -f "$ac_file" || continue
  1.2586 +  case $ac_file in
  1.2587 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  1.2588 +	;;
  1.2589 +    [ab].out )
  1.2590 +	# We found the default executable, but exeext='' is most
  1.2591 +	# certainly right.
  1.2592 +	break;;
  1.2593 +    *.* )
  1.2594 +        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.2595 +	then :; else
  1.2596 +	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2597 +	fi
  1.2598 +	# We set ac_cv_exeext here because the later test for it is not
  1.2599 +	# safe: cross compilers may not add the suffix if given an `-o'
  1.2600 +	# argument, so we may need to know it at that point already.
  1.2601 +	# Even if this section looks crufty: it has the advantage of
  1.2602 +	# actually working.
  1.2603 +	break;;
  1.2604 +    * )
  1.2605 +	break;;
  1.2606 +  esac
  1.2607 +done
  1.2608 +test "$ac_cv_exeext" = no && ac_cv_exeext=
  1.2609 +
  1.2610 +else
  1.2611 +  echo "$as_me: failed program was:" >&5
  1.2612 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2613 +
  1.2614 +{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
  1.2615 +See \`config.log' for more details." >&5
  1.2616 +echo "$as_me: error: C++ compiler cannot create executables
  1.2617 +See \`config.log' for more details." >&2;}
  1.2618 +   { (exit 77); exit 77; }; }
  1.2619 +fi
  1.2620 +
  1.2621 +ac_exeext=$ac_cv_exeext
  1.2622 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  1.2623 +echo "${ECHO_T}$ac_file" >&6; }
  1.2624 +
  1.2625 +# Check that the compiler produces executables we can run.  If not, either
  1.2626 +# the compiler is broken, or we cross compile.
  1.2627 +{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
  1.2628 +echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
  1.2629 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1.2630 +# If not cross compiling, check that we can run a simple program.
  1.2631 +if test "$cross_compiling" != yes; then
  1.2632 +  if { ac_try='./$ac_file'
  1.2633 +  { (case "(($ac_try" in
  1.2634 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2635 +  *) ac_try_echo=$ac_try;;
  1.2636 +esac
  1.2637 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2638 +  (eval "$ac_try") 2>&5
  1.2639 +  ac_status=$?
  1.2640 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2641 +  (exit $ac_status); }; }; then
  1.2642 +    cross_compiling=no
  1.2643 +  else
  1.2644 +    if test "$cross_compiling" = maybe; then
  1.2645 +	cross_compiling=yes
  1.2646 +    else
  1.2647 +	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
  1.2648 +If you meant to cross compile, use \`--host'.
  1.2649 +See \`config.log' for more details." >&5
  1.2650 +echo "$as_me: error: cannot run C++ compiled programs.
  1.2651 +If you meant to cross compile, use \`--host'.
  1.2652 +See \`config.log' for more details." >&2;}
  1.2653 +   { (exit 1); exit 1; }; }
  1.2654 +    fi
  1.2655 +  fi
  1.2656 +fi
  1.2657 +{ echo "$as_me:$LINENO: result: yes" >&5
  1.2658 +echo "${ECHO_T}yes" >&6; }
  1.2659 +
  1.2660 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1.2661 +ac_clean_files=$ac_clean_files_save
  1.2662 +# Check that the compiler produces executables we can run.  If not, either
  1.2663 +# the compiler is broken, or we cross compile.
  1.2664 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1.2665 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  1.2666 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1.2667 +echo "${ECHO_T}$cross_compiling" >&6; }
  1.2668 +
  1.2669 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1.2670 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  1.2671 +if { (ac_try="$ac_link"
  1.2672 +case "(($ac_try" in
  1.2673 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2674 +  *) ac_try_echo=$ac_try;;
  1.2675 +esac
  1.2676 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2677 +  (eval "$ac_link") 2>&5
  1.2678 +  ac_status=$?
  1.2679 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2680 +  (exit $ac_status); }; then
  1.2681 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1.2682 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1.2683 +# work properly (i.e., refer to `conftest.exe'), while it won't with
  1.2684 +# `rm'.
  1.2685 +for ac_file in conftest.exe conftest conftest.*; do
  1.2686 +  test -f "$ac_file" || continue
  1.2687 +  case $ac_file in
  1.2688 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2689 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2690 +	  break;;
  1.2691 +    * ) break;;
  1.2692 +  esac
  1.2693 +done
  1.2694 +else
  1.2695 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1.2696 +See \`config.log' for more details." >&5
  1.2697 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1.2698 +See \`config.log' for more details." >&2;}
  1.2699 +   { (exit 1); exit 1; }; }
  1.2700 +fi
  1.2701 +
  1.2702 +rm -f conftest$ac_cv_exeext
  1.2703 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1.2704 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  1.2705 +
  1.2706 +rm -f conftest.$ac_ext
  1.2707 +EXEEXT=$ac_cv_exeext
  1.2708 +ac_exeext=$EXEEXT
  1.2709 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1.2710 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  1.2711 +if test "${ac_cv_objext+set}" = set; then
  1.2712 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2713 +else
  1.2714 +  cat >conftest.$ac_ext <<_ACEOF
  1.2715 +/* confdefs.h.  */
  1.2716 +_ACEOF
  1.2717 +cat confdefs.h >>conftest.$ac_ext
  1.2718 +cat >>conftest.$ac_ext <<_ACEOF
  1.2719 +/* end confdefs.h.  */
  1.2720 +
  1.2721 +int
  1.2722 +main ()
  1.2723 +{
  1.2724 +
  1.2725 +  ;
  1.2726 +  return 0;
  1.2727 +}
  1.2728 +_ACEOF
  1.2729 +rm -f conftest.o conftest.obj
  1.2730 +if { (ac_try="$ac_compile"
  1.2731 +case "(($ac_try" in
  1.2732 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2733 +  *) ac_try_echo=$ac_try;;
  1.2734 +esac
  1.2735 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2736 +  (eval "$ac_compile") 2>&5
  1.2737 +  ac_status=$?
  1.2738 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2739 +  (exit $ac_status); }; then
  1.2740 +  for ac_file in conftest.o conftest.obj conftest.*; do
  1.2741 +  test -f "$ac_file" || continue;
  1.2742 +  case $ac_file in
  1.2743 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  1.2744 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1.2745 +       break;;
  1.2746 +  esac
  1.2747 +done
  1.2748 +else
  1.2749 +  echo "$as_me: failed program was:" >&5
  1.2750 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2751 +
  1.2752 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1.2753 +See \`config.log' for more details." >&5
  1.2754 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1.2755 +See \`config.log' for more details." >&2;}
  1.2756 +   { (exit 1); exit 1; }; }
  1.2757 +fi
  1.2758 +
  1.2759 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1.2760 +fi
  1.2761 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1.2762 +echo "${ECHO_T}$ac_cv_objext" >&6; }
  1.2763 +OBJEXT=$ac_cv_objext
  1.2764 +ac_objext=$OBJEXT
  1.2765 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  1.2766 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
  1.2767 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  1.2768 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2769 +else
  1.2770 +  cat >conftest.$ac_ext <<_ACEOF
  1.2771 +/* confdefs.h.  */
  1.2772 +_ACEOF
  1.2773 +cat confdefs.h >>conftest.$ac_ext
  1.2774 +cat >>conftest.$ac_ext <<_ACEOF
  1.2775 +/* end confdefs.h.  */
  1.2776 +
  1.2777 +int
  1.2778 +main ()
  1.2779 +{
  1.2780 +#ifndef __GNUC__
  1.2781 +       choke me
  1.2782 +#endif
  1.2783 +
  1.2784 +  ;
  1.2785 +  return 0;
  1.2786 +}
  1.2787 +_ACEOF
  1.2788 +rm -f conftest.$ac_objext
  1.2789 +if { (ac_try="$ac_compile"
  1.2790 +case "(($ac_try" in
  1.2791 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2792 +  *) ac_try_echo=$ac_try;;
  1.2793 +esac
  1.2794 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2795 +  (eval "$ac_compile") 2>conftest.er1
  1.2796 +  ac_status=$?
  1.2797 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2798 +  rm -f conftest.er1
  1.2799 +  cat conftest.err >&5
  1.2800 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2801 +  (exit $ac_status); } &&
  1.2802 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1.2803 +  { (case "(($ac_try" in
  1.2804 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2805 +  *) ac_try_echo=$ac_try;;
  1.2806 +esac
  1.2807 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2808 +  (eval "$ac_try") 2>&5
  1.2809 +  ac_status=$?
  1.2810 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2811 +  (exit $ac_status); }; } &&
  1.2812 +	 { ac_try='test -s conftest.$ac_objext'
  1.2813 +  { (case "(($ac_try" in
  1.2814 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2815 +  *) ac_try_echo=$ac_try;;
  1.2816 +esac
  1.2817 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2818 +  (eval "$ac_try") 2>&5
  1.2819 +  ac_status=$?
  1.2820 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2821 +  (exit $ac_status); }; }; then
  1.2822 +  ac_compiler_gnu=yes
  1.2823 +else
  1.2824 +  echo "$as_me: failed program was:" >&5
  1.2825 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2826 +
  1.2827 +	ac_compiler_gnu=no
  1.2828 +fi
  1.2829 +
  1.2830 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2831 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  1.2832 +
  1.2833 +fi
  1.2834 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  1.2835 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
  1.2836 +GXX=`test $ac_compiler_gnu = yes && echo yes`
  1.2837 +ac_test_CXXFLAGS=${CXXFLAGS+set}
  1.2838 +ac_save_CXXFLAGS=$CXXFLAGS
  1.2839 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  1.2840 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
  1.2841 +if test "${ac_cv_prog_cxx_g+set}" = set; then
  1.2842 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2843 +else
  1.2844 +  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  1.2845 +   ac_cxx_werror_flag=yes
  1.2846 +   ac_cv_prog_cxx_g=no
  1.2847 +   CXXFLAGS="-g"
  1.2848 +   cat >conftest.$ac_ext <<_ACEOF
  1.2849 +/* confdefs.h.  */
  1.2850 +_ACEOF
  1.2851 +cat confdefs.h >>conftest.$ac_ext
  1.2852 +cat >>conftest.$ac_ext <<_ACEOF
  1.2853 +/* end confdefs.h.  */
  1.2854 +
  1.2855 +int
  1.2856 +main ()
  1.2857 +{
  1.2858 +
  1.2859 +  ;
  1.2860 +  return 0;
  1.2861 +}
  1.2862 +_ACEOF
  1.2863 +rm -f conftest.$ac_objext
  1.2864 +if { (ac_try="$ac_compile"
  1.2865 +case "(($ac_try" in
  1.2866 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2867 +  *) ac_try_echo=$ac_try;;
  1.2868 +esac
  1.2869 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2870 +  (eval "$ac_compile") 2>conftest.er1
  1.2871 +  ac_status=$?
  1.2872 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2873 +  rm -f conftest.er1
  1.2874 +  cat conftest.err >&5
  1.2875 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2876 +  (exit $ac_status); } &&
  1.2877 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1.2878 +  { (case "(($ac_try" in
  1.2879 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2880 +  *) ac_try_echo=$ac_try;;
  1.2881 +esac
  1.2882 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2883 +  (eval "$ac_try") 2>&5
  1.2884 +  ac_status=$?
  1.2885 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2886 +  (exit $ac_status); }; } &&
  1.2887 +	 { ac_try='test -s conftest.$ac_objext'
  1.2888 +  { (case "(($ac_try" in
  1.2889 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2890 +  *) ac_try_echo=$ac_try;;
  1.2891 +esac
  1.2892 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2893 +  (eval "$ac_try") 2>&5
  1.2894 +  ac_status=$?
  1.2895 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2896 +  (exit $ac_status); }; }; then
  1.2897 +  ac_cv_prog_cxx_g=yes
  1.2898 +else
  1.2899 +  echo "$as_me: failed program was:" >&5
  1.2900 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2901 +
  1.2902 +	CXXFLAGS=""
  1.2903 +      cat >conftest.$ac_ext <<_ACEOF
  1.2904 +/* confdefs.h.  */
  1.2905 +_ACEOF
  1.2906 +cat confdefs.h >>conftest.$ac_ext
  1.2907 +cat >>conftest.$ac_ext <<_ACEOF
  1.2908 +/* end confdefs.h.  */
  1.2909 +
  1.2910 +int
  1.2911 +main ()
  1.2912 +{
  1.2913 +
  1.2914 +  ;
  1.2915 +  return 0;
  1.2916 +}
  1.2917 +_ACEOF
  1.2918 +rm -f conftest.$ac_objext
  1.2919 +if { (ac_try="$ac_compile"
  1.2920 +case "(($ac_try" in
  1.2921 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2922 +  *) ac_try_echo=$ac_try;;
  1.2923 +esac
  1.2924 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2925 +  (eval "$ac_compile") 2>conftest.er1
  1.2926 +  ac_status=$?
  1.2927 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2928 +  rm -f conftest.er1
  1.2929 +  cat conftest.err >&5
  1.2930 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2931 +  (exit $ac_status); } &&
  1.2932 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1.2933 +  { (case "(($ac_try" in
  1.2934 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2935 +  *) ac_try_echo=$ac_try;;
  1.2936 +esac
  1.2937 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2938 +  (eval "$ac_try") 2>&5
  1.2939 +  ac_status=$?
  1.2940 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2941 +  (exit $ac_status); }; } &&
  1.2942 +	 { ac_try='test -s conftest.$ac_objext'
  1.2943 +  { (case "(($ac_try" in
  1.2944 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2945 +  *) ac_try_echo=$ac_try;;
  1.2946 +esac
  1.2947 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2948 +  (eval "$ac_try") 2>&5
  1.2949 +  ac_status=$?
  1.2950 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2951 +  (exit $ac_status); }; }; then
  1.2952 +  :
  1.2953 +else
  1.2954 +  echo "$as_me: failed program was:" >&5
  1.2955 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2956 +
  1.2957 +	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  1.2958 +	 CXXFLAGS="-g"
  1.2959 +	 cat >conftest.$ac_ext <<_ACEOF
  1.2960 +/* confdefs.h.  */
  1.2961 +_ACEOF
  1.2962 +cat confdefs.h >>conftest.$ac_ext
  1.2963 +cat >>conftest.$ac_ext <<_ACEOF
  1.2964 +/* end confdefs.h.  */
  1.2965 +
  1.2966 +int
  1.2967 +main ()
  1.2968 +{
  1.2969 +
  1.2970 +  ;
  1.2971 +  return 0;
  1.2972 +}
  1.2973 +_ACEOF
  1.2974 +rm -f conftest.$ac_objext
  1.2975 +if { (ac_try="$ac_compile"
  1.2976 +case "(($ac_try" in
  1.2977 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2978 +  *) ac_try_echo=$ac_try;;
  1.2979 +esac
  1.2980 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2981 +  (eval "$ac_compile") 2>conftest.er1
  1.2982 +  ac_status=$?
  1.2983 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2984 +  rm -f conftest.er1
  1.2985 +  cat conftest.err >&5
  1.2986 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2987 +  (exit $ac_status); } &&
  1.2988 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1.2989 +  { (case "(($ac_try" in
  1.2990 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2991 +  *) ac_try_echo=$ac_try;;
  1.2992 +esac
  1.2993 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2994 +  (eval "$ac_try") 2>&5
  1.2995 +  ac_status=$?
  1.2996 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2997 +  (exit $ac_status); }; } &&
  1.2998 +	 { ac_try='test -s conftest.$ac_objext'
  1.2999 +  { (case "(($ac_try" in
  1.3000 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3001 +  *) ac_try_echo=$ac_try;;
  1.3002 +esac
  1.3003 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3004 +  (eval "$ac_try") 2>&5
  1.3005 +  ac_status=$?
  1.3006 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3007 +  (exit $ac_status); }; }; then
  1.3008 +  ac_cv_prog_cxx_g=yes
  1.3009 +else
  1.3010 +  echo "$as_me: failed program was:" >&5
  1.3011 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3012 +
  1.3013 +
  1.3014 +fi
  1.3015 +
  1.3016 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3017 +fi
  1.3018 +
  1.3019 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3020 +fi
  1.3021 +
  1.3022 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3023 +   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  1.3024 +fi
  1.3025 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  1.3026 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
  1.3027 +if test "$ac_test_CXXFLAGS" = set; then
  1.3028 +  CXXFLAGS=$ac_save_CXXFLAGS
  1.3029 +elif test $ac_cv_prog_cxx_g = yes; then
  1.3030 +  if test "$GXX" = yes; then
  1.3031 +    CXXFLAGS="-g -O2"
  1.3032 +  else
  1.3033 +    CXXFLAGS="-g"
  1.3034 +  fi
  1.3035 +else
  1.3036 +  if test "$GXX" = yes; then
  1.3037 +    CXXFLAGS="-O2"
  1.3038 +  else
  1.3039 +    CXXFLAGS=
  1.3040 +  fi
  1.3041 +fi
  1.3042 +ac_ext=cpp
  1.3043 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.3044 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3045 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3046 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.3047 +DEPDIR="${am__leading_dot}deps"
  1.3048 +
  1.3049 +ac_config_commands="$ac_config_commands depfiles"
  1.3050 +
  1.3051 +
  1.3052 +am_make=${MAKE-make}
  1.3053 +cat > confinc << 'END'
  1.3054 +am__doit:
  1.3055 +	@echo done
  1.3056 +.PHONY: am__doit
  1.3057 +END
  1.3058 +# If we don't find an include directive, just comment out the code.
  1.3059 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  1.3060 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  1.3061 +am__include="#"
  1.3062 +am__quote=
  1.3063 +_am_result=none
  1.3064 +# First try GNU make style include.
  1.3065 +echo "include confinc" > confmf
  1.3066 +# We grep out `Entering directory' and `Leaving directory'
  1.3067 +# messages which can occur if `w' ends up in MAKEFLAGS.
  1.3068 +# In particular we don't look at `^make:' because GNU make might
  1.3069 +# be invoked under some other name (usually "gmake"), in which
  1.3070 +# case it prints its new name instead of `make'.
  1.3071 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  1.3072 +   am__include=include
  1.3073 +   am__quote=
  1.3074 +   _am_result=GNU
  1.3075 +fi
  1.3076 +# Now try BSD make style include.
  1.3077 +if test "$am__include" = "#"; then
  1.3078 +   echo '.include "confinc"' > confmf
  1.3079 +   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  1.3080 +      am__include=.include
  1.3081 +      am__quote="\""
  1.3082 +      _am_result=BSD
  1.3083 +   fi
  1.3084 +fi
  1.3085 +
  1.3086 +
  1.3087 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
  1.3088 +echo "${ECHO_T}$_am_result" >&6; }
  1.3089 +rm -f confinc confmf
  1.3090 +
  1.3091 +# Check whether --enable-dependency-tracking was given.
  1.3092 +if test "${enable_dependency_tracking+set}" = set; then
  1.3093 +  enableval=$enable_dependency_tracking;
  1.3094 +fi
  1.3095 +
  1.3096 +if test "x$enable_dependency_tracking" != xno; then
  1.3097 +  am_depcomp="$ac_aux_dir/depcomp"
  1.3098 +  AMDEPBACKSLASH='\'
  1.3099 +fi
  1.3100 +
  1.3101 +
  1.3102 +if test "x$enable_dependency_tracking" != xno; then
  1.3103 +  AMDEP_TRUE=
  1.3104 +  AMDEP_FALSE='#'
  1.3105 +else
  1.3106 +  AMDEP_TRUE='#'
  1.3107 +  AMDEP_FALSE=
  1.3108 +fi
  1.3109 +
  1.3110 +
  1.3111 +
  1.3112 +
  1.3113 +depcc="$CXX"  am_compiler_list=
  1.3114 +
  1.3115 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  1.3116 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  1.3117 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  1.3118 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3119 +else
  1.3120 +  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  1.3121 +  # We make a subdir and do the tests there.  Otherwise we can end up
  1.3122 +  # making bogus files that we don't know about and never remove.  For
  1.3123 +  # instance it was reported that on HP-UX the gcc test will end up
  1.3124 +  # making a dummy file named `D' -- because `-MD' means `put the output
  1.3125 +  # in D'.
  1.3126 +  mkdir conftest.dir
  1.3127 +  # Copy depcomp to subdir because otherwise we won't find it if we're
  1.3128 +  # using a relative directory.
  1.3129 +  cp "$am_depcomp" conftest.dir
  1.3130 +  cd conftest.dir
  1.3131 +  # We will build objects and dependencies in a subdirectory because
  1.3132 +  # it helps to detect inapplicable dependency modes.  For instance
  1.3133 +  # both Tru64's cc and ICC support -MD to output dependencies as a
  1.3134 +  # side effect of compilation, but ICC will put the dependencies in
  1.3135 +  # the current directory while Tru64 will put them in the object
  1.3136 +  # directory.
  1.3137 +  mkdir sub
  1.3138 +
  1.3139 +  am_cv_CXX_dependencies_compiler_type=none
  1.3140 +  if test "$am_compiler_list" = ""; then
  1.3141 +     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  1.3142 +  fi
  1.3143 +  for depmode in $am_compiler_list; do
  1.3144 +    # Setup a source with many dependencies, because some compilers
  1.3145 +    # like to wrap large dependency lists on column 80 (with \), and
  1.3146 +    # we should not choose a depcomp mode which is confused by this.
  1.3147 +    #
  1.3148 +    # We need to recreate these files for each test, as the compiler may
  1.3149 +    # overwrite some of them when testing with obscure command lines.
  1.3150 +    # This happens at least with the AIX C compiler.
  1.3151 +    : > sub/conftest.c
  1.3152 +    for i in 1 2 3 4 5 6; do
  1.3153 +      echo '#include "conftst'$i'.h"' >> sub/conftest.c
  1.3154 +      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  1.3155 +      # Solaris 8's {/usr,}/bin/sh.
  1.3156 +      touch sub/conftst$i.h
  1.3157 +    done
  1.3158 +    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  1.3159 +
  1.3160 +    case $depmode in
  1.3161 +    nosideeffect)
  1.3162 +      # after this tag, mechanisms are not by side-effect, so they'll
  1.3163 +      # only be used when explicitly requested
  1.3164 +      if test "x$enable_dependency_tracking" = xyes; then
  1.3165 +	continue
  1.3166 +      else
  1.3167 +	break
  1.3168 +      fi
  1.3169 +      ;;
  1.3170 +    none) break ;;
  1.3171 +    esac
  1.3172 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
  1.3173 +    # mode.  It turns out that the SunPro C++ compiler does not properly
  1.3174 +    # handle `-M -o', and we need to detect this.
  1.3175 +    if depmode=$depmode \
  1.3176 +       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  1.3177 +       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  1.3178 +       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  1.3179 +         >/dev/null 2>conftest.err &&
  1.3180 +       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  1.3181 +       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  1.3182 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  1.3183 +      # icc doesn't choke on unknown options, it will just issue warnings
  1.3184 +      # or remarks (even with -Werror).  So we grep stderr for any message
  1.3185 +      # that says an option was ignored or not supported.
  1.3186 +      # When given -MP, icc 7.0 and 7.1 complain thusly:
  1.3187 +      #   icc: Command line warning: ignoring option '-M'; no argument required
  1.3188 +      # The diagnosis changed in icc 8.0:
  1.3189 +      #   icc: Command line remark: option '-MP' not supported
  1.3190 +      if (grep 'ignoring option' conftest.err ||
  1.3191 +          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  1.3192 +        am_cv_CXX_dependencies_compiler_type=$depmode
  1.3193 +        break
  1.3194 +      fi
  1.3195 +    fi
  1.3196 +  done
  1.3197 +
  1.3198 +  cd ..
  1.3199 +  rm -rf conftest.dir
  1.3200 +else
  1.3201 +  am_cv_CXX_dependencies_compiler_type=none
  1.3202 +fi
  1.3203 +
  1.3204 +fi
  1.3205 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  1.3206 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
  1.3207 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  1.3208 +
  1.3209 +
  1.3210 +
  1.3211 +if
  1.3212 +  test "x$enable_dependency_tracking" != xno \
  1.3213 +  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  1.3214 +  am__fastdepCXX_TRUE=
  1.3215 +  am__fastdepCXX_FALSE='#'
  1.3216 +else
  1.3217 +  am__fastdepCXX_TRUE='#'
  1.3218 +  am__fastdepCXX_FALSE=
  1.3219 +fi
  1.3220 +
  1.3221 +
  1.3222 +# Check whether --enable-shared was given.
  1.3223 +if test "${enable_shared+set}" = set; then
  1.3224 +  enableval=$enable_shared; p=${PACKAGE-default}
  1.3225 +    case $enableval in
  1.3226 +    yes) enable_shared=yes ;;
  1.3227 +    no) enable_shared=no ;;
  1.3228 +    *)
  1.3229 +      enable_shared=no
  1.3230 +      # Look at the argument we got.  We use all the common list separators.
  1.3231 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.3232 +      for pkg in $enableval; do
  1.3233 +	IFS="$lt_save_ifs"
  1.3234 +	if test "X$pkg" = "X$p"; then
  1.3235 +	  enable_shared=yes
  1.3236 +	fi
  1.3237 +      done
  1.3238 +      IFS="$lt_save_ifs"
  1.3239 +      ;;
  1.3240 +    esac
  1.3241 +else
  1.3242 +  enable_shared=yes
  1.3243 +fi
  1.3244 +
  1.3245 +
  1.3246 +# Check whether --enable-static was given.
  1.3247 +if test "${enable_static+set}" = set; then
  1.3248 +  enableval=$enable_static; p=${PACKAGE-default}
  1.3249 +    case $enableval in
  1.3250 +    yes) enable_static=yes ;;
  1.3251 +    no) enable_static=no ;;
  1.3252 +    *)
  1.3253 +     enable_static=no
  1.3254 +      # Look at the argument we got.  We use all the common list separators.
  1.3255 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.3256 +      for pkg in $enableval; do
  1.3257 +	IFS="$lt_save_ifs"
  1.3258 +	if test "X$pkg" = "X$p"; then
  1.3259 +	  enable_static=yes
  1.3260 +	fi
  1.3261 +      done
  1.3262 +      IFS="$lt_save_ifs"
  1.3263 +      ;;
  1.3264 +    esac
  1.3265 +else
  1.3266 +  enable_static=yes
  1.3267 +fi
  1.3268 +
  1.3269 +
  1.3270 +# Check whether --enable-fast-install was given.
  1.3271 +if test "${enable_fast_install+set}" = set; then
  1.3272 +  enableval=$enable_fast_install; p=${PACKAGE-default}
  1.3273 +    case $enableval in
  1.3274 +    yes) enable_fast_install=yes ;;
  1.3275 +    no) enable_fast_install=no ;;
  1.3276 +    *)
  1.3277 +      enable_fast_install=no
  1.3278 +      # Look at the argument we got.  We use all the common list separators.
  1.3279 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.3280 +      for pkg in $enableval; do
  1.3281 +	IFS="$lt_save_ifs"
  1.3282 +	if test "X$pkg" = "X$p"; then
  1.3283 +	  enable_fast_install=yes
  1.3284 +	fi
  1.3285 +      done
  1.3286 +      IFS="$lt_save_ifs"
  1.3287 +      ;;
  1.3288 +    esac
  1.3289 +else
  1.3290 +  enable_fast_install=yes
  1.3291 +fi
  1.3292 +
  1.3293 +
  1.3294 +# Make sure we can run config.sub.
  1.3295 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1.3296 +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1.3297 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1.3298 +   { (exit 1); exit 1; }; }
  1.3299 +
  1.3300 +{ echo "$as_me:$LINENO: checking build system type" >&5
  1.3301 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1.3302 +if test "${ac_cv_build+set}" = set; then
  1.3303 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3304 +else
  1.3305 +  ac_build_alias=$build_alias
  1.3306 +test "x$ac_build_alias" = x &&
  1.3307 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1.3308 +test "x$ac_build_alias" = x &&
  1.3309 +  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1.3310 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1.3311 +   { (exit 1); exit 1; }; }
  1.3312 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1.3313 +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1.3314 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1.3315 +   { (exit 1); exit 1; }; }
  1.3316 +
  1.3317 +fi
  1.3318 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1.3319 +echo "${ECHO_T}$ac_cv_build" >&6; }
  1.3320 +case $ac_cv_build in
  1.3321 +*-*-*) ;;
  1.3322 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1.3323 +echo "$as_me: error: invalid value of canonical build" >&2;}
  1.3324 +   { (exit 1); exit 1; }; };;
  1.3325 +esac
  1.3326 +build=$ac_cv_build
  1.3327 +ac_save_IFS=$IFS; IFS='-'
  1.3328 +set x $ac_cv_build
  1.3329 +shift
  1.3330 +build_cpu=$1
  1.3331 +build_vendor=$2
  1.3332 +shift; shift
  1.3333 +# Remember, the first character of IFS is used to create $*,
  1.3334 +# except with old shells:
  1.3335 +build_os=$*
  1.3336 +IFS=$ac_save_IFS
  1.3337 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1.3338 +
  1.3339 +
  1.3340 +{ echo "$as_me:$LINENO: checking host system type" >&5
  1.3341 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  1.3342 +if test "${ac_cv_host+set}" = set; then
  1.3343 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3344 +else
  1.3345 +  if test "x$host_alias" = x; then
  1.3346 +  ac_cv_host=$ac_cv_build
  1.3347 +else
  1.3348 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1.3349 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  1.3350 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1.3351 +   { (exit 1); exit 1; }; }
  1.3352 +fi
  1.3353 +
  1.3354 +fi
  1.3355 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1.3356 +echo "${ECHO_T}$ac_cv_host" >&6; }
  1.3357 +case $ac_cv_host in
  1.3358 +*-*-*) ;;
  1.3359 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  1.3360 +echo "$as_me: error: invalid value of canonical host" >&2;}
  1.3361 +   { (exit 1); exit 1; }; };;
  1.3362 +esac
  1.3363 +host=$ac_cv_host
  1.3364 +ac_save_IFS=$IFS; IFS='-'
  1.3365 +set x $ac_cv_host
  1.3366 +shift
  1.3367 +host_cpu=$1
  1.3368 +host_vendor=$2
  1.3369 +shift; shift
  1.3370 +# Remember, the first character of IFS is used to create $*,
  1.3371 +# except with old shells:
  1.3372 +host_os=$*
  1.3373 +IFS=$ac_save_IFS
  1.3374 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1.3375 +
  1.3376 +
  1.3377 +ac_ext=c
  1.3378 +ac_cpp='$CPP $CPPFLAGS'
  1.3379 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3380 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3381 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3382 +if test -n "$ac_tool_prefix"; then
  1.3383 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1.3384 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1.3385 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3386 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3387 +if test "${ac_cv_prog_CC+set}" = set; then
  1.3388 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3389 +else
  1.3390 +  if test -n "$CC"; then
  1.3391 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3392 +else
  1.3393 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3394 +for as_dir in $PATH
  1.3395 +do
  1.3396 +  IFS=$as_save_IFS
  1.3397 +  test -z "$as_dir" && as_dir=.
  1.3398 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3399 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3400 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1.3401 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3402 +    break 2
  1.3403 +  fi
  1.3404 +done
  1.3405 +done
  1.3406 +IFS=$as_save_IFS
  1.3407 +
  1.3408 +fi
  1.3409 +fi
  1.3410 +CC=$ac_cv_prog_CC
  1.3411 +if test -n "$CC"; then
  1.3412 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3413 +echo "${ECHO_T}$CC" >&6; }
  1.3414 +else
  1.3415 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3416 +echo "${ECHO_T}no" >&6; }
  1.3417 +fi
  1.3418 +
  1.3419 +
  1.3420 +fi
  1.3421 +if test -z "$ac_cv_prog_CC"; then
  1.3422 +  ac_ct_CC=$CC
  1.3423 +  # Extract the first word of "gcc", so it can be a program name with args.
  1.3424 +set dummy gcc; ac_word=$2
  1.3425 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3426 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3427 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.3428 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3429 +else
  1.3430 +  if test -n "$ac_ct_CC"; then
  1.3431 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.3432 +else
  1.3433 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3434 +for as_dir in $PATH
  1.3435 +do
  1.3436 +  IFS=$as_save_IFS
  1.3437 +  test -z "$as_dir" && as_dir=.
  1.3438 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3439 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3440 +    ac_cv_prog_ac_ct_CC="gcc"
  1.3441 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3442 +    break 2
  1.3443 +  fi
  1.3444 +done
  1.3445 +done
  1.3446 +IFS=$as_save_IFS
  1.3447 +
  1.3448 +fi
  1.3449 +fi
  1.3450 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.3451 +if test -n "$ac_ct_CC"; then
  1.3452 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.3453 +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.3454 +else
  1.3455 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3456 +echo "${ECHO_T}no" >&6; }
  1.3457 +fi
  1.3458 +
  1.3459 +  if test "x$ac_ct_CC" = x; then
  1.3460 +    CC=""
  1.3461 +  else
  1.3462 +    case $cross_compiling:$ac_tool_warned in
  1.3463 +yes:)
  1.3464 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.3465 +whose name does not start with the host triplet.  If you think this
  1.3466 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.3467 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.3468 +whose name does not start with the host triplet.  If you think this
  1.3469 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.3470 +ac_tool_warned=yes ;;
  1.3471 +esac
  1.3472 +    CC=$ac_ct_CC
  1.3473 +  fi
  1.3474 +else
  1.3475 +  CC="$ac_cv_prog_CC"
  1.3476 +fi
  1.3477 +
  1.3478 +if test -z "$CC"; then
  1.3479 +          if test -n "$ac_tool_prefix"; then
  1.3480 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1.3481 +set dummy ${ac_tool_prefix}cc; ac_word=$2
  1.3482 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3483 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3484 +if test "${ac_cv_prog_CC+set}" = set; then
  1.3485 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3486 +else
  1.3487 +  if test -n "$CC"; then
  1.3488 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3489 +else
  1.3490 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3491 +for as_dir in $PATH
  1.3492 +do
  1.3493 +  IFS=$as_save_IFS
  1.3494 +  test -z "$as_dir" && as_dir=.
  1.3495 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3496 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3497 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
  1.3498 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3499 +    break 2
  1.3500 +  fi
  1.3501 +done
  1.3502 +done
  1.3503 +IFS=$as_save_IFS
  1.3504 +
  1.3505 +fi
  1.3506 +fi
  1.3507 +CC=$ac_cv_prog_CC
  1.3508 +if test -n "$CC"; then
  1.3509 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3510 +echo "${ECHO_T}$CC" >&6; }
  1.3511 +else
  1.3512 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3513 +echo "${ECHO_T}no" >&6; }
  1.3514 +fi
  1.3515 +
  1.3516 +
  1.3517 +  fi
  1.3518 +fi
  1.3519 +if test -z "$CC"; then
  1.3520 +  # Extract the first word of "cc", so it can be a program name with args.
  1.3521 +set dummy cc; ac_word=$2
  1.3522 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3523 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3524 +if test "${ac_cv_prog_CC+set}" = set; then
  1.3525 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3526 +else
  1.3527 +  if test -n "$CC"; then
  1.3528 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3529 +else
  1.3530 +  ac_prog_rejected=no
  1.3531 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3532 +for as_dir in $PATH
  1.3533 +do
  1.3534 +  IFS=$as_save_IFS
  1.3535 +  test -z "$as_dir" && as_dir=.
  1.3536 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3537 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3538 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1.3539 +       ac_prog_rejected=yes
  1.3540 +       continue
  1.3541 +     fi
  1.3542 +    ac_cv_prog_CC="cc"
  1.3543 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3544 +    break 2
  1.3545 +  fi
  1.3546 +done
  1.3547 +done
  1.3548 +IFS=$as_save_IFS
  1.3549 +
  1.3550 +if test $ac_prog_rejected = yes; then
  1.3551 +  # We found a bogon in the path, so make sure we never use it.
  1.3552 +  set dummy $ac_cv_prog_CC
  1.3553 +  shift
  1.3554 +  if test $# != 0; then
  1.3555 +    # We chose a different compiler from the bogus one.
  1.3556 +    # However, it has the same basename, so the bogon will be chosen
  1.3557 +    # first if we set CC to just the basename; use the full file name.
  1.3558 +    shift
  1.3559 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1.3560 +  fi
  1.3561 +fi
  1.3562 +fi
  1.3563 +fi
  1.3564 +CC=$ac_cv_prog_CC
  1.3565 +if test -n "$CC"; then
  1.3566 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3567 +echo "${ECHO_T}$CC" >&6; }
  1.3568 +else
  1.3569 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3570 +echo "${ECHO_T}no" >&6; }
  1.3571 +fi
  1.3572 +
  1.3573 +
  1.3574 +fi
  1.3575 +if test -z "$CC"; then
  1.3576 +  if test -n "$ac_tool_prefix"; then
  1.3577 +  for ac_prog in cl.exe
  1.3578 +  do
  1.3579 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.3580 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.3581 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3582 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3583 +if test "${ac_cv_prog_CC+set}" = set; then
  1.3584 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3585 +else
  1.3586 +  if test -n "$CC"; then
  1.3587 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3588 +else
  1.3589 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3590 +for as_dir in $PATH
  1.3591 +do
  1.3592 +  IFS=$as_save_IFS
  1.3593 +  test -z "$as_dir" && as_dir=.
  1.3594 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3595 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3596 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1.3597 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3598 +    break 2
  1.3599 +  fi
  1.3600 +done
  1.3601 +done
  1.3602 +IFS=$as_save_IFS
  1.3603 +
  1.3604 +fi
  1.3605 +fi
  1.3606 +CC=$ac_cv_prog_CC
  1.3607 +if test -n "$CC"; then
  1.3608 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3609 +echo "${ECHO_T}$CC" >&6; }
  1.3610 +else
  1.3611 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3612 +echo "${ECHO_T}no" >&6; }
  1.3613 +fi
  1.3614 +
  1.3615 +
  1.3616 +    test -n "$CC" && break
  1.3617 +  done
  1.3618 +fi
  1.3619 +if test -z "$CC"; then
  1.3620 +  ac_ct_CC=$CC
  1.3621 +  for ac_prog in cl.exe
  1.3622 +do
  1.3623 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.3624 +set dummy $ac_prog; ac_word=$2
  1.3625 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3626 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3627 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.3628 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3629 +else
  1.3630 +  if test -n "$ac_ct_CC"; then
  1.3631 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.3632 +else
  1.3633 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3634 +for as_dir in $PATH
  1.3635 +do
  1.3636 +  IFS=$as_save_IFS
  1.3637 +  test -z "$as_dir" && as_dir=.
  1.3638 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3639 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3640 +    ac_cv_prog_ac_ct_CC="$ac_prog"
  1.3641 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3642 +    break 2
  1.3643 +  fi
  1.3644 +done
  1.3645 +done
  1.3646 +IFS=$as_save_IFS
  1.3647 +
  1.3648 +fi
  1.3649 +fi
  1.3650 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.3651 +if test -n "$ac_ct_CC"; then
  1.3652 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.3653 +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.3654 +else
  1.3655 +  { echo "$as_me:$LINENO: result: no" >&5
  1.3656 +echo "${ECHO_T}no" >&6; }
  1.3657 +fi
  1.3658 +
  1.3659 +
  1.3660 +  test -n "$ac_ct_CC" && break
  1.3661 +done
  1.3662 +
  1.3663 +  if test "x$ac_ct_CC" = x; then
  1.3664 +    CC=""
  1.3665 +  else
  1.3666 +    case $cross_compiling:$ac_tool_warned in
  1.3667 +yes:)
  1.3668 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.3669 +whose name does not start with the host triplet.  If you think this
  1.3670 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.3671 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.3672 +whose name does not start with the host triplet.  If you think this
  1.3673 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.3674 +ac_tool_warned=yes ;;
  1.3675 +esac
  1.3676 +    CC=$ac_ct_CC
  1.3677 +  fi
  1.3678 +fi
  1.3679 +
  1.3680 +fi
  1.3681 +
  1.3682 +
  1.3683 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1.3684 +See \`config.log' for more details." >&5
  1.3685 +echo "$as_me: error: no acceptable C compiler found in \$PATH
  1.3686 +See \`config.log' for more details." >&2;}
  1.3687 +   { (exit 1); exit 1; }; }
  1.3688 +
  1.3689 +# Provide some information about the compiler.
  1.3690 +echo "$as_me:$LINENO: checking for C compiler version" >&5
  1.3691 +ac_compiler=`set X $ac_compile; echo $2`
  1.3692 +{ (ac_try="$ac_compiler --version >&5"
  1.3693 +case "(($ac_try" in
  1.3694 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3695 +  *) ac_try_echo=$ac_try;;
  1.3696 +esac
  1.3697 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3698 +  (eval "$ac_compiler --version >&5") 2>&5
  1.3699 +  ac_status=$?
  1.3700 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3701 +  (exit $ac_status); }
  1.3702 +{ (ac_try="$ac_compiler -v >&5"
  1.3703 +case "(($ac_try" in
  1.3704 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3705 +  *) ac_try_echo=$ac_try;;
  1.3706 +esac
  1.3707 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3708 +  (eval "$ac_compiler -v >&5") 2>&5
  1.3709 +  ac_status=$?
  1.3710 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3711 +  (exit $ac_status); }
  1.3712 +{ (ac_try="$ac_compiler -V >&5"
  1.3713 +case "(($ac_try" in
  1.3714 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3715 +  *) ac_try_echo=$ac_try;;
  1.3716 +esac
  1.3717 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3718 +  (eval "$ac_compiler -V >&5") 2>&5
  1.3719 +  ac_status=$?
  1.3720 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3721 +  (exit $ac_status); }
  1.3722 +
  1.3723 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1.3724 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  1.3725 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1.3726 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3727 +else
  1.3728 +  cat >conftest.$ac_ext <<_ACEOF
  1.3729 +/* confdefs.h.  */
  1.3730 +_ACEOF
  1.3731 +cat confdefs.h >>conftest.$ac_ext
  1.3732 +cat >>conftest.$ac_ext <<_ACEOF
  1.3733 +/* end confdefs.h.  */
  1.3734 +
  1.3735 +int
  1.3736 +main ()
  1.3737 +{
  1.3738 +#ifndef __GNUC__
  1.3739 +       choke me
  1.3740 +#endif
  1.3741 +
  1.3742 +  ;
  1.3743 +  return 0;
  1.3744 +}
  1.3745 +_ACEOF
  1.3746 +rm -f conftest.$ac_objext
  1.3747 +if { (ac_try="$ac_compile"
  1.3748 +case "(($ac_try" in
  1.3749 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3750 +  *) ac_try_echo=$ac_try;;
  1.3751 +esac
  1.3752 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3753 +  (eval "$ac_compile") 2>conftest.er1
  1.3754 +  ac_status=$?
  1.3755 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3756 +  rm -f conftest.er1
  1.3757 +  cat conftest.err >&5
  1.3758 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3759 +  (exit $ac_status); } &&
  1.3760 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.3761 +  { (case "(($ac_try" in
  1.3762 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3763 +  *) ac_try_echo=$ac_try;;
  1.3764 +esac
  1.3765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3766 +  (eval "$ac_try") 2>&5
  1.3767 +  ac_status=$?
  1.3768 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3769 +  (exit $ac_status); }; } &&
  1.3770 +	 { ac_try='test -s conftest.$ac_objext'
  1.3771 +  { (case "(($ac_try" in
  1.3772 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3773 +  *) ac_try_echo=$ac_try;;
  1.3774 +esac
  1.3775 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3776 +  (eval "$ac_try") 2>&5
  1.3777 +  ac_status=$?
  1.3778 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3779 +  (exit $ac_status); }; }; then
  1.3780 +  ac_compiler_gnu=yes
  1.3781 +else
  1.3782 +  echo "$as_me: failed program was:" >&5
  1.3783 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3784 +
  1.3785 +	ac_compiler_gnu=no
  1.3786 +fi
  1.3787 +
  1.3788 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3789 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1.3790 +
  1.3791 +fi
  1.3792 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1.3793 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  1.3794 +GCC=`test $ac_compiler_gnu = yes && echo yes`
  1.3795 +ac_test_CFLAGS=${CFLAGS+set}
  1.3796 +ac_save_CFLAGS=$CFLAGS
  1.3797 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1.3798 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  1.3799 +if test "${ac_cv_prog_cc_g+set}" = set; then
  1.3800 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3801 +else
  1.3802 +  ac_save_c_werror_flag=$ac_c_werror_flag
  1.3803 +   ac_c_werror_flag=yes
  1.3804 +   ac_cv_prog_cc_g=no
  1.3805 +   CFLAGS="-g"
  1.3806 +   cat >conftest.$ac_ext <<_ACEOF
  1.3807 +/* confdefs.h.  */
  1.3808 +_ACEOF
  1.3809 +cat confdefs.h >>conftest.$ac_ext
  1.3810 +cat >>conftest.$ac_ext <<_ACEOF
  1.3811 +/* end confdefs.h.  */
  1.3812 +
  1.3813 +int
  1.3814 +main ()
  1.3815 +{
  1.3816 +
  1.3817 +  ;
  1.3818 +  return 0;
  1.3819 +}
  1.3820 +_ACEOF
  1.3821 +rm -f conftest.$ac_objext
  1.3822 +if { (ac_try="$ac_compile"
  1.3823 +case "(($ac_try" in
  1.3824 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3825 +  *) ac_try_echo=$ac_try;;
  1.3826 +esac
  1.3827 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3828 +  (eval "$ac_compile") 2>conftest.er1
  1.3829 +  ac_status=$?
  1.3830 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3831 +  rm -f conftest.er1
  1.3832 +  cat conftest.err >&5
  1.3833 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3834 +  (exit $ac_status); } &&
  1.3835 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.3836 +  { (case "(($ac_try" in
  1.3837 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3838 +  *) ac_try_echo=$ac_try;;
  1.3839 +esac
  1.3840 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3841 +  (eval "$ac_try") 2>&5
  1.3842 +  ac_status=$?
  1.3843 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3844 +  (exit $ac_status); }; } &&
  1.3845 +	 { ac_try='test -s conftest.$ac_objext'
  1.3846 +  { (case "(($ac_try" in
  1.3847 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3848 +  *) ac_try_echo=$ac_try;;
  1.3849 +esac
  1.3850 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3851 +  (eval "$ac_try") 2>&5
  1.3852 +  ac_status=$?
  1.3853 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3854 +  (exit $ac_status); }; }; then
  1.3855 +  ac_cv_prog_cc_g=yes
  1.3856 +else
  1.3857 +  echo "$as_me: failed program was:" >&5
  1.3858 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3859 +
  1.3860 +	CFLAGS=""
  1.3861 +      cat >conftest.$ac_ext <<_ACEOF
  1.3862 +/* confdefs.h.  */
  1.3863 +_ACEOF
  1.3864 +cat confdefs.h >>conftest.$ac_ext
  1.3865 +cat >>conftest.$ac_ext <<_ACEOF
  1.3866 +/* end confdefs.h.  */
  1.3867 +
  1.3868 +int
  1.3869 +main ()
  1.3870 +{
  1.3871 +
  1.3872 +  ;
  1.3873 +  return 0;
  1.3874 +}
  1.3875 +_ACEOF
  1.3876 +rm -f conftest.$ac_objext
  1.3877 +if { (ac_try="$ac_compile"
  1.3878 +case "(($ac_try" in
  1.3879 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3880 +  *) ac_try_echo=$ac_try;;
  1.3881 +esac
  1.3882 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3883 +  (eval "$ac_compile") 2>conftest.er1
  1.3884 +  ac_status=$?
  1.3885 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3886 +  rm -f conftest.er1
  1.3887 +  cat conftest.err >&5
  1.3888 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3889 +  (exit $ac_status); } &&
  1.3890 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.3891 +  { (case "(($ac_try" in
  1.3892 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3893 +  *) ac_try_echo=$ac_try;;
  1.3894 +esac
  1.3895 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3896 +  (eval "$ac_try") 2>&5
  1.3897 +  ac_status=$?
  1.3898 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3899 +  (exit $ac_status); }; } &&
  1.3900 +	 { ac_try='test -s conftest.$ac_objext'
  1.3901 +  { (case "(($ac_try" in
  1.3902 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3903 +  *) ac_try_echo=$ac_try;;
  1.3904 +esac
  1.3905 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3906 +  (eval "$ac_try") 2>&5
  1.3907 +  ac_status=$?
  1.3908 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3909 +  (exit $ac_status); }; }; then
  1.3910 +  :
  1.3911 +else
  1.3912 +  echo "$as_me: failed program was:" >&5
  1.3913 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3914 +
  1.3915 +	ac_c_werror_flag=$ac_save_c_werror_flag
  1.3916 +	 CFLAGS="-g"
  1.3917 +	 cat >conftest.$ac_ext <<_ACEOF
  1.3918 +/* confdefs.h.  */
  1.3919 +_ACEOF
  1.3920 +cat confdefs.h >>conftest.$ac_ext
  1.3921 +cat >>conftest.$ac_ext <<_ACEOF
  1.3922 +/* end confdefs.h.  */
  1.3923 +
  1.3924 +int
  1.3925 +main ()
  1.3926 +{
  1.3927 +
  1.3928 +  ;
  1.3929 +  return 0;
  1.3930 +}
  1.3931 +_ACEOF
  1.3932 +rm -f conftest.$ac_objext
  1.3933 +if { (ac_try="$ac_compile"
  1.3934 +case "(($ac_try" in
  1.3935 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3936 +  *) ac_try_echo=$ac_try;;
  1.3937 +esac
  1.3938 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3939 +  (eval "$ac_compile") 2>conftest.er1
  1.3940 +  ac_status=$?
  1.3941 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3942 +  rm -f conftest.er1
  1.3943 +  cat conftest.err >&5
  1.3944 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3945 +  (exit $ac_status); } &&
  1.3946 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.3947 +  { (case "(($ac_try" in
  1.3948 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3949 +  *) ac_try_echo=$ac_try;;
  1.3950 +esac
  1.3951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3952 +  (eval "$ac_try") 2>&5
  1.3953 +  ac_status=$?
  1.3954 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3955 +  (exit $ac_status); }; } &&
  1.3956 +	 { ac_try='test -s conftest.$ac_objext'
  1.3957 +  { (case "(($ac_try" in
  1.3958 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3959 +  *) ac_try_echo=$ac_try;;
  1.3960 +esac
  1.3961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3962 +  (eval "$ac_try") 2>&5
  1.3963 +  ac_status=$?
  1.3964 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3965 +  (exit $ac_status); }; }; then
  1.3966 +  ac_cv_prog_cc_g=yes
  1.3967 +else
  1.3968 +  echo "$as_me: failed program was:" >&5
  1.3969 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3970 +
  1.3971 +
  1.3972 +fi
  1.3973 +
  1.3974 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3975 +fi
  1.3976 +
  1.3977 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3978 +fi
  1.3979 +
  1.3980 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3981 +   ac_c_werror_flag=$ac_save_c_werror_flag
  1.3982 +fi
  1.3983 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1.3984 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  1.3985 +if test "$ac_test_CFLAGS" = set; then
  1.3986 +  CFLAGS=$ac_save_CFLAGS
  1.3987 +elif test $ac_cv_prog_cc_g = yes; then
  1.3988 +  if test "$GCC" = yes; then
  1.3989 +    CFLAGS="-g -O2"
  1.3990 +  else
  1.3991 +    CFLAGS="-g"
  1.3992 +  fi
  1.3993 +else
  1.3994 +  if test "$GCC" = yes; then
  1.3995 +    CFLAGS="-O2"
  1.3996 +  else
  1.3997 +    CFLAGS=
  1.3998 +  fi
  1.3999 +fi
  1.4000 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  1.4001 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  1.4002 +if test "${ac_cv_prog_cc_c89+set}" = set; then
  1.4003 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4004 +else
  1.4005 +  ac_cv_prog_cc_c89=no
  1.4006 +ac_save_CC=$CC
  1.4007 +cat >conftest.$ac_ext <<_ACEOF
  1.4008 +/* confdefs.h.  */
  1.4009 +_ACEOF
  1.4010 +cat confdefs.h >>conftest.$ac_ext
  1.4011 +cat >>conftest.$ac_ext <<_ACEOF
  1.4012 +/* end confdefs.h.  */
  1.4013 +#include <stdarg.h>
  1.4014 +#include <stdio.h>
  1.4015 +#include <sys/types.h>
  1.4016 +#include <sys/stat.h>
  1.4017 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1.4018 +struct buf { int x; };
  1.4019 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1.4020 +static char *e (p, i)
  1.4021 +     char **p;
  1.4022 +     int i;
  1.4023 +{
  1.4024 +  return p[i];
  1.4025 +}
  1.4026 +static char *f (char * (*g) (char **, int), char **p, ...)
  1.4027 +{
  1.4028 +  char *s;
  1.4029 +  va_list v;
  1.4030 +  va_start (v,p);
  1.4031 +  s = g (p, va_arg (v,int));
  1.4032 +  va_end (v);
  1.4033 +  return s;
  1.4034 +}
  1.4035 +
  1.4036 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  1.4037 +   function prototypes and stuff, but not '\xHH' hex character constants.
  1.4038 +   These don't provoke an error unfortunately, instead are silently treated
  1.4039 +   as 'x'.  The following induces an error, until -std is added to get
  1.4040 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  1.4041 +   array size at least.  It's necessary to write '\x00'==0 to get something
  1.4042 +   that's true only with -std.  */
  1.4043 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  1.4044 +
  1.4045 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  1.4046 +   inside strings and character constants.  */
  1.4047 +#define FOO(x) 'x'
  1.4048 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  1.4049 +
  1.4050 +int test (int i, double x);
  1.4051 +struct s1 {int (*f) (int a);};
  1.4052 +struct s2 {int (*f) (double a);};
  1.4053 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1.4054 +int argc;
  1.4055 +char **argv;
  1.4056 +int
  1.4057 +main ()
  1.4058 +{
  1.4059 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1.4060 +  ;
  1.4061 +  return 0;
  1.4062 +}
  1.4063 +_ACEOF
  1.4064 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  1.4065 +	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1.4066 +do
  1.4067 +  CC="$ac_save_CC $ac_arg"
  1.4068 +  rm -f conftest.$ac_objext
  1.4069 +if { (ac_try="$ac_compile"
  1.4070 +case "(($ac_try" in
  1.4071 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4072 +  *) ac_try_echo=$ac_try;;
  1.4073 +esac
  1.4074 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4075 +  (eval "$ac_compile") 2>conftest.er1
  1.4076 +  ac_status=$?
  1.4077 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.4078 +  rm -f conftest.er1
  1.4079 +  cat conftest.err >&5
  1.4080 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4081 +  (exit $ac_status); } &&
  1.4082 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.4083 +  { (case "(($ac_try" in
  1.4084 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4085 +  *) ac_try_echo=$ac_try;;
  1.4086 +esac
  1.4087 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4088 +  (eval "$ac_try") 2>&5
  1.4089 +  ac_status=$?
  1.4090 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4091 +  (exit $ac_status); }; } &&
  1.4092 +	 { ac_try='test -s conftest.$ac_objext'
  1.4093 +  { (case "(($ac_try" in
  1.4094 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4095 +  *) ac_try_echo=$ac_try;;
  1.4096 +esac
  1.4097 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4098 +  (eval "$ac_try") 2>&5
  1.4099 +  ac_status=$?
  1.4100 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4101 +  (exit $ac_status); }; }; then
  1.4102 +  ac_cv_prog_cc_c89=$ac_arg
  1.4103 +else
  1.4104 +  echo "$as_me: failed program was:" >&5
  1.4105 +sed 's/^/| /' conftest.$ac_ext >&5
  1.4106 +
  1.4107 +
  1.4108 +fi
  1.4109 +
  1.4110 +rm -f core conftest.err conftest.$ac_objext
  1.4111 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
  1.4112 +done
  1.4113 +rm -f conftest.$ac_ext
  1.4114 +CC=$ac_save_CC
  1.4115 +
  1.4116 +fi
  1.4117 +# AC_CACHE_VAL
  1.4118 +case "x$ac_cv_prog_cc_c89" in
  1.4119 +  x)
  1.4120 +    { echo "$as_me:$LINENO: result: none needed" >&5
  1.4121 +echo "${ECHO_T}none needed" >&6; } ;;
  1.4122 +  xno)
  1.4123 +    { echo "$as_me:$LINENO: result: unsupported" >&5
  1.4124 +echo "${ECHO_T}unsupported" >&6; } ;;
  1.4125 +  *)
  1.4126 +    CC="$CC $ac_cv_prog_cc_c89"
  1.4127 +    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  1.4128 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  1.4129 +esac
  1.4130 +
  1.4131 +
  1.4132 +ac_ext=cpp
  1.4133 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.4134 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.4135 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.4136 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.4137 +
  1.4138 +depcc="$CC"   am_compiler_list=
  1.4139 +
  1.4140 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  1.4141 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  1.4142 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  1.4143 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4144 +else
  1.4145 +  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  1.4146 +  # We make a subdir and do the tests there.  Otherwise we can end up
  1.4147 +  # making bogus files that we don't know about and never remove.  For
  1.4148 +  # instance it was reported that on HP-UX the gcc test will end up
  1.4149 +  # making a dummy file named `D' -- because `-MD' means `put the output
  1.4150 +  # in D'.
  1.4151 +  mkdir conftest.dir
  1.4152 +  # Copy depcomp to subdir because otherwise we won't find it if we're
  1.4153 +  # using a relative directory.
  1.4154 +  cp "$am_depcomp" conftest.dir
  1.4155 +  cd conftest.dir
  1.4156 +  # We will build objects and dependencies in a subdirectory because
  1.4157 +  # it helps to detect inapplicable dependency modes.  For instance
  1.4158 +  # both Tru64's cc and ICC support -MD to output dependencies as a
  1.4159 +  # side effect of compilation, but ICC will put the dependencies in
  1.4160 +  # the current directory while Tru64 will put them in the object
  1.4161 +  # directory.
  1.4162 +  mkdir sub
  1.4163 +
  1.4164 +  am_cv_CC_dependencies_compiler_type=none
  1.4165 +  if test "$am_compiler_list" = ""; then
  1.4166 +     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  1.4167 +  fi
  1.4168 +  for depmode in $am_compiler_list; do
  1.4169 +    # Setup a source with many dependencies, because some compilers
  1.4170 +    # like to wrap large dependency lists on column 80 (with \), and
  1.4171 +    # we should not choose a depcomp mode which is confused by this.
  1.4172 +    #
  1.4173 +    # We need to recreate these files for each test, as the compiler may
  1.4174 +    # overwrite some of them when testing with obscure command lines.
  1.4175 +    # This happens at least with the AIX C compiler.
  1.4176 +    : > sub/conftest.c
  1.4177 +    for i in 1 2 3 4 5 6; do
  1.4178 +      echo '#include "conftst'$i'.h"' >> sub/conftest.c
  1.4179 +      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  1.4180 +      # Solaris 8's {/usr,}/bin/sh.
  1.4181 +      touch sub/conftst$i.h
  1.4182 +    done
  1.4183 +    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  1.4184 +
  1.4185 +    case $depmode in
  1.4186 +    nosideeffect)
  1.4187 +      # after this tag, mechanisms are not by side-effect, so they'll
  1.4188 +      # only be used when explicitly requested
  1.4189 +      if test "x$enable_dependency_tracking" = xyes; then
  1.4190 +	continue
  1.4191 +      else
  1.4192 +	break
  1.4193 +      fi
  1.4194 +      ;;
  1.4195 +    none) break ;;
  1.4196 +    esac
  1.4197 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
  1.4198 +    # mode.  It turns out that the SunPro C++ compiler does not properly
  1.4199 +    # handle `-M -o', and we need to detect this.
  1.4200 +    if depmode=$depmode \
  1.4201 +       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  1.4202 +       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  1.4203 +       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  1.4204 +         >/dev/null 2>conftest.err &&
  1.4205 +       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  1.4206 +       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  1.4207 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  1.4208 +      # icc doesn't choke on unknown options, it will just issue warnings
  1.4209 +      # or remarks (even with -Werror).  So we grep stderr for any message
  1.4210 +      # that says an option was ignored or not supported.
  1.4211 +      # When given -MP, icc 7.0 and 7.1 complain thusly:
  1.4212 +      #   icc: Command line warning: ignoring option '-M'; no argument required
  1.4213 +      # The diagnosis changed in icc 8.0:
  1.4214 +      #   icc: Command line remark: option '-MP' not supported
  1.4215 +      if (grep 'ignoring option' conftest.err ||
  1.4216 +          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  1.4217 +        am_cv_CC_dependencies_compiler_type=$depmode
  1.4218 +        break
  1.4219 +      fi
  1.4220 +    fi
  1.4221 +  done
  1.4222 +
  1.4223 +  cd ..
  1.4224 +  rm -rf conftest.dir
  1.4225 +else
  1.4226 +  am_cv_CC_dependencies_compiler_type=none
  1.4227 +fi
  1.4228 +
  1.4229 +fi
  1.4230 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  1.4231 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  1.4232 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  1.4233 +
  1.4234 +
  1.4235 +
  1.4236 +if
  1.4237 +  test "x$enable_dependency_tracking" != xno \
  1.4238 +  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  1.4239 +  am__fastdepCC_TRUE=
  1.4240 +  am__fastdepCC_FALSE='#'
  1.4241 +else
  1.4242 +  am__fastdepCC_TRUE='#'
  1.4243 +  am__fastdepCC_FALSE=
  1.4244 +fi
  1.4245 +
  1.4246 +
  1.4247 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  1.4248 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  1.4249 +if test "${lt_cv_path_SED+set}" = set; then
  1.4250 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4251 +else
  1.4252 +  # Loop through the user's path and test for sed and gsed.
  1.4253 +# Then use that list of sed's as ones to test for truncation.
  1.4254 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4255 +for as_dir in $PATH
  1.4256 +do
  1.4257 +  IFS=$as_save_IFS
  1.4258 +  test -z "$as_dir" && as_dir=.
  1.4259 +  for lt_ac_prog in sed gsed; do
  1.4260 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4261 +      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  1.4262 +        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  1.4263 +      fi
  1.4264 +    done
  1.4265 +  done
  1.4266 +done
  1.4267 +lt_ac_max=0
  1.4268 +lt_ac_count=0
  1.4269 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  1.4270 +# along with /bin/sed that truncates output.
  1.4271 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  1.4272 +  test ! -f $lt_ac_sed && continue
  1.4273 +  cat /dev/null > conftest.in
  1.4274 +  lt_ac_count=0
  1.4275 +  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  1.4276 +  # Check for GNU sed and select it if it is found.
  1.4277 +  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  1.4278 +    lt_cv_path_SED=$lt_ac_sed
  1.4279 +    break
  1.4280 +  fi
  1.4281 +  while true; do
  1.4282 +    cat conftest.in conftest.in >conftest.tmp
  1.4283 +    mv conftest.tmp conftest.in
  1.4284 +    cp conftest.in conftest.nl
  1.4285 +    echo >>conftest.nl
  1.4286 +    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  1.4287 +    cmp -s conftest.out conftest.nl || break
  1.4288 +    # 10000 chars as input seems more than enough
  1.4289 +    test $lt_ac_count -gt 10 && break
  1.4290 +    lt_ac_count=`expr $lt_ac_count + 1`
  1.4291 +    if test $lt_ac_count -gt $lt_ac_max; then
  1.4292 +      lt_ac_max=$lt_ac_count
  1.4293 +      lt_cv_path_SED=$lt_ac_sed
  1.4294 +    fi
  1.4295 +  done
  1.4296 +done
  1.4297 +
  1.4298 +fi
  1.4299 +
  1.4300 +SED=$lt_cv_path_SED
  1.4301 +{ echo "$as_me:$LINENO: result: $SED" >&5
  1.4302 +echo "${ECHO_T}$SED" >&6; }
  1.4303 +
  1.4304 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  1.4305 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  1.4306 +if test "${ac_cv_path_GREP+set}" = set; then
  1.4307 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4308 +else
  1.4309 +  # Extract the first word of "grep ggrep" to use in msg output
  1.4310 +if test -z "$GREP"; then
  1.4311 +set dummy grep ggrep; ac_prog_name=$2
  1.4312 +if test "${ac_cv_path_GREP+set}" = set; then
  1.4313 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4314 +else
  1.4315 +  ac_path_GREP_found=false
  1.4316 +# Loop through the user's path and test for each of PROGNAME-LIST
  1.4317 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4318 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4319 +do
  1.4320 +  IFS=$as_save_IFS
  1.4321 +  test -z "$as_dir" && as_dir=.
  1.4322 +  for ac_prog in grep ggrep; do
  1.4323 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4324 +    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4325 +    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
  1.4326 +    # Check for GNU ac_path_GREP and select it if it is found.
  1.4327 +  # Check for GNU $ac_path_GREP
  1.4328 +case `"$ac_path_GREP" --version 2>&1` in
  1.4329 +*GNU*)
  1.4330 +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  1.4331 +*)
  1.4332 +  ac_count=0
  1.4333 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.4334 +  while :
  1.4335 +  do
  1.4336 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4337 +    mv "conftest.tmp" "conftest.in"
  1.4338 +    cp "conftest.in" "conftest.nl"
  1.4339 +    echo 'GREP' >> "conftest.nl"
  1.4340 +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4341 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4342 +    ac_count=`expr $ac_count + 1`
  1.4343 +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
  1.4344 +      # Best one so far, save it but keep looking for a better one
  1.4345 +      ac_cv_path_GREP="$ac_path_GREP"
  1.4346 +      ac_path_GREP_max=$ac_count
  1.4347 +    fi
  1.4348 +    # 10*(2^10) chars as input seems more than enough
  1.4349 +    test $ac_count -gt 10 && break
  1.4350 +  done
  1.4351 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4352 +esac
  1.4353 +
  1.4354 +
  1.4355 +    $ac_path_GREP_found && break 3
  1.4356 +  done
  1.4357 +done
  1.4358 +
  1.4359 +done
  1.4360 +IFS=$as_save_IFS
  1.4361 +
  1.4362 +
  1.4363 +fi
  1.4364 +
  1.4365 +GREP="$ac_cv_path_GREP"
  1.4366 +if test -z "$GREP"; then
  1.4367 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.4368 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.4369 +   { (exit 1); exit 1; }; }
  1.4370 +fi
  1.4371 +
  1.4372 +else
  1.4373 +  ac_cv_path_GREP=$GREP
  1.4374 +fi
  1.4375 +
  1.4376 +
  1.4377 +fi
  1.4378 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  1.4379 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  1.4380 + GREP="$ac_cv_path_GREP"
  1.4381 +
  1.4382 +
  1.4383 +{ echo "$as_me:$LINENO: checking for egrep" >&5
  1.4384 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  1.4385 +if test "${ac_cv_path_EGREP+set}" = set; then
  1.4386 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4387 +else
  1.4388 +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  1.4389 +   then ac_cv_path_EGREP="$GREP -E"
  1.4390 +   else
  1.4391 +     # Extract the first word of "egrep" to use in msg output
  1.4392 +if test -z "$EGREP"; then
  1.4393 +set dummy egrep; ac_prog_name=$2
  1.4394 +if test "${ac_cv_path_EGREP+set}" = set; then
  1.4395 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4396 +else
  1.4397 +  ac_path_EGREP_found=false
  1.4398 +# Loop through the user's path and test for each of PROGNAME-LIST
  1.4399 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4400 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4401 +do
  1.4402 +  IFS=$as_save_IFS
  1.4403 +  test -z "$as_dir" && as_dir=.
  1.4404 +  for ac_prog in egrep; do
  1.4405 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4406 +    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4407 +    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
  1.4408 +    # Check for GNU ac_path_EGREP and select it if it is found.
  1.4409 +  # Check for GNU $ac_path_EGREP
  1.4410 +case `"$ac_path_EGREP" --version 2>&1` in
  1.4411 +*GNU*)
  1.4412 +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  1.4413 +*)
  1.4414 +  ac_count=0
  1.4415 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.4416 +  while :
  1.4417 +  do
  1.4418 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4419 +    mv "conftest.tmp" "conftest.in"
  1.4420 +    cp "conftest.in" "conftest.nl"
  1.4421 +    echo 'EGREP' >> "conftest.nl"
  1.4422 +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4423 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4424 +    ac_count=`expr $ac_count + 1`
  1.4425 +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  1.4426 +      # Best one so far, save it but keep looking for a better one
  1.4427 +      ac_cv_path_EGREP="$ac_path_EGREP"
  1.4428 +      ac_path_EGREP_max=$ac_count
  1.4429 +    fi
  1.4430 +    # 10*(2^10) chars as input seems more than enough
  1.4431 +    test $ac_count -gt 10 && break
  1.4432 +  done
  1.4433 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4434 +esac
  1.4435 +
  1.4436 +
  1.4437 +    $ac_path_EGREP_found && break 3
  1.4438 +  done
  1.4439 +done
  1.4440 +
  1.4441 +done
  1.4442 +IFS=$as_save_IFS
  1.4443 +
  1.4444 +
  1.4445 +fi
  1.4446 +
  1.4447 +EGREP="$ac_cv_path_EGREP"
  1.4448 +if test -z "$EGREP"; then
  1.4449 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.4450 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.4451 +   { (exit 1); exit 1; }; }
  1.4452 +fi
  1.4453 +
  1.4454 +else
  1.4455 +  ac_cv_path_EGREP=$EGREP
  1.4456 +fi
  1.4457 +
  1.4458 +
  1.4459 +   fi
  1.4460 +fi
  1.4461 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  1.4462 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  1.4463 + EGREP="$ac_cv_path_EGREP"
  1.4464 +
  1.4465 +
  1.4466 +
  1.4467 +# Check whether --with-gnu-ld was given.
  1.4468 +if test "${with_gnu_ld+set}" = set; then
  1.4469 +  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  1.4470 +else
  1.4471 +  with_gnu_ld=no
  1.4472 +fi
  1.4473 +
  1.4474 +ac_prog=ld
  1.4475 +if test "$GCC" = yes; then
  1.4476 +  # Check if gcc -print-prog-name=ld gives a path.
  1.4477 +  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  1.4478 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  1.4479 +  case $host in
  1.4480 +  *-*-mingw*)
  1.4481 +    # gcc leaves a trailing carriage return which upsets mingw
  1.4482 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  1.4483 +  *)
  1.4484 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  1.4485 +  esac
  1.4486 +  case $ac_prog in
  1.4487 +    # Accept absolute paths.
  1.4488 +    [\\/]* | ?:[\\/]*)
  1.4489 +      re_direlt='/[^/][^/]*/\.\./'
  1.4490 +      # Canonicalize the pathname of ld
  1.4491 +      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  1.4492 +      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  1.4493 +	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  1.4494 +      done
  1.4495 +      test -z "$LD" && LD="$ac_prog"
  1.4496 +      ;;
  1.4497 +  "")
  1.4498 +    # If it fails, then pretend we aren't using GCC.
  1.4499 +    ac_prog=ld
  1.4500 +    ;;
  1.4501 +  *)
  1.4502 +    # If it is relative, then search for the first ld in PATH.
  1.4503 +    with_gnu_ld=unknown
  1.4504 +    ;;
  1.4505 +  esac
  1.4506 +elif test "$with_gnu_ld" = yes; then
  1.4507 +  { echo "$as_me:$LINENO: checking for GNU ld" >&5
  1.4508 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  1.4509 +else
  1.4510 +  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  1.4511 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  1.4512 +fi
  1.4513 +if test "${lt_cv_path_LD+set}" = set; then
  1.4514 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4515 +else
  1.4516 +  if test -z "$LD"; then
  1.4517 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.4518 +  for ac_dir in $PATH; do
  1.4519 +    IFS="$lt_save_ifs"
  1.4520 +    test -z "$ac_dir" && ac_dir=.
  1.4521 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  1.4522 +      lt_cv_path_LD="$ac_dir/$ac_prog"
  1.4523 +      # Check to see if the program is GNU ld.  I'd rather use --version,
  1.4524 +      # but apparently some variants of GNU ld only accept -v.
  1.4525 +      # Break only if it was the GNU/non-GNU ld that we prefer.
  1.4526 +      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  1.4527 +      *GNU* | *'with BFD'*)
  1.4528 +	test "$with_gnu_ld" != no && break
  1.4529 +	;;
  1.4530 +      *)
  1.4531 +	test "$with_gnu_ld" != yes && break
  1.4532 +	;;
  1.4533 +      esac
  1.4534 +    fi
  1.4535 +  done
  1.4536 +  IFS="$lt_save_ifs"
  1.4537 +else
  1.4538 +  lt_cv_path_LD="$LD" # Let the user override the test with a path.
  1.4539 +fi
  1.4540 +fi
  1.4541 +
  1.4542 +LD="$lt_cv_path_LD"
  1.4543 +if test -n "$LD"; then
  1.4544 +  { echo "$as_me:$LINENO: result: $LD" >&5
  1.4545 +echo "${ECHO_T}$LD" >&6; }
  1.4546 +else
  1.4547 +  { echo "$as_me:$LINENO: result: no" >&5
  1.4548 +echo "${ECHO_T}no" >&6; }
  1.4549 +fi
  1.4550 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  1.4551 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  1.4552 +   { (exit 1); exit 1; }; }
  1.4553 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  1.4554 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  1.4555 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
  1.4556 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4557 +else
  1.4558 +  # I'd rather use --version here, but apparently some GNU lds only accept -v.
  1.4559 +case `$LD -v 2>&1 </dev/null` in
  1.4560 +*GNU* | *'with BFD'*)
  1.4561 +  lt_cv_prog_gnu_ld=yes
  1.4562 +  ;;
  1.4563 +*)
  1.4564 +  lt_cv_prog_gnu_ld=no
  1.4565 +  ;;
  1.4566 +esac
  1.4567 +fi
  1.4568 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  1.4569 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  1.4570 +with_gnu_ld=$lt_cv_prog_gnu_ld
  1.4571 +
  1.4572 +
  1.4573 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  1.4574 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  1.4575 +if test "${lt_cv_ld_reload_flag+set}" = set; then
  1.4576 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4577 +else
  1.4578 +  lt_cv_ld_reload_flag='-r'
  1.4579 +fi
  1.4580 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  1.4581 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  1.4582 +reload_flag=$lt_cv_ld_reload_flag
  1.4583 +case $reload_flag in
  1.4584 +"" | " "*) ;;
  1.4585 +*) reload_flag=" $reload_flag" ;;
  1.4586 +esac
  1.4587 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  1.4588 +case $host_os in
  1.4589 +  darwin*)
  1.4590 +    if test "$GCC" = yes; then
  1.4591 +      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  1.4592 +    else
  1.4593 +      reload_cmds='$LD$reload_flag -o $output$reload_objs'
  1.4594 +    fi
  1.4595 +    ;;
  1.4596 +esac
  1.4597 +
  1.4598 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  1.4599 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
  1.4600 +if test "${lt_cv_path_NM+set}" = set; then
  1.4601 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4602 +else
  1.4603 +  if test -n "$NM"; then
  1.4604 +  # Let the user override the test.
  1.4605 +  lt_cv_path_NM="$NM"
  1.4606 +else
  1.4607 +  lt_nm_to_check="${ac_tool_prefix}nm"
  1.4608 +  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  1.4609 +    lt_nm_to_check="$lt_nm_to_check nm"
  1.4610 +  fi
  1.4611 +  for lt_tmp_nm in $lt_nm_to_check; do
  1.4612 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.4613 +    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  1.4614 +      IFS="$lt_save_ifs"
  1.4615 +      test -z "$ac_dir" && ac_dir=.
  1.4616 +      tmp_nm="$ac_dir/$lt_tmp_nm"
  1.4617 +      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  1.4618 +	# Check to see if the nm accepts a BSD-compat flag.
  1.4619 +	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  1.4620 +	#   nm: unknown option "B" ignored
  1.4621 +	# Tru64's nm complains that /dev/null is an invalid object file
  1.4622 +	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  1.4623 +	*/dev/null* | *'Invalid file or object type'*)
  1.4624 +	  lt_cv_path_NM="$tmp_nm -B"
  1.4625 +	  break
  1.4626 +	  ;;
  1.4627 +	*)
  1.4628 +	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  1.4629 +	  */dev/null*)
  1.4630 +	    lt_cv_path_NM="$tmp_nm -p"
  1.4631 +	    break
  1.4632 +	    ;;
  1.4633 +	  *)
  1.4634 +	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  1.4635 +	    continue # so that we can try to find one that supports BSD flags
  1.4636 +	    ;;
  1.4637 +	  esac
  1.4638 +	  ;;
  1.4639 +	esac
  1.4640 +      fi
  1.4641 +    done
  1.4642 +    IFS="$lt_save_ifs"
  1.4643 +  done
  1.4644 +  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  1.4645 +fi
  1.4646 +fi
  1.4647 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  1.4648 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  1.4649 +NM="$lt_cv_path_NM"
  1.4650 +
  1.4651 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
  1.4652 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  1.4653 +LN_S=$as_ln_s
  1.4654 +if test "$LN_S" = "ln -s"; then
  1.4655 +  { echo "$as_me:$LINENO: result: yes" >&5
  1.4656 +echo "${ECHO_T}yes" >&6; }
  1.4657 +else
  1.4658 +  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  1.4659 +echo "${ECHO_T}no, using $LN_S" >&6; }
  1.4660 +fi
  1.4661 +
  1.4662 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
  1.4663 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
  1.4664 +if test "${lt_cv_deplibs_check_method+set}" = set; then
  1.4665 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4666 +else
  1.4667 +  lt_cv_file_magic_cmd='$MAGIC_CMD'
  1.4668 +lt_cv_file_magic_test_file=
  1.4669 +lt_cv_deplibs_check_method='unknown'
  1.4670 +# Need to set the preceding variable on all platforms that support
  1.4671 +# interlibrary dependencies.
  1.4672 +# 'none' -- dependencies not supported.
  1.4673 +# `unknown' -- same as none, but documents that we really don't know.
  1.4674 +# 'pass_all' -- all dependencies passed with no checks.
  1.4675 +# 'test_compile' -- check by making test program.
  1.4676 +# 'file_magic [[regex]]' -- check by looking for files in library path
  1.4677 +# which responds to the $file_magic_cmd with a given extended regex.
  1.4678 +# If you have `file' or equivalent on your system and you're not sure
  1.4679 +# whether `pass_all' will *always* work, you probably want this one.
  1.4680 +
  1.4681 +case $host_os in
  1.4682 +aix4* | aix5*)
  1.4683 +  lt_cv_deplibs_check_method=pass_all
  1.4684 +  ;;
  1.4685 +
  1.4686 +beos*)
  1.4687 +  lt_cv_deplibs_check_method=pass_all
  1.4688 +  ;;
  1.4689 +
  1.4690 +bsdi[45]*)
  1.4691 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  1.4692 +  lt_cv_file_magic_cmd='/usr/bin/file -L'
  1.4693 +  lt_cv_file_magic_test_file=/shlib/libc.so
  1.4694 +  ;;
  1.4695 +
  1.4696 +cygwin*)
  1.4697 +  # func_win32_libid is a shell function defined in ltmain.sh
  1.4698 +  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  1.4699 +  lt_cv_file_magic_cmd='func_win32_libid'
  1.4700 +  ;;
  1.4701 +
  1.4702 +mingw* | pw32*)
  1.4703 +  # Base MSYS/MinGW do not provide the 'file' command needed by
  1.4704 +  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
  1.4705 +  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  1.4706 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
  1.4707 +  ;;
  1.4708 +
  1.4709 +darwin* | rhapsody*)
  1.4710 +  lt_cv_deplibs_check_method=pass_all
  1.4711 +  ;;
  1.4712 +
  1.4713 +freebsd* | kfreebsd*-gnu | dragonfly*)
  1.4714 +  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  1.4715 +    case $host_cpu in
  1.4716 +    i*86 )
  1.4717 +      # Not sure whether the presence of OpenBSD here was a mistake.
  1.4718 +      # Let's accept both of them until this is cleared up.
  1.4719 +      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  1.4720 +      lt_cv_file_magic_cmd=/usr/bin/file
  1.4721 +      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  1.4722 +      ;;
  1.4723 +    esac
  1.4724 +  else
  1.4725 +    lt_cv_deplibs_check_method=pass_all
  1.4726 +  fi
  1.4727 +  ;;
  1.4728 +
  1.4729 +gnu*)
  1.4730 +  lt_cv_deplibs_check_method=pass_all
  1.4731 +  ;;
  1.4732 +
  1.4733 +hpux10.20* | hpux11*)
  1.4734 +  lt_cv_file_magic_cmd=/usr/bin/file
  1.4735 +  case $host_cpu in
  1.4736 +  ia64*)
  1.4737 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  1.4738 +    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  1.4739 +    ;;
  1.4740 +  hppa*64*)
  1.4741 +    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.4742 +    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  1.4743 +    ;;
  1.4744 +  *)
  1.4745 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  1.4746 +    lt_cv_file_magic_test_file=/usr/lib/libc.sl
  1.4747 +    ;;
  1.4748 +  esac
  1.4749 +  ;;
  1.4750 +
  1.4751 +interix3*)
  1.4752 +  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  1.4753 +  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  1.4754 +  ;;
  1.4755 +
  1.4756 +irix5* | irix6* | nonstopux*)
  1.4757 +  case $LD in
  1.4758 +  *-32|*"-32 ") libmagic=32-bit;;
  1.4759 +  *-n32|*"-n32 ") libmagic=N32;;
  1.4760 +  *-64|*"-64 ") libmagic=64-bit;;
  1.4761 +  *) libmagic=never-match;;
  1.4762 +  esac
  1.4763 +  lt_cv_deplibs_check_method=pass_all
  1.4764 +  ;;
  1.4765 +
  1.4766 +# This must be Linux ELF.
  1.4767 +linux*)
  1.4768 +  lt_cv_deplibs_check_method=pass_all
  1.4769 +  ;;
  1.4770 +
  1.4771 +netbsd*)
  1.4772 +  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  1.4773 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  1.4774 +  else
  1.4775 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  1.4776 +  fi
  1.4777 +  ;;
  1.4778 +
  1.4779 +newos6*)
  1.4780 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  1.4781 +  lt_cv_file_magic_cmd=/usr/bin/file
  1.4782 +  lt_cv_file_magic_test_file=/usr/lib/libnls.so
  1.4783 +  ;;
  1.4784 +
  1.4785 +nto-qnx*)
  1.4786 +  lt_cv_deplibs_check_method=unknown
  1.4787 +  ;;
  1.4788 +
  1.4789 +openbsd*)
  1.4790 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  1.4791 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  1.4792 +  else
  1.4793 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  1.4794 +  fi
  1.4795 +  ;;
  1.4796 +
  1.4797 +osf3* | osf4* | osf5*)
  1.4798 +  lt_cv_deplibs_check_method=pass_all
  1.4799 +  ;;
  1.4800 +
  1.4801 +solaris*)
  1.4802 +  lt_cv_deplibs_check_method=pass_all
  1.4803 +  ;;
  1.4804 +
  1.4805 +sysv4 | sysv4.3*)
  1.4806 +  case $host_vendor in
  1.4807 +  motorola)
  1.4808 +    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.4809 +    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  1.4810 +    ;;
  1.4811 +  ncr)
  1.4812 +    lt_cv_deplibs_check_method=pass_all
  1.4813 +    ;;
  1.4814 +  sequent)
  1.4815 +    lt_cv_file_magic_cmd='/bin/file'
  1.4816 +    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  1.4817 +    ;;
  1.4818 +  sni)
  1.4819 +    lt_cv_file_magic_cmd='/bin/file'
  1.4820 +    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  1.4821 +    lt_cv_file_magic_test_file=/lib/libc.so
  1.4822 +    ;;
  1.4823 +  siemens)
  1.4824 +    lt_cv_deplibs_check_method=pass_all
  1.4825 +    ;;
  1.4826 +  pc)
  1.4827 +    lt_cv_deplibs_check_method=pass_all
  1.4828 +    ;;
  1.4829 +  esac
  1.4830 +  ;;
  1.4831 +
  1.4832 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  1.4833 +  lt_cv_deplibs_check_method=pass_all
  1.4834 +  ;;
  1.4835 +esac
  1.4836 +
  1.4837 +fi
  1.4838 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  1.4839 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  1.4840 +file_magic_cmd=$lt_cv_file_magic_cmd
  1.4841 +deplibs_check_method=$lt_cv_deplibs_check_method
  1.4842 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  1.4843 +
  1.4844 +
  1.4845 +
  1.4846 +
  1.4847 +# If no C compiler was specified, use CC.
  1.4848 +LTCC=${LTCC-"$CC"}
  1.4849 +
  1.4850 +# If no C compiler flags were specified, use CFLAGS.
  1.4851 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  1.4852 +
  1.4853 +# Allow CC to be a program name with arguments.
  1.4854 +compiler=$CC
  1.4855 +
  1.4856 +
  1.4857 +# Check whether --enable-libtool-lock was given.
  1.4858 +if test "${enable_libtool_lock+set}" = set; then
  1.4859 +  enableval=$enable_libtool_lock;
  1.4860 +fi
  1.4861 +
  1.4862 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1.4863 +
  1.4864 +# Some flags need to be propagated to the compiler or linker for good
  1.4865 +# libtool support.
  1.4866 +case $host in
  1.4867 +ia64-*-hpux*)
  1.4868 +  # Find out which ABI we are using.
  1.4869 +  echo 'int i;' > conftest.$ac_ext
  1.4870 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.4871 +  (eval $ac_compile) 2>&5
  1.4872 +  ac_status=$?
  1.4873 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4874 +  (exit $ac_status); }; then
  1.4875 +    case `/usr/bin/file conftest.$ac_objext` in
  1.4876 +    *ELF-32*)
  1.4877 +      HPUX_IA64_MODE="32"
  1.4878 +      ;;
  1.4879 +    *ELF-64*)
  1.4880 +      HPUX_IA64_MODE="64"
  1.4881 +      ;;
  1.4882 +    esac
  1.4883 +  fi
  1.4884 +  rm -rf conftest*
  1.4885 +  ;;
  1.4886 +*-*-irix6*)
  1.4887 +  # Find out which ABI we are using.
  1.4888 +  echo '#line 4885 "configure"' > conftest.$ac_ext
  1.4889 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.4890 +  (eval $ac_compile) 2>&5
  1.4891 +  ac_status=$?
  1.4892 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4893 +  (exit $ac_status); }; then
  1.4894 +   if test "$lt_cv_prog_gnu_ld" = yes; then
  1.4895 +    case `/usr/bin/file conftest.$ac_objext` in
  1.4896 +    *32-bit*)
  1.4897 +      LD="${LD-ld} -melf32bsmip"
  1.4898 +      ;;
  1.4899 +    *N32*)
  1.4900 +      LD="${LD-ld} -melf32bmipn32"
  1.4901 +      ;;
  1.4902 +    *64-bit*)
  1.4903 +      LD="${LD-ld} -melf64bmip"
  1.4904 +      ;;
  1.4905 +    esac
  1.4906 +   else
  1.4907 +    case `/usr/bin/file conftest.$ac_objext` in
  1.4908 +    *32-bit*)
  1.4909 +      LD="${LD-ld} -32"
  1.4910 +      ;;
  1.4911 +    *N32*)
  1.4912 +      LD="${LD-ld} -n32"
  1.4913 +      ;;
  1.4914 +    *64-bit*)
  1.4915 +      LD="${LD-ld} -64"
  1.4916 +      ;;
  1.4917 +    esac
  1.4918 +   fi
  1.4919 +  fi
  1.4920 +  rm -rf conftest*
  1.4921 +  ;;
  1.4922 +
  1.4923 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
  1.4924 +  # Find out which ABI we are using.
  1.4925 +  echo 'int i;' > conftest.$ac_ext
  1.4926 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.4927 +  (eval $ac_compile) 2>&5
  1.4928 +  ac_status=$?
  1.4929 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4930 +  (exit $ac_status); }; then
  1.4931 +    case `/usr/bin/file conftest.o` in
  1.4932 +    *32-bit*)
  1.4933 +      case $host in
  1.4934 +        x86_64-*linux*)
  1.4935 +          LD="${LD-ld} -m elf_i386"
  1.4936 +          ;;
  1.4937 +        ppc64-*linux*|powerpc64-*linux*)
  1.4938 +          LD="${LD-ld} -m elf32ppclinux"
  1.4939 +          ;;
  1.4940 +        s390x-*linux*)
  1.4941 +          LD="${LD-ld} -m elf_s390"
  1.4942 +          ;;
  1.4943 +        sparc64-*linux*)
  1.4944 +          LD="${LD-ld} -m elf32_sparc"
  1.4945 +          ;;
  1.4946 +      esac
  1.4947 +      ;;
  1.4948 +    *64-bit*)
  1.4949 +      case $host in
  1.4950 +        x86_64-*linux*)
  1.4951 +          LD="${LD-ld} -m elf_x86_64"
  1.4952 +          ;;
  1.4953 +        ppc*-*linux*|powerpc*-*linux*)
  1.4954 +          LD="${LD-ld} -m elf64ppc"
  1.4955 +          ;;
  1.4956 +        s390*-*linux*)
  1.4957 +          LD="${LD-ld} -m elf64_s390"
  1.4958 +          ;;
  1.4959 +        sparc*-*linux*)
  1.4960 +          LD="${LD-ld} -m elf64_sparc"
  1.4961 +          ;;
  1.4962 +      esac
  1.4963 +      ;;
  1.4964 +    esac
  1.4965 +  fi
  1.4966 +  rm -rf conftest*
  1.4967 +  ;;
  1.4968 +
  1.4969 +*-*-sco3.2v5*)
  1.4970 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1.4971 +  SAVE_CFLAGS="$CFLAGS"
  1.4972 +  CFLAGS="$CFLAGS -belf"
  1.4973 +  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  1.4974 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  1.4975 +if test "${lt_cv_cc_needs_belf+set}" = set; then
  1.4976 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4977 +else
  1.4978 +  ac_ext=c
  1.4979 +ac_cpp='$CPP $CPPFLAGS'
  1.4980 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.4981 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.4982 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.4983 +
  1.4984 +     cat >conftest.$ac_ext <<_ACEOF
  1.4985 +/* confdefs.h.  */
  1.4986 +_ACEOF
  1.4987 +cat confdefs.h >>conftest.$ac_ext
  1.4988 +cat >>conftest.$ac_ext <<_ACEOF
  1.4989 +/* end confdefs.h.  */
  1.4990 +
  1.4991 +int
  1.4992 +main ()
  1.4993 +{
  1.4994 +
  1.4995 +  ;
  1.4996 +  return 0;
  1.4997 +}
  1.4998 +_ACEOF
  1.4999 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.5000 +if { (ac_try="$ac_link"
  1.5001 +case "(($ac_try" in
  1.5002 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5003 +  *) ac_try_echo=$ac_try;;
  1.5004 +esac
  1.5005 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5006 +  (eval "$ac_link") 2>conftest.er1
  1.5007 +  ac_status=$?
  1.5008 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5009 +  rm -f conftest.er1
  1.5010 +  cat conftest.err >&5
  1.5011 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5012 +  (exit $ac_status); } &&
  1.5013 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.5014 +  { (case "(($ac_try" in
  1.5015 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5016 +  *) ac_try_echo=$ac_try;;
  1.5017 +esac
  1.5018 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5019 +  (eval "$ac_try") 2>&5
  1.5020 +  ac_status=$?
  1.5021 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5022 +  (exit $ac_status); }; } &&
  1.5023 +	 { ac_try='test -s conftest$ac_exeext'
  1.5024 +  { (case "(($ac_try" in
  1.5025 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5026 +  *) ac_try_echo=$ac_try;;
  1.5027 +esac
  1.5028 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5029 +  (eval "$ac_try") 2>&5
  1.5030 +  ac_status=$?
  1.5031 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5032 +  (exit $ac_status); }; }; then
  1.5033 +  lt_cv_cc_needs_belf=yes
  1.5034 +else
  1.5035 +  echo "$as_me: failed program was:" >&5
  1.5036 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5037 +
  1.5038 +	lt_cv_cc_needs_belf=no
  1.5039 +fi
  1.5040 +
  1.5041 +rm -f core conftest.err conftest.$ac_objext \
  1.5042 +      conftest$ac_exeext conftest.$ac_ext
  1.5043 +     ac_ext=c
  1.5044 +ac_cpp='$CPP $CPPFLAGS'
  1.5045 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5046 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5047 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.5048 +
  1.5049 +fi
  1.5050 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  1.5051 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  1.5052 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1.5053 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1.5054 +    CFLAGS="$SAVE_CFLAGS"
  1.5055 +  fi
  1.5056 +  ;;
  1.5057 +sparc*-*solaris*)
  1.5058 +  # Find out which ABI we are using.
  1.5059 +  echo 'int i;' > conftest.$ac_ext
  1.5060 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.5061 +  (eval $ac_compile) 2>&5
  1.5062 +  ac_status=$?
  1.5063 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5064 +  (exit $ac_status); }; then
  1.5065 +    case `/usr/bin/file conftest.o` in
  1.5066 +    *64-bit*)
  1.5067 +      case $lt_cv_prog_gnu_ld in
  1.5068 +      yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1.5069 +      *)    LD="${LD-ld} -64" ;;
  1.5070 +      esac
  1.5071 +      ;;
  1.5072 +    esac
  1.5073 +  fi
  1.5074 +  rm -rf conftest*
  1.5075 +  ;;
  1.5076 +
  1.5077 +
  1.5078 +esac
  1.5079 +
  1.5080 +need_locks="$enable_libtool_lock"
  1.5081 +
  1.5082 +
  1.5083 +ac_ext=c
  1.5084 +ac_cpp='$CPP $CPPFLAGS'
  1.5085 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5086 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5087 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.5088 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  1.5089 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  1.5090 +# On Suns, sometimes $CPP names a directory.
  1.5091 +if test -n "$CPP" && test -d "$CPP"; then
  1.5092 +  CPP=
  1.5093 +fi
  1.5094 +if test -z "$CPP"; then
  1.5095 +  if test "${ac_cv_prog_CPP+set}" = set; then
  1.5096 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5097 +else
  1.5098 +      # Double quotes because CPP needs to be expanded
  1.5099 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1.5100 +    do
  1.5101 +      ac_preproc_ok=false
  1.5102 +for ac_c_preproc_warn_flag in '' yes
  1.5103 +do
  1.5104 +  # Use a header file that comes with gcc, so configuring glibc
  1.5105 +  # with a fresh cross-compiler works.
  1.5106 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.5107 +  # <limits.h> exists even on freestanding compilers.
  1.5108 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.5109 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.5110 +  cat >conftest.$ac_ext <<_ACEOF
  1.5111 +/* confdefs.h.  */
  1.5112 +_ACEOF
  1.5113 +cat confdefs.h >>conftest.$ac_ext
  1.5114 +cat >>conftest.$ac_ext <<_ACEOF
  1.5115 +/* end confdefs.h.  */
  1.5116 +#ifdef __STDC__
  1.5117 +# include <limits.h>
  1.5118 +#else
  1.5119 +# include <assert.h>
  1.5120 +#endif
  1.5121 +		     Syntax error
  1.5122 +_ACEOF
  1.5123 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5124 +case "(($ac_try" in
  1.5125 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5126 +  *) ac_try_echo=$ac_try;;
  1.5127 +esac
  1.5128 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5129 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5130 +  ac_status=$?
  1.5131 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5132 +  rm -f conftest.er1
  1.5133 +  cat conftest.err >&5
  1.5134 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5135 +  (exit $ac_status); } >/dev/null; then
  1.5136 +  if test -s conftest.err; then
  1.5137 +    ac_cpp_err=$ac_c_preproc_warn_flag
  1.5138 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  1.5139 +  else
  1.5140 +    ac_cpp_err=
  1.5141 +  fi
  1.5142 +else
  1.5143 +  ac_cpp_err=yes
  1.5144 +fi
  1.5145 +if test -z "$ac_cpp_err"; then
  1.5146 +  :
  1.5147 +else
  1.5148 +  echo "$as_me: failed program was:" >&5
  1.5149 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5150 +
  1.5151 +  # Broken: fails on valid input.
  1.5152 +continue
  1.5153 +fi
  1.5154 +
  1.5155 +rm -f conftest.err conftest.$ac_ext
  1.5156 +
  1.5157 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.5158 +  # can be detected and how.
  1.5159 +  cat >conftest.$ac_ext <<_ACEOF
  1.5160 +/* confdefs.h.  */
  1.5161 +_ACEOF
  1.5162 +cat confdefs.h >>conftest.$ac_ext
  1.5163 +cat >>conftest.$ac_ext <<_ACEOF
  1.5164 +/* end confdefs.h.  */
  1.5165 +#include <ac_nonexistent.h>
  1.5166 +_ACEOF
  1.5167 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5168 +case "(($ac_try" in
  1.5169 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5170 +  *) ac_try_echo=$ac_try;;
  1.5171 +esac
  1.5172 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5173 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5174 +  ac_status=$?
  1.5175 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5176 +  rm -f conftest.er1
  1.5177 +  cat conftest.err >&5
  1.5178 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5179 +  (exit $ac_status); } >/dev/null; then
  1.5180 +  if test -s conftest.err; then
  1.5181 +    ac_cpp_err=$ac_c_preproc_warn_flag
  1.5182 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  1.5183 +  else
  1.5184 +    ac_cpp_err=
  1.5185 +  fi
  1.5186 +else
  1.5187 +  ac_cpp_err=yes
  1.5188 +fi
  1.5189 +if test -z "$ac_cpp_err"; then
  1.5190 +  # Broken: success on invalid input.
  1.5191 +continue
  1.5192 +else
  1.5193 +  echo "$as_me: failed program was:" >&5
  1.5194 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5195 +
  1.5196 +  # Passes both tests.
  1.5197 +ac_preproc_ok=:
  1.5198 +break
  1.5199 +fi
  1.5200 +
  1.5201 +rm -f conftest.err conftest.$ac_ext
  1.5202 +
  1.5203 +done
  1.5204 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.5205 +rm -f conftest.err conftest.$ac_ext
  1.5206 +if $ac_preproc_ok; then
  1.5207 +  break
  1.5208 +fi
  1.5209 +
  1.5210 +    done
  1.5211 +    ac_cv_prog_CPP=$CPP
  1.5212 +
  1.5213 +fi
  1.5214 +  CPP=$ac_cv_prog_CPP
  1.5215 +else
  1.5216 +  ac_cv_prog_CPP=$CPP
  1.5217 +fi
  1.5218 +{ echo "$as_me:$LINENO: result: $CPP" >&5
  1.5219 +echo "${ECHO_T}$CPP" >&6; }
  1.5220 +ac_preproc_ok=false
  1.5221 +for ac_c_preproc_warn_flag in '' yes
  1.5222 +do
  1.5223 +  # Use a header file that comes with gcc, so configuring glibc
  1.5224 +  # with a fresh cross-compiler works.
  1.5225 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.5226 +  # <limits.h> exists even on freestanding compilers.
  1.5227 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.5228 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.5229 +  cat >conftest.$ac_ext <<_ACEOF
  1.5230 +/* confdefs.h.  */
  1.5231 +_ACEOF
  1.5232 +cat confdefs.h >>conftest.$ac_ext
  1.5233 +cat >>conftest.$ac_ext <<_ACEOF
  1.5234 +/* end confdefs.h.  */
  1.5235 +#ifdef __STDC__
  1.5236 +# include <limits.h>
  1.5237 +#else
  1.5238 +# include <assert.h>
  1.5239 +#endif
  1.5240 +		     Syntax error
  1.5241 +_ACEOF
  1.5242 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5243 +case "(($ac_try" in
  1.5244 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5245 +  *) ac_try_echo=$ac_try;;
  1.5246 +esac
  1.5247 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5248 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5249 +  ac_status=$?
  1.5250 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5251 +  rm -f conftest.er1
  1.5252 +  cat conftest.err >&5
  1.5253 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5254 +  (exit $ac_status); } >/dev/null; then
  1.5255 +  if test -s conftest.err; then
  1.5256 +    ac_cpp_err=$ac_c_preproc_warn_flag
  1.5257 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  1.5258 +  else
  1.5259 +    ac_cpp_err=
  1.5260 +  fi
  1.5261 +else
  1.5262 +  ac_cpp_err=yes
  1.5263 +fi
  1.5264 +if test -z "$ac_cpp_err"; then
  1.5265 +  :
  1.5266 +else
  1.5267 +  echo "$as_me: failed program was:" >&5
  1.5268 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5269 +
  1.5270 +  # Broken: fails on valid input.
  1.5271 +continue
  1.5272 +fi
  1.5273 +
  1.5274 +rm -f conftest.err conftest.$ac_ext
  1.5275 +
  1.5276 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.5277 +  # can be detected and how.
  1.5278 +  cat >conftest.$ac_ext <<_ACEOF
  1.5279 +/* confdefs.h.  */
  1.5280 +_ACEOF
  1.5281 +cat confdefs.h >>conftest.$ac_ext
  1.5282 +cat >>conftest.$ac_ext <<_ACEOF
  1.5283 +/* end confdefs.h.  */
  1.5284 +#include <ac_nonexistent.h>
  1.5285 +_ACEOF
  1.5286 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5287 +case "(($ac_try" in
  1.5288 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5289 +  *) ac_try_echo=$ac_try;;
  1.5290 +esac
  1.5291 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5292 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5293 +  ac_status=$?
  1.5294 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5295 +  rm -f conftest.er1
  1.5296 +  cat conftest.err >&5
  1.5297 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5298 +  (exit $ac_status); } >/dev/null; then
  1.5299 +  if test -s conftest.err; then
  1.5300 +    ac_cpp_err=$ac_c_preproc_warn_flag
  1.5301 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  1.5302 +  else
  1.5303 +    ac_cpp_err=
  1.5304 +  fi
  1.5305 +else
  1.5306 +  ac_cpp_err=yes
  1.5307 +fi
  1.5308 +if test -z "$ac_cpp_err"; then
  1.5309 +  # Broken: success on invalid input.
  1.5310 +continue
  1.5311 +else
  1.5312 +  echo "$as_me: failed program was:" >&5
  1.5313 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5314 +
  1.5315 +  # Passes both tests.
  1.5316 +ac_preproc_ok=:
  1.5317 +break
  1.5318 +fi
  1.5319 +
  1.5320 +rm -f conftest.err conftest.$ac_ext
  1.5321 +
  1.5322 +done
  1.5323 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.5324 +rm -f conftest.err conftest.$ac_ext
  1.5325 +if $ac_preproc_ok; then
  1.5326 +  :
  1.5327 +else
  1.5328 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  1.5329 +See \`config.log' for more details." >&5
  1.5330 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  1.5331 +See \`config.log' for more details." >&2;}
  1.5332 +   { (exit 1); exit 1; }; }
  1.5333 +fi
  1.5334 +
  1.5335 +ac_ext=c
  1.5336 +ac_cpp='$CPP $CPPFLAGS'
  1.5337 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5338 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5339 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.5340 +
  1.5341 +
  1.5342 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  1.5343 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  1.5344 +if test "${ac_cv_header_stdc+set}" = set; then
  1.5345 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5346 +else
  1.5347 +  cat >conftest.$ac_ext <<_ACEOF
  1.5348 +/* confdefs.h.  */
  1.5349 +_ACEOF
  1.5350 +cat confdefs.h >>conftest.$ac_ext
  1.5351 +cat >>conftest.$ac_ext <<_ACEOF
  1.5352 +/* end confdefs.h.  */
  1.5353 +#include <stdlib.h>
  1.5354 +#include <stdarg.h>
  1.5355 +#include <string.h>
  1.5356 +#include <float.h>
  1.5357 +
  1.5358 +int
  1.5359 +main ()
  1.5360 +{
  1.5361 +
  1.5362 +  ;
  1.5363 +  return 0;
  1.5364 +}
  1.5365 +_ACEOF
  1.5366 +rm -f conftest.$ac_objext
  1.5367 +if { (ac_try="$ac_compile"
  1.5368 +case "(($ac_try" in
  1.5369 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5370 +  *) ac_try_echo=$ac_try;;
  1.5371 +esac
  1.5372 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5373 +  (eval "$ac_compile") 2>conftest.er1
  1.5374 +  ac_status=$?
  1.5375 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5376 +  rm -f conftest.er1
  1.5377 +  cat conftest.err >&5
  1.5378 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5379 +  (exit $ac_status); } &&
  1.5380 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.5381 +  { (case "(($ac_try" in
  1.5382 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5383 +  *) ac_try_echo=$ac_try;;
  1.5384 +esac
  1.5385 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5386 +  (eval "$ac_try") 2>&5
  1.5387 +  ac_status=$?
  1.5388 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5389 +  (exit $ac_status); }; } &&
  1.5390 +	 { ac_try='test -s conftest.$ac_objext'
  1.5391 +  { (case "(($ac_try" in
  1.5392 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5393 +  *) ac_try_echo=$ac_try;;
  1.5394 +esac
  1.5395 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5396 +  (eval "$ac_try") 2>&5
  1.5397 +  ac_status=$?
  1.5398 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5399 +  (exit $ac_status); }; }; then
  1.5400 +  ac_cv_header_stdc=yes
  1.5401 +else
  1.5402 +  echo "$as_me: failed program was:" >&5
  1.5403 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5404 +
  1.5405 +	ac_cv_header_stdc=no
  1.5406 +fi
  1.5407 +
  1.5408 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5409 +
  1.5410 +if test $ac_cv_header_stdc = yes; then
  1.5411 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1.5412 +  cat >conftest.$ac_ext <<_ACEOF
  1.5413 +/* confdefs.h.  */
  1.5414 +_ACEOF
  1.5415 +cat confdefs.h >>conftest.$ac_ext
  1.5416 +cat >>conftest.$ac_ext <<_ACEOF
  1.5417 +/* end confdefs.h.  */
  1.5418 +#include <string.h>
  1.5419 +
  1.5420 +_ACEOF
  1.5421 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.5422 +  $EGREP "memchr" >/dev/null 2>&1; then
  1.5423 +  :
  1.5424 +else
  1.5425 +  ac_cv_header_stdc=no
  1.5426 +fi
  1.5427 +rm -f conftest*
  1.5428 +
  1.5429 +fi
  1.5430 +
  1.5431 +if test $ac_cv_header_stdc = yes; then
  1.5432 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1.5433 +  cat >conftest.$ac_ext <<_ACEOF
  1.5434 +/* confdefs.h.  */
  1.5435 +_ACEOF
  1.5436 +cat confdefs.h >>conftest.$ac_ext
  1.5437 +cat >>conftest.$ac_ext <<_ACEOF
  1.5438 +/* end confdefs.h.  */
  1.5439 +#include <stdlib.h>
  1.5440 +
  1.5441 +_ACEOF
  1.5442 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.5443 +  $EGREP "free" >/dev/null 2>&1; then
  1.5444 +  :
  1.5445 +else
  1.5446 +  ac_cv_header_stdc=no
  1.5447 +fi
  1.5448 +rm -f conftest*
  1.5449 +
  1.5450 +fi
  1.5451 +
  1.5452 +if test $ac_cv_header_stdc = yes; then
  1.5453 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1.5454 +  if test "$cross_compiling" = yes; then
  1.5455 +  :
  1.5456 +else
  1.5457 +  cat >conftest.$ac_ext <<_ACEOF
  1.5458 +/* confdefs.h.  */
  1.5459 +_ACEOF
  1.5460 +cat confdefs.h >>conftest.$ac_ext
  1.5461 +cat >>conftest.$ac_ext <<_ACEOF
  1.5462 +/* end confdefs.h.  */
  1.5463 +#include <ctype.h>
  1.5464 +#include <stdlib.h>
  1.5465 +#if ((' ' & 0x0FF) == 0x020)
  1.5466 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1.5467 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1.5468 +#else
  1.5469 +# define ISLOWER(c) \
  1.5470 +		   (('a' <= (c) && (c) <= 'i') \
  1.5471 +		     || ('j' <= (c) && (c) <= 'r') \
  1.5472 +		     || ('s' <= (c) && (c) <= 'z'))
  1.5473 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  1.5474 +#endif
  1.5475 +
  1.5476 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1.5477 +int
  1.5478 +main ()
  1.5479 +{
  1.5480 +  int i;
  1.5481 +  for (i = 0; i < 256; i++)
  1.5482 +    if (XOR (islower (i), ISLOWER (i))
  1.5483 +	|| toupper (i) != TOUPPER (i))
  1.5484 +      return 2;
  1.5485 +  return 0;
  1.5486 +}
  1.5487 +_ACEOF
  1.5488 +rm -f conftest$ac_exeext
  1.5489 +if { (ac_try="$ac_link"
  1.5490 +case "(($ac_try" in
  1.5491 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5492 +  *) ac_try_echo=$ac_try;;
  1.5493 +esac
  1.5494 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5495 +  (eval "$ac_link") 2>&5
  1.5496 +  ac_status=$?
  1.5497 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5498 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  1.5499 +  { (case "(($ac_try" in
  1.5500 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5501 +  *) ac_try_echo=$ac_try;;
  1.5502 +esac
  1.5503 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5504 +  (eval "$ac_try") 2>&5
  1.5505 +  ac_status=$?
  1.5506 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5507 +  (exit $ac_status); }; }; then
  1.5508 +  :
  1.5509 +else
  1.5510 +  echo "$as_me: program exited with status $ac_status" >&5
  1.5511 +echo "$as_me: failed program was:" >&5
  1.5512 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5513 +
  1.5514 +( exit $ac_status )
  1.5515 +ac_cv_header_stdc=no
  1.5516 +fi
  1.5517 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  1.5518 +fi
  1.5519 +
  1.5520 +
  1.5521 +fi
  1.5522 +fi
  1.5523 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  1.5524 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  1.5525 +if test $ac_cv_header_stdc = yes; then
  1.5526 +
  1.5527 +cat >>confdefs.h <<\_ACEOF
  1.5528 +#define STDC_HEADERS 1
  1.5529 +_ACEOF
  1.5530 +
  1.5531 +fi
  1.5532 +
  1.5533 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  1.5534 +
  1.5535 +
  1.5536 +
  1.5537 +
  1.5538 +
  1.5539 +
  1.5540 +
  1.5541 +
  1.5542 +
  1.5543 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  1.5544 +		  inttypes.h stdint.h unistd.h
  1.5545 +do
  1.5546 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.5547 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  1.5548 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  1.5549 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  1.5550 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5551 +else
  1.5552 +  cat >conftest.$ac_ext <<_ACEOF
  1.5553 +/* confdefs.h.  */
  1.5554 +_ACEOF
  1.5555 +cat confdefs.h >>conftest.$ac_ext
  1.5556 +cat >>conftest.$ac_ext <<_ACEOF
  1.5557 +/* end confdefs.h.  */
  1.5558 +$ac_includes_default
  1.5559 +
  1.5560 +#include <$ac_header>
  1.5561 +_ACEOF
  1.5562 +rm -f conftest.$ac_objext
  1.5563 +if { (ac_try="$ac_compile"
  1.5564 +case "(($ac_try" in
  1.5565 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5566 +  *) ac_try_echo=$ac_try;;
  1.5567 +esac
  1.5568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5569 +  (eval "$ac_compile") 2>conftest.er1
  1.5570 +  ac_status=$?
  1.5571 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5572 +  rm -f conftest.er1
  1.5573 +  cat conftest.err >&5
  1.5574 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5575 +  (exit $ac_status); } &&
  1.5576 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.5577 +  { (case "(($ac_try" in
  1.5578 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5579 +  *) ac_try_echo=$ac_try;;
  1.5580 +esac
  1.5581 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5582 +  (eval "$ac_try") 2>&5
  1.5583 +  ac_status=$?
  1.5584 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5585 +  (exit $ac_status); }; } &&
  1.5586 +	 { ac_try='test -s conftest.$ac_objext'
  1.5587 +  { (case "(($ac_try" in
  1.5588 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5589 +  *) ac_try_echo=$ac_try;;
  1.5590 +esac
  1.5591 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5592 +  (eval "$ac_try") 2>&5
  1.5593 +  ac_status=$?
  1.5594 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5595 +  (exit $ac_status); }; }; then
  1.5596 +  eval "$as_ac_Header=yes"
  1.5597 +else
  1.5598 +  echo "$as_me: failed program was:" >&5
  1.5599 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5600 +
  1.5601 +	eval "$as_ac_Header=no"
  1.5602 +fi
  1.5603 +
  1.5604 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5605 +fi
  1.5606 +ac_res=`eval echo '${'$as_ac_Header'}'`
  1.5607 +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  1.5608 +echo "${ECHO_T}$ac_res" >&6; }
  1.5609 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
  1.5610 +  cat >>confdefs.h <<_ACEOF
  1.5611 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.5612 +_ACEOF
  1.5613 +
  1.5614 +fi
  1.5615 +
  1.5616 +done
  1.5617 +
  1.5618 +
  1.5619 +
  1.5620 +for ac_header in dlfcn.h
  1.5621 +do
  1.5622 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.5623 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  1.5624 +  { echo "$as_me:$LINENO: checking for $ac_header" >&5
  1.5625 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  1.5626 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  1.5627 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5628 +fi
  1.5629 +ac_res=`eval echo '${'$as_ac_Header'}'`
  1.5630 +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  1.5631 +echo "${ECHO_T}$ac_res" >&6; }
  1.5632 +else
  1.5633 +  # Is the header compilable?
  1.5634 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  1.5635 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  1.5636 +cat >conftest.$ac_ext <<_ACEOF
  1.5637 +/* confdefs.h.  */
  1.5638 +_ACEOF
  1.5639 +cat confdefs.h >>conftest.$ac_ext
  1.5640 +cat >>conftest.$ac_ext <<_ACEOF
  1.5641 +/* end confdefs.h.  */
  1.5642 +$ac_includes_default
  1.5643 +#include <$ac_header>
  1.5644 +_ACEOF
  1.5645 +rm -f conftest.$ac_objext
  1.5646 +if { (ac_try="$ac_compile"
  1.5647 +case "(($ac_try" in
  1.5648 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5649 +  *) ac_try_echo=$ac_try;;
  1.5650 +esac
  1.5651 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5652 +  (eval "$ac_compile") 2>conftest.er1
  1.5653 +  ac_status=$?
  1.5654 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5655 +  rm -f conftest.er1
  1.5656 +  cat conftest.err >&5
  1.5657 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5658 +  (exit $ac_status); } &&
  1.5659 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.5660 +  { (case "(($ac_try" in
  1.5661 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5662 +  *) ac_try_echo=$ac_try;;
  1.5663 +esac
  1.5664 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5665 +  (eval "$ac_try") 2>&5
  1.5666 +  ac_status=$?
  1.5667 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5668 +  (exit $ac_status); }; } &&
  1.5669 +	 { ac_try='test -s conftest.$ac_objext'
  1.5670 +  { (case "(($ac_try" in
  1.5671 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5672 +  *) ac_try_echo=$ac_try;;
  1.5673 +esac
  1.5674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5675 +  (eval "$ac_try") 2>&5
  1.5676 +  ac_status=$?
  1.5677 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5678 +  (exit $ac_status); }; }; then
  1.5679 +  ac_header_compiler=yes
  1.5680 +else
  1.5681 +  echo "$as_me: failed program was:" >&5
  1.5682 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5683 +
  1.5684 +	ac_header_compiler=no
  1.5685 +fi
  1.5686 +
  1.5687 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5688 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  1.5689 +echo "${ECHO_T}$ac_header_compiler" >&6; }
  1.5690 +
  1.5691 +# Is the header present?
  1.5692 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  1.5693 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  1.5694 +cat >conftest.$ac_ext <<_ACEOF
  1.5695 +/* confdefs.h.  */
  1.5696 +_ACEOF
  1.5697 +cat confdefs.h >>conftest.$ac_ext
  1.5698 +cat >>conftest.$ac_ext <<_ACEOF
  1.5699 +/* end confdefs.h.  */
  1.5700 +#include <$ac_header>
  1.5701 +_ACEOF
  1.5702 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5703 +case "(($ac_try" in
  1.5704 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5705 +  *) ac_try_echo=$ac_try;;
  1.5706 +esac
  1.5707 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5708 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5709 +  ac_status=$?
  1.5710 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5711 +  rm -f conftest.er1
  1.5712 +  cat conftest.err >&5
  1.5713 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5714 +  (exit $ac_status); } >/dev/null; then
  1.5715 +  if test -s conftest.err; then
  1.5716 +    ac_cpp_err=$ac_c_preproc_warn_flag
  1.5717 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  1.5718 +  else
  1.5719 +    ac_cpp_err=
  1.5720 +  fi
  1.5721 +else
  1.5722 +  ac_cpp_err=yes
  1.5723 +fi
  1.5724 +if test -z "$ac_cpp_err"; then
  1.5725 +  ac_header_preproc=yes
  1.5726 +else
  1.5727 +  echo "$as_me: failed program was:" >&5
  1.5728 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5729 +
  1.5730 +  ac_header_preproc=no
  1.5731 +fi
  1.5732 +
  1.5733 +rm -f conftest.err conftest.$ac_ext
  1.5734 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  1.5735 +echo "${ECHO_T}$ac_header_preproc" >&6; }
  1.5736 +
  1.5737 +# So?  What about this header?
  1.5738 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  1.5739 +  yes:no: )
  1.5740 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  1.5741 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1.5742 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  1.5743 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  1.5744 +    ac_header_preproc=yes
  1.5745 +    ;;
  1.5746 +  no:yes:* )
  1.5747 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  1.5748 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  1.5749 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  1.5750 +echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  1.5751 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  1.5752 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  1.5753 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  1.5754 +echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  1.5755 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  1.5756 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  1.5757 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  1.5758 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  1.5759 +
  1.5760 +    ;;
  1.5761 +esac
  1.5762 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  1.5763 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  1.5764 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  1.5765 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5766 +else
  1.5767 +  eval "$as_ac_Header=\$ac_header_preproc"
  1.5768 +fi
  1.5769 +ac_res=`eval echo '${'$as_ac_Header'}'`
  1.5770 +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  1.5771 +echo "${ECHO_T}$ac_res" >&6; }
  1.5772 +
  1.5773 +fi
  1.5774 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
  1.5775 +  cat >>confdefs.h <<_ACEOF
  1.5776 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.5777 +_ACEOF
  1.5778 +
  1.5779 +fi
  1.5780 +
  1.5781 +done
  1.5782 +
  1.5783 +
  1.5784 +
  1.5785 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  1.5786 +    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  1.5787 +    (test "X$CXX" != "Xg++"))) ; then
  1.5788 +  ac_ext=cpp
  1.5789 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.5790 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5791 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5792 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.5793 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  1.5794 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
  1.5795 +if test -z "$CXXCPP"; then
  1.5796 +  if test "${ac_cv_prog_CXXCPP+set}" = set; then
  1.5797 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5798 +else
  1.5799 +      # Double quotes because CXXCPP needs to be expanded
  1.5800 +    for CXXCPP in "$CXX -E" "/lib/cpp"
  1.5801 +    do
  1.5802 +      ac_preproc_ok=false
  1.5803 +for ac_cxx_preproc_warn_flag in '' yes
  1.5804 +do
  1.5805 +  # Use a header file that comes with gcc, so configuring glibc
  1.5806 +  # with a fresh cross-compiler works.
  1.5807 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.5808 +  # <limits.h> exists even on freestanding compilers.
  1.5809 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.5810 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.5811 +  cat >conftest.$ac_ext <<_ACEOF
  1.5812 +/* confdefs.h.  */
  1.5813 +_ACEOF
  1.5814 +cat confdefs.h >>conftest.$ac_ext
  1.5815 +cat >>conftest.$ac_ext <<_ACEOF
  1.5816 +/* end confdefs.h.  */
  1.5817 +#ifdef __STDC__
  1.5818 +# include <limits.h>
  1.5819 +#else
  1.5820 +# include <assert.h>
  1.5821 +#endif
  1.5822 +		     Syntax error
  1.5823 +_ACEOF
  1.5824 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5825 +case "(($ac_try" in
  1.5826 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5827 +  *) ac_try_echo=$ac_try;;
  1.5828 +esac
  1.5829 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5830 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5831 +  ac_status=$?
  1.5832 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5833 +  rm -f conftest.er1
  1.5834 +  cat conftest.err >&5
  1.5835 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5836 +  (exit $ac_status); } >/dev/null; then
  1.5837 +  if test -s conftest.err; then
  1.5838 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
  1.5839 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1.5840 +  else
  1.5841 +    ac_cpp_err=
  1.5842 +  fi
  1.5843 +else
  1.5844 +  ac_cpp_err=yes
  1.5845 +fi
  1.5846 +if test -z "$ac_cpp_err"; then
  1.5847 +  :
  1.5848 +else
  1.5849 +  echo "$as_me: failed program was:" >&5
  1.5850 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5851 +
  1.5852 +  # Broken: fails on valid input.
  1.5853 +continue
  1.5854 +fi
  1.5855 +
  1.5856 +rm -f conftest.err conftest.$ac_ext
  1.5857 +
  1.5858 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.5859 +  # can be detected and how.
  1.5860 +  cat >conftest.$ac_ext <<_ACEOF
  1.5861 +/* confdefs.h.  */
  1.5862 +_ACEOF
  1.5863 +cat confdefs.h >>conftest.$ac_ext
  1.5864 +cat >>conftest.$ac_ext <<_ACEOF
  1.5865 +/* end confdefs.h.  */
  1.5866 +#include <ac_nonexistent.h>
  1.5867 +_ACEOF
  1.5868 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5869 +case "(($ac_try" in
  1.5870 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5871 +  *) ac_try_echo=$ac_try;;
  1.5872 +esac
  1.5873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5874 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5875 +  ac_status=$?
  1.5876 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5877 +  rm -f conftest.er1
  1.5878 +  cat conftest.err >&5
  1.5879 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5880 +  (exit $ac_status); } >/dev/null; then
  1.5881 +  if test -s conftest.err; then
  1.5882 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
  1.5883 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1.5884 +  else
  1.5885 +    ac_cpp_err=
  1.5886 +  fi
  1.5887 +else
  1.5888 +  ac_cpp_err=yes
  1.5889 +fi
  1.5890 +if test -z "$ac_cpp_err"; then
  1.5891 +  # Broken: success on invalid input.
  1.5892 +continue
  1.5893 +else
  1.5894 +  echo "$as_me: failed program was:" >&5
  1.5895 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5896 +
  1.5897 +  # Passes both tests.
  1.5898 +ac_preproc_ok=:
  1.5899 +break
  1.5900 +fi
  1.5901 +
  1.5902 +rm -f conftest.err conftest.$ac_ext
  1.5903 +
  1.5904 +done
  1.5905 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.5906 +rm -f conftest.err conftest.$ac_ext
  1.5907 +if $ac_preproc_ok; then
  1.5908 +  break
  1.5909 +fi
  1.5910 +
  1.5911 +    done
  1.5912 +    ac_cv_prog_CXXCPP=$CXXCPP
  1.5913 +
  1.5914 +fi
  1.5915 +  CXXCPP=$ac_cv_prog_CXXCPP
  1.5916 +else
  1.5917 +  ac_cv_prog_CXXCPP=$CXXCPP
  1.5918 +fi
  1.5919 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
  1.5920 +echo "${ECHO_T}$CXXCPP" >&6; }
  1.5921 +ac_preproc_ok=false
  1.5922 +for ac_cxx_preproc_warn_flag in '' yes
  1.5923 +do
  1.5924 +  # Use a header file that comes with gcc, so configuring glibc
  1.5925 +  # with a fresh cross-compiler works.
  1.5926 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.5927 +  # <limits.h> exists even on freestanding compilers.
  1.5928 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.5929 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.5930 +  cat >conftest.$ac_ext <<_ACEOF
  1.5931 +/* confdefs.h.  */
  1.5932 +_ACEOF
  1.5933 +cat confdefs.h >>conftest.$ac_ext
  1.5934 +cat >>conftest.$ac_ext <<_ACEOF
  1.5935 +/* end confdefs.h.  */
  1.5936 +#ifdef __STDC__
  1.5937 +# include <limits.h>
  1.5938 +#else
  1.5939 +# include <assert.h>
  1.5940 +#endif
  1.5941 +		     Syntax error
  1.5942 +_ACEOF
  1.5943 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5944 +case "(($ac_try" in
  1.5945 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5946 +  *) ac_try_echo=$ac_try;;
  1.5947 +esac
  1.5948 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5949 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5950 +  ac_status=$?
  1.5951 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5952 +  rm -f conftest.er1
  1.5953 +  cat conftest.err >&5
  1.5954 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5955 +  (exit $ac_status); } >/dev/null; then
  1.5956 +  if test -s conftest.err; then
  1.5957 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
  1.5958 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1.5959 +  else
  1.5960 +    ac_cpp_err=
  1.5961 +  fi
  1.5962 +else
  1.5963 +  ac_cpp_err=yes
  1.5964 +fi
  1.5965 +if test -z "$ac_cpp_err"; then
  1.5966 +  :
  1.5967 +else
  1.5968 +  echo "$as_me: failed program was:" >&5
  1.5969 +sed 's/^/| /' conftest.$ac_ext >&5
  1.5970 +
  1.5971 +  # Broken: fails on valid input.
  1.5972 +continue
  1.5973 +fi
  1.5974 +
  1.5975 +rm -f conftest.err conftest.$ac_ext
  1.5976 +
  1.5977 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.5978 +  # can be detected and how.
  1.5979 +  cat >conftest.$ac_ext <<_ACEOF
  1.5980 +/* confdefs.h.  */
  1.5981 +_ACEOF
  1.5982 +cat confdefs.h >>conftest.$ac_ext
  1.5983 +cat >>conftest.$ac_ext <<_ACEOF
  1.5984 +/* end confdefs.h.  */
  1.5985 +#include <ac_nonexistent.h>
  1.5986 +_ACEOF
  1.5987 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.5988 +case "(($ac_try" in
  1.5989 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.5990 +  *) ac_try_echo=$ac_try;;
  1.5991 +esac
  1.5992 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.5993 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.5994 +  ac_status=$?
  1.5995 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.5996 +  rm -f conftest.er1
  1.5997 +  cat conftest.err >&5
  1.5998 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.5999 +  (exit $ac_status); } >/dev/null; then
  1.6000 +  if test -s conftest.err; then
  1.6001 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
  1.6002 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1.6003 +  else
  1.6004 +    ac_cpp_err=
  1.6005 +  fi
  1.6006 +else
  1.6007 +  ac_cpp_err=yes
  1.6008 +fi
  1.6009 +if test -z "$ac_cpp_err"; then
  1.6010 +  # Broken: success on invalid input.
  1.6011 +continue
  1.6012 +else
  1.6013 +  echo "$as_me: failed program was:" >&5
  1.6014 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6015 +
  1.6016 +  # Passes both tests.
  1.6017 +ac_preproc_ok=:
  1.6018 +break
  1.6019 +fi
  1.6020 +
  1.6021 +rm -f conftest.err conftest.$ac_ext
  1.6022 +
  1.6023 +done
  1.6024 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.6025 +rm -f conftest.err conftest.$ac_ext
  1.6026 +if $ac_preproc_ok; then
  1.6027 +  :
  1.6028 +else
  1.6029 +  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  1.6030 +See \`config.log' for more details." >&5
  1.6031 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  1.6032 +See \`config.log' for more details." >&2;}
  1.6033 +   { (exit 1); exit 1; }; }
  1.6034 +fi
  1.6035 +
  1.6036 +ac_ext=cpp
  1.6037 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.6038 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.6039 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.6040 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.6041 +
  1.6042 +fi
  1.6043 +
  1.6044 +
  1.6045 +ac_ext=f
  1.6046 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  1.6047 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.6048 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  1.6049 +if test -n "$ac_tool_prefix"; then
  1.6050 +  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
  1.6051 +  do
  1.6052 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.6053 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.6054 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6055 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6056 +if test "${ac_cv_prog_F77+set}" = set; then
  1.6057 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6058 +else
  1.6059 +  if test -n "$F77"; then
  1.6060 +  ac_cv_prog_F77="$F77" # Let the user override the test.
  1.6061 +else
  1.6062 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6063 +for as_dir in $PATH
  1.6064 +do
  1.6065 +  IFS=$as_save_IFS
  1.6066 +  test -z "$as_dir" && as_dir=.
  1.6067 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6068 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6069 +    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
  1.6070 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6071 +    break 2
  1.6072 +  fi
  1.6073 +done
  1.6074 +done
  1.6075 +IFS=$as_save_IFS
  1.6076 +
  1.6077 +fi
  1.6078 +fi
  1.6079 +F77=$ac_cv_prog_F77
  1.6080 +if test -n "$F77"; then
  1.6081 +  { echo "$as_me:$LINENO: result: $F77" >&5
  1.6082 +echo "${ECHO_T}$F77" >&6; }
  1.6083 +else
  1.6084 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6085 +echo "${ECHO_T}no" >&6; }
  1.6086 +fi
  1.6087 +
  1.6088 +
  1.6089 +    test -n "$F77" && break
  1.6090 +  done
  1.6091 +fi
  1.6092 +if test -z "$F77"; then
  1.6093 +  ac_ct_F77=$F77
  1.6094 +  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
  1.6095 +do
  1.6096 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.6097 +set dummy $ac_prog; ac_word=$2
  1.6098 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6099 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6100 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
  1.6101 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6102 +else
  1.6103 +  if test -n "$ac_ct_F77"; then
  1.6104 +  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
  1.6105 +else
  1.6106 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6107 +for as_dir in $PATH
  1.6108 +do
  1.6109 +  IFS=$as_save_IFS
  1.6110 +  test -z "$as_dir" && as_dir=.
  1.6111 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6112 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6113 +    ac_cv_prog_ac_ct_F77="$ac_prog"
  1.6114 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6115 +    break 2
  1.6116 +  fi
  1.6117 +done
  1.6118 +done
  1.6119 +IFS=$as_save_IFS
  1.6120 +
  1.6121 +fi
  1.6122 +fi
  1.6123 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
  1.6124 +if test -n "$ac_ct_F77"; then
  1.6125 +  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
  1.6126 +echo "${ECHO_T}$ac_ct_F77" >&6; }
  1.6127 +else
  1.6128 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6129 +echo "${ECHO_T}no" >&6; }
  1.6130 +fi
  1.6131 +
  1.6132 +
  1.6133 +  test -n "$ac_ct_F77" && break
  1.6134 +done
  1.6135 +
  1.6136 +  if test "x$ac_ct_F77" = x; then
  1.6137 +    F77=""
  1.6138 +  else
  1.6139 +    case $cross_compiling:$ac_tool_warned in
  1.6140 +yes:)
  1.6141 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6142 +whose name does not start with the host triplet.  If you think this
  1.6143 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6144 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6145 +whose name does not start with the host triplet.  If you think this
  1.6146 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6147 +ac_tool_warned=yes ;;
  1.6148 +esac
  1.6149 +    F77=$ac_ct_F77
  1.6150 +  fi
  1.6151 +fi
  1.6152 +
  1.6153 +
  1.6154 +# Provide some information about the compiler.
  1.6155 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
  1.6156 +ac_compiler=`set X $ac_compile; echo $2`
  1.6157 +{ (ac_try="$ac_compiler --version >&5"
  1.6158 +case "(($ac_try" in
  1.6159 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6160 +  *) ac_try_echo=$ac_try;;
  1.6161 +esac
  1.6162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6163 +  (eval "$ac_compiler --version >&5") 2>&5
  1.6164 +  ac_status=$?
  1.6165 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6166 +  (exit $ac_status); }
  1.6167 +{ (ac_try="$ac_compiler -v >&5"
  1.6168 +case "(($ac_try" in
  1.6169 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6170 +  *) ac_try_echo=$ac_try;;
  1.6171 +esac
  1.6172 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6173 +  (eval "$ac_compiler -v >&5") 2>&5
  1.6174 +  ac_status=$?
  1.6175 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6176 +  (exit $ac_status); }
  1.6177 +{ (ac_try="$ac_compiler -V >&5"
  1.6178 +case "(($ac_try" in
  1.6179 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6180 +  *) ac_try_echo=$ac_try;;
  1.6181 +esac
  1.6182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6183 +  (eval "$ac_compiler -V >&5") 2>&5
  1.6184 +  ac_status=$?
  1.6185 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6186 +  (exit $ac_status); }
  1.6187 +rm -f a.out
  1.6188 +
  1.6189 +# If we don't use `.F' as extension, the preprocessor is not run on the
  1.6190 +# input file.  (Note that this only needs to work for GNU compilers.)
  1.6191 +ac_save_ext=$ac_ext
  1.6192 +ac_ext=F
  1.6193 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  1.6194 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
  1.6195 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
  1.6196 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6197 +else
  1.6198 +  cat >conftest.$ac_ext <<_ACEOF
  1.6199 +      program main
  1.6200 +#ifndef __GNUC__
  1.6201 +       choke me
  1.6202 +#endif
  1.6203 +
  1.6204 +      end
  1.6205 +_ACEOF
  1.6206 +rm -f conftest.$ac_objext
  1.6207 +if { (ac_try="$ac_compile"
  1.6208 +case "(($ac_try" in
  1.6209 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6210 +  *) ac_try_echo=$ac_try;;
  1.6211 +esac
  1.6212 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6213 +  (eval "$ac_compile") 2>conftest.er1
  1.6214 +  ac_status=$?
  1.6215 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.6216 +  rm -f conftest.er1
  1.6217 +  cat conftest.err >&5
  1.6218 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6219 +  (exit $ac_status); } &&
  1.6220 +	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  1.6221 +  { (case "(($ac_try" in
  1.6222 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6223 +  *) ac_try_echo=$ac_try;;
  1.6224 +esac
  1.6225 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6226 +  (eval "$ac_try") 2>&5
  1.6227 +  ac_status=$?
  1.6228 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6229 +  (exit $ac_status); }; } &&
  1.6230 +	 { ac_try='test -s conftest.$ac_objext'
  1.6231 +  { (case "(($ac_try" in
  1.6232 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6233 +  *) ac_try_echo=$ac_try;;
  1.6234 +esac
  1.6235 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6236 +  (eval "$ac_try") 2>&5
  1.6237 +  ac_status=$?
  1.6238 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6239 +  (exit $ac_status); }; }; then
  1.6240 +  ac_compiler_gnu=yes
  1.6241 +else
  1.6242 +  echo "$as_me: failed program was:" >&5
  1.6243 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6244 +
  1.6245 +	ac_compiler_gnu=no
  1.6246 +fi
  1.6247 +
  1.6248 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6249 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  1.6250 +
  1.6251 +fi
  1.6252 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  1.6253 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
  1.6254 +ac_ext=$ac_save_ext
  1.6255 +ac_test_FFLAGS=${FFLAGS+set}
  1.6256 +ac_save_FFLAGS=$FFLAGS
  1.6257 +FFLAGS=
  1.6258 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
  1.6259 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
  1.6260 +if test "${ac_cv_prog_f77_g+set}" = set; then
  1.6261 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6262 +else
  1.6263 +  FFLAGS=-g
  1.6264 +cat >conftest.$ac_ext <<_ACEOF
  1.6265 +      program main
  1.6266 +
  1.6267 +      end
  1.6268 +_ACEOF
  1.6269 +rm -f conftest.$ac_objext
  1.6270 +if { (ac_try="$ac_compile"
  1.6271 +case "(($ac_try" in
  1.6272 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6273 +  *) ac_try_echo=$ac_try;;
  1.6274 +esac
  1.6275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6276 +  (eval "$ac_compile") 2>conftest.er1
  1.6277 +  ac_status=$?
  1.6278 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.6279 +  rm -f conftest.er1
  1.6280 +  cat conftest.err >&5
  1.6281 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6282 +  (exit $ac_status); } &&
  1.6283 +	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  1.6284 +  { (case "(($ac_try" in
  1.6285 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6286 +  *) ac_try_echo=$ac_try;;
  1.6287 +esac
  1.6288 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6289 +  (eval "$ac_try") 2>&5
  1.6290 +  ac_status=$?
  1.6291 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6292 +  (exit $ac_status); }; } &&
  1.6293 +	 { ac_try='test -s conftest.$ac_objext'
  1.6294 +  { (case "(($ac_try" in
  1.6295 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6296 +  *) ac_try_echo=$ac_try;;
  1.6297 +esac
  1.6298 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6299 +  (eval "$ac_try") 2>&5
  1.6300 +  ac_status=$?
  1.6301 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6302 +  (exit $ac_status); }; }; then
  1.6303 +  ac_cv_prog_f77_g=yes
  1.6304 +else
  1.6305 +  echo "$as_me: failed program was:" >&5
  1.6306 +sed 's/^/| /' conftest.$ac_ext >&5
  1.6307 +
  1.6308 +	ac_cv_prog_f77_g=no
  1.6309 +fi
  1.6310 +
  1.6311 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6312 +
  1.6313 +fi
  1.6314 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  1.6315 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
  1.6316 +if test "$ac_test_FFLAGS" = set; then
  1.6317 +  FFLAGS=$ac_save_FFLAGS
  1.6318 +elif test $ac_cv_prog_f77_g = yes; then
  1.6319 +  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  1.6320 +    FFLAGS="-g -O2"
  1.6321 +  else
  1.6322 +    FFLAGS="-g"
  1.6323 +  fi
  1.6324 +else
  1.6325 +  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  1.6326 +    FFLAGS="-O2"
  1.6327 +  else
  1.6328 +    FFLAGS=
  1.6329 +  fi
  1.6330 +fi
  1.6331 +
  1.6332 +G77=`test $ac_compiler_gnu = yes && echo yes`
  1.6333 +ac_ext=cpp
  1.6334 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.6335 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.6336 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.6337 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.6338 +
  1.6339 +
  1.6340 +
  1.6341 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  1.6342 +
  1.6343 +# find the maximum length of command line arguments
  1.6344 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  1.6345 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  1.6346 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  1.6347 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6348 +else
  1.6349 +    i=0
  1.6350 +  teststring="ABCD"
  1.6351 +
  1.6352 +  case $build_os in
  1.6353 +  msdosdjgpp*)
  1.6354 +    # On DJGPP, this test can blow up pretty badly due to problems in libc
  1.6355 +    # (any single argument exceeding 2000 bytes causes a buffer overrun
  1.6356 +    # during glob expansion).  Even if it were fixed, the result of this
  1.6357 +    # check would be larger than it should be.
  1.6358 +    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  1.6359 +    ;;
  1.6360 +
  1.6361 +  gnu*)
  1.6362 +    # Under GNU Hurd, this test is not required because there is
  1.6363 +    # no limit to the length of command line arguments.
  1.6364 +    # Libtool will interpret -1 as no limit whatsoever
  1.6365 +    lt_cv_sys_max_cmd_len=-1;
  1.6366 +    ;;
  1.6367 +
  1.6368 +  cygwin* | mingw*)
  1.6369 +    # On Win9x/ME, this test blows up -- it succeeds, but takes
  1.6370 +    # about 5 minutes as the teststring grows exponentially.
  1.6371 +    # Worse, since 9x/ME are not pre-emptively multitasking,
  1.6372 +    # you end up with a "frozen" computer, even though with patience
  1.6373 +    # the test eventually succeeds (with a max line length of 256k).
  1.6374 +    # Instead, let's just punt: use the minimum linelength reported by
  1.6375 +    # all of the supported platforms: 8192 (on NT/2K/XP).
  1.6376 +    lt_cv_sys_max_cmd_len=8192;
  1.6377 +    ;;
  1.6378 +
  1.6379 +  amigaos*)
  1.6380 +    # On AmigaOS with pdksh, this test takes hours, literally.
  1.6381 +    # So we just punt and use a minimum line length of 8192.
  1.6382 +    lt_cv_sys_max_cmd_len=8192;
  1.6383 +    ;;
  1.6384 +
  1.6385 +  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  1.6386 +    # This has been around since 386BSD, at least.  Likely further.
  1.6387 +    if test -x /sbin/sysctl; then
  1.6388 +      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  1.6389 +    elif test -x /usr/sbin/sysctl; then
  1.6390 +      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  1.6391 +    else
  1.6392 +      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  1.6393 +    fi
  1.6394 +    # And add a safety zone
  1.6395 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1.6396 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1.6397 +    ;;
  1.6398 +
  1.6399 +  interix*)
  1.6400 +    # We know the value 262144 and hardcode it with a safety zone (like BSD)
  1.6401 +    lt_cv_sys_max_cmd_len=196608
  1.6402 +    ;;
  1.6403 +
  1.6404 +  osf*)
  1.6405 +    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  1.6406 +    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  1.6407 +    # nice to cause kernel panics so lets avoid the loop below.
  1.6408 +    # First set a reasonable default.
  1.6409 +    lt_cv_sys_max_cmd_len=16384
  1.6410 +    #
  1.6411 +    if test -x /sbin/sysconfig; then
  1.6412 +      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  1.6413 +        *1*) lt_cv_sys_max_cmd_len=-1 ;;
  1.6414 +      esac
  1.6415 +    fi
  1.6416 +    ;;
  1.6417 +  sco3.2v5*)
  1.6418 +    lt_cv_sys_max_cmd_len=102400
  1.6419 +    ;;
  1.6420 +  sysv5* | sco5v6* | sysv4.2uw2*)
  1.6421 +    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1.6422 +    if test -n "$kargmax"; then
  1.6423 +      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
  1.6424 +    else
  1.6425 +      lt_cv_sys_max_cmd_len=32768
  1.6426 +    fi
  1.6427 +    ;;
  1.6428 +  *)
  1.6429 +    # If test is not a shell built-in, we'll probably end up computing a
  1.6430 +    # maximum length that is only half of the actual maximum length, but
  1.6431 +    # we can't tell.
  1.6432 +    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1.6433 +    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  1.6434 +	       = "XX$teststring") >/dev/null 2>&1 &&
  1.6435 +	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
  1.6436 +	    lt_cv_sys_max_cmd_len=$new_result &&
  1.6437 +	    test $i != 17 # 1/2 MB should be enough
  1.6438 +    do
  1.6439 +      i=`expr $i + 1`
  1.6440 +      teststring=$teststring$teststring
  1.6441 +    done
  1.6442 +    teststring=
  1.6443 +    # Add a significant safety factor because C++ compilers can tack on massive
  1.6444 +    # amounts of additional arguments before passing them to the linker.
  1.6445 +    # It appears as though 1/2 is a usable value.
  1.6446 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1.6447 +    ;;
  1.6448 +  esac
  1.6449 +
  1.6450 +fi
  1.6451 +
  1.6452 +if test -n $lt_cv_sys_max_cmd_len ; then
  1.6453 +  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  1.6454 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  1.6455 +else
  1.6456 +  { echo "$as_me:$LINENO: result: none" >&5
  1.6457 +echo "${ECHO_T}none" >&6; }
  1.6458 +fi
  1.6459 +
  1.6460 +
  1.6461 +
  1.6462 +
  1.6463 +# Check for command to grab the raw symbol name followed by C symbol from nm.
  1.6464 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  1.6465 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  1.6466 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  1.6467 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6468 +else
  1.6469 +
  1.6470 +# These are sane defaults that work on at least a few old systems.
  1.6471 +# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  1.6472 +
  1.6473 +# Character class describing NM global symbol codes.
  1.6474 +symcode='[BCDEGRST]'
  1.6475 +
  1.6476 +# Regexp to match symbols that can be accessed directly from C.
  1.6477 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  1.6478 +
  1.6479 +# Transform an extracted symbol line into a proper C declaration
  1.6480 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  1.6481 +
  1.6482 +# Transform an extracted symbol line into symbol name and symbol address
  1.6483 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
  1.6484 +
  1.6485 +# Define system-specific variables.
  1.6486 +case $host_os in
  1.6487 +aix*)
  1.6488 +  symcode='[BCDT]'
  1.6489 +  ;;
  1.6490 +cygwin* | mingw* | pw32*)
  1.6491 +  symcode='[ABCDGISTW]'
  1.6492 +  ;;
  1.6493 +hpux*) # Its linker distinguishes data from code symbols
  1.6494 +  if test "$host_cpu" = ia64; then
  1.6495 +    symcode='[ABCDEGRST]'
  1.6496 +  fi
  1.6497 +  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  1.6498 +  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
  1.6499 +  ;;
  1.6500 +linux*)
  1.6501 +  if test "$host_cpu" = ia64; then
  1.6502 +    symcode='[ABCDGIRSTW]'
  1.6503 +    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  1.6504 +    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
  1.6505 +  fi
  1.6506 +  ;;
  1.6507 +irix* | nonstopux*)
  1.6508 +  symcode='[BCDEGRST]'
  1.6509 +  ;;
  1.6510 +osf*)
  1.6511 +  symcode='[BCDEGQRST]'
  1.6512 +  ;;
  1.6513 +solaris*)
  1.6514 +  symcode='[BDRT]'
  1.6515 +  ;;
  1.6516 +sco3.2v5*)
  1.6517 +  symcode='[DT]'
  1.6518 +  ;;
  1.6519 +sysv4.2uw2*)
  1.6520 +  symcode='[DT]'
  1.6521 +  ;;
  1.6522 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  1.6523 +  symcode='[ABDT]'
  1.6524 +  ;;
  1.6525 +sysv4)
  1.6526 +  symcode='[DFNSTU]'
  1.6527 +  ;;
  1.6528 +esac
  1.6529 +
  1.6530 +# Handle CRLF in mingw tool chain
  1.6531 +opt_cr=
  1.6532 +case $build_os in
  1.6533 +mingw*)
  1.6534 +  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  1.6535 +  ;;
  1.6536 +esac
  1.6537 +
  1.6538 +# If we're using GNU nm, then use its standard symbol codes.
  1.6539 +case `$NM -V 2>&1` in
  1.6540 +*GNU* | *'with BFD'*)
  1.6541 +  symcode='[ABCDGIRSTW]' ;;
  1.6542 +esac
  1.6543 +
  1.6544 +# Try without a prefix undercore, then with it.
  1.6545 +for ac_symprfx in "" "_"; do
  1.6546 +
  1.6547 +  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  1.6548 +  symxfrm="\\1 $ac_symprfx\\2 \\2"
  1.6549 +
  1.6550 +  # Write the raw and C identifiers.
  1.6551 +  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  1.6552 +
  1.6553 +  # Check to see that the pipe works correctly.
  1.6554 +  pipe_works=no
  1.6555 +
  1.6556 +  rm -f conftest*
  1.6557 +  cat > conftest.$ac_ext <<EOF
  1.6558 +#ifdef __cplusplus
  1.6559 +extern "C" {
  1.6560 +#endif
  1.6561 +char nm_test_var;
  1.6562 +void nm_test_func(){}
  1.6563 +#ifdef __cplusplus
  1.6564 +}
  1.6565 +#endif
  1.6566 +int main(){nm_test_var='a';nm_test_func();return(0);}
  1.6567 +EOF
  1.6568 +
  1.6569 +  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.6570 +  (eval $ac_compile) 2>&5
  1.6571 +  ac_status=$?
  1.6572 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6573 +  (exit $ac_status); }; then
  1.6574 +    # Now try to grab the symbols.
  1.6575 +    nlist=conftest.nm
  1.6576 +    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  1.6577 +  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  1.6578 +  ac_status=$?
  1.6579 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6580 +  (exit $ac_status); } && test -s "$nlist"; then
  1.6581 +      # Try sorting and uniquifying the output.
  1.6582 +      if sort "$nlist" | uniq > "$nlist"T; then
  1.6583 +	mv -f "$nlist"T "$nlist"
  1.6584 +      else
  1.6585 +	rm -f "$nlist"T
  1.6586 +      fi
  1.6587 +
  1.6588 +      # Make sure that we snagged all the symbols we need.
  1.6589 +      if grep ' nm_test_var$' "$nlist" >/dev/null; then
  1.6590 +	if grep ' nm_test_func$' "$nlist" >/dev/null; then
  1.6591 +	  cat <<EOF > conftest.$ac_ext
  1.6592 +#ifdef __cplusplus
  1.6593 +extern "C" {
  1.6594 +#endif
  1.6595 +
  1.6596 +EOF
  1.6597 +	  # Now generate the symbol file.
  1.6598 +	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  1.6599 +
  1.6600 +	  cat <<EOF >> conftest.$ac_ext
  1.6601 +#if defined (__STDC__) && __STDC__
  1.6602 +# define lt_ptr_t void *
  1.6603 +#else
  1.6604 +# define lt_ptr_t char *
  1.6605 +# define const
  1.6606 +#endif
  1.6607 +
  1.6608 +/* The mapping between symbol names and symbols. */
  1.6609 +const struct {
  1.6610 +  const char *name;
  1.6611 +  lt_ptr_t address;
  1.6612 +}
  1.6613 +lt_preloaded_symbols[] =
  1.6614 +{
  1.6615 +EOF
  1.6616 +	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  1.6617 +	  cat <<\EOF >> conftest.$ac_ext
  1.6618 +  {0, (lt_ptr_t) 0}
  1.6619 +};
  1.6620 +
  1.6621 +#ifdef __cplusplus
  1.6622 +}
  1.6623 +#endif
  1.6624 +EOF
  1.6625 +	  # Now try linking the two files.
  1.6626 +	  mv conftest.$ac_objext conftstm.$ac_objext
  1.6627 +	  lt_save_LIBS="$LIBS"
  1.6628 +	  lt_save_CFLAGS="$CFLAGS"
  1.6629 +	  LIBS="conftstm.$ac_objext"
  1.6630 +	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  1.6631 +	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1.6632 +  (eval $ac_link) 2>&5
  1.6633 +  ac_status=$?
  1.6634 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6635 +  (exit $ac_status); } && test -s conftest${ac_exeext}; then
  1.6636 +	    pipe_works=yes
  1.6637 +	  fi
  1.6638 +	  LIBS="$lt_save_LIBS"
  1.6639 +	  CFLAGS="$lt_save_CFLAGS"
  1.6640 +	else
  1.6641 +	  echo "cannot find nm_test_func in $nlist" >&5
  1.6642 +	fi
  1.6643 +      else
  1.6644 +	echo "cannot find nm_test_var in $nlist" >&5
  1.6645 +      fi
  1.6646 +    else
  1.6647 +      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  1.6648 +    fi
  1.6649 +  else
  1.6650 +    echo "$progname: failed program was:" >&5
  1.6651 +    cat conftest.$ac_ext >&5
  1.6652 +  fi
  1.6653 +  rm -f conftest* conftst*
  1.6654 +
  1.6655 +  # Do not use the global_symbol_pipe unless it works.
  1.6656 +  if test "$pipe_works" = yes; then
  1.6657 +    break
  1.6658 +  else
  1.6659 +    lt_cv_sys_global_symbol_pipe=
  1.6660 +  fi
  1.6661 +done
  1.6662 +
  1.6663 +fi
  1.6664 +
  1.6665 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  1.6666 +  lt_cv_sys_global_symbol_to_cdecl=
  1.6667 +fi
  1.6668 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  1.6669 +  { echo "$as_me:$LINENO: result: failed" >&5
  1.6670 +echo "${ECHO_T}failed" >&6; }
  1.6671 +else
  1.6672 +  { echo "$as_me:$LINENO: result: ok" >&5
  1.6673 +echo "${ECHO_T}ok" >&6; }
  1.6674 +fi
  1.6675 +
  1.6676 +{ echo "$as_me:$LINENO: checking for objdir" >&5
  1.6677 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
  1.6678 +if test "${lt_cv_objdir+set}" = set; then
  1.6679 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6680 +else
  1.6681 +  rm -f .libs 2>/dev/null
  1.6682 +mkdir .libs 2>/dev/null
  1.6683 +if test -d .libs; then
  1.6684 +  lt_cv_objdir=.libs
  1.6685 +else
  1.6686 +  # MS-DOS does not allow filenames that begin with a dot.
  1.6687 +  lt_cv_objdir=_libs
  1.6688 +fi
  1.6689 +rmdir .libs 2>/dev/null
  1.6690 +fi
  1.6691 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  1.6692 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
  1.6693 +objdir=$lt_cv_objdir
  1.6694 +
  1.6695 +
  1.6696 +
  1.6697 +
  1.6698 +
  1.6699 +case $host_os in
  1.6700 +aix3*)
  1.6701 +  # AIX sometimes has problems with the GCC collect2 program.  For some
  1.6702 +  # reason, if we set the COLLECT_NAMES environment variable, the problems
  1.6703 +  # vanish in a puff of smoke.
  1.6704 +  if test "X${COLLECT_NAMES+set}" != Xset; then
  1.6705 +    COLLECT_NAMES=
  1.6706 +    export COLLECT_NAMES
  1.6707 +  fi
  1.6708 +  ;;
  1.6709 +esac
  1.6710 +
  1.6711 +# Sed substitution that helps us do robust quoting.  It backslashifies
  1.6712 +# metacharacters that are still active within double-quoted strings.
  1.6713 +Xsed='sed -e 1s/^X//'
  1.6714 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
  1.6715 +
  1.6716 +# Same as above, but do not quote variable references.
  1.6717 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
  1.6718 +
  1.6719 +# Sed substitution to delay expansion of an escaped shell variable in a
  1.6720 +# double_quote_subst'ed string.
  1.6721 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  1.6722 +
  1.6723 +# Sed substitution to avoid accidental globbing in evaled expressions
  1.6724 +no_glob_subst='s/\*/\\\*/g'
  1.6725 +
  1.6726 +# Constants:
  1.6727 +rm="rm -f"
  1.6728 +
  1.6729 +# Global variables:
  1.6730 +default_ofile=libtool
  1.6731 +can_build_shared=yes
  1.6732 +
  1.6733 +# All known linkers require a `.a' archive for static linking (except MSVC,
  1.6734 +# which needs '.lib').
  1.6735 +libext=a
  1.6736 +ltmain="$ac_aux_dir/ltmain.sh"
  1.6737 +ofile="$default_ofile"
  1.6738 +with_gnu_ld="$lt_cv_prog_gnu_ld"
  1.6739 +
  1.6740 +if test -n "$ac_tool_prefix"; then
  1.6741 +  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  1.6742 +set dummy ${ac_tool_prefix}ar; ac_word=$2
  1.6743 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6744 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6745 +if test "${ac_cv_prog_AR+set}" = set; then
  1.6746 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6747 +else
  1.6748 +  if test -n "$AR"; then
  1.6749 +  ac_cv_prog_AR="$AR" # Let the user override the test.
  1.6750 +else
  1.6751 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6752 +for as_dir in $PATH
  1.6753 +do
  1.6754 +  IFS=$as_save_IFS
  1.6755 +  test -z "$as_dir" && as_dir=.
  1.6756 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6757 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6758 +    ac_cv_prog_AR="${ac_tool_prefix}ar"
  1.6759 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6760 +    break 2
  1.6761 +  fi
  1.6762 +done
  1.6763 +done
  1.6764 +IFS=$as_save_IFS
  1.6765 +
  1.6766 +fi
  1.6767 +fi
  1.6768 +AR=$ac_cv_prog_AR
  1.6769 +if test -n "$AR"; then
  1.6770 +  { echo "$as_me:$LINENO: result: $AR" >&5
  1.6771 +echo "${ECHO_T}$AR" >&6; }
  1.6772 +else
  1.6773 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6774 +echo "${ECHO_T}no" >&6; }
  1.6775 +fi
  1.6776 +
  1.6777 +
  1.6778 +fi
  1.6779 +if test -z "$ac_cv_prog_AR"; then
  1.6780 +  ac_ct_AR=$AR
  1.6781 +  # Extract the first word of "ar", so it can be a program name with args.
  1.6782 +set dummy ar; ac_word=$2
  1.6783 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6784 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6785 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  1.6786 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6787 +else
  1.6788 +  if test -n "$ac_ct_AR"; then
  1.6789 +  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  1.6790 +else
  1.6791 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6792 +for as_dir in $PATH
  1.6793 +do
  1.6794 +  IFS=$as_save_IFS
  1.6795 +  test -z "$as_dir" && as_dir=.
  1.6796 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6797 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6798 +    ac_cv_prog_ac_ct_AR="ar"
  1.6799 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6800 +    break 2
  1.6801 +  fi
  1.6802 +done
  1.6803 +done
  1.6804 +IFS=$as_save_IFS
  1.6805 +
  1.6806 +fi
  1.6807 +fi
  1.6808 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  1.6809 +if test -n "$ac_ct_AR"; then
  1.6810 +  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  1.6811 +echo "${ECHO_T}$ac_ct_AR" >&6; }
  1.6812 +else
  1.6813 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6814 +echo "${ECHO_T}no" >&6; }
  1.6815 +fi
  1.6816 +
  1.6817 +  if test "x$ac_ct_AR" = x; then
  1.6818 +    AR="false"
  1.6819 +  else
  1.6820 +    case $cross_compiling:$ac_tool_warned in
  1.6821 +yes:)
  1.6822 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6823 +whose name does not start with the host triplet.  If you think this
  1.6824 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6825 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6826 +whose name does not start with the host triplet.  If you think this
  1.6827 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6828 +ac_tool_warned=yes ;;
  1.6829 +esac
  1.6830 +    AR=$ac_ct_AR
  1.6831 +  fi
  1.6832 +else
  1.6833 +  AR="$ac_cv_prog_AR"
  1.6834 +fi
  1.6835 +
  1.6836 +if test -n "$ac_tool_prefix"; then
  1.6837 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  1.6838 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  1.6839 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6840 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6841 +if test "${ac_cv_prog_RANLIB+set}" = set; then
  1.6842 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6843 +else
  1.6844 +  if test -n "$RANLIB"; then
  1.6845 +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1.6846 +else
  1.6847 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6848 +for as_dir in $PATH
  1.6849 +do
  1.6850 +  IFS=$as_save_IFS
  1.6851 +  test -z "$as_dir" && as_dir=.
  1.6852 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6853 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6854 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  1.6855 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6856 +    break 2
  1.6857 +  fi
  1.6858 +done
  1.6859 +done
  1.6860 +IFS=$as_save_IFS
  1.6861 +
  1.6862 +fi
  1.6863 +fi
  1.6864 +RANLIB=$ac_cv_prog_RANLIB
  1.6865 +if test -n "$RANLIB"; then
  1.6866 +  { echo "$as_me:$LINENO: result: $RANLIB" >&5
  1.6867 +echo "${ECHO_T}$RANLIB" >&6; }
  1.6868 +else
  1.6869 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6870 +echo "${ECHO_T}no" >&6; }
  1.6871 +fi
  1.6872 +
  1.6873 +
  1.6874 +fi
  1.6875 +if test -z "$ac_cv_prog_RANLIB"; then
  1.6876 +  ac_ct_RANLIB=$RANLIB
  1.6877 +  # Extract the first word of "ranlib", so it can be a program name with args.
  1.6878 +set dummy ranlib; ac_word=$2
  1.6879 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6880 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6881 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  1.6882 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6883 +else
  1.6884 +  if test -n "$ac_ct_RANLIB"; then
  1.6885 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  1.6886 +else
  1.6887 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6888 +for as_dir in $PATH
  1.6889 +do
  1.6890 +  IFS=$as_save_IFS
  1.6891 +  test -z "$as_dir" && as_dir=.
  1.6892 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6893 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6894 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
  1.6895 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6896 +    break 2
  1.6897 +  fi
  1.6898 +done
  1.6899 +done
  1.6900 +IFS=$as_save_IFS
  1.6901 +
  1.6902 +fi
  1.6903 +fi
  1.6904 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  1.6905 +if test -n "$ac_ct_RANLIB"; then
  1.6906 +  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  1.6907 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  1.6908 +else
  1.6909 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6910 +echo "${ECHO_T}no" >&6; }
  1.6911 +fi
  1.6912 +
  1.6913 +  if test "x$ac_ct_RANLIB" = x; then
  1.6914 +    RANLIB=":"
  1.6915 +  else
  1.6916 +    case $cross_compiling:$ac_tool_warned in
  1.6917 +yes:)
  1.6918 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6919 +whose name does not start with the host triplet.  If you think this
  1.6920 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6921 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6922 +whose name does not start with the host triplet.  If you think this
  1.6923 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6924 +ac_tool_warned=yes ;;
  1.6925 +esac
  1.6926 +    RANLIB=$ac_ct_RANLIB
  1.6927 +  fi
  1.6928 +else
  1.6929 +  RANLIB="$ac_cv_prog_RANLIB"
  1.6930 +fi
  1.6931 +
  1.6932 +if test -n "$ac_tool_prefix"; then
  1.6933 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1.6934 +set dummy ${ac_tool_prefix}strip; ac_word=$2
  1.6935 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6936 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6937 +if test "${ac_cv_prog_STRIP+set}" = set; then
  1.6938 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6939 +else
  1.6940 +  if test -n "$STRIP"; then
  1.6941 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1.6942 +else
  1.6943 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6944 +for as_dir in $PATH
  1.6945 +do
  1.6946 +  IFS=$as_save_IFS
  1.6947 +  test -z "$as_dir" && as_dir=.
  1.6948 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6949 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6950 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1.6951 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6952 +    break 2
  1.6953 +  fi
  1.6954 +done
  1.6955 +done
  1.6956 +IFS=$as_save_IFS
  1.6957 +
  1.6958 +fi
  1.6959 +fi
  1.6960 +STRIP=$ac_cv_prog_STRIP
  1.6961 +if test -n "$STRIP"; then
  1.6962 +  { echo "$as_me:$LINENO: result: $STRIP" >&5
  1.6963 +echo "${ECHO_T}$STRIP" >&6; }
  1.6964 +else
  1.6965 +  { echo "$as_me:$LINENO: result: no" >&5
  1.6966 +echo "${ECHO_T}no" >&6; }
  1.6967 +fi
  1.6968 +
  1.6969 +
  1.6970 +fi
  1.6971 +if test -z "$ac_cv_prog_STRIP"; then
  1.6972 +  ac_ct_STRIP=$STRIP
  1.6973 +  # Extract the first word of "strip", so it can be a program name with args.
  1.6974 +set dummy strip; ac_word=$2
  1.6975 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6976 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6977 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1.6978 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6979 +else
  1.6980 +  if test -n "$ac_ct_STRIP"; then
  1.6981 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1.6982 +else
  1.6983 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6984 +for as_dir in $PATH
  1.6985 +do
  1.6986 +  IFS=$as_save_IFS
  1.6987 +  test -z "$as_dir" && as_dir=.
  1.6988 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6989 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6990 +    ac_cv_prog_ac_ct_STRIP="strip"
  1.6991 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6992 +    break 2
  1.6993 +  fi
  1.6994 +done
  1.6995 +done
  1.6996 +IFS=$as_save_IFS
  1.6997 +
  1.6998 +fi
  1.6999 +fi
  1.7000 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1.7001 +if test -n "$ac_ct_STRIP"; then
  1.7002 +  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1.7003 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  1.7004 +else
  1.7005 +  { echo "$as_me:$LINENO: result: no" >&5
  1.7006 +echo "${ECHO_T}no" >&6; }
  1.7007 +fi
  1.7008 +
  1.7009 +  if test "x$ac_ct_STRIP" = x; then
  1.7010 +    STRIP=":"
  1.7011 +  else
  1.7012 +    case $cross_compiling:$ac_tool_warned in
  1.7013 +yes:)
  1.7014 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.7015 +whose name does not start with the host triplet.  If you think this
  1.7016 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.7017 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.7018 +whose name does not start with the host triplet.  If you think this
  1.7019 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.7020 +ac_tool_warned=yes ;;
  1.7021 +esac
  1.7022 +    STRIP=$ac_ct_STRIP
  1.7023 +  fi
  1.7024 +else
  1.7025 +  STRIP="$ac_cv_prog_STRIP"
  1.7026 +fi
  1.7027 +
  1.7028 +
  1.7029 +old_CC="$CC"
  1.7030 +old_CFLAGS="$CFLAGS"
  1.7031 +
  1.7032 +# Set sane defaults for various variables
  1.7033 +test -z "$AR" && AR=ar
  1.7034 +test -z "$AR_FLAGS" && AR_FLAGS=cru
  1.7035 +test -z "$AS" && AS=as
  1.7036 +test -z "$CC" && CC=cc
  1.7037 +test -z "$LTCC" && LTCC=$CC
  1.7038 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  1.7039 +test -z "$DLLTOOL" && DLLTOOL=dlltool
  1.7040 +test -z "$LD" && LD=ld
  1.7041 +test -z "$LN_S" && LN_S="ln -s"
  1.7042 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  1.7043 +test -z "$NM" && NM=nm
  1.7044 +test -z "$SED" && SED=sed
  1.7045 +test -z "$OBJDUMP" && OBJDUMP=objdump
  1.7046 +test -z "$RANLIB" && RANLIB=:
  1.7047 +test -z "$STRIP" && STRIP=:
  1.7048 +test -z "$ac_objext" && ac_objext=o
  1.7049 +
  1.7050 +# Determine commands to create old-style static archives.
  1.7051 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  1.7052 +old_postinstall_cmds='chmod 644 $oldlib'
  1.7053 +old_postuninstall_cmds=
  1.7054 +
  1.7055 +if test -n "$RANLIB"; then
  1.7056 +  case $host_os in
  1.7057 +  openbsd*)
  1.7058 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1.7059 +    ;;
  1.7060 +  *)
  1.7061 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1.7062 +    ;;
  1.7063 +  esac
  1.7064 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1.7065 +fi
  1.7066 +
  1.7067 +for cc_temp in $compiler""; do
  1.7068 +  case $cc_temp in
  1.7069 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  1.7070 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  1.7071 +    \-*) ;;
  1.7072 +    *) break;;
  1.7073 +  esac
  1.7074 +done
  1.7075 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  1.7076 +
  1.7077 +
  1.7078 +# Only perform the check for file, if the check method requires it
  1.7079 +case $deplibs_check_method in
  1.7080 +file_magic*)
  1.7081 +  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  1.7082 +    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  1.7083 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
  1.7084 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  1.7085 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7086 +else
  1.7087 +  case $MAGIC_CMD in
  1.7088 +[\\/*] |  ?:[\\/]*)
  1.7089 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  1.7090 +  ;;
  1.7091 +*)
  1.7092 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  1.7093 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.7094 +  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  1.7095 +  for ac_dir in $ac_dummy; do
  1.7096 +    IFS="$lt_save_ifs"
  1.7097 +    test -z "$ac_dir" && ac_dir=.
  1.7098 +    if test -f $ac_dir/${ac_tool_prefix}file; then
  1.7099 +      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  1.7100 +      if test -n "$file_magic_test_file"; then
  1.7101 +	case $deplibs_check_method in
  1.7102 +	"file_magic "*)
  1.7103 +	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  1.7104 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.7105 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  1.7106 +	    $EGREP "$file_magic_regex" > /dev/null; then
  1.7107 +	    :
  1.7108 +	  else
  1.7109 +	    cat <<EOF 1>&2
  1.7110 +
  1.7111 +*** Warning: the command libtool uses to detect shared libraries,
  1.7112 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  1.7113 +*** The result is that libtool may fail to recognize shared libraries
  1.7114 +*** as such.  This will affect the creation of libtool libraries that
  1.7115 +*** depend on shared libraries, but programs linked with such libtool
  1.7116 +*** libraries will work regardless of this problem.  Nevertheless, you
  1.7117 +*** may want to report the problem to your system manager and/or to
  1.7118 +*** bug-libtool@gnu.org
  1.7119 +
  1.7120 +EOF
  1.7121 +	  fi ;;
  1.7122 +	esac
  1.7123 +      fi
  1.7124 +      break
  1.7125 +    fi
  1.7126 +  done
  1.7127 +  IFS="$lt_save_ifs"
  1.7128 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  1.7129 +  ;;
  1.7130 +esac
  1.7131 +fi
  1.7132 +
  1.7133 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.7134 +if test -n "$MAGIC_CMD"; then
  1.7135 +  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  1.7136 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
  1.7137 +else
  1.7138 +  { echo "$as_me:$LINENO: result: no" >&5
  1.7139 +echo "${ECHO_T}no" >&6; }
  1.7140 +fi
  1.7141 +
  1.7142 +if test -z "$lt_cv_path_MAGIC_CMD"; then
  1.7143 +  if test -n "$ac_tool_prefix"; then
  1.7144 +    { echo "$as_me:$LINENO: checking for file" >&5
  1.7145 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
  1.7146 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  1.7147 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7148 +else
  1.7149 +  case $MAGIC_CMD in
  1.7150 +[\\/*] |  ?:[\\/]*)
  1.7151 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  1.7152 +  ;;
  1.7153 +*)
  1.7154 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  1.7155 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.7156 +  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  1.7157 +  for ac_dir in $ac_dummy; do
  1.7158 +    IFS="$lt_save_ifs"
  1.7159 +    test -z "$ac_dir" && ac_dir=.
  1.7160 +    if test -f $ac_dir/file; then
  1.7161 +      lt_cv_path_MAGIC_CMD="$ac_dir/file"
  1.7162 +      if test -n "$file_magic_test_file"; then
  1.7163 +	case $deplibs_check_method in
  1.7164 +	"file_magic "*)
  1.7165 +	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  1.7166 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.7167 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  1.7168 +	    $EGREP "$file_magic_regex" > /dev/null; then
  1.7169 +	    :
  1.7170 +	  else
  1.7171 +	    cat <<EOF 1>&2
  1.7172 +
  1.7173 +*** Warning: the command libtool uses to detect shared libraries,
  1.7174 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  1.7175 +*** The result is that libtool may fail to recognize shared libraries
  1.7176 +*** as such.  This will affect the creation of libtool libraries that
  1.7177 +*** depend on shared libraries, but programs linked with such libtool
  1.7178 +*** libraries will work regardless of this problem.  Nevertheless, you
  1.7179 +*** may want to report the problem to your system manager and/or to
  1.7180 +*** bug-libtool@gnu.org
  1.7181 +
  1.7182 +EOF
  1.7183 +	  fi ;;
  1.7184 +	esac
  1.7185 +      fi
  1.7186 +      break
  1.7187 +    fi
  1.7188 +  done
  1.7189 +  IFS="$lt_save_ifs"
  1.7190 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  1.7191 +  ;;
  1.7192 +esac
  1.7193 +fi
  1.7194 +
  1.7195 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.7196 +if test -n "$MAGIC_CMD"; then
  1.7197 +  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  1.7198 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
  1.7199 +else
  1.7200 +  { echo "$as_me:$LINENO: result: no" >&5
  1.7201 +echo "${ECHO_T}no" >&6; }
  1.7202 +fi
  1.7203 +
  1.7204 +  else
  1.7205 +    MAGIC_CMD=:
  1.7206 +  fi
  1.7207 +fi
  1.7208 +
  1.7209 +  fi
  1.7210 +  ;;
  1.7211 +esac
  1.7212 +
  1.7213 +enable_dlopen=no
  1.7214 +enable_win32_dll=no
  1.7215 +
  1.7216 +# Check whether --enable-libtool-lock was given.
  1.7217 +if test "${enable_libtool_lock+set}" = set; then
  1.7218 +  enableval=$enable_libtool_lock;
  1.7219 +fi
  1.7220 +
  1.7221 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1.7222 +
  1.7223 +
  1.7224 +# Check whether --with-pic was given.
  1.7225 +if test "${with_pic+set}" = set; then
  1.7226 +  withval=$with_pic; pic_mode="$withval"
  1.7227 +else
  1.7228 +  pic_mode=default
  1.7229 +fi
  1.7230 +
  1.7231 +test -z "$pic_mode" && pic_mode=default
  1.7232 +
  1.7233 +# Use C for the default configuration in the libtool script
  1.7234 +tagname=
  1.7235 +lt_save_CC="$CC"
  1.7236 +ac_ext=c
  1.7237 +ac_cpp='$CPP $CPPFLAGS'
  1.7238 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.7239 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.7240 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.7241 +
  1.7242 +
  1.7243 +# Source file extension for C test sources.
  1.7244 +ac_ext=c
  1.7245 +
  1.7246 +# Object file extension for compiled C test sources.
  1.7247 +objext=o
  1.7248 +objext=$objext
  1.7249 +
  1.7250 +# Code to be used in simple compile tests
  1.7251 +lt_simple_compile_test_code="int some_variable = 0;\n"
  1.7252 +
  1.7253 +# Code to be used in simple link tests
  1.7254 +lt_simple_link_test_code='int main(){return(0);}\n'
  1.7255 +
  1.7256 +
  1.7257 +# If no C compiler was specified, use CC.
  1.7258 +LTCC=${LTCC-"$CC"}
  1.7259 +
  1.7260 +# If no C compiler flags were specified, use CFLAGS.
  1.7261 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  1.7262 +
  1.7263 +# Allow CC to be a program name with arguments.
  1.7264 +compiler=$CC
  1.7265 +
  1.7266 +
  1.7267 +# save warnings/boilerplate of simple test code
  1.7268 +ac_outfile=conftest.$ac_objext
  1.7269 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  1.7270 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1.7271 +_lt_compiler_boilerplate=`cat conftest.err`
  1.7272 +$rm conftest*
  1.7273 +
  1.7274 +ac_outfile=conftest.$ac_objext
  1.7275 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
  1.7276 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1.7277 +_lt_linker_boilerplate=`cat conftest.err`
  1.7278 +$rm conftest*
  1.7279 +
  1.7280 +
  1.7281 +
  1.7282 +lt_prog_compiler_no_builtin_flag=
  1.7283 +
  1.7284 +if test "$GCC" = yes; then
  1.7285 +  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  1.7286 +
  1.7287 +
  1.7288 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  1.7289 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  1.7290 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  1.7291 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7292 +else
  1.7293 +  lt_cv_prog_compiler_rtti_exceptions=no
  1.7294 +  ac_outfile=conftest.$ac_objext
  1.7295 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.7296 +   lt_compiler_flag="-fno-rtti -fno-exceptions"
  1.7297 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.7298 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.7299 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.7300 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.7301 +   # The option is referenced via a variable to avoid confusing sed.
  1.7302 +   lt_compile=`echo "$ac_compile" | $SED \
  1.7303 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.7304 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.7305 +   -e 's:$: $lt_compiler_flag:'`
  1.7306 +   (eval echo "\"\$as_me:7303: $lt_compile\"" >&5)
  1.7307 +   (eval "$lt_compile" 2>conftest.err)
  1.7308 +   ac_status=$?
  1.7309 +   cat conftest.err >&5
  1.7310 +   echo "$as_me:7307: \$? = $ac_status" >&5
  1.7311 +   if (exit $ac_status) && test -s "$ac_outfile"; then
  1.7312 +     # The compiler can only warn and ignore the option if not recognized
  1.7313 +     # So say no if there are warnings other than the usual output.
  1.7314 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1.7315 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.7316 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1.7317 +       lt_cv_prog_compiler_rtti_exceptions=yes
  1.7318 +     fi
  1.7319 +   fi
  1.7320 +   $rm conftest*
  1.7321 +
  1.7322 +fi
  1.7323 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  1.7324 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  1.7325 +
  1.7326 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  1.7327 +    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  1.7328 +else
  1.7329 +    :
  1.7330 +fi
  1.7331 +
  1.7332 +fi
  1.7333 +
  1.7334 +lt_prog_compiler_wl=
  1.7335 +lt_prog_compiler_pic=
  1.7336 +lt_prog_compiler_static=
  1.7337 +
  1.7338 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  1.7339 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  1.7340 +
  1.7341 +  if test "$GCC" = yes; then
  1.7342 +    lt_prog_compiler_wl='-Wl,'
  1.7343 +    lt_prog_compiler_static='-static'
  1.7344 +
  1.7345 +    case $host_os in
  1.7346 +      aix*)
  1.7347 +      # All AIX code is PIC.
  1.7348 +      if test "$host_cpu" = ia64; then
  1.7349 +	# AIX 5 now supports IA64 processor
  1.7350 +	lt_prog_compiler_static='-Bstatic'
  1.7351 +      fi
  1.7352 +      ;;
  1.7353 +
  1.7354 +    amigaos*)
  1.7355 +      # FIXME: we need at least 68020 code to build shared libraries, but
  1.7356 +      # adding the `-m68020' flag to GCC prevents building anything better,
  1.7357 +      # like `-m68040'.
  1.7358 +      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  1.7359 +      ;;
  1.7360 +
  1.7361 +    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  1.7362 +      # PIC is the default for these OSes.
  1.7363 +      ;;
  1.7364 +
  1.7365 +    mingw* | pw32* | os2*)
  1.7366 +      # This hack is so that the source file can tell whether it is being
  1.7367 +      # built for inclusion in a dll (and should export symbols for example).
  1.7368 +      lt_prog_compiler_pic='-DDLL_EXPORT'
  1.7369 +      ;;
  1.7370 +
  1.7371 +    darwin* | rhapsody*)
  1.7372 +      # PIC is the default on this platform
  1.7373 +      # Common symbols not allowed in MH_DYLIB files
  1.7374 +      lt_prog_compiler_pic='-fno-common'
  1.7375 +      ;;
  1.7376 +
  1.7377 +    interix3*)
  1.7378 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  1.7379 +      # Instead, we relocate shared libraries at runtime.
  1.7380 +      ;;
  1.7381 +
  1.7382 +    msdosdjgpp*)
  1.7383 +      # Just because we use GCC doesn't mean we suddenly get shared libraries
  1.7384 +      # on systems that don't support them.
  1.7385 +      lt_prog_compiler_can_build_shared=no
  1.7386 +      enable_shared=no
  1.7387 +      ;;
  1.7388 +
  1.7389 +    sysv4*MP*)
  1.7390 +      if test -d /usr/nec; then
  1.7391 +	lt_prog_compiler_pic=-Kconform_pic
  1.7392 +      fi
  1.7393 +      ;;
  1.7394 +
  1.7395 +    hpux*)
  1.7396 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  1.7397 +      # not for PA HP-UX.
  1.7398 +      case $host_cpu in
  1.7399 +      hppa*64*|ia64*)
  1.7400 +	# +Z the default
  1.7401 +	;;
  1.7402 +      *)
  1.7403 +	lt_prog_compiler_pic='-fPIC'
  1.7404 +	;;
  1.7405 +      esac
  1.7406 +      ;;
  1.7407 +
  1.7408 +    *)
  1.7409 +      lt_prog_compiler_pic='-fPIC'
  1.7410 +      ;;
  1.7411 +    esac
  1.7412 +  else
  1.7413 +    # PORTME Check for flag to pass linker flags through the system compiler.
  1.7414 +    case $host_os in
  1.7415 +    aix*)
  1.7416 +      lt_prog_compiler_wl='-Wl,'
  1.7417 +      if test "$host_cpu" = ia64; then
  1.7418 +	# AIX 5 now supports IA64 processor
  1.7419 +	lt_prog_compiler_static='-Bstatic'
  1.7420 +      else
  1.7421 +	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  1.7422 +      fi
  1.7423 +      ;;
  1.7424 +      darwin*)
  1.7425 +        # PIC is the default on this platform
  1.7426 +        # Common symbols not allowed in MH_DYLIB files
  1.7427 +       case $cc_basename in
  1.7428 +         xlc*)
  1.7429 +         lt_prog_compiler_pic='-qnocommon'
  1.7430 +         lt_prog_compiler_wl='-Wl,'
  1.7431 +         ;;
  1.7432 +       esac
  1.7433 +       ;;
  1.7434 +
  1.7435 +    mingw* | pw32* | os2*)
  1.7436 +      # This hack is so that the source file can tell whether it is being
  1.7437 +      # built for inclusion in a dll (and should export symbols for example).
  1.7438 +      lt_prog_compiler_pic='-DDLL_EXPORT'
  1.7439 +      ;;
  1.7440 +
  1.7441 +    hpux9* | hpux10* | hpux11*)
  1.7442 +      lt_prog_compiler_wl='-Wl,'
  1.7443 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  1.7444 +      # not for PA HP-UX.
  1.7445 +      case $host_cpu in
  1.7446 +      hppa*64*|ia64*)
  1.7447 +	# +Z the default
  1.7448 +	;;
  1.7449 +      *)
  1.7450 +	lt_prog_compiler_pic='+Z'
  1.7451 +	;;
  1.7452 +      esac
  1.7453 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  1.7454 +      lt_prog_compiler_static='${wl}-a ${wl}archive'
  1.7455 +      ;;
  1.7456 +
  1.7457 +    irix5* | irix6* | nonstopux*)
  1.7458 +      lt_prog_compiler_wl='-Wl,'
  1.7459 +      # PIC (with -KPIC) is the default.
  1.7460 +      lt_prog_compiler_static='-non_shared'
  1.7461 +      ;;
  1.7462 +
  1.7463 +    newsos6)
  1.7464 +      lt_prog_compiler_pic='-KPIC'
  1.7465 +      lt_prog_compiler_static='-Bstatic'
  1.7466 +      ;;
  1.7467 +
  1.7468 +    linux*)
  1.7469 +      case $cc_basename in
  1.7470 +      icc* | ecc*)
  1.7471 +	lt_prog_compiler_wl='-Wl,'
  1.7472 +	lt_prog_compiler_pic='-KPIC'
  1.7473 +	lt_prog_compiler_static='-static'
  1.7474 +        ;;
  1.7475 +      pgcc* | pgf77* | pgf90* | pgf95*)
  1.7476 +        # Portland Group compilers (*not* the Pentium gcc compiler,
  1.7477 +	# which looks to be a dead project)
  1.7478 +	lt_prog_compiler_wl='-Wl,'
  1.7479 +	lt_prog_compiler_pic='-fpic'
  1.7480 +	lt_prog_compiler_static='-Bstatic'
  1.7481 +        ;;
  1.7482 +      ccc*)
  1.7483 +        lt_prog_compiler_wl='-Wl,'
  1.7484 +        # All Alpha code is PIC.
  1.7485 +        lt_prog_compiler_static='-non_shared'
  1.7486 +        ;;
  1.7487 +      esac
  1.7488 +      ;;
  1.7489 +
  1.7490 +    osf3* | osf4* | osf5*)
  1.7491 +      lt_prog_compiler_wl='-Wl,'
  1.7492 +      # All OSF/1 code is PIC.
  1.7493 +      lt_prog_compiler_static='-non_shared'
  1.7494 +      ;;
  1.7495 +
  1.7496 +    solaris*)
  1.7497 +      lt_prog_compiler_pic='-KPIC'
  1.7498 +      lt_prog_compiler_static='-Bstatic'
  1.7499 +      case $cc_basename in
  1.7500 +      f77* | f90* | f95*)
  1.7501 +	lt_prog_compiler_wl='-Qoption ld ';;
  1.7502 +      *)
  1.7503 +	lt_prog_compiler_wl='-Wl,';;
  1.7504 +      esac
  1.7505 +      ;;
  1.7506 +
  1.7507 +    sunos4*)
  1.7508 +      lt_prog_compiler_wl='-Qoption ld '
  1.7509 +      lt_prog_compiler_pic='-PIC'
  1.7510 +      lt_prog_compiler_static='-Bstatic'
  1.7511 +      ;;
  1.7512 +
  1.7513 +    sysv4 | sysv4.2uw2* | sysv4.3*)
  1.7514 +      lt_prog_compiler_wl='-Wl,'
  1.7515 +      lt_prog_compiler_pic='-KPIC'
  1.7516 +      lt_prog_compiler_static='-Bstatic'
  1.7517 +      ;;
  1.7518 +
  1.7519 +    sysv4*MP*)
  1.7520 +      if test -d /usr/nec ;then
  1.7521 +	lt_prog_compiler_pic='-Kconform_pic'
  1.7522 +	lt_prog_compiler_static='-Bstatic'
  1.7523 +      fi
  1.7524 +      ;;
  1.7525 +
  1.7526 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  1.7527 +      lt_prog_compiler_wl='-Wl,'
  1.7528 +      lt_prog_compiler_pic='-KPIC'
  1.7529 +      lt_prog_compiler_static='-Bstatic'
  1.7530 +      ;;
  1.7531 +
  1.7532 +    unicos*)
  1.7533 +      lt_prog_compiler_wl='-Wl,'
  1.7534 +      lt_prog_compiler_can_build_shared=no
  1.7535 +      ;;
  1.7536 +
  1.7537 +    uts4*)
  1.7538 +      lt_prog_compiler_pic='-pic'
  1.7539 +      lt_prog_compiler_static='-Bstatic'
  1.7540 +      ;;
  1.7541 +
  1.7542 +    *)
  1.7543 +      lt_prog_compiler_can_build_shared=no
  1.7544 +      ;;
  1.7545 +    esac
  1.7546 +  fi
  1.7547 +
  1.7548 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  1.7549 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
  1.7550 +
  1.7551 +#
  1.7552 +# Check to make sure the PIC flag actually works.
  1.7553 +#
  1.7554 +if test -n "$lt_prog_compiler_pic"; then
  1.7555 +
  1.7556 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  1.7557 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
  1.7558 +if test "${lt_prog_compiler_pic_works+set}" = set; then
  1.7559 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7560 +else
  1.7561 +  lt_prog_compiler_pic_works=no
  1.7562 +  ac_outfile=conftest.$ac_objext
  1.7563 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.7564 +   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  1.7565 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.7566 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.7567 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.7568 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.7569 +   # The option is referenced via a variable to avoid confusing sed.
  1.7570 +   lt_compile=`echo "$ac_compile" | $SED \
  1.7571 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.7572 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.7573 +   -e 's:$: $lt_compiler_flag:'`
  1.7574 +   (eval echo "\"\$as_me:7571: $lt_compile\"" >&5)
  1.7575 +   (eval "$lt_compile" 2>conftest.err)
  1.7576 +   ac_status=$?
  1.7577 +   cat conftest.err >&5
  1.7578 +   echo "$as_me:7575: \$? = $ac_status" >&5
  1.7579 +   if (exit $ac_status) && test -s "$ac_outfile"; then
  1.7580 +     # The compiler can only warn and ignore the option if not recognized
  1.7581 +     # So say no if there are warnings other than the usual output.
  1.7582 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1.7583 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.7584 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1.7585 +       lt_prog_compiler_pic_works=yes
  1.7586 +     fi
  1.7587 +   fi
  1.7588 +   $rm conftest*
  1.7589 +
  1.7590 +fi
  1.7591 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
  1.7592 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
  1.7593 +
  1.7594 +if test x"$lt_prog_compiler_pic_works" = xyes; then
  1.7595 +    case $lt_prog_compiler_pic in
  1.7596 +     "" | " "*) ;;
  1.7597 +     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  1.7598 +     esac
  1.7599 +else
  1.7600 +    lt_prog_compiler_pic=
  1.7601 +     lt_prog_compiler_can_build_shared=no
  1.7602 +fi
  1.7603 +
  1.7604 +fi
  1.7605 +case $host_os in
  1.7606 +  # For platforms which do not support PIC, -DPIC is meaningless:
  1.7607 +  *djgpp*)
  1.7608 +    lt_prog_compiler_pic=
  1.7609 +    ;;
  1.7610 +  *)
  1.7611 +    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  1.7612 +    ;;
  1.7613 +esac
  1.7614 +
  1.7615 +#
  1.7616 +# Check to make sure the static flag actually works.
  1.7617 +#
  1.7618 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  1.7619 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  1.7620 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  1.7621 +if test "${lt_prog_compiler_static_works+set}" = set; then
  1.7622 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7623 +else
  1.7624 +  lt_prog_compiler_static_works=no
  1.7625 +   save_LDFLAGS="$LDFLAGS"
  1.7626 +   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  1.7627 +   printf "$lt_simple_link_test_code" > conftest.$ac_ext
  1.7628 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1.7629 +     # The linker can only warn and ignore the option if not recognized
  1.7630 +     # So say no if there are warnings
  1.7631 +     if test -s conftest.err; then
  1.7632 +       # Append any errors to the config.log.
  1.7633 +       cat conftest.err 1>&5
  1.7634 +       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1.7635 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.7636 +       if diff conftest.exp conftest.er2 >/dev/null; then
  1.7637 +         lt_prog_compiler_static_works=yes
  1.7638 +       fi
  1.7639 +     else
  1.7640 +       lt_prog_compiler_static_works=yes
  1.7641 +     fi
  1.7642 +   fi
  1.7643 +   $rm conftest*
  1.7644 +   LDFLAGS="$save_LDFLAGS"
  1.7645 +
  1.7646 +fi
  1.7647 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
  1.7648 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
  1.7649 +
  1.7650 +if test x"$lt_prog_compiler_static_works" = xyes; then
  1.7651 +    :
  1.7652 +else
  1.7653 +    lt_prog_compiler_static=
  1.7654 +fi
  1.7655 +
  1.7656 +
  1.7657 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  1.7658 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  1.7659 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  1.7660 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7661 +else
  1.7662 +  lt_cv_prog_compiler_c_o=no
  1.7663 +   $rm -r conftest 2>/dev/null
  1.7664 +   mkdir conftest
  1.7665 +   cd conftest
  1.7666 +   mkdir out
  1.7667 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.7668 +
  1.7669 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
  1.7670 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.7671 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.7672 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.7673 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.7674 +   lt_compile=`echo "$ac_compile" | $SED \
  1.7675 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.7676 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.7677 +   -e 's:$: $lt_compiler_flag:'`
  1.7678 +   (eval echo "\"\$as_me:7675: $lt_compile\"" >&5)
  1.7679 +   (eval "$lt_compile" 2>out/conftest.err)
  1.7680 +   ac_status=$?
  1.7681 +   cat out/conftest.err >&5
  1.7682 +   echo "$as_me:7679: \$? = $ac_status" >&5
  1.7683 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1.7684 +   then
  1.7685 +     # The compiler can only warn and ignore the option if not recognized
  1.7686 +     # So say no if there are warnings
  1.7687 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1.7688 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1.7689 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1.7690 +       lt_cv_prog_compiler_c_o=yes
  1.7691 +     fi
  1.7692 +   fi
  1.7693 +   chmod u+w . 2>&5
  1.7694 +   $rm conftest*
  1.7695 +   # SGI C++ compiler will create directory out/ii_files/ for
  1.7696 +   # template instantiation
  1.7697 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  1.7698 +   $rm out/* && rmdir out
  1.7699 +   cd ..
  1.7700 +   rmdir conftest
  1.7701 +   $rm conftest*
  1.7702 +
  1.7703 +fi
  1.7704 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  1.7705 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  1.7706 +
  1.7707 +
  1.7708 +hard_links="nottested"
  1.7709 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  1.7710 +  # do not overwrite the value of need_locks provided by the user
  1.7711 +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  1.7712 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  1.7713 +  hard_links=yes
  1.7714 +  $rm conftest*
  1.7715 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1.7716 +  touch conftest.a
  1.7717 +  ln conftest.a conftest.b 2>&5 || hard_links=no
  1.7718 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1.7719 +  { echo "$as_me:$LINENO: result: $hard_links" >&5
  1.7720 +echo "${ECHO_T}$hard_links" >&6; }
  1.7721 +  if test "$hard_links" = no; then
  1.7722 +    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  1.7723 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  1.7724 +    need_locks=warn
  1.7725 +  fi
  1.7726 +else
  1.7727 +  need_locks=no
  1.7728 +fi
  1.7729 +
  1.7730 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  1.7731 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  1.7732 +
  1.7733 +  runpath_var=
  1.7734 +  allow_undefined_flag=
  1.7735 +  enable_shared_with_static_runtimes=no
  1.7736 +  archive_cmds=
  1.7737 +  archive_expsym_cmds=
  1.7738 +  old_archive_From_new_cmds=
  1.7739 +  old_archive_from_expsyms_cmds=
  1.7740 +  export_dynamic_flag_spec=
  1.7741 +  whole_archive_flag_spec=
  1.7742 +  thread_safe_flag_spec=
  1.7743 +  hardcode_libdir_flag_spec=
  1.7744 +  hardcode_libdir_flag_spec_ld=
  1.7745 +  hardcode_libdir_separator=
  1.7746 +  hardcode_direct=no
  1.7747 +  hardcode_minus_L=no
  1.7748 +  hardcode_shlibpath_var=unsupported
  1.7749 +  link_all_deplibs=unknown
  1.7750 +  hardcode_automatic=no
  1.7751 +  module_cmds=
  1.7752 +  module_expsym_cmds=
  1.7753 +  always_export_symbols=no
  1.7754 +  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  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_"
  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 +  extract_expsyms_cmds=
  1.7769 +  # Just being paranoid about ensuring that cc_basename is set.
  1.7770 +  for cc_temp in $compiler""; do
  1.7771 +  case $cc_temp in
  1.7772 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  1.7773 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  1.7774 +    \-*) ;;
  1.7775 +    *) break;;
  1.7776 +  esac
  1.7777 +done
  1.7778 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  1.7779 +
  1.7780 +  case $host_os in
  1.7781 +  cygwin* | mingw* | pw32*)
  1.7782 +    # FIXME: the MSVC++ port hasn't been tested in a loooong time
  1.7783 +    # When not using gcc, we currently assume that we are using
  1.7784 +    # Microsoft Visual C++.
  1.7785 +    if test "$GCC" != yes; then
  1.7786 +      with_gnu_ld=no
  1.7787 +    fi
  1.7788 +    ;;
  1.7789 +  interix*)
  1.7790 +    # we just hope/assume this is gcc and not c89 (= MSVC++)
  1.7791 +    with_gnu_ld=yes
  1.7792 +    ;;
  1.7793 +  openbsd*)
  1.7794 +    with_gnu_ld=no
  1.7795 +    ;;
  1.7796 +  esac
  1.7797 +
  1.7798 +  ld_shlibs=yes
  1.7799 +  if test "$with_gnu_ld" = yes; then
  1.7800 +    # If archive_cmds runs LD, not CC, wlarc should be empty
  1.7801 +    wlarc='${wl}'
  1.7802 +
  1.7803 +    # Set some defaults for GNU ld with shared library support. These
  1.7804 +    # are reset later if shared libraries are not supported. Putting them
  1.7805 +    # here allows them to be overridden if necessary.
  1.7806 +    runpath_var=LD_RUN_PATH
  1.7807 +    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  1.7808 +    export_dynamic_flag_spec='${wl}--export-dynamic'
  1.7809 +    # ancient GNU ld didn't support --whole-archive et. al.
  1.7810 +    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  1.7811 +	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  1.7812 +      else
  1.7813 +  	whole_archive_flag_spec=
  1.7814 +    fi
  1.7815 +    supports_anon_versioning=no
  1.7816 +    case `$LD -v 2>/dev/null` in
  1.7817 +      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  1.7818 +      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  1.7819 +      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  1.7820 +      *\ 2.11.*) ;; # other 2.11 versions
  1.7821 +      *) supports_anon_versioning=yes ;;
  1.7822 +    esac
  1.7823 +
  1.7824 +    # See if GNU ld supports shared libraries.
  1.7825 +    case $host_os in
  1.7826 +    aix3* | aix4* | aix5*)
  1.7827 +      # On AIX/PPC, the GNU linker is very broken
  1.7828 +      if test "$host_cpu" != ia64; then
  1.7829 +	ld_shlibs=no
  1.7830 +	cat <<EOF 1>&2
  1.7831 +
  1.7832 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  1.7833 +*** to be unable to reliably create shared libraries on AIX.
  1.7834 +*** Therefore, libtool is disabling shared libraries support.  If you
  1.7835 +*** really care for shared libraries, you may want to modify your PATH
  1.7836 +*** so that a non-GNU linker is found, and then restart.
  1.7837 +
  1.7838 +EOF
  1.7839 +      fi
  1.7840 +      ;;
  1.7841 +
  1.7842 +    amigaos*)
  1.7843 +      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.7844 +      hardcode_libdir_flag_spec='-L$libdir'
  1.7845 +      hardcode_minus_L=yes
  1.7846 +
  1.7847 +      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  1.7848 +      # that the semantics of dynamic libraries on AmigaOS, at least up
  1.7849 +      # to version 4, is to share data among multiple programs linked
  1.7850 +      # with the same dynamic library.  Since this doesn't match the
  1.7851 +      # behavior of shared libraries on other platforms, we can't use
  1.7852 +      # them.
  1.7853 +      ld_shlibs=no
  1.7854 +      ;;
  1.7855 +
  1.7856 +    beos*)
  1.7857 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  1.7858 +	allow_undefined_flag=unsupported
  1.7859 +	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  1.7860 +	# support --undefined.  This deserves some investigation.  FIXME
  1.7861 +	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7862 +      else
  1.7863 +	ld_shlibs=no
  1.7864 +      fi
  1.7865 +      ;;
  1.7866 +
  1.7867 +    cygwin* | mingw* | pw32*)
  1.7868 +      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  1.7869 +      # as there is no search path for DLLs.
  1.7870 +      hardcode_libdir_flag_spec='-L$libdir'
  1.7871 +      allow_undefined_flag=unsupported
  1.7872 +      always_export_symbols=no
  1.7873 +      enable_shared_with_static_runtimes=yes
  1.7874 +      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  1.7875 +
  1.7876 +      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  1.7877 +        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  1.7878 +	# If the export-symbols file already is a .def file (1st line
  1.7879 +	# is EXPORTS), use it as is; otherwise, prepend...
  1.7880 +	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  1.7881 +	  cp $export_symbols $output_objdir/$soname.def;
  1.7882 +	else
  1.7883 +	  echo EXPORTS > $output_objdir/$soname.def;
  1.7884 +	  cat $export_symbols >> $output_objdir/$soname.def;
  1.7885 +	fi~
  1.7886 +	$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.7887 +      else
  1.7888 +	ld_shlibs=no
  1.7889 +      fi
  1.7890 +      ;;
  1.7891 +
  1.7892 +    interix3*)
  1.7893 +      hardcode_direct=no
  1.7894 +      hardcode_shlibpath_var=no
  1.7895 +      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  1.7896 +      export_dynamic_flag_spec='${wl}-E'
  1.7897 +      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  1.7898 +      # Instead, shared libraries are loaded at an image base (0x10000000 by
  1.7899 +      # default) and relocated if they conflict, which is a slow very memory
  1.7900 +      # consuming and fragmenting process.  To avoid this, we pick a random,
  1.7901 +      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  1.7902 +      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  1.7903 +      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.7904 +      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.7905 +      ;;
  1.7906 +
  1.7907 +    linux*)
  1.7908 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  1.7909 +	tmp_addflag=
  1.7910 +	case $cc_basename,$host_cpu in
  1.7911 +	pgcc*)				# Portland Group C compiler
  1.7912 +	  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.7913 +	  tmp_addflag=' $pic_flag'
  1.7914 +	  ;;
  1.7915 +	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  1.7916 +	  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.7917 +	  tmp_addflag=' $pic_flag -Mnomain' ;;
  1.7918 +	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
  1.7919 +	  tmp_addflag=' -i_dynamic' ;;
  1.7920 +	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  1.7921 +	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  1.7922 +	ifc* | ifort*)			# Intel Fortran compiler
  1.7923 +	  tmp_addflag=' -nofor_main' ;;
  1.7924 +	esac
  1.7925 +	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7926 +
  1.7927 +	if test $supports_anon_versioning = yes; then
  1.7928 +	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
  1.7929 +  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  1.7930 +  $echo "local: *; };" >> $output_objdir/$libname.ver~
  1.7931 +	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  1.7932 +	fi
  1.7933 +      else
  1.7934 +	ld_shlibs=no
  1.7935 +      fi
  1.7936 +      ;;
  1.7937 +
  1.7938 +    netbsd*)
  1.7939 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  1.7940 +	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  1.7941 +	wlarc=
  1.7942 +      else
  1.7943 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7944 +	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.7945 +      fi
  1.7946 +      ;;
  1.7947 +
  1.7948 +    solaris*)
  1.7949 +      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  1.7950 +	ld_shlibs=no
  1.7951 +	cat <<EOF 1>&2
  1.7952 +
  1.7953 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  1.7954 +*** create shared libraries on Solaris systems.  Therefore, libtool
  1.7955 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  1.7956 +*** binutils to release 2.9.1 or newer.  Another option is to modify
  1.7957 +*** your PATH or compiler configuration so that the native linker is
  1.7958 +*** used, and then restart.
  1.7959 +
  1.7960 +EOF
  1.7961 +      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  1.7962 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.7963 +	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.7964 +      else
  1.7965 +	ld_shlibs=no
  1.7966 +      fi
  1.7967 +      ;;
  1.7968 +
  1.7969 +    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  1.7970 +      case `$LD -v 2>&1` in
  1.7971 +        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  1.7972 +	ld_shlibs=no
  1.7973 +	cat <<_LT_EOF 1>&2
  1.7974 +
  1.7975 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  1.7976 +*** reliably create shared libraries on SCO systems.  Therefore, libtool
  1.7977 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  1.7978 +*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  1.7979 +*** your PATH or compiler configuration so that the native linker is
  1.7980 +*** used, and then restart.
  1.7981 +
  1.7982 +_LT_EOF
  1.7983 +	;;
  1.7984 +	*)
  1.7985 +	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  1.7986 +	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  1.7987 +	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  1.7988 +	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  1.7989 +	  else
  1.7990 +	    ld_shlibs=no
  1.7991 +	  fi
  1.7992 +	;;
  1.7993 +      esac
  1.7994 +      ;;
  1.7995 +
  1.7996 +    sunos4*)
  1.7997 +      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  1.7998 +      wlarc=
  1.7999 +      hardcode_direct=yes
  1.8000 +      hardcode_shlibpath_var=no
  1.8001 +      ;;
  1.8002 +
  1.8003 +    *)
  1.8004 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  1.8005 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.8006 +	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.8007 +      else
  1.8008 +	ld_shlibs=no
  1.8009 +      fi
  1.8010 +      ;;
  1.8011 +    esac
  1.8012 +
  1.8013 +    if test "$ld_shlibs" = no; then
  1.8014 +      runpath_var=
  1.8015 +      hardcode_libdir_flag_spec=
  1.8016 +      export_dynamic_flag_spec=
  1.8017 +      whole_archive_flag_spec=
  1.8018 +    fi
  1.8019 +  else
  1.8020 +    # PORTME fill in a description of your system's linker (not GNU ld)
  1.8021 +    case $host_os in
  1.8022 +    aix3*)
  1.8023 +      allow_undefined_flag=unsupported
  1.8024 +      always_export_symbols=yes
  1.8025 +      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.8026 +      # Note: this linker hardcodes the directories in LIBPATH if there
  1.8027 +      # are no directories specified by -L.
  1.8028 +      hardcode_minus_L=yes
  1.8029 +      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  1.8030 +	# Neither direct hardcoding nor static linking is supported with a
  1.8031 +	# broken collect2.
  1.8032 +	hardcode_direct=unsupported
  1.8033 +      fi
  1.8034 +      ;;
  1.8035 +
  1.8036 +    aix4* | aix5*)
  1.8037 +      if test "$host_cpu" = ia64; then
  1.8038 +	# On IA64, the linker does run time linking by default, so we don't
  1.8039 +	# have to do anything special.
  1.8040 +	aix_use_runtimelinking=no
  1.8041 +	exp_sym_flag='-Bexport'
  1.8042 +	no_entry_flag=""
  1.8043 +      else
  1.8044 +	# If we're using GNU nm, then we don't want the "-C" option.
  1.8045 +	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  1.8046 +	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  1.8047 +	  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.8048 +	else
  1.8049 +	  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.8050 +	fi
  1.8051 +	aix_use_runtimelinking=no
  1.8052 +
  1.8053 +	# Test if we are trying to use run time linking or normal
  1.8054 +	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  1.8055 +	# need to do runtime linking.
  1.8056 +	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  1.8057 +	  for ld_flag in $LDFLAGS; do
  1.8058 +  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  1.8059 +  	    aix_use_runtimelinking=yes
  1.8060 +  	    break
  1.8061 +  	  fi
  1.8062 +	  done
  1.8063 +	  ;;
  1.8064 +	esac
  1.8065 +
  1.8066 +	exp_sym_flag='-bexport'
  1.8067 +	no_entry_flag='-bnoentry'
  1.8068 +      fi
  1.8069 +
  1.8070 +      # When large executables or shared objects are built, AIX ld can
  1.8071 +      # have problems creating the table of contents.  If linking a library
  1.8072 +      # or program results in "error TOC overflow" add -mminimal-toc to
  1.8073 +      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  1.8074 +      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  1.8075 +
  1.8076 +      archive_cmds=''
  1.8077 +      hardcode_direct=yes
  1.8078 +      hardcode_libdir_separator=':'
  1.8079 +      link_all_deplibs=yes
  1.8080 +
  1.8081 +      if test "$GCC" = yes; then
  1.8082 +	case $host_os in aix4.[012]|aix4.[012].*)
  1.8083 +	# We only want to do this on AIX 4.2 and lower, the check
  1.8084 +	# below for broken collect2 doesn't work under 4.3+
  1.8085 +	  collect2name=`${CC} -print-prog-name=collect2`
  1.8086 +	  if test -f "$collect2name" && \
  1.8087 +  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  1.8088 +	  then
  1.8089 +  	  # We have reworked collect2
  1.8090 +  	  hardcode_direct=yes
  1.8091 +	  else
  1.8092 +  	  # We have old collect2
  1.8093 +  	  hardcode_direct=unsupported
  1.8094 +  	  # It fails to find uninstalled libraries when the uninstalled
  1.8095 +  	  # path is not listed in the libpath.  Setting hardcode_minus_L
  1.8096 +  	  # to unsupported forces relinking
  1.8097 +  	  hardcode_minus_L=yes
  1.8098 +  	  hardcode_libdir_flag_spec='-L$libdir'
  1.8099 +  	  hardcode_libdir_separator=
  1.8100 +	  fi
  1.8101 +	  ;;
  1.8102 +	esac
  1.8103 +	shared_flag='-shared'
  1.8104 +	if test "$aix_use_runtimelinking" = yes; then
  1.8105 +	  shared_flag="$shared_flag "'${wl}-G'
  1.8106 +	fi
  1.8107 +      else
  1.8108 +	# not using gcc
  1.8109 +	if test "$host_cpu" = ia64; then
  1.8110 +  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  1.8111 +  	# chokes on -Wl,-G. The following line is correct:
  1.8112 +	  shared_flag='-G'
  1.8113 +	else
  1.8114 +	  if test "$aix_use_runtimelinking" = yes; then
  1.8115 +	    shared_flag='${wl}-G'
  1.8116 +	  else
  1.8117 +	    shared_flag='${wl}-bM:SRE'
  1.8118 +	  fi
  1.8119 +	fi
  1.8120 +      fi
  1.8121 +
  1.8122 +      # It seems that -bexpall does not export symbols beginning with
  1.8123 +      # underscore (_), so it is better to generate a list of symbols to export.
  1.8124 +      always_export_symbols=yes
  1.8125 +      if test "$aix_use_runtimelinking" = yes; then
  1.8126 +	# Warning - without using the other runtime loading flags (-brtl),
  1.8127 +	# -berok will link without error, but may produce a broken library.
  1.8128 +	allow_undefined_flag='-berok'
  1.8129 +       # Determine the default libpath from the value encoded in an empty executable.
  1.8130 +       cat >conftest.$ac_ext <<_ACEOF
  1.8131 +/* confdefs.h.  */
  1.8132 +_ACEOF
  1.8133 +cat confdefs.h >>conftest.$ac_ext
  1.8134 +cat >>conftest.$ac_ext <<_ACEOF
  1.8135 +/* end confdefs.h.  */
  1.8136 +
  1.8137 +int
  1.8138 +main ()
  1.8139 +{
  1.8140 +
  1.8141 +  ;
  1.8142 +  return 0;
  1.8143 +}
  1.8144 +_ACEOF
  1.8145 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.8146 +if { (ac_try="$ac_link"
  1.8147 +case "(($ac_try" in
  1.8148 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8149 +  *) ac_try_echo=$ac_try;;
  1.8150 +esac
  1.8151 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8152 +  (eval "$ac_link") 2>conftest.er1
  1.8153 +  ac_status=$?
  1.8154 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.8155 +  rm -f conftest.er1
  1.8156 +  cat conftest.err >&5
  1.8157 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8158 +  (exit $ac_status); } &&
  1.8159 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.8160 +  { (case "(($ac_try" in
  1.8161 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8162 +  *) ac_try_echo=$ac_try;;
  1.8163 +esac
  1.8164 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8165 +  (eval "$ac_try") 2>&5
  1.8166 +  ac_status=$?
  1.8167 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8168 +  (exit $ac_status); }; } &&
  1.8169 +	 { ac_try='test -s conftest$ac_exeext'
  1.8170 +  { (case "(($ac_try" in
  1.8171 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8172 +  *) ac_try_echo=$ac_try;;
  1.8173 +esac
  1.8174 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8175 +  (eval "$ac_try") 2>&5
  1.8176 +  ac_status=$?
  1.8177 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8178 +  (exit $ac_status); }; }; then
  1.8179 +
  1.8180 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  1.8181 +}'`
  1.8182 +# Check for a 64-bit object if we didn't find anything.
  1.8183 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  1.8184 +}'`; fi
  1.8185 +else
  1.8186 +  echo "$as_me: failed program was:" >&5
  1.8187 +sed 's/^/| /' conftest.$ac_ext >&5
  1.8188 +
  1.8189 +
  1.8190 +fi
  1.8191 +
  1.8192 +rm -f core conftest.err conftest.$ac_objext \
  1.8193 +      conftest$ac_exeext conftest.$ac_ext
  1.8194 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1.8195 +
  1.8196 +       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  1.8197 +	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  1.8198 +       else
  1.8199 +	if test "$host_cpu" = ia64; then
  1.8200 +	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  1.8201 +	  allow_undefined_flag="-z nodefs"
  1.8202 +	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  1.8203 +	else
  1.8204 +	 # Determine the default libpath from the value encoded in an empty executable.
  1.8205 +	 cat >conftest.$ac_ext <<_ACEOF
  1.8206 +/* confdefs.h.  */
  1.8207 +_ACEOF
  1.8208 +cat confdefs.h >>conftest.$ac_ext
  1.8209 +cat >>conftest.$ac_ext <<_ACEOF
  1.8210 +/* end confdefs.h.  */
  1.8211 +
  1.8212 +int
  1.8213 +main ()
  1.8214 +{
  1.8215 +
  1.8216 +  ;
  1.8217 +  return 0;
  1.8218 +}
  1.8219 +_ACEOF
  1.8220 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.8221 +if { (ac_try="$ac_link"
  1.8222 +case "(($ac_try" in
  1.8223 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8224 +  *) ac_try_echo=$ac_try;;
  1.8225 +esac
  1.8226 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8227 +  (eval "$ac_link") 2>conftest.er1
  1.8228 +  ac_status=$?
  1.8229 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.8230 +  rm -f conftest.er1
  1.8231 +  cat conftest.err >&5
  1.8232 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8233 +  (exit $ac_status); } &&
  1.8234 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.8235 +  { (case "(($ac_try" in
  1.8236 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8237 +  *) ac_try_echo=$ac_try;;
  1.8238 +esac
  1.8239 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8240 +  (eval "$ac_try") 2>&5
  1.8241 +  ac_status=$?
  1.8242 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8243 +  (exit $ac_status); }; } &&
  1.8244 +	 { ac_try='test -s conftest$ac_exeext'
  1.8245 +  { (case "(($ac_try" in
  1.8246 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8247 +  *) ac_try_echo=$ac_try;;
  1.8248 +esac
  1.8249 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8250 +  (eval "$ac_try") 2>&5
  1.8251 +  ac_status=$?
  1.8252 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8253 +  (exit $ac_status); }; }; then
  1.8254 +
  1.8255 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  1.8256 +}'`
  1.8257 +# Check for a 64-bit object if we didn't find anything.
  1.8258 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  1.8259 +}'`; fi
  1.8260 +else
  1.8261 +  echo "$as_me: failed program was:" >&5
  1.8262 +sed 's/^/| /' conftest.$ac_ext >&5
  1.8263 +
  1.8264 +
  1.8265 +fi
  1.8266 +
  1.8267 +rm -f core conftest.err conftest.$ac_objext \
  1.8268 +      conftest$ac_exeext conftest.$ac_ext
  1.8269 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1.8270 +
  1.8271 +	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  1.8272 +	  # Warning - without using the other run time loading flags,
  1.8273 +	  # -berok will link without error, but may produce a broken library.
  1.8274 +	  no_undefined_flag=' ${wl}-bernotok'
  1.8275 +	  allow_undefined_flag=' ${wl}-berok'
  1.8276 +	  # Exported symbols can be pulled into shared objects from archives
  1.8277 +	  whole_archive_flag_spec='$convenience'
  1.8278 +	  archive_cmds_need_lc=yes
  1.8279 +	  # This is similar to how AIX traditionally builds its shared libraries.
  1.8280 +	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  1.8281 +	fi
  1.8282 +      fi
  1.8283 +      ;;
  1.8284 +
  1.8285 +    amigaos*)
  1.8286 +      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.8287 +      hardcode_libdir_flag_spec='-L$libdir'
  1.8288 +      hardcode_minus_L=yes
  1.8289 +      # see comment about different semantics on the GNU ld section
  1.8290 +      ld_shlibs=no
  1.8291 +      ;;
  1.8292 +
  1.8293 +    bsdi[45]*)
  1.8294 +      export_dynamic_flag_spec=-rdynamic
  1.8295 +      ;;
  1.8296 +
  1.8297 +    cygwin* | mingw* | pw32*)
  1.8298 +      # When not using gcc, we currently assume that we are using
  1.8299 +      # Microsoft Visual C++.
  1.8300 +      # hardcode_libdir_flag_spec is actually meaningless, as there is
  1.8301 +      # no search path for DLLs.
  1.8302 +      hardcode_libdir_flag_spec=' '
  1.8303 +      allow_undefined_flag=unsupported
  1.8304 +      # Tell ltmain to make .lib files, not .a files.
  1.8305 +      libext=lib
  1.8306 +      # Tell ltmain to make .dll files, not .so files.
  1.8307 +      shrext_cmds=".dll"
  1.8308 +      # FIXME: Setting linknames here is a bad hack.
  1.8309 +      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  1.8310 +      # The linker will automatically build a .lib file if we build a DLL.
  1.8311 +      old_archive_From_new_cmds='true'
  1.8312 +      # FIXME: Should let the user specify the lib program.
  1.8313 +      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  1.8314 +      fix_srcfile_path='`cygpath -w "$srcfile"`'
  1.8315 +      enable_shared_with_static_runtimes=yes
  1.8316 +      ;;
  1.8317 +
  1.8318 +    darwin* | rhapsody*)
  1.8319 +      case $host_os in
  1.8320 +        rhapsody* | darwin1.[012])
  1.8321 +         allow_undefined_flag='${wl}-undefined ${wl}suppress'
  1.8322 +         ;;
  1.8323 +       *) # Darwin 1.3 on
  1.8324 +         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  1.8325 +           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  1.8326 +         else
  1.8327 +           case ${MACOSX_DEPLOYMENT_TARGET} in
  1.8328 +             10.[012])
  1.8329 +               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  1.8330 +               ;;
  1.8331 +             10.*)
  1.8332 +               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
  1.8333 +               ;;
  1.8334 +           esac
  1.8335 +         fi
  1.8336 +         ;;
  1.8337 +      esac
  1.8338 +      archive_cmds_need_lc=no
  1.8339 +      hardcode_direct=no
  1.8340 +      hardcode_automatic=yes
  1.8341 +      hardcode_shlibpath_var=unsupported
  1.8342 +      whole_archive_flag_spec=''
  1.8343 +      link_all_deplibs=yes
  1.8344 +    if test "$GCC" = yes ; then
  1.8345 +    	output_verbose_link_cmd='echo'
  1.8346 +        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  1.8347 +      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  1.8348 +      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  1.8349 +      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1.8350 +      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1.8351 +    else
  1.8352 +      case $cc_basename in
  1.8353 +        xlc*)
  1.8354 +         output_verbose_link_cmd='echo'
  1.8355 +         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  1.8356 +         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  1.8357 +          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  1.8358 +         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1.8359 +          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1.8360 +          ;;
  1.8361 +       *)
  1.8362 +         ld_shlibs=no
  1.8363 +          ;;
  1.8364 +      esac
  1.8365 +    fi
  1.8366 +      ;;
  1.8367 +
  1.8368 +    dgux*)
  1.8369 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8370 +      hardcode_libdir_flag_spec='-L$libdir'
  1.8371 +      hardcode_shlibpath_var=no
  1.8372 +      ;;
  1.8373 +
  1.8374 +    freebsd1*)
  1.8375 +      ld_shlibs=no
  1.8376 +      ;;
  1.8377 +
  1.8378 +    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  1.8379 +    # support.  Future versions do this automatically, but an explicit c++rt0.o
  1.8380 +    # does not break anything, and helps significantly (at the cost of a little
  1.8381 +    # extra space).
  1.8382 +    freebsd2.2*)
  1.8383 +      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  1.8384 +      hardcode_libdir_flag_spec='-R$libdir'
  1.8385 +      hardcode_direct=yes
  1.8386 +      hardcode_shlibpath_var=no
  1.8387 +      ;;
  1.8388 +
  1.8389 +    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  1.8390 +    freebsd2*)
  1.8391 +      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  1.8392 +      hardcode_direct=yes
  1.8393 +      hardcode_minus_L=yes
  1.8394 +      hardcode_shlibpath_var=no
  1.8395 +      ;;
  1.8396 +
  1.8397 +    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  1.8398 +    freebsd* | kfreebsd*-gnu | dragonfly*)
  1.8399 +      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  1.8400 +      hardcode_libdir_flag_spec='-R$libdir'
  1.8401 +      hardcode_direct=yes
  1.8402 +      hardcode_shlibpath_var=no
  1.8403 +      ;;
  1.8404 +
  1.8405 +    hpux9*)
  1.8406 +      if test "$GCC" = yes; then
  1.8407 +	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  1.8408 +      else
  1.8409 +	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  1.8410 +      fi
  1.8411 +      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  1.8412 +      hardcode_libdir_separator=:
  1.8413 +      hardcode_direct=yes
  1.8414 +
  1.8415 +      # hardcode_minus_L: Not really in the search PATH,
  1.8416 +      # but as the default location of the library.
  1.8417 +      hardcode_minus_L=yes
  1.8418 +      export_dynamic_flag_spec='${wl}-E'
  1.8419 +      ;;
  1.8420 +
  1.8421 +    hpux10*)
  1.8422 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  1.8423 +	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1.8424 +      else
  1.8425 +	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  1.8426 +      fi
  1.8427 +      if test "$with_gnu_ld" = no; then
  1.8428 +	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  1.8429 +	hardcode_libdir_separator=:
  1.8430 +
  1.8431 +	hardcode_direct=yes
  1.8432 +	export_dynamic_flag_spec='${wl}-E'
  1.8433 +
  1.8434 +	# hardcode_minus_L: Not really in the search PATH,
  1.8435 +	# but as the default location of the library.
  1.8436 +	hardcode_minus_L=yes
  1.8437 +      fi
  1.8438 +      ;;
  1.8439 +
  1.8440 +    hpux11*)
  1.8441 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  1.8442 +	case $host_cpu in
  1.8443 +	hppa*64*)
  1.8444 +	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8445 +	  ;;
  1.8446 +	ia64*)
  1.8447 +	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  1.8448 +	  ;;
  1.8449 +	*)
  1.8450 +	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1.8451 +	  ;;
  1.8452 +	esac
  1.8453 +      else
  1.8454 +	case $host_cpu in
  1.8455 +	hppa*64*)
  1.8456 +	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8457 +	  ;;
  1.8458 +	ia64*)
  1.8459 +	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  1.8460 +	  ;;
  1.8461 +	*)
  1.8462 +	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1.8463 +	  ;;
  1.8464 +	esac
  1.8465 +      fi
  1.8466 +      if test "$with_gnu_ld" = no; then
  1.8467 +	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  1.8468 +	hardcode_libdir_separator=:
  1.8469 +
  1.8470 +	case $host_cpu in
  1.8471 +	hppa*64*|ia64*)
  1.8472 +	  hardcode_libdir_flag_spec_ld='+b $libdir'
  1.8473 +	  hardcode_direct=no
  1.8474 +	  hardcode_shlibpath_var=no
  1.8475 +	  ;;
  1.8476 +	*)
  1.8477 +	  hardcode_direct=yes
  1.8478 +	  export_dynamic_flag_spec='${wl}-E'
  1.8479 +
  1.8480 +	  # hardcode_minus_L: Not really in the search PATH,
  1.8481 +	  # but as the default location of the library.
  1.8482 +	  hardcode_minus_L=yes
  1.8483 +	  ;;
  1.8484 +	esac
  1.8485 +      fi
  1.8486 +      ;;
  1.8487 +
  1.8488 +    irix5* | irix6* | nonstopux*)
  1.8489 +      if test "$GCC" = yes; then
  1.8490 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  1.8491 +      else
  1.8492 +	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  1.8493 +	hardcode_libdir_flag_spec_ld='-rpath $libdir'
  1.8494 +      fi
  1.8495 +      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.8496 +      hardcode_libdir_separator=:
  1.8497 +      link_all_deplibs=yes
  1.8498 +      ;;
  1.8499 +
  1.8500 +    netbsd*)
  1.8501 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  1.8502 +	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  1.8503 +      else
  1.8504 +	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  1.8505 +      fi
  1.8506 +      hardcode_libdir_flag_spec='-R$libdir'
  1.8507 +      hardcode_direct=yes
  1.8508 +      hardcode_shlibpath_var=no
  1.8509 +      ;;
  1.8510 +
  1.8511 +    newsos6)
  1.8512 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8513 +      hardcode_direct=yes
  1.8514 +      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.8515 +      hardcode_libdir_separator=:
  1.8516 +      hardcode_shlibpath_var=no
  1.8517 +      ;;
  1.8518 +
  1.8519 +    openbsd*)
  1.8520 +      hardcode_direct=yes
  1.8521 +      hardcode_shlibpath_var=no
  1.8522 +      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  1.8523 +	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  1.8524 +	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  1.8525 +	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  1.8526 +	export_dynamic_flag_spec='${wl}-E'
  1.8527 +      else
  1.8528 +       case $host_os in
  1.8529 +	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  1.8530 +	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  1.8531 +	   hardcode_libdir_flag_spec='-R$libdir'
  1.8532 +	   ;;
  1.8533 +	 *)
  1.8534 +	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  1.8535 +	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  1.8536 +	   ;;
  1.8537 +       esac
  1.8538 +      fi
  1.8539 +      ;;
  1.8540 +
  1.8541 +    os2*)
  1.8542 +      hardcode_libdir_flag_spec='-L$libdir'
  1.8543 +      hardcode_minus_L=yes
  1.8544 +      allow_undefined_flag=unsupported
  1.8545 +      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  1.8546 +      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  1.8547 +      ;;
  1.8548 +
  1.8549 +    osf3*)
  1.8550 +      if test "$GCC" = yes; then
  1.8551 +	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  1.8552 +	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  1.8553 +      else
  1.8554 +	allow_undefined_flag=' -expect_unresolved \*'
  1.8555 +	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  1.8556 +      fi
  1.8557 +      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.8558 +      hardcode_libdir_separator=:
  1.8559 +      ;;
  1.8560 +
  1.8561 +    osf4* | osf5*)	# as osf3* with the addition of -msym flag
  1.8562 +      if test "$GCC" = yes; then
  1.8563 +	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  1.8564 +	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  1.8565 +	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.8566 +      else
  1.8567 +	allow_undefined_flag=' -expect_unresolved \*'
  1.8568 +	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  1.8569 +	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  1.8570 +	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  1.8571 +
  1.8572 +	# Both c and cxx compiler support -rpath directly
  1.8573 +	hardcode_libdir_flag_spec='-rpath $libdir'
  1.8574 +      fi
  1.8575 +      hardcode_libdir_separator=:
  1.8576 +      ;;
  1.8577 +
  1.8578 +    solaris*)
  1.8579 +      no_undefined_flag=' -z text'
  1.8580 +      if test "$GCC" = yes; then
  1.8581 +	wlarc='${wl}'
  1.8582 +	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8583 +	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  1.8584 +	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  1.8585 +      else
  1.8586 +	wlarc=''
  1.8587 +	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8588 +	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  1.8589 +  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  1.8590 +      fi
  1.8591 +      hardcode_libdir_flag_spec='-R$libdir'
  1.8592 +      hardcode_shlibpath_var=no
  1.8593 +      case $host_os in
  1.8594 +      solaris2.[0-5] | solaris2.[0-5].*) ;;
  1.8595 +      *)
  1.8596 + 	# The compiler driver will combine linker options so we
  1.8597 + 	# cannot just pass the convience library names through
  1.8598 + 	# without $wl, iff we do not link with $LD.
  1.8599 + 	# Luckily, gcc supports the same syntax we need for Sun Studio.
  1.8600 + 	# Supported since Solaris 2.6 (maybe 2.5.1?)
  1.8601 + 	case $wlarc in
  1.8602 + 	'')
  1.8603 + 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  1.8604 + 	*)
  1.8605 + 	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
  1.8606 + 	esac ;;
  1.8607 +      esac
  1.8608 +      link_all_deplibs=yes
  1.8609 +      ;;
  1.8610 +
  1.8611 +    sunos4*)
  1.8612 +      if test "x$host_vendor" = xsequent; then
  1.8613 +	# Use $CC to link under sequent, because it throws in some extra .o
  1.8614 +	# files that make .init and .fini sections work.
  1.8615 +	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8616 +      else
  1.8617 +	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  1.8618 +      fi
  1.8619 +      hardcode_libdir_flag_spec='-L$libdir'
  1.8620 +      hardcode_direct=yes
  1.8621 +      hardcode_minus_L=yes
  1.8622 +      hardcode_shlibpath_var=no
  1.8623 +      ;;
  1.8624 +
  1.8625 +    sysv4)
  1.8626 +      case $host_vendor in
  1.8627 +	sni)
  1.8628 +	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8629 +	  hardcode_direct=yes # is this really true???
  1.8630 +	;;
  1.8631 +	siemens)
  1.8632 +	  ## LD is ld it makes a PLAMLIB
  1.8633 +	  ## CC just makes a GrossModule.
  1.8634 +	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  1.8635 +	  reload_cmds='$CC -r -o $output$reload_objs'
  1.8636 +	  hardcode_direct=no
  1.8637 +        ;;
  1.8638 +	motorola)
  1.8639 +	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8640 +	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  1.8641 +	;;
  1.8642 +      esac
  1.8643 +      runpath_var='LD_RUN_PATH'
  1.8644 +      hardcode_shlibpath_var=no
  1.8645 +      ;;
  1.8646 +
  1.8647 +    sysv4.3*)
  1.8648 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8649 +      hardcode_shlibpath_var=no
  1.8650 +      export_dynamic_flag_spec='-Bexport'
  1.8651 +      ;;
  1.8652 +
  1.8653 +    sysv4*MP*)
  1.8654 +      if test -d /usr/nec; then
  1.8655 +	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8656 +	hardcode_shlibpath_var=no
  1.8657 +	runpath_var=LD_RUN_PATH
  1.8658 +	hardcode_runpath_var=yes
  1.8659 +	ld_shlibs=yes
  1.8660 +      fi
  1.8661 +      ;;
  1.8662 +
  1.8663 +    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
  1.8664 +      no_undefined_flag='${wl}-z,text'
  1.8665 +      archive_cmds_need_lc=no
  1.8666 +      hardcode_shlibpath_var=no
  1.8667 +      runpath_var='LD_RUN_PATH'
  1.8668 +
  1.8669 +      if test "$GCC" = yes; then
  1.8670 +	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8671 +	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8672 +      else
  1.8673 +	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8674 +	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8675 +      fi
  1.8676 +      ;;
  1.8677 +
  1.8678 +    sysv5* | sco3.2v5* | sco5v6*)
  1.8679 +      # Note: We can NOT use -z defs as we might desire, because we do not
  1.8680 +      # link with -lc, and that would cause any symbols used from libc to
  1.8681 +      # always be unresolved, which means just about no library would
  1.8682 +      # ever link correctly.  If we're not using GNU ld we use -z text
  1.8683 +      # though, which does catch some bad symbols but isn't as heavy-handed
  1.8684 +      # as -z defs.
  1.8685 +      no_undefined_flag='${wl}-z,text'
  1.8686 +      allow_undefined_flag='${wl}-z,nodefs'
  1.8687 +      archive_cmds_need_lc=no
  1.8688 +      hardcode_shlibpath_var=no
  1.8689 +      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  1.8690 +      hardcode_libdir_separator=':'
  1.8691 +      link_all_deplibs=yes
  1.8692 +      export_dynamic_flag_spec='${wl}-Bexport'
  1.8693 +      runpath_var='LD_RUN_PATH'
  1.8694 +
  1.8695 +      if test "$GCC" = yes; then
  1.8696 +	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8697 +	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8698 +      else
  1.8699 +	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8700 +	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.8701 +      fi
  1.8702 +      ;;
  1.8703 +
  1.8704 +    uts4*)
  1.8705 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.8706 +      hardcode_libdir_flag_spec='-L$libdir'
  1.8707 +      hardcode_shlibpath_var=no
  1.8708 +      ;;
  1.8709 +
  1.8710 +    *)
  1.8711 +      ld_shlibs=no
  1.8712 +      ;;
  1.8713 +    esac
  1.8714 +  fi
  1.8715 +
  1.8716 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  1.8717 +echo "${ECHO_T}$ld_shlibs" >&6; }
  1.8718 +test "$ld_shlibs" = no && can_build_shared=no
  1.8719 +
  1.8720 +#
  1.8721 +# Do we need to explicitly link libc?
  1.8722 +#
  1.8723 +case "x$archive_cmds_need_lc" in
  1.8724 +x|xyes)
  1.8725 +  # Assume -lc should be added
  1.8726 +  archive_cmds_need_lc=yes
  1.8727 +
  1.8728 +  if test "$enable_shared" = yes && test "$GCC" = yes; then
  1.8729 +    case $archive_cmds in
  1.8730 +    *'~'*)
  1.8731 +      # FIXME: we may have to deal with multi-command sequences.
  1.8732 +      ;;
  1.8733 +    '$CC '*)
  1.8734 +      # Test whether the compiler implicitly links with -lc since on some
  1.8735 +      # systems, -lgcc has to come before -lc. If gcc already passes -lc
  1.8736 +      # to ld, don't add -lc before -lgcc.
  1.8737 +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  1.8738 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  1.8739 +      $rm conftest*
  1.8740 +      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.8741 +
  1.8742 +      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.8743 +  (eval $ac_compile) 2>&5
  1.8744 +  ac_status=$?
  1.8745 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8746 +  (exit $ac_status); } 2>conftest.err; then
  1.8747 +        soname=conftest
  1.8748 +        lib=conftest
  1.8749 +        libobjs=conftest.$ac_objext
  1.8750 +        deplibs=
  1.8751 +        wl=$lt_prog_compiler_wl
  1.8752 +	pic_flag=$lt_prog_compiler_pic
  1.8753 +        compiler_flags=-v
  1.8754 +        linker_flags=-v
  1.8755 +        verstring=
  1.8756 +        output_objdir=.
  1.8757 +        libname=conftest
  1.8758 +        lt_save_allow_undefined_flag=$allow_undefined_flag
  1.8759 +        allow_undefined_flag=
  1.8760 +        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  1.8761 +  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  1.8762 +  ac_status=$?
  1.8763 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8764 +  (exit $ac_status); }
  1.8765 +        then
  1.8766 +	  archive_cmds_need_lc=no
  1.8767 +        else
  1.8768 +	  archive_cmds_need_lc=yes
  1.8769 +        fi
  1.8770 +        allow_undefined_flag=$lt_save_allow_undefined_flag
  1.8771 +      else
  1.8772 +        cat conftest.err 1>&5
  1.8773 +      fi
  1.8774 +      $rm conftest*
  1.8775 +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  1.8776 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
  1.8777 +      ;;
  1.8778 +    esac
  1.8779 +  fi
  1.8780 +  ;;
  1.8781 +esac
  1.8782 +
  1.8783 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  1.8784 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  1.8785 +library_names_spec=
  1.8786 +libname_spec='lib$name'
  1.8787 +soname_spec=
  1.8788 +shrext_cmds=".so"
  1.8789 +postinstall_cmds=
  1.8790 +postuninstall_cmds=
  1.8791 +finish_cmds=
  1.8792 +finish_eval=
  1.8793 +shlibpath_var=
  1.8794 +shlibpath_overrides_runpath=unknown
  1.8795 +version_type=none
  1.8796 +dynamic_linker="$host_os ld.so"
  1.8797 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  1.8798 +if test "$GCC" = yes; then
  1.8799 +  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  1.8800 +  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  1.8801 +    # if the path contains ";" then we assume it to be the separator
  1.8802 +    # otherwise default to the standard path separator (i.e. ":") - it is
  1.8803 +    # assumed that no part of a normal pathname contains ";" but that should
  1.8804 +    # okay in the real world where ";" in dirpaths is itself problematic.
  1.8805 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  1.8806 +  else
  1.8807 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  1.8808 +  fi
  1.8809 +else
  1.8810 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  1.8811 +fi
  1.8812 +need_lib_prefix=unknown
  1.8813 +hardcode_into_libs=no
  1.8814 +
  1.8815 +# when you set need_version to no, make sure it does not cause -set_version
  1.8816 +# flags to be left without arguments
  1.8817 +need_version=unknown
  1.8818 +
  1.8819 +case $host_os in
  1.8820 +aix3*)
  1.8821 +  version_type=linux
  1.8822 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  1.8823 +  shlibpath_var=LIBPATH
  1.8824 +
  1.8825 +  # AIX 3 has no versioning support, so we append a major version to the name.
  1.8826 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.8827 +  ;;
  1.8828 +
  1.8829 +aix4* | aix5*)
  1.8830 +  version_type=linux
  1.8831 +  need_lib_prefix=no
  1.8832 +  need_version=no
  1.8833 +  hardcode_into_libs=yes
  1.8834 +  if test "$host_cpu" = ia64; then
  1.8835 +    # AIX 5 supports IA64
  1.8836 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  1.8837 +    shlibpath_var=LD_LIBRARY_PATH
  1.8838 +  else
  1.8839 +    # With GCC up to 2.95.x, collect2 would create an import file
  1.8840 +    # for dependence libraries.  The import file would start with
  1.8841 +    # the line `#! .'.  This would cause the generated library to
  1.8842 +    # depend on `.', always an invalid library.  This was fixed in
  1.8843 +    # development snapshots of GCC prior to 3.0.
  1.8844 +    case $host_os in
  1.8845 +      aix4 | aix4.[01] | aix4.[01].*)
  1.8846 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  1.8847 +	   echo ' yes '
  1.8848 +	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  1.8849 +	:
  1.8850 +      else
  1.8851 +	can_build_shared=no
  1.8852 +      fi
  1.8853 +      ;;
  1.8854 +    esac
  1.8855 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  1.8856 +    # soname into executable. Probably we can add versioning support to
  1.8857 +    # collect2, so additional links can be useful in future.
  1.8858 +    if test "$aix_use_runtimelinking" = yes; then
  1.8859 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  1.8860 +      # instead of lib<name>.a to let people know that these are not
  1.8861 +      # typical AIX shared libraries.
  1.8862 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.8863 +    else
  1.8864 +      # We preserve .a as extension for shared libraries through AIX4.2
  1.8865 +      # and later when we are not doing run time linking.
  1.8866 +      library_names_spec='${libname}${release}.a $libname.a'
  1.8867 +      soname_spec='${libname}${release}${shared_ext}$major'
  1.8868 +    fi
  1.8869 +    shlibpath_var=LIBPATH
  1.8870 +  fi
  1.8871 +  ;;
  1.8872 +
  1.8873 +amigaos*)
  1.8874 +  library_names_spec='$libname.ixlibrary $libname.a'
  1.8875 +  # Create ${libname}_ixlibrary.a entries in /sys/libs.
  1.8876 +  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  1.8877 +  ;;
  1.8878 +
  1.8879 +beos*)
  1.8880 +  library_names_spec='${libname}${shared_ext}'
  1.8881 +  dynamic_linker="$host_os ld.so"
  1.8882 +  shlibpath_var=LIBRARY_PATH
  1.8883 +  ;;
  1.8884 +
  1.8885 +bsdi[45]*)
  1.8886 +  version_type=linux
  1.8887 +  need_version=no
  1.8888 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.8889 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.8890 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  1.8891 +  shlibpath_var=LD_LIBRARY_PATH
  1.8892 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  1.8893 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  1.8894 +  # the default ld.so.conf also contains /usr/contrib/lib and
  1.8895 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  1.8896 +  # libtool to hard-code these into programs
  1.8897 +  ;;
  1.8898 +
  1.8899 +cygwin* | mingw* | pw32*)
  1.8900 +  version_type=windows
  1.8901 +  shrext_cmds=".dll"
  1.8902 +  need_version=no
  1.8903 +  need_lib_prefix=no
  1.8904 +
  1.8905 +  case $GCC,$host_os in
  1.8906 +  yes,cygwin* | yes,mingw* | yes,pw32*)
  1.8907 +    library_names_spec='$libname.dll.a'
  1.8908 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  1.8909 +    postinstall_cmds='base_file=`basename \${file}`~
  1.8910 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  1.8911 +      dldir=$destdir/`dirname \$dlpath`~
  1.8912 +      test -d \$dldir || mkdir -p \$dldir~
  1.8913 +      $install_prog $dir/$dlname \$dldir/$dlname~
  1.8914 +      chmod a+x \$dldir/$dlname'
  1.8915 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  1.8916 +      dlpath=$dir/\$dldll~
  1.8917 +       $rm \$dlpath'
  1.8918 +    shlibpath_overrides_runpath=yes
  1.8919 +
  1.8920 +    case $host_os in
  1.8921 +    cygwin*)
  1.8922 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  1.8923 +      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  1.8924 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  1.8925 +      ;;
  1.8926 +    mingw*)
  1.8927 +      # MinGW DLLs use traditional 'lib' prefix
  1.8928 +      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  1.8929 +      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  1.8930 +      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  1.8931 +        # It is most probably a Windows format PATH printed by
  1.8932 +        # mingw gcc, but we are running on Cygwin. Gcc prints its search
  1.8933 +        # path with ; separators, and with drive letters. We can handle the
  1.8934 +        # drive letters (cygwin fileutils understands them), so leave them,
  1.8935 +        # especially as we might pass files found there to a mingw objdump,
  1.8936 +        # which wouldn't understand a cygwinified path. Ahh.
  1.8937 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  1.8938 +      else
  1.8939 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  1.8940 +      fi
  1.8941 +      ;;
  1.8942 +    pw32*)
  1.8943 +      # pw32 DLLs use 'pw' prefix rather than 'lib'
  1.8944 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  1.8945 +      ;;
  1.8946 +    esac
  1.8947 +    ;;
  1.8948 +
  1.8949 +  *)
  1.8950 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  1.8951 +    ;;
  1.8952 +  esac
  1.8953 +  dynamic_linker='Win32 ld.exe'
  1.8954 +  # FIXME: first we should search . and the directory the executable is in
  1.8955 +  shlibpath_var=PATH
  1.8956 +  ;;
  1.8957 +
  1.8958 +darwin* | rhapsody*)
  1.8959 +  dynamic_linker="$host_os dyld"
  1.8960 +  version_type=darwin
  1.8961 +  need_lib_prefix=no
  1.8962 +  need_version=no
  1.8963 +  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  1.8964 +  soname_spec='${libname}${release}${major}$shared_ext'
  1.8965 +  shlibpath_overrides_runpath=yes
  1.8966 +  shlibpath_var=DYLD_LIBRARY_PATH
  1.8967 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  1.8968 +  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  1.8969 +  if test "$GCC" = yes; then
  1.8970 +    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  1.8971 +  else
  1.8972 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  1.8973 +  fi
  1.8974 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  1.8975 +  ;;
  1.8976 +
  1.8977 +dgux*)
  1.8978 +  version_type=linux
  1.8979 +  need_lib_prefix=no
  1.8980 +  need_version=no
  1.8981 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  1.8982 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.8983 +  shlibpath_var=LD_LIBRARY_PATH
  1.8984 +  ;;
  1.8985 +
  1.8986 +freebsd1*)
  1.8987 +  dynamic_linker=no
  1.8988 +  ;;
  1.8989 +
  1.8990 +kfreebsd*-gnu)
  1.8991 +  version_type=linux
  1.8992 +  need_lib_prefix=no
  1.8993 +  need_version=no
  1.8994 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1.8995 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.8996 +  shlibpath_var=LD_LIBRARY_PATH
  1.8997 +  shlibpath_overrides_runpath=no
  1.8998 +  hardcode_into_libs=yes
  1.8999 +  dynamic_linker='GNU ld.so'
  1.9000 +  ;;
  1.9001 +
  1.9002 +freebsd* | dragonfly*)
  1.9003 +  # DragonFly does not have aout.  When/if they implement a new
  1.9004 +  # versioning mechanism, adjust this.
  1.9005 +  if test -x /usr/bin/objformat; then
  1.9006 +    objformat=`/usr/bin/objformat`
  1.9007 +  else
  1.9008 +    case $host_os in
  1.9009 +    freebsd[123]*) objformat=aout ;;
  1.9010 +    *) objformat=elf ;;
  1.9011 +    esac
  1.9012 +  fi
  1.9013 +  version_type=freebsd-$objformat
  1.9014 +  case $version_type in
  1.9015 +    freebsd-elf*)
  1.9016 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  1.9017 +      need_version=no
  1.9018 +      need_lib_prefix=no
  1.9019 +      ;;
  1.9020 +    freebsd-*)
  1.9021 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  1.9022 +      need_version=yes
  1.9023 +      ;;
  1.9024 +  esac
  1.9025 +  shlibpath_var=LD_LIBRARY_PATH
  1.9026 +  case $host_os in
  1.9027 +  freebsd2*)
  1.9028 +    shlibpath_overrides_runpath=yes
  1.9029 +    ;;
  1.9030 +  freebsd3.[01]* | freebsdelf3.[01]*)
  1.9031 +    shlibpath_overrides_runpath=yes
  1.9032 +    hardcode_into_libs=yes
  1.9033 +    ;;
  1.9034 +  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  1.9035 +  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  1.9036 +    shlibpath_overrides_runpath=no
  1.9037 +    hardcode_into_libs=yes
  1.9038 +    ;;
  1.9039 +  freebsd*) # from 4.6 on
  1.9040 +    shlibpath_overrides_runpath=yes
  1.9041 +    hardcode_into_libs=yes
  1.9042 +    ;;
  1.9043 +  esac
  1.9044 +  ;;
  1.9045 +
  1.9046 +gnu*)
  1.9047 +  version_type=linux
  1.9048 +  need_lib_prefix=no
  1.9049 +  need_version=no
  1.9050 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  1.9051 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9052 +  shlibpath_var=LD_LIBRARY_PATH
  1.9053 +  hardcode_into_libs=yes
  1.9054 +  ;;
  1.9055 +
  1.9056 +hpux9* | hpux10* | hpux11*)
  1.9057 +  # Give a soname corresponding to the major version so that dld.sl refuses to
  1.9058 +  # link against other versions.
  1.9059 +  version_type=sunos
  1.9060 +  need_lib_prefix=no
  1.9061 +  need_version=no
  1.9062 +  case $host_cpu in
  1.9063 +  ia64*)
  1.9064 +    shrext_cmds='.so'
  1.9065 +    hardcode_into_libs=yes
  1.9066 +    dynamic_linker="$host_os dld.so"
  1.9067 +    shlibpath_var=LD_LIBRARY_PATH
  1.9068 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  1.9069 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9070 +    soname_spec='${libname}${release}${shared_ext}$major'
  1.9071 +    if test "X$HPUX_IA64_MODE" = X32; then
  1.9072 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  1.9073 +    else
  1.9074 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  1.9075 +    fi
  1.9076 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  1.9077 +    ;;
  1.9078 +   hppa*64*)
  1.9079 +     shrext_cmds='.sl'
  1.9080 +     hardcode_into_libs=yes
  1.9081 +     dynamic_linker="$host_os dld.sl"
  1.9082 +     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  1.9083 +     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  1.9084 +     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9085 +     soname_spec='${libname}${release}${shared_ext}$major'
  1.9086 +     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  1.9087 +     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  1.9088 +     ;;
  1.9089 +   *)
  1.9090 +    shrext_cmds='.sl'
  1.9091 +    dynamic_linker="$host_os dld.sl"
  1.9092 +    shlibpath_var=SHLIB_PATH
  1.9093 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  1.9094 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9095 +    soname_spec='${libname}${release}${shared_ext}$major'
  1.9096 +    ;;
  1.9097 +  esac
  1.9098 +  # HP-UX runs *really* slowly unless shared libraries are mode 555.
  1.9099 +  postinstall_cmds='chmod 555 $lib'
  1.9100 +  ;;
  1.9101 +
  1.9102 +interix3*)
  1.9103 +  version_type=linux
  1.9104 +  need_lib_prefix=no
  1.9105 +  need_version=no
  1.9106 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1.9107 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9108 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  1.9109 +  shlibpath_var=LD_LIBRARY_PATH
  1.9110 +  shlibpath_overrides_runpath=no
  1.9111 +  hardcode_into_libs=yes
  1.9112 +  ;;
  1.9113 +
  1.9114 +irix5* | irix6* | nonstopux*)
  1.9115 +  case $host_os in
  1.9116 +    nonstopux*) version_type=nonstopux ;;
  1.9117 +    *)
  1.9118 +	if test "$lt_cv_prog_gnu_ld" = yes; then
  1.9119 +		version_type=linux
  1.9120 +	else
  1.9121 +		version_type=irix
  1.9122 +	fi ;;
  1.9123 +  esac
  1.9124 +  need_lib_prefix=no
  1.9125 +  need_version=no
  1.9126 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9127 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  1.9128 +  case $host_os in
  1.9129 +  irix5* | nonstopux*)
  1.9130 +    libsuff= shlibsuff=
  1.9131 +    ;;
  1.9132 +  *)
  1.9133 +    case $LD in # libtool.m4 will add one of these switches to LD
  1.9134 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  1.9135 +      libsuff= shlibsuff= libmagic=32-bit;;
  1.9136 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  1.9137 +      libsuff=32 shlibsuff=N32 libmagic=N32;;
  1.9138 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  1.9139 +      libsuff=64 shlibsuff=64 libmagic=64-bit;;
  1.9140 +    *) libsuff= shlibsuff= libmagic=never-match;;
  1.9141 +    esac
  1.9142 +    ;;
  1.9143 +  esac
  1.9144 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  1.9145 +  shlibpath_overrides_runpath=no
  1.9146 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  1.9147 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  1.9148 +  hardcode_into_libs=yes
  1.9149 +  ;;
  1.9150 +
  1.9151 +# No shared lib support for Linux oldld, aout, or coff.
  1.9152 +linux*oldld* | linux*aout* | linux*coff*)
  1.9153 +  dynamic_linker=no
  1.9154 +  ;;
  1.9155 +
  1.9156 +# This must be Linux ELF.
  1.9157 +linux*)
  1.9158 +  version_type=linux
  1.9159 +  need_lib_prefix=no
  1.9160 +  need_version=no
  1.9161 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9162 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9163 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  1.9164 +  shlibpath_var=LD_LIBRARY_PATH
  1.9165 +  shlibpath_overrides_runpath=no
  1.9166 +  # This implies no fast_install, which is unacceptable.
  1.9167 +  # Some rework will be needed to allow for fast_install
  1.9168 +  # before this can be enabled.
  1.9169 +  hardcode_into_libs=yes
  1.9170 +
  1.9171 +  # Append ld.so.conf contents to the search path
  1.9172 +  if test -f /etc/ld.so.conf; then
  1.9173 +    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  1.9174 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  1.9175 +  fi
  1.9176 +
  1.9177 +  # We used to test for /lib/ld.so.1 and disable shared libraries on
  1.9178 +  # powerpc, because MkLinux only supported shared libraries with the
  1.9179 +  # GNU dynamic linker.  Since this was broken with cross compilers,
  1.9180 +  # most powerpc-linux boxes support dynamic linking these days and
  1.9181 +  # people can always --disable-shared, the test was removed, and we
  1.9182 +  # assume the GNU/Linux dynamic linker is in use.
  1.9183 +  dynamic_linker='GNU/Linux ld.so'
  1.9184 +  ;;
  1.9185 +
  1.9186 +knetbsd*-gnu)
  1.9187 +  version_type=linux
  1.9188 +  need_lib_prefix=no
  1.9189 +  need_version=no
  1.9190 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1.9191 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9192 +  shlibpath_var=LD_LIBRARY_PATH
  1.9193 +  shlibpath_overrides_runpath=no
  1.9194 +  hardcode_into_libs=yes
  1.9195 +  dynamic_linker='GNU ld.so'
  1.9196 +  ;;
  1.9197 +
  1.9198 +netbsd*)
  1.9199 +  version_type=sunos
  1.9200 +  need_lib_prefix=no
  1.9201 +  need_version=no
  1.9202 +  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  1.9203 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  1.9204 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  1.9205 +    dynamic_linker='NetBSD (a.out) ld.so'
  1.9206 +  else
  1.9207 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1.9208 +    soname_spec='${libname}${release}${shared_ext}$major'
  1.9209 +    dynamic_linker='NetBSD ld.elf_so'
  1.9210 +  fi
  1.9211 +  shlibpath_var=LD_LIBRARY_PATH
  1.9212 +  shlibpath_overrides_runpath=yes
  1.9213 +  hardcode_into_libs=yes
  1.9214 +  ;;
  1.9215 +
  1.9216 +newsos6)
  1.9217 +  version_type=linux
  1.9218 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9219 +  shlibpath_var=LD_LIBRARY_PATH
  1.9220 +  shlibpath_overrides_runpath=yes
  1.9221 +  ;;
  1.9222 +
  1.9223 +nto-qnx*)
  1.9224 +  version_type=linux
  1.9225 +  need_lib_prefix=no
  1.9226 +  need_version=no
  1.9227 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9228 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9229 +  shlibpath_var=LD_LIBRARY_PATH
  1.9230 +  shlibpath_overrides_runpath=yes
  1.9231 +  ;;
  1.9232 +
  1.9233 +openbsd*)
  1.9234 +  version_type=sunos
  1.9235 +  sys_lib_dlsearch_path_spec="/usr/lib"
  1.9236 +  need_lib_prefix=no
  1.9237 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  1.9238 +  case $host_os in
  1.9239 +    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  1.9240 +    *)                         need_version=no  ;;
  1.9241 +  esac
  1.9242 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  1.9243 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  1.9244 +  shlibpath_var=LD_LIBRARY_PATH
  1.9245 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  1.9246 +    case $host_os in
  1.9247 +      openbsd2.[89] | openbsd2.[89].*)
  1.9248 +	shlibpath_overrides_runpath=no
  1.9249 +	;;
  1.9250 +      *)
  1.9251 +	shlibpath_overrides_runpath=yes
  1.9252 +	;;
  1.9253 +      esac
  1.9254 +  else
  1.9255 +    shlibpath_overrides_runpath=yes
  1.9256 +  fi
  1.9257 +  ;;
  1.9258 +
  1.9259 +os2*)
  1.9260 +  libname_spec='$name'
  1.9261 +  shrext_cmds=".dll"
  1.9262 +  need_lib_prefix=no
  1.9263 +  library_names_spec='$libname${shared_ext} $libname.a'
  1.9264 +  dynamic_linker='OS/2 ld.exe'
  1.9265 +  shlibpath_var=LIBPATH
  1.9266 +  ;;
  1.9267 +
  1.9268 +osf3* | osf4* | osf5*)
  1.9269 +  version_type=osf
  1.9270 +  need_lib_prefix=no
  1.9271 +  need_version=no
  1.9272 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9273 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9274 +  shlibpath_var=LD_LIBRARY_PATH
  1.9275 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  1.9276 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  1.9277 +  ;;
  1.9278 +
  1.9279 +solaris*)
  1.9280 +  version_type=linux
  1.9281 +  need_lib_prefix=no
  1.9282 +  need_version=no
  1.9283 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9284 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9285 +  shlibpath_var=LD_LIBRARY_PATH
  1.9286 +  shlibpath_overrides_runpath=yes
  1.9287 +  hardcode_into_libs=yes
  1.9288 +  # ldd complains unless libraries are executable
  1.9289 +  postinstall_cmds='chmod +x $lib'
  1.9290 +  ;;
  1.9291 +
  1.9292 +sunos4*)
  1.9293 +  version_type=sunos
  1.9294 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  1.9295 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  1.9296 +  shlibpath_var=LD_LIBRARY_PATH
  1.9297 +  shlibpath_overrides_runpath=yes
  1.9298 +  if test "$with_gnu_ld" = yes; then
  1.9299 +    need_lib_prefix=no
  1.9300 +  fi
  1.9301 +  need_version=yes
  1.9302 +  ;;
  1.9303 +
  1.9304 +sysv4 | sysv4.3*)
  1.9305 +  version_type=linux
  1.9306 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9307 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9308 +  shlibpath_var=LD_LIBRARY_PATH
  1.9309 +  case $host_vendor in
  1.9310 +    sni)
  1.9311 +      shlibpath_overrides_runpath=no
  1.9312 +      need_lib_prefix=no
  1.9313 +      export_dynamic_flag_spec='${wl}-Blargedynsym'
  1.9314 +      runpath_var=LD_RUN_PATH
  1.9315 +      ;;
  1.9316 +    siemens)
  1.9317 +      need_lib_prefix=no
  1.9318 +      ;;
  1.9319 +    motorola)
  1.9320 +      need_lib_prefix=no
  1.9321 +      need_version=no
  1.9322 +      shlibpath_overrides_runpath=no
  1.9323 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  1.9324 +      ;;
  1.9325 +  esac
  1.9326 +  ;;
  1.9327 +
  1.9328 +sysv4*MP*)
  1.9329 +  if test -d /usr/nec ;then
  1.9330 +    version_type=linux
  1.9331 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  1.9332 +    soname_spec='$libname${shared_ext}.$major'
  1.9333 +    shlibpath_var=LD_LIBRARY_PATH
  1.9334 +  fi
  1.9335 +  ;;
  1.9336 +
  1.9337 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  1.9338 +  version_type=freebsd-elf
  1.9339 +  need_lib_prefix=no
  1.9340 +  need_version=no
  1.9341 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  1.9342 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9343 +  shlibpath_var=LD_LIBRARY_PATH
  1.9344 +  hardcode_into_libs=yes
  1.9345 +  if test "$with_gnu_ld" = yes; then
  1.9346 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  1.9347 +    shlibpath_overrides_runpath=no
  1.9348 +  else
  1.9349 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  1.9350 +    shlibpath_overrides_runpath=yes
  1.9351 +    case $host_os in
  1.9352 +      sco3.2v5*)
  1.9353 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  1.9354 +	;;
  1.9355 +    esac
  1.9356 +  fi
  1.9357 +  sys_lib_dlsearch_path_spec='/usr/lib'
  1.9358 +  ;;
  1.9359 +
  1.9360 +uts4*)
  1.9361 +  version_type=linux
  1.9362 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1.9363 +  soname_spec='${libname}${release}${shared_ext}$major'
  1.9364 +  shlibpath_var=LD_LIBRARY_PATH
  1.9365 +  ;;
  1.9366 +
  1.9367 +*)
  1.9368 +  dynamic_linker=no
  1.9369 +  ;;
  1.9370 +esac
  1.9371 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  1.9372 +echo "${ECHO_T}$dynamic_linker" >&6; }
  1.9373 +test "$dynamic_linker" = no && can_build_shared=no
  1.9374 +
  1.9375 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  1.9376 +if test "$GCC" = yes; then
  1.9377 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  1.9378 +fi
  1.9379 +
  1.9380 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  1.9381 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  1.9382 +hardcode_action=
  1.9383 +if test -n "$hardcode_libdir_flag_spec" || \
  1.9384 +   test -n "$runpath_var" || \
  1.9385 +   test "X$hardcode_automatic" = "Xyes" ; then
  1.9386 +
  1.9387 +  # We can hardcode non-existant directories.
  1.9388 +  if test "$hardcode_direct" != no &&
  1.9389 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
  1.9390 +     # have to relink, otherwise we might link with an installed library
  1.9391 +     # when we should be linking with a yet-to-be-installed one
  1.9392 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
  1.9393 +     test "$hardcode_minus_L" != no; then
  1.9394 +    # Linking always hardcodes the temporary library directory.
  1.9395 +    hardcode_action=relink
  1.9396 +  else
  1.9397 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
  1.9398 +    hardcode_action=immediate
  1.9399 +  fi
  1.9400 +else
  1.9401 +  # We cannot hardcode anything, or else we can only hardcode existing
  1.9402 +  # directories.
  1.9403 +  hardcode_action=unsupported
  1.9404 +fi
  1.9405 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
  1.9406 +echo "${ECHO_T}$hardcode_action" >&6; }
  1.9407 +
  1.9408 +if test "$hardcode_action" = relink; then
  1.9409 +  # Fast installation is not supported
  1.9410 +  enable_fast_install=no
  1.9411 +elif test "$shlibpath_overrides_runpath" = yes ||
  1.9412 +     test "$enable_shared" = no; then
  1.9413 +  # Fast installation is not necessary
  1.9414 +  enable_fast_install=needless
  1.9415 +fi
  1.9416 +
  1.9417 +striplib=
  1.9418 +old_striplib=
  1.9419 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  1.9420 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
  1.9421 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  1.9422 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  1.9423 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  1.9424 +  { echo "$as_me:$LINENO: result: yes" >&5
  1.9425 +echo "${ECHO_T}yes" >&6; }
  1.9426 +else
  1.9427 +# FIXME - insert some real tests, host_os isn't really good enough
  1.9428 +  case $host_os in
  1.9429 +   darwin*)
  1.9430 +       if test -n "$STRIP" ; then
  1.9431 +         striplib="$STRIP -x"
  1.9432 +         { echo "$as_me:$LINENO: result: yes" >&5
  1.9433 +echo "${ECHO_T}yes" >&6; }
  1.9434 +       else
  1.9435 +  { echo "$as_me:$LINENO: result: no" >&5
  1.9436 +echo "${ECHO_T}no" >&6; }
  1.9437 +fi
  1.9438 +       ;;
  1.9439 +   *)
  1.9440 +  { echo "$as_me:$LINENO: result: no" >&5
  1.9441 +echo "${ECHO_T}no" >&6; }
  1.9442 +    ;;
  1.9443 +  esac
  1.9444 +fi
  1.9445 +
  1.9446 +if test "x$enable_dlopen" != xyes; then
  1.9447 +  enable_dlopen=unknown
  1.9448 +  enable_dlopen_self=unknown
  1.9449 +  enable_dlopen_self_static=unknown
  1.9450 +else
  1.9451 +  lt_cv_dlopen=no
  1.9452 +  lt_cv_dlopen_libs=
  1.9453 +
  1.9454 +  case $host_os in
  1.9455 +  beos*)
  1.9456 +    lt_cv_dlopen="load_add_on"
  1.9457 +    lt_cv_dlopen_libs=
  1.9458 +    lt_cv_dlopen_self=yes
  1.9459 +    ;;
  1.9460 +
  1.9461 +  mingw* | pw32*)
  1.9462 +    lt_cv_dlopen="LoadLibrary"
  1.9463 +    lt_cv_dlopen_libs=
  1.9464 +   ;;
  1.9465 +
  1.9466 +  cygwin*)
  1.9467 +    lt_cv_dlopen="dlopen"
  1.9468 +    lt_cv_dlopen_libs=
  1.9469 +   ;;
  1.9470 +
  1.9471 +  darwin*)
  1.9472 +  # if libdl is installed we need to link against it
  1.9473 +    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  1.9474 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  1.9475 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  1.9476 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.9477 +else
  1.9478 +  ac_check_lib_save_LIBS=$LIBS
  1.9479 +LIBS="-ldl  $LIBS"
  1.9480 +cat >conftest.$ac_ext <<_ACEOF
  1.9481 +/* confdefs.h.  */
  1.9482 +_ACEOF
  1.9483 +cat confdefs.h >>conftest.$ac_ext
  1.9484 +cat >>conftest.$ac_ext <<_ACEOF
  1.9485 +/* end confdefs.h.  */
  1.9486 +
  1.9487 +/* Override any GCC internal prototype to avoid an error.
  1.9488 +   Use char because int might match the return type of a GCC
  1.9489 +   builtin and then its argument prototype would still apply.  */
  1.9490 +#ifdef __cplusplus
  1.9491 +extern "C"
  1.9492 +#endif
  1.9493 +char dlopen ();
  1.9494 +int
  1.9495 +main ()
  1.9496 +{
  1.9497 +return dlopen ();
  1.9498 +  ;
  1.9499 +  return 0;
  1.9500 +}
  1.9501 +_ACEOF
  1.9502 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.9503 +if { (ac_try="$ac_link"
  1.9504 +case "(($ac_try" in
  1.9505 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9506 +  *) ac_try_echo=$ac_try;;
  1.9507 +esac
  1.9508 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9509 +  (eval "$ac_link") 2>conftest.er1
  1.9510 +  ac_status=$?
  1.9511 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.9512 +  rm -f conftest.er1
  1.9513 +  cat conftest.err >&5
  1.9514 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9515 +  (exit $ac_status); } &&
  1.9516 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.9517 +  { (case "(($ac_try" in
  1.9518 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9519 +  *) ac_try_echo=$ac_try;;
  1.9520 +esac
  1.9521 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9522 +  (eval "$ac_try") 2>&5
  1.9523 +  ac_status=$?
  1.9524 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9525 +  (exit $ac_status); }; } &&
  1.9526 +	 { ac_try='test -s conftest$ac_exeext'
  1.9527 +  { (case "(($ac_try" in
  1.9528 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9529 +  *) ac_try_echo=$ac_try;;
  1.9530 +esac
  1.9531 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9532 +  (eval "$ac_try") 2>&5
  1.9533 +  ac_status=$?
  1.9534 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9535 +  (exit $ac_status); }; }; then
  1.9536 +  ac_cv_lib_dl_dlopen=yes
  1.9537 +else
  1.9538 +  echo "$as_me: failed program was:" >&5
  1.9539 +sed 's/^/| /' conftest.$ac_ext >&5
  1.9540 +
  1.9541 +	ac_cv_lib_dl_dlopen=no
  1.9542 +fi
  1.9543 +
  1.9544 +rm -f core conftest.err conftest.$ac_objext \
  1.9545 +      conftest$ac_exeext conftest.$ac_ext
  1.9546 +LIBS=$ac_check_lib_save_LIBS
  1.9547 +fi
  1.9548 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  1.9549 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  1.9550 +if test $ac_cv_lib_dl_dlopen = yes; then
  1.9551 +  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  1.9552 +else
  1.9553 +
  1.9554 +    lt_cv_dlopen="dyld"
  1.9555 +    lt_cv_dlopen_libs=
  1.9556 +    lt_cv_dlopen_self=yes
  1.9557 +
  1.9558 +fi
  1.9559 +
  1.9560 +   ;;
  1.9561 +
  1.9562 +  *)
  1.9563 +    { echo "$as_me:$LINENO: checking for shl_load" >&5
  1.9564 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
  1.9565 +if test "${ac_cv_func_shl_load+set}" = set; then
  1.9566 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.9567 +else
  1.9568 +  cat >conftest.$ac_ext <<_ACEOF
  1.9569 +/* confdefs.h.  */
  1.9570 +_ACEOF
  1.9571 +cat confdefs.h >>conftest.$ac_ext
  1.9572 +cat >>conftest.$ac_ext <<_ACEOF
  1.9573 +/* end confdefs.h.  */
  1.9574 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  1.9575 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1.9576 +#define shl_load innocuous_shl_load
  1.9577 +
  1.9578 +/* System header to define __stub macros and hopefully few prototypes,
  1.9579 +    which can conflict with char shl_load (); below.
  1.9580 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.9581 +    <limits.h> exists even on freestanding compilers.  */
  1.9582 +
  1.9583 +#ifdef __STDC__
  1.9584 +# include <limits.h>
  1.9585 +#else
  1.9586 +# include <assert.h>
  1.9587 +#endif
  1.9588 +
  1.9589 +#undef shl_load
  1.9590 +
  1.9591 +/* Override any GCC internal prototype to avoid an error.
  1.9592 +   Use char because int might match the return type of a GCC
  1.9593 +   builtin and then its argument prototype would still apply.  */
  1.9594 +#ifdef __cplusplus
  1.9595 +extern "C"
  1.9596 +#endif
  1.9597 +char shl_load ();
  1.9598 +/* The GNU C library defines this for functions which it implements
  1.9599 +    to always fail with ENOSYS.  Some functions are actually named
  1.9600 +    something starting with __ and the normal name is an alias.  */
  1.9601 +#if defined __stub_shl_load || defined __stub___shl_load
  1.9602 +choke me
  1.9603 +#endif
  1.9604 +
  1.9605 +int
  1.9606 +main ()
  1.9607 +{
  1.9608 +return shl_load ();
  1.9609 +  ;
  1.9610 +  return 0;
  1.9611 +}
  1.9612 +_ACEOF
  1.9613 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.9614 +if { (ac_try="$ac_link"
  1.9615 +case "(($ac_try" in
  1.9616 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9617 +  *) ac_try_echo=$ac_try;;
  1.9618 +esac
  1.9619 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9620 +  (eval "$ac_link") 2>conftest.er1
  1.9621 +  ac_status=$?
  1.9622 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.9623 +  rm -f conftest.er1
  1.9624 +  cat conftest.err >&5
  1.9625 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9626 +  (exit $ac_status); } &&
  1.9627 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.9628 +  { (case "(($ac_try" in
  1.9629 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9630 +  *) ac_try_echo=$ac_try;;
  1.9631 +esac
  1.9632 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9633 +  (eval "$ac_try") 2>&5
  1.9634 +  ac_status=$?
  1.9635 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9636 +  (exit $ac_status); }; } &&
  1.9637 +	 { ac_try='test -s conftest$ac_exeext'
  1.9638 +  { (case "(($ac_try" in
  1.9639 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9640 +  *) ac_try_echo=$ac_try;;
  1.9641 +esac
  1.9642 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9643 +  (eval "$ac_try") 2>&5
  1.9644 +  ac_status=$?
  1.9645 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9646 +  (exit $ac_status); }; }; then
  1.9647 +  ac_cv_func_shl_load=yes
  1.9648 +else
  1.9649 +  echo "$as_me: failed program was:" >&5
  1.9650 +sed 's/^/| /' conftest.$ac_ext >&5
  1.9651 +
  1.9652 +	ac_cv_func_shl_load=no
  1.9653 +fi
  1.9654 +
  1.9655 +rm -f core conftest.err conftest.$ac_objext \
  1.9656 +      conftest$ac_exeext conftest.$ac_ext
  1.9657 +fi
  1.9658 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  1.9659 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
  1.9660 +if test $ac_cv_func_shl_load = yes; then
  1.9661 +  lt_cv_dlopen="shl_load"
  1.9662 +else
  1.9663 +  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  1.9664 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
  1.9665 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  1.9666 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.9667 +else
  1.9668 +  ac_check_lib_save_LIBS=$LIBS
  1.9669 +LIBS="-ldld  $LIBS"
  1.9670 +cat >conftest.$ac_ext <<_ACEOF
  1.9671 +/* confdefs.h.  */
  1.9672 +_ACEOF
  1.9673 +cat confdefs.h >>conftest.$ac_ext
  1.9674 +cat >>conftest.$ac_ext <<_ACEOF
  1.9675 +/* end confdefs.h.  */
  1.9676 +
  1.9677 +/* Override any GCC internal prototype to avoid an error.
  1.9678 +   Use char because int might match the return type of a GCC
  1.9679 +   builtin and then its argument prototype would still apply.  */
  1.9680 +#ifdef __cplusplus
  1.9681 +extern "C"
  1.9682 +#endif
  1.9683 +char shl_load ();
  1.9684 +int
  1.9685 +main ()
  1.9686 +{
  1.9687 +return shl_load ();
  1.9688 +  ;
  1.9689 +  return 0;
  1.9690 +}
  1.9691 +_ACEOF
  1.9692 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.9693 +if { (ac_try="$ac_link"
  1.9694 +case "(($ac_try" in
  1.9695 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9696 +  *) ac_try_echo=$ac_try;;
  1.9697 +esac
  1.9698 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9699 +  (eval "$ac_link") 2>conftest.er1
  1.9700 +  ac_status=$?
  1.9701 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.9702 +  rm -f conftest.er1
  1.9703 +  cat conftest.err >&5
  1.9704 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9705 +  (exit $ac_status); } &&
  1.9706 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.9707 +  { (case "(($ac_try" in
  1.9708 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9709 +  *) ac_try_echo=$ac_try;;
  1.9710 +esac
  1.9711 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9712 +  (eval "$ac_try") 2>&5
  1.9713 +  ac_status=$?
  1.9714 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9715 +  (exit $ac_status); }; } &&
  1.9716 +	 { ac_try='test -s conftest$ac_exeext'
  1.9717 +  { (case "(($ac_try" in
  1.9718 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9719 +  *) ac_try_echo=$ac_try;;
  1.9720 +esac
  1.9721 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9722 +  (eval "$ac_try") 2>&5
  1.9723 +  ac_status=$?
  1.9724 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9725 +  (exit $ac_status); }; }; then
  1.9726 +  ac_cv_lib_dld_shl_load=yes
  1.9727 +else
  1.9728 +  echo "$as_me: failed program was:" >&5
  1.9729 +sed 's/^/| /' conftest.$ac_ext >&5
  1.9730 +
  1.9731 +	ac_cv_lib_dld_shl_load=no
  1.9732 +fi
  1.9733 +
  1.9734 +rm -f core conftest.err conftest.$ac_objext \
  1.9735 +      conftest$ac_exeext conftest.$ac_ext
  1.9736 +LIBS=$ac_check_lib_save_LIBS
  1.9737 +fi
  1.9738 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  1.9739 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
  1.9740 +if test $ac_cv_lib_dld_shl_load = yes; then
  1.9741 +  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
  1.9742 +else
  1.9743 +  { echo "$as_me:$LINENO: checking for dlopen" >&5
  1.9744 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
  1.9745 +if test "${ac_cv_func_dlopen+set}" = set; then
  1.9746 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.9747 +else
  1.9748 +  cat >conftest.$ac_ext <<_ACEOF
  1.9749 +/* confdefs.h.  */
  1.9750 +_ACEOF
  1.9751 +cat confdefs.h >>conftest.$ac_ext
  1.9752 +cat >>conftest.$ac_ext <<_ACEOF
  1.9753 +/* end confdefs.h.  */
  1.9754 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  1.9755 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1.9756 +#define dlopen innocuous_dlopen
  1.9757 +
  1.9758 +/* System header to define __stub macros and hopefully few prototypes,
  1.9759 +    which can conflict with char dlopen (); below.
  1.9760 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.9761 +    <limits.h> exists even on freestanding compilers.  */
  1.9762 +
  1.9763 +#ifdef __STDC__
  1.9764 +# include <limits.h>
  1.9765 +#else
  1.9766 +# include <assert.h>
  1.9767 +#endif
  1.9768 +
  1.9769 +#undef dlopen
  1.9770 +
  1.9771 +/* Override any GCC internal prototype to avoid an error.
  1.9772 +   Use char because int might match the return type of a GCC
  1.9773 +   builtin and then its argument prototype would still apply.  */
  1.9774 +#ifdef __cplusplus
  1.9775 +extern "C"
  1.9776 +#endif
  1.9777 +char dlopen ();
  1.9778 +/* The GNU C library defines this for functions which it implements
  1.9779 +    to always fail with ENOSYS.  Some functions are actually named
  1.9780 +    something starting with __ and the normal name is an alias.  */
  1.9781 +#if defined __stub_dlopen || defined __stub___dlopen
  1.9782 +choke me
  1.9783 +#endif
  1.9784 +
  1.9785 +int
  1.9786 +main ()
  1.9787 +{
  1.9788 +return dlopen ();
  1.9789 +  ;
  1.9790 +  return 0;
  1.9791 +}
  1.9792 +_ACEOF
  1.9793 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.9794 +if { (ac_try="$ac_link"
  1.9795 +case "(($ac_try" in
  1.9796 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9797 +  *) ac_try_echo=$ac_try;;
  1.9798 +esac
  1.9799 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9800 +  (eval "$ac_link") 2>conftest.er1
  1.9801 +  ac_status=$?
  1.9802 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.9803 +  rm -f conftest.er1
  1.9804 +  cat conftest.err >&5
  1.9805 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9806 +  (exit $ac_status); } &&
  1.9807 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.9808 +  { (case "(($ac_try" in
  1.9809 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9810 +  *) ac_try_echo=$ac_try;;
  1.9811 +esac
  1.9812 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9813 +  (eval "$ac_try") 2>&5
  1.9814 +  ac_status=$?
  1.9815 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9816 +  (exit $ac_status); }; } &&
  1.9817 +	 { ac_try='test -s conftest$ac_exeext'
  1.9818 +  { (case "(($ac_try" in
  1.9819 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9820 +  *) ac_try_echo=$ac_try;;
  1.9821 +esac
  1.9822 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9823 +  (eval "$ac_try") 2>&5
  1.9824 +  ac_status=$?
  1.9825 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9826 +  (exit $ac_status); }; }; then
  1.9827 +  ac_cv_func_dlopen=yes
  1.9828 +else
  1.9829 +  echo "$as_me: failed program was:" >&5
  1.9830 +sed 's/^/| /' conftest.$ac_ext >&5
  1.9831 +
  1.9832 +	ac_cv_func_dlopen=no
  1.9833 +fi
  1.9834 +
  1.9835 +rm -f core conftest.err conftest.$ac_objext \
  1.9836 +      conftest$ac_exeext conftest.$ac_ext
  1.9837 +fi
  1.9838 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  1.9839 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
  1.9840 +if test $ac_cv_func_dlopen = yes; then
  1.9841 +  lt_cv_dlopen="dlopen"
  1.9842 +else
  1.9843 +  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  1.9844 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  1.9845 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  1.9846 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.9847 +else
  1.9848 +  ac_check_lib_save_LIBS=$LIBS
  1.9849 +LIBS="-ldl  $LIBS"
  1.9850 +cat >conftest.$ac_ext <<_ACEOF
  1.9851 +/* confdefs.h.  */
  1.9852 +_ACEOF
  1.9853 +cat confdefs.h >>conftest.$ac_ext
  1.9854 +cat >>conftest.$ac_ext <<_ACEOF
  1.9855 +/* end confdefs.h.  */
  1.9856 +
  1.9857 +/* Override any GCC internal prototype to avoid an error.
  1.9858 +   Use char because int might match the return type of a GCC
  1.9859 +   builtin and then its argument prototype would still apply.  */
  1.9860 +#ifdef __cplusplus
  1.9861 +extern "C"
  1.9862 +#endif
  1.9863 +char dlopen ();
  1.9864 +int
  1.9865 +main ()
  1.9866 +{
  1.9867 +return dlopen ();
  1.9868 +  ;
  1.9869 +  return 0;
  1.9870 +}
  1.9871 +_ACEOF
  1.9872 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.9873 +if { (ac_try="$ac_link"
  1.9874 +case "(($ac_try" in
  1.9875 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9876 +  *) ac_try_echo=$ac_try;;
  1.9877 +esac
  1.9878 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9879 +  (eval "$ac_link") 2>conftest.er1
  1.9880 +  ac_status=$?
  1.9881 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.9882 +  rm -f conftest.er1
  1.9883 +  cat conftest.err >&5
  1.9884 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9885 +  (exit $ac_status); } &&
  1.9886 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.9887 +  { (case "(($ac_try" in
  1.9888 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9889 +  *) ac_try_echo=$ac_try;;
  1.9890 +esac
  1.9891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9892 +  (eval "$ac_try") 2>&5
  1.9893 +  ac_status=$?
  1.9894 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9895 +  (exit $ac_status); }; } &&
  1.9896 +	 { ac_try='test -s conftest$ac_exeext'
  1.9897 +  { (case "(($ac_try" in
  1.9898 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9899 +  *) ac_try_echo=$ac_try;;
  1.9900 +esac
  1.9901 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9902 +  (eval "$ac_try") 2>&5
  1.9903 +  ac_status=$?
  1.9904 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9905 +  (exit $ac_status); }; }; then
  1.9906 +  ac_cv_lib_dl_dlopen=yes
  1.9907 +else
  1.9908 +  echo "$as_me: failed program was:" >&5
  1.9909 +sed 's/^/| /' conftest.$ac_ext >&5
  1.9910 +
  1.9911 +	ac_cv_lib_dl_dlopen=no
  1.9912 +fi
  1.9913 +
  1.9914 +rm -f core conftest.err conftest.$ac_objext \
  1.9915 +      conftest$ac_exeext conftest.$ac_ext
  1.9916 +LIBS=$ac_check_lib_save_LIBS
  1.9917 +fi
  1.9918 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  1.9919 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  1.9920 +if test $ac_cv_lib_dl_dlopen = yes; then
  1.9921 +  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  1.9922 +else
  1.9923 +  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  1.9924 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
  1.9925 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  1.9926 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.9927 +else
  1.9928 +  ac_check_lib_save_LIBS=$LIBS
  1.9929 +LIBS="-lsvld  $LIBS"
  1.9930 +cat >conftest.$ac_ext <<_ACEOF
  1.9931 +/* confdefs.h.  */
  1.9932 +_ACEOF
  1.9933 +cat confdefs.h >>conftest.$ac_ext
  1.9934 +cat >>conftest.$ac_ext <<_ACEOF
  1.9935 +/* end confdefs.h.  */
  1.9936 +
  1.9937 +/* Override any GCC internal prototype to avoid an error.
  1.9938 +   Use char because int might match the return type of a GCC
  1.9939 +   builtin and then its argument prototype would still apply.  */
  1.9940 +#ifdef __cplusplus
  1.9941 +extern "C"
  1.9942 +#endif
  1.9943 +char dlopen ();
  1.9944 +int
  1.9945 +main ()
  1.9946 +{
  1.9947 +return dlopen ();
  1.9948 +  ;
  1.9949 +  return 0;
  1.9950 +}
  1.9951 +_ACEOF
  1.9952 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.9953 +if { (ac_try="$ac_link"
  1.9954 +case "(($ac_try" in
  1.9955 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9956 +  *) ac_try_echo=$ac_try;;
  1.9957 +esac
  1.9958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9959 +  (eval "$ac_link") 2>conftest.er1
  1.9960 +  ac_status=$?
  1.9961 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.9962 +  rm -f conftest.er1
  1.9963 +  cat conftest.err >&5
  1.9964 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9965 +  (exit $ac_status); } &&
  1.9966 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1.9967 +  { (case "(($ac_try" in
  1.9968 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9969 +  *) ac_try_echo=$ac_try;;
  1.9970 +esac
  1.9971 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9972 +  (eval "$ac_try") 2>&5
  1.9973 +  ac_status=$?
  1.9974 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9975 +  (exit $ac_status); }; } &&
  1.9976 +	 { ac_try='test -s conftest$ac_exeext'
  1.9977 +  { (case "(($ac_try" in
  1.9978 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.9979 +  *) ac_try_echo=$ac_try;;
  1.9980 +esac
  1.9981 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.9982 +  (eval "$ac_try") 2>&5
  1.9983 +  ac_status=$?
  1.9984 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9985 +  (exit $ac_status); }; }; then
  1.9986 +  ac_cv_lib_svld_dlopen=yes
  1.9987 +else
  1.9988 +  echo "$as_me: failed program was:" >&5
  1.9989 +sed 's/^/| /' conftest.$ac_ext >&5
  1.9990 +
  1.9991 +	ac_cv_lib_svld_dlopen=no
  1.9992 +fi
  1.9993 +
  1.9994 +rm -f core conftest.err conftest.$ac_objext \
  1.9995 +      conftest$ac_exeext conftest.$ac_ext
  1.9996 +LIBS=$ac_check_lib_save_LIBS
  1.9997 +fi
  1.9998 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  1.9999 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
 1.10000 +if test $ac_cv_lib_svld_dlopen = yes; then
 1.10001 +  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 1.10002 +else
 1.10003 +  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 1.10004 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 1.10005 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 1.10006 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.10007 +else
 1.10008 +  ac_check_lib_save_LIBS=$LIBS
 1.10009 +LIBS="-ldld  $LIBS"
 1.10010 +cat >conftest.$ac_ext <<_ACEOF
 1.10011 +/* confdefs.h.  */
 1.10012 +_ACEOF
 1.10013 +cat confdefs.h >>conftest.$ac_ext
 1.10014 +cat >>conftest.$ac_ext <<_ACEOF
 1.10015 +/* end confdefs.h.  */
 1.10016 +
 1.10017 +/* Override any GCC internal prototype to avoid an error.
 1.10018 +   Use char because int might match the return type of a GCC
 1.10019 +   builtin and then its argument prototype would still apply.  */
 1.10020 +#ifdef __cplusplus
 1.10021 +extern "C"
 1.10022 +#endif
 1.10023 +char dld_link ();
 1.10024 +int
 1.10025 +main ()
 1.10026 +{
 1.10027 +return dld_link ();
 1.10028 +  ;
 1.10029 +  return 0;
 1.10030 +}
 1.10031 +_ACEOF
 1.10032 +rm -f conftest.$ac_objext conftest$ac_exeext
 1.10033 +if { (ac_try="$ac_link"
 1.10034 +case "(($ac_try" in
 1.10035 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.10036 +  *) ac_try_echo=$ac_try;;
 1.10037 +esac
 1.10038 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.10039 +  (eval "$ac_link") 2>conftest.er1
 1.10040 +  ac_status=$?
 1.10041 +  grep -v '^ *+' conftest.er1 >conftest.err
 1.10042 +  rm -f conftest.er1
 1.10043 +  cat conftest.err >&5
 1.10044 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.10045 +  (exit $ac_status); } &&
 1.10046 +	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 1.10047 +  { (case "(($ac_try" in
 1.10048 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.10049 +  *) ac_try_echo=$ac_try;;
 1.10050 +esac
 1.10051 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.10052 +  (eval "$ac_try") 2>&5
 1.10053 +  ac_status=$?
 1.10054 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.10055 +  (exit $ac_status); }; } &&
 1.10056 +	 { ac_try='test -s conftest$ac_exeext'
 1.10057 +  { (case "(($ac_try" in
 1.10058 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.10059 +  *) ac_try_echo=$ac_try;;
 1.10060 +esac
 1.10061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.10062 +  (eval "$ac_try") 2>&5
 1.10063 +  ac_status=$?
 1.10064 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.10065 +  (exit $ac_status); }; }; then
 1.10066 +  ac_cv_lib_dld_dld_link=yes
 1.10067 +else
 1.10068 +  echo "$as_me: failed program was:" >&5
 1.10069 +sed 's/^/| /' conftest.$ac_ext >&5
 1.10070 +
 1.10071 +	ac_cv_lib_dld_dld_link=no
 1.10072 +fi
 1.10073 +
 1.10074 +rm -f core conftest.err conftest.$ac_objext \
 1.10075 +      conftest$ac_exeext conftest.$ac_ext
 1.10076 +LIBS=$ac_check_lib_save_LIBS
 1.10077 +fi
 1.10078 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 1.10079 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
 1.10080 +if test $ac_cv_lib_dld_dld_link = yes; then
 1.10081 +  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 1.10082 +fi
 1.10083 +
 1.10084 +
 1.10085 +fi
 1.10086 +
 1.10087 +
 1.10088 +fi
 1.10089 +
 1.10090 +
 1.10091 +fi
 1.10092 +
 1.10093 +
 1.10094 +fi
 1.10095 +
 1.10096 +
 1.10097 +fi
 1.10098 +
 1.10099 +    ;;
 1.10100 +  esac
 1.10101 +
 1.10102 +  if test "x$lt_cv_dlopen" != xno; then
 1.10103 +    enable_dlopen=yes
 1.10104 +  else
 1.10105 +    enable_dlopen=no
 1.10106 +  fi
 1.10107 +
 1.10108 +  case $lt_cv_dlopen in
 1.10109 +  dlopen)
 1.10110 +    save_CPPFLAGS="$CPPFLAGS"
 1.10111 +    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 1.10112 +
 1.10113 +    save_LDFLAGS="$LDFLAGS"
 1.10114 +    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 1.10115 +
 1.10116 +    save_LIBS="$LIBS"
 1.10117 +    LIBS="$lt_cv_dlopen_libs $LIBS"
 1.10118 +
 1.10119 +    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 1.10120 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 1.10121 +if test "${lt_cv_dlopen_self+set}" = set; then
 1.10122 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.10123 +else
 1.10124 +  	  if test "$cross_compiling" = yes; then :
 1.10125 +  lt_cv_dlopen_self=cross
 1.10126 +else
 1.10127 +  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 1.10128 +  lt_status=$lt_dlunknown
 1.10129 +  cat > conftest.$ac_ext <<EOF
 1.10130 +#line 10127 "configure"
 1.10131 +#include "confdefs.h"
 1.10132 +
 1.10133 +#if HAVE_DLFCN_H
 1.10134 +#include <dlfcn.h>
 1.10135 +#endif
 1.10136 +
 1.10137 +#include <stdio.h>
 1.10138 +
 1.10139 +#ifdef RTLD_GLOBAL
 1.10140 +#  define LT_DLGLOBAL		RTLD_GLOBAL
 1.10141 +#else
 1.10142 +#  ifdef DL_GLOBAL
 1.10143 +#    define LT_DLGLOBAL		DL_GLOBAL
 1.10144 +#  else
 1.10145 +#    define LT_DLGLOBAL		0
 1.10146 +#  endif
 1.10147 +#endif
 1.10148 +
 1.10149 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 1.10150 +   find out it does not work in some platform. */
 1.10151 +#ifndef LT_DLLAZY_OR_NOW
 1.10152 +#  ifdef RTLD_LAZY
 1.10153 +#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 1.10154 +#  else
 1.10155 +#    ifdef DL_LAZY
 1.10156 +#      define LT_DLLAZY_OR_NOW		DL_LAZY
 1.10157 +#    else
 1.10158 +#      ifdef RTLD_NOW
 1.10159 +#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 1.10160 +#      else
 1.10161 +#        ifdef DL_NOW
 1.10162 +#          define LT_DLLAZY_OR_NOW	DL_NOW
 1.10163 +#        else
 1.10164 +#          define LT_DLLAZY_OR_NOW	0
 1.10165 +#        endif
 1.10166 +#      endif
 1.10167 +#    endif
 1.10168 +#  endif
 1.10169 +#endif
 1.10170 +
 1.10171 +#ifdef __cplusplus
 1.10172 +extern "C" void exit (int);
 1.10173 +#endif
 1.10174 +
 1.10175 +void fnord() { int i=42;}
 1.10176 +int main ()
 1.10177 +{
 1.10178 +  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 1.10179 +  int status = $lt_dlunknown;
 1.10180 +
 1.10181 +  if (self)
 1.10182 +    {
 1.10183 +      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 1.10184 +      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 1.10185 +      /* dlclose (self); */
 1.10186 +    }
 1.10187 +  else
 1.10188 +    puts (dlerror ());
 1.10189 +
 1.10190 +    exit (status);
 1.10191 +}
 1.10192 +EOF
 1.10193 +  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 1.10194 +  (eval $ac_link) 2>&5
 1.10195 +  ac_status=$?
 1.10196 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.10197 +  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 1.10198 +    (./conftest; exit; ) >&5 2>/dev/null
 1.10199 +    lt_status=$?
 1.10200 +    case x$lt_status in
 1.10201 +      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 1.10202 +      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 1.10203 +      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 1.10204 +    esac
 1.10205 +  else :
 1.10206 +    # compilation failed
 1.10207 +    lt_cv_dlopen_self=no
 1.10208 +  fi
 1.10209 +fi
 1.10210 +rm -fr conftest*
 1.10211 +
 1.10212 +
 1.10213 +fi
 1.10214 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 1.10215 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 1.10216 +
 1.10217 +    if test "x$lt_cv_dlopen_self" = xyes; then
 1.10218 +      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 1.10219 +      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 1.10220 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 1.10221 +if test "${lt_cv_dlopen_self_static+set}" = set; then
 1.10222 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.10223 +else
 1.10224 +  	  if test "$cross_compiling" = yes; then :
 1.10225 +  lt_cv_dlopen_self_static=cross
 1.10226 +else
 1.10227 +  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 1.10228 +  lt_status=$lt_dlunknown
 1.10229 +  cat > conftest.$ac_ext <<EOF
 1.10230 +#line 10227 "configure"
 1.10231 +#include "confdefs.h"
 1.10232 +
 1.10233 +#if HAVE_DLFCN_H
 1.10234 +#include <dlfcn.h>
 1.10235 +#endif
 1.10236 +
 1.10237 +#include <stdio.h>
 1.10238 +
 1.10239 +#ifdef RTLD_GLOBAL
 1.10240 +#  define LT_DLGLOBAL		RTLD_GLOBAL
 1.10241 +#else
 1.10242 +#  ifdef DL_GLOBAL
 1.10243 +#    define LT_DLGLOBAL		DL_GLOBAL
 1.10244 +#  else
 1.10245 +#    define LT_DLGLOBAL		0
 1.10246 +#  endif
 1.10247 +#endif
 1.10248 +
 1.10249 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 1.10250 +   find out it does not work in some platform. */
 1.10251 +#ifndef LT_DLLAZY_OR_NOW
 1.10252 +#  ifdef RTLD_LAZY
 1.10253 +#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 1.10254 +#  else
 1.10255 +#    ifdef DL_LAZY
 1.10256 +#      define LT_DLLAZY_OR_NOW		DL_LAZY
 1.10257 +#    else
 1.10258 +#      ifdef RTLD_NOW
 1.10259 +#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 1.10260 +#      else
 1.10261 +#        ifdef DL_NOW
 1.10262 +#          define LT_DLLAZY_OR_NOW	DL_NOW
 1.10263 +#        else
 1.10264 +#          define LT_DLLAZY_OR_NOW	0
 1.10265 +#        endif
 1.10266 +#      endif
 1.10267 +#    endif
 1.10268 +#  endif
 1.10269 +#endif
 1.10270 +
 1.10271 +#ifdef __cplusplus
 1.10272 +extern "C" void exit (int);
 1.10273 +#endif
 1.10274 +
 1.10275 +void fnord() { int i=42;}
 1.10276 +int main ()
 1.10277 +{
 1.10278 +  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 1.10279 +  int status = $lt_dlunknown;
 1.10280 +
 1.10281 +  if (self)
 1.10282 +    {
 1.10283 +      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 1.10284 +      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 1.10285 +      /* dlclose (self); */
 1.10286 +    }
 1.10287 +  else
 1.10288 +    puts (dlerror ());
 1.10289 +
 1.10290 +    exit (status);
 1.10291 +}
 1.10292 +EOF
 1.10293 +  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 1.10294 +  (eval $ac_link) 2>&5
 1.10295 +  ac_status=$?
 1.10296 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.10297 +  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 1.10298 +    (./conftest; exit; ) >&5 2>/dev/null
 1.10299 +    lt_status=$?
 1.10300 +    case x$lt_status in
 1.10301 +      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 1.10302 +      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 1.10303 +      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 1.10304 +    esac
 1.10305 +  else :
 1.10306 +    # compilation failed
 1.10307 +    lt_cv_dlopen_self_static=no
 1.10308 +  fi
 1.10309 +fi
 1.10310 +rm -fr conftest*
 1.10311 +
 1.10312 +
 1.10313 +fi
 1.10314 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 1.10315 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 1.10316 +    fi
 1.10317 +
 1.10318 +    CPPFLAGS="$save_CPPFLAGS"
 1.10319 +    LDFLAGS="$save_LDFLAGS"
 1.10320 +    LIBS="$save_LIBS"
 1.10321 +    ;;
 1.10322 +  esac
 1.10323 +
 1.10324 +  case $lt_cv_dlopen_self in
 1.10325 +  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 1.10326 +  *) enable_dlopen_self=unknown ;;
 1.10327 +  esac
 1.10328 +
 1.10329 +  case $lt_cv_dlopen_self_static in
 1.10330 +  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 1.10331 +  *) enable_dlopen_self_static=unknown ;;
 1.10332 +  esac
 1.10333 +fi
 1.10334 +
 1.10335 +
 1.10336 +# Report which library types will actually be built
 1.10337 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 1.10338 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 1.10339 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 1.10340 +echo "${ECHO_T}$can_build_shared" >&6; }
 1.10341 +
 1.10342 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 1.10343 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 1.10344 +test "$can_build_shared" = "no" && enable_shared=no
 1.10345 +
 1.10346 +# On AIX, shared libraries and static libraries use the same namespace, and
 1.10347 +# are all built from PIC.
 1.10348 +case $host_os in
 1.10349 +aix3*)
 1.10350 +  test "$enable_shared" = yes && enable_static=no
 1.10351 +  if test -n "$RANLIB"; then
 1.10352 +    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 1.10353 +    postinstall_cmds='$RANLIB $lib'
 1.10354 +  fi
 1.10355 +  ;;
 1.10356 +
 1.10357 +aix4* | aix5*)
 1.10358 +  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 1.10359 +    test "$enable_shared" = yes && enable_static=no
 1.10360 +  fi
 1.10361 +    ;;
 1.10362 +esac
 1.10363 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 1.10364 +echo "${ECHO_T}$enable_shared" >&6; }
 1.10365 +
 1.10366 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 1.10367 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 1.10368 +# Make sure either enable_shared or enable_static is yes.
 1.10369 +test "$enable_shared" = yes || enable_static=yes
 1.10370 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
 1.10371 +echo "${ECHO_T}$enable_static" >&6; }
 1.10372 +
 1.10373 +# The else clause should only fire when bootstrapping the
 1.10374 +# libtool distribution, otherwise you forgot to ship ltmain.sh
 1.10375 +# with your package, and you will get complaints that there are
 1.10376 +# no rules to generate ltmain.sh.
 1.10377 +if test -f "$ltmain"; then
 1.10378 +  # See if we are running on zsh, and set the options which allow our commands through
 1.10379 +  # without removal of \ escapes.
 1.10380 +  if test -n "${ZSH_VERSION+set}" ; then
 1.10381 +    setopt NO_GLOB_SUBST
 1.10382 +  fi
 1.10383 +  # Now quote all the things that may contain metacharacters while being
 1.10384 +  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 1.10385 +  # variables and quote the copies for generation of the libtool script.
 1.10386 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 1.10387 +    SED SHELL STRIP \
 1.10388 +    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 1.10389 +    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 1.10390 +    deplibs_check_method reload_flag reload_cmds need_locks \
 1.10391 +    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 1.10392 +    lt_cv_sys_global_symbol_to_c_name_address \
 1.10393 +    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 1.10394 +    old_postinstall_cmds old_postuninstall_cmds \
 1.10395 +    compiler \
 1.10396 +    CC \
 1.10397 +    LD \
 1.10398 +    lt_prog_compiler_wl \
 1.10399 +    lt_prog_compiler_pic \
 1.10400 +    lt_prog_compiler_static \
 1.10401 +    lt_prog_compiler_no_builtin_flag \
 1.10402 +    export_dynamic_flag_spec \
 1.10403 +    thread_safe_flag_spec \
 1.10404 +    whole_archive_flag_spec \
 1.10405 +    enable_shared_with_static_runtimes \
 1.10406 +    old_archive_cmds \
 1.10407 +    old_archive_from_new_cmds \
 1.10408 +    predep_objects \
 1.10409 +    postdep_objects \
 1.10410 +    predeps \
 1.10411 +    postdeps \
 1.10412 +    compiler_lib_search_path \
 1.10413 +    archive_cmds \
 1.10414 +    archive_expsym_cmds \
 1.10415 +    postinstall_cmds \
 1.10416 +    postuninstall_cmds \
 1.10417 +    old_archive_from_expsyms_cmds \
 1.10418 +    allow_undefined_flag \
 1.10419 +    no_undefined_flag \
 1.10420 +    export_symbols_cmds \
 1.10421 +    hardcode_libdir_flag_spec \
 1.10422 +    hardcode_libdir_flag_spec_ld \
 1.10423 +    hardcode_libdir_separator \
 1.10424 +    hardcode_automatic \
 1.10425 +    module_cmds \
 1.10426 +    module_expsym_cmds \
 1.10427 +    lt_cv_prog_compiler_c_o \
 1.10428 +    exclude_expsyms \
 1.10429 +    include_expsyms; do
 1.10430 +
 1.10431 +    case $var in
 1.10432 +    old_archive_cmds | \
 1.10433 +    old_archive_from_new_cmds | \
 1.10434 +    archive_cmds | \
 1.10435 +    archive_expsym_cmds | \
 1.10436 +    module_cmds | \
 1.10437 +    module_expsym_cmds | \
 1.10438 +    old_archive_from_expsyms_cmds | \
 1.10439 +    export_symbols_cmds | \
 1.10440 +    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 1.10441 +    postinstall_cmds | postuninstall_cmds | \
 1.10442 +    old_postinstall_cmds | old_postuninstall_cmds | \
 1.10443 +    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 1.10444 +      # Double-quote double-evaled strings.
 1.10445 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 1.10446 +      ;;
 1.10447 +    *)
 1.10448 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 1.10449 +      ;;
 1.10450 +    esac
 1.10451 +  done
 1.10452 +
 1.10453 +  case $lt_echo in
 1.10454 +  *'\$0 --fallback-echo"')
 1.10455 +    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 1.10456 +    ;;
 1.10457 +  esac
 1.10458 +
 1.10459 +cfgfile="${ofile}T"
 1.10460 +  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 1.10461 +  $rm -f "$cfgfile"
 1.10462 +  { echo "$as_me:$LINENO: creating $ofile" >&5
 1.10463 +echo "$as_me: creating $ofile" >&6;}
 1.10464 +
 1.10465 +  cat <<__EOF__ >> "$cfgfile"
 1.10466 +#! $SHELL
 1.10467 +
 1.10468 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 1.10469 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 1.10470 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 1.10471 +#
 1.10472 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 1.10473 +# Free Software Foundation, Inc.
 1.10474 +#
 1.10475 +# This file is part of GNU Libtool:
 1.10476 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 1.10477 +#
 1.10478 +# This program is free software; you can redistribute it and/or modify
 1.10479 +# it under the terms of the GNU General Public License as published by
 1.10480 +# the Free Software Foundation; either version 2 of the License, or
 1.10481 +# (at your option) any later version.
 1.10482 +#
 1.10483 +# This program is distributed in the hope that it will be useful, but
 1.10484 +# WITHOUT ANY WARRANTY; without even the implied warranty of
 1.10485 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 1.10486 +# General Public License for more details.
 1.10487 +#
 1.10488 +# You should have received a copy of the GNU General Public License
 1.10489 +# along with this program; if not, write to the Free Software
 1.10490 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 1.10491 +#
 1.10492 +# As a special exception to the GNU General Public License, if you
 1.10493 +# distribute this file as part of a program that contains a
 1.10494 +# configuration script generated by Autoconf, you may include it under
 1.10495 +# the same distribution terms that you use for the rest of that program.
 1.10496 +
 1.10497 +# A sed program that does not truncate output.
 1.10498 +SED=$lt_SED
 1.10499 +
 1.10500 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 1.10501 +Xsed="$SED -e 1s/^X//"
 1.10502 +
 1.10503 +# The HP-UX ksh and POSIX shell print the target directory to stdout
 1.10504 +# if CDPATH is set.
 1.10505 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 1.10506 +
 1.10507 +# The names of the tagged configurations supported by this script.
 1.10508 +available_tags=
 1.10509 +
 1.10510 +# ### BEGIN LIBTOOL CONFIG
 1.10511 +
 1.10512 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 1.10513 +
 1.10514 +# Shell to use when invoking shell scripts.
 1.10515 +SHELL=$lt_SHELL
 1.10516 +
 1.10517 +# Whether or not to build shared libraries.
 1.10518 +build_libtool_libs=$enable_shared
 1.10519 +
 1.10520 +# Whether or not to build static libraries.
 1.10521 +build_old_libs=$enable_static
 1.10522 +
 1.10523 +# Whether or not to add -lc for building shared libraries.
 1.10524 +build_libtool_need_lc=$archive_cmds_need_lc
 1.10525 +
 1.10526 +# Whether or not to disallow shared libs when runtime libs are static
 1.10527 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 1.10528 +
 1.10529 +# Whether or not to optimize for fast installation.
 1.10530 +fast_install=$enable_fast_install
 1.10531 +
 1.10532 +# The host system.
 1.10533 +host_alias=$host_alias
 1.10534 +host=$host
 1.10535 +host_os=$host_os
 1.10536 +
 1.10537 +# The build system.
 1.10538 +build_alias=$build_alias
 1.10539 +build=$build
 1.10540 +build_os=$build_os
 1.10541 +
 1.10542 +# An echo program that does not interpret backslashes.
 1.10543 +echo=$lt_echo
 1.10544 +
 1.10545 +# The archiver.
 1.10546 +AR=$lt_AR
 1.10547 +AR_FLAGS=$lt_AR_FLAGS
 1.10548 +
 1.10549 +# A C compiler.
 1.10550 +LTCC=$lt_LTCC
 1.10551 +
 1.10552 +# LTCC compiler flags.
 1.10553 +LTCFLAGS=$lt_LTCFLAGS
 1.10554 +
 1.10555 +# A language-specific compiler.
 1.10556 +CC=$lt_compiler
 1.10557 +
 1.10558 +# Is the compiler the GNU C compiler?
 1.10559 +with_gcc=$GCC
 1.10560 +
 1.10561 +# An ERE matcher.
 1.10562 +EGREP=$lt_EGREP
 1.10563 +
 1.10564 +# The linker used to build libraries.
 1.10565 +LD=$lt_LD
 1.10566 +
 1.10567 +# Whether we need hard or soft links.
 1.10568 +LN_S=$lt_LN_S
 1.10569 +
 1.10570 +# A BSD-compatible nm program.
 1.10571 +NM=$lt_NM
 1.10572 +
 1.10573 +# A symbol stripping program
 1.10574 +STRIP=$lt_STRIP
 1.10575 +
 1.10576 +# Used to examine libraries when file_magic_cmd begins "file"
 1.10577 +MAGIC_CMD=$MAGIC_CMD
 1.10578 +
 1.10579 +# Used on cygwin: DLL creation program.
 1.10580 +DLLTOOL="$DLLTOOL"
 1.10581 +
 1.10582 +# Used on cygwin: object dumper.
 1.10583 +OBJDUMP="$OBJDUMP"
 1.10584 +
 1.10585 +# Used on cygwin: assembler.
 1.10586 +AS="$AS"
 1.10587 +
 1.10588 +# The name of the directory that contains temporary libtool files.
 1.10589 +objdir=$objdir
 1.10590 +
 1.10591 +# How to create reloadable object files.
 1.10592 +reload_flag=$lt_reload_flag
 1.10593 +reload_cmds=$lt_reload_cmds
 1.10594 +
 1.10595 +# How to pass a linker flag through the compiler.
 1.10596 +wl=$lt_lt_prog_compiler_wl
 1.10597 +
 1.10598 +# Object file suffix (normally "o").
 1.10599 +objext="$ac_objext"
 1.10600 +
 1.10601 +# Old archive suffix (normally "a").
 1.10602 +libext="$libext"
 1.10603 +
 1.10604 +# Shared library suffix (normally ".so").
 1.10605 +shrext_cmds='$shrext_cmds'
 1.10606 +
 1.10607 +# Executable file suffix (normally "").
 1.10608 +exeext="$exeext"
 1.10609 +
 1.10610 +# Additional compiler flags for building library objects.
 1.10611 +pic_flag=$lt_lt_prog_compiler_pic
 1.10612 +pic_mode=$pic_mode
 1.10613 +
 1.10614 +# What is the maximum length of a command?
 1.10615 +max_cmd_len=$lt_cv_sys_max_cmd_len
 1.10616 +
 1.10617 +# Does compiler simultaneously support -c and -o options?
 1.10618 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 1.10619 +
 1.10620 +# Must we lock files when doing compilation?
 1.10621 +need_locks=$lt_need_locks
 1.10622 +
 1.10623 +# Do we need the lib prefix for modules?
 1.10624 +need_lib_prefix=$need_lib_prefix
 1.10625 +
 1.10626 +# Do we need a version for libraries?
 1.10627 +need_version=$need_version
 1.10628 +
 1.10629 +# Whether dlopen is supported.
 1.10630 +dlopen_support=$enable_dlopen
 1.10631 +
 1.10632 +# Whether dlopen of programs is supported.
 1.10633 +dlopen_self=$enable_dlopen_self
 1.10634 +
 1.10635 +# Whether dlopen of statically linked programs is supported.
 1.10636 +dlopen_self_static=$enable_dlopen_self_static
 1.10637 +
 1.10638 +# Compiler flag to prevent dynamic linking.
 1.10639 +link_static_flag=$lt_lt_prog_compiler_static
 1.10640 +
 1.10641 +# Compiler flag to turn off builtin functions.
 1.10642 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 1.10643 +
 1.10644 +# Compiler flag to allow reflexive dlopens.
 1.10645 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 1.10646 +
 1.10647 +# Compiler flag to generate shared objects directly from archives.
 1.10648 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
 1.10649 +
 1.10650 +# Compiler flag to generate thread-safe objects.
 1.10651 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
 1.10652 +
 1.10653 +# Library versioning type.
 1.10654 +version_type=$version_type
 1.10655 +
 1.10656 +# Format of library name prefix.
 1.10657 +libname_spec=$lt_libname_spec
 1.10658 +
 1.10659 +# List of archive names.  First name is the real one, the rest are links.
 1.10660 +# The last name is the one that the linker finds with -lNAME.
 1.10661 +library_names_spec=$lt_library_names_spec
 1.10662 +
 1.10663 +# The coded name of the library, if different from the real name.
 1.10664 +soname_spec=$lt_soname_spec
 1.10665 +
 1.10666 +# Commands used to build and install an old-style archive.
 1.10667 +RANLIB=$lt_RANLIB
 1.10668 +old_archive_cmds=$lt_old_archive_cmds
 1.10669 +old_postinstall_cmds=$lt_old_postinstall_cmds
 1.10670 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
 1.10671 +
 1.10672 +# Create an old-style archive from a shared archive.
 1.10673 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 1.10674 +
 1.10675 +# Create a temporary old-style archive to link instead of a shared archive.
 1.10676 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 1.10677 +
 1.10678 +# Commands used to build and install a shared archive.
 1.10679 +archive_cmds=$lt_archive_cmds
 1.10680 +archive_expsym_cmds=$lt_archive_expsym_cmds
 1.10681 +postinstall_cmds=$lt_postinstall_cmds
 1.10682 +postuninstall_cmds=$lt_postuninstall_cmds
 1.10683 +
 1.10684 +# Commands used to build a loadable module (assumed same as above if empty)
 1.10685 +module_cmds=$lt_module_cmds
 1.10686 +module_expsym_cmds=$lt_module_expsym_cmds
 1.10687 +
 1.10688 +# Commands to strip libraries.
 1.10689 +old_striplib=$lt_old_striplib
 1.10690 +striplib=$lt_striplib
 1.10691 +
 1.10692 +# Dependencies to place before the objects being linked to create a
 1.10693 +# shared library.
 1.10694 +predep_objects=$lt_predep_objects
 1.10695 +
 1.10696 +# Dependencies to place after the objects being linked to create a
 1.10697 +# shared library.
 1.10698 +postdep_objects=$lt_postdep_objects
 1.10699 +
 1.10700 +# Dependencies to place before the objects being linked to create a
 1.10701 +# shared library.
 1.10702 +predeps=$lt_predeps
 1.10703 +
 1.10704 +# Dependencies to place after the objects being linked to create a
 1.10705 +# shared library.
 1.10706 +postdeps=$lt_postdeps
 1.10707 +
 1.10708 +# The library search path used internally by the compiler when linking
 1.10709 +# a shared library.
 1.10710 +compiler_lib_search_path=$lt_compiler_lib_search_path
 1.10711 +
 1.10712 +# Method to check whether dependent libraries are shared objects.
 1.10713 +deplibs_check_method=$lt_deplibs_check_method
 1.10714 +
 1.10715 +# Command to use when deplibs_check_method == file_magic.
 1.10716 +file_magic_cmd=$lt_file_magic_cmd
 1.10717 +
 1.10718 +# Flag that allows shared libraries with undefined symbols to be built.
 1.10719 +allow_undefined_flag=$lt_allow_undefined_flag
 1.10720 +
 1.10721 +# Flag that forces no undefined symbols.
 1.10722 +no_undefined_flag=$lt_no_undefined_flag
 1.10723 +
 1.10724 +# Commands used to finish a libtool library installation in a directory.
 1.10725 +finish_cmds=$lt_finish_cmds
 1.10726 +
 1.10727 +# Same as above, but a single script fragment to be evaled but not shown.
 1.10728 +finish_eval=$lt_finish_eval
 1.10729 +
 1.10730 +# Take the output of nm and produce a listing of raw symbols and C names.
 1.10731 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 1.10732 +
 1.10733 +# Transform the output of nm in a proper C declaration
 1.10734 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 1.10735 +
 1.10736 +# Transform the output of nm in a C name address pair
 1.10737 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 1.10738 +
 1.10739 +# This is the shared library runtime path variable.
 1.10740 +runpath_var=$runpath_var
 1.10741 +
 1.10742 +# This is the shared library path variable.
 1.10743 +shlibpath_var=$shlibpath_var
 1.10744 +
 1.10745 +# Is shlibpath searched before the hard-coded library search path?
 1.10746 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 1.10747 +
 1.10748 +# How to hardcode a shared library path into an executable.
 1.10749 +hardcode_action=$hardcode_action
 1.10750 +
 1.10751 +# Whether we should hardcode library paths into libraries.
 1.10752 +hardcode_into_libs=$hardcode_into_libs
 1.10753 +
 1.10754 +# Flag to hardcode \$libdir into a binary during linking.
 1.10755 +# This must work even if \$libdir does not exist.
 1.10756 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 1.10757 +
 1.10758 +# If ld is used when linking, flag to hardcode \$libdir into
 1.10759 +# a binary during linking. This must work even if \$libdir does
 1.10760 +# not exist.
 1.10761 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 1.10762 +
 1.10763 +# Whether we need a single -rpath flag with a separated argument.
 1.10764 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
 1.10765 +
 1.10766 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 1.10767 +# resulting binary.
 1.10768 +hardcode_direct=$hardcode_direct
 1.10769 +
 1.10770 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 1.10771 +# resulting binary.
 1.10772 +hardcode_minus_L=$hardcode_minus_L
 1.10773 +
 1.10774 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 1.10775 +# the resulting binary.
 1.10776 +hardcode_shlibpath_var=$hardcode_shlibpath_var
 1.10777 +
 1.10778 +# Set to yes if building a shared library automatically hardcodes DIR into the library
 1.10779 +# and all subsequent libraries and executables linked against it.
 1.10780 +hardcode_automatic=$hardcode_automatic
 1.10781 +
 1.10782 +# Variables whose values should be saved in libtool wrapper scripts and
 1.10783 +# restored at relink time.
 1.10784 +variables_saved_for_relink="$variables_saved_for_relink"
 1.10785 +
 1.10786 +# Whether libtool must link a program against all its dependency libraries.
 1.10787 +link_all_deplibs=$link_all_deplibs
 1.10788 +
 1.10789 +# Compile-time system search path for libraries
 1.10790 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 1.10791 +
 1.10792 +# Run-time system search path for libraries
 1.10793 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 1.10794 +
 1.10795 +# Fix the shell variable \$srcfile for the compiler.
 1.10796 +fix_srcfile_path="$fix_srcfile_path"
 1.10797 +
 1.10798 +# Set to yes if exported symbols are required.
 1.10799 +always_export_symbols=$always_export_symbols
 1.10800 +
 1.10801 +# The commands to list exported symbols.
 1.10802 +export_symbols_cmds=$lt_export_symbols_cmds
 1.10803 +
 1.10804 +# The commands to extract the exported symbol list from a shared archive.
 1.10805 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
 1.10806 +
 1.10807 +# Symbols that should not be listed in the preloaded symbols.
 1.10808 +exclude_expsyms=$lt_exclude_expsyms
 1.10809 +
 1.10810 +# Symbols that must always be exported.
 1.10811 +include_expsyms=$lt_include_expsyms
 1.10812 +
 1.10813 +# ### END LIBTOOL CONFIG
 1.10814 +
 1.10815 +__EOF__
 1.10816 +
 1.10817 +
 1.10818 +  case $host_os in
 1.10819 +  aix3*)
 1.10820 +    cat <<\EOF >> "$cfgfile"
 1.10821 +
 1.10822 +# AIX sometimes has problems with the GCC collect2 program.  For some
 1.10823 +# reason, if we set the COLLECT_NAMES environment variable, the problems
 1.10824 +# vanish in a puff of smoke.
 1.10825 +if test "X${COLLECT_NAMES+set}" != Xset; then
 1.10826 +  COLLECT_NAMES=
 1.10827 +  export COLLECT_NAMES
 1.10828 +fi
 1.10829 +EOF
 1.10830 +    ;;
 1.10831 +  esac
 1.10832 +
 1.10833 +  # We use sed instead of cat because bash on DJGPP gets confused if
 1.10834 +  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 1.10835 +  # text mode, it properly converts lines to CR/LF.  This bash problem
 1.10836 +  # is reportedly fixed, but why not run on old versions too?
 1.10837 +  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 1.10838 +
 1.10839 +  mv -f "$cfgfile" "$ofile" || \
 1.10840 +    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 1.10841 +  chmod +x "$ofile"
 1.10842 +
 1.10843 +else
 1.10844 +  # If there is no Makefile yet, we rely on a make rule to execute
 1.10845 +  # `config.status --recheck' to rerun these tests and create the
 1.10846 +  # libtool script then.
 1.10847 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 1.10848 +  if test -f "$ltmain_in"; then
 1.10849 +    test -f Makefile && make "$ltmain"
 1.10850 +  fi
 1.10851 +fi
 1.10852 +
 1.10853 +
 1.10854 +ac_ext=cpp
 1.10855 +ac_cpp='$CXXCPP $CPPFLAGS'
 1.10856 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.10857 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.10858 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 1.10859 +
 1.10860 +CC="$lt_save_CC"
 1.10861 +
 1.10862 +
 1.10863 +# Check whether --with-tags was given.
 1.10864 +if test "${with_tags+set}" = set; then
 1.10865 +  withval=$with_tags; tagnames="$withval"
 1.10866 +fi
 1.10867 +
 1.10868 +
 1.10869 +if test -f "$ltmain" && test -n "$tagnames"; then
 1.10870 +  if test ! -f "${ofile}"; then
 1.10871 +    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 1.10872 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 1.10873 +  fi
 1.10874 +
 1.10875 +  if test -z "$LTCC"; then
 1.10876 +    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 1.10877 +    if test -z "$LTCC"; then
 1.10878 +      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 1.10879 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 1.10880 +    else
 1.10881 +      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 1.10882 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 1.10883 +    fi
 1.10884 +  fi
 1.10885 +  if test -z "$LTCFLAGS"; then
 1.10886 +    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 1.10887 +  fi
 1.10888 +
 1.10889 +  # Extract list of available tagged configurations in $ofile.
 1.10890 +  # Note that this assumes the entire list is on one line.
 1.10891 +  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 1.10892 +
 1.10893 +  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 1.10894 +  for tagname in $tagnames; do
 1.10895 +    IFS="$lt_save_ifs"
 1.10896 +    # Check whether tagname contains only valid characters
 1.10897 +    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
 1.10898 +    "") ;;
 1.10899 +    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 1.10900 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
 1.10901 +   { (exit 1); exit 1; }; }
 1.10902 +	;;
 1.10903 +    esac
 1.10904 +
 1.10905 +    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 1.10906 +    then
 1.10907 +      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 1.10908 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 1.10909 +   { (exit 1); exit 1; }; }
 1.10910 +    fi
 1.10911 +
 1.10912 +    # Update the list of available tags.
 1.10913 +    if test -n "$tagname"; then
 1.10914 +      echo appending configuration tag \"$tagname\" to $ofile
 1.10915 +
 1.10916 +      case $tagname in
 1.10917 +      CXX)
 1.10918 +	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 1.10919 +	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 1.10920 +	    (test "X$CXX" != "Xg++"))) ; then
 1.10921 +	  ac_ext=cpp
 1.10922 +ac_cpp='$CXXCPP $CPPFLAGS'
 1.10923 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.10924 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.10925 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 1.10926 +
 1.10927 +
 1.10928 +
 1.10929 +
 1.10930 +archive_cmds_need_lc_CXX=no
 1.10931 +allow_undefined_flag_CXX=
 1.10932 +always_export_symbols_CXX=no
 1.10933 +archive_expsym_cmds_CXX=
 1.10934 +export_dynamic_flag_spec_CXX=
 1.10935 +hardcode_direct_CXX=no
 1.10936 +hardcode_libdir_flag_spec_CXX=
 1.10937 +hardcode_libdir_flag_spec_ld_CXX=
 1.10938 +hardcode_libdir_separator_CXX=
 1.10939 +hardcode_minus_L_CXX=no
 1.10940 +hardcode_shlibpath_var_CXX=unsupported
 1.10941 +hardcode_automatic_CXX=no
 1.10942 +module_cmds_CXX=
 1.10943 +module_expsym_cmds_CXX=
 1.10944 +link_all_deplibs_CXX=unknown
 1.10945 +old_archive_cmds_CXX=$old_archive_cmds
 1.10946 +no_undefined_flag_CXX=
 1.10947 +whole_archive_flag_spec_CXX=
 1.10948 +enable_shared_with_static_runtimes_CXX=no
 1.10949 +
 1.10950 +# Dependencies to place before and after the object being linked:
 1.10951 +predep_objects_CXX=
 1.10952 +postdep_objects_CXX=
 1.10953 +predeps_CXX=
 1.10954 +postdeps_CXX=
 1.10955 +compiler_lib_search_path_CXX=
 1.10956 +
 1.10957 +# Source file extension for C++ test sources.
 1.10958 +ac_ext=cpp
 1.10959 +
 1.10960 +# Object file extension for compiled C++ test sources.
 1.10961 +objext=o
 1.10962 +objext_CXX=$objext
 1.10963 +
 1.10964 +# Code to be used in simple compile tests
 1.10965 +lt_simple_compile_test_code="int some_variable = 0;\n"
 1.10966 +
 1.10967 +# Code to be used in simple link tests
 1.10968 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 1.10969 +
 1.10970 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 1.10971 +
 1.10972 +# If no C compiler was specified, use CC.
 1.10973 +LTCC=${LTCC-"$CC"}
 1.10974 +
 1.10975 +# If no C compiler flags were specified, use CFLAGS.
 1.10976 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 1.10977 +
 1.10978 +# Allow CC to be a program name with arguments.
 1.10979 +compiler=$CC
 1.10980 +
 1.10981 +
 1.10982 +# save warnings/boilerplate of simple test code
 1.10983 +ac_outfile=conftest.$ac_objext
 1.10984 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 1.10985 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.10986 +_lt_compiler_boilerplate=`cat conftest.err`
 1.10987 +$rm conftest*
 1.10988 +
 1.10989 +ac_outfile=conftest.$ac_objext
 1.10990 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
 1.10991 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.10992 +_lt_linker_boilerplate=`cat conftest.err`
 1.10993 +$rm conftest*
 1.10994 +
 1.10995 +
 1.10996 +# Allow CC to be a program name with arguments.
 1.10997 +lt_save_CC=$CC
 1.10998 +lt_save_LD=$LD
 1.10999 +lt_save_GCC=$GCC
 1.11000 +GCC=$GXX
 1.11001 +lt_save_with_gnu_ld=$with_gnu_ld
 1.11002 +lt_save_path_LD=$lt_cv_path_LD
 1.11003 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 1.11004 +  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 1.11005 +else
 1.11006 +  $as_unset lt_cv_prog_gnu_ld
 1.11007 +fi
 1.11008 +if test -n "${lt_cv_path_LDCXX+set}"; then
 1.11009 +  lt_cv_path_LD=$lt_cv_path_LDCXX
 1.11010 +else
 1.11011 +  $as_unset lt_cv_path_LD
 1.11012 +fi
 1.11013 +test -z "${LDCXX+set}" || LD=$LDCXX
 1.11014 +CC=${CXX-"c++"}
 1.11015 +compiler=$CC
 1.11016 +compiler_CXX=$CC
 1.11017 +for cc_temp in $compiler""; do
 1.11018 +  case $cc_temp in
 1.11019 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 1.11020 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 1.11021 +    \-*) ;;
 1.11022 +    *) break;;
 1.11023 +  esac
 1.11024 +done
 1.11025 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 1.11026 +
 1.11027 +
 1.11028 +# We don't want -fno-exception wen compiling C++ code, so set the
 1.11029 +# no_builtin_flag separately
 1.11030 +if test "$GXX" = yes; then
 1.11031 +  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 1.11032 +else
 1.11033 +  lt_prog_compiler_no_builtin_flag_CXX=
 1.11034 +fi
 1.11035 +
 1.11036 +if test "$GXX" = yes; then
 1.11037 +  # Set up default GNU C++ configuration
 1.11038 +
 1.11039 +
 1.11040 +# Check whether --with-gnu-ld was given.
 1.11041 +if test "${with_gnu_ld+set}" = set; then
 1.11042 +  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 1.11043 +else
 1.11044 +  with_gnu_ld=no
 1.11045 +fi
 1.11046 +
 1.11047 +ac_prog=ld
 1.11048 +if test "$GCC" = yes; then
 1.11049 +  # Check if gcc -print-prog-name=ld gives a path.
 1.11050 +  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 1.11051 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 1.11052 +  case $host in
 1.11053 +  *-*-mingw*)
 1.11054 +    # gcc leaves a trailing carriage return which upsets mingw
 1.11055 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 1.11056 +  *)
 1.11057 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 1.11058 +  esac
 1.11059 +  case $ac_prog in
 1.11060 +    # Accept absolute paths.
 1.11061 +    [\\/]* | ?:[\\/]*)
 1.11062 +      re_direlt='/[^/][^/]*/\.\./'
 1.11063 +      # Canonicalize the pathname of ld
 1.11064 +      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 1.11065 +      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 1.11066 +	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 1.11067 +      done
 1.11068 +      test -z "$LD" && LD="$ac_prog"
 1.11069 +      ;;
 1.11070 +  "")
 1.11071 +    # If it fails, then pretend we aren't using GCC.
 1.11072 +    ac_prog=ld
 1.11073 +    ;;
 1.11074 +  *)
 1.11075 +    # If it is relative, then search for the first ld in PATH.
 1.11076 +    with_gnu_ld=unknown
 1.11077 +    ;;
 1.11078 +  esac
 1.11079 +elif test "$with_gnu_ld" = yes; then
 1.11080 +  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 1.11081 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 1.11082 +else
 1.11083 +  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 1.11084 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 1.11085 +fi
 1.11086 +if test "${lt_cv_path_LD+set}" = set; then
 1.11087 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.11088 +else
 1.11089 +  if test -z "$LD"; then
 1.11090 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 1.11091 +  for ac_dir in $PATH; do
 1.11092 +    IFS="$lt_save_ifs"
 1.11093 +    test -z "$ac_dir" && ac_dir=.
 1.11094 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 1.11095 +      lt_cv_path_LD="$ac_dir/$ac_prog"
 1.11096 +      # Check to see if the program is GNU ld.  I'd rather use --version,
 1.11097 +      # but apparently some variants of GNU ld only accept -v.
 1.11098 +      # Break only if it was the GNU/non-GNU ld that we prefer.
 1.11099 +      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 1.11100 +      *GNU* | *'with BFD'*)
 1.11101 +	test "$with_gnu_ld" != no && break
 1.11102 +	;;
 1.11103 +      *)
 1.11104 +	test "$with_gnu_ld" != yes && break
 1.11105 +	;;
 1.11106 +      esac
 1.11107 +    fi
 1.11108 +  done
 1.11109 +  IFS="$lt_save_ifs"
 1.11110 +else
 1.11111 +  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 1.11112 +fi
 1.11113 +fi
 1.11114 +
 1.11115 +LD="$lt_cv_path_LD"
 1.11116 +if test -n "$LD"; then
 1.11117 +  { echo "$as_me:$LINENO: result: $LD" >&5
 1.11118 +echo "${ECHO_T}$LD" >&6; }
 1.11119 +else
 1.11120 +  { echo "$as_me:$LINENO: result: no" >&5
 1.11121 +echo "${ECHO_T}no" >&6; }
 1.11122 +fi
 1.11123 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 1.11124 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 1.11125 +   { (exit 1); exit 1; }; }
 1.11126 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 1.11127 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 1.11128 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
 1.11129 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.11130 +else
 1.11131 +  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 1.11132 +case `$LD -v 2>&1 </dev/null` in
 1.11133 +*GNU* | *'with BFD'*)
 1.11134 +  lt_cv_prog_gnu_ld=yes
 1.11135 +  ;;
 1.11136 +*)
 1.11137 +  lt_cv_prog_gnu_ld=no
 1.11138 +  ;;
 1.11139 +esac
 1.11140 +fi
 1.11141 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 1.11142 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 1.11143 +with_gnu_ld=$lt_cv_prog_gnu_ld
 1.11144 +
 1.11145 +
 1.11146 +
 1.11147 +  # Check if GNU C++ uses GNU ld as the underlying linker, since the
 1.11148 +  # archiving commands below assume that GNU ld is being used.
 1.11149 +  if test "$with_gnu_ld" = yes; then
 1.11150 +    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.11151 +    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.11152 +
 1.11153 +    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 1.11154 +    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 1.11155 +
 1.11156 +    # If archive_cmds runs LD, not CC, wlarc should be empty
 1.11157 +    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 1.11158 +    #     investigate it a little bit more. (MM)
 1.11159 +    wlarc='${wl}'
 1.11160 +
 1.11161 +    # ancient GNU ld didn't support --whole-archive et. al.
 1.11162 +    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 1.11163 +	grep 'no-whole-archive' > /dev/null; then
 1.11164 +      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 1.11165 +    else
 1.11166 +      whole_archive_flag_spec_CXX=
 1.11167 +    fi
 1.11168 +  else
 1.11169 +    with_gnu_ld=no
 1.11170 +    wlarc=
 1.11171 +
 1.11172 +    # A generic and very simple default shared library creation
 1.11173 +    # command for GNU C++ for the case where it uses the native
 1.11174 +    # linker, instead of GNU ld.  If possible, this setting should
 1.11175 +    # overridden to take advantage of the native linker features on
 1.11176 +    # the platform it is being used on.
 1.11177 +    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 1.11178 +  fi
 1.11179 +
 1.11180 +  # Commands to make compiler produce verbose output that lists
 1.11181 +  # what "hidden" libraries, object files and flags are used when
 1.11182 +  # linking a shared library.
 1.11183 +  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 1.11184 +
 1.11185 +else
 1.11186 +  GXX=no
 1.11187 +  with_gnu_ld=no
 1.11188 +  wlarc=
 1.11189 +fi
 1.11190 +
 1.11191 +# PORTME: fill in a description of your system's C++ link characteristics
 1.11192 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 1.11193 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 1.11194 +ld_shlibs_CXX=yes
 1.11195 +case $host_os in
 1.11196 +  aix3*)
 1.11197 +    # FIXME: insert proper C++ library support
 1.11198 +    ld_shlibs_CXX=no
 1.11199 +    ;;
 1.11200 +  aix4* | aix5*)
 1.11201 +    if test "$host_cpu" = ia64; then
 1.11202 +      # On IA64, the linker does run time linking by default, so we don't
 1.11203 +      # have to do anything special.
 1.11204 +      aix_use_runtimelinking=no
 1.11205 +      exp_sym_flag='-Bexport'
 1.11206 +      no_entry_flag=""
 1.11207 +    else
 1.11208 +      aix_use_runtimelinking=no
 1.11209 +
 1.11210 +      # Test if we are trying to use run time linking or normal
 1.11211 +      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 1.11212 +      # need to do runtime linking.
 1.11213 +      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 1.11214 +	for ld_flag in $LDFLAGS; do
 1.11215 +	  case $ld_flag in
 1.11216 +	  *-brtl*)
 1.11217 +	    aix_use_runtimelinking=yes
 1.11218 +	    break
 1.11219 +	    ;;
 1.11220 +	  esac
 1.11221 +	done
 1.11222 +	;;
 1.11223 +      esac
 1.11224 +
 1.11225 +      exp_sym_flag='-bexport'
 1.11226 +      no_entry_flag='-bnoentry'
 1.11227 +    fi
 1.11228 +
 1.11229 +    # When large executables or shared objects are built, AIX ld can
 1.11230 +    # have problems creating the table of contents.  If linking a library
 1.11231 +    # or program results in "error TOC overflow" add -mminimal-toc to
 1.11232 +    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 1.11233 +    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 1.11234 +
 1.11235 +    archive_cmds_CXX=''
 1.11236 +    hardcode_direct_CXX=yes
 1.11237 +    hardcode_libdir_separator_CXX=':'
 1.11238 +    link_all_deplibs_CXX=yes
 1.11239 +
 1.11240 +    if test "$GXX" = yes; then
 1.11241 +      case $host_os in aix4.[012]|aix4.[012].*)
 1.11242 +      # We only want to do this on AIX 4.2 and lower, the check
 1.11243 +      # below for broken collect2 doesn't work under 4.3+
 1.11244 +	collect2name=`${CC} -print-prog-name=collect2`
 1.11245 +	if test -f "$collect2name" && \
 1.11246 +	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 1.11247 +	then
 1.11248 +	  # We have reworked collect2
 1.11249 +	  hardcode_direct_CXX=yes
 1.11250 +	else
 1.11251 +	  # We have old collect2
 1.11252 +	  hardcode_direct_CXX=unsupported
 1.11253 +	  # It fails to find uninstalled libraries when the uninstalled
 1.11254 +	  # path is not listed in the libpath.  Setting hardcode_minus_L
 1.11255 +	  # to unsupported forces relinking
 1.11256 +	  hardcode_minus_L_CXX=yes
 1.11257 +	  hardcode_libdir_flag_spec_CXX='-L$libdir'
 1.11258 +	  hardcode_libdir_separator_CXX=
 1.11259 +	fi
 1.11260 +	;;
 1.11261 +      esac
 1.11262 +      shared_flag='-shared'
 1.11263 +      if test "$aix_use_runtimelinking" = yes; then
 1.11264 +	shared_flag="$shared_flag "'${wl}-G'
 1.11265 +      fi
 1.11266 +    else
 1.11267 +      # not using gcc
 1.11268 +      if test "$host_cpu" = ia64; then
 1.11269 +	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 1.11270 +	# chokes on -Wl,-G. The following line is correct:
 1.11271 +	shared_flag='-G'
 1.11272 +      else
 1.11273 +	if test "$aix_use_runtimelinking" = yes; then
 1.11274 +	  shared_flag='${wl}-G'
 1.11275 +	else
 1.11276 +	  shared_flag='${wl}-bM:SRE'
 1.11277 +	fi
 1.11278 +      fi
 1.11279 +    fi
 1.11280 +
 1.11281 +    # It seems that -bexpall does not export symbols beginning with
 1.11282 +    # underscore (_), so it is better to generate a list of symbols to export.
 1.11283 +    always_export_symbols_CXX=yes
 1.11284 +    if test "$aix_use_runtimelinking" = yes; then
 1.11285 +      # Warning - without using the other runtime loading flags (-brtl),
 1.11286 +      # -berok will link without error, but may produce a broken library.
 1.11287 +      allow_undefined_flag_CXX='-berok'
 1.11288 +      # Determine the default libpath from the value encoded in an empty executable.
 1.11289 +      cat >conftest.$ac_ext <<_ACEOF
 1.11290 +/* confdefs.h.  */
 1.11291 +_ACEOF
 1.11292 +cat confdefs.h >>conftest.$ac_ext
 1.11293 +cat >>conftest.$ac_ext <<_ACEOF
 1.11294 +/* end confdefs.h.  */
 1.11295 +
 1.11296 +int
 1.11297 +main ()
 1.11298 +{
 1.11299 +
 1.11300 +  ;
 1.11301 +  return 0;
 1.11302 +}
 1.11303 +_ACEOF
 1.11304 +rm -f conftest.$ac_objext conftest$ac_exeext
 1.11305 +if { (ac_try="$ac_link"
 1.11306 +case "(($ac_try" in
 1.11307 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.11308 +  *) ac_try_echo=$ac_try;;
 1.11309 +esac
 1.11310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.11311 +  (eval "$ac_link") 2>conftest.er1
 1.11312 +  ac_status=$?
 1.11313 +  grep -v '^ *+' conftest.er1 >conftest.err
 1.11314 +  rm -f conftest.er1
 1.11315 +  cat conftest.err >&5
 1.11316 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.11317 +  (exit $ac_status); } &&
 1.11318 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 1.11319 +  { (case "(($ac_try" in
 1.11320 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.11321 +  *) ac_try_echo=$ac_try;;
 1.11322 +esac
 1.11323 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.11324 +  (eval "$ac_try") 2>&5
 1.11325 +  ac_status=$?
 1.11326 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.11327 +  (exit $ac_status); }; } &&
 1.11328 +	 { ac_try='test -s conftest$ac_exeext'
 1.11329 +  { (case "(($ac_try" in
 1.11330 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.11331 +  *) ac_try_echo=$ac_try;;
 1.11332 +esac
 1.11333 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.11334 +  (eval "$ac_try") 2>&5
 1.11335 +  ac_status=$?
 1.11336 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.11337 +  (exit $ac_status); }; }; then
 1.11338 +
 1.11339 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.11340 +}'`
 1.11341 +# Check for a 64-bit object if we didn't find anything.
 1.11342 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.11343 +}'`; fi
 1.11344 +else
 1.11345 +  echo "$as_me: failed program was:" >&5
 1.11346 +sed 's/^/| /' conftest.$ac_ext >&5
 1.11347 +
 1.11348 +
 1.11349 +fi
 1.11350 +
 1.11351 +rm -f core conftest.err conftest.$ac_objext \
 1.11352 +      conftest$ac_exeext conftest.$ac_ext
 1.11353 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 1.11354 +
 1.11355 +      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 1.11356 +
 1.11357 +      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 1.11358 +     else
 1.11359 +      if test "$host_cpu" = ia64; then
 1.11360 +	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 1.11361 +	allow_undefined_flag_CXX="-z nodefs"
 1.11362 +	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 1.11363 +      else
 1.11364 +	# Determine the default libpath from the value encoded in an empty executable.
 1.11365 +	cat >conftest.$ac_ext <<_ACEOF
 1.11366 +/* confdefs.h.  */
 1.11367 +_ACEOF
 1.11368 +cat confdefs.h >>conftest.$ac_ext
 1.11369 +cat >>conftest.$ac_ext <<_ACEOF
 1.11370 +/* end confdefs.h.  */
 1.11371 +
 1.11372 +int
 1.11373 +main ()
 1.11374 +{
 1.11375 +
 1.11376 +  ;
 1.11377 +  return 0;
 1.11378 +}
 1.11379 +_ACEOF
 1.11380 +rm -f conftest.$ac_objext conftest$ac_exeext
 1.11381 +if { (ac_try="$ac_link"
 1.11382 +case "(($ac_try" in
 1.11383 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.11384 +  *) ac_try_echo=$ac_try;;
 1.11385 +esac
 1.11386 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.11387 +  (eval "$ac_link") 2>conftest.er1
 1.11388 +  ac_status=$?
 1.11389 +  grep -v '^ *+' conftest.er1 >conftest.err
 1.11390 +  rm -f conftest.er1
 1.11391 +  cat conftest.err >&5
 1.11392 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.11393 +  (exit $ac_status); } &&
 1.11394 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 1.11395 +  { (case "(($ac_try" in
 1.11396 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.11397 +  *) ac_try_echo=$ac_try;;
 1.11398 +esac
 1.11399 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.11400 +  (eval "$ac_try") 2>&5
 1.11401 +  ac_status=$?
 1.11402 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.11403 +  (exit $ac_status); }; } &&
 1.11404 +	 { ac_try='test -s conftest$ac_exeext'
 1.11405 +  { (case "(($ac_try" in
 1.11406 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.11407 +  *) ac_try_echo=$ac_try;;
 1.11408 +esac
 1.11409 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.11410 +  (eval "$ac_try") 2>&5
 1.11411 +  ac_status=$?
 1.11412 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.11413 +  (exit $ac_status); }; }; then
 1.11414 +
 1.11415 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.11416 +}'`
 1.11417 +# Check for a 64-bit object if we didn't find anything.
 1.11418 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.11419 +}'`; fi
 1.11420 +else
 1.11421 +  echo "$as_me: failed program was:" >&5
 1.11422 +sed 's/^/| /' conftest.$ac_ext >&5
 1.11423 +
 1.11424 +
 1.11425 +fi
 1.11426 +
 1.11427 +rm -f core conftest.err conftest.$ac_objext \
 1.11428 +      conftest$ac_exeext conftest.$ac_ext
 1.11429 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 1.11430 +
 1.11431 +	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 1.11432 +	# Warning - without using the other run time loading flags,
 1.11433 +	# -berok will link without error, but may produce a broken library.
 1.11434 +	no_undefined_flag_CXX=' ${wl}-bernotok'
 1.11435 +	allow_undefined_flag_CXX=' ${wl}-berok'
 1.11436 +	# Exported symbols can be pulled into shared objects from archives
 1.11437 +	whole_archive_flag_spec_CXX='$convenience'
 1.11438 +	archive_cmds_need_lc_CXX=yes
 1.11439 +	# This is similar to how AIX traditionally builds its shared libraries.
 1.11440 +	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 1.11441 +      fi
 1.11442 +    fi
 1.11443 +    ;;
 1.11444 +
 1.11445 +  beos*)
 1.11446 +    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.11447 +      allow_undefined_flag_CXX=unsupported
 1.11448 +      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 1.11449 +      # support --undefined.  This deserves some investigation.  FIXME
 1.11450 +      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.11451 +    else
 1.11452 +      ld_shlibs_CXX=no
 1.11453 +    fi
 1.11454 +    ;;
 1.11455 +
 1.11456 +  chorus*)
 1.11457 +    case $cc_basename in
 1.11458 +      *)
 1.11459 +	# FIXME: insert proper C++ library support
 1.11460 +	ld_shlibs_CXX=no
 1.11461 +	;;
 1.11462 +    esac
 1.11463 +    ;;
 1.11464 +
 1.11465 +  cygwin* | mingw* | pw32*)
 1.11466 +    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 1.11467 +    # as there is no search path for DLLs.
 1.11468 +    hardcode_libdir_flag_spec_CXX='-L$libdir'
 1.11469 +    allow_undefined_flag_CXX=unsupported
 1.11470 +    always_export_symbols_CXX=no
 1.11471 +    enable_shared_with_static_runtimes_CXX=yes
 1.11472 +
 1.11473 +    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 1.11474 +      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 1.11475 +      # If the export-symbols file already is a .def file (1st line
 1.11476 +      # is EXPORTS), use it as is; otherwise, prepend...
 1.11477 +      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 1.11478 +	cp $export_symbols $output_objdir/$soname.def;
 1.11479 +      else
 1.11480 +	echo EXPORTS > $output_objdir/$soname.def;
 1.11481 +	cat $export_symbols >> $output_objdir/$soname.def;
 1.11482 +      fi~
 1.11483 +      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 1.11484 +    else
 1.11485 +      ld_shlibs_CXX=no
 1.11486 +    fi
 1.11487 +  ;;
 1.11488 +      darwin* | rhapsody*)
 1.11489 +        case $host_os in
 1.11490 +        rhapsody* | darwin1.[012])
 1.11491 +         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 1.11492 +         ;;
 1.11493 +       *) # Darwin 1.3 on
 1.11494 +         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 1.11495 +           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 1.11496 +         else
 1.11497 +           case ${MACOSX_DEPLOYMENT_TARGET} in
 1.11498 +             10.[012])
 1.11499 +               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 1.11500 +               ;;
 1.11501 +             10.*)
 1.11502 +               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 1.11503 +               ;;
 1.11504 +           esac
 1.11505 +         fi
 1.11506 +         ;;
 1.11507 +        esac
 1.11508 +      archive_cmds_need_lc_CXX=no
 1.11509 +      hardcode_direct_CXX=no
 1.11510 +      hardcode_automatic_CXX=yes
 1.11511 +      hardcode_shlibpath_var_CXX=unsupported
 1.11512 +      whole_archive_flag_spec_CXX=''
 1.11513 +      link_all_deplibs_CXX=yes
 1.11514 +
 1.11515 +    if test "$GXX" = yes ; then
 1.11516 +      lt_int_apple_cc_single_mod=no
 1.11517 +      output_verbose_link_cmd='echo'
 1.11518 +      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 1.11519 +       lt_int_apple_cc_single_mod=yes
 1.11520 +      fi
 1.11521 +      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 1.11522 +       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 1.11523 +      else
 1.11524 +          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 1.11525 +        fi
 1.11526 +        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 1.11527 +        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 1.11528 +          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 1.11529 +            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.11530 +          else
 1.11531 +            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.11532 +          fi
 1.11533 +            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.11534 +      else
 1.11535 +      case $cc_basename in
 1.11536 +        xlc*)
 1.11537 +         output_verbose_link_cmd='echo'
 1.11538 +          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 1.11539 +          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 1.11540 +          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 1.11541 +          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.11542 +          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.11543 +          ;;
 1.11544 +       *)
 1.11545 +         ld_shlibs_CXX=no
 1.11546 +          ;;
 1.11547 +      esac
 1.11548 +      fi
 1.11549 +        ;;
 1.11550 +
 1.11551 +  dgux*)
 1.11552 +    case $cc_basename in
 1.11553 +      ec++*)
 1.11554 +	# FIXME: insert proper C++ library support
 1.11555 +	ld_shlibs_CXX=no
 1.11556 +	;;
 1.11557 +      ghcx*)
 1.11558 +	# Green Hills C++ Compiler
 1.11559 +	# FIXME: insert proper C++ library support
 1.11560 +	ld_shlibs_CXX=no
 1.11561 +	;;
 1.11562 +      *)
 1.11563 +	# FIXME: insert proper C++ library support
 1.11564 +	ld_shlibs_CXX=no
 1.11565 +	;;
 1.11566 +    esac
 1.11567 +    ;;
 1.11568 +  freebsd[12]*)
 1.11569 +    # C++ shared libraries reported to be fairly broken before switch to ELF
 1.11570 +    ld_shlibs_CXX=no
 1.11571 +    ;;
 1.11572 +  freebsd-elf*)
 1.11573 +    archive_cmds_need_lc_CXX=no
 1.11574 +    ;;
 1.11575 +  freebsd* | kfreebsd*-gnu | dragonfly*)
 1.11576 +    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 1.11577 +    # conventions
 1.11578 +    ld_shlibs_CXX=yes
 1.11579 +    ;;
 1.11580 +  gnu*)
 1.11581 +    ;;
 1.11582 +  hpux9*)
 1.11583 +    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 1.11584 +    hardcode_libdir_separator_CXX=:
 1.11585 +    export_dynamic_flag_spec_CXX='${wl}-E'
 1.11586 +    hardcode_direct_CXX=yes
 1.11587 +    hardcode_minus_L_CXX=yes # Not in the search PATH,
 1.11588 +				# but as the default
 1.11589 +				# location of the library.
 1.11590 +
 1.11591 +    case $cc_basename in
 1.11592 +    CC*)
 1.11593 +      # FIXME: insert proper C++ library support
 1.11594 +      ld_shlibs_CXX=no
 1.11595 +      ;;
 1.11596 +    aCC*)
 1.11597 +      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 1.11598 +      # Commands to make compiler produce verbose output that lists
 1.11599 +      # what "hidden" libraries, object files and flags are used when
 1.11600 +      # linking a shared library.
 1.11601 +      #
 1.11602 +      # There doesn't appear to be a way to prevent this compiler from
 1.11603 +      # explicitly linking system object files so we need to strip them
 1.11604 +      # from the output so that they don't get included in the library
 1.11605 +      # dependencies.
 1.11606 +      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 1.11607 +      ;;
 1.11608 +    *)
 1.11609 +      if test "$GXX" = yes; then
 1.11610 +        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 1.11611 +      else
 1.11612 +        # FIXME: insert proper C++ library support
 1.11613 +        ld_shlibs_CXX=no
 1.11614 +      fi
 1.11615 +      ;;
 1.11616 +    esac
 1.11617 +    ;;
 1.11618 +  hpux10*|hpux11*)
 1.11619 +    if test $with_gnu_ld = no; then
 1.11620 +      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 1.11621 +      hardcode_libdir_separator_CXX=:
 1.11622 +
 1.11623 +      case $host_cpu in
 1.11624 +      hppa*64*|ia64*)
 1.11625 +	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
 1.11626 +        ;;
 1.11627 +      *)
 1.11628 +	export_dynamic_flag_spec_CXX='${wl}-E'
 1.11629 +        ;;
 1.11630 +      esac
 1.11631 +    fi
 1.11632 +    case $host_cpu in
 1.11633 +    hppa*64*|ia64*)
 1.11634 +      hardcode_direct_CXX=no
 1.11635 +      hardcode_shlibpath_var_CXX=no
 1.11636 +      ;;
 1.11637 +    *)
 1.11638 +      hardcode_direct_CXX=yes
 1.11639 +      hardcode_minus_L_CXX=yes # Not in the search PATH,
 1.11640 +					      # but as the default
 1.11641 +					      # location of the library.
 1.11642 +      ;;
 1.11643 +    esac
 1.11644 +
 1.11645 +    case $cc_basename in
 1.11646 +      CC*)
 1.11647 +	# FIXME: insert proper C++ library support
 1.11648 +	ld_shlibs_CXX=no
 1.11649 +	;;
 1.11650 +      aCC*)
 1.11651 +	case $host_cpu in
 1.11652 +	hppa*64*)
 1.11653 +	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 1.11654 +	  ;;
 1.11655 +	ia64*)
 1.11656 +	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 1.11657 +	  ;;
 1.11658 +	*)
 1.11659 +	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 1.11660 +	  ;;
 1.11661 +	esac
 1.11662 +	# Commands to make compiler produce verbose output that lists
 1.11663 +	# what "hidden" libraries, object files and flags are used when
 1.11664 +	# linking a shared library.
 1.11665 +	#
 1.11666 +	# There doesn't appear to be a way to prevent this compiler from
 1.11667 +	# explicitly linking system object files so we need to strip them
 1.11668 +	# from the output so that they don't get included in the library
 1.11669 +	# dependencies.
 1.11670 +	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 1.11671 +	;;
 1.11672 +      *)
 1.11673 +	if test "$GXX" = yes; then
 1.11674 +	  if test $with_gnu_ld = no; then
 1.11675 +	    case $host_cpu in
 1.11676 +	    hppa*64*)
 1.11677 +	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 1.11678 +	      ;;
 1.11679 +	    ia64*)
 1.11680 +	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 1.11681 +	      ;;
 1.11682 +	    *)
 1.11683 +	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 1.11684 +	      ;;
 1.11685 +	    esac
 1.11686 +	  fi
 1.11687 +	else
 1.11688 +	  # FIXME: insert proper C++ library support
 1.11689 +	  ld_shlibs_CXX=no
 1.11690 +	fi
 1.11691 +	;;
 1.11692 +    esac
 1.11693 +    ;;
 1.11694 +  interix3*)
 1.11695 +    hardcode_direct_CXX=no
 1.11696 +    hardcode_shlibpath_var_CXX=no
 1.11697 +    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 1.11698 +    export_dynamic_flag_spec_CXX='${wl}-E'
 1.11699 +    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 1.11700 +    # Instead, shared libraries are loaded at an image base (0x10000000 by
 1.11701 +    # default) and relocated if they conflict, which is a slow very memory
 1.11702 +    # consuming and fragmenting process.  To avoid this, we pick a random,
 1.11703 +    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 1.11704 +    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 1.11705 +    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 1.11706 +    archive_expsym_cmds_CXX='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.11707 +    ;;
 1.11708 +  irix5* | irix6*)
 1.11709 +    case $cc_basename in
 1.11710 +      CC*)
 1.11711 +	# SGI C++
 1.11712 +	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.11713 +
 1.11714 +	# Archives containing C++ object files must be created using
 1.11715 +	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 1.11716 +	# necessary to make sure instantiated templates are included
 1.11717 +	# in the archive.
 1.11718 +	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 1.11719 +	;;
 1.11720 +      *)
 1.11721 +	if test "$GXX" = yes; then
 1.11722 +	  if test "$with_gnu_ld" = no; then
 1.11723 +	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.11724 +	  else
 1.11725 +	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
 1.11726 +	  fi
 1.11727 +	fi
 1.11728 +	link_all_deplibs_CXX=yes
 1.11729 +	;;
 1.11730 +    esac
 1.11731 +    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 1.11732 +    hardcode_libdir_separator_CXX=:
 1.11733 +    ;;
 1.11734 +  linux*)
 1.11735 +    case $cc_basename in
 1.11736 +      KCC*)
 1.11737 +	# Kuck and Associates, Inc. (KAI) C++ Compiler
 1.11738 +
 1.11739 +	# KCC will only create a shared library if the output file
 1.11740 +	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 1.11741 +	# to its proper name (with version) after linking.
 1.11742 +	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 1.11743 +	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 1.11744 +	# Commands to make compiler produce verbose output that lists
 1.11745 +	# what "hidden" libraries, object files and flags are used when
 1.11746 +	# linking a shared library.
 1.11747 +	#
 1.11748 +	# There doesn't appear to be a way to prevent this compiler from
 1.11749 +	# explicitly linking system object files so we need to strip them
 1.11750 +	# from the output so that they don't get included in the library
 1.11751 +	# dependencies.
 1.11752 +	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 1.11753 +
 1.11754 +	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
 1.11755 +	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 1.11756 +
 1.11757 +	# Archives containing C++ object files must be created using
 1.11758 +	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 1.11759 +	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 1.11760 +	;;
 1.11761 +      icpc*)
 1.11762 +	# Intel C++
 1.11763 +	with_gnu_ld=yes
 1.11764 +	# version 8.0 and above of icpc choke on multiply defined symbols
 1.11765 +	# if we add $predep_objects and $postdep_objects, however 7.1 and
 1.11766 +	# earlier do not add the objects themselves.
 1.11767 +	case `$CC -V 2>&1` in
 1.11768 +	*"Version 7."*)
 1.11769 +  	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.11770 +  	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.11771 +	  ;;
 1.11772 +	*)  # Version 8.0 or newer
 1.11773 +	  tmp_idyn=
 1.11774 +	  case $host_cpu in
 1.11775 +	    ia64*) tmp_idyn=' -i_dynamic';;
 1.11776 +	  esac
 1.11777 +  	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.11778 +	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.11779 +	  ;;
 1.11780 +	esac
 1.11781 +	archive_cmds_need_lc_CXX=no
 1.11782 +	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 1.11783 +	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 1.11784 +	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 1.11785 +	;;
 1.11786 +      pgCC*)
 1.11787 +        # Portland Group C++ compiler
 1.11788 +	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 1.11789 +  	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 1.11790 +
 1.11791 +	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 1.11792 +	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 1.11793 +	whole_archive_flag_spec_CXX='${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.11794 +        ;;
 1.11795 +      cxx*)
 1.11796 +	# Compaq C++
 1.11797 +	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.11798 +	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 1.11799 +
 1.11800 +	runpath_var=LD_RUN_PATH
 1.11801 +	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 1.11802 +	hardcode_libdir_separator_CXX=:
 1.11803 +
 1.11804 +	# Commands to make compiler produce verbose output that lists
 1.11805 +	# what "hidden" libraries, object files and flags are used when
 1.11806 +	# linking a shared library.
 1.11807 +	#
 1.11808 +	# There doesn't appear to be a way to prevent this compiler from
 1.11809 +	# explicitly linking system object files so we need to strip them
 1.11810 +	# from the output so that they don't get included in the library
 1.11811 +	# dependencies.
 1.11812 +	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 1.11813 +	;;
 1.11814 +    esac
 1.11815 +    ;;
 1.11816 +  lynxos*)
 1.11817 +    # FIXME: insert proper C++ library support
 1.11818 +    ld_shlibs_CXX=no
 1.11819 +    ;;
 1.11820 +  m88k*)
 1.11821 +    # FIXME: insert proper C++ library support
 1.11822 +    ld_shlibs_CXX=no
 1.11823 +    ;;
 1.11824 +  mvs*)
 1.11825 +    case $cc_basename in
 1.11826 +      cxx*)
 1.11827 +	# FIXME: insert proper C++ library support
 1.11828 +	ld_shlibs_CXX=no
 1.11829 +	;;
 1.11830 +      *)
 1.11831 +	# FIXME: insert proper C++ library support
 1.11832 +	ld_shlibs_CXX=no
 1.11833 +	;;
 1.11834 +    esac
 1.11835 +    ;;
 1.11836 +  netbsd*)
 1.11837 +    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.11838 +      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 1.11839 +      wlarc=
 1.11840 +      hardcode_libdir_flag_spec_CXX='-R$libdir'
 1.11841 +      hardcode_direct_CXX=yes
 1.11842 +      hardcode_shlibpath_var_CXX=no
 1.11843 +    fi
 1.11844 +    # Workaround some broken pre-1.5 toolchains
 1.11845 +    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 1.11846 +    ;;
 1.11847 +  openbsd2*)
 1.11848 +    # C++ shared libraries are fairly broken
 1.11849 +    ld_shlibs_CXX=no
 1.11850 +    ;;
 1.11851 +  openbsd*)
 1.11852 +    hardcode_direct_CXX=yes
 1.11853 +    hardcode_shlibpath_var_CXX=no
 1.11854 +    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 1.11855 +    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 1.11856 +    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.11857 +      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 1.11858 +      export_dynamic_flag_spec_CXX='${wl}-E'
 1.11859 +      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 1.11860 +    fi
 1.11861 +    output_verbose_link_cmd='echo'
 1.11862 +    ;;
 1.11863 +  osf3*)
 1.11864 +    case $cc_basename in
 1.11865 +      KCC*)
 1.11866 +	# Kuck and Associates, Inc. (KAI) C++ Compiler
 1.11867 +
 1.11868 +	# KCC will only create a shared library if the output file
 1.11869 +	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 1.11870 +	# to its proper name (with version) after linking.
 1.11871 +	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 1.11872 +
 1.11873 +	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 1.11874 +	hardcode_libdir_separator_CXX=:
 1.11875 +
 1.11876 +	# Archives containing C++ object files must be created using
 1.11877 +	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 1.11878 +	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 1.11879 +
 1.11880 +	;;
 1.11881 +      RCC*)
 1.11882 +	# Rational C++ 2.4.1
 1.11883 +	# FIXME: insert proper C++ library support
 1.11884 +	ld_shlibs_CXX=no
 1.11885 +	;;
 1.11886 +      cxx*)
 1.11887 +	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 1.11888 +	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.11889 +
 1.11890 +	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 1.11891 +	hardcode_libdir_separator_CXX=:
 1.11892 +
 1.11893 +	# Commands to make compiler produce verbose output that lists
 1.11894 +	# what "hidden" libraries, object files and flags are used when
 1.11895 +	# linking a shared library.
 1.11896 +	#
 1.11897 +	# There doesn't appear to be a way to prevent this compiler from
 1.11898 +	# explicitly linking system object files so we need to strip them
 1.11899 +	# from the output so that they don't get included in the library
 1.11900 +	# dependencies.
 1.11901 +	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 1.11902 +	;;
 1.11903 +      *)
 1.11904 +	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 1.11905 +	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 1.11906 +	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.11907 +
 1.11908 +	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 1.11909 +	  hardcode_libdir_separator_CXX=:
 1.11910 +
 1.11911 +	  # Commands to make compiler produce verbose output that lists
 1.11912 +	  # what "hidden" libraries, object files and flags are used when
 1.11913 +	  # linking a shared library.
 1.11914 +	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 1.11915 +
 1.11916 +	else
 1.11917 +	  # FIXME: insert proper C++ library support
 1.11918 +	  ld_shlibs_CXX=no
 1.11919 +	fi
 1.11920 +	;;
 1.11921 +    esac
 1.11922 +    ;;
 1.11923 +  osf4* | osf5*)
 1.11924 +    case $cc_basename in
 1.11925 +      KCC*)
 1.11926 +	# Kuck and Associates, Inc. (KAI) C++ Compiler
 1.11927 +
 1.11928 +	# KCC will only create a shared library if the output file
 1.11929 +	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 1.11930 +	# to its proper name (with version) after linking.
 1.11931 +	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 1.11932 +
 1.11933 +	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 1.11934 +	hardcode_libdir_separator_CXX=:
 1.11935 +
 1.11936 +	# Archives containing C++ object files must be created using
 1.11937 +	# the KAI C++ compiler.
 1.11938 +	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
 1.11939 +	;;
 1.11940 +      RCC*)
 1.11941 +	# Rational C++ 2.4.1
 1.11942 +	# FIXME: insert proper C++ library support
 1.11943 +	ld_shlibs_CXX=no
 1.11944 +	;;
 1.11945 +      cxx*)
 1.11946 +	allow_undefined_flag_CXX=' -expect_unresolved \*'
 1.11947 +	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.11948 +	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 1.11949 +	  echo "-hidden">> $lib.exp~
 1.11950 +	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
 1.11951 +	  $rm $lib.exp'
 1.11952 +
 1.11953 +	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 1.11954 +	hardcode_libdir_separator_CXX=:
 1.11955 +
 1.11956 +	# Commands to make compiler produce verbose output that lists
 1.11957 +	# what "hidden" libraries, object files and flags are used when
 1.11958 +	# linking a shared library.
 1.11959 +	#
 1.11960 +	# There doesn't appear to be a way to prevent this compiler from
 1.11961 +	# explicitly linking system object files so we need to strip them
 1.11962 +	# from the output so that they don't get included in the library
 1.11963 +	# dependencies.
 1.11964 +	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 1.11965 +	;;
 1.11966 +      *)
 1.11967 +	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 1.11968 +	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 1.11969 +	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.11970 +
 1.11971 +	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 1.11972 +	  hardcode_libdir_separator_CXX=:
 1.11973 +
 1.11974 +	  # Commands to make compiler produce verbose output that lists
 1.11975 +	  # what "hidden" libraries, object files and flags are used when
 1.11976 +	  # linking a shared library.
 1.11977 +	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 1.11978 +
 1.11979 +	else
 1.11980 +	  # FIXME: insert proper C++ library support
 1.11981 +	  ld_shlibs_CXX=no
 1.11982 +	fi
 1.11983 +	;;
 1.11984 +    esac
 1.11985 +    ;;
 1.11986 +  psos*)
 1.11987 +    # FIXME: insert proper C++ library support
 1.11988 +    ld_shlibs_CXX=no
 1.11989 +    ;;
 1.11990 +  sunos4*)
 1.11991 +    case $cc_basename in
 1.11992 +      CC*)
 1.11993 +	# Sun C++ 4.x
 1.11994 +	# FIXME: insert proper C++ library support
 1.11995 +	ld_shlibs_CXX=no
 1.11996 +	;;
 1.11997 +      lcc*)
 1.11998 +	# Lucid
 1.11999 +	# FIXME: insert proper C++ library support
 1.12000 +	ld_shlibs_CXX=no
 1.12001 +	;;
 1.12002 +      *)
 1.12003 +	# FIXME: insert proper C++ library support
 1.12004 +	ld_shlibs_CXX=no
 1.12005 +	;;
 1.12006 +    esac
 1.12007 +    ;;
 1.12008 +  solaris*)
 1.12009 +    case $cc_basename in
 1.12010 +      CC*)
 1.12011 +	# Sun C++ 4.2, 5.x and Centerline C++
 1.12012 +        archive_cmds_need_lc_CXX=yes
 1.12013 +	no_undefined_flag_CXX=' -zdefs'
 1.12014 +	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 1.12015 +	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 1.12016 +	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 1.12017 +
 1.12018 +	hardcode_libdir_flag_spec_CXX='-R$libdir'
 1.12019 +	hardcode_shlibpath_var_CXX=no
 1.12020 +	case $host_os in
 1.12021 +	  solaris2.[0-5] | solaris2.[0-5].*) ;;
 1.12022 +	  *)
 1.12023 +	    # The C++ compiler is used as linker so we must use $wl
 1.12024 +	    # flag to pass the commands to the underlying system
 1.12025 +	    # linker. We must also pass each convience library through
 1.12026 +	    # to the system linker between allextract/defaultextract.
 1.12027 +	    # The C++ compiler will combine linker options so we
 1.12028 +	    # cannot just pass the convience library names through
 1.12029 +	    # without $wl.
 1.12030 +	    # Supported since Solaris 2.6 (maybe 2.5.1?)
 1.12031 +	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 1.12032 +	    ;;
 1.12033 +	esac
 1.12034 +	link_all_deplibs_CXX=yes
 1.12035 +
 1.12036 +	output_verbose_link_cmd='echo'
 1.12037 +
 1.12038 +	# Archives containing C++ object files must be created using
 1.12039 +	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
 1.12040 +	# necessary to make sure instantiated templates are included
 1.12041 +	# in the archive.
 1.12042 +	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 1.12043 +	;;
 1.12044 +      gcx*)
 1.12045 +	# Green Hills C++ Compiler
 1.12046 +	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 1.12047 +
 1.12048 +	# The C++ compiler must be used to create the archive.
 1.12049 +	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 1.12050 +	;;
 1.12051 +      *)
 1.12052 +	# GNU C++ compiler with Solaris linker
 1.12053 +	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 1.12054 +	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 1.12055 +	  if $CC --version | grep -v '^2\.7' > /dev/null; then
 1.12056 +	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 1.12057 +	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 1.12058 +		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 1.12059 +
 1.12060 +	    # Commands to make compiler produce verbose output that lists
 1.12061 +	    # what "hidden" libraries, object files and flags are used when
 1.12062 +	    # linking a shared library.
 1.12063 +	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 1.12064 +	  else
 1.12065 +	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
 1.12066 +	    # platform.
 1.12067 +	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 1.12068 +	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 1.12069 +		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 1.12070 +
 1.12071 +	    # Commands to make compiler produce verbose output that lists
 1.12072 +	    # what "hidden" libraries, object files and flags are used when
 1.12073 +	    # linking a shared library.
 1.12074 +	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 1.12075 +	  fi
 1.12076 +
 1.12077 +	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 1.12078 +	fi
 1.12079 +	;;
 1.12080 +    esac
 1.12081 +    ;;
 1.12082 +  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 1.12083 +    no_undefined_flag_CXX='${wl}-z,text'
 1.12084 +    archive_cmds_need_lc_CXX=no
 1.12085 +    hardcode_shlibpath_var_CXX=no
 1.12086 +    runpath_var='LD_RUN_PATH'
 1.12087 +
 1.12088 +    case $cc_basename in
 1.12089 +      CC*)
 1.12090 +	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12091 +	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12092 +	;;
 1.12093 +      *)
 1.12094 +	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12095 +	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12096 +	;;
 1.12097 +    esac
 1.12098 +    ;;
 1.12099 +  sysv5* | sco3.2v5* | sco5v6*)
 1.12100 +    # Note: We can NOT use -z defs as we might desire, because we do not
 1.12101 +    # link with -lc, and that would cause any symbols used from libc to
 1.12102 +    # always be unresolved, which means just about no library would
 1.12103 +    # ever link correctly.  If we're not using GNU ld we use -z text
 1.12104 +    # though, which does catch some bad symbols but isn't as heavy-handed
 1.12105 +    # as -z defs.
 1.12106 +    # For security reasons, it is highly recommended that you always
 1.12107 +    # use absolute paths for naming shared libraries, and exclude the
 1.12108 +    # DT_RUNPATH tag from executables and libraries.  But doing so
 1.12109 +    # requires that you compile everything twice, which is a pain.
 1.12110 +    # So that behaviour is only enabled if SCOABSPATH is set to a
 1.12111 +    # non-empty value in the environment.  Most likely only useful for
 1.12112 +    # creating official distributions of packages.
 1.12113 +    # This is a hack until libtool officially supports absolute path
 1.12114 +    # names for shared libraries.
 1.12115 +    no_undefined_flag_CXX='${wl}-z,text'
 1.12116 +    allow_undefined_flag_CXX='${wl}-z,nodefs'
 1.12117 +    archive_cmds_need_lc_CXX=no
 1.12118 +    hardcode_shlibpath_var_CXX=no
 1.12119 +    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 1.12120 +    hardcode_libdir_separator_CXX=':'
 1.12121 +    link_all_deplibs_CXX=yes
 1.12122 +    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 1.12123 +    runpath_var='LD_RUN_PATH'
 1.12124 +
 1.12125 +    case $cc_basename in
 1.12126 +      CC*)
 1.12127 +	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12128 +	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12129 +	;;
 1.12130 +      *)
 1.12131 +	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12132 +	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.12133 +	;;
 1.12134 +    esac
 1.12135 +    ;;
 1.12136 +  tandem*)
 1.12137 +    case $cc_basename in
 1.12138 +      NCC*)
 1.12139 +	# NonStop-UX NCC 3.20
 1.12140 +	# FIXME: insert proper C++ library support
 1.12141 +	ld_shlibs_CXX=no
 1.12142 +	;;
 1.12143 +      *)
 1.12144 +	# FIXME: insert proper C++ library support
 1.12145 +	ld_shlibs_CXX=no
 1.12146 +	;;
 1.12147 +    esac
 1.12148 +    ;;
 1.12149 +  vxworks*)
 1.12150 +    # FIXME: insert proper C++ library support
 1.12151 +    ld_shlibs_CXX=no
 1.12152 +    ;;
 1.12153 +  *)
 1.12154 +    # FIXME: insert proper C++ library support
 1.12155 +    ld_shlibs_CXX=no
 1.12156 +    ;;
 1.12157 +esac
 1.12158 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 1.12159 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 1.12160 +test "$ld_shlibs_CXX" = no && can_build_shared=no
 1.12161 +
 1.12162 +GCC_CXX="$GXX"
 1.12163 +LD_CXX="$LD"
 1.12164 +
 1.12165 +
 1.12166 +cat > conftest.$ac_ext <<EOF
 1.12167 +class Foo
 1.12168 +{
 1.12169 +public:
 1.12170 +  Foo (void) { a = 0; }
 1.12171 +private:
 1.12172 +  int a;
 1.12173 +};
 1.12174 +EOF
 1.12175 +
 1.12176 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1.12177 +  (eval $ac_compile) 2>&5
 1.12178 +  ac_status=$?
 1.12179 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.12180 +  (exit $ac_status); }; then
 1.12181 +  # Parse the compiler output and extract the necessary
 1.12182 +  # objects, libraries and library flags.
 1.12183 +
 1.12184 +  # Sentinel used to keep track of whether or not we are before
 1.12185 +  # the conftest object file.
 1.12186 +  pre_test_object_deps_done=no
 1.12187 +
 1.12188 +  # The `*' in the case matches for architectures that use `case' in
 1.12189 +  # $output_verbose_cmd can trigger glob expansion during the loop
 1.12190 +  # eval without this substitution.
 1.12191 +  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
 1.12192 +
 1.12193 +  for p in `eval $output_verbose_link_cmd`; do
 1.12194 +    case $p in
 1.12195 +
 1.12196 +    -L* | -R* | -l*)
 1.12197 +       # Some compilers place space between "-{L,R}" and the path.
 1.12198 +       # Remove the space.
 1.12199 +       if test $p = "-L" \
 1.12200 +	  || test $p = "-R"; then
 1.12201 +	 prev=$p
 1.12202 +	 continue
 1.12203 +       else
 1.12204 +	 prev=
 1.12205 +       fi
 1.12206 +
 1.12207 +       if test "$pre_test_object_deps_done" = no; then
 1.12208 +	 case $p in
 1.12209 +	 -L* | -R*)
 1.12210 +	   # Internal compiler library paths should come after those
 1.12211 +	   # provided the user.  The postdeps already come after the
 1.12212 +	   # user supplied libs so there is no need to process them.
 1.12213 +	   if test -z "$compiler_lib_search_path_CXX"; then
 1.12214 +	     compiler_lib_search_path_CXX="${prev}${p}"
 1.12215 +	   else
 1.12216 +	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 1.12217 +	   fi
 1.12218 +	   ;;
 1.12219 +	 # The "-l" case would never come before the object being
 1.12220 +	 # linked, so don't bother handling this case.
 1.12221 +	 esac
 1.12222 +       else
 1.12223 +	 if test -z "$postdeps_CXX"; then
 1.12224 +	   postdeps_CXX="${prev}${p}"
 1.12225 +	 else
 1.12226 +	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 1.12227 +	 fi
 1.12228 +       fi
 1.12229 +       ;;
 1.12230 +
 1.12231 +    *.$objext)
 1.12232 +       # This assumes that the test object file only shows up
 1.12233 +       # once in the compiler output.
 1.12234 +       if test "$p" = "conftest.$objext"; then
 1.12235 +	 pre_test_object_deps_done=yes
 1.12236 +	 continue
 1.12237 +       fi
 1.12238 +
 1.12239 +       if test "$pre_test_object_deps_done" = no; then
 1.12240 +	 if test -z "$predep_objects_CXX"; then
 1.12241 +	   predep_objects_CXX="$p"
 1.12242 +	 else
 1.12243 +	   predep_objects_CXX="$predep_objects_CXX $p"
 1.12244 +	 fi
 1.12245 +       else
 1.12246 +	 if test -z "$postdep_objects_CXX"; then
 1.12247 +	   postdep_objects_CXX="$p"
 1.12248 +	 else
 1.12249 +	   postdep_objects_CXX="$postdep_objects_CXX $p"
 1.12250 +	 fi
 1.12251 +       fi
 1.12252 +       ;;
 1.12253 +
 1.12254 +    *) ;; # Ignore the rest.
 1.12255 +
 1.12256 +    esac
 1.12257 +  done
 1.12258 +
 1.12259 +  # Clean up.
 1.12260 +  rm -f a.out a.exe
 1.12261 +else
 1.12262 +  echo "libtool.m4: error: problem compiling CXX test program"
 1.12263 +fi
 1.12264 +
 1.12265 +$rm -f confest.$objext
 1.12266 +
 1.12267 +# PORTME: override above test on systems where it is broken
 1.12268 +case $host_os in
 1.12269 +interix3*)
 1.12270 +  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 1.12271 +  # hack all around it, let's just trust "g++" to DTRT.
 1.12272 +  predep_objects_CXX=
 1.12273 +  postdep_objects_CXX=
 1.12274 +  postdeps_CXX=
 1.12275 +  ;;
 1.12276 +
 1.12277 +solaris*)
 1.12278 +  case $cc_basename in
 1.12279 +  CC*)
 1.12280 +    # Adding this requires a known-good setup of shared libraries for
 1.12281 +    # Sun compiler versions before 5.6, else PIC objects from an old
 1.12282 +    # archive will be linked into the output, leading to subtle bugs.
 1.12283 +    postdeps_CXX='-lCstd -lCrun'
 1.12284 +    ;;
 1.12285 +  esac
 1.12286 +  ;;
 1.12287 +esac
 1.12288 +
 1.12289 +
 1.12290 +case " $postdeps_CXX " in
 1.12291 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 1.12292 +esac
 1.12293 +
 1.12294 +lt_prog_compiler_wl_CXX=
 1.12295 +lt_prog_compiler_pic_CXX=
 1.12296 +lt_prog_compiler_static_CXX=
 1.12297 +
 1.12298 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 1.12299 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 1.12300 +
 1.12301 +  # C++ specific cases for pic, static, wl, etc.
 1.12302 +  if test "$GXX" = yes; then
 1.12303 +    lt_prog_compiler_wl_CXX='-Wl,'
 1.12304 +    lt_prog_compiler_static_CXX='-static'
 1.12305 +
 1.12306 +    case $host_os in
 1.12307 +    aix*)
 1.12308 +      # All AIX code is PIC.
 1.12309 +      if test "$host_cpu" = ia64; then
 1.12310 +	# AIX 5 now supports IA64 processor
 1.12311 +	lt_prog_compiler_static_CXX='-Bstatic'
 1.12312 +      fi
 1.12313 +      ;;
 1.12314 +    amigaos*)
 1.12315 +      # FIXME: we need at least 68020 code to build shared libraries, but
 1.12316 +      # adding the `-m68020' flag to GCC prevents building anything better,
 1.12317 +      # like `-m68040'.
 1.12318 +      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 1.12319 +      ;;
 1.12320 +    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 1.12321 +      # PIC is the default for these OSes.
 1.12322 +      ;;
 1.12323 +    mingw* | os2* | pw32*)
 1.12324 +      # This hack is so that the source file can tell whether it is being
 1.12325 +      # built for inclusion in a dll (and should export symbols for example).
 1.12326 +      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 1.12327 +      ;;
 1.12328 +    darwin* | rhapsody*)
 1.12329 +      # PIC is the default on this platform
 1.12330 +      # Common symbols not allowed in MH_DYLIB files
 1.12331 +      lt_prog_compiler_pic_CXX='-fno-common'
 1.12332 +      ;;
 1.12333 +    *djgpp*)
 1.12334 +      # DJGPP does not support shared libraries at all
 1.12335 +      lt_prog_compiler_pic_CXX=
 1.12336 +      ;;
 1.12337 +    interix3*)
 1.12338 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 1.12339 +      # Instead, we relocate shared libraries at runtime.
 1.12340 +      ;;
 1.12341 +    sysv4*MP*)
 1.12342 +      if test -d /usr/nec; then
 1.12343 +	lt_prog_compiler_pic_CXX=-Kconform_pic
 1.12344 +      fi
 1.12345 +      ;;
 1.12346 +    hpux*)
 1.12347 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 1.12348 +      # not for PA HP-UX.
 1.12349 +      case $host_cpu in
 1.12350 +      hppa*64*|ia64*)
 1.12351 +	;;
 1.12352 +      *)
 1.12353 +	lt_prog_compiler_pic_CXX='-fPIC'
 1.12354 +	;;
 1.12355 +      esac
 1.12356 +      ;;
 1.12357 +    *)
 1.12358 +      lt_prog_compiler_pic_CXX='-fPIC'
 1.12359 +      ;;
 1.12360 +    esac
 1.12361 +  else
 1.12362 +    case $host_os in
 1.12363 +      aix4* | aix5*)
 1.12364 +	# All AIX code is PIC.
 1.12365 +	if test "$host_cpu" = ia64; then
 1.12366 +	  # AIX 5 now supports IA64 processor
 1.12367 +	  lt_prog_compiler_static_CXX='-Bstatic'
 1.12368 +	else
 1.12369 +	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 1.12370 +	fi
 1.12371 +	;;
 1.12372 +      chorus*)
 1.12373 +	case $cc_basename in
 1.12374 +	cxch68*)
 1.12375 +	  # Green Hills C++ Compiler
 1.12376 +	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 1.12377 +	  ;;
 1.12378 +	esac
 1.12379 +	;;
 1.12380 +       darwin*)
 1.12381 +         # PIC is the default on this platform
 1.12382 +         # Common symbols not allowed in MH_DYLIB files
 1.12383 +         case $cc_basename in
 1.12384 +           xlc*)
 1.12385 +           lt_prog_compiler_pic_CXX='-qnocommon'
 1.12386 +           lt_prog_compiler_wl_CXX='-Wl,'
 1.12387 +           ;;
 1.12388 +         esac
 1.12389 +       ;;
 1.12390 +      dgux*)
 1.12391 +	case $cc_basename in
 1.12392 +	  ec++*)
 1.12393 +	    lt_prog_compiler_pic_CXX='-KPIC'
 1.12394 +	    ;;
 1.12395 +	  ghcx*)
 1.12396 +	    # Green Hills C++ Compiler
 1.12397 +	    lt_prog_compiler_pic_CXX='-pic'
 1.12398 +	    ;;
 1.12399 +	  *)
 1.12400 +	    ;;
 1.12401 +	esac
 1.12402 +	;;
 1.12403 +      freebsd* | kfreebsd*-gnu | dragonfly*)
 1.12404 +	# FreeBSD uses GNU C++
 1.12405 +	;;
 1.12406 +      hpux9* | hpux10* | hpux11*)
 1.12407 +	case $cc_basename in
 1.12408 +	  CC*)
 1.12409 +	    lt_prog_compiler_wl_CXX='-Wl,'
 1.12410 +	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 1.12411 +	    if test "$host_cpu" != ia64; then
 1.12412 +	      lt_prog_compiler_pic_CXX='+Z'
 1.12413 +	    fi
 1.12414 +	    ;;
 1.12415 +	  aCC*)
 1.12416 +	    lt_prog_compiler_wl_CXX='-Wl,'
 1.12417 +	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 1.12418 +	    case $host_cpu in
 1.12419 +	    hppa*64*|ia64*)
 1.12420 +	      # +Z the default
 1.12421 +	      ;;
 1.12422 +	    *)
 1.12423 +	      lt_prog_compiler_pic_CXX='+Z'
 1.12424 +	      ;;
 1.12425 +	    esac
 1.12426 +	    ;;
 1.12427 +	  *)
 1.12428 +	    ;;
 1.12429 +	esac
 1.12430 +	;;
 1.12431 +      interix*)
 1.12432 +	# This is c89, which is MS Visual C++ (no shared libs)
 1.12433 +	# Anyone wants to do a port?
 1.12434 +	;;
 1.12435 +      irix5* | irix6* | nonstopux*)
 1.12436 +	case $cc_basename in
 1.12437 +	  CC*)
 1.12438 +	    lt_prog_compiler_wl_CXX='-Wl,'
 1.12439 +	    lt_prog_compiler_static_CXX='-non_shared'
 1.12440 +	    # CC pic flag -KPIC is the default.
 1.12441 +	    ;;
 1.12442 +	  *)
 1.12443 +	    ;;
 1.12444 +	esac
 1.12445 +	;;
 1.12446 +      linux*)
 1.12447 +	case $cc_basename in
 1.12448 +	  KCC*)
 1.12449 +	    # KAI C++ Compiler
 1.12450 +	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 1.12451 +	    lt_prog_compiler_pic_CXX='-fPIC'
 1.12452 +	    ;;
 1.12453 +	  icpc* | ecpc*)
 1.12454 +	    # Intel C++
 1.12455 +	    lt_prog_compiler_wl_CXX='-Wl,'
 1.12456 +	    lt_prog_compiler_pic_CXX='-KPIC'
 1.12457 +	    lt_prog_compiler_static_CXX='-static'
 1.12458 +	    ;;
 1.12459 +	  pgCC*)
 1.12460 +	    # Portland Group C++ compiler.
 1.12461 +	    lt_prog_compiler_wl_CXX='-Wl,'
 1.12462 +	    lt_prog_compiler_pic_CXX='-fpic'
 1.12463 +	    lt_prog_compiler_static_CXX='-Bstatic'
 1.12464 +	    ;;
 1.12465 +	  cxx*)
 1.12466 +	    # Compaq C++
 1.12467 +	    # Make sure the PIC flag is empty.  It appears that all Alpha
 1.12468 +	    # Linux and Compaq Tru64 Unix objects are PIC.
 1.12469 +	    lt_prog_compiler_pic_CXX=
 1.12470 +	    lt_prog_compiler_static_CXX='-non_shared'
 1.12471 +	    ;;
 1.12472 +	  *)
 1.12473 +	    ;;
 1.12474 +	esac
 1.12475 +	;;
 1.12476 +      lynxos*)
 1.12477 +	;;
 1.12478 +      m88k*)
 1.12479 +	;;
 1.12480 +      mvs*)
 1.12481 +	case $cc_basename in
 1.12482 +	  cxx*)
 1.12483 +	    lt_prog_compiler_pic_CXX='-W c,exportall'
 1.12484 +	    ;;
 1.12485 +	  *)
 1.12486 +	    ;;
 1.12487 +	esac
 1.12488 +	;;
 1.12489 +      netbsd*)
 1.12490 +	;;
 1.12491 +      osf3* | osf4* | osf5*)
 1.12492 +	case $cc_basename in
 1.12493 +	  KCC*)
 1.12494 +	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 1.12495 +	    ;;
 1.12496 +	  RCC*)
 1.12497 +	    # Rational C++ 2.4.1
 1.12498 +	    lt_prog_compiler_pic_CXX='-pic'
 1.12499 +	    ;;
 1.12500 +	  cxx*)
 1.12501 +	    # Digital/Compaq C++
 1.12502 +	    lt_prog_compiler_wl_CXX='-Wl,'
 1.12503 +	    # Make sure the PIC flag is empty.  It appears that all Alpha
 1.12504 +	    # Linux and Compaq Tru64 Unix objects are PIC.
 1.12505 +	    lt_prog_compiler_pic_CXX=
 1.12506 +	    lt_prog_compiler_static_CXX='-non_shared'
 1.12507 +	    ;;
 1.12508 +	  *)
 1.12509 +	    ;;
 1.12510 +	esac
 1.12511 +	;;
 1.12512 +      psos*)
 1.12513 +	;;
 1.12514 +      solaris*)
 1.12515 +	case $cc_basename in
 1.12516 +	  CC*)
 1.12517 +	    # Sun C++ 4.2, 5.x and Centerline C++
 1.12518 +	    lt_prog_compiler_pic_CXX='-KPIC'
 1.12519 +	    lt_prog_compiler_static_CXX='-Bstatic'
 1.12520 +	    lt_prog_compiler_wl_CXX='-Qoption ld '
 1.12521 +	    ;;
 1.12522 +	  gcx*)
 1.12523 +	    # Green Hills C++ Compiler
 1.12524 +	    lt_prog_compiler_pic_CXX='-PIC'
 1.12525 +	    ;;
 1.12526 +	  *)
 1.12527 +	    ;;
 1.12528 +	esac
 1.12529 +	;;
 1.12530 +      sunos4*)
 1.12531 +	case $cc_basename in
 1.12532 +	  CC*)
 1.12533 +	    # Sun C++ 4.x
 1.12534 +	    lt_prog_compiler_pic_CXX='-pic'
 1.12535 +	    lt_prog_compiler_static_CXX='-Bstatic'
 1.12536 +	    ;;
 1.12537 +	  lcc*)
 1.12538 +	    # Lucid
 1.12539 +	    lt_prog_compiler_pic_CXX='-pic'
 1.12540 +	    ;;
 1.12541 +	  *)
 1.12542 +	    ;;
 1.12543 +	esac
 1.12544 +	;;
 1.12545 +      tandem*)
 1.12546 +	case $cc_basename in
 1.12547 +	  NCC*)
 1.12548 +	    # NonStop-UX NCC 3.20
 1.12549 +	    lt_prog_compiler_pic_CXX='-KPIC'
 1.12550 +	    ;;
 1.12551 +	  *)
 1.12552 +	    ;;
 1.12553 +	esac
 1.12554 +	;;
 1.12555 +      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 1.12556 +	case $cc_basename in
 1.12557 +	  CC*)
 1.12558 +	    lt_prog_compiler_wl_CXX='-Wl,'
 1.12559 +	    lt_prog_compiler_pic_CXX='-KPIC'
 1.12560 +	    lt_prog_compiler_static_CXX='-Bstatic'
 1.12561 +	    ;;
 1.12562 +	esac
 1.12563 +	;;
 1.12564 +      vxworks*)
 1.12565 +	;;
 1.12566 +      *)
 1.12567 +	lt_prog_compiler_can_build_shared_CXX=no
 1.12568 +	;;
 1.12569 +    esac
 1.12570 +  fi
 1.12571 +
 1.12572 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 1.12573 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 1.12574 +
 1.12575 +#
 1.12576 +# Check to make sure the PIC flag actually works.
 1.12577 +#
 1.12578 +if test -n "$lt_prog_compiler_pic_CXX"; then
 1.12579 +
 1.12580 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 1.12581 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 1.12582 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 1.12583 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.12584 +else
 1.12585 +  lt_prog_compiler_pic_works_CXX=no
 1.12586 +  ac_outfile=conftest.$ac_objext
 1.12587 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.12588 +   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 1.12589 +   # Insert the option either (1) after the last *FLAGS variable, or
 1.12590 +   # (2) before a word containing "conftest.", or (3) at the end.
 1.12591 +   # Note that $ac_compile itself does not contain backslashes and begins
 1.12592 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
 1.12593 +   # The option is referenced via a variable to avoid confusing sed.
 1.12594 +   lt_compile=`echo "$ac_compile" | $SED \
 1.12595 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 1.12596 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 1.12597 +   -e 's:$: $lt_compiler_flag:'`
 1.12598 +   (eval echo "\"\$as_me:12595: $lt_compile\"" >&5)
 1.12599 +   (eval "$lt_compile" 2>conftest.err)
 1.12600 +   ac_status=$?
 1.12601 +   cat conftest.err >&5
 1.12602 +   echo "$as_me:12599: \$? = $ac_status" >&5
 1.12603 +   if (exit $ac_status) && test -s "$ac_outfile"; then
 1.12604 +     # The compiler can only warn and ignore the option if not recognized
 1.12605 +     # So say no if there are warnings other than the usual output.
 1.12606 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 1.12607 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 1.12608 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 1.12609 +       lt_prog_compiler_pic_works_CXX=yes
 1.12610 +     fi
 1.12611 +   fi
 1.12612 +   $rm conftest*
 1.12613 +
 1.12614 +fi
 1.12615 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 1.12616 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 1.12617 +
 1.12618 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 1.12619 +    case $lt_prog_compiler_pic_CXX in
 1.12620 +     "" | " "*) ;;
 1.12621 +     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 1.12622 +     esac
 1.12623 +else
 1.12624 +    lt_prog_compiler_pic_CXX=
 1.12625 +     lt_prog_compiler_can_build_shared_CXX=no
 1.12626 +fi
 1.12627 +
 1.12628 +fi
 1.12629 +case $host_os in
 1.12630 +  # For platforms which do not support PIC, -DPIC is meaningless:
 1.12631 +  *djgpp*)
 1.12632 +    lt_prog_compiler_pic_CXX=
 1.12633 +    ;;
 1.12634 +  *)
 1.12635 +    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 1.12636 +    ;;
 1.12637 +esac
 1.12638 +
 1.12639 +#
 1.12640 +# Check to make sure the static flag actually works.
 1.12641 +#
 1.12642 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 1.12643 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 1.12644 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 1.12645 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 1.12646 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.12647 +else
 1.12648 +  lt_prog_compiler_static_works_CXX=no
 1.12649 +   save_LDFLAGS="$LDFLAGS"
 1.12650 +   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 1.12651 +   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 1.12652 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 1.12653 +     # The linker can only warn and ignore the option if not recognized
 1.12654 +     # So say no if there are warnings
 1.12655 +     if test -s conftest.err; then
 1.12656 +       # Append any errors to the config.log.
 1.12657 +       cat conftest.err 1>&5
 1.12658 +       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 1.12659 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 1.12660 +       if diff conftest.exp conftest.er2 >/dev/null; then
 1.12661 +         lt_prog_compiler_static_works_CXX=yes
 1.12662 +       fi
 1.12663 +     else
 1.12664 +       lt_prog_compiler_static_works_CXX=yes
 1.12665 +     fi
 1.12666 +   fi
 1.12667 +   $rm conftest*
 1.12668 +   LDFLAGS="$save_LDFLAGS"
 1.12669 +
 1.12670 +fi
 1.12671 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 1.12672 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 1.12673 +
 1.12674 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 1.12675 +    :
 1.12676 +else
 1.12677 +    lt_prog_compiler_static_CXX=
 1.12678 +fi
 1.12679 +
 1.12680 +
 1.12681 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 1.12682 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 1.12683 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 1.12684 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.12685 +else
 1.12686 +  lt_cv_prog_compiler_c_o_CXX=no
 1.12687 +   $rm -r conftest 2>/dev/null
 1.12688 +   mkdir conftest
 1.12689 +   cd conftest
 1.12690 +   mkdir out
 1.12691 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.12692 +
 1.12693 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
 1.12694 +   # Insert the option either (1) after the last *FLAGS variable, or
 1.12695 +   # (2) before a word containing "conftest.", or (3) at the end.
 1.12696 +   # Note that $ac_compile itself does not contain backslashes and begins
 1.12697 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
 1.12698 +   lt_compile=`echo "$ac_compile" | $SED \
 1.12699 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 1.12700 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 1.12701 +   -e 's:$: $lt_compiler_flag:'`
 1.12702 +   (eval echo "\"\$as_me:12699: $lt_compile\"" >&5)
 1.12703 +   (eval "$lt_compile" 2>out/conftest.err)
 1.12704 +   ac_status=$?
 1.12705 +   cat out/conftest.err >&5
 1.12706 +   echo "$as_me:12703: \$? = $ac_status" >&5
 1.12707 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 1.12708 +   then
 1.12709 +     # The compiler can only warn and ignore the option if not recognized
 1.12710 +     # So say no if there are warnings
 1.12711 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 1.12712 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 1.12713 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 1.12714 +       lt_cv_prog_compiler_c_o_CXX=yes
 1.12715 +     fi
 1.12716 +   fi
 1.12717 +   chmod u+w . 2>&5
 1.12718 +   $rm conftest*
 1.12719 +   # SGI C++ compiler will create directory out/ii_files/ for
 1.12720 +   # template instantiation
 1.12721 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 1.12722 +   $rm out/* && rmdir out
 1.12723 +   cd ..
 1.12724 +   rmdir conftest
 1.12725 +   $rm conftest*
 1.12726 +
 1.12727 +fi
 1.12728 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 1.12729 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 1.12730 +
 1.12731 +
 1.12732 +hard_links="nottested"
 1.12733 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 1.12734 +  # do not overwrite the value of need_locks provided by the user
 1.12735 +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 1.12736 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 1.12737 +  hard_links=yes
 1.12738 +  $rm conftest*
 1.12739 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 1.12740 +  touch conftest.a
 1.12741 +  ln conftest.a conftest.b 2>&5 || hard_links=no
 1.12742 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 1.12743 +  { echo "$as_me:$LINENO: result: $hard_links" >&5
 1.12744 +echo "${ECHO_T}$hard_links" >&6; }
 1.12745 +  if test "$hard_links" = no; then
 1.12746 +    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 1.12747 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 1.12748 +    need_locks=warn
 1.12749 +  fi
 1.12750 +else
 1.12751 +  need_locks=no
 1.12752 +fi
 1.12753 +
 1.12754 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 1.12755 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 1.12756 +
 1.12757 +  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 1.12758 +  case $host_os in
 1.12759 +  aix4* | aix5*)
 1.12760 +    # If we're using GNU nm, then we don't want the "-C" option.
 1.12761 +    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 1.12762 +    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 1.12763 +      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 1.12764 +    else
 1.12765 +      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 1.12766 +    fi
 1.12767 +    ;;
 1.12768 +  pw32*)
 1.12769 +    export_symbols_cmds_CXX="$ltdll_cmds"
 1.12770 +  ;;
 1.12771 +  cygwin* | mingw*)
 1.12772 +    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 1.12773 +  ;;
 1.12774 +  *)
 1.12775 +    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 1.12776 +  ;;
 1.12777 +  esac
 1.12778 +
 1.12779 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 1.12780 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 1.12781 +test "$ld_shlibs_CXX" = no && can_build_shared=no
 1.12782 +
 1.12783 +#
 1.12784 +# Do we need to explicitly link libc?
 1.12785 +#
 1.12786 +case "x$archive_cmds_need_lc_CXX" in
 1.12787 +x|xyes)
 1.12788 +  # Assume -lc should be added
 1.12789 +  archive_cmds_need_lc_CXX=yes
 1.12790 +
 1.12791 +  if test "$enable_shared" = yes && test "$GCC" = yes; then
 1.12792 +    case $archive_cmds_CXX in
 1.12793 +    *'~'*)
 1.12794 +      # FIXME: we may have to deal with multi-command sequences.
 1.12795 +      ;;
 1.12796 +    '$CC '*)
 1.12797 +      # Test whether the compiler implicitly links with -lc since on some
 1.12798 +      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 1.12799 +      # to ld, don't add -lc before -lgcc.
 1.12800 +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 1.12801 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 1.12802 +      $rm conftest*
 1.12803 +      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.12804 +
 1.12805 +      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1.12806 +  (eval $ac_compile) 2>&5
 1.12807 +  ac_status=$?
 1.12808 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.12809 +  (exit $ac_status); } 2>conftest.err; then
 1.12810 +        soname=conftest
 1.12811 +        lib=conftest
 1.12812 +        libobjs=conftest.$ac_objext
 1.12813 +        deplibs=
 1.12814 +        wl=$lt_prog_compiler_wl_CXX
 1.12815 +	pic_flag=$lt_prog_compiler_pic_CXX
 1.12816 +        compiler_flags=-v
 1.12817 +        linker_flags=-v
 1.12818 +        verstring=
 1.12819 +        output_objdir=.
 1.12820 +        libname=conftest
 1.12821 +        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 1.12822 +        allow_undefined_flag_CXX=
 1.12823 +        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 1.12824 +  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 1.12825 +  ac_status=$?
 1.12826 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.12827 +  (exit $ac_status); }
 1.12828 +        then
 1.12829 +	  archive_cmds_need_lc_CXX=no
 1.12830 +        else
 1.12831 +	  archive_cmds_need_lc_CXX=yes
 1.12832 +        fi
 1.12833 +        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 1.12834 +      else
 1.12835 +        cat conftest.err 1>&5
 1.12836 +      fi
 1.12837 +      $rm conftest*
 1.12838 +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 1.12839 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 1.12840 +      ;;
 1.12841 +    esac
 1.12842 +  fi
 1.12843 +  ;;
 1.12844 +esac
 1.12845 +
 1.12846 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 1.12847 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 1.12848 +library_names_spec=
 1.12849 +libname_spec='lib$name'
 1.12850 +soname_spec=
 1.12851 +shrext_cmds=".so"
 1.12852 +postinstall_cmds=
 1.12853 +postuninstall_cmds=
 1.12854 +finish_cmds=
 1.12855 +finish_eval=
 1.12856 +shlibpath_var=
 1.12857 +shlibpath_overrides_runpath=unknown
 1.12858 +version_type=none
 1.12859 +dynamic_linker="$host_os ld.so"
 1.12860 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
 1.12861 +if test "$GCC" = yes; then
 1.12862 +  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 1.12863 +  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 1.12864 +    # if the path contains ";" then we assume it to be the separator
 1.12865 +    # otherwise default to the standard path separator (i.e. ":") - it is
 1.12866 +    # assumed that no part of a normal pathname contains ";" but that should
 1.12867 +    # okay in the real world where ";" in dirpaths is itself problematic.
 1.12868 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 1.12869 +  else
 1.12870 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 1.12871 +  fi
 1.12872 +else
 1.12873 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 1.12874 +fi
 1.12875 +need_lib_prefix=unknown
 1.12876 +hardcode_into_libs=no
 1.12877 +
 1.12878 +# when you set need_version to no, make sure it does not cause -set_version
 1.12879 +# flags to be left without arguments
 1.12880 +need_version=unknown
 1.12881 +
 1.12882 +case $host_os in
 1.12883 +aix3*)
 1.12884 +  version_type=linux
 1.12885 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 1.12886 +  shlibpath_var=LIBPATH
 1.12887 +
 1.12888 +  # AIX 3 has no versioning support, so we append a major version to the name.
 1.12889 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.12890 +  ;;
 1.12891 +
 1.12892 +aix4* | aix5*)
 1.12893 +  version_type=linux
 1.12894 +  need_lib_prefix=no
 1.12895 +  need_version=no
 1.12896 +  hardcode_into_libs=yes
 1.12897 +  if test "$host_cpu" = ia64; then
 1.12898 +    # AIX 5 supports IA64
 1.12899 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 1.12900 +    shlibpath_var=LD_LIBRARY_PATH
 1.12901 +  else
 1.12902 +    # With GCC up to 2.95.x, collect2 would create an import file
 1.12903 +    # for dependence libraries.  The import file would start with
 1.12904 +    # the line `#! .'.  This would cause the generated library to
 1.12905 +    # depend on `.', always an invalid library.  This was fixed in
 1.12906 +    # development snapshots of GCC prior to 3.0.
 1.12907 +    case $host_os in
 1.12908 +      aix4 | aix4.[01] | aix4.[01].*)
 1.12909 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 1.12910 +	   echo ' yes '
 1.12911 +	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 1.12912 +	:
 1.12913 +      else
 1.12914 +	can_build_shared=no
 1.12915 +      fi
 1.12916 +      ;;
 1.12917 +    esac
 1.12918 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 1.12919 +    # soname into executable. Probably we can add versioning support to
 1.12920 +    # collect2, so additional links can be useful in future.
 1.12921 +    if test "$aix_use_runtimelinking" = yes; then
 1.12922 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 1.12923 +      # instead of lib<name>.a to let people know that these are not
 1.12924 +      # typical AIX shared libraries.
 1.12925 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.12926 +    else
 1.12927 +      # We preserve .a as extension for shared libraries through AIX4.2
 1.12928 +      # and later when we are not doing run time linking.
 1.12929 +      library_names_spec='${libname}${release}.a $libname.a'
 1.12930 +      soname_spec='${libname}${release}${shared_ext}$major'
 1.12931 +    fi
 1.12932 +    shlibpath_var=LIBPATH
 1.12933 +  fi
 1.12934 +  ;;
 1.12935 +
 1.12936 +amigaos*)
 1.12937 +  library_names_spec='$libname.ixlibrary $libname.a'
 1.12938 +  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 1.12939 +  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 1.12940 +  ;;
 1.12941 +
 1.12942 +beos*)
 1.12943 +  library_names_spec='${libname}${shared_ext}'
 1.12944 +  dynamic_linker="$host_os ld.so"
 1.12945 +  shlibpath_var=LIBRARY_PATH
 1.12946 +  ;;
 1.12947 +
 1.12948 +bsdi[45]*)
 1.12949 +  version_type=linux
 1.12950 +  need_version=no
 1.12951 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.12952 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.12953 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 1.12954 +  shlibpath_var=LD_LIBRARY_PATH
 1.12955 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 1.12956 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 1.12957 +  # the default ld.so.conf also contains /usr/contrib/lib and
 1.12958 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 1.12959 +  # libtool to hard-code these into programs
 1.12960 +  ;;
 1.12961 +
 1.12962 +cygwin* | mingw* | pw32*)
 1.12963 +  version_type=windows
 1.12964 +  shrext_cmds=".dll"
 1.12965 +  need_version=no
 1.12966 +  need_lib_prefix=no
 1.12967 +
 1.12968 +  case $GCC,$host_os in
 1.12969 +  yes,cygwin* | yes,mingw* | yes,pw32*)
 1.12970 +    library_names_spec='$libname.dll.a'
 1.12971 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 1.12972 +    postinstall_cmds='base_file=`basename \${file}`~
 1.12973 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 1.12974 +      dldir=$destdir/`dirname \$dlpath`~
 1.12975 +      test -d \$dldir || mkdir -p \$dldir~
 1.12976 +      $install_prog $dir/$dlname \$dldir/$dlname~
 1.12977 +      chmod a+x \$dldir/$dlname'
 1.12978 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 1.12979 +      dlpath=$dir/\$dldll~
 1.12980 +       $rm \$dlpath'
 1.12981 +    shlibpath_overrides_runpath=yes
 1.12982 +
 1.12983 +    case $host_os in
 1.12984 +    cygwin*)
 1.12985 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 1.12986 +      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.12987 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 1.12988 +      ;;
 1.12989 +    mingw*)
 1.12990 +      # MinGW DLLs use traditional 'lib' prefix
 1.12991 +      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.12992 +      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 1.12993 +      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 1.12994 +        # It is most probably a Windows format PATH printed by
 1.12995 +        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 1.12996 +        # path with ; separators, and with drive letters. We can handle the
 1.12997 +        # drive letters (cygwin fileutils understands them), so leave them,
 1.12998 +        # especially as we might pass files found there to a mingw objdump,
 1.12999 +        # which wouldn't understand a cygwinified path. Ahh.
 1.13000 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 1.13001 +      else
 1.13002 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 1.13003 +      fi
 1.13004 +      ;;
 1.13005 +    pw32*)
 1.13006 +      # pw32 DLLs use 'pw' prefix rather than 'lib'
 1.13007 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.13008 +      ;;
 1.13009 +    esac
 1.13010 +    ;;
 1.13011 +
 1.13012 +  *)
 1.13013 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 1.13014 +    ;;
 1.13015 +  esac
 1.13016 +  dynamic_linker='Win32 ld.exe'
 1.13017 +  # FIXME: first we should search . and the directory the executable is in
 1.13018 +  shlibpath_var=PATH
 1.13019 +  ;;
 1.13020 +
 1.13021 +darwin* | rhapsody*)
 1.13022 +  dynamic_linker="$host_os dyld"
 1.13023 +  version_type=darwin
 1.13024 +  need_lib_prefix=no
 1.13025 +  need_version=no
 1.13026 +  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 1.13027 +  soname_spec='${libname}${release}${major}$shared_ext'
 1.13028 +  shlibpath_overrides_runpath=yes
 1.13029 +  shlibpath_var=DYLD_LIBRARY_PATH
 1.13030 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 1.13031 +  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 1.13032 +  if test "$GCC" = yes; then
 1.13033 +    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 1.13034 +  else
 1.13035 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 1.13036 +  fi
 1.13037 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 1.13038 +  ;;
 1.13039 +
 1.13040 +dgux*)
 1.13041 +  version_type=linux
 1.13042 +  need_lib_prefix=no
 1.13043 +  need_version=no
 1.13044 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 1.13045 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13046 +  shlibpath_var=LD_LIBRARY_PATH
 1.13047 +  ;;
 1.13048 +
 1.13049 +freebsd1*)
 1.13050 +  dynamic_linker=no
 1.13051 +  ;;
 1.13052 +
 1.13053 +kfreebsd*-gnu)
 1.13054 +  version_type=linux
 1.13055 +  need_lib_prefix=no
 1.13056 +  need_version=no
 1.13057 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.13058 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13059 +  shlibpath_var=LD_LIBRARY_PATH
 1.13060 +  shlibpath_overrides_runpath=no
 1.13061 +  hardcode_into_libs=yes
 1.13062 +  dynamic_linker='GNU ld.so'
 1.13063 +  ;;
 1.13064 +
 1.13065 +freebsd* | dragonfly*)
 1.13066 +  # DragonFly does not have aout.  When/if they implement a new
 1.13067 +  # versioning mechanism, adjust this.
 1.13068 +  if test -x /usr/bin/objformat; then
 1.13069 +    objformat=`/usr/bin/objformat`
 1.13070 +  else
 1.13071 +    case $host_os in
 1.13072 +    freebsd[123]*) objformat=aout ;;
 1.13073 +    *) objformat=elf ;;
 1.13074 +    esac
 1.13075 +  fi
 1.13076 +  version_type=freebsd-$objformat
 1.13077 +  case $version_type in
 1.13078 +    freebsd-elf*)
 1.13079 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.13080 +      need_version=no
 1.13081 +      need_lib_prefix=no
 1.13082 +      ;;
 1.13083 +    freebsd-*)
 1.13084 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 1.13085 +      need_version=yes
 1.13086 +      ;;
 1.13087 +  esac
 1.13088 +  shlibpath_var=LD_LIBRARY_PATH
 1.13089 +  case $host_os in
 1.13090 +  freebsd2*)
 1.13091 +    shlibpath_overrides_runpath=yes
 1.13092 +    ;;
 1.13093 +  freebsd3.[01]* | freebsdelf3.[01]*)
 1.13094 +    shlibpath_overrides_runpath=yes
 1.13095 +    hardcode_into_libs=yes
 1.13096 +    ;;
 1.13097 +  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 1.13098 +  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 1.13099 +    shlibpath_overrides_runpath=no
 1.13100 +    hardcode_into_libs=yes
 1.13101 +    ;;
 1.13102 +  freebsd*) # from 4.6 on
 1.13103 +    shlibpath_overrides_runpath=yes
 1.13104 +    hardcode_into_libs=yes
 1.13105 +    ;;
 1.13106 +  esac
 1.13107 +  ;;
 1.13108 +
 1.13109 +gnu*)
 1.13110 +  version_type=linux
 1.13111 +  need_lib_prefix=no
 1.13112 +  need_version=no
 1.13113 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 1.13114 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13115 +  shlibpath_var=LD_LIBRARY_PATH
 1.13116 +  hardcode_into_libs=yes
 1.13117 +  ;;
 1.13118 +
 1.13119 +hpux9* | hpux10* | hpux11*)
 1.13120 +  # Give a soname corresponding to the major version so that dld.sl refuses to
 1.13121 +  # link against other versions.
 1.13122 +  version_type=sunos
 1.13123 +  need_lib_prefix=no
 1.13124 +  need_version=no
 1.13125 +  case $host_cpu in
 1.13126 +  ia64*)
 1.13127 +    shrext_cmds='.so'
 1.13128 +    hardcode_into_libs=yes
 1.13129 +    dynamic_linker="$host_os dld.so"
 1.13130 +    shlibpath_var=LD_LIBRARY_PATH
 1.13131 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.13132 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13133 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.13134 +    if test "X$HPUX_IA64_MODE" = X32; then
 1.13135 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 1.13136 +    else
 1.13137 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 1.13138 +    fi
 1.13139 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.13140 +    ;;
 1.13141 +   hppa*64*)
 1.13142 +     shrext_cmds='.sl'
 1.13143 +     hardcode_into_libs=yes
 1.13144 +     dynamic_linker="$host_os dld.sl"
 1.13145 +     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 1.13146 +     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.13147 +     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13148 +     soname_spec='${libname}${release}${shared_ext}$major'
 1.13149 +     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 1.13150 +     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.13151 +     ;;
 1.13152 +   *)
 1.13153 +    shrext_cmds='.sl'
 1.13154 +    dynamic_linker="$host_os dld.sl"
 1.13155 +    shlibpath_var=SHLIB_PATH
 1.13156 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 1.13157 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13158 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.13159 +    ;;
 1.13160 +  esac
 1.13161 +  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 1.13162 +  postinstall_cmds='chmod 555 $lib'
 1.13163 +  ;;
 1.13164 +
 1.13165 +interix3*)
 1.13166 +  version_type=linux
 1.13167 +  need_lib_prefix=no
 1.13168 +  need_version=no
 1.13169 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.13170 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13171 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 1.13172 +  shlibpath_var=LD_LIBRARY_PATH
 1.13173 +  shlibpath_overrides_runpath=no
 1.13174 +  hardcode_into_libs=yes
 1.13175 +  ;;
 1.13176 +
 1.13177 +irix5* | irix6* | nonstopux*)
 1.13178 +  case $host_os in
 1.13179 +    nonstopux*) version_type=nonstopux ;;
 1.13180 +    *)
 1.13181 +	if test "$lt_cv_prog_gnu_ld" = yes; then
 1.13182 +		version_type=linux
 1.13183 +	else
 1.13184 +		version_type=irix
 1.13185 +	fi ;;
 1.13186 +  esac
 1.13187 +  need_lib_prefix=no
 1.13188 +  need_version=no
 1.13189 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13190 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.13191 +  case $host_os in
 1.13192 +  irix5* | nonstopux*)
 1.13193 +    libsuff= shlibsuff=
 1.13194 +    ;;
 1.13195 +  *)
 1.13196 +    case $LD in # libtool.m4 will add one of these switches to LD
 1.13197 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 1.13198 +      libsuff= shlibsuff= libmagic=32-bit;;
 1.13199 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 1.13200 +      libsuff=32 shlibsuff=N32 libmagic=N32;;
 1.13201 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 1.13202 +      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 1.13203 +    *) libsuff= shlibsuff= libmagic=never-match;;
 1.13204 +    esac
 1.13205 +    ;;
 1.13206 +  esac
 1.13207 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 1.13208 +  shlibpath_overrides_runpath=no
 1.13209 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 1.13210 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 1.13211 +  hardcode_into_libs=yes
 1.13212 +  ;;
 1.13213 +
 1.13214 +# No shared lib support for Linux oldld, aout, or coff.
 1.13215 +linux*oldld* | linux*aout* | linux*coff*)
 1.13216 +  dynamic_linker=no
 1.13217 +  ;;
 1.13218 +
 1.13219 +# This must be Linux ELF.
 1.13220 +linux*)
 1.13221 +  version_type=linux
 1.13222 +  need_lib_prefix=no
 1.13223 +  need_version=no
 1.13224 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13225 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13226 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 1.13227 +  shlibpath_var=LD_LIBRARY_PATH
 1.13228 +  shlibpath_overrides_runpath=no
 1.13229 +  # This implies no fast_install, which is unacceptable.
 1.13230 +  # Some rework will be needed to allow for fast_install
 1.13231 +  # before this can be enabled.
 1.13232 +  hardcode_into_libs=yes
 1.13233 +
 1.13234 +  # Append ld.so.conf contents to the search path
 1.13235 +  if test -f /etc/ld.so.conf; then
 1.13236 +    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 1.13237 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 1.13238 +  fi
 1.13239 +
 1.13240 +  # We used to test for /lib/ld.so.1 and disable shared libraries on
 1.13241 +  # powerpc, because MkLinux only supported shared libraries with the
 1.13242 +  # GNU dynamic linker.  Since this was broken with cross compilers,
 1.13243 +  # most powerpc-linux boxes support dynamic linking these days and
 1.13244 +  # people can always --disable-shared, the test was removed, and we
 1.13245 +  # assume the GNU/Linux dynamic linker is in use.
 1.13246 +  dynamic_linker='GNU/Linux ld.so'
 1.13247 +  ;;
 1.13248 +
 1.13249 +knetbsd*-gnu)
 1.13250 +  version_type=linux
 1.13251 +  need_lib_prefix=no
 1.13252 +  need_version=no
 1.13253 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.13254 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13255 +  shlibpath_var=LD_LIBRARY_PATH
 1.13256 +  shlibpath_overrides_runpath=no
 1.13257 +  hardcode_into_libs=yes
 1.13258 +  dynamic_linker='GNU ld.so'
 1.13259 +  ;;
 1.13260 +
 1.13261 +netbsd*)
 1.13262 +  version_type=sunos
 1.13263 +  need_lib_prefix=no
 1.13264 +  need_version=no
 1.13265 +  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.13266 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.13267 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.13268 +    dynamic_linker='NetBSD (a.out) ld.so'
 1.13269 +  else
 1.13270 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.13271 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.13272 +    dynamic_linker='NetBSD ld.elf_so'
 1.13273 +  fi
 1.13274 +  shlibpath_var=LD_LIBRARY_PATH
 1.13275 +  shlibpath_overrides_runpath=yes
 1.13276 +  hardcode_into_libs=yes
 1.13277 +  ;;
 1.13278 +
 1.13279 +newsos6)
 1.13280 +  version_type=linux
 1.13281 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13282 +  shlibpath_var=LD_LIBRARY_PATH
 1.13283 +  shlibpath_overrides_runpath=yes
 1.13284 +  ;;
 1.13285 +
 1.13286 +nto-qnx*)
 1.13287 +  version_type=linux
 1.13288 +  need_lib_prefix=no
 1.13289 +  need_version=no
 1.13290 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13291 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13292 +  shlibpath_var=LD_LIBRARY_PATH
 1.13293 +  shlibpath_overrides_runpath=yes
 1.13294 +  ;;
 1.13295 +
 1.13296 +openbsd*)
 1.13297 +  version_type=sunos
 1.13298 +  sys_lib_dlsearch_path_spec="/usr/lib"
 1.13299 +  need_lib_prefix=no
 1.13300 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 1.13301 +  case $host_os in
 1.13302 +    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 1.13303 +    *)                         need_version=no  ;;
 1.13304 +  esac
 1.13305 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.13306 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.13307 +  shlibpath_var=LD_LIBRARY_PATH
 1.13308 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.13309 +    case $host_os in
 1.13310 +      openbsd2.[89] | openbsd2.[89].*)
 1.13311 +	shlibpath_overrides_runpath=no
 1.13312 +	;;
 1.13313 +      *)
 1.13314 +	shlibpath_overrides_runpath=yes
 1.13315 +	;;
 1.13316 +      esac
 1.13317 +  else
 1.13318 +    shlibpath_overrides_runpath=yes
 1.13319 +  fi
 1.13320 +  ;;
 1.13321 +
 1.13322 +os2*)
 1.13323 +  libname_spec='$name'
 1.13324 +  shrext_cmds=".dll"
 1.13325 +  need_lib_prefix=no
 1.13326 +  library_names_spec='$libname${shared_ext} $libname.a'
 1.13327 +  dynamic_linker='OS/2 ld.exe'
 1.13328 +  shlibpath_var=LIBPATH
 1.13329 +  ;;
 1.13330 +
 1.13331 +osf3* | osf4* | osf5*)
 1.13332 +  version_type=osf
 1.13333 +  need_lib_prefix=no
 1.13334 +  need_version=no
 1.13335 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13336 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13337 +  shlibpath_var=LD_LIBRARY_PATH
 1.13338 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 1.13339 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 1.13340 +  ;;
 1.13341 +
 1.13342 +solaris*)
 1.13343 +  version_type=linux
 1.13344 +  need_lib_prefix=no
 1.13345 +  need_version=no
 1.13346 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13347 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13348 +  shlibpath_var=LD_LIBRARY_PATH
 1.13349 +  shlibpath_overrides_runpath=yes
 1.13350 +  hardcode_into_libs=yes
 1.13351 +  # ldd complains unless libraries are executable
 1.13352 +  postinstall_cmds='chmod +x $lib'
 1.13353 +  ;;
 1.13354 +
 1.13355 +sunos4*)
 1.13356 +  version_type=sunos
 1.13357 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.13358 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 1.13359 +  shlibpath_var=LD_LIBRARY_PATH
 1.13360 +  shlibpath_overrides_runpath=yes
 1.13361 +  if test "$with_gnu_ld" = yes; then
 1.13362 +    need_lib_prefix=no
 1.13363 +  fi
 1.13364 +  need_version=yes
 1.13365 +  ;;
 1.13366 +
 1.13367 +sysv4 | sysv4.3*)
 1.13368 +  version_type=linux
 1.13369 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13370 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13371 +  shlibpath_var=LD_LIBRARY_PATH
 1.13372 +  case $host_vendor in
 1.13373 +    sni)
 1.13374 +      shlibpath_overrides_runpath=no
 1.13375 +      need_lib_prefix=no
 1.13376 +      export_dynamic_flag_spec='${wl}-Blargedynsym'
 1.13377 +      runpath_var=LD_RUN_PATH
 1.13378 +      ;;
 1.13379 +    siemens)
 1.13380 +      need_lib_prefix=no
 1.13381 +      ;;
 1.13382 +    motorola)
 1.13383 +      need_lib_prefix=no
 1.13384 +      need_version=no
 1.13385 +      shlibpath_overrides_runpath=no
 1.13386 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 1.13387 +      ;;
 1.13388 +  esac
 1.13389 +  ;;
 1.13390 +
 1.13391 +sysv4*MP*)
 1.13392 +  if test -d /usr/nec ;then
 1.13393 +    version_type=linux
 1.13394 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 1.13395 +    soname_spec='$libname${shared_ext}.$major'
 1.13396 +    shlibpath_var=LD_LIBRARY_PATH
 1.13397 +  fi
 1.13398 +  ;;
 1.13399 +
 1.13400 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 1.13401 +  version_type=freebsd-elf
 1.13402 +  need_lib_prefix=no
 1.13403 +  need_version=no
 1.13404 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.13405 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13406 +  shlibpath_var=LD_LIBRARY_PATH
 1.13407 +  hardcode_into_libs=yes
 1.13408 +  if test "$with_gnu_ld" = yes; then
 1.13409 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 1.13410 +    shlibpath_overrides_runpath=no
 1.13411 +  else
 1.13412 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 1.13413 +    shlibpath_overrides_runpath=yes
 1.13414 +    case $host_os in
 1.13415 +      sco3.2v5*)
 1.13416 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 1.13417 +	;;
 1.13418 +    esac
 1.13419 +  fi
 1.13420 +  sys_lib_dlsearch_path_spec='/usr/lib'
 1.13421 +  ;;
 1.13422 +
 1.13423 +uts4*)
 1.13424 +  version_type=linux
 1.13425 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.13426 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.13427 +  shlibpath_var=LD_LIBRARY_PATH
 1.13428 +  ;;
 1.13429 +
 1.13430 +*)
 1.13431 +  dynamic_linker=no
 1.13432 +  ;;
 1.13433 +esac
 1.13434 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 1.13435 +echo "${ECHO_T}$dynamic_linker" >&6; }
 1.13436 +test "$dynamic_linker" = no && can_build_shared=no
 1.13437 +
 1.13438 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 1.13439 +if test "$GCC" = yes; then
 1.13440 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 1.13441 +fi
 1.13442 +
 1.13443 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 1.13444 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 1.13445 +hardcode_action_CXX=
 1.13446 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
 1.13447 +   test -n "$runpath_var_CXX" || \
 1.13448 +   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 1.13449 +
 1.13450 +  # We can hardcode non-existant directories.
 1.13451 +  if test "$hardcode_direct_CXX" != no &&
 1.13452 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 1.13453 +     # have to relink, otherwise we might link with an installed library
 1.13454 +     # when we should be linking with a yet-to-be-installed one
 1.13455 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 1.13456 +     test "$hardcode_minus_L_CXX" != no; then
 1.13457 +    # Linking always hardcodes the temporary library directory.
 1.13458 +    hardcode_action_CXX=relink
 1.13459 +  else
 1.13460 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 1.13461 +    hardcode_action_CXX=immediate
 1.13462 +  fi
 1.13463 +else
 1.13464 +  # We cannot hardcode anything, or else we can only hardcode existing
 1.13465 +  # directories.
 1.13466 +  hardcode_action_CXX=unsupported
 1.13467 +fi
 1.13468 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 1.13469 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 1.13470 +
 1.13471 +if test "$hardcode_action_CXX" = relink; then
 1.13472 +  # Fast installation is not supported
 1.13473 +  enable_fast_install=no
 1.13474 +elif test "$shlibpath_overrides_runpath" = yes ||
 1.13475 +     test "$enable_shared" = no; then
 1.13476 +  # Fast installation is not necessary
 1.13477 +  enable_fast_install=needless
 1.13478 +fi
 1.13479 +
 1.13480 +
 1.13481 +# The else clause should only fire when bootstrapping the
 1.13482 +# libtool distribution, otherwise you forgot to ship ltmain.sh
 1.13483 +# with your package, and you will get complaints that there are
 1.13484 +# no rules to generate ltmain.sh.
 1.13485 +if test -f "$ltmain"; then
 1.13486 +  # See if we are running on zsh, and set the options which allow our commands through
 1.13487 +  # without removal of \ escapes.
 1.13488 +  if test -n "${ZSH_VERSION+set}" ; then
 1.13489 +    setopt NO_GLOB_SUBST
 1.13490 +  fi
 1.13491 +  # Now quote all the things that may contain metacharacters while being
 1.13492 +  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 1.13493 +  # variables and quote the copies for generation of the libtool script.
 1.13494 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 1.13495 +    SED SHELL STRIP \
 1.13496 +    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 1.13497 +    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 1.13498 +    deplibs_check_method reload_flag reload_cmds need_locks \
 1.13499 +    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 1.13500 +    lt_cv_sys_global_symbol_to_c_name_address \
 1.13501 +    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 1.13502 +    old_postinstall_cmds old_postuninstall_cmds \
 1.13503 +    compiler_CXX \
 1.13504 +    CC_CXX \
 1.13505 +    LD_CXX \
 1.13506 +    lt_prog_compiler_wl_CXX \
 1.13507 +    lt_prog_compiler_pic_CXX \
 1.13508 +    lt_prog_compiler_static_CXX \
 1.13509 +    lt_prog_compiler_no_builtin_flag_CXX \
 1.13510 +    export_dynamic_flag_spec_CXX \
 1.13511 +    thread_safe_flag_spec_CXX \
 1.13512 +    whole_archive_flag_spec_CXX \
 1.13513 +    enable_shared_with_static_runtimes_CXX \
 1.13514 +    old_archive_cmds_CXX \
 1.13515 +    old_archive_from_new_cmds_CXX \
 1.13516 +    predep_objects_CXX \
 1.13517 +    postdep_objects_CXX \
 1.13518 +    predeps_CXX \
 1.13519 +    postdeps_CXX \
 1.13520 +    compiler_lib_search_path_CXX \
 1.13521 +    archive_cmds_CXX \
 1.13522 +    archive_expsym_cmds_CXX \
 1.13523 +    postinstall_cmds_CXX \
 1.13524 +    postuninstall_cmds_CXX \
 1.13525 +    old_archive_from_expsyms_cmds_CXX \
 1.13526 +    allow_undefined_flag_CXX \
 1.13527 +    no_undefined_flag_CXX \
 1.13528 +    export_symbols_cmds_CXX \
 1.13529 +    hardcode_libdir_flag_spec_CXX \
 1.13530 +    hardcode_libdir_flag_spec_ld_CXX \
 1.13531 +    hardcode_libdir_separator_CXX \
 1.13532 +    hardcode_automatic_CXX \
 1.13533 +    module_cmds_CXX \
 1.13534 +    module_expsym_cmds_CXX \
 1.13535 +    lt_cv_prog_compiler_c_o_CXX \
 1.13536 +    exclude_expsyms_CXX \
 1.13537 +    include_expsyms_CXX; do
 1.13538 +
 1.13539 +    case $var in
 1.13540 +    old_archive_cmds_CXX | \
 1.13541 +    old_archive_from_new_cmds_CXX | \
 1.13542 +    archive_cmds_CXX | \
 1.13543 +    archive_expsym_cmds_CXX | \
 1.13544 +    module_cmds_CXX | \
 1.13545 +    module_expsym_cmds_CXX | \
 1.13546 +    old_archive_from_expsyms_cmds_CXX | \
 1.13547 +    export_symbols_cmds_CXX | \
 1.13548 +    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 1.13549 +    postinstall_cmds | postuninstall_cmds | \
 1.13550 +    old_postinstall_cmds | old_postuninstall_cmds | \
 1.13551 +    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 1.13552 +      # Double-quote double-evaled strings.
 1.13553 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 1.13554 +      ;;
 1.13555 +    *)
 1.13556 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 1.13557 +      ;;
 1.13558 +    esac
 1.13559 +  done
 1.13560 +
 1.13561 +  case $lt_echo in
 1.13562 +  *'\$0 --fallback-echo"')
 1.13563 +    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 1.13564 +    ;;
 1.13565 +  esac
 1.13566 +
 1.13567 +cfgfile="$ofile"
 1.13568 +
 1.13569 +  cat <<__EOF__ >> "$cfgfile"
 1.13570 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 1.13571 +
 1.13572 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 1.13573 +
 1.13574 +# Shell to use when invoking shell scripts.
 1.13575 +SHELL=$lt_SHELL
 1.13576 +
 1.13577 +# Whether or not to build shared libraries.
 1.13578 +build_libtool_libs=$enable_shared
 1.13579 +
 1.13580 +# Whether or not to build static libraries.
 1.13581 +build_old_libs=$enable_static
 1.13582 +
 1.13583 +# Whether or not to add -lc for building shared libraries.
 1.13584 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
 1.13585 +
 1.13586 +# Whether or not to disallow shared libs when runtime libs are static
 1.13587 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 1.13588 +
 1.13589 +# Whether or not to optimize for fast installation.
 1.13590 +fast_install=$enable_fast_install
 1.13591 +
 1.13592 +# The host system.
 1.13593 +host_alias=$host_alias
 1.13594 +host=$host
 1.13595 +host_os=$host_os
 1.13596 +
 1.13597 +# The build system.
 1.13598 +build_alias=$build_alias
 1.13599 +build=$build
 1.13600 +build_os=$build_os
 1.13601 +
 1.13602 +# An echo program that does not interpret backslashes.
 1.13603 +echo=$lt_echo
 1.13604 +
 1.13605 +# The archiver.
 1.13606 +AR=$lt_AR
 1.13607 +AR_FLAGS=$lt_AR_FLAGS
 1.13608 +
 1.13609 +# A C compiler.
 1.13610 +LTCC=$lt_LTCC
 1.13611 +
 1.13612 +# LTCC compiler flags.
 1.13613 +LTCFLAGS=$lt_LTCFLAGS
 1.13614 +
 1.13615 +# A language-specific compiler.
 1.13616 +CC=$lt_compiler_CXX
 1.13617 +
 1.13618 +# Is the compiler the GNU C compiler?
 1.13619 +with_gcc=$GCC_CXX
 1.13620 +
 1.13621 +# An ERE matcher.
 1.13622 +EGREP=$lt_EGREP
 1.13623 +
 1.13624 +# The linker used to build libraries.
 1.13625 +LD=$lt_LD_CXX
 1.13626 +
 1.13627 +# Whether we need hard or soft links.
 1.13628 +LN_S=$lt_LN_S
 1.13629 +
 1.13630 +# A BSD-compatible nm program.
 1.13631 +NM=$lt_NM
 1.13632 +
 1.13633 +# A symbol stripping program
 1.13634 +STRIP=$lt_STRIP
 1.13635 +
 1.13636 +# Used to examine libraries when file_magic_cmd begins "file"
 1.13637 +MAGIC_CMD=$MAGIC_CMD
 1.13638 +
 1.13639 +# Used on cygwin: DLL creation program.
 1.13640 +DLLTOOL="$DLLTOOL"
 1.13641 +
 1.13642 +# Used on cygwin: object dumper.
 1.13643 +OBJDUMP="$OBJDUMP"
 1.13644 +
 1.13645 +# Used on cygwin: assembler.
 1.13646 +AS="$AS"
 1.13647 +
 1.13648 +# The name of the directory that contains temporary libtool files.
 1.13649 +objdir=$objdir
 1.13650 +
 1.13651 +# How to create reloadable object files.
 1.13652 +reload_flag=$lt_reload_flag
 1.13653 +reload_cmds=$lt_reload_cmds
 1.13654 +
 1.13655 +# How to pass a linker flag through the compiler.
 1.13656 +wl=$lt_lt_prog_compiler_wl_CXX
 1.13657 +
 1.13658 +# Object file suffix (normally "o").
 1.13659 +objext="$ac_objext"
 1.13660 +
 1.13661 +# Old archive suffix (normally "a").
 1.13662 +libext="$libext"
 1.13663 +
 1.13664 +# Shared library suffix (normally ".so").
 1.13665 +shrext_cmds='$shrext_cmds'
 1.13666 +
 1.13667 +# Executable file suffix (normally "").
 1.13668 +exeext="$exeext"
 1.13669 +
 1.13670 +# Additional compiler flags for building library objects.
 1.13671 +pic_flag=$lt_lt_prog_compiler_pic_CXX
 1.13672 +pic_mode=$pic_mode
 1.13673 +
 1.13674 +# What is the maximum length of a command?
 1.13675 +max_cmd_len=$lt_cv_sys_max_cmd_len
 1.13676 +
 1.13677 +# Does compiler simultaneously support -c and -o options?
 1.13678 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 1.13679 +
 1.13680 +# Must we lock files when doing compilation?
 1.13681 +need_locks=$lt_need_locks
 1.13682 +
 1.13683 +# Do we need the lib prefix for modules?
 1.13684 +need_lib_prefix=$need_lib_prefix
 1.13685 +
 1.13686 +# Do we need a version for libraries?
 1.13687 +need_version=$need_version
 1.13688 +
 1.13689 +# Whether dlopen is supported.
 1.13690 +dlopen_support=$enable_dlopen
 1.13691 +
 1.13692 +# Whether dlopen of programs is supported.
 1.13693 +dlopen_self=$enable_dlopen_self
 1.13694 +
 1.13695 +# Whether dlopen of statically linked programs is supported.
 1.13696 +dlopen_self_static=$enable_dlopen_self_static
 1.13697 +
 1.13698 +# Compiler flag to prevent dynamic linking.
 1.13699 +link_static_flag=$lt_lt_prog_compiler_static_CXX
 1.13700 +
 1.13701 +# Compiler flag to turn off builtin functions.
 1.13702 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 1.13703 +
 1.13704 +# Compiler flag to allow reflexive dlopens.
 1.13705 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 1.13706 +
 1.13707 +# Compiler flag to generate shared objects directly from archives.
 1.13708 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 1.13709 +
 1.13710 +# Compiler flag to generate thread-safe objects.
 1.13711 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 1.13712 +
 1.13713 +# Library versioning type.
 1.13714 +version_type=$version_type
 1.13715 +
 1.13716 +# Format of library name prefix.
 1.13717 +libname_spec=$lt_libname_spec
 1.13718 +
 1.13719 +# List of archive names.  First name is the real one, the rest are links.
 1.13720 +# The last name is the one that the linker finds with -lNAME.
 1.13721 +library_names_spec=$lt_library_names_spec
 1.13722 +
 1.13723 +# The coded name of the library, if different from the real name.
 1.13724 +soname_spec=$lt_soname_spec
 1.13725 +
 1.13726 +# Commands used to build and install an old-style archive.
 1.13727 +RANLIB=$lt_RANLIB
 1.13728 +old_archive_cmds=$lt_old_archive_cmds_CXX
 1.13729 +old_postinstall_cmds=$lt_old_postinstall_cmds
 1.13730 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
 1.13731 +
 1.13732 +# Create an old-style archive from a shared archive.
 1.13733 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 1.13734 +
 1.13735 +# Create a temporary old-style archive to link instead of a shared archive.
 1.13736 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 1.13737 +
 1.13738 +# Commands used to build and install a shared archive.
 1.13739 +archive_cmds=$lt_archive_cmds_CXX
 1.13740 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 1.13741 +postinstall_cmds=$lt_postinstall_cmds
 1.13742 +postuninstall_cmds=$lt_postuninstall_cmds
 1.13743 +
 1.13744 +# Commands used to build a loadable module (assumed same as above if empty)
 1.13745 +module_cmds=$lt_module_cmds_CXX
 1.13746 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
 1.13747 +
 1.13748 +# Commands to strip libraries.
 1.13749 +old_striplib=$lt_old_striplib
 1.13750 +striplib=$lt_striplib
 1.13751 +
 1.13752 +# Dependencies to place before the objects being linked to create a
 1.13753 +# shared library.
 1.13754 +predep_objects=$lt_predep_objects_CXX
 1.13755 +
 1.13756 +# Dependencies to place after the objects being linked to create a
 1.13757 +# shared library.
 1.13758 +postdep_objects=$lt_postdep_objects_CXX
 1.13759 +
 1.13760 +# Dependencies to place before the objects being linked to create a
 1.13761 +# shared library.
 1.13762 +predeps=$lt_predeps_CXX
 1.13763 +
 1.13764 +# Dependencies to place after the objects being linked to create a
 1.13765 +# shared library.
 1.13766 +postdeps=$lt_postdeps_CXX
 1.13767 +
 1.13768 +# The library search path used internally by the compiler when linking
 1.13769 +# a shared library.
 1.13770 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 1.13771 +
 1.13772 +# Method to check whether dependent libraries are shared objects.
 1.13773 +deplibs_check_method=$lt_deplibs_check_method
 1.13774 +
 1.13775 +# Command to use when deplibs_check_method == file_magic.
 1.13776 +file_magic_cmd=$lt_file_magic_cmd
 1.13777 +
 1.13778 +# Flag that allows shared libraries with undefined symbols to be built.
 1.13779 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
 1.13780 +
 1.13781 +# Flag that forces no undefined symbols.
 1.13782 +no_undefined_flag=$lt_no_undefined_flag_CXX
 1.13783 +
 1.13784 +# Commands used to finish a libtool library installation in a directory.
 1.13785 +finish_cmds=$lt_finish_cmds
 1.13786 +
 1.13787 +# Same as above, but a single script fragment to be evaled but not shown.
 1.13788 +finish_eval=$lt_finish_eval
 1.13789 +
 1.13790 +# Take the output of nm and produce a listing of raw symbols and C names.
 1.13791 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 1.13792 +
 1.13793 +# Transform the output of nm in a proper C declaration
 1.13794 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 1.13795 +
 1.13796 +# Transform the output of nm in a C name address pair
 1.13797 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 1.13798 +
 1.13799 +# This is the shared library runtime path variable.
 1.13800 +runpath_var=$runpath_var
 1.13801 +
 1.13802 +# This is the shared library path variable.
 1.13803 +shlibpath_var=$shlibpath_var
 1.13804 +
 1.13805 +# Is shlibpath searched before the hard-coded library search path?
 1.13806 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 1.13807 +
 1.13808 +# How to hardcode a shared library path into an executable.
 1.13809 +hardcode_action=$hardcode_action_CXX
 1.13810 +
 1.13811 +# Whether we should hardcode library paths into libraries.
 1.13812 +hardcode_into_libs=$hardcode_into_libs
 1.13813 +
 1.13814 +# Flag to hardcode \$libdir into a binary during linking.
 1.13815 +# This must work even if \$libdir does not exist.
 1.13816 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 1.13817 +
 1.13818 +# If ld is used when linking, flag to hardcode \$libdir into
 1.13819 +# a binary during linking. This must work even if \$libdir does
 1.13820 +# not exist.
 1.13821 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 1.13822 +
 1.13823 +# Whether we need a single -rpath flag with a separated argument.
 1.13824 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 1.13825 +
 1.13826 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 1.13827 +# resulting binary.
 1.13828 +hardcode_direct=$hardcode_direct_CXX
 1.13829 +
 1.13830 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 1.13831 +# resulting binary.
 1.13832 +hardcode_minus_L=$hardcode_minus_L_CXX
 1.13833 +
 1.13834 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 1.13835 +# the resulting binary.
 1.13836 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 1.13837 +
 1.13838 +# Set to yes if building a shared library automatically hardcodes DIR into the library
 1.13839 +# and all subsequent libraries and executables linked against it.
 1.13840 +hardcode_automatic=$hardcode_automatic_CXX
 1.13841 +
 1.13842 +# Variables whose values should be saved in libtool wrapper scripts and
 1.13843 +# restored at relink time.
 1.13844 +variables_saved_for_relink="$variables_saved_for_relink"
 1.13845 +
 1.13846 +# Whether libtool must link a program against all its dependency libraries.
 1.13847 +link_all_deplibs=$link_all_deplibs_CXX
 1.13848 +
 1.13849 +# Compile-time system search path for libraries
 1.13850 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 1.13851 +
 1.13852 +# Run-time system search path for libraries
 1.13853 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 1.13854 +
 1.13855 +# Fix the shell variable \$srcfile for the compiler.
 1.13856 +fix_srcfile_path="$fix_srcfile_path_CXX"
 1.13857 +
 1.13858 +# Set to yes if exported symbols are required.
 1.13859 +always_export_symbols=$always_export_symbols_CXX
 1.13860 +
 1.13861 +# The commands to list exported symbols.
 1.13862 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
 1.13863 +
 1.13864 +# The commands to extract the exported symbol list from a shared archive.
 1.13865 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
 1.13866 +
 1.13867 +# Symbols that should not be listed in the preloaded symbols.
 1.13868 +exclude_expsyms=$lt_exclude_expsyms_CXX
 1.13869 +
 1.13870 +# Symbols that must always be exported.
 1.13871 +include_expsyms=$lt_include_expsyms_CXX
 1.13872 +
 1.13873 +# ### END LIBTOOL TAG CONFIG: $tagname
 1.13874 +
 1.13875 +__EOF__
 1.13876 +
 1.13877 +
 1.13878 +else
 1.13879 +  # If there is no Makefile yet, we rely on a make rule to execute
 1.13880 +  # `config.status --recheck' to rerun these tests and create the
 1.13881 +  # libtool script then.
 1.13882 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 1.13883 +  if test -f "$ltmain_in"; then
 1.13884 +    test -f Makefile && make "$ltmain"
 1.13885 +  fi
 1.13886 +fi
 1.13887 +
 1.13888 +
 1.13889 +ac_ext=cpp
 1.13890 +ac_cpp='$CXXCPP $CPPFLAGS'
 1.13891 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.13892 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.13893 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 1.13894 +
 1.13895 +CC=$lt_save_CC
 1.13896 +LDCXX=$LD
 1.13897 +LD=$lt_save_LD
 1.13898 +GCC=$lt_save_GCC
 1.13899 +with_gnu_ldcxx=$with_gnu_ld
 1.13900 +with_gnu_ld=$lt_save_with_gnu_ld
 1.13901 +lt_cv_path_LDCXX=$lt_cv_path_LD
 1.13902 +lt_cv_path_LD=$lt_save_path_LD
 1.13903 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 1.13904 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 1.13905 +
 1.13906 +	else
 1.13907 +	  tagname=""
 1.13908 +	fi
 1.13909 +	;;
 1.13910 +
 1.13911 +      F77)
 1.13912 +	if test -n "$F77" && test "X$F77" != "Xno"; then
 1.13913 +
 1.13914 +ac_ext=f
 1.13915 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 1.13916 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.13917 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 1.13918 +
 1.13919 +
 1.13920 +archive_cmds_need_lc_F77=no
 1.13921 +allow_undefined_flag_F77=
 1.13922 +always_export_symbols_F77=no
 1.13923 +archive_expsym_cmds_F77=
 1.13924 +export_dynamic_flag_spec_F77=
 1.13925 +hardcode_direct_F77=no
 1.13926 +hardcode_libdir_flag_spec_F77=
 1.13927 +hardcode_libdir_flag_spec_ld_F77=
 1.13928 +hardcode_libdir_separator_F77=
 1.13929 +hardcode_minus_L_F77=no
 1.13930 +hardcode_automatic_F77=no
 1.13931 +module_cmds_F77=
 1.13932 +module_expsym_cmds_F77=
 1.13933 +link_all_deplibs_F77=unknown
 1.13934 +old_archive_cmds_F77=$old_archive_cmds
 1.13935 +no_undefined_flag_F77=
 1.13936 +whole_archive_flag_spec_F77=
 1.13937 +enable_shared_with_static_runtimes_F77=no
 1.13938 +
 1.13939 +# Source file extension for f77 test sources.
 1.13940 +ac_ext=f
 1.13941 +
 1.13942 +# Object file extension for compiled f77 test sources.
 1.13943 +objext=o
 1.13944 +objext_F77=$objext
 1.13945 +
 1.13946 +# Code to be used in simple compile tests
 1.13947 +lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 1.13948 +
 1.13949 +# Code to be used in simple link tests
 1.13950 +lt_simple_link_test_code="      program t\n      end\n"
 1.13951 +
 1.13952 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 1.13953 +
 1.13954 +# If no C compiler was specified, use CC.
 1.13955 +LTCC=${LTCC-"$CC"}
 1.13956 +
 1.13957 +# If no C compiler flags were specified, use CFLAGS.
 1.13958 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 1.13959 +
 1.13960 +# Allow CC to be a program name with arguments.
 1.13961 +compiler=$CC
 1.13962 +
 1.13963 +
 1.13964 +# save warnings/boilerplate of simple test code
 1.13965 +ac_outfile=conftest.$ac_objext
 1.13966 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 1.13967 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.13968 +_lt_compiler_boilerplate=`cat conftest.err`
 1.13969 +$rm conftest*
 1.13970 +
 1.13971 +ac_outfile=conftest.$ac_objext
 1.13972 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
 1.13973 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.13974 +_lt_linker_boilerplate=`cat conftest.err`
 1.13975 +$rm conftest*
 1.13976 +
 1.13977 +
 1.13978 +# Allow CC to be a program name with arguments.
 1.13979 +lt_save_CC="$CC"
 1.13980 +CC=${F77-"f77"}
 1.13981 +compiler=$CC
 1.13982 +compiler_F77=$CC
 1.13983 +for cc_temp in $compiler""; do
 1.13984 +  case $cc_temp in
 1.13985 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 1.13986 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 1.13987 +    \-*) ;;
 1.13988 +    *) break;;
 1.13989 +  esac
 1.13990 +done
 1.13991 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 1.13992 +
 1.13993 +
 1.13994 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 1.13995 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 1.13996 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 1.13997 +echo "${ECHO_T}$can_build_shared" >&6; }
 1.13998 +
 1.13999 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 1.14000 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 1.14001 +test "$can_build_shared" = "no" && enable_shared=no
 1.14002 +
 1.14003 +# On AIX, shared libraries and static libraries use the same namespace, and
 1.14004 +# are all built from PIC.
 1.14005 +case $host_os in
 1.14006 +aix3*)
 1.14007 +  test "$enable_shared" = yes && enable_static=no
 1.14008 +  if test -n "$RANLIB"; then
 1.14009 +    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 1.14010 +    postinstall_cmds='$RANLIB $lib'
 1.14011 +  fi
 1.14012 +  ;;
 1.14013 +aix4* | aix5*)
 1.14014 +  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 1.14015 +    test "$enable_shared" = yes && enable_static=no
 1.14016 +  fi
 1.14017 +  ;;
 1.14018 +esac
 1.14019 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 1.14020 +echo "${ECHO_T}$enable_shared" >&6; }
 1.14021 +
 1.14022 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 1.14023 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 1.14024 +# Make sure either enable_shared or enable_static is yes.
 1.14025 +test "$enable_shared" = yes || enable_static=yes
 1.14026 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
 1.14027 +echo "${ECHO_T}$enable_static" >&6; }
 1.14028 +
 1.14029 +GCC_F77="$G77"
 1.14030 +LD_F77="$LD"
 1.14031 +
 1.14032 +lt_prog_compiler_wl_F77=
 1.14033 +lt_prog_compiler_pic_F77=
 1.14034 +lt_prog_compiler_static_F77=
 1.14035 +
 1.14036 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 1.14037 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 1.14038 +
 1.14039 +  if test "$GCC" = yes; then
 1.14040 +    lt_prog_compiler_wl_F77='-Wl,'
 1.14041 +    lt_prog_compiler_static_F77='-static'
 1.14042 +
 1.14043 +    case $host_os in
 1.14044 +      aix*)
 1.14045 +      # All AIX code is PIC.
 1.14046 +      if test "$host_cpu" = ia64; then
 1.14047 +	# AIX 5 now supports IA64 processor
 1.14048 +	lt_prog_compiler_static_F77='-Bstatic'
 1.14049 +      fi
 1.14050 +      ;;
 1.14051 +
 1.14052 +    amigaos*)
 1.14053 +      # FIXME: we need at least 68020 code to build shared libraries, but
 1.14054 +      # adding the `-m68020' flag to GCC prevents building anything better,
 1.14055 +      # like `-m68040'.
 1.14056 +      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
 1.14057 +      ;;
 1.14058 +
 1.14059 +    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 1.14060 +      # PIC is the default for these OSes.
 1.14061 +      ;;
 1.14062 +
 1.14063 +    mingw* | pw32* | os2*)
 1.14064 +      # This hack is so that the source file can tell whether it is being
 1.14065 +      # built for inclusion in a dll (and should export symbols for example).
 1.14066 +      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 1.14067 +      ;;
 1.14068 +
 1.14069 +    darwin* | rhapsody*)
 1.14070 +      # PIC is the default on this platform
 1.14071 +      # Common symbols not allowed in MH_DYLIB files
 1.14072 +      lt_prog_compiler_pic_F77='-fno-common'
 1.14073 +      ;;
 1.14074 +
 1.14075 +    interix3*)
 1.14076 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 1.14077 +      # Instead, we relocate shared libraries at runtime.
 1.14078 +      ;;
 1.14079 +
 1.14080 +    msdosdjgpp*)
 1.14081 +      # Just because we use GCC doesn't mean we suddenly get shared libraries
 1.14082 +      # on systems that don't support them.
 1.14083 +      lt_prog_compiler_can_build_shared_F77=no
 1.14084 +      enable_shared=no
 1.14085 +      ;;
 1.14086 +
 1.14087 +    sysv4*MP*)
 1.14088 +      if test -d /usr/nec; then
 1.14089 +	lt_prog_compiler_pic_F77=-Kconform_pic
 1.14090 +      fi
 1.14091 +      ;;
 1.14092 +
 1.14093 +    hpux*)
 1.14094 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 1.14095 +      # not for PA HP-UX.
 1.14096 +      case $host_cpu in
 1.14097 +      hppa*64*|ia64*)
 1.14098 +	# +Z the default
 1.14099 +	;;
 1.14100 +      *)
 1.14101 +	lt_prog_compiler_pic_F77='-fPIC'
 1.14102 +	;;
 1.14103 +      esac
 1.14104 +      ;;
 1.14105 +
 1.14106 +    *)
 1.14107 +      lt_prog_compiler_pic_F77='-fPIC'
 1.14108 +      ;;
 1.14109 +    esac
 1.14110 +  else
 1.14111 +    # PORTME Check for flag to pass linker flags through the system compiler.
 1.14112 +    case $host_os in
 1.14113 +    aix*)
 1.14114 +      lt_prog_compiler_wl_F77='-Wl,'
 1.14115 +      if test "$host_cpu" = ia64; then
 1.14116 +	# AIX 5 now supports IA64 processor
 1.14117 +	lt_prog_compiler_static_F77='-Bstatic'
 1.14118 +      else
 1.14119 +	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
 1.14120 +      fi
 1.14121 +      ;;
 1.14122 +      darwin*)
 1.14123 +        # PIC is the default on this platform
 1.14124 +        # Common symbols not allowed in MH_DYLIB files
 1.14125 +       case $cc_basename in
 1.14126 +         xlc*)
 1.14127 +         lt_prog_compiler_pic_F77='-qnocommon'
 1.14128 +         lt_prog_compiler_wl_F77='-Wl,'
 1.14129 +         ;;
 1.14130 +       esac
 1.14131 +       ;;
 1.14132 +
 1.14133 +    mingw* | pw32* | os2*)
 1.14134 +      # This hack is so that the source file can tell whether it is being
 1.14135 +      # built for inclusion in a dll (and should export symbols for example).
 1.14136 +      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 1.14137 +      ;;
 1.14138 +
 1.14139 +    hpux9* | hpux10* | hpux11*)
 1.14140 +      lt_prog_compiler_wl_F77='-Wl,'
 1.14141 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 1.14142 +      # not for PA HP-UX.
 1.14143 +      case $host_cpu in
 1.14144 +      hppa*64*|ia64*)
 1.14145 +	# +Z the default
 1.14146 +	;;
 1.14147 +      *)
 1.14148 +	lt_prog_compiler_pic_F77='+Z'
 1.14149 +	;;
 1.14150 +      esac
 1.14151 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 1.14152 +      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
 1.14153 +      ;;
 1.14154 +
 1.14155 +    irix5* | irix6* | nonstopux*)
 1.14156 +      lt_prog_compiler_wl_F77='-Wl,'
 1.14157 +      # PIC (with -KPIC) is the default.
 1.14158 +      lt_prog_compiler_static_F77='-non_shared'
 1.14159 +      ;;
 1.14160 +
 1.14161 +    newsos6)
 1.14162 +      lt_prog_compiler_pic_F77='-KPIC'
 1.14163 +      lt_prog_compiler_static_F77='-Bstatic'
 1.14164 +      ;;
 1.14165 +
 1.14166 +    linux*)
 1.14167 +      case $cc_basename in
 1.14168 +      icc* | ecc*)
 1.14169 +	lt_prog_compiler_wl_F77='-Wl,'
 1.14170 +	lt_prog_compiler_pic_F77='-KPIC'
 1.14171 +	lt_prog_compiler_static_F77='-static'
 1.14172 +        ;;
 1.14173 +      pgcc* | pgf77* | pgf90* | pgf95*)
 1.14174 +        # Portland Group compilers (*not* the Pentium gcc compiler,
 1.14175 +	# which looks to be a dead project)
 1.14176 +	lt_prog_compiler_wl_F77='-Wl,'
 1.14177 +	lt_prog_compiler_pic_F77='-fpic'
 1.14178 +	lt_prog_compiler_static_F77='-Bstatic'
 1.14179 +        ;;
 1.14180 +      ccc*)
 1.14181 +        lt_prog_compiler_wl_F77='-Wl,'
 1.14182 +        # All Alpha code is PIC.
 1.14183 +        lt_prog_compiler_static_F77='-non_shared'
 1.14184 +        ;;
 1.14185 +      esac
 1.14186 +      ;;
 1.14187 +
 1.14188 +    osf3* | osf4* | osf5*)
 1.14189 +      lt_prog_compiler_wl_F77='-Wl,'
 1.14190 +      # All OSF/1 code is PIC.
 1.14191 +      lt_prog_compiler_static_F77='-non_shared'
 1.14192 +      ;;
 1.14193 +
 1.14194 +    solaris*)
 1.14195 +      lt_prog_compiler_pic_F77='-KPIC'
 1.14196 +      lt_prog_compiler_static_F77='-Bstatic'
 1.14197 +      case $cc_basename in
 1.14198 +      f77* | f90* | f95*)
 1.14199 +	lt_prog_compiler_wl_F77='-Qoption ld ';;
 1.14200 +      *)
 1.14201 +	lt_prog_compiler_wl_F77='-Wl,';;
 1.14202 +      esac
 1.14203 +      ;;
 1.14204 +
 1.14205 +    sunos4*)
 1.14206 +      lt_prog_compiler_wl_F77='-Qoption ld '
 1.14207 +      lt_prog_compiler_pic_F77='-PIC'
 1.14208 +      lt_prog_compiler_static_F77='-Bstatic'
 1.14209 +      ;;
 1.14210 +
 1.14211 +    sysv4 | sysv4.2uw2* | sysv4.3*)
 1.14212 +      lt_prog_compiler_wl_F77='-Wl,'
 1.14213 +      lt_prog_compiler_pic_F77='-KPIC'
 1.14214 +      lt_prog_compiler_static_F77='-Bstatic'
 1.14215 +      ;;
 1.14216 +
 1.14217 +    sysv4*MP*)
 1.14218 +      if test -d /usr/nec ;then
 1.14219 +	lt_prog_compiler_pic_F77='-Kconform_pic'
 1.14220 +	lt_prog_compiler_static_F77='-Bstatic'
 1.14221 +      fi
 1.14222 +      ;;
 1.14223 +
 1.14224 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 1.14225 +      lt_prog_compiler_wl_F77='-Wl,'
 1.14226 +      lt_prog_compiler_pic_F77='-KPIC'
 1.14227 +      lt_prog_compiler_static_F77='-Bstatic'
 1.14228 +      ;;
 1.14229 +
 1.14230 +    unicos*)
 1.14231 +      lt_prog_compiler_wl_F77='-Wl,'
 1.14232 +      lt_prog_compiler_can_build_shared_F77=no
 1.14233 +      ;;
 1.14234 +
 1.14235 +    uts4*)
 1.14236 +      lt_prog_compiler_pic_F77='-pic'
 1.14237 +      lt_prog_compiler_static_F77='-Bstatic'
 1.14238 +      ;;
 1.14239 +
 1.14240 +    *)
 1.14241 +      lt_prog_compiler_can_build_shared_F77=no
 1.14242 +      ;;
 1.14243 +    esac
 1.14244 +  fi
 1.14245 +
 1.14246 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 1.14247 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
 1.14248 +
 1.14249 +#
 1.14250 +# Check to make sure the PIC flag actually works.
 1.14251 +#
 1.14252 +if test -n "$lt_prog_compiler_pic_F77"; then
 1.14253 +
 1.14254 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 1.14255 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 1.14256 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 1.14257 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.14258 +else
 1.14259 +  lt_prog_compiler_pic_works_F77=no
 1.14260 +  ac_outfile=conftest.$ac_objext
 1.14261 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.14262 +   lt_compiler_flag="$lt_prog_compiler_pic_F77"
 1.14263 +   # Insert the option either (1) after the last *FLAGS variable, or
 1.14264 +   # (2) before a word containing "conftest.", or (3) at the end.
 1.14265 +   # Note that $ac_compile itself does not contain backslashes and begins
 1.14266 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
 1.14267 +   # The option is referenced via a variable to avoid confusing sed.
 1.14268 +   lt_compile=`echo "$ac_compile" | $SED \
 1.14269 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 1.14270 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 1.14271 +   -e 's:$: $lt_compiler_flag:'`
 1.14272 +   (eval echo "\"\$as_me:14269: $lt_compile\"" >&5)
 1.14273 +   (eval "$lt_compile" 2>conftest.err)
 1.14274 +   ac_status=$?
 1.14275 +   cat conftest.err >&5
 1.14276 +   echo "$as_me:14273: \$? = $ac_status" >&5
 1.14277 +   if (exit $ac_status) && test -s "$ac_outfile"; then
 1.14278 +     # The compiler can only warn and ignore the option if not recognized
 1.14279 +     # So say no if there are warnings other than the usual output.
 1.14280 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 1.14281 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 1.14282 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 1.14283 +       lt_prog_compiler_pic_works_F77=yes
 1.14284 +     fi
 1.14285 +   fi
 1.14286 +   $rm conftest*
 1.14287 +
 1.14288 +fi
 1.14289 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 1.14290 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 1.14291 +
 1.14292 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 1.14293 +    case $lt_prog_compiler_pic_F77 in
 1.14294 +     "" | " "*) ;;
 1.14295 +     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 1.14296 +     esac
 1.14297 +else
 1.14298 +    lt_prog_compiler_pic_F77=
 1.14299 +     lt_prog_compiler_can_build_shared_F77=no
 1.14300 +fi
 1.14301 +
 1.14302 +fi
 1.14303 +case $host_os in
 1.14304 +  # For platforms which do not support PIC, -DPIC is meaningless:
 1.14305 +  *djgpp*)
 1.14306 +    lt_prog_compiler_pic_F77=
 1.14307 +    ;;
 1.14308 +  *)
 1.14309 +    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
 1.14310 +    ;;
 1.14311 +esac
 1.14312 +
 1.14313 +#
 1.14314 +# Check to make sure the static flag actually works.
 1.14315 +#
 1.14316 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 1.14317 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 1.14318 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 1.14319 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 1.14320 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.14321 +else
 1.14322 +  lt_prog_compiler_static_works_F77=no
 1.14323 +   save_LDFLAGS="$LDFLAGS"
 1.14324 +   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 1.14325 +   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 1.14326 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 1.14327 +     # The linker can only warn and ignore the option if not recognized
 1.14328 +     # So say no if there are warnings
 1.14329 +     if test -s conftest.err; then
 1.14330 +       # Append any errors to the config.log.
 1.14331 +       cat conftest.err 1>&5
 1.14332 +       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 1.14333 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 1.14334 +       if diff conftest.exp conftest.er2 >/dev/null; then
 1.14335 +         lt_prog_compiler_static_works_F77=yes
 1.14336 +       fi
 1.14337 +     else
 1.14338 +       lt_prog_compiler_static_works_F77=yes
 1.14339 +     fi
 1.14340 +   fi
 1.14341 +   $rm conftest*
 1.14342 +   LDFLAGS="$save_LDFLAGS"
 1.14343 +
 1.14344 +fi
 1.14345 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 1.14346 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 1.14347 +
 1.14348 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 1.14349 +    :
 1.14350 +else
 1.14351 +    lt_prog_compiler_static_F77=
 1.14352 +fi
 1.14353 +
 1.14354 +
 1.14355 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 1.14356 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 1.14357 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 1.14358 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.14359 +else
 1.14360 +  lt_cv_prog_compiler_c_o_F77=no
 1.14361 +   $rm -r conftest 2>/dev/null
 1.14362 +   mkdir conftest
 1.14363 +   cd conftest
 1.14364 +   mkdir out
 1.14365 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.14366 +
 1.14367 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
 1.14368 +   # Insert the option either (1) after the last *FLAGS variable, or
 1.14369 +   # (2) before a word containing "conftest.", or (3) at the end.
 1.14370 +   # Note that $ac_compile itself does not contain backslashes and begins
 1.14371 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
 1.14372 +   lt_compile=`echo "$ac_compile" | $SED \
 1.14373 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 1.14374 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 1.14375 +   -e 's:$: $lt_compiler_flag:'`
 1.14376 +   (eval echo "\"\$as_me:14373: $lt_compile\"" >&5)
 1.14377 +   (eval "$lt_compile" 2>out/conftest.err)
 1.14378 +   ac_status=$?
 1.14379 +   cat out/conftest.err >&5
 1.14380 +   echo "$as_me:14377: \$? = $ac_status" >&5
 1.14381 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 1.14382 +   then
 1.14383 +     # The compiler can only warn and ignore the option if not recognized
 1.14384 +     # So say no if there are warnings
 1.14385 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 1.14386 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 1.14387 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 1.14388 +       lt_cv_prog_compiler_c_o_F77=yes
 1.14389 +     fi
 1.14390 +   fi
 1.14391 +   chmod u+w . 2>&5
 1.14392 +   $rm conftest*
 1.14393 +   # SGI C++ compiler will create directory out/ii_files/ for
 1.14394 +   # template instantiation
 1.14395 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 1.14396 +   $rm out/* && rmdir out
 1.14397 +   cd ..
 1.14398 +   rmdir conftest
 1.14399 +   $rm conftest*
 1.14400 +
 1.14401 +fi
 1.14402 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 1.14403 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
 1.14404 +
 1.14405 +
 1.14406 +hard_links="nottested"
 1.14407 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 1.14408 +  # do not overwrite the value of need_locks provided by the user
 1.14409 +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 1.14410 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 1.14411 +  hard_links=yes
 1.14412 +  $rm conftest*
 1.14413 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 1.14414 +  touch conftest.a
 1.14415 +  ln conftest.a conftest.b 2>&5 || hard_links=no
 1.14416 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 1.14417 +  { echo "$as_me:$LINENO: result: $hard_links" >&5
 1.14418 +echo "${ECHO_T}$hard_links" >&6; }
 1.14419 +  if test "$hard_links" = no; then
 1.14420 +    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 1.14421 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 1.14422 +    need_locks=warn
 1.14423 +  fi
 1.14424 +else
 1.14425 +  need_locks=no
 1.14426 +fi
 1.14427 +
 1.14428 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 1.14429 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 1.14430 +
 1.14431 +  runpath_var=
 1.14432 +  allow_undefined_flag_F77=
 1.14433 +  enable_shared_with_static_runtimes_F77=no
 1.14434 +  archive_cmds_F77=
 1.14435 +  archive_expsym_cmds_F77=
 1.14436 +  old_archive_From_new_cmds_F77=
 1.14437 +  old_archive_from_expsyms_cmds_F77=
 1.14438 +  export_dynamic_flag_spec_F77=
 1.14439 +  whole_archive_flag_spec_F77=
 1.14440 +  thread_safe_flag_spec_F77=
 1.14441 +  hardcode_libdir_flag_spec_F77=
 1.14442 +  hardcode_libdir_flag_spec_ld_F77=
 1.14443 +  hardcode_libdir_separator_F77=
 1.14444 +  hardcode_direct_F77=no
 1.14445 +  hardcode_minus_L_F77=no
 1.14446 +  hardcode_shlibpath_var_F77=unsupported
 1.14447 +  link_all_deplibs_F77=unknown
 1.14448 +  hardcode_automatic_F77=no
 1.14449 +  module_cmds_F77=
 1.14450 +  module_expsym_cmds_F77=
 1.14451 +  always_export_symbols_F77=no
 1.14452 +  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 1.14453 +  # include_expsyms should be a list of space-separated symbols to be *always*
 1.14454 +  # included in the symbol list
 1.14455 +  include_expsyms_F77=
 1.14456 +  # exclude_expsyms can be an extended regexp of symbols to exclude
 1.14457 +  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 1.14458 +  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 1.14459 +  # as well as any symbol that contains `d'.
 1.14460 +  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 1.14461 +  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 1.14462 +  # platforms (ab)use it in PIC code, but their linkers get confused if
 1.14463 +  # the symbol is explicitly referenced.  Since portable code cannot
 1.14464 +  # rely on this symbol name, it's probably fine to never include it in
 1.14465 +  # preloaded symbol tables.
 1.14466 +  extract_expsyms_cmds=
 1.14467 +  # Just being paranoid about ensuring that cc_basename is set.
 1.14468 +  for cc_temp in $compiler""; do
 1.14469 +  case $cc_temp in
 1.14470 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 1.14471 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 1.14472 +    \-*) ;;
 1.14473 +    *) break;;
 1.14474 +  esac
 1.14475 +done
 1.14476 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 1.14477 +
 1.14478 +  case $host_os in
 1.14479 +  cygwin* | mingw* | pw32*)
 1.14480 +    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 1.14481 +    # When not using gcc, we currently assume that we are using
 1.14482 +    # Microsoft Visual C++.
 1.14483 +    if test "$GCC" != yes; then
 1.14484 +      with_gnu_ld=no
 1.14485 +    fi
 1.14486 +    ;;
 1.14487 +  interix*)
 1.14488 +    # we just hope/assume this is gcc and not c89 (= MSVC++)
 1.14489 +    with_gnu_ld=yes
 1.14490 +    ;;
 1.14491 +  openbsd*)
 1.14492 +    with_gnu_ld=no
 1.14493 +    ;;
 1.14494 +  esac
 1.14495 +
 1.14496 +  ld_shlibs_F77=yes
 1.14497 +  if test "$with_gnu_ld" = yes; then
 1.14498 +    # If archive_cmds runs LD, not CC, wlarc should be empty
 1.14499 +    wlarc='${wl}'
 1.14500 +
 1.14501 +    # Set some defaults for GNU ld with shared library support. These
 1.14502 +    # are reset later if shared libraries are not supported. Putting them
 1.14503 +    # here allows them to be overridden if necessary.
 1.14504 +    runpath_var=LD_RUN_PATH
 1.14505 +    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 1.14506 +    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 1.14507 +    # ancient GNU ld didn't support --whole-archive et. al.
 1.14508 +    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 1.14509 +	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 1.14510 +      else
 1.14511 +  	whole_archive_flag_spec_F77=
 1.14512 +    fi
 1.14513 +    supports_anon_versioning=no
 1.14514 +    case `$LD -v 2>/dev/null` in
 1.14515 +      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 1.14516 +      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 1.14517 +      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 1.14518 +      *\ 2.11.*) ;; # other 2.11 versions
 1.14519 +      *) supports_anon_versioning=yes ;;
 1.14520 +    esac
 1.14521 +
 1.14522 +    # See if GNU ld supports shared libraries.
 1.14523 +    case $host_os in
 1.14524 +    aix3* | aix4* | aix5*)
 1.14525 +      # On AIX/PPC, the GNU linker is very broken
 1.14526 +      if test "$host_cpu" != ia64; then
 1.14527 +	ld_shlibs_F77=no
 1.14528 +	cat <<EOF 1>&2
 1.14529 +
 1.14530 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 1.14531 +*** to be unable to reliably create shared libraries on AIX.
 1.14532 +*** Therefore, libtool is disabling shared libraries support.  If you
 1.14533 +*** really care for shared libraries, you may want to modify your PATH
 1.14534 +*** so that a non-GNU linker is found, and then restart.
 1.14535 +
 1.14536 +EOF
 1.14537 +      fi
 1.14538 +      ;;
 1.14539 +
 1.14540 +    amigaos*)
 1.14541 +      archive_cmds_F77='$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.14542 +      hardcode_libdir_flag_spec_F77='-L$libdir'
 1.14543 +      hardcode_minus_L_F77=yes
 1.14544 +
 1.14545 +      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 1.14546 +      # that the semantics of dynamic libraries on AmigaOS, at least up
 1.14547 +      # to version 4, is to share data among multiple programs linked
 1.14548 +      # with the same dynamic library.  Since this doesn't match the
 1.14549 +      # behavior of shared libraries on other platforms, we can't use
 1.14550 +      # them.
 1.14551 +      ld_shlibs_F77=no
 1.14552 +      ;;
 1.14553 +
 1.14554 +    beos*)
 1.14555 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.14556 +	allow_undefined_flag_F77=unsupported
 1.14557 +	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 1.14558 +	# support --undefined.  This deserves some investigation.  FIXME
 1.14559 +	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.14560 +      else
 1.14561 +	ld_shlibs_F77=no
 1.14562 +      fi
 1.14563 +      ;;
 1.14564 +
 1.14565 +    cygwin* | mingw* | pw32*)
 1.14566 +      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
 1.14567 +      # as there is no search path for DLLs.
 1.14568 +      hardcode_libdir_flag_spec_F77='-L$libdir'
 1.14569 +      allow_undefined_flag_F77=unsupported
 1.14570 +      always_export_symbols_F77=no
 1.14571 +      enable_shared_with_static_runtimes_F77=yes
 1.14572 +      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 1.14573 +
 1.14574 +      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 1.14575 +        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 1.14576 +	# If the export-symbols file already is a .def file (1st line
 1.14577 +	# is EXPORTS), use it as is; otherwise, prepend...
 1.14578 +	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 1.14579 +	  cp $export_symbols $output_objdir/$soname.def;
 1.14580 +	else
 1.14581 +	  echo EXPORTS > $output_objdir/$soname.def;
 1.14582 +	  cat $export_symbols >> $output_objdir/$soname.def;
 1.14583 +	fi~
 1.14584 +	$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.14585 +      else
 1.14586 +	ld_shlibs_F77=no
 1.14587 +      fi
 1.14588 +      ;;
 1.14589 +
 1.14590 +    interix3*)
 1.14591 +      hardcode_direct_F77=no
 1.14592 +      hardcode_shlibpath_var_F77=no
 1.14593 +      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 1.14594 +      export_dynamic_flag_spec_F77='${wl}-E'
 1.14595 +      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 1.14596 +      # Instead, shared libraries are loaded at an image base (0x10000000 by
 1.14597 +      # default) and relocated if they conflict, which is a slow very memory
 1.14598 +      # consuming and fragmenting process.  To avoid this, we pick a random,
 1.14599 +      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 1.14600 +      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 1.14601 +      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 1.14602 +      archive_expsym_cmds_F77='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.14603 +      ;;
 1.14604 +
 1.14605 +    linux*)
 1.14606 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.14607 +	tmp_addflag=
 1.14608 +	case $cc_basename,$host_cpu in
 1.14609 +	pgcc*)				# Portland Group C compiler
 1.14610 +	  whole_archive_flag_spec_F77='${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.14611 +	  tmp_addflag=' $pic_flag'
 1.14612 +	  ;;
 1.14613 +	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 1.14614 +	  whole_archive_flag_spec_F77='${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.14615 +	  tmp_addflag=' $pic_flag -Mnomain' ;;
 1.14616 +	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 1.14617 +	  tmp_addflag=' -i_dynamic' ;;
 1.14618 +	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 1.14619 +	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 1.14620 +	ifc* | ifort*)			# Intel Fortran compiler
 1.14621 +	  tmp_addflag=' -nofor_main' ;;
 1.14622 +	esac
 1.14623 +	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.14624 +
 1.14625 +	if test $supports_anon_versioning = yes; then
 1.14626 +	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 1.14627 +  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 1.14628 +  $echo "local: *; };" >> $output_objdir/$libname.ver~
 1.14629 +	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 1.14630 +	fi
 1.14631 +      else
 1.14632 +	ld_shlibs_F77=no
 1.14633 +      fi
 1.14634 +      ;;
 1.14635 +
 1.14636 +    netbsd*)
 1.14637 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.14638 +	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 1.14639 +	wlarc=
 1.14640 +      else
 1.14641 +	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.14642 +	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.14643 +      fi
 1.14644 +      ;;
 1.14645 +
 1.14646 +    solaris*)
 1.14647 +      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 1.14648 +	ld_shlibs_F77=no
 1.14649 +	cat <<EOF 1>&2
 1.14650 +
 1.14651 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 1.14652 +*** create shared libraries on Solaris systems.  Therefore, libtool
 1.14653 +*** is disabling shared libraries support.  We urge you to upgrade GNU
 1.14654 +*** binutils to release 2.9.1 or newer.  Another option is to modify
 1.14655 +*** your PATH or compiler configuration so that the native linker is
 1.14656 +*** used, and then restart.
 1.14657 +
 1.14658 +EOF
 1.14659 +      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.14660 +	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.14661 +	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.14662 +      else
 1.14663 +	ld_shlibs_F77=no
 1.14664 +      fi
 1.14665 +      ;;
 1.14666 +
 1.14667 +    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 1.14668 +      case `$LD -v 2>&1` in
 1.14669 +        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 1.14670 +	ld_shlibs_F77=no
 1.14671 +	cat <<_LT_EOF 1>&2
 1.14672 +
 1.14673 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 1.14674 +*** reliably create shared libraries on SCO systems.  Therefore, libtool
 1.14675 +*** is disabling shared libraries support.  We urge you to upgrade GNU
 1.14676 +*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 1.14677 +*** your PATH or compiler configuration so that the native linker is
 1.14678 +*** used, and then restart.
 1.14679 +
 1.14680 +_LT_EOF
 1.14681 +	;;
 1.14682 +	*)
 1.14683 +	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.14684 +	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 1.14685 +	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 1.14686 +	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 1.14687 +	  else
 1.14688 +	    ld_shlibs_F77=no
 1.14689 +	  fi
 1.14690 +	;;
 1.14691 +      esac
 1.14692 +      ;;
 1.14693 +
 1.14694 +    sunos4*)
 1.14695 +      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 1.14696 +      wlarc=
 1.14697 +      hardcode_direct_F77=yes
 1.14698 +      hardcode_shlibpath_var_F77=no
 1.14699 +      ;;
 1.14700 +
 1.14701 +    *)
 1.14702 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.14703 +	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.14704 +	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.14705 +      else
 1.14706 +	ld_shlibs_F77=no
 1.14707 +      fi
 1.14708 +      ;;
 1.14709 +    esac
 1.14710 +
 1.14711 +    if test "$ld_shlibs_F77" = no; then
 1.14712 +      runpath_var=
 1.14713 +      hardcode_libdir_flag_spec_F77=
 1.14714 +      export_dynamic_flag_spec_F77=
 1.14715 +      whole_archive_flag_spec_F77=
 1.14716 +    fi
 1.14717 +  else
 1.14718 +    # PORTME fill in a description of your system's linker (not GNU ld)
 1.14719 +    case $host_os in
 1.14720 +    aix3*)
 1.14721 +      allow_undefined_flag_F77=unsupported
 1.14722 +      always_export_symbols_F77=yes
 1.14723 +      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 1.14724 +      # Note: this linker hardcodes the directories in LIBPATH if there
 1.14725 +      # are no directories specified by -L.
 1.14726 +      hardcode_minus_L_F77=yes
 1.14727 +      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 1.14728 +	# Neither direct hardcoding nor static linking is supported with a
 1.14729 +	# broken collect2.
 1.14730 +	hardcode_direct_F77=unsupported
 1.14731 +      fi
 1.14732 +      ;;
 1.14733 +
 1.14734 +    aix4* | aix5*)
 1.14735 +      if test "$host_cpu" = ia64; then
 1.14736 +	# On IA64, the linker does run time linking by default, so we don't
 1.14737 +	# have to do anything special.
 1.14738 +	aix_use_runtimelinking=no
 1.14739 +	exp_sym_flag='-Bexport'
 1.14740 +	no_entry_flag=""
 1.14741 +      else
 1.14742 +	# If we're using GNU nm, then we don't want the "-C" option.
 1.14743 +	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 1.14744 +	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 1.14745 +	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 1.14746 +	else
 1.14747 +	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 1.14748 +	fi
 1.14749 +	aix_use_runtimelinking=no
 1.14750 +
 1.14751 +	# Test if we are trying to use run time linking or normal
 1.14752 +	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 1.14753 +	# need to do runtime linking.
 1.14754 +	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 1.14755 +	  for ld_flag in $LDFLAGS; do
 1.14756 +  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 1.14757 +  	    aix_use_runtimelinking=yes
 1.14758 +  	    break
 1.14759 +  	  fi
 1.14760 +	  done
 1.14761 +	  ;;
 1.14762 +	esac
 1.14763 +
 1.14764 +	exp_sym_flag='-bexport'
 1.14765 +	no_entry_flag='-bnoentry'
 1.14766 +      fi
 1.14767 +
 1.14768 +      # When large executables or shared objects are built, AIX ld can
 1.14769 +      # have problems creating the table of contents.  If linking a library
 1.14770 +      # or program results in "error TOC overflow" add -mminimal-toc to
 1.14771 +      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 1.14772 +      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 1.14773 +
 1.14774 +      archive_cmds_F77=''
 1.14775 +      hardcode_direct_F77=yes
 1.14776 +      hardcode_libdir_separator_F77=':'
 1.14777 +      link_all_deplibs_F77=yes
 1.14778 +
 1.14779 +      if test "$GCC" = yes; then
 1.14780 +	case $host_os in aix4.[012]|aix4.[012].*)
 1.14781 +	# We only want to do this on AIX 4.2 and lower, the check
 1.14782 +	# below for broken collect2 doesn't work under 4.3+
 1.14783 +	  collect2name=`${CC} -print-prog-name=collect2`
 1.14784 +	  if test -f "$collect2name" && \
 1.14785 +  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 1.14786 +	  then
 1.14787 +  	  # We have reworked collect2
 1.14788 +  	  hardcode_direct_F77=yes
 1.14789 +	  else
 1.14790 +  	  # We have old collect2
 1.14791 +  	  hardcode_direct_F77=unsupported
 1.14792 +  	  # It fails to find uninstalled libraries when the uninstalled
 1.14793 +  	  # path is not listed in the libpath.  Setting hardcode_minus_L
 1.14794 +  	  # to unsupported forces relinking
 1.14795 +  	  hardcode_minus_L_F77=yes
 1.14796 +  	  hardcode_libdir_flag_spec_F77='-L$libdir'
 1.14797 +  	  hardcode_libdir_separator_F77=
 1.14798 +	  fi
 1.14799 +	  ;;
 1.14800 +	esac
 1.14801 +	shared_flag='-shared'
 1.14802 +	if test "$aix_use_runtimelinking" = yes; then
 1.14803 +	  shared_flag="$shared_flag "'${wl}-G'
 1.14804 +	fi
 1.14805 +      else
 1.14806 +	# not using gcc
 1.14807 +	if test "$host_cpu" = ia64; then
 1.14808 +  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 1.14809 +  	# chokes on -Wl,-G. The following line is correct:
 1.14810 +	  shared_flag='-G'
 1.14811 +	else
 1.14812 +	  if test "$aix_use_runtimelinking" = yes; then
 1.14813 +	    shared_flag='${wl}-G'
 1.14814 +	  else
 1.14815 +	    shared_flag='${wl}-bM:SRE'
 1.14816 +	  fi
 1.14817 +	fi
 1.14818 +      fi
 1.14819 +
 1.14820 +      # It seems that -bexpall does not export symbols beginning with
 1.14821 +      # underscore (_), so it is better to generate a list of symbols to export.
 1.14822 +      always_export_symbols_F77=yes
 1.14823 +      if test "$aix_use_runtimelinking" = yes; then
 1.14824 +	# Warning - without using the other runtime loading flags (-brtl),
 1.14825 +	# -berok will link without error, but may produce a broken library.
 1.14826 +	allow_undefined_flag_F77='-berok'
 1.14827 +       # Determine the default libpath from the value encoded in an empty executable.
 1.14828 +       cat >conftest.$ac_ext <<_ACEOF
 1.14829 +      program main
 1.14830 +
 1.14831 +      end
 1.14832 +_ACEOF
 1.14833 +rm -f conftest.$ac_objext conftest$ac_exeext
 1.14834 +if { (ac_try="$ac_link"
 1.14835 +case "(($ac_try" in
 1.14836 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.14837 +  *) ac_try_echo=$ac_try;;
 1.14838 +esac
 1.14839 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.14840 +  (eval "$ac_link") 2>conftest.er1
 1.14841 +  ac_status=$?
 1.14842 +  grep -v '^ *+' conftest.er1 >conftest.err
 1.14843 +  rm -f conftest.er1
 1.14844 +  cat conftest.err >&5
 1.14845 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.14846 +  (exit $ac_status); } &&
 1.14847 +	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 1.14848 +  { (case "(($ac_try" in
 1.14849 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.14850 +  *) ac_try_echo=$ac_try;;
 1.14851 +esac
 1.14852 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.14853 +  (eval "$ac_try") 2>&5
 1.14854 +  ac_status=$?
 1.14855 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.14856 +  (exit $ac_status); }; } &&
 1.14857 +	 { ac_try='test -s conftest$ac_exeext'
 1.14858 +  { (case "(($ac_try" in
 1.14859 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.14860 +  *) ac_try_echo=$ac_try;;
 1.14861 +esac
 1.14862 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.14863 +  (eval "$ac_try") 2>&5
 1.14864 +  ac_status=$?
 1.14865 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.14866 +  (exit $ac_status); }; }; then
 1.14867 +
 1.14868 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.14869 +}'`
 1.14870 +# Check for a 64-bit object if we didn't find anything.
 1.14871 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.14872 +}'`; fi
 1.14873 +else
 1.14874 +  echo "$as_me: failed program was:" >&5
 1.14875 +sed 's/^/| /' conftest.$ac_ext >&5
 1.14876 +
 1.14877 +
 1.14878 +fi
 1.14879 +
 1.14880 +rm -f core conftest.err conftest.$ac_objext \
 1.14881 +      conftest$ac_exeext conftest.$ac_ext
 1.14882 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 1.14883 +
 1.14884 +       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 1.14885 +	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 1.14886 +       else
 1.14887 +	if test "$host_cpu" = ia64; then
 1.14888 +	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
 1.14889 +	  allow_undefined_flag_F77="-z nodefs"
 1.14890 +	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 1.14891 +	else
 1.14892 +	 # Determine the default libpath from the value encoded in an empty executable.
 1.14893 +	 cat >conftest.$ac_ext <<_ACEOF
 1.14894 +      program main
 1.14895 +
 1.14896 +      end
 1.14897 +_ACEOF
 1.14898 +rm -f conftest.$ac_objext conftest$ac_exeext
 1.14899 +if { (ac_try="$ac_link"
 1.14900 +case "(($ac_try" in
 1.14901 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.14902 +  *) ac_try_echo=$ac_try;;
 1.14903 +esac
 1.14904 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.14905 +  (eval "$ac_link") 2>conftest.er1
 1.14906 +  ac_status=$?
 1.14907 +  grep -v '^ *+' conftest.er1 >conftest.err
 1.14908 +  rm -f conftest.er1
 1.14909 +  cat conftest.err >&5
 1.14910 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.14911 +  (exit $ac_status); } &&
 1.14912 +	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 1.14913 +  { (case "(($ac_try" in
 1.14914 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.14915 +  *) ac_try_echo=$ac_try;;
 1.14916 +esac
 1.14917 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.14918 +  (eval "$ac_try") 2>&5
 1.14919 +  ac_status=$?
 1.14920 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.14921 +  (exit $ac_status); }; } &&
 1.14922 +	 { ac_try='test -s conftest$ac_exeext'
 1.14923 +  { (case "(($ac_try" in
 1.14924 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.14925 +  *) ac_try_echo=$ac_try;;
 1.14926 +esac
 1.14927 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.14928 +  (eval "$ac_try") 2>&5
 1.14929 +  ac_status=$?
 1.14930 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.14931 +  (exit $ac_status); }; }; then
 1.14932 +
 1.14933 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.14934 +}'`
 1.14935 +# Check for a 64-bit object if we didn't find anything.
 1.14936 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.14937 +}'`; fi
 1.14938 +else
 1.14939 +  echo "$as_me: failed program was:" >&5
 1.14940 +sed 's/^/| /' conftest.$ac_ext >&5
 1.14941 +
 1.14942 +
 1.14943 +fi
 1.14944 +
 1.14945 +rm -f core conftest.err conftest.$ac_objext \
 1.14946 +      conftest$ac_exeext conftest.$ac_ext
 1.14947 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 1.14948 +
 1.14949 +	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 1.14950 +	  # Warning - without using the other run time loading flags,
 1.14951 +	  # -berok will link without error, but may produce a broken library.
 1.14952 +	  no_undefined_flag_F77=' ${wl}-bernotok'
 1.14953 +	  allow_undefined_flag_F77=' ${wl}-berok'
 1.14954 +	  # Exported symbols can be pulled into shared objects from archives
 1.14955 +	  whole_archive_flag_spec_F77='$convenience'
 1.14956 +	  archive_cmds_need_lc_F77=yes
 1.14957 +	  # This is similar to how AIX traditionally builds its shared libraries.
 1.14958 +	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 1.14959 +	fi
 1.14960 +      fi
 1.14961 +      ;;
 1.14962 +
 1.14963 +    amigaos*)
 1.14964 +      archive_cmds_F77='$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.14965 +      hardcode_libdir_flag_spec_F77='-L$libdir'
 1.14966 +      hardcode_minus_L_F77=yes
 1.14967 +      # see comment about different semantics on the GNU ld section
 1.14968 +      ld_shlibs_F77=no
 1.14969 +      ;;
 1.14970 +
 1.14971 +    bsdi[45]*)
 1.14972 +      export_dynamic_flag_spec_F77=-rdynamic
 1.14973 +      ;;
 1.14974 +
 1.14975 +    cygwin* | mingw* | pw32*)
 1.14976 +      # When not using gcc, we currently assume that we are using
 1.14977 +      # Microsoft Visual C++.
 1.14978 +      # hardcode_libdir_flag_spec is actually meaningless, as there is
 1.14979 +      # no search path for DLLs.
 1.14980 +      hardcode_libdir_flag_spec_F77=' '
 1.14981 +      allow_undefined_flag_F77=unsupported
 1.14982 +      # Tell ltmain to make .lib files, not .a files.
 1.14983 +      libext=lib
 1.14984 +      # Tell ltmain to make .dll files, not .so files.
 1.14985 +      shrext_cmds=".dll"
 1.14986 +      # FIXME: Setting linknames here is a bad hack.
 1.14987 +      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 1.14988 +      # The linker will automatically build a .lib file if we build a DLL.
 1.14989 +      old_archive_From_new_cmds_F77='true'
 1.14990 +      # FIXME: Should let the user specify the lib program.
 1.14991 +      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 1.14992 +      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
 1.14993 +      enable_shared_with_static_runtimes_F77=yes
 1.14994 +      ;;
 1.14995 +
 1.14996 +    darwin* | rhapsody*)
 1.14997 +      case $host_os in
 1.14998 +        rhapsody* | darwin1.[012])
 1.14999 +         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 1.15000 +         ;;
 1.15001 +       *) # Darwin 1.3 on
 1.15002 +         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 1.15003 +           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 1.15004 +         else
 1.15005 +           case ${MACOSX_DEPLOYMENT_TARGET} in
 1.15006 +             10.[012])
 1.15007 +               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 1.15008 +               ;;
 1.15009 +             10.*)
 1.15010 +               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 1.15011 +               ;;
 1.15012 +           esac
 1.15013 +         fi
 1.15014 +         ;;
 1.15015 +      esac
 1.15016 +      archive_cmds_need_lc_F77=no
 1.15017 +      hardcode_direct_F77=no
 1.15018 +      hardcode_automatic_F77=yes
 1.15019 +      hardcode_shlibpath_var_F77=unsupported
 1.15020 +      whole_archive_flag_spec_F77=''
 1.15021 +      link_all_deplibs_F77=yes
 1.15022 +    if test "$GCC" = yes ; then
 1.15023 +    	output_verbose_link_cmd='echo'
 1.15024 +        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 1.15025 +      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 1.15026 +      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 1.15027 +      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.15028 +      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.15029 +    else
 1.15030 +      case $cc_basename in
 1.15031 +        xlc*)
 1.15032 +         output_verbose_link_cmd='echo'
 1.15033 +         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 1.15034 +         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 1.15035 +          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 1.15036 +         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.15037 +          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.15038 +          ;;
 1.15039 +       *)
 1.15040 +         ld_shlibs_F77=no
 1.15041 +          ;;
 1.15042 +      esac
 1.15043 +    fi
 1.15044 +      ;;
 1.15045 +
 1.15046 +    dgux*)
 1.15047 +      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15048 +      hardcode_libdir_flag_spec_F77='-L$libdir'
 1.15049 +      hardcode_shlibpath_var_F77=no
 1.15050 +      ;;
 1.15051 +
 1.15052 +    freebsd1*)
 1.15053 +      ld_shlibs_F77=no
 1.15054 +      ;;
 1.15055 +
 1.15056 +    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 1.15057 +    # support.  Future versions do this automatically, but an explicit c++rt0.o
 1.15058 +    # does not break anything, and helps significantly (at the cost of a little
 1.15059 +    # extra space).
 1.15060 +    freebsd2.2*)
 1.15061 +      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 1.15062 +      hardcode_libdir_flag_spec_F77='-R$libdir'
 1.15063 +      hardcode_direct_F77=yes
 1.15064 +      hardcode_shlibpath_var_F77=no
 1.15065 +      ;;
 1.15066 +
 1.15067 +    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 1.15068 +    freebsd2*)
 1.15069 +      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 1.15070 +      hardcode_direct_F77=yes
 1.15071 +      hardcode_minus_L_F77=yes
 1.15072 +      hardcode_shlibpath_var_F77=no
 1.15073 +      ;;
 1.15074 +
 1.15075 +    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 1.15076 +    freebsd* | kfreebsd*-gnu | dragonfly*)
 1.15077 +      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 1.15078 +      hardcode_libdir_flag_spec_F77='-R$libdir'
 1.15079 +      hardcode_direct_F77=yes
 1.15080 +      hardcode_shlibpath_var_F77=no
 1.15081 +      ;;
 1.15082 +
 1.15083 +    hpux9*)
 1.15084 +      if test "$GCC" = yes; then
 1.15085 +	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 1.15086 +      else
 1.15087 +	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 1.15088 +      fi
 1.15089 +      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 1.15090 +      hardcode_libdir_separator_F77=:
 1.15091 +      hardcode_direct_F77=yes
 1.15092 +
 1.15093 +      # hardcode_minus_L: Not really in the search PATH,
 1.15094 +      # but as the default location of the library.
 1.15095 +      hardcode_minus_L_F77=yes
 1.15096 +      export_dynamic_flag_spec_F77='${wl}-E'
 1.15097 +      ;;
 1.15098 +
 1.15099 +    hpux10*)
 1.15100 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 1.15101 +	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 1.15102 +      else
 1.15103 +	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 1.15104 +      fi
 1.15105 +      if test "$with_gnu_ld" = no; then
 1.15106 +	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 1.15107 +	hardcode_libdir_separator_F77=:
 1.15108 +
 1.15109 +	hardcode_direct_F77=yes
 1.15110 +	export_dynamic_flag_spec_F77='${wl}-E'
 1.15111 +
 1.15112 +	# hardcode_minus_L: Not really in the search PATH,
 1.15113 +	# but as the default location of the library.
 1.15114 +	hardcode_minus_L_F77=yes
 1.15115 +      fi
 1.15116 +      ;;
 1.15117 +
 1.15118 +    hpux11*)
 1.15119 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 1.15120 +	case $host_cpu in
 1.15121 +	hppa*64*)
 1.15122 +	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15123 +	  ;;
 1.15124 +	ia64*)
 1.15125 +	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 1.15126 +	  ;;
 1.15127 +	*)
 1.15128 +	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 1.15129 +	  ;;
 1.15130 +	esac
 1.15131 +      else
 1.15132 +	case $host_cpu in
 1.15133 +	hppa*64*)
 1.15134 +	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15135 +	  ;;
 1.15136 +	ia64*)
 1.15137 +	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 1.15138 +	  ;;
 1.15139 +	*)
 1.15140 +	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 1.15141 +	  ;;
 1.15142 +	esac
 1.15143 +      fi
 1.15144 +      if test "$with_gnu_ld" = no; then
 1.15145 +	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 1.15146 +	hardcode_libdir_separator_F77=:
 1.15147 +
 1.15148 +	case $host_cpu in
 1.15149 +	hppa*64*|ia64*)
 1.15150 +	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
 1.15151 +	  hardcode_direct_F77=no
 1.15152 +	  hardcode_shlibpath_var_F77=no
 1.15153 +	  ;;
 1.15154 +	*)
 1.15155 +	  hardcode_direct_F77=yes
 1.15156 +	  export_dynamic_flag_spec_F77='${wl}-E'
 1.15157 +
 1.15158 +	  # hardcode_minus_L: Not really in the search PATH,
 1.15159 +	  # but as the default location of the library.
 1.15160 +	  hardcode_minus_L_F77=yes
 1.15161 +	  ;;
 1.15162 +	esac
 1.15163 +      fi
 1.15164 +      ;;
 1.15165 +
 1.15166 +    irix5* | irix6* | nonstopux*)
 1.15167 +      if test "$GCC" = yes; then
 1.15168 +	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.15169 +      else
 1.15170 +	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.15171 +	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
 1.15172 +      fi
 1.15173 +      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 1.15174 +      hardcode_libdir_separator_F77=:
 1.15175 +      link_all_deplibs_F77=yes
 1.15176 +      ;;
 1.15177 +
 1.15178 +    netbsd*)
 1.15179 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.15180 +	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 1.15181 +      else
 1.15182 +	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 1.15183 +      fi
 1.15184 +      hardcode_libdir_flag_spec_F77='-R$libdir'
 1.15185 +      hardcode_direct_F77=yes
 1.15186 +      hardcode_shlibpath_var_F77=no
 1.15187 +      ;;
 1.15188 +
 1.15189 +    newsos6)
 1.15190 +      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15191 +      hardcode_direct_F77=yes
 1.15192 +      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 1.15193 +      hardcode_libdir_separator_F77=:
 1.15194 +      hardcode_shlibpath_var_F77=no
 1.15195 +      ;;
 1.15196 +
 1.15197 +    openbsd*)
 1.15198 +      hardcode_direct_F77=yes
 1.15199 +      hardcode_shlibpath_var_F77=no
 1.15200 +      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.15201 +	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 1.15202 +	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 1.15203 +	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 1.15204 +	export_dynamic_flag_spec_F77='${wl}-E'
 1.15205 +      else
 1.15206 +       case $host_os in
 1.15207 +	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 1.15208 +	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 1.15209 +	   hardcode_libdir_flag_spec_F77='-R$libdir'
 1.15210 +	   ;;
 1.15211 +	 *)
 1.15212 +	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 1.15213 +	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 1.15214 +	   ;;
 1.15215 +       esac
 1.15216 +      fi
 1.15217 +      ;;
 1.15218 +
 1.15219 +    os2*)
 1.15220 +      hardcode_libdir_flag_spec_F77='-L$libdir'
 1.15221 +      hardcode_minus_L_F77=yes
 1.15222 +      allow_undefined_flag_F77=unsupported
 1.15223 +      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 1.15224 +      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 1.15225 +      ;;
 1.15226 +
 1.15227 +    osf3*)
 1.15228 +      if test "$GCC" = yes; then
 1.15229 +	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 1.15230 +	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.15231 +      else
 1.15232 +	allow_undefined_flag_F77=' -expect_unresolved \*'
 1.15233 +	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.15234 +      fi
 1.15235 +      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 1.15236 +      hardcode_libdir_separator_F77=:
 1.15237 +      ;;
 1.15238 +
 1.15239 +    osf4* | osf5*)	# as osf3* with the addition of -msym flag
 1.15240 +      if test "$GCC" = yes; then
 1.15241 +	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 1.15242 +	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.15243 +	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 1.15244 +      else
 1.15245 +	allow_undefined_flag_F77=' -expect_unresolved \*'
 1.15246 +	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.15247 +	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 1.15248 +	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 1.15249 +
 1.15250 +	# Both c and cxx compiler support -rpath directly
 1.15251 +	hardcode_libdir_flag_spec_F77='-rpath $libdir'
 1.15252 +      fi
 1.15253 +      hardcode_libdir_separator_F77=:
 1.15254 +      ;;
 1.15255 +
 1.15256 +    solaris*)
 1.15257 +      no_undefined_flag_F77=' -z text'
 1.15258 +      if test "$GCC" = yes; then
 1.15259 +	wlarc='${wl}'
 1.15260 +	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15261 +	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 1.15262 +	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 1.15263 +      else
 1.15264 +	wlarc=''
 1.15265 +	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15266 +	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 1.15267 +  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 1.15268 +      fi
 1.15269 +      hardcode_libdir_flag_spec_F77='-R$libdir'
 1.15270 +      hardcode_shlibpath_var_F77=no
 1.15271 +      case $host_os in
 1.15272 +      solaris2.[0-5] | solaris2.[0-5].*) ;;
 1.15273 +      *)
 1.15274 + 	# The compiler driver will combine linker options so we
 1.15275 + 	# cannot just pass the convience library names through
 1.15276 + 	# without $wl, iff we do not link with $LD.
 1.15277 + 	# Luckily, gcc supports the same syntax we need for Sun Studio.
 1.15278 + 	# Supported since Solaris 2.6 (maybe 2.5.1?)
 1.15279 + 	case $wlarc in
 1.15280 + 	'')
 1.15281 + 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 1.15282 + 	*)
 1.15283 + 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 1.15284 + 	esac ;;
 1.15285 +      esac
 1.15286 +      link_all_deplibs_F77=yes
 1.15287 +      ;;
 1.15288 +
 1.15289 +    sunos4*)
 1.15290 +      if test "x$host_vendor" = xsequent; then
 1.15291 +	# Use $CC to link under sequent, because it throws in some extra .o
 1.15292 +	# files that make .init and .fini sections work.
 1.15293 +	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15294 +      else
 1.15295 +	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 1.15296 +      fi
 1.15297 +      hardcode_libdir_flag_spec_F77='-L$libdir'
 1.15298 +      hardcode_direct_F77=yes
 1.15299 +      hardcode_minus_L_F77=yes
 1.15300 +      hardcode_shlibpath_var_F77=no
 1.15301 +      ;;
 1.15302 +
 1.15303 +    sysv4)
 1.15304 +      case $host_vendor in
 1.15305 +	sni)
 1.15306 +	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15307 +	  hardcode_direct_F77=yes # is this really true???
 1.15308 +	;;
 1.15309 +	siemens)
 1.15310 +	  ## LD is ld it makes a PLAMLIB
 1.15311 +	  ## CC just makes a GrossModule.
 1.15312 +	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 1.15313 +	  reload_cmds_F77='$CC -r -o $output$reload_objs'
 1.15314 +	  hardcode_direct_F77=no
 1.15315 +        ;;
 1.15316 +	motorola)
 1.15317 +	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15318 +	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
 1.15319 +	;;
 1.15320 +      esac
 1.15321 +      runpath_var='LD_RUN_PATH'
 1.15322 +      hardcode_shlibpath_var_F77=no
 1.15323 +      ;;
 1.15324 +
 1.15325 +    sysv4.3*)
 1.15326 +      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15327 +      hardcode_shlibpath_var_F77=no
 1.15328 +      export_dynamic_flag_spec_F77='-Bexport'
 1.15329 +      ;;
 1.15330 +
 1.15331 +    sysv4*MP*)
 1.15332 +      if test -d /usr/nec; then
 1.15333 +	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15334 +	hardcode_shlibpath_var_F77=no
 1.15335 +	runpath_var=LD_RUN_PATH
 1.15336 +	hardcode_runpath_var=yes
 1.15337 +	ld_shlibs_F77=yes
 1.15338 +      fi
 1.15339 +      ;;
 1.15340 +
 1.15341 +    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 1.15342 +      no_undefined_flag_F77='${wl}-z,text'
 1.15343 +      archive_cmds_need_lc_F77=no
 1.15344 +      hardcode_shlibpath_var_F77=no
 1.15345 +      runpath_var='LD_RUN_PATH'
 1.15346 +
 1.15347 +      if test "$GCC" = yes; then
 1.15348 +	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15349 +	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15350 +      else
 1.15351 +	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15352 +	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15353 +      fi
 1.15354 +      ;;
 1.15355 +
 1.15356 +    sysv5* | sco3.2v5* | sco5v6*)
 1.15357 +      # Note: We can NOT use -z defs as we might desire, because we do not
 1.15358 +      # link with -lc, and that would cause any symbols used from libc to
 1.15359 +      # always be unresolved, which means just about no library would
 1.15360 +      # ever link correctly.  If we're not using GNU ld we use -z text
 1.15361 +      # though, which does catch some bad symbols but isn't as heavy-handed
 1.15362 +      # as -z defs.
 1.15363 +      no_undefined_flag_F77='${wl}-z,text'
 1.15364 +      allow_undefined_flag_F77='${wl}-z,nodefs'
 1.15365 +      archive_cmds_need_lc_F77=no
 1.15366 +      hardcode_shlibpath_var_F77=no
 1.15367 +      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 1.15368 +      hardcode_libdir_separator_F77=':'
 1.15369 +      link_all_deplibs_F77=yes
 1.15370 +      export_dynamic_flag_spec_F77='${wl}-Bexport'
 1.15371 +      runpath_var='LD_RUN_PATH'
 1.15372 +
 1.15373 +      if test "$GCC" = yes; then
 1.15374 +	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15375 +	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15376 +      else
 1.15377 +	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15378 +	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.15379 +      fi
 1.15380 +      ;;
 1.15381 +
 1.15382 +    uts4*)
 1.15383 +      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.15384 +      hardcode_libdir_flag_spec_F77='-L$libdir'
 1.15385 +      hardcode_shlibpath_var_F77=no
 1.15386 +      ;;
 1.15387 +
 1.15388 +    *)
 1.15389 +      ld_shlibs_F77=no
 1.15390 +      ;;
 1.15391 +    esac
 1.15392 +  fi
 1.15393 +
 1.15394 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 1.15395 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
 1.15396 +test "$ld_shlibs_F77" = no && can_build_shared=no
 1.15397 +
 1.15398 +#
 1.15399 +# Do we need to explicitly link libc?
 1.15400 +#
 1.15401 +case "x$archive_cmds_need_lc_F77" in
 1.15402 +x|xyes)
 1.15403 +  # Assume -lc should be added
 1.15404 +  archive_cmds_need_lc_F77=yes
 1.15405 +
 1.15406 +  if test "$enable_shared" = yes && test "$GCC" = yes; then
 1.15407 +    case $archive_cmds_F77 in
 1.15408 +    *'~'*)
 1.15409 +      # FIXME: we may have to deal with multi-command sequences.
 1.15410 +      ;;
 1.15411 +    '$CC '*)
 1.15412 +      # Test whether the compiler implicitly links with -lc since on some
 1.15413 +      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 1.15414 +      # to ld, don't add -lc before -lgcc.
 1.15415 +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 1.15416 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 1.15417 +      $rm conftest*
 1.15418 +      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.15419 +
 1.15420 +      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1.15421 +  (eval $ac_compile) 2>&5
 1.15422 +  ac_status=$?
 1.15423 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.15424 +  (exit $ac_status); } 2>conftest.err; then
 1.15425 +        soname=conftest
 1.15426 +        lib=conftest
 1.15427 +        libobjs=conftest.$ac_objext
 1.15428 +        deplibs=
 1.15429 +        wl=$lt_prog_compiler_wl_F77
 1.15430 +	pic_flag=$lt_prog_compiler_pic_F77
 1.15431 +        compiler_flags=-v
 1.15432 +        linker_flags=-v
 1.15433 +        verstring=
 1.15434 +        output_objdir=.
 1.15435 +        libname=conftest
 1.15436 +        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 1.15437 +        allow_undefined_flag_F77=
 1.15438 +        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 1.15439 +  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 1.15440 +  ac_status=$?
 1.15441 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.15442 +  (exit $ac_status); }
 1.15443 +        then
 1.15444 +	  archive_cmds_need_lc_F77=no
 1.15445 +        else
 1.15446 +	  archive_cmds_need_lc_F77=yes
 1.15447 +        fi
 1.15448 +        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 1.15449 +      else
 1.15450 +        cat conftest.err 1>&5
 1.15451 +      fi
 1.15452 +      $rm conftest*
 1.15453 +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 1.15454 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
 1.15455 +      ;;
 1.15456 +    esac
 1.15457 +  fi
 1.15458 +  ;;
 1.15459 +esac
 1.15460 +
 1.15461 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 1.15462 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 1.15463 +library_names_spec=
 1.15464 +libname_spec='lib$name'
 1.15465 +soname_spec=
 1.15466 +shrext_cmds=".so"
 1.15467 +postinstall_cmds=
 1.15468 +postuninstall_cmds=
 1.15469 +finish_cmds=
 1.15470 +finish_eval=
 1.15471 +shlibpath_var=
 1.15472 +shlibpath_overrides_runpath=unknown
 1.15473 +version_type=none
 1.15474 +dynamic_linker="$host_os ld.so"
 1.15475 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
 1.15476 +if test "$GCC" = yes; then
 1.15477 +  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 1.15478 +  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 1.15479 +    # if the path contains ";" then we assume it to be the separator
 1.15480 +    # otherwise default to the standard path separator (i.e. ":") - it is
 1.15481 +    # assumed that no part of a normal pathname contains ";" but that should
 1.15482 +    # okay in the real world where ";" in dirpaths is itself problematic.
 1.15483 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 1.15484 +  else
 1.15485 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 1.15486 +  fi
 1.15487 +else
 1.15488 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 1.15489 +fi
 1.15490 +need_lib_prefix=unknown
 1.15491 +hardcode_into_libs=no
 1.15492 +
 1.15493 +# when you set need_version to no, make sure it does not cause -set_version
 1.15494 +# flags to be left without arguments
 1.15495 +need_version=unknown
 1.15496 +
 1.15497 +case $host_os in
 1.15498 +aix3*)
 1.15499 +  version_type=linux
 1.15500 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 1.15501 +  shlibpath_var=LIBPATH
 1.15502 +
 1.15503 +  # AIX 3 has no versioning support, so we append a major version to the name.
 1.15504 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15505 +  ;;
 1.15506 +
 1.15507 +aix4* | aix5*)
 1.15508 +  version_type=linux
 1.15509 +  need_lib_prefix=no
 1.15510 +  need_version=no
 1.15511 +  hardcode_into_libs=yes
 1.15512 +  if test "$host_cpu" = ia64; then
 1.15513 +    # AIX 5 supports IA64
 1.15514 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 1.15515 +    shlibpath_var=LD_LIBRARY_PATH
 1.15516 +  else
 1.15517 +    # With GCC up to 2.95.x, collect2 would create an import file
 1.15518 +    # for dependence libraries.  The import file would start with
 1.15519 +    # the line `#! .'.  This would cause the generated library to
 1.15520 +    # depend on `.', always an invalid library.  This was fixed in
 1.15521 +    # development snapshots of GCC prior to 3.0.
 1.15522 +    case $host_os in
 1.15523 +      aix4 | aix4.[01] | aix4.[01].*)
 1.15524 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 1.15525 +	   echo ' yes '
 1.15526 +	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 1.15527 +	:
 1.15528 +      else
 1.15529 +	can_build_shared=no
 1.15530 +      fi
 1.15531 +      ;;
 1.15532 +    esac
 1.15533 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 1.15534 +    # soname into executable. Probably we can add versioning support to
 1.15535 +    # collect2, so additional links can be useful in future.
 1.15536 +    if test "$aix_use_runtimelinking" = yes; then
 1.15537 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 1.15538 +      # instead of lib<name>.a to let people know that these are not
 1.15539 +      # typical AIX shared libraries.
 1.15540 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15541 +    else
 1.15542 +      # We preserve .a as extension for shared libraries through AIX4.2
 1.15543 +      # and later when we are not doing run time linking.
 1.15544 +      library_names_spec='${libname}${release}.a $libname.a'
 1.15545 +      soname_spec='${libname}${release}${shared_ext}$major'
 1.15546 +    fi
 1.15547 +    shlibpath_var=LIBPATH
 1.15548 +  fi
 1.15549 +  ;;
 1.15550 +
 1.15551 +amigaos*)
 1.15552 +  library_names_spec='$libname.ixlibrary $libname.a'
 1.15553 +  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 1.15554 +  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 1.15555 +  ;;
 1.15556 +
 1.15557 +beos*)
 1.15558 +  library_names_spec='${libname}${shared_ext}'
 1.15559 +  dynamic_linker="$host_os ld.so"
 1.15560 +  shlibpath_var=LIBRARY_PATH
 1.15561 +  ;;
 1.15562 +
 1.15563 +bsdi[45]*)
 1.15564 +  version_type=linux
 1.15565 +  need_version=no
 1.15566 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15567 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15568 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 1.15569 +  shlibpath_var=LD_LIBRARY_PATH
 1.15570 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 1.15571 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 1.15572 +  # the default ld.so.conf also contains /usr/contrib/lib and
 1.15573 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 1.15574 +  # libtool to hard-code these into programs
 1.15575 +  ;;
 1.15576 +
 1.15577 +cygwin* | mingw* | pw32*)
 1.15578 +  version_type=windows
 1.15579 +  shrext_cmds=".dll"
 1.15580 +  need_version=no
 1.15581 +  need_lib_prefix=no
 1.15582 +
 1.15583 +  case $GCC,$host_os in
 1.15584 +  yes,cygwin* | yes,mingw* | yes,pw32*)
 1.15585 +    library_names_spec='$libname.dll.a'
 1.15586 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 1.15587 +    postinstall_cmds='base_file=`basename \${file}`~
 1.15588 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 1.15589 +      dldir=$destdir/`dirname \$dlpath`~
 1.15590 +      test -d \$dldir || mkdir -p \$dldir~
 1.15591 +      $install_prog $dir/$dlname \$dldir/$dlname~
 1.15592 +      chmod a+x \$dldir/$dlname'
 1.15593 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 1.15594 +      dlpath=$dir/\$dldll~
 1.15595 +       $rm \$dlpath'
 1.15596 +    shlibpath_overrides_runpath=yes
 1.15597 +
 1.15598 +    case $host_os in
 1.15599 +    cygwin*)
 1.15600 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 1.15601 +      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.15602 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 1.15603 +      ;;
 1.15604 +    mingw*)
 1.15605 +      # MinGW DLLs use traditional 'lib' prefix
 1.15606 +      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.15607 +      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 1.15608 +      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 1.15609 +        # It is most probably a Windows format PATH printed by
 1.15610 +        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 1.15611 +        # path with ; separators, and with drive letters. We can handle the
 1.15612 +        # drive letters (cygwin fileutils understands them), so leave them,
 1.15613 +        # especially as we might pass files found there to a mingw objdump,
 1.15614 +        # which wouldn't understand a cygwinified path. Ahh.
 1.15615 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 1.15616 +      else
 1.15617 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 1.15618 +      fi
 1.15619 +      ;;
 1.15620 +    pw32*)
 1.15621 +      # pw32 DLLs use 'pw' prefix rather than 'lib'
 1.15622 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.15623 +      ;;
 1.15624 +    esac
 1.15625 +    ;;
 1.15626 +
 1.15627 +  *)
 1.15628 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 1.15629 +    ;;
 1.15630 +  esac
 1.15631 +  dynamic_linker='Win32 ld.exe'
 1.15632 +  # FIXME: first we should search . and the directory the executable is in
 1.15633 +  shlibpath_var=PATH
 1.15634 +  ;;
 1.15635 +
 1.15636 +darwin* | rhapsody*)
 1.15637 +  dynamic_linker="$host_os dyld"
 1.15638 +  version_type=darwin
 1.15639 +  need_lib_prefix=no
 1.15640 +  need_version=no
 1.15641 +  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 1.15642 +  soname_spec='${libname}${release}${major}$shared_ext'
 1.15643 +  shlibpath_overrides_runpath=yes
 1.15644 +  shlibpath_var=DYLD_LIBRARY_PATH
 1.15645 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 1.15646 +  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 1.15647 +  if test "$GCC" = yes; then
 1.15648 +    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 1.15649 +  else
 1.15650 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 1.15651 +  fi
 1.15652 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 1.15653 +  ;;
 1.15654 +
 1.15655 +dgux*)
 1.15656 +  version_type=linux
 1.15657 +  need_lib_prefix=no
 1.15658 +  need_version=no
 1.15659 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 1.15660 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15661 +  shlibpath_var=LD_LIBRARY_PATH
 1.15662 +  ;;
 1.15663 +
 1.15664 +freebsd1*)
 1.15665 +  dynamic_linker=no
 1.15666 +  ;;
 1.15667 +
 1.15668 +kfreebsd*-gnu)
 1.15669 +  version_type=linux
 1.15670 +  need_lib_prefix=no
 1.15671 +  need_version=no
 1.15672 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.15673 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15674 +  shlibpath_var=LD_LIBRARY_PATH
 1.15675 +  shlibpath_overrides_runpath=no
 1.15676 +  hardcode_into_libs=yes
 1.15677 +  dynamic_linker='GNU ld.so'
 1.15678 +  ;;
 1.15679 +
 1.15680 +freebsd* | dragonfly*)
 1.15681 +  # DragonFly does not have aout.  When/if they implement a new
 1.15682 +  # versioning mechanism, adjust this.
 1.15683 +  if test -x /usr/bin/objformat; then
 1.15684 +    objformat=`/usr/bin/objformat`
 1.15685 +  else
 1.15686 +    case $host_os in
 1.15687 +    freebsd[123]*) objformat=aout ;;
 1.15688 +    *) objformat=elf ;;
 1.15689 +    esac
 1.15690 +  fi
 1.15691 +  version_type=freebsd-$objformat
 1.15692 +  case $version_type in
 1.15693 +    freebsd-elf*)
 1.15694 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.15695 +      need_version=no
 1.15696 +      need_lib_prefix=no
 1.15697 +      ;;
 1.15698 +    freebsd-*)
 1.15699 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 1.15700 +      need_version=yes
 1.15701 +      ;;
 1.15702 +  esac
 1.15703 +  shlibpath_var=LD_LIBRARY_PATH
 1.15704 +  case $host_os in
 1.15705 +  freebsd2*)
 1.15706 +    shlibpath_overrides_runpath=yes
 1.15707 +    ;;
 1.15708 +  freebsd3.[01]* | freebsdelf3.[01]*)
 1.15709 +    shlibpath_overrides_runpath=yes
 1.15710 +    hardcode_into_libs=yes
 1.15711 +    ;;
 1.15712 +  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 1.15713 +  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 1.15714 +    shlibpath_overrides_runpath=no
 1.15715 +    hardcode_into_libs=yes
 1.15716 +    ;;
 1.15717 +  freebsd*) # from 4.6 on
 1.15718 +    shlibpath_overrides_runpath=yes
 1.15719 +    hardcode_into_libs=yes
 1.15720 +    ;;
 1.15721 +  esac
 1.15722 +  ;;
 1.15723 +
 1.15724 +gnu*)
 1.15725 +  version_type=linux
 1.15726 +  need_lib_prefix=no
 1.15727 +  need_version=no
 1.15728 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 1.15729 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15730 +  shlibpath_var=LD_LIBRARY_PATH
 1.15731 +  hardcode_into_libs=yes
 1.15732 +  ;;
 1.15733 +
 1.15734 +hpux9* | hpux10* | hpux11*)
 1.15735 +  # Give a soname corresponding to the major version so that dld.sl refuses to
 1.15736 +  # link against other versions.
 1.15737 +  version_type=sunos
 1.15738 +  need_lib_prefix=no
 1.15739 +  need_version=no
 1.15740 +  case $host_cpu in
 1.15741 +  ia64*)
 1.15742 +    shrext_cmds='.so'
 1.15743 +    hardcode_into_libs=yes
 1.15744 +    dynamic_linker="$host_os dld.so"
 1.15745 +    shlibpath_var=LD_LIBRARY_PATH
 1.15746 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.15747 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15748 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.15749 +    if test "X$HPUX_IA64_MODE" = X32; then
 1.15750 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 1.15751 +    else
 1.15752 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 1.15753 +    fi
 1.15754 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.15755 +    ;;
 1.15756 +   hppa*64*)
 1.15757 +     shrext_cmds='.sl'
 1.15758 +     hardcode_into_libs=yes
 1.15759 +     dynamic_linker="$host_os dld.sl"
 1.15760 +     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 1.15761 +     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.15762 +     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15763 +     soname_spec='${libname}${release}${shared_ext}$major'
 1.15764 +     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 1.15765 +     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.15766 +     ;;
 1.15767 +   *)
 1.15768 +    shrext_cmds='.sl'
 1.15769 +    dynamic_linker="$host_os dld.sl"
 1.15770 +    shlibpath_var=SHLIB_PATH
 1.15771 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 1.15772 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15773 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.15774 +    ;;
 1.15775 +  esac
 1.15776 +  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 1.15777 +  postinstall_cmds='chmod 555 $lib'
 1.15778 +  ;;
 1.15779 +
 1.15780 +interix3*)
 1.15781 +  version_type=linux
 1.15782 +  need_lib_prefix=no
 1.15783 +  need_version=no
 1.15784 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.15785 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15786 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 1.15787 +  shlibpath_var=LD_LIBRARY_PATH
 1.15788 +  shlibpath_overrides_runpath=no
 1.15789 +  hardcode_into_libs=yes
 1.15790 +  ;;
 1.15791 +
 1.15792 +irix5* | irix6* | nonstopux*)
 1.15793 +  case $host_os in
 1.15794 +    nonstopux*) version_type=nonstopux ;;
 1.15795 +    *)
 1.15796 +	if test "$lt_cv_prog_gnu_ld" = yes; then
 1.15797 +		version_type=linux
 1.15798 +	else
 1.15799 +		version_type=irix
 1.15800 +	fi ;;
 1.15801 +  esac
 1.15802 +  need_lib_prefix=no
 1.15803 +  need_version=no
 1.15804 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15805 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.15806 +  case $host_os in
 1.15807 +  irix5* | nonstopux*)
 1.15808 +    libsuff= shlibsuff=
 1.15809 +    ;;
 1.15810 +  *)
 1.15811 +    case $LD in # libtool.m4 will add one of these switches to LD
 1.15812 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 1.15813 +      libsuff= shlibsuff= libmagic=32-bit;;
 1.15814 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 1.15815 +      libsuff=32 shlibsuff=N32 libmagic=N32;;
 1.15816 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 1.15817 +      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 1.15818 +    *) libsuff= shlibsuff= libmagic=never-match;;
 1.15819 +    esac
 1.15820 +    ;;
 1.15821 +  esac
 1.15822 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 1.15823 +  shlibpath_overrides_runpath=no
 1.15824 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 1.15825 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 1.15826 +  hardcode_into_libs=yes
 1.15827 +  ;;
 1.15828 +
 1.15829 +# No shared lib support for Linux oldld, aout, or coff.
 1.15830 +linux*oldld* | linux*aout* | linux*coff*)
 1.15831 +  dynamic_linker=no
 1.15832 +  ;;
 1.15833 +
 1.15834 +# This must be Linux ELF.
 1.15835 +linux*)
 1.15836 +  version_type=linux
 1.15837 +  need_lib_prefix=no
 1.15838 +  need_version=no
 1.15839 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15840 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15841 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 1.15842 +  shlibpath_var=LD_LIBRARY_PATH
 1.15843 +  shlibpath_overrides_runpath=no
 1.15844 +  # This implies no fast_install, which is unacceptable.
 1.15845 +  # Some rework will be needed to allow for fast_install
 1.15846 +  # before this can be enabled.
 1.15847 +  hardcode_into_libs=yes
 1.15848 +
 1.15849 +  # Append ld.so.conf contents to the search path
 1.15850 +  if test -f /etc/ld.so.conf; then
 1.15851 +    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 1.15852 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 1.15853 +  fi
 1.15854 +
 1.15855 +  # We used to test for /lib/ld.so.1 and disable shared libraries on
 1.15856 +  # powerpc, because MkLinux only supported shared libraries with the
 1.15857 +  # GNU dynamic linker.  Since this was broken with cross compilers,
 1.15858 +  # most powerpc-linux boxes support dynamic linking these days and
 1.15859 +  # people can always --disable-shared, the test was removed, and we
 1.15860 +  # assume the GNU/Linux dynamic linker is in use.
 1.15861 +  dynamic_linker='GNU/Linux ld.so'
 1.15862 +  ;;
 1.15863 +
 1.15864 +knetbsd*-gnu)
 1.15865 +  version_type=linux
 1.15866 +  need_lib_prefix=no
 1.15867 +  need_version=no
 1.15868 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.15869 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15870 +  shlibpath_var=LD_LIBRARY_PATH
 1.15871 +  shlibpath_overrides_runpath=no
 1.15872 +  hardcode_into_libs=yes
 1.15873 +  dynamic_linker='GNU ld.so'
 1.15874 +  ;;
 1.15875 +
 1.15876 +netbsd*)
 1.15877 +  version_type=sunos
 1.15878 +  need_lib_prefix=no
 1.15879 +  need_version=no
 1.15880 +  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.15881 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.15882 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.15883 +    dynamic_linker='NetBSD (a.out) ld.so'
 1.15884 +  else
 1.15885 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.15886 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.15887 +    dynamic_linker='NetBSD ld.elf_so'
 1.15888 +  fi
 1.15889 +  shlibpath_var=LD_LIBRARY_PATH
 1.15890 +  shlibpath_overrides_runpath=yes
 1.15891 +  hardcode_into_libs=yes
 1.15892 +  ;;
 1.15893 +
 1.15894 +newsos6)
 1.15895 +  version_type=linux
 1.15896 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15897 +  shlibpath_var=LD_LIBRARY_PATH
 1.15898 +  shlibpath_overrides_runpath=yes
 1.15899 +  ;;
 1.15900 +
 1.15901 +nto-qnx*)
 1.15902 +  version_type=linux
 1.15903 +  need_lib_prefix=no
 1.15904 +  need_version=no
 1.15905 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15906 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15907 +  shlibpath_var=LD_LIBRARY_PATH
 1.15908 +  shlibpath_overrides_runpath=yes
 1.15909 +  ;;
 1.15910 +
 1.15911 +openbsd*)
 1.15912 +  version_type=sunos
 1.15913 +  sys_lib_dlsearch_path_spec="/usr/lib"
 1.15914 +  need_lib_prefix=no
 1.15915 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 1.15916 +  case $host_os in
 1.15917 +    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 1.15918 +    *)                         need_version=no  ;;
 1.15919 +  esac
 1.15920 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.15921 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.15922 +  shlibpath_var=LD_LIBRARY_PATH
 1.15923 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.15924 +    case $host_os in
 1.15925 +      openbsd2.[89] | openbsd2.[89].*)
 1.15926 +	shlibpath_overrides_runpath=no
 1.15927 +	;;
 1.15928 +      *)
 1.15929 +	shlibpath_overrides_runpath=yes
 1.15930 +	;;
 1.15931 +      esac
 1.15932 +  else
 1.15933 +    shlibpath_overrides_runpath=yes
 1.15934 +  fi
 1.15935 +  ;;
 1.15936 +
 1.15937 +os2*)
 1.15938 +  libname_spec='$name'
 1.15939 +  shrext_cmds=".dll"
 1.15940 +  need_lib_prefix=no
 1.15941 +  library_names_spec='$libname${shared_ext} $libname.a'
 1.15942 +  dynamic_linker='OS/2 ld.exe'
 1.15943 +  shlibpath_var=LIBPATH
 1.15944 +  ;;
 1.15945 +
 1.15946 +osf3* | osf4* | osf5*)
 1.15947 +  version_type=osf
 1.15948 +  need_lib_prefix=no
 1.15949 +  need_version=no
 1.15950 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15951 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15952 +  shlibpath_var=LD_LIBRARY_PATH
 1.15953 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 1.15954 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 1.15955 +  ;;
 1.15956 +
 1.15957 +solaris*)
 1.15958 +  version_type=linux
 1.15959 +  need_lib_prefix=no
 1.15960 +  need_version=no
 1.15961 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15962 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15963 +  shlibpath_var=LD_LIBRARY_PATH
 1.15964 +  shlibpath_overrides_runpath=yes
 1.15965 +  hardcode_into_libs=yes
 1.15966 +  # ldd complains unless libraries are executable
 1.15967 +  postinstall_cmds='chmod +x $lib'
 1.15968 +  ;;
 1.15969 +
 1.15970 +sunos4*)
 1.15971 +  version_type=sunos
 1.15972 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.15973 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 1.15974 +  shlibpath_var=LD_LIBRARY_PATH
 1.15975 +  shlibpath_overrides_runpath=yes
 1.15976 +  if test "$with_gnu_ld" = yes; then
 1.15977 +    need_lib_prefix=no
 1.15978 +  fi
 1.15979 +  need_version=yes
 1.15980 +  ;;
 1.15981 +
 1.15982 +sysv4 | sysv4.3*)
 1.15983 +  version_type=linux
 1.15984 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.15985 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.15986 +  shlibpath_var=LD_LIBRARY_PATH
 1.15987 +  case $host_vendor in
 1.15988 +    sni)
 1.15989 +      shlibpath_overrides_runpath=no
 1.15990 +      need_lib_prefix=no
 1.15991 +      export_dynamic_flag_spec='${wl}-Blargedynsym'
 1.15992 +      runpath_var=LD_RUN_PATH
 1.15993 +      ;;
 1.15994 +    siemens)
 1.15995 +      need_lib_prefix=no
 1.15996 +      ;;
 1.15997 +    motorola)
 1.15998 +      need_lib_prefix=no
 1.15999 +      need_version=no
 1.16000 +      shlibpath_overrides_runpath=no
 1.16001 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 1.16002 +      ;;
 1.16003 +  esac
 1.16004 +  ;;
 1.16005 +
 1.16006 +sysv4*MP*)
 1.16007 +  if test -d /usr/nec ;then
 1.16008 +    version_type=linux
 1.16009 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 1.16010 +    soname_spec='$libname${shared_ext}.$major'
 1.16011 +    shlibpath_var=LD_LIBRARY_PATH
 1.16012 +  fi
 1.16013 +  ;;
 1.16014 +
 1.16015 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 1.16016 +  version_type=freebsd-elf
 1.16017 +  need_lib_prefix=no
 1.16018 +  need_version=no
 1.16019 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.16020 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.16021 +  shlibpath_var=LD_LIBRARY_PATH
 1.16022 +  hardcode_into_libs=yes
 1.16023 +  if test "$with_gnu_ld" = yes; then
 1.16024 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 1.16025 +    shlibpath_overrides_runpath=no
 1.16026 +  else
 1.16027 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 1.16028 +    shlibpath_overrides_runpath=yes
 1.16029 +    case $host_os in
 1.16030 +      sco3.2v5*)
 1.16031 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 1.16032 +	;;
 1.16033 +    esac
 1.16034 +  fi
 1.16035 +  sys_lib_dlsearch_path_spec='/usr/lib'
 1.16036 +  ;;
 1.16037 +
 1.16038 +uts4*)
 1.16039 +  version_type=linux
 1.16040 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.16041 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.16042 +  shlibpath_var=LD_LIBRARY_PATH
 1.16043 +  ;;
 1.16044 +
 1.16045 +*)
 1.16046 +  dynamic_linker=no
 1.16047 +  ;;
 1.16048 +esac
 1.16049 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 1.16050 +echo "${ECHO_T}$dynamic_linker" >&6; }
 1.16051 +test "$dynamic_linker" = no && can_build_shared=no
 1.16052 +
 1.16053 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 1.16054 +if test "$GCC" = yes; then
 1.16055 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 1.16056 +fi
 1.16057 +
 1.16058 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 1.16059 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 1.16060 +hardcode_action_F77=
 1.16061 +if test -n "$hardcode_libdir_flag_spec_F77" || \
 1.16062 +   test -n "$runpath_var_F77" || \
 1.16063 +   test "X$hardcode_automatic_F77" = "Xyes" ; then
 1.16064 +
 1.16065 +  # We can hardcode non-existant directories.
 1.16066 +  if test "$hardcode_direct_F77" != no &&
 1.16067 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 1.16068 +     # have to relink, otherwise we might link with an installed library
 1.16069 +     # when we should be linking with a yet-to-be-installed one
 1.16070 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
 1.16071 +     test "$hardcode_minus_L_F77" != no; then
 1.16072 +    # Linking always hardcodes the temporary library directory.
 1.16073 +    hardcode_action_F77=relink
 1.16074 +  else
 1.16075 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 1.16076 +    hardcode_action_F77=immediate
 1.16077 +  fi
 1.16078 +else
 1.16079 +  # We cannot hardcode anything, or else we can only hardcode existing
 1.16080 +  # directories.
 1.16081 +  hardcode_action_F77=unsupported
 1.16082 +fi
 1.16083 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 1.16084 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
 1.16085 +
 1.16086 +if test "$hardcode_action_F77" = relink; then
 1.16087 +  # Fast installation is not supported
 1.16088 +  enable_fast_install=no
 1.16089 +elif test "$shlibpath_overrides_runpath" = yes ||
 1.16090 +     test "$enable_shared" = no; then
 1.16091 +  # Fast installation is not necessary
 1.16092 +  enable_fast_install=needless
 1.16093 +fi
 1.16094 +
 1.16095 +
 1.16096 +# The else clause should only fire when bootstrapping the
 1.16097 +# libtool distribution, otherwise you forgot to ship ltmain.sh
 1.16098 +# with your package, and you will get complaints that there are
 1.16099 +# no rules to generate ltmain.sh.
 1.16100 +if test -f "$ltmain"; then
 1.16101 +  # See if we are running on zsh, and set the options which allow our commands through
 1.16102 +  # without removal of \ escapes.
 1.16103 +  if test -n "${ZSH_VERSION+set}" ; then
 1.16104 +    setopt NO_GLOB_SUBST
 1.16105 +  fi
 1.16106 +  # Now quote all the things that may contain metacharacters while being
 1.16107 +  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 1.16108 +  # variables and quote the copies for generation of the libtool script.
 1.16109 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 1.16110 +    SED SHELL STRIP \
 1.16111 +    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 1.16112 +    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 1.16113 +    deplibs_check_method reload_flag reload_cmds need_locks \
 1.16114 +    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 1.16115 +    lt_cv_sys_global_symbol_to_c_name_address \
 1.16116 +    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 1.16117 +    old_postinstall_cmds old_postuninstall_cmds \
 1.16118 +    compiler_F77 \
 1.16119 +    CC_F77 \
 1.16120 +    LD_F77 \
 1.16121 +    lt_prog_compiler_wl_F77 \
 1.16122 +    lt_prog_compiler_pic_F77 \
 1.16123 +    lt_prog_compiler_static_F77 \
 1.16124 +    lt_prog_compiler_no_builtin_flag_F77 \
 1.16125 +    export_dynamic_flag_spec_F77 \
 1.16126 +    thread_safe_flag_spec_F77 \
 1.16127 +    whole_archive_flag_spec_F77 \
 1.16128 +    enable_shared_with_static_runtimes_F77 \
 1.16129 +    old_archive_cmds_F77 \
 1.16130 +    old_archive_from_new_cmds_F77 \
 1.16131 +    predep_objects_F77 \
 1.16132 +    postdep_objects_F77 \
 1.16133 +    predeps_F77 \
 1.16134 +    postdeps_F77 \
 1.16135 +    compiler_lib_search_path_F77 \
 1.16136 +    archive_cmds_F77 \
 1.16137 +    archive_expsym_cmds_F77 \
 1.16138 +    postinstall_cmds_F77 \
 1.16139 +    postuninstall_cmds_F77 \
 1.16140 +    old_archive_from_expsyms_cmds_F77 \
 1.16141 +    allow_undefined_flag_F77 \
 1.16142 +    no_undefined_flag_F77 \
 1.16143 +    export_symbols_cmds_F77 \
 1.16144 +    hardcode_libdir_flag_spec_F77 \
 1.16145 +    hardcode_libdir_flag_spec_ld_F77 \
 1.16146 +    hardcode_libdir_separator_F77 \
 1.16147 +    hardcode_automatic_F77 \
 1.16148 +    module_cmds_F77 \
 1.16149 +    module_expsym_cmds_F77 \
 1.16150 +    lt_cv_prog_compiler_c_o_F77 \
 1.16151 +    exclude_expsyms_F77 \
 1.16152 +    include_expsyms_F77; do
 1.16153 +
 1.16154 +    case $var in
 1.16155 +    old_archive_cmds_F77 | \
 1.16156 +    old_archive_from_new_cmds_F77 | \
 1.16157 +    archive_cmds_F77 | \
 1.16158 +    archive_expsym_cmds_F77 | \
 1.16159 +    module_cmds_F77 | \
 1.16160 +    module_expsym_cmds_F77 | \
 1.16161 +    old_archive_from_expsyms_cmds_F77 | \
 1.16162 +    export_symbols_cmds_F77 | \
 1.16163 +    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 1.16164 +    postinstall_cmds | postuninstall_cmds | \
 1.16165 +    old_postinstall_cmds | old_postuninstall_cmds | \
 1.16166 +    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 1.16167 +      # Double-quote double-evaled strings.
 1.16168 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 1.16169 +      ;;
 1.16170 +    *)
 1.16171 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 1.16172 +      ;;
 1.16173 +    esac
 1.16174 +  done
 1.16175 +
 1.16176 +  case $lt_echo in
 1.16177 +  *'\$0 --fallback-echo"')
 1.16178 +    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 1.16179 +    ;;
 1.16180 +  esac
 1.16181 +
 1.16182 +cfgfile="$ofile"
 1.16183 +
 1.16184 +  cat <<__EOF__ >> "$cfgfile"
 1.16185 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 1.16186 +
 1.16187 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 1.16188 +
 1.16189 +# Shell to use when invoking shell scripts.
 1.16190 +SHELL=$lt_SHELL
 1.16191 +
 1.16192 +# Whether or not to build shared libraries.
 1.16193 +build_libtool_libs=$enable_shared
 1.16194 +
 1.16195 +# Whether or not to build static libraries.
 1.16196 +build_old_libs=$enable_static
 1.16197 +
 1.16198 +# Whether or not to add -lc for building shared libraries.
 1.16199 +build_libtool_need_lc=$archive_cmds_need_lc_F77
 1.16200 +
 1.16201 +# Whether or not to disallow shared libs when runtime libs are static
 1.16202 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
 1.16203 +
 1.16204 +# Whether or not to optimize for fast installation.
 1.16205 +fast_install=$enable_fast_install
 1.16206 +
 1.16207 +# The host system.
 1.16208 +host_alias=$host_alias
 1.16209 +host=$host
 1.16210 +host_os=$host_os
 1.16211 +
 1.16212 +# The build system.
 1.16213 +build_alias=$build_alias
 1.16214 +build=$build
 1.16215 +build_os=$build_os
 1.16216 +
 1.16217 +# An echo program that does not interpret backslashes.
 1.16218 +echo=$lt_echo
 1.16219 +
 1.16220 +# The archiver.
 1.16221 +AR=$lt_AR
 1.16222 +AR_FLAGS=$lt_AR_FLAGS
 1.16223 +
 1.16224 +# A C compiler.
 1.16225 +LTCC=$lt_LTCC
 1.16226 +
 1.16227 +# LTCC compiler flags.
 1.16228 +LTCFLAGS=$lt_LTCFLAGS
 1.16229 +
 1.16230 +# A language-specific compiler.
 1.16231 +CC=$lt_compiler_F77
 1.16232 +
 1.16233 +# Is the compiler the GNU C compiler?
 1.16234 +with_gcc=$GCC_F77
 1.16235 +
 1.16236 +# An ERE matcher.
 1.16237 +EGREP=$lt_EGREP
 1.16238 +
 1.16239 +# The linker used to build libraries.
 1.16240 +LD=$lt_LD_F77
 1.16241 +
 1.16242 +# Whether we need hard or soft links.
 1.16243 +LN_S=$lt_LN_S
 1.16244 +
 1.16245 +# A BSD-compatible nm program.
 1.16246 +NM=$lt_NM
 1.16247 +
 1.16248 +# A symbol stripping program
 1.16249 +STRIP=$lt_STRIP
 1.16250 +
 1.16251 +# Used to examine libraries when file_magic_cmd begins "file"
 1.16252 +MAGIC_CMD=$MAGIC_CMD
 1.16253 +
 1.16254 +# Used on cygwin: DLL creation program.
 1.16255 +DLLTOOL="$DLLTOOL"
 1.16256 +
 1.16257 +# Used on cygwin: object dumper.
 1.16258 +OBJDUMP="$OBJDUMP"
 1.16259 +
 1.16260 +# Used on cygwin: assembler.
 1.16261 +AS="$AS"
 1.16262 +
 1.16263 +# The name of the directory that contains temporary libtool files.
 1.16264 +objdir=$objdir
 1.16265 +
 1.16266 +# How to create reloadable object files.
 1.16267 +reload_flag=$lt_reload_flag
 1.16268 +reload_cmds=$lt_reload_cmds
 1.16269 +
 1.16270 +# How to pass a linker flag through the compiler.
 1.16271 +wl=$lt_lt_prog_compiler_wl_F77
 1.16272 +
 1.16273 +# Object file suffix (normally "o").
 1.16274 +objext="$ac_objext"
 1.16275 +
 1.16276 +# Old archive suffix (normally "a").
 1.16277 +libext="$libext"
 1.16278 +
 1.16279 +# Shared library suffix (normally ".so").
 1.16280 +shrext_cmds='$shrext_cmds'
 1.16281 +
 1.16282 +# Executable file suffix (normally "").
 1.16283 +exeext="$exeext"
 1.16284 +
 1.16285 +# Additional compiler flags for building library objects.
 1.16286 +pic_flag=$lt_lt_prog_compiler_pic_F77
 1.16287 +pic_mode=$pic_mode
 1.16288 +
 1.16289 +# What is the maximum length of a command?
 1.16290 +max_cmd_len=$lt_cv_sys_max_cmd_len
 1.16291 +
 1.16292 +# Does compiler simultaneously support -c and -o options?
 1.16293 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
 1.16294 +
 1.16295 +# Must we lock files when doing compilation?
 1.16296 +need_locks=$lt_need_locks
 1.16297 +
 1.16298 +# Do we need the lib prefix for modules?
 1.16299 +need_lib_prefix=$need_lib_prefix
 1.16300 +
 1.16301 +# Do we need a version for libraries?
 1.16302 +need_version=$need_version
 1.16303 +
 1.16304 +# Whether dlopen is supported.
 1.16305 +dlopen_support=$enable_dlopen
 1.16306 +
 1.16307 +# Whether dlopen of programs is supported.
 1.16308 +dlopen_self=$enable_dlopen_self
 1.16309 +
 1.16310 +# Whether dlopen of statically linked programs is supported.
 1.16311 +dlopen_self_static=$enable_dlopen_self_static
 1.16312 +
 1.16313 +# Compiler flag to prevent dynamic linking.
 1.16314 +link_static_flag=$lt_lt_prog_compiler_static_F77
 1.16315 +
 1.16316 +# Compiler flag to turn off builtin functions.
 1.16317 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
 1.16318 +
 1.16319 +# Compiler flag to allow reflexive dlopens.
 1.16320 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
 1.16321 +
 1.16322 +# Compiler flag to generate shared objects directly from archives.
 1.16323 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
 1.16324 +
 1.16325 +# Compiler flag to generate thread-safe objects.
 1.16326 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
 1.16327 +
 1.16328 +# Library versioning type.
 1.16329 +version_type=$version_type
 1.16330 +
 1.16331 +# Format of library name prefix.
 1.16332 +libname_spec=$lt_libname_spec
 1.16333 +
 1.16334 +# List of archive names.  First name is the real one, the rest are links.
 1.16335 +# The last name is the one that the linker finds with -lNAME.
 1.16336 +library_names_spec=$lt_library_names_spec
 1.16337 +
 1.16338 +# The coded name of the library, if different from the real name.
 1.16339 +soname_spec=$lt_soname_spec
 1.16340 +
 1.16341 +# Commands used to build and install an old-style archive.
 1.16342 +RANLIB=$lt_RANLIB
 1.16343 +old_archive_cmds=$lt_old_archive_cmds_F77
 1.16344 +old_postinstall_cmds=$lt_old_postinstall_cmds
 1.16345 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
 1.16346 +
 1.16347 +# Create an old-style archive from a shared archive.
 1.16348 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
 1.16349 +
 1.16350 +# Create a temporary old-style archive to link instead of a shared archive.
 1.16351 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
 1.16352 +
 1.16353 +# Commands used to build and install a shared archive.
 1.16354 +archive_cmds=$lt_archive_cmds_F77
 1.16355 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
 1.16356 +postinstall_cmds=$lt_postinstall_cmds
 1.16357 +postuninstall_cmds=$lt_postuninstall_cmds
 1.16358 +
 1.16359 +# Commands used to build a loadable module (assumed same as above if empty)
 1.16360 +module_cmds=$lt_module_cmds_F77
 1.16361 +module_expsym_cmds=$lt_module_expsym_cmds_F77
 1.16362 +
 1.16363 +# Commands to strip libraries.
 1.16364 +old_striplib=$lt_old_striplib
 1.16365 +striplib=$lt_striplib
 1.16366 +
 1.16367 +# Dependencies to place before the objects being linked to create a
 1.16368 +# shared library.
 1.16369 +predep_objects=$lt_predep_objects_F77
 1.16370 +
 1.16371 +# Dependencies to place after the objects being linked to create a
 1.16372 +# shared library.
 1.16373 +postdep_objects=$lt_postdep_objects_F77
 1.16374 +
 1.16375 +# Dependencies to place before the objects being linked to create a
 1.16376 +# shared library.
 1.16377 +predeps=$lt_predeps_F77
 1.16378 +
 1.16379 +# Dependencies to place after the objects being linked to create a
 1.16380 +# shared library.
 1.16381 +postdeps=$lt_postdeps_F77
 1.16382 +
 1.16383 +# The library search path used internally by the compiler when linking
 1.16384 +# a shared library.
 1.16385 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
 1.16386 +
 1.16387 +# Method to check whether dependent libraries are shared objects.
 1.16388 +deplibs_check_method=$lt_deplibs_check_method
 1.16389 +
 1.16390 +# Command to use when deplibs_check_method == file_magic.
 1.16391 +file_magic_cmd=$lt_file_magic_cmd
 1.16392 +
 1.16393 +# Flag that allows shared libraries with undefined symbols to be built.
 1.16394 +allow_undefined_flag=$lt_allow_undefined_flag_F77
 1.16395 +
 1.16396 +# Flag that forces no undefined symbols.
 1.16397 +no_undefined_flag=$lt_no_undefined_flag_F77
 1.16398 +
 1.16399 +# Commands used to finish a libtool library installation in a directory.
 1.16400 +finish_cmds=$lt_finish_cmds
 1.16401 +
 1.16402 +# Same as above, but a single script fragment to be evaled but not shown.
 1.16403 +finish_eval=$lt_finish_eval
 1.16404 +
 1.16405 +# Take the output of nm and produce a listing of raw symbols and C names.
 1.16406 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 1.16407 +
 1.16408 +# Transform the output of nm in a proper C declaration
 1.16409 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 1.16410 +
 1.16411 +# Transform the output of nm in a C name address pair
 1.16412 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 1.16413 +
 1.16414 +# This is the shared library runtime path variable.
 1.16415 +runpath_var=$runpath_var
 1.16416 +
 1.16417 +# This is the shared library path variable.
 1.16418 +shlibpath_var=$shlibpath_var
 1.16419 +
 1.16420 +# Is shlibpath searched before the hard-coded library search path?
 1.16421 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 1.16422 +
 1.16423 +# How to hardcode a shared library path into an executable.
 1.16424 +hardcode_action=$hardcode_action_F77
 1.16425 +
 1.16426 +# Whether we should hardcode library paths into libraries.
 1.16427 +hardcode_into_libs=$hardcode_into_libs
 1.16428 +
 1.16429 +# Flag to hardcode \$libdir into a binary during linking.
 1.16430 +# This must work even if \$libdir does not exist.
 1.16431 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
 1.16432 +
 1.16433 +# If ld is used when linking, flag to hardcode \$libdir into
 1.16434 +# a binary during linking. This must work even if \$libdir does
 1.16435 +# not exist.
 1.16436 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
 1.16437 +
 1.16438 +# Whether we need a single -rpath flag with a separated argument.
 1.16439 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
 1.16440 +
 1.16441 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 1.16442 +# resulting binary.
 1.16443 +hardcode_direct=$hardcode_direct_F77
 1.16444 +
 1.16445 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 1.16446 +# resulting binary.
 1.16447 +hardcode_minus_L=$hardcode_minus_L_F77
 1.16448 +
 1.16449 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 1.16450 +# the resulting binary.
 1.16451 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
 1.16452 +
 1.16453 +# Set to yes if building a shared library automatically hardcodes DIR into the library
 1.16454 +# and all subsequent libraries and executables linked against it.
 1.16455 +hardcode_automatic=$hardcode_automatic_F77
 1.16456 +
 1.16457 +# Variables whose values should be saved in libtool wrapper scripts and
 1.16458 +# restored at relink time.
 1.16459 +variables_saved_for_relink="$variables_saved_for_relink"
 1.16460 +
 1.16461 +# Whether libtool must link a program against all its dependency libraries.
 1.16462 +link_all_deplibs=$link_all_deplibs_F77
 1.16463 +
 1.16464 +# Compile-time system search path for libraries
 1.16465 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 1.16466 +
 1.16467 +# Run-time system search path for libraries
 1.16468 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 1.16469 +
 1.16470 +# Fix the shell variable \$srcfile for the compiler.
 1.16471 +fix_srcfile_path="$fix_srcfile_path_F77"
 1.16472 +
 1.16473 +# Set to yes if exported symbols are required.
 1.16474 +always_export_symbols=$always_export_symbols_F77
 1.16475 +
 1.16476 +# The commands to list exported symbols.
 1.16477 +export_symbols_cmds=$lt_export_symbols_cmds_F77
 1.16478 +
 1.16479 +# The commands to extract the exported symbol list from a shared archive.
 1.16480 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
 1.16481 +
 1.16482 +# Symbols that should not be listed in the preloaded symbols.
 1.16483 +exclude_expsyms=$lt_exclude_expsyms_F77
 1.16484 +
 1.16485 +# Symbols that must always be exported.
 1.16486 +include_expsyms=$lt_include_expsyms_F77
 1.16487 +
 1.16488 +# ### END LIBTOOL TAG CONFIG: $tagname
 1.16489 +
 1.16490 +__EOF__
 1.16491 +
 1.16492 +
 1.16493 +else
 1.16494 +  # If there is no Makefile yet, we rely on a make rule to execute
 1.16495 +  # `config.status --recheck' to rerun these tests and create the
 1.16496 +  # libtool script then.
 1.16497 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 1.16498 +  if test -f "$ltmain_in"; then
 1.16499 +    test -f Makefile && make "$ltmain"
 1.16500 +  fi
 1.16501 +fi
 1.16502 +
 1.16503 +
 1.16504 +ac_ext=cpp
 1.16505 +ac_cpp='$CXXCPP $CPPFLAGS'
 1.16506 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.16507 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.16508 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 1.16509 +
 1.16510 +CC="$lt_save_CC"
 1.16511 +
 1.16512 +	else
 1.16513 +	  tagname=""
 1.16514 +	fi
 1.16515 +	;;
 1.16516 +
 1.16517 +      GCJ)
 1.16518 +	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 1.16519 +
 1.16520 +
 1.16521 +# Source file extension for Java test sources.
 1.16522 +ac_ext=java
 1.16523 +
 1.16524 +# Object file extension for compiled Java test sources.
 1.16525 +objext=o
 1.16526 +objext_GCJ=$objext
 1.16527 +
 1.16528 +# Code to be used in simple compile tests
 1.16529 +lt_simple_compile_test_code="class foo {}\n"
 1.16530 +
 1.16531 +# Code to be used in simple link tests
 1.16532 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 1.16533 +
 1.16534 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 1.16535 +
 1.16536 +# If no C compiler was specified, use CC.
 1.16537 +LTCC=${LTCC-"$CC"}
 1.16538 +
 1.16539 +# If no C compiler flags were specified, use CFLAGS.
 1.16540 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 1.16541 +
 1.16542 +# Allow CC to be a program name with arguments.
 1.16543 +compiler=$CC
 1.16544 +
 1.16545 +
 1.16546 +# save warnings/boilerplate of simple test code
 1.16547 +ac_outfile=conftest.$ac_objext
 1.16548 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 1.16549 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.16550 +_lt_compiler_boilerplate=`cat conftest.err`
 1.16551 +$rm conftest*
 1.16552 +
 1.16553 +ac_outfile=conftest.$ac_objext
 1.16554 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
 1.16555 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.16556 +_lt_linker_boilerplate=`cat conftest.err`
 1.16557 +$rm conftest*
 1.16558 +
 1.16559 +
 1.16560 +# Allow CC to be a program name with arguments.
 1.16561 +lt_save_CC="$CC"
 1.16562 +CC=${GCJ-"gcj"}
 1.16563 +compiler=$CC
 1.16564 +compiler_GCJ=$CC
 1.16565 +for cc_temp in $compiler""; do
 1.16566 +  case $cc_temp in
 1.16567 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 1.16568 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 1.16569 +    \-*) ;;
 1.16570 +    *) break;;
 1.16571 +  esac
 1.16572 +done
 1.16573 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 1.16574 +
 1.16575 +
 1.16576 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
 1.16577 +archive_cmds_need_lc_GCJ=no
 1.16578 +
 1.16579 +old_archive_cmds_GCJ=$old_archive_cmds
 1.16580 +
 1.16581 +
 1.16582 +lt_prog_compiler_no_builtin_flag_GCJ=
 1.16583 +
 1.16584 +if test "$GCC" = yes; then
 1.16585 +  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 1.16586 +
 1.16587 +
 1.16588 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 1.16589 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 1.16590 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 1.16591 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.16592 +else
 1.16593 +  lt_cv_prog_compiler_rtti_exceptions=no
 1.16594 +  ac_outfile=conftest.$ac_objext
 1.16595 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.16596 +   lt_compiler_flag="-fno-rtti -fno-exceptions"
 1.16597 +   # Insert the option either (1) after the last *FLAGS variable, or
 1.16598 +   # (2) before a word containing "conftest.", or (3) at the end.
 1.16599 +   # Note that $ac_compile itself does not contain backslashes and begins
 1.16600 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
 1.16601 +   # The option is referenced via a variable to avoid confusing sed.
 1.16602 +   lt_compile=`echo "$ac_compile" | $SED \
 1.16603 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 1.16604 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 1.16605 +   -e 's:$: $lt_compiler_flag:'`
 1.16606 +   (eval echo "\"\$as_me:16603: $lt_compile\"" >&5)
 1.16607 +   (eval "$lt_compile" 2>conftest.err)
 1.16608 +   ac_status=$?
 1.16609 +   cat conftest.err >&5
 1.16610 +   echo "$as_me:16607: \$? = $ac_status" >&5
 1.16611 +   if (exit $ac_status) && test -s "$ac_outfile"; then
 1.16612 +     # The compiler can only warn and ignore the option if not recognized
 1.16613 +     # So say no if there are warnings other than the usual output.
 1.16614 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 1.16615 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 1.16616 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 1.16617 +       lt_cv_prog_compiler_rtti_exceptions=yes
 1.16618 +     fi
 1.16619 +   fi
 1.16620 +   $rm conftest*
 1.16621 +
 1.16622 +fi
 1.16623 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 1.16624 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 1.16625 +
 1.16626 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 1.16627 +    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 1.16628 +else
 1.16629 +    :
 1.16630 +fi
 1.16631 +
 1.16632 +fi
 1.16633 +
 1.16634 +lt_prog_compiler_wl_GCJ=
 1.16635 +lt_prog_compiler_pic_GCJ=
 1.16636 +lt_prog_compiler_static_GCJ=
 1.16637 +
 1.16638 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 1.16639 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 1.16640 +
 1.16641 +  if test "$GCC" = yes; then
 1.16642 +    lt_prog_compiler_wl_GCJ='-Wl,'
 1.16643 +    lt_prog_compiler_static_GCJ='-static'
 1.16644 +
 1.16645 +    case $host_os in
 1.16646 +      aix*)
 1.16647 +      # All AIX code is PIC.
 1.16648 +      if test "$host_cpu" = ia64; then
 1.16649 +	# AIX 5 now supports IA64 processor
 1.16650 +	lt_prog_compiler_static_GCJ='-Bstatic'
 1.16651 +      fi
 1.16652 +      ;;
 1.16653 +
 1.16654 +    amigaos*)
 1.16655 +      # FIXME: we need at least 68020 code to build shared libraries, but
 1.16656 +      # adding the `-m68020' flag to GCC prevents building anything better,
 1.16657 +      # like `-m68040'.
 1.16658 +      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
 1.16659 +      ;;
 1.16660 +
 1.16661 +    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 1.16662 +      # PIC is the default for these OSes.
 1.16663 +      ;;
 1.16664 +
 1.16665 +    mingw* | pw32* | os2*)
 1.16666 +      # This hack is so that the source file can tell whether it is being
 1.16667 +      # built for inclusion in a dll (and should export symbols for example).
 1.16668 +      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 1.16669 +      ;;
 1.16670 +
 1.16671 +    darwin* | rhapsody*)
 1.16672 +      # PIC is the default on this platform
 1.16673 +      # Common symbols not allowed in MH_DYLIB files
 1.16674 +      lt_prog_compiler_pic_GCJ='-fno-common'
 1.16675 +      ;;
 1.16676 +
 1.16677 +    interix3*)
 1.16678 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 1.16679 +      # Instead, we relocate shared libraries at runtime.
 1.16680 +      ;;
 1.16681 +
 1.16682 +    msdosdjgpp*)
 1.16683 +      # Just because we use GCC doesn't mean we suddenly get shared libraries
 1.16684 +      # on systems that don't support them.
 1.16685 +      lt_prog_compiler_can_build_shared_GCJ=no
 1.16686 +      enable_shared=no
 1.16687 +      ;;
 1.16688 +
 1.16689 +    sysv4*MP*)
 1.16690 +      if test -d /usr/nec; then
 1.16691 +	lt_prog_compiler_pic_GCJ=-Kconform_pic
 1.16692 +      fi
 1.16693 +      ;;
 1.16694 +
 1.16695 +    hpux*)
 1.16696 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 1.16697 +      # not for PA HP-UX.
 1.16698 +      case $host_cpu in
 1.16699 +      hppa*64*|ia64*)
 1.16700 +	# +Z the default
 1.16701 +	;;
 1.16702 +      *)
 1.16703 +	lt_prog_compiler_pic_GCJ='-fPIC'
 1.16704 +	;;
 1.16705 +      esac
 1.16706 +      ;;
 1.16707 +
 1.16708 +    *)
 1.16709 +      lt_prog_compiler_pic_GCJ='-fPIC'
 1.16710 +      ;;
 1.16711 +    esac
 1.16712 +  else
 1.16713 +    # PORTME Check for flag to pass linker flags through the system compiler.
 1.16714 +    case $host_os in
 1.16715 +    aix*)
 1.16716 +      lt_prog_compiler_wl_GCJ='-Wl,'
 1.16717 +      if test "$host_cpu" = ia64; then
 1.16718 +	# AIX 5 now supports IA64 processor
 1.16719 +	lt_prog_compiler_static_GCJ='-Bstatic'
 1.16720 +      else
 1.16721 +	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
 1.16722 +      fi
 1.16723 +      ;;
 1.16724 +      darwin*)
 1.16725 +        # PIC is the default on this platform
 1.16726 +        # Common symbols not allowed in MH_DYLIB files
 1.16727 +       case $cc_basename in
 1.16728 +         xlc*)
 1.16729 +         lt_prog_compiler_pic_GCJ='-qnocommon'
 1.16730 +         lt_prog_compiler_wl_GCJ='-Wl,'
 1.16731 +         ;;
 1.16732 +       esac
 1.16733 +       ;;
 1.16734 +
 1.16735 +    mingw* | pw32* | os2*)
 1.16736 +      # This hack is so that the source file can tell whether it is being
 1.16737 +      # built for inclusion in a dll (and should export symbols for example).
 1.16738 +      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 1.16739 +      ;;
 1.16740 +
 1.16741 +    hpux9* | hpux10* | hpux11*)
 1.16742 +      lt_prog_compiler_wl_GCJ='-Wl,'
 1.16743 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 1.16744 +      # not for PA HP-UX.
 1.16745 +      case $host_cpu in
 1.16746 +      hppa*64*|ia64*)
 1.16747 +	# +Z the default
 1.16748 +	;;
 1.16749 +      *)
 1.16750 +	lt_prog_compiler_pic_GCJ='+Z'
 1.16751 +	;;
 1.16752 +      esac
 1.16753 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 1.16754 +      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
 1.16755 +      ;;
 1.16756 +
 1.16757 +    irix5* | irix6* | nonstopux*)
 1.16758 +      lt_prog_compiler_wl_GCJ='-Wl,'
 1.16759 +      # PIC (with -KPIC) is the default.
 1.16760 +      lt_prog_compiler_static_GCJ='-non_shared'
 1.16761 +      ;;
 1.16762 +
 1.16763 +    newsos6)
 1.16764 +      lt_prog_compiler_pic_GCJ='-KPIC'
 1.16765 +      lt_prog_compiler_static_GCJ='-Bstatic'
 1.16766 +      ;;
 1.16767 +
 1.16768 +    linux*)
 1.16769 +      case $cc_basename in
 1.16770 +      icc* | ecc*)
 1.16771 +	lt_prog_compiler_wl_GCJ='-Wl,'
 1.16772 +	lt_prog_compiler_pic_GCJ='-KPIC'
 1.16773 +	lt_prog_compiler_static_GCJ='-static'
 1.16774 +        ;;
 1.16775 +      pgcc* | pgf77* | pgf90* | pgf95*)
 1.16776 +        # Portland Group compilers (*not* the Pentium gcc compiler,
 1.16777 +	# which looks to be a dead project)
 1.16778 +	lt_prog_compiler_wl_GCJ='-Wl,'
 1.16779 +	lt_prog_compiler_pic_GCJ='-fpic'
 1.16780 +	lt_prog_compiler_static_GCJ='-Bstatic'
 1.16781 +        ;;
 1.16782 +      ccc*)
 1.16783 +        lt_prog_compiler_wl_GCJ='-Wl,'
 1.16784 +        # All Alpha code is PIC.
 1.16785 +        lt_prog_compiler_static_GCJ='-non_shared'
 1.16786 +        ;;
 1.16787 +      esac
 1.16788 +      ;;
 1.16789 +
 1.16790 +    osf3* | osf4* | osf5*)
 1.16791 +      lt_prog_compiler_wl_GCJ='-Wl,'
 1.16792 +      # All OSF/1 code is PIC.
 1.16793 +      lt_prog_compiler_static_GCJ='-non_shared'
 1.16794 +      ;;
 1.16795 +
 1.16796 +    solaris*)
 1.16797 +      lt_prog_compiler_pic_GCJ='-KPIC'
 1.16798 +      lt_prog_compiler_static_GCJ='-Bstatic'
 1.16799 +      case $cc_basename in
 1.16800 +      f77* | f90* | f95*)
 1.16801 +	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 1.16802 +      *)
 1.16803 +	lt_prog_compiler_wl_GCJ='-Wl,';;
 1.16804 +      esac
 1.16805 +      ;;
 1.16806 +
 1.16807 +    sunos4*)
 1.16808 +      lt_prog_compiler_wl_GCJ='-Qoption ld '
 1.16809 +      lt_prog_compiler_pic_GCJ='-PIC'
 1.16810 +      lt_prog_compiler_static_GCJ='-Bstatic'
 1.16811 +      ;;
 1.16812 +
 1.16813 +    sysv4 | sysv4.2uw2* | sysv4.3*)
 1.16814 +      lt_prog_compiler_wl_GCJ='-Wl,'
 1.16815 +      lt_prog_compiler_pic_GCJ='-KPIC'
 1.16816 +      lt_prog_compiler_static_GCJ='-Bstatic'
 1.16817 +      ;;
 1.16818 +
 1.16819 +    sysv4*MP*)
 1.16820 +      if test -d /usr/nec ;then
 1.16821 +	lt_prog_compiler_pic_GCJ='-Kconform_pic'
 1.16822 +	lt_prog_compiler_static_GCJ='-Bstatic'
 1.16823 +      fi
 1.16824 +      ;;
 1.16825 +
 1.16826 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 1.16827 +      lt_prog_compiler_wl_GCJ='-Wl,'
 1.16828 +      lt_prog_compiler_pic_GCJ='-KPIC'
 1.16829 +      lt_prog_compiler_static_GCJ='-Bstatic'
 1.16830 +      ;;
 1.16831 +
 1.16832 +    unicos*)
 1.16833 +      lt_prog_compiler_wl_GCJ='-Wl,'
 1.16834 +      lt_prog_compiler_can_build_shared_GCJ=no
 1.16835 +      ;;
 1.16836 +
 1.16837 +    uts4*)
 1.16838 +      lt_prog_compiler_pic_GCJ='-pic'
 1.16839 +      lt_prog_compiler_static_GCJ='-Bstatic'
 1.16840 +      ;;
 1.16841 +
 1.16842 +    *)
 1.16843 +      lt_prog_compiler_can_build_shared_GCJ=no
 1.16844 +      ;;
 1.16845 +    esac
 1.16846 +  fi
 1.16847 +
 1.16848 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 1.16849 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
 1.16850 +
 1.16851 +#
 1.16852 +# Check to make sure the PIC flag actually works.
 1.16853 +#
 1.16854 +if test -n "$lt_prog_compiler_pic_GCJ"; then
 1.16855 +
 1.16856 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 1.16857 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 1.16858 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 1.16859 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.16860 +else
 1.16861 +  lt_prog_compiler_pic_works_GCJ=no
 1.16862 +  ac_outfile=conftest.$ac_objext
 1.16863 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.16864 +   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
 1.16865 +   # Insert the option either (1) after the last *FLAGS variable, or
 1.16866 +   # (2) before a word containing "conftest.", or (3) at the end.
 1.16867 +   # Note that $ac_compile itself does not contain backslashes and begins
 1.16868 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
 1.16869 +   # The option is referenced via a variable to avoid confusing sed.
 1.16870 +   lt_compile=`echo "$ac_compile" | $SED \
 1.16871 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 1.16872 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 1.16873 +   -e 's:$: $lt_compiler_flag:'`
 1.16874 +   (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
 1.16875 +   (eval "$lt_compile" 2>conftest.err)
 1.16876 +   ac_status=$?
 1.16877 +   cat conftest.err >&5
 1.16878 +   echo "$as_me:16875: \$? = $ac_status" >&5
 1.16879 +   if (exit $ac_status) && test -s "$ac_outfile"; then
 1.16880 +     # The compiler can only warn and ignore the option if not recognized
 1.16881 +     # So say no if there are warnings other than the usual output.
 1.16882 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 1.16883 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 1.16884 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 1.16885 +       lt_prog_compiler_pic_works_GCJ=yes
 1.16886 +     fi
 1.16887 +   fi
 1.16888 +   $rm conftest*
 1.16889 +
 1.16890 +fi
 1.16891 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 1.16892 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 1.16893 +
 1.16894 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 1.16895 +    case $lt_prog_compiler_pic_GCJ in
 1.16896 +     "" | " "*) ;;
 1.16897 +     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 1.16898 +     esac
 1.16899 +else
 1.16900 +    lt_prog_compiler_pic_GCJ=
 1.16901 +     lt_prog_compiler_can_build_shared_GCJ=no
 1.16902 +fi
 1.16903 +
 1.16904 +fi
 1.16905 +case $host_os in
 1.16906 +  # For platforms which do not support PIC, -DPIC is meaningless:
 1.16907 +  *djgpp*)
 1.16908 +    lt_prog_compiler_pic_GCJ=
 1.16909 +    ;;
 1.16910 +  *)
 1.16911 +    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
 1.16912 +    ;;
 1.16913 +esac
 1.16914 +
 1.16915 +#
 1.16916 +# Check to make sure the static flag actually works.
 1.16917 +#
 1.16918 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 1.16919 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 1.16920 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 1.16921 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 1.16922 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.16923 +else
 1.16924 +  lt_prog_compiler_static_works_GCJ=no
 1.16925 +   save_LDFLAGS="$LDFLAGS"
 1.16926 +   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 1.16927 +   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 1.16928 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 1.16929 +     # The linker can only warn and ignore the option if not recognized
 1.16930 +     # So say no if there are warnings
 1.16931 +     if test -s conftest.err; then
 1.16932 +       # Append any errors to the config.log.
 1.16933 +       cat conftest.err 1>&5
 1.16934 +       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 1.16935 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 1.16936 +       if diff conftest.exp conftest.er2 >/dev/null; then
 1.16937 +         lt_prog_compiler_static_works_GCJ=yes
 1.16938 +       fi
 1.16939 +     else
 1.16940 +       lt_prog_compiler_static_works_GCJ=yes
 1.16941 +     fi
 1.16942 +   fi
 1.16943 +   $rm conftest*
 1.16944 +   LDFLAGS="$save_LDFLAGS"
 1.16945 +
 1.16946 +fi
 1.16947 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 1.16948 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 1.16949 +
 1.16950 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 1.16951 +    :
 1.16952 +else
 1.16953 +    lt_prog_compiler_static_GCJ=
 1.16954 +fi
 1.16955 +
 1.16956 +
 1.16957 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 1.16958 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 1.16959 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 1.16960 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 1.16961 +else
 1.16962 +  lt_cv_prog_compiler_c_o_GCJ=no
 1.16963 +   $rm -r conftest 2>/dev/null
 1.16964 +   mkdir conftest
 1.16965 +   cd conftest
 1.16966 +   mkdir out
 1.16967 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.16968 +
 1.16969 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
 1.16970 +   # Insert the option either (1) after the last *FLAGS variable, or
 1.16971 +   # (2) before a word containing "conftest.", or (3) at the end.
 1.16972 +   # Note that $ac_compile itself does not contain backslashes and begins
 1.16973 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
 1.16974 +   lt_compile=`echo "$ac_compile" | $SED \
 1.16975 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 1.16976 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 1.16977 +   -e 's:$: $lt_compiler_flag:'`
 1.16978 +   (eval echo "\"\$as_me:16975: $lt_compile\"" >&5)
 1.16979 +   (eval "$lt_compile" 2>out/conftest.err)
 1.16980 +   ac_status=$?
 1.16981 +   cat out/conftest.err >&5
 1.16982 +   echo "$as_me:16979: \$? = $ac_status" >&5
 1.16983 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 1.16984 +   then
 1.16985 +     # The compiler can only warn and ignore the option if not recognized
 1.16986 +     # So say no if there are warnings
 1.16987 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 1.16988 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 1.16989 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 1.16990 +       lt_cv_prog_compiler_c_o_GCJ=yes
 1.16991 +     fi
 1.16992 +   fi
 1.16993 +   chmod u+w . 2>&5
 1.16994 +   $rm conftest*
 1.16995 +   # SGI C++ compiler will create directory out/ii_files/ for
 1.16996 +   # template instantiation
 1.16997 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 1.16998 +   $rm out/* && rmdir out
 1.16999 +   cd ..
 1.17000 +   rmdir conftest
 1.17001 +   $rm conftest*
 1.17002 +
 1.17003 +fi
 1.17004 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 1.17005 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 1.17006 +
 1.17007 +
 1.17008 +hard_links="nottested"
 1.17009 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 1.17010 +  # do not overwrite the value of need_locks provided by the user
 1.17011 +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 1.17012 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 1.17013 +  hard_links=yes
 1.17014 +  $rm conftest*
 1.17015 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 1.17016 +  touch conftest.a
 1.17017 +  ln conftest.a conftest.b 2>&5 || hard_links=no
 1.17018 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 1.17019 +  { echo "$as_me:$LINENO: result: $hard_links" >&5
 1.17020 +echo "${ECHO_T}$hard_links" >&6; }
 1.17021 +  if test "$hard_links" = no; then
 1.17022 +    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 1.17023 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 1.17024 +    need_locks=warn
 1.17025 +  fi
 1.17026 +else
 1.17027 +  need_locks=no
 1.17028 +fi
 1.17029 +
 1.17030 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 1.17031 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 1.17032 +
 1.17033 +  runpath_var=
 1.17034 +  allow_undefined_flag_GCJ=
 1.17035 +  enable_shared_with_static_runtimes_GCJ=no
 1.17036 +  archive_cmds_GCJ=
 1.17037 +  archive_expsym_cmds_GCJ=
 1.17038 +  old_archive_From_new_cmds_GCJ=
 1.17039 +  old_archive_from_expsyms_cmds_GCJ=
 1.17040 +  export_dynamic_flag_spec_GCJ=
 1.17041 +  whole_archive_flag_spec_GCJ=
 1.17042 +  thread_safe_flag_spec_GCJ=
 1.17043 +  hardcode_libdir_flag_spec_GCJ=
 1.17044 +  hardcode_libdir_flag_spec_ld_GCJ=
 1.17045 +  hardcode_libdir_separator_GCJ=
 1.17046 +  hardcode_direct_GCJ=no
 1.17047 +  hardcode_minus_L_GCJ=no
 1.17048 +  hardcode_shlibpath_var_GCJ=unsupported
 1.17049 +  link_all_deplibs_GCJ=unknown
 1.17050 +  hardcode_automatic_GCJ=no
 1.17051 +  module_cmds_GCJ=
 1.17052 +  module_expsym_cmds_GCJ=
 1.17053 +  always_export_symbols_GCJ=no
 1.17054 +  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 1.17055 +  # include_expsyms should be a list of space-separated symbols to be *always*
 1.17056 +  # included in the symbol list
 1.17057 +  include_expsyms_GCJ=
 1.17058 +  # exclude_expsyms can be an extended regexp of symbols to exclude
 1.17059 +  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 1.17060 +  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 1.17061 +  # as well as any symbol that contains `d'.
 1.17062 +  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 1.17063 +  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 1.17064 +  # platforms (ab)use it in PIC code, but their linkers get confused if
 1.17065 +  # the symbol is explicitly referenced.  Since portable code cannot
 1.17066 +  # rely on this symbol name, it's probably fine to never include it in
 1.17067 +  # preloaded symbol tables.
 1.17068 +  extract_expsyms_cmds=
 1.17069 +  # Just being paranoid about ensuring that cc_basename is set.
 1.17070 +  for cc_temp in $compiler""; do
 1.17071 +  case $cc_temp in
 1.17072 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 1.17073 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 1.17074 +    \-*) ;;
 1.17075 +    *) break;;
 1.17076 +  esac
 1.17077 +done
 1.17078 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 1.17079 +
 1.17080 +  case $host_os in
 1.17081 +  cygwin* | mingw* | pw32*)
 1.17082 +    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 1.17083 +    # When not using gcc, we currently assume that we are using
 1.17084 +    # Microsoft Visual C++.
 1.17085 +    if test "$GCC" != yes; then
 1.17086 +      with_gnu_ld=no
 1.17087 +    fi
 1.17088 +    ;;
 1.17089 +  interix*)
 1.17090 +    # we just hope/assume this is gcc and not c89 (= MSVC++)
 1.17091 +    with_gnu_ld=yes
 1.17092 +    ;;
 1.17093 +  openbsd*)
 1.17094 +    with_gnu_ld=no
 1.17095 +    ;;
 1.17096 +  esac
 1.17097 +
 1.17098 +  ld_shlibs_GCJ=yes
 1.17099 +  if test "$with_gnu_ld" = yes; then
 1.17100 +    # If archive_cmds runs LD, not CC, wlarc should be empty
 1.17101 +    wlarc='${wl}'
 1.17102 +
 1.17103 +    # Set some defaults for GNU ld with shared library support. These
 1.17104 +    # are reset later if shared libraries are not supported. Putting them
 1.17105 +    # here allows them to be overridden if necessary.
 1.17106 +    runpath_var=LD_RUN_PATH
 1.17107 +    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 1.17108 +    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 1.17109 +    # ancient GNU ld didn't support --whole-archive et. al.
 1.17110 +    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 1.17111 +	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 1.17112 +      else
 1.17113 +  	whole_archive_flag_spec_GCJ=
 1.17114 +    fi
 1.17115 +    supports_anon_versioning=no
 1.17116 +    case `$LD -v 2>/dev/null` in
 1.17117 +      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 1.17118 +      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 1.17119 +      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 1.17120 +      *\ 2.11.*) ;; # other 2.11 versions
 1.17121 +      *) supports_anon_versioning=yes ;;
 1.17122 +    esac
 1.17123 +
 1.17124 +    # See if GNU ld supports shared libraries.
 1.17125 +    case $host_os in
 1.17126 +    aix3* | aix4* | aix5*)
 1.17127 +      # On AIX/PPC, the GNU linker is very broken
 1.17128 +      if test "$host_cpu" != ia64; then
 1.17129 +	ld_shlibs_GCJ=no
 1.17130 +	cat <<EOF 1>&2
 1.17131 +
 1.17132 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 1.17133 +*** to be unable to reliably create shared libraries on AIX.
 1.17134 +*** Therefore, libtool is disabling shared libraries support.  If you
 1.17135 +*** really care for shared libraries, you may want to modify your PATH
 1.17136 +*** so that a non-GNU linker is found, and then restart.
 1.17137 +
 1.17138 +EOF
 1.17139 +      fi
 1.17140 +      ;;
 1.17141 +
 1.17142 +    amigaos*)
 1.17143 +      archive_cmds_GCJ='$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.17144 +      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.17145 +      hardcode_minus_L_GCJ=yes
 1.17146 +
 1.17147 +      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 1.17148 +      # that the semantics of dynamic libraries on AmigaOS, at least up
 1.17149 +      # to version 4, is to share data among multiple programs linked
 1.17150 +      # with the same dynamic library.  Since this doesn't match the
 1.17151 +      # behavior of shared libraries on other platforms, we can't use
 1.17152 +      # them.
 1.17153 +      ld_shlibs_GCJ=no
 1.17154 +      ;;
 1.17155 +
 1.17156 +    beos*)
 1.17157 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.17158 +	allow_undefined_flag_GCJ=unsupported
 1.17159 +	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 1.17160 +	# support --undefined.  This deserves some investigation.  FIXME
 1.17161 +	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.17162 +      else
 1.17163 +	ld_shlibs_GCJ=no
 1.17164 +      fi
 1.17165 +      ;;
 1.17166 +
 1.17167 +    cygwin* | mingw* | pw32*)
 1.17168 +      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
 1.17169 +      # as there is no search path for DLLs.
 1.17170 +      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.17171 +      allow_undefined_flag_GCJ=unsupported
 1.17172 +      always_export_symbols_GCJ=no
 1.17173 +      enable_shared_with_static_runtimes_GCJ=yes
 1.17174 +      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 1.17175 +
 1.17176 +      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 1.17177 +        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 1.17178 +	# If the export-symbols file already is a .def file (1st line
 1.17179 +	# is EXPORTS), use it as is; otherwise, prepend...
 1.17180 +	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 1.17181 +	  cp $export_symbols $output_objdir/$soname.def;
 1.17182 +	else
 1.17183 +	  echo EXPORTS > $output_objdir/$soname.def;
 1.17184 +	  cat $export_symbols >> $output_objdir/$soname.def;
 1.17185 +	fi~
 1.17186 +	$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.17187 +      else
 1.17188 +	ld_shlibs_GCJ=no
 1.17189 +      fi
 1.17190 +      ;;
 1.17191 +
 1.17192 +    interix3*)
 1.17193 +      hardcode_direct_GCJ=no
 1.17194 +      hardcode_shlibpath_var_GCJ=no
 1.17195 +      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 1.17196 +      export_dynamic_flag_spec_GCJ='${wl}-E'
 1.17197 +      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 1.17198 +      # Instead, shared libraries are loaded at an image base (0x10000000 by
 1.17199 +      # default) and relocated if they conflict, which is a slow very memory
 1.17200 +      # consuming and fragmenting process.  To avoid this, we pick a random,
 1.17201 +      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 1.17202 +      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 1.17203 +      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 1.17204 +      archive_expsym_cmds_GCJ='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.17205 +      ;;
 1.17206 +
 1.17207 +    linux*)
 1.17208 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.17209 +	tmp_addflag=
 1.17210 +	case $cc_basename,$host_cpu in
 1.17211 +	pgcc*)				# Portland Group C compiler
 1.17212 +	  whole_archive_flag_spec_GCJ='${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.17213 +	  tmp_addflag=' $pic_flag'
 1.17214 +	  ;;
 1.17215 +	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 1.17216 +	  whole_archive_flag_spec_GCJ='${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.17217 +	  tmp_addflag=' $pic_flag -Mnomain' ;;
 1.17218 +	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 1.17219 +	  tmp_addflag=' -i_dynamic' ;;
 1.17220 +	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 1.17221 +	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 1.17222 +	ifc* | ifort*)			# Intel Fortran compiler
 1.17223 +	  tmp_addflag=' -nofor_main' ;;
 1.17224 +	esac
 1.17225 +	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.17226 +
 1.17227 +	if test $supports_anon_versioning = yes; then
 1.17228 +	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 1.17229 +  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 1.17230 +  $echo "local: *; };" >> $output_objdir/$libname.ver~
 1.17231 +	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 1.17232 +	fi
 1.17233 +      else
 1.17234 +	ld_shlibs_GCJ=no
 1.17235 +      fi
 1.17236 +      ;;
 1.17237 +
 1.17238 +    netbsd*)
 1.17239 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.17240 +	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 1.17241 +	wlarc=
 1.17242 +      else
 1.17243 +	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.17244 +	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.17245 +      fi
 1.17246 +      ;;
 1.17247 +
 1.17248 +    solaris*)
 1.17249 +      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 1.17250 +	ld_shlibs_GCJ=no
 1.17251 +	cat <<EOF 1>&2
 1.17252 +
 1.17253 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 1.17254 +*** create shared libraries on Solaris systems.  Therefore, libtool
 1.17255 +*** is disabling shared libraries support.  We urge you to upgrade GNU
 1.17256 +*** binutils to release 2.9.1 or newer.  Another option is to modify
 1.17257 +*** your PATH or compiler configuration so that the native linker is
 1.17258 +*** used, and then restart.
 1.17259 +
 1.17260 +EOF
 1.17261 +      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.17262 +	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.17263 +	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.17264 +      else
 1.17265 +	ld_shlibs_GCJ=no
 1.17266 +      fi
 1.17267 +      ;;
 1.17268 +
 1.17269 +    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 1.17270 +      case `$LD -v 2>&1` in
 1.17271 +        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 1.17272 +	ld_shlibs_GCJ=no
 1.17273 +	cat <<_LT_EOF 1>&2
 1.17274 +
 1.17275 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 1.17276 +*** reliably create shared libraries on SCO systems.  Therefore, libtool
 1.17277 +*** is disabling shared libraries support.  We urge you to upgrade GNU
 1.17278 +*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 1.17279 +*** your PATH or compiler configuration so that the native linker is
 1.17280 +*** used, and then restart.
 1.17281 +
 1.17282 +_LT_EOF
 1.17283 +	;;
 1.17284 +	*)
 1.17285 +	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.17286 +	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 1.17287 +	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 1.17288 +	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 1.17289 +	  else
 1.17290 +	    ld_shlibs_GCJ=no
 1.17291 +	  fi
 1.17292 +	;;
 1.17293 +      esac
 1.17294 +      ;;
 1.17295 +
 1.17296 +    sunos4*)
 1.17297 +      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 1.17298 +      wlarc=
 1.17299 +      hardcode_direct_GCJ=yes
 1.17300 +      hardcode_shlibpath_var_GCJ=no
 1.17301 +      ;;
 1.17302 +
 1.17303 +    *)
 1.17304 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 1.17305 +	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 1.17306 +	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 1.17307 +      else
 1.17308 +	ld_shlibs_GCJ=no
 1.17309 +      fi
 1.17310 +      ;;
 1.17311 +    esac
 1.17312 +
 1.17313 +    if test "$ld_shlibs_GCJ" = no; then
 1.17314 +      runpath_var=
 1.17315 +      hardcode_libdir_flag_spec_GCJ=
 1.17316 +      export_dynamic_flag_spec_GCJ=
 1.17317 +      whole_archive_flag_spec_GCJ=
 1.17318 +    fi
 1.17319 +  else
 1.17320 +    # PORTME fill in a description of your system's linker (not GNU ld)
 1.17321 +    case $host_os in
 1.17322 +    aix3*)
 1.17323 +      allow_undefined_flag_GCJ=unsupported
 1.17324 +      always_export_symbols_GCJ=yes
 1.17325 +      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 1.17326 +      # Note: this linker hardcodes the directories in LIBPATH if there
 1.17327 +      # are no directories specified by -L.
 1.17328 +      hardcode_minus_L_GCJ=yes
 1.17329 +      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 1.17330 +	# Neither direct hardcoding nor static linking is supported with a
 1.17331 +	# broken collect2.
 1.17332 +	hardcode_direct_GCJ=unsupported
 1.17333 +      fi
 1.17334 +      ;;
 1.17335 +
 1.17336 +    aix4* | aix5*)
 1.17337 +      if test "$host_cpu" = ia64; then
 1.17338 +	# On IA64, the linker does run time linking by default, so we don't
 1.17339 +	# have to do anything special.
 1.17340 +	aix_use_runtimelinking=no
 1.17341 +	exp_sym_flag='-Bexport'
 1.17342 +	no_entry_flag=""
 1.17343 +      else
 1.17344 +	# If we're using GNU nm, then we don't want the "-C" option.
 1.17345 +	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 1.17346 +	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 1.17347 +	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 1.17348 +	else
 1.17349 +	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 1.17350 +	fi
 1.17351 +	aix_use_runtimelinking=no
 1.17352 +
 1.17353 +	# Test if we are trying to use run time linking or normal
 1.17354 +	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 1.17355 +	# need to do runtime linking.
 1.17356 +	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 1.17357 +	  for ld_flag in $LDFLAGS; do
 1.17358 +  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 1.17359 +  	    aix_use_runtimelinking=yes
 1.17360 +  	    break
 1.17361 +  	  fi
 1.17362 +	  done
 1.17363 +	  ;;
 1.17364 +	esac
 1.17365 +
 1.17366 +	exp_sym_flag='-bexport'
 1.17367 +	no_entry_flag='-bnoentry'
 1.17368 +      fi
 1.17369 +
 1.17370 +      # When large executables or shared objects are built, AIX ld can
 1.17371 +      # have problems creating the table of contents.  If linking a library
 1.17372 +      # or program results in "error TOC overflow" add -mminimal-toc to
 1.17373 +      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 1.17374 +      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 1.17375 +
 1.17376 +      archive_cmds_GCJ=''
 1.17377 +      hardcode_direct_GCJ=yes
 1.17378 +      hardcode_libdir_separator_GCJ=':'
 1.17379 +      link_all_deplibs_GCJ=yes
 1.17380 +
 1.17381 +      if test "$GCC" = yes; then
 1.17382 +	case $host_os in aix4.[012]|aix4.[012].*)
 1.17383 +	# We only want to do this on AIX 4.2 and lower, the check
 1.17384 +	# below for broken collect2 doesn't work under 4.3+
 1.17385 +	  collect2name=`${CC} -print-prog-name=collect2`
 1.17386 +	  if test -f "$collect2name" && \
 1.17387 +  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 1.17388 +	  then
 1.17389 +  	  # We have reworked collect2
 1.17390 +  	  hardcode_direct_GCJ=yes
 1.17391 +	  else
 1.17392 +  	  # We have old collect2
 1.17393 +  	  hardcode_direct_GCJ=unsupported
 1.17394 +  	  # It fails to find uninstalled libraries when the uninstalled
 1.17395 +  	  # path is not listed in the libpath.  Setting hardcode_minus_L
 1.17396 +  	  # to unsupported forces relinking
 1.17397 +  	  hardcode_minus_L_GCJ=yes
 1.17398 +  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.17399 +  	  hardcode_libdir_separator_GCJ=
 1.17400 +	  fi
 1.17401 +	  ;;
 1.17402 +	esac
 1.17403 +	shared_flag='-shared'
 1.17404 +	if test "$aix_use_runtimelinking" = yes; then
 1.17405 +	  shared_flag="$shared_flag "'${wl}-G'
 1.17406 +	fi
 1.17407 +      else
 1.17408 +	# not using gcc
 1.17409 +	if test "$host_cpu" = ia64; then
 1.17410 +  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 1.17411 +  	# chokes on -Wl,-G. The following line is correct:
 1.17412 +	  shared_flag='-G'
 1.17413 +	else
 1.17414 +	  if test "$aix_use_runtimelinking" = yes; then
 1.17415 +	    shared_flag='${wl}-G'
 1.17416 +	  else
 1.17417 +	    shared_flag='${wl}-bM:SRE'
 1.17418 +	  fi
 1.17419 +	fi
 1.17420 +      fi
 1.17421 +
 1.17422 +      # It seems that -bexpall does not export symbols beginning with
 1.17423 +      # underscore (_), so it is better to generate a list of symbols to export.
 1.17424 +      always_export_symbols_GCJ=yes
 1.17425 +      if test "$aix_use_runtimelinking" = yes; then
 1.17426 +	# Warning - without using the other runtime loading flags (-brtl),
 1.17427 +	# -berok will link without error, but may produce a broken library.
 1.17428 +	allow_undefined_flag_GCJ='-berok'
 1.17429 +       # Determine the default libpath from the value encoded in an empty executable.
 1.17430 +       cat >conftest.$ac_ext <<_ACEOF
 1.17431 +/* confdefs.h.  */
 1.17432 +_ACEOF
 1.17433 +cat confdefs.h >>conftest.$ac_ext
 1.17434 +cat >>conftest.$ac_ext <<_ACEOF
 1.17435 +/* end confdefs.h.  */
 1.17436 +
 1.17437 +int
 1.17438 +main ()
 1.17439 +{
 1.17440 +
 1.17441 +  ;
 1.17442 +  return 0;
 1.17443 +}
 1.17444 +_ACEOF
 1.17445 +rm -f conftest.$ac_objext conftest$ac_exeext
 1.17446 +if { (ac_try="$ac_link"
 1.17447 +case "(($ac_try" in
 1.17448 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.17449 +  *) ac_try_echo=$ac_try;;
 1.17450 +esac
 1.17451 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.17452 +  (eval "$ac_link") 2>conftest.er1
 1.17453 +  ac_status=$?
 1.17454 +  grep -v '^ *+' conftest.er1 >conftest.err
 1.17455 +  rm -f conftest.er1
 1.17456 +  cat conftest.err >&5
 1.17457 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.17458 +  (exit $ac_status); } &&
 1.17459 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 1.17460 +  { (case "(($ac_try" in
 1.17461 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.17462 +  *) ac_try_echo=$ac_try;;
 1.17463 +esac
 1.17464 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.17465 +  (eval "$ac_try") 2>&5
 1.17466 +  ac_status=$?
 1.17467 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.17468 +  (exit $ac_status); }; } &&
 1.17469 +	 { ac_try='test -s conftest$ac_exeext'
 1.17470 +  { (case "(($ac_try" in
 1.17471 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.17472 +  *) ac_try_echo=$ac_try;;
 1.17473 +esac
 1.17474 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.17475 +  (eval "$ac_try") 2>&5
 1.17476 +  ac_status=$?
 1.17477 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.17478 +  (exit $ac_status); }; }; then
 1.17479 +
 1.17480 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.17481 +}'`
 1.17482 +# Check for a 64-bit object if we didn't find anything.
 1.17483 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.17484 +}'`; fi
 1.17485 +else
 1.17486 +  echo "$as_me: failed program was:" >&5
 1.17487 +sed 's/^/| /' conftest.$ac_ext >&5
 1.17488 +
 1.17489 +
 1.17490 +fi
 1.17491 +
 1.17492 +rm -f core conftest.err conftest.$ac_objext \
 1.17493 +      conftest$ac_exeext conftest.$ac_ext
 1.17494 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 1.17495 +
 1.17496 +       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 1.17497 +	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 1.17498 +       else
 1.17499 +	if test "$host_cpu" = ia64; then
 1.17500 +	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
 1.17501 +	  allow_undefined_flag_GCJ="-z nodefs"
 1.17502 +	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 1.17503 +	else
 1.17504 +	 # Determine the default libpath from the value encoded in an empty executable.
 1.17505 +	 cat >conftest.$ac_ext <<_ACEOF
 1.17506 +/* confdefs.h.  */
 1.17507 +_ACEOF
 1.17508 +cat confdefs.h >>conftest.$ac_ext
 1.17509 +cat >>conftest.$ac_ext <<_ACEOF
 1.17510 +/* end confdefs.h.  */
 1.17511 +
 1.17512 +int
 1.17513 +main ()
 1.17514 +{
 1.17515 +
 1.17516 +  ;
 1.17517 +  return 0;
 1.17518 +}
 1.17519 +_ACEOF
 1.17520 +rm -f conftest.$ac_objext conftest$ac_exeext
 1.17521 +if { (ac_try="$ac_link"
 1.17522 +case "(($ac_try" in
 1.17523 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.17524 +  *) ac_try_echo=$ac_try;;
 1.17525 +esac
 1.17526 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.17527 +  (eval "$ac_link") 2>conftest.er1
 1.17528 +  ac_status=$?
 1.17529 +  grep -v '^ *+' conftest.er1 >conftest.err
 1.17530 +  rm -f conftest.er1
 1.17531 +  cat conftest.err >&5
 1.17532 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.17533 +  (exit $ac_status); } &&
 1.17534 +	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 1.17535 +  { (case "(($ac_try" in
 1.17536 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.17537 +  *) ac_try_echo=$ac_try;;
 1.17538 +esac
 1.17539 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.17540 +  (eval "$ac_try") 2>&5
 1.17541 +  ac_status=$?
 1.17542 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.17543 +  (exit $ac_status); }; } &&
 1.17544 +	 { ac_try='test -s conftest$ac_exeext'
 1.17545 +  { (case "(($ac_try" in
 1.17546 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1.17547 +  *) ac_try_echo=$ac_try;;
 1.17548 +esac
 1.17549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 1.17550 +  (eval "$ac_try") 2>&5
 1.17551 +  ac_status=$?
 1.17552 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.17553 +  (exit $ac_status); }; }; then
 1.17554 +
 1.17555 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.17556 +}'`
 1.17557 +# Check for a 64-bit object if we didn't find anything.
 1.17558 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 1.17559 +}'`; fi
 1.17560 +else
 1.17561 +  echo "$as_me: failed program was:" >&5
 1.17562 +sed 's/^/| /' conftest.$ac_ext >&5
 1.17563 +
 1.17564 +
 1.17565 +fi
 1.17566 +
 1.17567 +rm -f core conftest.err conftest.$ac_objext \
 1.17568 +      conftest$ac_exeext conftest.$ac_ext
 1.17569 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 1.17570 +
 1.17571 +	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 1.17572 +	  # Warning - without using the other run time loading flags,
 1.17573 +	  # -berok will link without error, but may produce a broken library.
 1.17574 +	  no_undefined_flag_GCJ=' ${wl}-bernotok'
 1.17575 +	  allow_undefined_flag_GCJ=' ${wl}-berok'
 1.17576 +	  # Exported symbols can be pulled into shared objects from archives
 1.17577 +	  whole_archive_flag_spec_GCJ='$convenience'
 1.17578 +	  archive_cmds_need_lc_GCJ=yes
 1.17579 +	  # This is similar to how AIX traditionally builds its shared libraries.
 1.17580 +	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 1.17581 +	fi
 1.17582 +      fi
 1.17583 +      ;;
 1.17584 +
 1.17585 +    amigaos*)
 1.17586 +      archive_cmds_GCJ='$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.17587 +      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.17588 +      hardcode_minus_L_GCJ=yes
 1.17589 +      # see comment about different semantics on the GNU ld section
 1.17590 +      ld_shlibs_GCJ=no
 1.17591 +      ;;
 1.17592 +
 1.17593 +    bsdi[45]*)
 1.17594 +      export_dynamic_flag_spec_GCJ=-rdynamic
 1.17595 +      ;;
 1.17596 +
 1.17597 +    cygwin* | mingw* | pw32*)
 1.17598 +      # When not using gcc, we currently assume that we are using
 1.17599 +      # Microsoft Visual C++.
 1.17600 +      # hardcode_libdir_flag_spec is actually meaningless, as there is
 1.17601 +      # no search path for DLLs.
 1.17602 +      hardcode_libdir_flag_spec_GCJ=' '
 1.17603 +      allow_undefined_flag_GCJ=unsupported
 1.17604 +      # Tell ltmain to make .lib files, not .a files.
 1.17605 +      libext=lib
 1.17606 +      # Tell ltmain to make .dll files, not .so files.
 1.17607 +      shrext_cmds=".dll"
 1.17608 +      # FIXME: Setting linknames here is a bad hack.
 1.17609 +      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 1.17610 +      # The linker will automatically build a .lib file if we build a DLL.
 1.17611 +      old_archive_From_new_cmds_GCJ='true'
 1.17612 +      # FIXME: Should let the user specify the lib program.
 1.17613 +      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 1.17614 +      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
 1.17615 +      enable_shared_with_static_runtimes_GCJ=yes
 1.17616 +      ;;
 1.17617 +
 1.17618 +    darwin* | rhapsody*)
 1.17619 +      case $host_os in
 1.17620 +        rhapsody* | darwin1.[012])
 1.17621 +         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 1.17622 +         ;;
 1.17623 +       *) # Darwin 1.3 on
 1.17624 +         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 1.17625 +           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 1.17626 +         else
 1.17627 +           case ${MACOSX_DEPLOYMENT_TARGET} in
 1.17628 +             10.[012])
 1.17629 +               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 1.17630 +               ;;
 1.17631 +             10.*)
 1.17632 +               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 1.17633 +               ;;
 1.17634 +           esac
 1.17635 +         fi
 1.17636 +         ;;
 1.17637 +      esac
 1.17638 +      archive_cmds_need_lc_GCJ=no
 1.17639 +      hardcode_direct_GCJ=no
 1.17640 +      hardcode_automatic_GCJ=yes
 1.17641 +      hardcode_shlibpath_var_GCJ=unsupported
 1.17642 +      whole_archive_flag_spec_GCJ=''
 1.17643 +      link_all_deplibs_GCJ=yes
 1.17644 +    if test "$GCC" = yes ; then
 1.17645 +    	output_verbose_link_cmd='echo'
 1.17646 +        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 1.17647 +      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 1.17648 +      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 1.17649 +      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.17650 +      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.17651 +    else
 1.17652 +      case $cc_basename in
 1.17653 +        xlc*)
 1.17654 +         output_verbose_link_cmd='echo'
 1.17655 +         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 1.17656 +         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 1.17657 +          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 1.17658 +         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.17659 +          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 1.17660 +          ;;
 1.17661 +       *)
 1.17662 +         ld_shlibs_GCJ=no
 1.17663 +          ;;
 1.17664 +      esac
 1.17665 +    fi
 1.17666 +      ;;
 1.17667 +
 1.17668 +    dgux*)
 1.17669 +      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.17670 +      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.17671 +      hardcode_shlibpath_var_GCJ=no
 1.17672 +      ;;
 1.17673 +
 1.17674 +    freebsd1*)
 1.17675 +      ld_shlibs_GCJ=no
 1.17676 +      ;;
 1.17677 +
 1.17678 +    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 1.17679 +    # support.  Future versions do this automatically, but an explicit c++rt0.o
 1.17680 +    # does not break anything, and helps significantly (at the cost of a little
 1.17681 +    # extra space).
 1.17682 +    freebsd2.2*)
 1.17683 +      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 1.17684 +      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 1.17685 +      hardcode_direct_GCJ=yes
 1.17686 +      hardcode_shlibpath_var_GCJ=no
 1.17687 +      ;;
 1.17688 +
 1.17689 +    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 1.17690 +    freebsd2*)
 1.17691 +      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 1.17692 +      hardcode_direct_GCJ=yes
 1.17693 +      hardcode_minus_L_GCJ=yes
 1.17694 +      hardcode_shlibpath_var_GCJ=no
 1.17695 +      ;;
 1.17696 +
 1.17697 +    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 1.17698 +    freebsd* | kfreebsd*-gnu | dragonfly*)
 1.17699 +      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 1.17700 +      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 1.17701 +      hardcode_direct_GCJ=yes
 1.17702 +      hardcode_shlibpath_var_GCJ=no
 1.17703 +      ;;
 1.17704 +
 1.17705 +    hpux9*)
 1.17706 +      if test "$GCC" = yes; then
 1.17707 +	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 1.17708 +      else
 1.17709 +	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 1.17710 +      fi
 1.17711 +      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 1.17712 +      hardcode_libdir_separator_GCJ=:
 1.17713 +      hardcode_direct_GCJ=yes
 1.17714 +
 1.17715 +      # hardcode_minus_L: Not really in the search PATH,
 1.17716 +      # but as the default location of the library.
 1.17717 +      hardcode_minus_L_GCJ=yes
 1.17718 +      export_dynamic_flag_spec_GCJ='${wl}-E'
 1.17719 +      ;;
 1.17720 +
 1.17721 +    hpux10*)
 1.17722 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 1.17723 +	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 1.17724 +      else
 1.17725 +	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 1.17726 +      fi
 1.17727 +      if test "$with_gnu_ld" = no; then
 1.17728 +	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 1.17729 +	hardcode_libdir_separator_GCJ=:
 1.17730 +
 1.17731 +	hardcode_direct_GCJ=yes
 1.17732 +	export_dynamic_flag_spec_GCJ='${wl}-E'
 1.17733 +
 1.17734 +	# hardcode_minus_L: Not really in the search PATH,
 1.17735 +	# but as the default location of the library.
 1.17736 +	hardcode_minus_L_GCJ=yes
 1.17737 +      fi
 1.17738 +      ;;
 1.17739 +
 1.17740 +    hpux11*)
 1.17741 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 1.17742 +	case $host_cpu in
 1.17743 +	hppa*64*)
 1.17744 +	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17745 +	  ;;
 1.17746 +	ia64*)
 1.17747 +	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 1.17748 +	  ;;
 1.17749 +	*)
 1.17750 +	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 1.17751 +	  ;;
 1.17752 +	esac
 1.17753 +      else
 1.17754 +	case $host_cpu in
 1.17755 +	hppa*64*)
 1.17756 +	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17757 +	  ;;
 1.17758 +	ia64*)
 1.17759 +	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 1.17760 +	  ;;
 1.17761 +	*)
 1.17762 +	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 1.17763 +	  ;;
 1.17764 +	esac
 1.17765 +      fi
 1.17766 +      if test "$with_gnu_ld" = no; then
 1.17767 +	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 1.17768 +	hardcode_libdir_separator_GCJ=:
 1.17769 +
 1.17770 +	case $host_cpu in
 1.17771 +	hppa*64*|ia64*)
 1.17772 +	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
 1.17773 +	  hardcode_direct_GCJ=no
 1.17774 +	  hardcode_shlibpath_var_GCJ=no
 1.17775 +	  ;;
 1.17776 +	*)
 1.17777 +	  hardcode_direct_GCJ=yes
 1.17778 +	  export_dynamic_flag_spec_GCJ='${wl}-E'
 1.17779 +
 1.17780 +	  # hardcode_minus_L: Not really in the search PATH,
 1.17781 +	  # but as the default location of the library.
 1.17782 +	  hardcode_minus_L_GCJ=yes
 1.17783 +	  ;;
 1.17784 +	esac
 1.17785 +      fi
 1.17786 +      ;;
 1.17787 +
 1.17788 +    irix5* | irix6* | nonstopux*)
 1.17789 +      if test "$GCC" = yes; then
 1.17790 +	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.17791 +      else
 1.17792 +	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.17793 +	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
 1.17794 +      fi
 1.17795 +      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 1.17796 +      hardcode_libdir_separator_GCJ=:
 1.17797 +      link_all_deplibs_GCJ=yes
 1.17798 +      ;;
 1.17799 +
 1.17800 +    netbsd*)
 1.17801 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.17802 +	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 1.17803 +      else
 1.17804 +	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 1.17805 +      fi
 1.17806 +      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 1.17807 +      hardcode_direct_GCJ=yes
 1.17808 +      hardcode_shlibpath_var_GCJ=no
 1.17809 +      ;;
 1.17810 +
 1.17811 +    newsos6)
 1.17812 +      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.17813 +      hardcode_direct_GCJ=yes
 1.17814 +      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 1.17815 +      hardcode_libdir_separator_GCJ=:
 1.17816 +      hardcode_shlibpath_var_GCJ=no
 1.17817 +      ;;
 1.17818 +
 1.17819 +    openbsd*)
 1.17820 +      hardcode_direct_GCJ=yes
 1.17821 +      hardcode_shlibpath_var_GCJ=no
 1.17822 +      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.17823 +	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 1.17824 +	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 1.17825 +	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 1.17826 +	export_dynamic_flag_spec_GCJ='${wl}-E'
 1.17827 +      else
 1.17828 +       case $host_os in
 1.17829 +	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 1.17830 +	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 1.17831 +	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
 1.17832 +	   ;;
 1.17833 +	 *)
 1.17834 +	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 1.17835 +	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 1.17836 +	   ;;
 1.17837 +       esac
 1.17838 +      fi
 1.17839 +      ;;
 1.17840 +
 1.17841 +    os2*)
 1.17842 +      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.17843 +      hardcode_minus_L_GCJ=yes
 1.17844 +      allow_undefined_flag_GCJ=unsupported
 1.17845 +      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 1.17846 +      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 1.17847 +      ;;
 1.17848 +
 1.17849 +    osf3*)
 1.17850 +      if test "$GCC" = yes; then
 1.17851 +	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 1.17852 +	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.17853 +      else
 1.17854 +	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 1.17855 +	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.17856 +      fi
 1.17857 +      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 1.17858 +      hardcode_libdir_separator_GCJ=:
 1.17859 +      ;;
 1.17860 +
 1.17861 +    osf4* | osf5*)	# as osf3* with the addition of -msym flag
 1.17862 +      if test "$GCC" = yes; then
 1.17863 +	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 1.17864 +	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.17865 +	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 1.17866 +      else
 1.17867 +	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 1.17868 +	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 1.17869 +	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 1.17870 +	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 1.17871 +
 1.17872 +	# Both c and cxx compiler support -rpath directly
 1.17873 +	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
 1.17874 +      fi
 1.17875 +      hardcode_libdir_separator_GCJ=:
 1.17876 +      ;;
 1.17877 +
 1.17878 +    solaris*)
 1.17879 +      no_undefined_flag_GCJ=' -z text'
 1.17880 +      if test "$GCC" = yes; then
 1.17881 +	wlarc='${wl}'
 1.17882 +	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17883 +	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 1.17884 +	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 1.17885 +      else
 1.17886 +	wlarc=''
 1.17887 +	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.17888 +	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 1.17889 +  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 1.17890 +      fi
 1.17891 +      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 1.17892 +      hardcode_shlibpath_var_GCJ=no
 1.17893 +      case $host_os in
 1.17894 +      solaris2.[0-5] | solaris2.[0-5].*) ;;
 1.17895 +      *)
 1.17896 + 	# The compiler driver will combine linker options so we
 1.17897 + 	# cannot just pass the convience library names through
 1.17898 + 	# without $wl, iff we do not link with $LD.
 1.17899 + 	# Luckily, gcc supports the same syntax we need for Sun Studio.
 1.17900 + 	# Supported since Solaris 2.6 (maybe 2.5.1?)
 1.17901 + 	case $wlarc in
 1.17902 + 	'')
 1.17903 + 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 1.17904 + 	*)
 1.17905 + 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 1.17906 + 	esac ;;
 1.17907 +      esac
 1.17908 +      link_all_deplibs_GCJ=yes
 1.17909 +      ;;
 1.17910 +
 1.17911 +    sunos4*)
 1.17912 +      if test "x$host_vendor" = xsequent; then
 1.17913 +	# Use $CC to link under sequent, because it throws in some extra .o
 1.17914 +	# files that make .init and .fini sections work.
 1.17915 +	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17916 +      else
 1.17917 +	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 1.17918 +      fi
 1.17919 +      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.17920 +      hardcode_direct_GCJ=yes
 1.17921 +      hardcode_minus_L_GCJ=yes
 1.17922 +      hardcode_shlibpath_var_GCJ=no
 1.17923 +      ;;
 1.17924 +
 1.17925 +    sysv4)
 1.17926 +      case $host_vendor in
 1.17927 +	sni)
 1.17928 +	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.17929 +	  hardcode_direct_GCJ=yes # is this really true???
 1.17930 +	;;
 1.17931 +	siemens)
 1.17932 +	  ## LD is ld it makes a PLAMLIB
 1.17933 +	  ## CC just makes a GrossModule.
 1.17934 +	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 1.17935 +	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
 1.17936 +	  hardcode_direct_GCJ=no
 1.17937 +        ;;
 1.17938 +	motorola)
 1.17939 +	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.17940 +	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
 1.17941 +	;;
 1.17942 +      esac
 1.17943 +      runpath_var='LD_RUN_PATH'
 1.17944 +      hardcode_shlibpath_var_GCJ=no
 1.17945 +      ;;
 1.17946 +
 1.17947 +    sysv4.3*)
 1.17948 +      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.17949 +      hardcode_shlibpath_var_GCJ=no
 1.17950 +      export_dynamic_flag_spec_GCJ='-Bexport'
 1.17951 +      ;;
 1.17952 +
 1.17953 +    sysv4*MP*)
 1.17954 +      if test -d /usr/nec; then
 1.17955 +	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.17956 +	hardcode_shlibpath_var_GCJ=no
 1.17957 +	runpath_var=LD_RUN_PATH
 1.17958 +	hardcode_runpath_var=yes
 1.17959 +	ld_shlibs_GCJ=yes
 1.17960 +      fi
 1.17961 +      ;;
 1.17962 +
 1.17963 +    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 1.17964 +      no_undefined_flag_GCJ='${wl}-z,text'
 1.17965 +      archive_cmds_need_lc_GCJ=no
 1.17966 +      hardcode_shlibpath_var_GCJ=no
 1.17967 +      runpath_var='LD_RUN_PATH'
 1.17968 +
 1.17969 +      if test "$GCC" = yes; then
 1.17970 +	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17971 +	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17972 +      else
 1.17973 +	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17974 +	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17975 +      fi
 1.17976 +      ;;
 1.17977 +
 1.17978 +    sysv5* | sco3.2v5* | sco5v6*)
 1.17979 +      # Note: We can NOT use -z defs as we might desire, because we do not
 1.17980 +      # link with -lc, and that would cause any symbols used from libc to
 1.17981 +      # always be unresolved, which means just about no library would
 1.17982 +      # ever link correctly.  If we're not using GNU ld we use -z text
 1.17983 +      # though, which does catch some bad symbols but isn't as heavy-handed
 1.17984 +      # as -z defs.
 1.17985 +      no_undefined_flag_GCJ='${wl}-z,text'
 1.17986 +      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 1.17987 +      archive_cmds_need_lc_GCJ=no
 1.17988 +      hardcode_shlibpath_var_GCJ=no
 1.17989 +      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 1.17990 +      hardcode_libdir_separator_GCJ=':'
 1.17991 +      link_all_deplibs_GCJ=yes
 1.17992 +      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 1.17993 +      runpath_var='LD_RUN_PATH'
 1.17994 +
 1.17995 +      if test "$GCC" = yes; then
 1.17996 +	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17997 +	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.17998 +      else
 1.17999 +	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.18000 +	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.18001 +      fi
 1.18002 +      ;;
 1.18003 +
 1.18004 +    uts4*)
 1.18005 +      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.18006 +      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 1.18007 +      hardcode_shlibpath_var_GCJ=no
 1.18008 +      ;;
 1.18009 +
 1.18010 +    *)
 1.18011 +      ld_shlibs_GCJ=no
 1.18012 +      ;;
 1.18013 +    esac
 1.18014 +  fi
 1.18015 +
 1.18016 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 1.18017 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
 1.18018 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
 1.18019 +
 1.18020 +#
 1.18021 +# Do we need to explicitly link libc?
 1.18022 +#
 1.18023 +case "x$archive_cmds_need_lc_GCJ" in
 1.18024 +x|xyes)
 1.18025 +  # Assume -lc should be added
 1.18026 +  archive_cmds_need_lc_GCJ=yes
 1.18027 +
 1.18028 +  if test "$enable_shared" = yes && test "$GCC" = yes; then
 1.18029 +    case $archive_cmds_GCJ in
 1.18030 +    *'~'*)
 1.18031 +      # FIXME: we may have to deal with multi-command sequences.
 1.18032 +      ;;
 1.18033 +    '$CC '*)
 1.18034 +      # Test whether the compiler implicitly links with -lc since on some
 1.18035 +      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 1.18036 +      # to ld, don't add -lc before -lgcc.
 1.18037 +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 1.18038 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 1.18039 +      $rm conftest*
 1.18040 +      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.18041 +
 1.18042 +      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1.18043 +  (eval $ac_compile) 2>&5
 1.18044 +  ac_status=$?
 1.18045 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.18046 +  (exit $ac_status); } 2>conftest.err; then
 1.18047 +        soname=conftest
 1.18048 +        lib=conftest
 1.18049 +        libobjs=conftest.$ac_objext
 1.18050 +        deplibs=
 1.18051 +        wl=$lt_prog_compiler_wl_GCJ
 1.18052 +	pic_flag=$lt_prog_compiler_pic_GCJ
 1.18053 +        compiler_flags=-v
 1.18054 +        linker_flags=-v
 1.18055 +        verstring=
 1.18056 +        output_objdir=.
 1.18057 +        libname=conftest
 1.18058 +        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
 1.18059 +        allow_undefined_flag_GCJ=
 1.18060 +        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 1.18061 +  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 1.18062 +  ac_status=$?
 1.18063 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1.18064 +  (exit $ac_status); }
 1.18065 +        then
 1.18066 +	  archive_cmds_need_lc_GCJ=no
 1.18067 +        else
 1.18068 +	  archive_cmds_need_lc_GCJ=yes
 1.18069 +        fi
 1.18070 +        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 1.18071 +      else
 1.18072 +        cat conftest.err 1>&5
 1.18073 +      fi
 1.18074 +      $rm conftest*
 1.18075 +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 1.18076 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
 1.18077 +      ;;
 1.18078 +    esac
 1.18079 +  fi
 1.18080 +  ;;
 1.18081 +esac
 1.18082 +
 1.18083 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 1.18084 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 1.18085 +library_names_spec=
 1.18086 +libname_spec='lib$name'
 1.18087 +soname_spec=
 1.18088 +shrext_cmds=".so"
 1.18089 +postinstall_cmds=
 1.18090 +postuninstall_cmds=
 1.18091 +finish_cmds=
 1.18092 +finish_eval=
 1.18093 +shlibpath_var=
 1.18094 +shlibpath_overrides_runpath=unknown
 1.18095 +version_type=none
 1.18096 +dynamic_linker="$host_os ld.so"
 1.18097 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
 1.18098 +if test "$GCC" = yes; then
 1.18099 +  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 1.18100 +  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 1.18101 +    # if the path contains ";" then we assume it to be the separator
 1.18102 +    # otherwise default to the standard path separator (i.e. ":") - it is
 1.18103 +    # assumed that no part of a normal pathname contains ";" but that should
 1.18104 +    # okay in the real world where ";" in dirpaths is itself problematic.
 1.18105 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 1.18106 +  else
 1.18107 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 1.18108 +  fi
 1.18109 +else
 1.18110 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 1.18111 +fi
 1.18112 +need_lib_prefix=unknown
 1.18113 +hardcode_into_libs=no
 1.18114 +
 1.18115 +# when you set need_version to no, make sure it does not cause -set_version
 1.18116 +# flags to be left without arguments
 1.18117 +need_version=unknown
 1.18118 +
 1.18119 +case $host_os in
 1.18120 +aix3*)
 1.18121 +  version_type=linux
 1.18122 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 1.18123 +  shlibpath_var=LIBPATH
 1.18124 +
 1.18125 +  # AIX 3 has no versioning support, so we append a major version to the name.
 1.18126 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18127 +  ;;
 1.18128 +
 1.18129 +aix4* | aix5*)
 1.18130 +  version_type=linux
 1.18131 +  need_lib_prefix=no
 1.18132 +  need_version=no
 1.18133 +  hardcode_into_libs=yes
 1.18134 +  if test "$host_cpu" = ia64; then
 1.18135 +    # AIX 5 supports IA64
 1.18136 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 1.18137 +    shlibpath_var=LD_LIBRARY_PATH
 1.18138 +  else
 1.18139 +    # With GCC up to 2.95.x, collect2 would create an import file
 1.18140 +    # for dependence libraries.  The import file would start with
 1.18141 +    # the line `#! .'.  This would cause the generated library to
 1.18142 +    # depend on `.', always an invalid library.  This was fixed in
 1.18143 +    # development snapshots of GCC prior to 3.0.
 1.18144 +    case $host_os in
 1.18145 +      aix4 | aix4.[01] | aix4.[01].*)
 1.18146 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 1.18147 +	   echo ' yes '
 1.18148 +	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 1.18149 +	:
 1.18150 +      else
 1.18151 +	can_build_shared=no
 1.18152 +      fi
 1.18153 +      ;;
 1.18154 +    esac
 1.18155 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 1.18156 +    # soname into executable. Probably we can add versioning support to
 1.18157 +    # collect2, so additional links can be useful in future.
 1.18158 +    if test "$aix_use_runtimelinking" = yes; then
 1.18159 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 1.18160 +      # instead of lib<name>.a to let people know that these are not
 1.18161 +      # typical AIX shared libraries.
 1.18162 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18163 +    else
 1.18164 +      # We preserve .a as extension for shared libraries through AIX4.2
 1.18165 +      # and later when we are not doing run time linking.
 1.18166 +      library_names_spec='${libname}${release}.a $libname.a'
 1.18167 +      soname_spec='${libname}${release}${shared_ext}$major'
 1.18168 +    fi
 1.18169 +    shlibpath_var=LIBPATH
 1.18170 +  fi
 1.18171 +  ;;
 1.18172 +
 1.18173 +amigaos*)
 1.18174 +  library_names_spec='$libname.ixlibrary $libname.a'
 1.18175 +  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 1.18176 +  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 1.18177 +  ;;
 1.18178 +
 1.18179 +beos*)
 1.18180 +  library_names_spec='${libname}${shared_ext}'
 1.18181 +  dynamic_linker="$host_os ld.so"
 1.18182 +  shlibpath_var=LIBRARY_PATH
 1.18183 +  ;;
 1.18184 +
 1.18185 +bsdi[45]*)
 1.18186 +  version_type=linux
 1.18187 +  need_version=no
 1.18188 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18189 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18190 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 1.18191 +  shlibpath_var=LD_LIBRARY_PATH
 1.18192 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 1.18193 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 1.18194 +  # the default ld.so.conf also contains /usr/contrib/lib and
 1.18195 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 1.18196 +  # libtool to hard-code these into programs
 1.18197 +  ;;
 1.18198 +
 1.18199 +cygwin* | mingw* | pw32*)
 1.18200 +  version_type=windows
 1.18201 +  shrext_cmds=".dll"
 1.18202 +  need_version=no
 1.18203 +  need_lib_prefix=no
 1.18204 +
 1.18205 +  case $GCC,$host_os in
 1.18206 +  yes,cygwin* | yes,mingw* | yes,pw32*)
 1.18207 +    library_names_spec='$libname.dll.a'
 1.18208 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 1.18209 +    postinstall_cmds='base_file=`basename \${file}`~
 1.18210 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 1.18211 +      dldir=$destdir/`dirname \$dlpath`~
 1.18212 +      test -d \$dldir || mkdir -p \$dldir~
 1.18213 +      $install_prog $dir/$dlname \$dldir/$dlname~
 1.18214 +      chmod a+x \$dldir/$dlname'
 1.18215 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 1.18216 +      dlpath=$dir/\$dldll~
 1.18217 +       $rm \$dlpath'
 1.18218 +    shlibpath_overrides_runpath=yes
 1.18219 +
 1.18220 +    case $host_os in
 1.18221 +    cygwin*)
 1.18222 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 1.18223 +      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.18224 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 1.18225 +      ;;
 1.18226 +    mingw*)
 1.18227 +      # MinGW DLLs use traditional 'lib' prefix
 1.18228 +      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.18229 +      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 1.18230 +      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 1.18231 +        # It is most probably a Windows format PATH printed by
 1.18232 +        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 1.18233 +        # path with ; separators, and with drive letters. We can handle the
 1.18234 +        # drive letters (cygwin fileutils understands them), so leave them,
 1.18235 +        # especially as we might pass files found there to a mingw objdump,
 1.18236 +        # which wouldn't understand a cygwinified path. Ahh.
 1.18237 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 1.18238 +      else
 1.18239 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 1.18240 +      fi
 1.18241 +      ;;
 1.18242 +    pw32*)
 1.18243 +      # pw32 DLLs use 'pw' prefix rather than 'lib'
 1.18244 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.18245 +      ;;
 1.18246 +    esac
 1.18247 +    ;;
 1.18248 +
 1.18249 +  *)
 1.18250 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 1.18251 +    ;;
 1.18252 +  esac
 1.18253 +  dynamic_linker='Win32 ld.exe'
 1.18254 +  # FIXME: first we should search . and the directory the executable is in
 1.18255 +  shlibpath_var=PATH
 1.18256 +  ;;
 1.18257 +
 1.18258 +darwin* | rhapsody*)
 1.18259 +  dynamic_linker="$host_os dyld"
 1.18260 +  version_type=darwin
 1.18261 +  need_lib_prefix=no
 1.18262 +  need_version=no
 1.18263 +  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 1.18264 +  soname_spec='${libname}${release}${major}$shared_ext'
 1.18265 +  shlibpath_overrides_runpath=yes
 1.18266 +  shlibpath_var=DYLD_LIBRARY_PATH
 1.18267 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 1.18268 +  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 1.18269 +  if test "$GCC" = yes; then
 1.18270 +    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 1.18271 +  else
 1.18272 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 1.18273 +  fi
 1.18274 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 1.18275 +  ;;
 1.18276 +
 1.18277 +dgux*)
 1.18278 +  version_type=linux
 1.18279 +  need_lib_prefix=no
 1.18280 +  need_version=no
 1.18281 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 1.18282 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18283 +  shlibpath_var=LD_LIBRARY_PATH
 1.18284 +  ;;
 1.18285 +
 1.18286 +freebsd1*)
 1.18287 +  dynamic_linker=no
 1.18288 +  ;;
 1.18289 +
 1.18290 +kfreebsd*-gnu)
 1.18291 +  version_type=linux
 1.18292 +  need_lib_prefix=no
 1.18293 +  need_version=no
 1.18294 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.18295 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18296 +  shlibpath_var=LD_LIBRARY_PATH
 1.18297 +  shlibpath_overrides_runpath=no
 1.18298 +  hardcode_into_libs=yes
 1.18299 +  dynamic_linker='GNU ld.so'
 1.18300 +  ;;
 1.18301 +
 1.18302 +freebsd* | dragonfly*)
 1.18303 +  # DragonFly does not have aout.  When/if they implement a new
 1.18304 +  # versioning mechanism, adjust this.
 1.18305 +  if test -x /usr/bin/objformat; then
 1.18306 +    objformat=`/usr/bin/objformat`
 1.18307 +  else
 1.18308 +    case $host_os in
 1.18309 +    freebsd[123]*) objformat=aout ;;
 1.18310 +    *) objformat=elf ;;
 1.18311 +    esac
 1.18312 +  fi
 1.18313 +  version_type=freebsd-$objformat
 1.18314 +  case $version_type in
 1.18315 +    freebsd-elf*)
 1.18316 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.18317 +      need_version=no
 1.18318 +      need_lib_prefix=no
 1.18319 +      ;;
 1.18320 +    freebsd-*)
 1.18321 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 1.18322 +      need_version=yes
 1.18323 +      ;;
 1.18324 +  esac
 1.18325 +  shlibpath_var=LD_LIBRARY_PATH
 1.18326 +  case $host_os in
 1.18327 +  freebsd2*)
 1.18328 +    shlibpath_overrides_runpath=yes
 1.18329 +    ;;
 1.18330 +  freebsd3.[01]* | freebsdelf3.[01]*)
 1.18331 +    shlibpath_overrides_runpath=yes
 1.18332 +    hardcode_into_libs=yes
 1.18333 +    ;;
 1.18334 +  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 1.18335 +  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 1.18336 +    shlibpath_overrides_runpath=no
 1.18337 +    hardcode_into_libs=yes
 1.18338 +    ;;
 1.18339 +  freebsd*) # from 4.6 on
 1.18340 +    shlibpath_overrides_runpath=yes
 1.18341 +    hardcode_into_libs=yes
 1.18342 +    ;;
 1.18343 +  esac
 1.18344 +  ;;
 1.18345 +
 1.18346 +gnu*)
 1.18347 +  version_type=linux
 1.18348 +  need_lib_prefix=no
 1.18349 +  need_version=no
 1.18350 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 1.18351 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18352 +  shlibpath_var=LD_LIBRARY_PATH
 1.18353 +  hardcode_into_libs=yes
 1.18354 +  ;;
 1.18355 +
 1.18356 +hpux9* | hpux10* | hpux11*)
 1.18357 +  # Give a soname corresponding to the major version so that dld.sl refuses to
 1.18358 +  # link against other versions.
 1.18359 +  version_type=sunos
 1.18360 +  need_lib_prefix=no
 1.18361 +  need_version=no
 1.18362 +  case $host_cpu in
 1.18363 +  ia64*)
 1.18364 +    shrext_cmds='.so'
 1.18365 +    hardcode_into_libs=yes
 1.18366 +    dynamic_linker="$host_os dld.so"
 1.18367 +    shlibpath_var=LD_LIBRARY_PATH
 1.18368 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.18369 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18370 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.18371 +    if test "X$HPUX_IA64_MODE" = X32; then
 1.18372 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 1.18373 +    else
 1.18374 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 1.18375 +    fi
 1.18376 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.18377 +    ;;
 1.18378 +   hppa*64*)
 1.18379 +     shrext_cmds='.sl'
 1.18380 +     hardcode_into_libs=yes
 1.18381 +     dynamic_linker="$host_os dld.sl"
 1.18382 +     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 1.18383 +     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.18384 +     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18385 +     soname_spec='${libname}${release}${shared_ext}$major'
 1.18386 +     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 1.18387 +     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.18388 +     ;;
 1.18389 +   *)
 1.18390 +    shrext_cmds='.sl'
 1.18391 +    dynamic_linker="$host_os dld.sl"
 1.18392 +    shlibpath_var=SHLIB_PATH
 1.18393 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 1.18394 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18395 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.18396 +    ;;
 1.18397 +  esac
 1.18398 +  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 1.18399 +  postinstall_cmds='chmod 555 $lib'
 1.18400 +  ;;
 1.18401 +
 1.18402 +interix3*)
 1.18403 +  version_type=linux
 1.18404 +  need_lib_prefix=no
 1.18405 +  need_version=no
 1.18406 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.18407 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18408 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 1.18409 +  shlibpath_var=LD_LIBRARY_PATH
 1.18410 +  shlibpath_overrides_runpath=no
 1.18411 +  hardcode_into_libs=yes
 1.18412 +  ;;
 1.18413 +
 1.18414 +irix5* | irix6* | nonstopux*)
 1.18415 +  case $host_os in
 1.18416 +    nonstopux*) version_type=nonstopux ;;
 1.18417 +    *)
 1.18418 +	if test "$lt_cv_prog_gnu_ld" = yes; then
 1.18419 +		version_type=linux
 1.18420 +	else
 1.18421 +		version_type=irix
 1.18422 +	fi ;;
 1.18423 +  esac
 1.18424 +  need_lib_prefix=no
 1.18425 +  need_version=no
 1.18426 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18427 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.18428 +  case $host_os in
 1.18429 +  irix5* | nonstopux*)
 1.18430 +    libsuff= shlibsuff=
 1.18431 +    ;;
 1.18432 +  *)
 1.18433 +    case $LD in # libtool.m4 will add one of these switches to LD
 1.18434 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 1.18435 +      libsuff= shlibsuff= libmagic=32-bit;;
 1.18436 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 1.18437 +      libsuff=32 shlibsuff=N32 libmagic=N32;;
 1.18438 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 1.18439 +      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 1.18440 +    *) libsuff= shlibsuff= libmagic=never-match;;
 1.18441 +    esac
 1.18442 +    ;;
 1.18443 +  esac
 1.18444 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 1.18445 +  shlibpath_overrides_runpath=no
 1.18446 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 1.18447 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 1.18448 +  hardcode_into_libs=yes
 1.18449 +  ;;
 1.18450 +
 1.18451 +# No shared lib support for Linux oldld, aout, or coff.
 1.18452 +linux*oldld* | linux*aout* | linux*coff*)
 1.18453 +  dynamic_linker=no
 1.18454 +  ;;
 1.18455 +
 1.18456 +# This must be Linux ELF.
 1.18457 +linux*)
 1.18458 +  version_type=linux
 1.18459 +  need_lib_prefix=no
 1.18460 +  need_version=no
 1.18461 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18462 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18463 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 1.18464 +  shlibpath_var=LD_LIBRARY_PATH
 1.18465 +  shlibpath_overrides_runpath=no
 1.18466 +  # This implies no fast_install, which is unacceptable.
 1.18467 +  # Some rework will be needed to allow for fast_install
 1.18468 +  # before this can be enabled.
 1.18469 +  hardcode_into_libs=yes
 1.18470 +
 1.18471 +  # Append ld.so.conf contents to the search path
 1.18472 +  if test -f /etc/ld.so.conf; then
 1.18473 +    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 1.18474 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 1.18475 +  fi
 1.18476 +
 1.18477 +  # We used to test for /lib/ld.so.1 and disable shared libraries on
 1.18478 +  # powerpc, because MkLinux only supported shared libraries with the
 1.18479 +  # GNU dynamic linker.  Since this was broken with cross compilers,
 1.18480 +  # most powerpc-linux boxes support dynamic linking these days and
 1.18481 +  # people can always --disable-shared, the test was removed, and we
 1.18482 +  # assume the GNU/Linux dynamic linker is in use.
 1.18483 +  dynamic_linker='GNU/Linux ld.so'
 1.18484 +  ;;
 1.18485 +
 1.18486 +knetbsd*-gnu)
 1.18487 +  version_type=linux
 1.18488 +  need_lib_prefix=no
 1.18489 +  need_version=no
 1.18490 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.18491 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18492 +  shlibpath_var=LD_LIBRARY_PATH
 1.18493 +  shlibpath_overrides_runpath=no
 1.18494 +  hardcode_into_libs=yes
 1.18495 +  dynamic_linker='GNU ld.so'
 1.18496 +  ;;
 1.18497 +
 1.18498 +netbsd*)
 1.18499 +  version_type=sunos
 1.18500 +  need_lib_prefix=no
 1.18501 +  need_version=no
 1.18502 +  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 1.18503 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.18504 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.18505 +    dynamic_linker='NetBSD (a.out) ld.so'
 1.18506 +  else
 1.18507 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.18508 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.18509 +    dynamic_linker='NetBSD ld.elf_so'
 1.18510 +  fi
 1.18511 +  shlibpath_var=LD_LIBRARY_PATH
 1.18512 +  shlibpath_overrides_runpath=yes
 1.18513 +  hardcode_into_libs=yes
 1.18514 +  ;;
 1.18515 +
 1.18516 +newsos6)
 1.18517 +  version_type=linux
 1.18518 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18519 +  shlibpath_var=LD_LIBRARY_PATH
 1.18520 +  shlibpath_overrides_runpath=yes
 1.18521 +  ;;
 1.18522 +
 1.18523 +nto-qnx*)
 1.18524 +  version_type=linux
 1.18525 +  need_lib_prefix=no
 1.18526 +  need_version=no
 1.18527 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18528 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18529 +  shlibpath_var=LD_LIBRARY_PATH
 1.18530 +  shlibpath_overrides_runpath=yes
 1.18531 +  ;;
 1.18532 +
 1.18533 +openbsd*)
 1.18534 +  version_type=sunos
 1.18535 +  sys_lib_dlsearch_path_spec="/usr/lib"
 1.18536 +  need_lib_prefix=no
 1.18537 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 1.18538 +  case $host_os in
 1.18539 +    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 1.18540 +    *)                         need_version=no  ;;
 1.18541 +  esac
 1.18542 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.18543 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.18544 +  shlibpath_var=LD_LIBRARY_PATH
 1.18545 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.18546 +    case $host_os in
 1.18547 +      openbsd2.[89] | openbsd2.[89].*)
 1.18548 +	shlibpath_overrides_runpath=no
 1.18549 +	;;
 1.18550 +      *)
 1.18551 +	shlibpath_overrides_runpath=yes
 1.18552 +	;;
 1.18553 +      esac
 1.18554 +  else
 1.18555 +    shlibpath_overrides_runpath=yes
 1.18556 +  fi
 1.18557 +  ;;
 1.18558 +
 1.18559 +os2*)
 1.18560 +  libname_spec='$name'
 1.18561 +  shrext_cmds=".dll"
 1.18562 +  need_lib_prefix=no
 1.18563 +  library_names_spec='$libname${shared_ext} $libname.a'
 1.18564 +  dynamic_linker='OS/2 ld.exe'
 1.18565 +  shlibpath_var=LIBPATH
 1.18566 +  ;;
 1.18567 +
 1.18568 +osf3* | osf4* | osf5*)
 1.18569 +  version_type=osf
 1.18570 +  need_lib_prefix=no
 1.18571 +  need_version=no
 1.18572 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18573 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18574 +  shlibpath_var=LD_LIBRARY_PATH
 1.18575 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 1.18576 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 1.18577 +  ;;
 1.18578 +
 1.18579 +solaris*)
 1.18580 +  version_type=linux
 1.18581 +  need_lib_prefix=no
 1.18582 +  need_version=no
 1.18583 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18584 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18585 +  shlibpath_var=LD_LIBRARY_PATH
 1.18586 +  shlibpath_overrides_runpath=yes
 1.18587 +  hardcode_into_libs=yes
 1.18588 +  # ldd complains unless libraries are executable
 1.18589 +  postinstall_cmds='chmod +x $lib'
 1.18590 +  ;;
 1.18591 +
 1.18592 +sunos4*)
 1.18593 +  version_type=sunos
 1.18594 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.18595 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 1.18596 +  shlibpath_var=LD_LIBRARY_PATH
 1.18597 +  shlibpath_overrides_runpath=yes
 1.18598 +  if test "$with_gnu_ld" = yes; then
 1.18599 +    need_lib_prefix=no
 1.18600 +  fi
 1.18601 +  need_version=yes
 1.18602 +  ;;
 1.18603 +
 1.18604 +sysv4 | sysv4.3*)
 1.18605 +  version_type=linux
 1.18606 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18607 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18608 +  shlibpath_var=LD_LIBRARY_PATH
 1.18609 +  case $host_vendor in
 1.18610 +    sni)
 1.18611 +      shlibpath_overrides_runpath=no
 1.18612 +      need_lib_prefix=no
 1.18613 +      export_dynamic_flag_spec='${wl}-Blargedynsym'
 1.18614 +      runpath_var=LD_RUN_PATH
 1.18615 +      ;;
 1.18616 +    siemens)
 1.18617 +      need_lib_prefix=no
 1.18618 +      ;;
 1.18619 +    motorola)
 1.18620 +      need_lib_prefix=no
 1.18621 +      need_version=no
 1.18622 +      shlibpath_overrides_runpath=no
 1.18623 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 1.18624 +      ;;
 1.18625 +  esac
 1.18626 +  ;;
 1.18627 +
 1.18628 +sysv4*MP*)
 1.18629 +  if test -d /usr/nec ;then
 1.18630 +    version_type=linux
 1.18631 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 1.18632 +    soname_spec='$libname${shared_ext}.$major'
 1.18633 +    shlibpath_var=LD_LIBRARY_PATH
 1.18634 +  fi
 1.18635 +  ;;
 1.18636 +
 1.18637 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 1.18638 +  version_type=freebsd-elf
 1.18639 +  need_lib_prefix=no
 1.18640 +  need_version=no
 1.18641 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.18642 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18643 +  shlibpath_var=LD_LIBRARY_PATH
 1.18644 +  hardcode_into_libs=yes
 1.18645 +  if test "$with_gnu_ld" = yes; then
 1.18646 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 1.18647 +    shlibpath_overrides_runpath=no
 1.18648 +  else
 1.18649 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 1.18650 +    shlibpath_overrides_runpath=yes
 1.18651 +    case $host_os in
 1.18652 +      sco3.2v5*)
 1.18653 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 1.18654 +	;;
 1.18655 +    esac
 1.18656 +  fi
 1.18657 +  sys_lib_dlsearch_path_spec='/usr/lib'
 1.18658 +  ;;
 1.18659 +
 1.18660 +uts4*)
 1.18661 +  version_type=linux
 1.18662 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.18663 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.18664 +  shlibpath_var=LD_LIBRARY_PATH
 1.18665 +  ;;
 1.18666 +
 1.18667 +*)
 1.18668 +  dynamic_linker=no
 1.18669 +  ;;
 1.18670 +esac
 1.18671 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 1.18672 +echo "${ECHO_T}$dynamic_linker" >&6; }
 1.18673 +test "$dynamic_linker" = no && can_build_shared=no
 1.18674 +
 1.18675 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 1.18676 +if test "$GCC" = yes; then
 1.18677 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 1.18678 +fi
 1.18679 +
 1.18680 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 1.18681 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 1.18682 +hardcode_action_GCJ=
 1.18683 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 1.18684 +   test -n "$runpath_var_GCJ" || \
 1.18685 +   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
 1.18686 +
 1.18687 +  # We can hardcode non-existant directories.
 1.18688 +  if test "$hardcode_direct_GCJ" != no &&
 1.18689 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 1.18690 +     # have to relink, otherwise we might link with an installed library
 1.18691 +     # when we should be linking with a yet-to-be-installed one
 1.18692 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
 1.18693 +     test "$hardcode_minus_L_GCJ" != no; then
 1.18694 +    # Linking always hardcodes the temporary library directory.
 1.18695 +    hardcode_action_GCJ=relink
 1.18696 +  else
 1.18697 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 1.18698 +    hardcode_action_GCJ=immediate
 1.18699 +  fi
 1.18700 +else
 1.18701 +  # We cannot hardcode anything, or else we can only hardcode existing
 1.18702 +  # directories.
 1.18703 +  hardcode_action_GCJ=unsupported
 1.18704 +fi
 1.18705 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 1.18706 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
 1.18707 +
 1.18708 +if test "$hardcode_action_GCJ" = relink; then
 1.18709 +  # Fast installation is not supported
 1.18710 +  enable_fast_install=no
 1.18711 +elif test "$shlibpath_overrides_runpath" = yes ||
 1.18712 +     test "$enable_shared" = no; then
 1.18713 +  # Fast installation is not necessary
 1.18714 +  enable_fast_install=needless
 1.18715 +fi
 1.18716 +
 1.18717 +
 1.18718 +# The else clause should only fire when bootstrapping the
 1.18719 +# libtool distribution, otherwise you forgot to ship ltmain.sh
 1.18720 +# with your package, and you will get complaints that there are
 1.18721 +# no rules to generate ltmain.sh.
 1.18722 +if test -f "$ltmain"; then
 1.18723 +  # See if we are running on zsh, and set the options which allow our commands through
 1.18724 +  # without removal of \ escapes.
 1.18725 +  if test -n "${ZSH_VERSION+set}" ; then
 1.18726 +    setopt NO_GLOB_SUBST
 1.18727 +  fi
 1.18728 +  # Now quote all the things that may contain metacharacters while being
 1.18729 +  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 1.18730 +  # variables and quote the copies for generation of the libtool script.
 1.18731 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 1.18732 +    SED SHELL STRIP \
 1.18733 +    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 1.18734 +    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 1.18735 +    deplibs_check_method reload_flag reload_cmds need_locks \
 1.18736 +    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 1.18737 +    lt_cv_sys_global_symbol_to_c_name_address \
 1.18738 +    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 1.18739 +    old_postinstall_cmds old_postuninstall_cmds \
 1.18740 +    compiler_GCJ \
 1.18741 +    CC_GCJ \
 1.18742 +    LD_GCJ \
 1.18743 +    lt_prog_compiler_wl_GCJ \
 1.18744 +    lt_prog_compiler_pic_GCJ \
 1.18745 +    lt_prog_compiler_static_GCJ \
 1.18746 +    lt_prog_compiler_no_builtin_flag_GCJ \
 1.18747 +    export_dynamic_flag_spec_GCJ \
 1.18748 +    thread_safe_flag_spec_GCJ \
 1.18749 +    whole_archive_flag_spec_GCJ \
 1.18750 +    enable_shared_with_static_runtimes_GCJ \
 1.18751 +    old_archive_cmds_GCJ \
 1.18752 +    old_archive_from_new_cmds_GCJ \
 1.18753 +    predep_objects_GCJ \
 1.18754 +    postdep_objects_GCJ \
 1.18755 +    predeps_GCJ \
 1.18756 +    postdeps_GCJ \
 1.18757 +    compiler_lib_search_path_GCJ \
 1.18758 +    archive_cmds_GCJ \
 1.18759 +    archive_expsym_cmds_GCJ \
 1.18760 +    postinstall_cmds_GCJ \
 1.18761 +    postuninstall_cmds_GCJ \
 1.18762 +    old_archive_from_expsyms_cmds_GCJ \
 1.18763 +    allow_undefined_flag_GCJ \
 1.18764 +    no_undefined_flag_GCJ \
 1.18765 +    export_symbols_cmds_GCJ \
 1.18766 +    hardcode_libdir_flag_spec_GCJ \
 1.18767 +    hardcode_libdir_flag_spec_ld_GCJ \
 1.18768 +    hardcode_libdir_separator_GCJ \
 1.18769 +    hardcode_automatic_GCJ \
 1.18770 +    module_cmds_GCJ \
 1.18771 +    module_expsym_cmds_GCJ \
 1.18772 +    lt_cv_prog_compiler_c_o_GCJ \
 1.18773 +    exclude_expsyms_GCJ \
 1.18774 +    include_expsyms_GCJ; do
 1.18775 +
 1.18776 +    case $var in
 1.18777 +    old_archive_cmds_GCJ | \
 1.18778 +    old_archive_from_new_cmds_GCJ | \
 1.18779 +    archive_cmds_GCJ | \
 1.18780 +    archive_expsym_cmds_GCJ | \
 1.18781 +    module_cmds_GCJ | \
 1.18782 +    module_expsym_cmds_GCJ | \
 1.18783 +    old_archive_from_expsyms_cmds_GCJ | \
 1.18784 +    export_symbols_cmds_GCJ | \
 1.18785 +    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 1.18786 +    postinstall_cmds | postuninstall_cmds | \
 1.18787 +    old_postinstall_cmds | old_postuninstall_cmds | \
 1.18788 +    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 1.18789 +      # Double-quote double-evaled strings.
 1.18790 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 1.18791 +      ;;
 1.18792 +    *)
 1.18793 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 1.18794 +      ;;
 1.18795 +    esac
 1.18796 +  done
 1.18797 +
 1.18798 +  case $lt_echo in
 1.18799 +  *'\$0 --fallback-echo"')
 1.18800 +    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 1.18801 +    ;;
 1.18802 +  esac
 1.18803 +
 1.18804 +cfgfile="$ofile"
 1.18805 +
 1.18806 +  cat <<__EOF__ >> "$cfgfile"
 1.18807 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 1.18808 +
 1.18809 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 1.18810 +
 1.18811 +# Shell to use when invoking shell scripts.
 1.18812 +SHELL=$lt_SHELL
 1.18813 +
 1.18814 +# Whether or not to build shared libraries.
 1.18815 +build_libtool_libs=$enable_shared
 1.18816 +
 1.18817 +# Whether or not to build static libraries.
 1.18818 +build_old_libs=$enable_static
 1.18819 +
 1.18820 +# Whether or not to add -lc for building shared libraries.
 1.18821 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
 1.18822 +
 1.18823 +# Whether or not to disallow shared libs when runtime libs are static
 1.18824 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
 1.18825 +
 1.18826 +# Whether or not to optimize for fast installation.
 1.18827 +fast_install=$enable_fast_install
 1.18828 +
 1.18829 +# The host system.
 1.18830 +host_alias=$host_alias
 1.18831 +host=$host
 1.18832 +host_os=$host_os
 1.18833 +
 1.18834 +# The build system.
 1.18835 +build_alias=$build_alias
 1.18836 +build=$build
 1.18837 +build_os=$build_os
 1.18838 +
 1.18839 +# An echo program that does not interpret backslashes.
 1.18840 +echo=$lt_echo
 1.18841 +
 1.18842 +# The archiver.
 1.18843 +AR=$lt_AR
 1.18844 +AR_FLAGS=$lt_AR_FLAGS
 1.18845 +
 1.18846 +# A C compiler.
 1.18847 +LTCC=$lt_LTCC
 1.18848 +
 1.18849 +# LTCC compiler flags.
 1.18850 +LTCFLAGS=$lt_LTCFLAGS
 1.18851 +
 1.18852 +# A language-specific compiler.
 1.18853 +CC=$lt_compiler_GCJ
 1.18854 +
 1.18855 +# Is the compiler the GNU C compiler?
 1.18856 +with_gcc=$GCC_GCJ
 1.18857 +
 1.18858 +# An ERE matcher.
 1.18859 +EGREP=$lt_EGREP
 1.18860 +
 1.18861 +# The linker used to build libraries.
 1.18862 +LD=$lt_LD_GCJ
 1.18863 +
 1.18864 +# Whether we need hard or soft links.
 1.18865 +LN_S=$lt_LN_S
 1.18866 +
 1.18867 +# A BSD-compatible nm program.
 1.18868 +NM=$lt_NM
 1.18869 +
 1.18870 +# A symbol stripping program
 1.18871 +STRIP=$lt_STRIP
 1.18872 +
 1.18873 +# Used to examine libraries when file_magic_cmd begins "file"
 1.18874 +MAGIC_CMD=$MAGIC_CMD
 1.18875 +
 1.18876 +# Used on cygwin: DLL creation program.
 1.18877 +DLLTOOL="$DLLTOOL"
 1.18878 +
 1.18879 +# Used on cygwin: object dumper.
 1.18880 +OBJDUMP="$OBJDUMP"
 1.18881 +
 1.18882 +# Used on cygwin: assembler.
 1.18883 +AS="$AS"
 1.18884 +
 1.18885 +# The name of the directory that contains temporary libtool files.
 1.18886 +objdir=$objdir
 1.18887 +
 1.18888 +# How to create reloadable object files.
 1.18889 +reload_flag=$lt_reload_flag
 1.18890 +reload_cmds=$lt_reload_cmds
 1.18891 +
 1.18892 +# How to pass a linker flag through the compiler.
 1.18893 +wl=$lt_lt_prog_compiler_wl_GCJ
 1.18894 +
 1.18895 +# Object file suffix (normally "o").
 1.18896 +objext="$ac_objext"
 1.18897 +
 1.18898 +# Old archive suffix (normally "a").
 1.18899 +libext="$libext"
 1.18900 +
 1.18901 +# Shared library suffix (normally ".so").
 1.18902 +shrext_cmds='$shrext_cmds'
 1.18903 +
 1.18904 +# Executable file suffix (normally "").
 1.18905 +exeext="$exeext"
 1.18906 +
 1.18907 +# Additional compiler flags for building library objects.
 1.18908 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
 1.18909 +pic_mode=$pic_mode
 1.18910 +
 1.18911 +# What is the maximum length of a command?
 1.18912 +max_cmd_len=$lt_cv_sys_max_cmd_len
 1.18913 +
 1.18914 +# Does compiler simultaneously support -c and -o options?
 1.18915 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
 1.18916 +
 1.18917 +# Must we lock files when doing compilation?
 1.18918 +need_locks=$lt_need_locks
 1.18919 +
 1.18920 +# Do we need the lib prefix for modules?
 1.18921 +need_lib_prefix=$need_lib_prefix
 1.18922 +
 1.18923 +# Do we need a version for libraries?
 1.18924 +need_version=$need_version
 1.18925 +
 1.18926 +# Whether dlopen is supported.
 1.18927 +dlopen_support=$enable_dlopen
 1.18928 +
 1.18929 +# Whether dlopen of programs is supported.
 1.18930 +dlopen_self=$enable_dlopen_self
 1.18931 +
 1.18932 +# Whether dlopen of statically linked programs is supported.
 1.18933 +dlopen_self_static=$enable_dlopen_self_static
 1.18934 +
 1.18935 +# Compiler flag to prevent dynamic linking.
 1.18936 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
 1.18937 +
 1.18938 +# Compiler flag to turn off builtin functions.
 1.18939 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
 1.18940 +
 1.18941 +# Compiler flag to allow reflexive dlopens.
 1.18942 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
 1.18943 +
 1.18944 +# Compiler flag to generate shared objects directly from archives.
 1.18945 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
 1.18946 +
 1.18947 +# Compiler flag to generate thread-safe objects.
 1.18948 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
 1.18949 +
 1.18950 +# Library versioning type.
 1.18951 +version_type=$version_type
 1.18952 +
 1.18953 +# Format of library name prefix.
 1.18954 +libname_spec=$lt_libname_spec
 1.18955 +
 1.18956 +# List of archive names.  First name is the real one, the rest are links.
 1.18957 +# The last name is the one that the linker finds with -lNAME.
 1.18958 +library_names_spec=$lt_library_names_spec
 1.18959 +
 1.18960 +# The coded name of the library, if different from the real name.
 1.18961 +soname_spec=$lt_soname_spec
 1.18962 +
 1.18963 +# Commands used to build and install an old-style archive.
 1.18964 +RANLIB=$lt_RANLIB
 1.18965 +old_archive_cmds=$lt_old_archive_cmds_GCJ
 1.18966 +old_postinstall_cmds=$lt_old_postinstall_cmds
 1.18967 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
 1.18968 +
 1.18969 +# Create an old-style archive from a shared archive.
 1.18970 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
 1.18971 +
 1.18972 +# Create a temporary old-style archive to link instead of a shared archive.
 1.18973 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
 1.18974 +
 1.18975 +# Commands used to build and install a shared archive.
 1.18976 +archive_cmds=$lt_archive_cmds_GCJ
 1.18977 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
 1.18978 +postinstall_cmds=$lt_postinstall_cmds
 1.18979 +postuninstall_cmds=$lt_postuninstall_cmds
 1.18980 +
 1.18981 +# Commands used to build a loadable module (assumed same as above if empty)
 1.18982 +module_cmds=$lt_module_cmds_GCJ
 1.18983 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
 1.18984 +
 1.18985 +# Commands to strip libraries.
 1.18986 +old_striplib=$lt_old_striplib
 1.18987 +striplib=$lt_striplib
 1.18988 +
 1.18989 +# Dependencies to place before the objects being linked to create a
 1.18990 +# shared library.
 1.18991 +predep_objects=$lt_predep_objects_GCJ
 1.18992 +
 1.18993 +# Dependencies to place after the objects being linked to create a
 1.18994 +# shared library.
 1.18995 +postdep_objects=$lt_postdep_objects_GCJ
 1.18996 +
 1.18997 +# Dependencies to place before the objects being linked to create a
 1.18998 +# shared library.
 1.18999 +predeps=$lt_predeps_GCJ
 1.19000 +
 1.19001 +# Dependencies to place after the objects being linked to create a
 1.19002 +# shared library.
 1.19003 +postdeps=$lt_postdeps_GCJ
 1.19004 +
 1.19005 +# The library search path used internally by the compiler when linking
 1.19006 +# a shared library.
 1.19007 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
 1.19008 +
 1.19009 +# Method to check whether dependent libraries are shared objects.
 1.19010 +deplibs_check_method=$lt_deplibs_check_method
 1.19011 +
 1.19012 +# Command to use when deplibs_check_method == file_magic.
 1.19013 +file_magic_cmd=$lt_file_magic_cmd
 1.19014 +
 1.19015 +# Flag that allows shared libraries with undefined symbols to be built.
 1.19016 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
 1.19017 +
 1.19018 +# Flag that forces no undefined symbols.
 1.19019 +no_undefined_flag=$lt_no_undefined_flag_GCJ
 1.19020 +
 1.19021 +# Commands used to finish a libtool library installation in a directory.
 1.19022 +finish_cmds=$lt_finish_cmds
 1.19023 +
 1.19024 +# Same as above, but a single script fragment to be evaled but not shown.
 1.19025 +finish_eval=$lt_finish_eval
 1.19026 +
 1.19027 +# Take the output of nm and produce a listing of raw symbols and C names.
 1.19028 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 1.19029 +
 1.19030 +# Transform the output of nm in a proper C declaration
 1.19031 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 1.19032 +
 1.19033 +# Transform the output of nm in a C name address pair
 1.19034 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 1.19035 +
 1.19036 +# This is the shared library runtime path variable.
 1.19037 +runpath_var=$runpath_var
 1.19038 +
 1.19039 +# This is the shared library path variable.
 1.19040 +shlibpath_var=$shlibpath_var
 1.19041 +
 1.19042 +# Is shlibpath searched before the hard-coded library search path?
 1.19043 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 1.19044 +
 1.19045 +# How to hardcode a shared library path into an executable.
 1.19046 +hardcode_action=$hardcode_action_GCJ
 1.19047 +
 1.19048 +# Whether we should hardcode library paths into libraries.
 1.19049 +hardcode_into_libs=$hardcode_into_libs
 1.19050 +
 1.19051 +# Flag to hardcode \$libdir into a binary during linking.
 1.19052 +# This must work even if \$libdir does not exist.
 1.19053 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
 1.19054 +
 1.19055 +# If ld is used when linking, flag to hardcode \$libdir into
 1.19056 +# a binary during linking. This must work even if \$libdir does
 1.19057 +# not exist.
 1.19058 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
 1.19059 +
 1.19060 +# Whether we need a single -rpath flag with a separated argument.
 1.19061 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
 1.19062 +
 1.19063 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 1.19064 +# resulting binary.
 1.19065 +hardcode_direct=$hardcode_direct_GCJ
 1.19066 +
 1.19067 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 1.19068 +# resulting binary.
 1.19069 +hardcode_minus_L=$hardcode_minus_L_GCJ
 1.19070 +
 1.19071 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 1.19072 +# the resulting binary.
 1.19073 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
 1.19074 +
 1.19075 +# Set to yes if building a shared library automatically hardcodes DIR into the library
 1.19076 +# and all subsequent libraries and executables linked against it.
 1.19077 +hardcode_automatic=$hardcode_automatic_GCJ
 1.19078 +
 1.19079 +# Variables whose values should be saved in libtool wrapper scripts and
 1.19080 +# restored at relink time.
 1.19081 +variables_saved_for_relink="$variables_saved_for_relink"
 1.19082 +
 1.19083 +# Whether libtool must link a program against all its dependency libraries.
 1.19084 +link_all_deplibs=$link_all_deplibs_GCJ
 1.19085 +
 1.19086 +# Compile-time system search path for libraries
 1.19087 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 1.19088 +
 1.19089 +# Run-time system search path for libraries
 1.19090 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 1.19091 +
 1.19092 +# Fix the shell variable \$srcfile for the compiler.
 1.19093 +fix_srcfile_path="$fix_srcfile_path_GCJ"
 1.19094 +
 1.19095 +# Set to yes if exported symbols are required.
 1.19096 +always_export_symbols=$always_export_symbols_GCJ
 1.19097 +
 1.19098 +# The commands to list exported symbols.
 1.19099 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
 1.19100 +
 1.19101 +# The commands to extract the exported symbol list from a shared archive.
 1.19102 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
 1.19103 +
 1.19104 +# Symbols that should not be listed in the preloaded symbols.
 1.19105 +exclude_expsyms=$lt_exclude_expsyms_GCJ
 1.19106 +
 1.19107 +# Symbols that must always be exported.
 1.19108 +include_expsyms=$lt_include_expsyms_GCJ
 1.19109 +
 1.19110 +# ### END LIBTOOL TAG CONFIG: $tagname
 1.19111 +
 1.19112 +__EOF__
 1.19113 +
 1.19114 +
 1.19115 +else
 1.19116 +  # If there is no Makefile yet, we rely on a make rule to execute
 1.19117 +  # `config.status --recheck' to rerun these tests and create the
 1.19118 +  # libtool script then.
 1.19119 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 1.19120 +  if test -f "$ltmain_in"; then
 1.19121 +    test -f Makefile && make "$ltmain"
 1.19122 +  fi
 1.19123 +fi
 1.19124 +
 1.19125 +
 1.19126 +ac_ext=cpp
 1.19127 +ac_cpp='$CXXCPP $CPPFLAGS'
 1.19128 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.19129 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.19130 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 1.19131 +
 1.19132 +CC="$lt_save_CC"
 1.19133 +
 1.19134 +	else
 1.19135 +	  tagname=""
 1.19136 +	fi
 1.19137 +	;;
 1.19138 +
 1.19139 +      RC)
 1.19140 +
 1.19141 +
 1.19142 +# Source file extension for RC test sources.
 1.19143 +ac_ext=rc
 1.19144 +
 1.19145 +# Object file extension for compiled RC test sources.
 1.19146 +objext=o
 1.19147 +objext_RC=$objext
 1.19148 +
 1.19149 +# Code to be used in simple compile tests
 1.19150 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 1.19151 +
 1.19152 +# Code to be used in simple link tests
 1.19153 +lt_simple_link_test_code="$lt_simple_compile_test_code"
 1.19154 +
 1.19155 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 1.19156 +
 1.19157 +# If no C compiler was specified, use CC.
 1.19158 +LTCC=${LTCC-"$CC"}
 1.19159 +
 1.19160 +# If no C compiler flags were specified, use CFLAGS.
 1.19161 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 1.19162 +
 1.19163 +# Allow CC to be a program name with arguments.
 1.19164 +compiler=$CC
 1.19165 +
 1.19166 +
 1.19167 +# save warnings/boilerplate of simple test code
 1.19168 +ac_outfile=conftest.$ac_objext
 1.19169 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 1.19170 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.19171 +_lt_compiler_boilerplate=`cat conftest.err`
 1.19172 +$rm conftest*
 1.19173 +
 1.19174 +ac_outfile=conftest.$ac_objext
 1.19175 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
 1.19176 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 1.19177 +_lt_linker_boilerplate=`cat conftest.err`
 1.19178 +$rm conftest*
 1.19179 +
 1.19180 +
 1.19181 +# Allow CC to be a program name with arguments.
 1.19182 +lt_save_CC="$CC"
 1.19183 +CC=${RC-"windres"}
 1.19184 +compiler=$CC
 1.19185 +compiler_RC=$CC
 1.19186 +for cc_temp in $compiler""; do
 1.19187 +  case $cc_temp in
 1.19188 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 1.19189 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 1.19190 +    \-*) ;;
 1.19191 +    *) break;;
 1.19192 +  esac
 1.19193 +done
 1.19194 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 1.19195 +
 1.19196 +lt_cv_prog_compiler_c_o_RC=yes
 1.19197 +
 1.19198 +# The else clause should only fire when bootstrapping the
 1.19199 +# libtool distribution, otherwise you forgot to ship ltmain.sh
 1.19200 +# with your package, and you will get complaints that there are
 1.19201 +# no rules to generate ltmain.sh.
 1.19202 +if test -f "$ltmain"; then
 1.19203 +  # See if we are running on zsh, and set the options which allow our commands through
 1.19204 +  # without removal of \ escapes.
 1.19205 +  if test -n "${ZSH_VERSION+set}" ; then
 1.19206 +    setopt NO_GLOB_SUBST
 1.19207 +  fi
 1.19208 +  # Now quote all the things that may contain metacharacters while being
 1.19209 +  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 1.19210 +  # variables and quote the copies for generation of the libtool script.
 1.19211 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 1.19212 +    SED SHELL STRIP \
 1.19213 +    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 1.19214 +    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 1.19215 +    deplibs_check_method reload_flag reload_cmds need_locks \
 1.19216 +    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 1.19217 +    lt_cv_sys_global_symbol_to_c_name_address \
 1.19218 +    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 1.19219 +    old_postinstall_cmds old_postuninstall_cmds \
 1.19220 +    compiler_RC \
 1.19221 +    CC_RC \
 1.19222 +    LD_RC \
 1.19223 +    lt_prog_compiler_wl_RC \
 1.19224 +    lt_prog_compiler_pic_RC \
 1.19225 +    lt_prog_compiler_static_RC \
 1.19226 +    lt_prog_compiler_no_builtin_flag_RC \
 1.19227 +    export_dynamic_flag_spec_RC \
 1.19228 +    thread_safe_flag_spec_RC \
 1.19229 +    whole_archive_flag_spec_RC \
 1.19230 +    enable_shared_with_static_runtimes_RC \
 1.19231 +    old_archive_cmds_RC \
 1.19232 +    old_archive_from_new_cmds_RC \
 1.19233 +    predep_objects_RC \
 1.19234 +    postdep_objects_RC \
 1.19235 +    predeps_RC \
 1.19236 +    postdeps_RC \
 1.19237 +    compiler_lib_search_path_RC \
 1.19238 +    archive_cmds_RC \
 1.19239 +    archive_expsym_cmds_RC \
 1.19240 +    postinstall_cmds_RC \
 1.19241 +    postuninstall_cmds_RC \
 1.19242 +    old_archive_from_expsyms_cmds_RC \
 1.19243 +    allow_undefined_flag_RC \
 1.19244 +    no_undefined_flag_RC \
 1.19245 +    export_symbols_cmds_RC \
 1.19246 +    hardcode_libdir_flag_spec_RC \
 1.19247 +    hardcode_libdir_flag_spec_ld_RC \
 1.19248 +    hardcode_libdir_separator_RC \
 1.19249 +    hardcode_automatic_RC \
 1.19250 +    module_cmds_RC \
 1.19251 +    module_expsym_cmds_RC \
 1.19252 +    lt_cv_prog_compiler_c_o_RC \
 1.19253 +    exclude_expsyms_RC \
 1.19254 +    include_expsyms_RC; do
 1.19255 +
 1.19256 +    case $var in
 1.19257 +    old_archive_cmds_RC | \
 1.19258 +    old_archive_from_new_cmds_RC | \
 1.19259 +    archive_cmds_RC | \
 1.19260 +    archive_expsym_cmds_RC | \
 1.19261 +    module_cmds_RC | \
 1.19262 +    module_expsym_cmds_RC | \
 1.19263 +    old_archive_from_expsyms_cmds_RC | \
 1.19264 +    export_symbols_cmds_RC | \
 1.19265 +    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 1.19266 +    postinstall_cmds | postuninstall_cmds | \
 1.19267 +    old_postinstall_cmds | old_postuninstall_cmds | \
 1.19268 +    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 1.19269 +      # Double-quote double-evaled strings.
 1.19270 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 1.19271 +      ;;
 1.19272 +    *)
 1.19273 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 1.19274 +      ;;
 1.19275 +    esac
 1.19276 +  done
 1.19277 +
 1.19278 +  case $lt_echo in
 1.19279 +  *'\$0 --fallback-echo"')
 1.19280 +    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 1.19281 +    ;;
 1.19282 +  esac
 1.19283 +
 1.19284 +cfgfile="$ofile"
 1.19285 +
 1.19286 +  cat <<__EOF__ >> "$cfgfile"
 1.19287 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 1.19288 +
 1.19289 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 1.19290 +
 1.19291 +# Shell to use when invoking shell scripts.
 1.19292 +SHELL=$lt_SHELL
 1.19293 +
 1.19294 +# Whether or not to build shared libraries.
 1.19295 +build_libtool_libs=$enable_shared
 1.19296 +
 1.19297 +# Whether or not to build static libraries.
 1.19298 +build_old_libs=$enable_static
 1.19299 +
 1.19300 +# Whether or not to add -lc for building shared libraries.
 1.19301 +build_libtool_need_lc=$archive_cmds_need_lc_RC
 1.19302 +
 1.19303 +# Whether or not to disallow shared libs when runtime libs are static
 1.19304 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 1.19305 +
 1.19306 +# Whether or not to optimize for fast installation.
 1.19307 +fast_install=$enable_fast_install
 1.19308 +
 1.19309 +# The host system.
 1.19310 +host_alias=$host_alias
 1.19311 +host=$host
 1.19312 +host_os=$host_os
 1.19313 +
 1.19314 +# The build system.
 1.19315 +build_alias=$build_alias
 1.19316 +build=$build
 1.19317 +build_os=$build_os
 1.19318 +
 1.19319 +# An echo program that does not interpret backslashes.
 1.19320 +echo=$lt_echo
 1.19321 +
 1.19322 +# The archiver.
 1.19323 +AR=$lt_AR
 1.19324 +AR_FLAGS=$lt_AR_FLAGS
 1.19325 +
 1.19326 +# A C compiler.
 1.19327 +LTCC=$lt_LTCC
 1.19328 +
 1.19329 +# LTCC compiler flags.
 1.19330 +LTCFLAGS=$lt_LTCFLAGS
 1.19331 +
 1.19332 +# A language-specific compiler.
 1.19333 +CC=$lt_compiler_RC
 1.19334 +
 1.19335 +# Is the compiler the GNU C compiler?
 1.19336 +with_gcc=$GCC_RC
 1.19337 +
 1.19338 +# An ERE matcher.
 1.19339 +EGREP=$lt_EGREP
 1.19340 +
 1.19341 +# The linker used to build libraries.
 1.19342 +LD=$lt_LD_RC
 1.19343 +
 1.19344 +# Whether we need hard or soft links.
 1.19345 +LN_S=$lt_LN_S
 1.19346 +
 1.19347 +# A BSD-compatible nm program.
 1.19348 +NM=$lt_NM
 1.19349 +
 1.19350 +# A symbol stripping program
 1.19351 +STRIP=$lt_STRIP
 1.19352 +
 1.19353 +# Used to examine libraries when file_magic_cmd begins "file"
 1.19354 +MAGIC_CMD=$MAGIC_CMD
 1.19355 +
 1.19356 +# Used on cygwin: DLL creation program.
 1.19357 +DLLTOOL="$DLLTOOL"
 1.19358 +
 1.19359 +# Used on cygwin: object dumper.
 1.19360 +OBJDUMP="$OBJDUMP"
 1.19361 +
 1.19362 +# Used on cygwin: assembler.
 1.19363 +AS="$AS"
 1.19364 +
 1.19365 +# The name of the directory that contains temporary libtool files.
 1.19366 +objdir=$objdir
 1.19367 +
 1.19368 +# How to create reloadable object files.
 1.19369 +reload_flag=$lt_reload_flag
 1.19370 +reload_cmds=$lt_reload_cmds
 1.19371 +
 1.19372 +# How to pass a linker flag through the compiler.
 1.19373 +wl=$lt_lt_prog_compiler_wl_RC
 1.19374 +
 1.19375 +# Object file suffix (normally "o").
 1.19376 +objext="$ac_objext"
 1.19377 +
 1.19378 +# Old archive suffix (normally "a").
 1.19379 +libext="$libext"
 1.19380 +
 1.19381 +# Shared library suffix (normally ".so").
 1.19382 +shrext_cmds='$shrext_cmds'
 1.19383 +
 1.19384 +# Executable file suffix (normally "").
 1.19385 +exeext="$exeext"
 1.19386 +
 1.19387 +# Additional compiler flags for building library objects.
 1.19388 +pic_flag=$lt_lt_prog_compiler_pic_RC
 1.19389 +pic_mode=$pic_mode
 1.19390 +
 1.19391 +# What is the maximum length of a command?
 1.19392 +max_cmd_len=$lt_cv_sys_max_cmd_len
 1.19393 +
 1.19394 +# Does compiler simultaneously support -c and -o options?
 1.19395 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 1.19396 +
 1.19397 +# Must we lock files when doing compilation?
 1.19398 +need_locks=$lt_need_locks
 1.19399 +
 1.19400 +# Do we need the lib prefix for modules?
 1.19401 +need_lib_prefix=$need_lib_prefix
 1.19402 +
 1.19403 +# Do we need a version for libraries?
 1.19404 +need_version=$need_version
 1.19405 +
 1.19406 +# Whether dlopen is supported.
 1.19407 +dlopen_support=$enable_dlopen
 1.19408 +
 1.19409 +# Whether dlopen of programs is supported.
 1.19410 +dlopen_self=$enable_dlopen_self
 1.19411 +
 1.19412 +# Whether dlopen of statically linked programs is supported.
 1.19413 +dlopen_self_static=$enable_dlopen_self_static
 1.19414 +
 1.19415 +# Compiler flag to prevent dynamic linking.
 1.19416 +link_static_flag=$lt_lt_prog_compiler_static_RC
 1.19417 +
 1.19418 +# Compiler flag to turn off builtin functions.
 1.19419 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 1.19420 +
 1.19421 +# Compiler flag to allow reflexive dlopens.
 1.19422 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 1.19423 +
 1.19424 +# Compiler flag to generate shared objects directly from archives.
 1.19425 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 1.19426 +
 1.19427 +# Compiler flag to generate thread-safe objects.
 1.19428 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
 1.19429 +
 1.19430 +# Library versioning type.
 1.19431 +version_type=$version_type
 1.19432 +
 1.19433 +# Format of library name prefix.
 1.19434 +libname_spec=$lt_libname_spec
 1.19435 +
 1.19436 +# List of archive names.  First name is the real one, the rest are links.
 1.19437 +# The last name is the one that the linker finds with -lNAME.
 1.19438 +library_names_spec=$lt_library_names_spec
 1.19439 +
 1.19440 +# The coded name of the library, if different from the real name.
 1.19441 +soname_spec=$lt_soname_spec
 1.19442 +
 1.19443 +# Commands used to build and install an old-style archive.
 1.19444 +RANLIB=$lt_RANLIB
 1.19445 +old_archive_cmds=$lt_old_archive_cmds_RC
 1.19446 +old_postinstall_cmds=$lt_old_postinstall_cmds
 1.19447 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
 1.19448 +
 1.19449 +# Create an old-style archive from a shared archive.
 1.19450 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 1.19451 +
 1.19452 +# Create a temporary old-style archive to link instead of a shared archive.
 1.19453 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 1.19454 +
 1.19455 +# Commands used to build and install a shared archive.
 1.19456 +archive_cmds=$lt_archive_cmds_RC
 1.19457 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 1.19458 +postinstall_cmds=$lt_postinstall_cmds
 1.19459 +postuninstall_cmds=$lt_postuninstall_cmds
 1.19460 +
 1.19461 +# Commands used to build a loadable module (assumed same as above if empty)
 1.19462 +module_cmds=$lt_module_cmds_RC
 1.19463 +module_expsym_cmds=$lt_module_expsym_cmds_RC
 1.19464 +
 1.19465 +# Commands to strip libraries.
 1.19466 +old_striplib=$lt_old_striplib
 1.19467 +striplib=$lt_striplib
 1.19468 +
 1.19469 +# Dependencies to place before the objects being linked to create a
 1.19470 +# shared library.
 1.19471 +predep_objects=$lt_predep_objects_RC
 1.19472 +
 1.19473 +# Dependencies to place after the objects being linked to create a
 1.19474 +# shared library.
 1.19475 +postdep_objects=$lt_postdep_objects_RC
 1.19476 +
 1.19477 +# Dependencies to place before the objects being linked to create a
 1.19478 +# shared library.
 1.19479 +predeps=$lt_predeps_RC
 1.19480 +
 1.19481 +# Dependencies to place after the objects being linked to create a
 1.19482 +# shared library.
 1.19483 +postdeps=$lt_postdeps_RC
 1.19484 +
 1.19485 +# The library search path used internally by the compiler when linking
 1.19486 +# a shared library.
 1.19487 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
 1.19488 +
 1.19489 +# Method to check whether dependent libraries are shared objects.
 1.19490 +deplibs_check_method=$lt_deplibs_check_method
 1.19491 +
 1.19492 +# Command to use when deplibs_check_method == file_magic.
 1.19493 +file_magic_cmd=$lt_file_magic_cmd
 1.19494 +
 1.19495 +# Flag that allows shared libraries with undefined symbols to be built.
 1.19496 +allow_undefined_flag=$lt_allow_undefined_flag_RC
 1.19497 +
 1.19498 +# Flag that forces no undefined symbols.
 1.19499 +no_undefined_flag=$lt_no_undefined_flag_RC
 1.19500 +
 1.19501 +# Commands used to finish a libtool library installation in a directory.
 1.19502 +finish_cmds=$lt_finish_cmds
 1.19503 +
 1.19504 +# Same as above, but a single script fragment to be evaled but not shown.
 1.19505 +finish_eval=$lt_finish_eval
 1.19506 +
 1.19507 +# Take the output of nm and produce a listing of raw symbols and C names.
 1.19508 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 1.19509 +
 1.19510 +# Transform the output of nm in a proper C declaration
 1.19511 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 1.19512 +
 1.19513 +# Transform the output of nm in a C name address pair
 1.19514 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 1.19515 +
 1.19516 +# This is the shared library runtime path variable.
 1.19517 +runpath_var=$runpath_var
 1.19518 +
 1.19519 +# This is the shared library path variable.
 1.19520 +shlibpath_var=$shlibpath_var
 1.19521 +
 1.19522 +# Is shlibpath searched before the hard-coded library search path?
 1.19523 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 1.19524 +
 1.19525 +# How to hardcode a shared library path into an executable.
 1.19526 +hardcode_action=$hardcode_action_RC
 1.19527 +
 1.19528 +# Whether we should hardcode library paths into libraries.
 1.19529 +hardcode_into_libs=$hardcode_into_libs
 1.19530 +
 1.19531 +# Flag to hardcode \$libdir into a binary during linking.
 1.19532 +# This must work even if \$libdir does not exist.
 1.19533 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 1.19534 +
 1.19535 +# If ld is used when linking, flag to hardcode \$libdir into
 1.19536 +# a binary during linking. This must work even if \$libdir does
 1.19537 +# not exist.
 1.19538 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 1.19539 +
 1.19540 +# Whether we need a single -rpath flag with a separated argument.
 1.19541 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 1.19542 +
 1.19543 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 1.19544 +# resulting binary.
 1.19545 +hardcode_direct=$hardcode_direct_RC
 1.19546 +
 1.19547 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 1.19548 +# resulting binary.
 1.19549 +hardcode_minus_L=$hardcode_minus_L_RC
 1.19550 +
 1.19551 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 1.19552 +# the resulting binary.
 1.19553 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 1.19554 +
 1.19555 +# Set to yes if building a shared library automatically hardcodes DIR into the library
 1.19556 +# and all subsequent libraries and executables linked against it.
 1.19557 +hardcode_automatic=$hardcode_automatic_RC
 1.19558 +
 1.19559 +# Variables whose values should be saved in libtool wrapper scripts and
 1.19560 +# restored at relink time.
 1.19561 +variables_saved_for_relink="$variables_saved_for_relink"
 1.19562 +
 1.19563 +# Whether libtool must link a program against all its dependency libraries.
 1.19564 +link_all_deplibs=$link_all_deplibs_RC
 1.19565 +
 1.19566 +# Compile-time system search path for libraries
 1.19567 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 1.19568 +
 1.19569 +# Run-time system search path for libraries
 1.19570 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 1.19571 +
 1.19572 +# Fix the shell variable \$srcfile for the compiler.
 1.19573 +fix_srcfile_path="$fix_srcfile_path_RC"
 1.19574 +
 1.19575 +# Set to yes if exported symbols are required.
 1.19576 +always_export_symbols=$always_export_symbols_RC
 1.19577 +
 1.19578 +# The commands to list exported symbols.
 1.19579 +export_symbols_cmds=$lt_export_symbols_cmds_RC
 1.19580 +
 1.19581 +# The commands to extract the exported symbol list from a shared archive.
 1.19582 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
 1.19583 +
 1.19584 +# Symbols that should not be listed in the preloaded symbols.
 1.19585 +exclude_expsyms=$lt_exclude_expsyms_RC
 1.19586 +
 1.19587 +# Symbols that must always be exported.
 1.19588 +include_expsyms=$lt_include_expsyms_RC
 1.19589 +
 1.19590 +# ### END LIBTOOL TAG CONFIG: $tagname
 1.19591 +
 1.19592 +__EOF__
 1.19593 +
 1.19594 +
 1.19595 +else
 1.19596 +  # If there is no Makefile yet, we rely on a make rule to execute
 1.19597 +  # `config.status --recheck' to rerun these tests and create the
 1.19598 +  # libtool script then.
 1.19599 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 1.19600 +  if test -f "$ltmain_in"; then
 1.19601 +    test -f Makefile && make "$ltmain"
 1.19602 +  fi
 1.19603 +fi
 1.19604 +
 1.19605 +
 1.19606 +ac_ext=cpp
 1.19607 +ac_cpp='$CXXCPP $CPPFLAGS'
 1.19608 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.19609 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.19610 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 1.19611 +
 1.19612 +CC="$lt_save_CC"
 1.19613 +
 1.19614 +	;;
 1.19615 +
 1.19616 +      *)
 1.19617 +	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 1.19618 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 1.19619 +   { (exit 1); exit 1; }; }
 1.19620 +	;;
 1.19621 +      esac
 1.19622 +
 1.19623 +      # Append the new tag name to the list of available tags.
 1.19624 +      if test -n "$tagname" ; then
 1.19625 +      available_tags="$available_tags $tagname"
 1.19626 +    fi
 1.19627 +    fi
 1.19628 +  done
 1.19629 +  IFS="$lt_save_ifs"
 1.19630 +
 1.19631 +  # Now substitute the updated list of available tags.
 1.19632 +  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 1.19633 +    mv "${ofile}T" "$ofile"
 1.19634 +    chmod +x "$ofile"
 1.19635 +  else
 1.19636 +    rm -f "${ofile}T"
 1.19637 +    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 1.19638 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 1.19639 +   { (exit 1); exit 1; }; }
 1.19640 +  fi
 1.19641 +fi
 1.19642 +
 1.19643 +
 1.19644 +
 1.19645 +# This can be used to rebuild libtool when needed
 1.19646 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 1.19647 +
 1.19648 +# Always use our own libtool.
 1.19649 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 1.19650 +
 1.19651 +# Prevent multiple expansion
 1.19652 +
 1.19653 +
 1.19654 +
 1.19655 +
 1.19656 +
 1.19657 +
 1.19658 +
 1.19659 +
 1.19660 +
 1.19661 +
 1.19662 +
 1.19663 +
 1.19664 +
 1.19665 +
 1.19666 +
 1.19667 +
 1.19668 +
 1.19669 +
 1.19670 +
 1.19671 +
 1.19672 +
 1.19673 +ac_config_files="$ac_config_files Makefile src/Makefile"
 1.19674 +
 1.19675 +cat >confcache <<\_ACEOF
 1.19676 +# This file is a shell script that caches the results of configure
 1.19677 +# tests run on this system so they can be shared between configure
 1.19678 +# scripts and configure runs, see configure's option --config-cache.
 1.19679 +# It is not useful on other systems.  If it contains results you don't
 1.19680 +# want to keep, you may remove or edit it.
 1.19681 +#
 1.19682 +# config.status only pays attention to the cache file if you give it
 1.19683 +# the --recheck option to rerun configure.
 1.19684 +#
 1.19685 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
 1.19686 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
 1.19687 +# following values.
 1.19688 +
 1.19689 +_ACEOF
 1.19690 +
 1.19691 +# The following way of writing the cache mishandles newlines in values,
 1.19692 +# but we know of no workaround that is simple, portable, and efficient.
 1.19693 +# So, we kill variables containing newlines.
 1.19694 +# Ultrix sh set writes to stderr and can't be redirected directly,
 1.19695 +# and sets the high bit in the cache file unless we assign to the vars.
 1.19696 +(
 1.19697 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 1.19698 +    eval ac_val=\$$ac_var
 1.19699 +    case $ac_val in #(
 1.19700 +    *${as_nl}*)
 1.19701 +      case $ac_var in #(
 1.19702 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 1.19703 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 1.19704 +      esac
 1.19705 +      case $ac_var in #(
 1.19706 +      _ | IFS | as_nl) ;; #(
 1.19707 +      *) $as_unset $ac_var ;;
 1.19708 +      esac ;;
 1.19709 +    esac
 1.19710 +  done
 1.19711 +
 1.19712 +  (set) 2>&1 |
 1.19713 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 1.19714 +    *${as_nl}ac_space=\ *)
 1.19715 +      # `set' does not quote correctly, so add quotes (double-quote
 1.19716 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
 1.19717 +      sed -n \
 1.19718 +	"s/'/'\\\\''/g;
 1.19719 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 1.19720 +      ;; #(
 1.19721 +    *)
 1.19722 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
 1.19723 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1.19724 +      ;;
 1.19725 +    esac |
 1.19726 +    sort
 1.19727 +) |
 1.19728 +  sed '
 1.19729 +     /^ac_cv_env_/b end
 1.19730 +     t clear
 1.19731 +     :clear
 1.19732 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 1.19733 +     t end
 1.19734 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 1.19735 +     :end' >>confcache
 1.19736 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 1.19737 +  if test -w "$cache_file"; then
 1.19738 +    test "x$cache_file" != "x/dev/null" &&
 1.19739 +      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 1.19740 +echo "$as_me: updating cache $cache_file" >&6;}
 1.19741 +    cat confcache >$cache_file
 1.19742 +  else
 1.19743 +    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 1.19744 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 1.19745 +  fi
 1.19746 +fi
 1.19747 +rm -f confcache
 1.19748 +
 1.19749 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
 1.19750 +# Let make expand exec_prefix.
 1.19751 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 1.19752 +
 1.19753 +DEFS=-DHAVE_CONFIG_H
 1.19754 +
 1.19755 +ac_libobjs=
 1.19756 +ac_ltlibobjs=
 1.19757 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 1.19758 +  # 1. Remove the extension, and $U if already installed.
 1.19759 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 1.19760 +  ac_i=`echo "$ac_i" | sed "$ac_script"`
 1.19761 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 1.19762 +  #    will be set to the directory where LIBOBJS objects are built.
 1.19763 +  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 1.19764 +  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 1.19765 +done
 1.19766 +LIBOBJS=$ac_libobjs
 1.19767 +
 1.19768 +LTLIBOBJS=$ac_ltlibobjs
 1.19769 +
 1.19770 +
 1.19771 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 1.19772 +  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 1.19773 +Usually this means the macro was only invoked conditionally." >&5
 1.19774 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
 1.19775 +Usually this means the macro was only invoked conditionally." >&2;}
 1.19776 +   { (exit 1); exit 1; }; }
 1.19777 +fi
 1.19778 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 1.19779 +  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 1.19780 +Usually this means the macro was only invoked conditionally." >&5
 1.19781 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 1.19782 +Usually this means the macro was only invoked conditionally." >&2;}
 1.19783 +   { (exit 1); exit 1; }; }
 1.19784 +fi
 1.19785 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 1.19786 +  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 1.19787 +Usually this means the macro was only invoked conditionally." >&5
 1.19788 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 1.19789 +Usually this means the macro was only invoked conditionally." >&2;}
 1.19790 +   { (exit 1); exit 1; }; }
 1.19791 +fi
 1.19792 +
 1.19793 +: ${CONFIG_STATUS=./config.status}
 1.19794 +ac_clean_files_save=$ac_clean_files
 1.19795 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 1.19796 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 1.19797 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
 1.19798 +cat >$CONFIG_STATUS <<_ACEOF
 1.19799 +#! $SHELL
 1.19800 +# Generated by $as_me.
 1.19801 +# Run this file to recreate the current configuration.
 1.19802 +# Compiler output produced by configure, useful for debugging
 1.19803 +# configure, is in config.log if it exists.
 1.19804 +
 1.19805 +debug=false
 1.19806 +ac_cs_recheck=false
 1.19807 +ac_cs_silent=false
 1.19808 +SHELL=\${CONFIG_SHELL-$SHELL}
 1.19809 +_ACEOF
 1.19810 +
 1.19811 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.19812 +## --------------------- ##
 1.19813 +## M4sh Initialization.  ##
 1.19814 +## --------------------- ##
 1.19815 +
 1.19816 +# Be Bourne compatible
 1.19817 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 1.19818 +  emulate sh
 1.19819 +  NULLCMD=:
 1.19820 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 1.19821 +  # is contrary to our usage.  Disable this feature.
 1.19822 +  alias -g '${1+"$@"}'='"$@"'
 1.19823 +  setopt NO_GLOB_SUBST
 1.19824 +else
 1.19825 +  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 1.19826 +fi
 1.19827 +BIN_SH=xpg4; export BIN_SH # for Tru64
 1.19828 +DUALCASE=1; export DUALCASE # for MKS sh
 1.19829 +
 1.19830 +
 1.19831 +# PATH needs CR
 1.19832 +# Avoid depending upon Character Ranges.
 1.19833 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 1.19834 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 1.19835 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 1.19836 +as_cr_digits='0123456789'
 1.19837 +as_cr_alnum=$as_cr_Letters$as_cr_digits
 1.19838 +
 1.19839 +# The user is always right.
 1.19840 +if test "${PATH_SEPARATOR+set}" != set; then
 1.19841 +  echo "#! /bin/sh" >conf$$.sh
 1.19842 +  echo  "exit 0"   >>conf$$.sh
 1.19843 +  chmod +x conf$$.sh
 1.19844 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 1.19845 +    PATH_SEPARATOR=';'
 1.19846 +  else
 1.19847 +    PATH_SEPARATOR=:
 1.19848 +  fi
 1.19849 +  rm -f conf$$.sh
 1.19850 +fi
 1.19851 +
 1.19852 +# Support unset when possible.
 1.19853 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 1.19854 +  as_unset=unset
 1.19855 +else
 1.19856 +  as_unset=false
 1.19857 +fi
 1.19858 +
 1.19859 +
 1.19860 +# IFS
 1.19861 +# We need space, tab and new line, in precisely that order.  Quoting is
 1.19862 +# there to prevent editors from complaining about space-tab.
 1.19863 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 1.19864 +# splitting by setting IFS to empty value.)
 1.19865 +as_nl='
 1.19866 +'
 1.19867 +IFS=" ""	$as_nl"
 1.19868 +
 1.19869 +# Find who we are.  Look in the path if we contain no directory separator.
 1.19870 +case $0 in
 1.19871 +  *[\\/]* ) as_myself=$0 ;;
 1.19872 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1.19873 +for as_dir in $PATH
 1.19874 +do
 1.19875 +  IFS=$as_save_IFS
 1.19876 +  test -z "$as_dir" && as_dir=.
 1.19877 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 1.19878 +done
 1.19879 +IFS=$as_save_IFS
 1.19880 +
 1.19881 +     ;;
 1.19882 +esac
 1.19883 +# We did not find ourselves, most probably we were run as `sh COMMAND'
 1.19884 +# in which case we are not to be found in the path.
 1.19885 +if test "x$as_myself" = x; then
 1.19886 +  as_myself=$0
 1.19887 +fi
 1.19888 +if test ! -f "$as_myself"; then
 1.19889 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 1.19890 +  { (exit 1); exit 1; }
 1.19891 +fi
 1.19892 +
 1.19893 +# Work around bugs in pre-3.0 UWIN ksh.
 1.19894 +for as_var in ENV MAIL MAILPATH
 1.19895 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 1.19896 +done
 1.19897 +PS1='$ '
 1.19898 +PS2='> '
 1.19899 +PS4='+ '
 1.19900 +
 1.19901 +# NLS nuisances.
 1.19902 +for as_var in \
 1.19903 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 1.19904 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 1.19905 +  LC_TELEPHONE LC_TIME
 1.19906 +do
 1.19907 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 1.19908 +    eval $as_var=C; export $as_var
 1.19909 +  else
 1.19910 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 1.19911 +  fi
 1.19912 +done
 1.19913 +
 1.19914 +# Required to use basename.
 1.19915 +if expr a : '\(a\)' >/dev/null 2>&1 &&
 1.19916 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 1.19917 +  as_expr=expr
 1.19918 +else
 1.19919 +  as_expr=false
 1.19920 +fi
 1.19921 +
 1.19922 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 1.19923 +  as_basename=basename
 1.19924 +else
 1.19925 +  as_basename=false
 1.19926 +fi
 1.19927 +
 1.19928 +
 1.19929 +# Name of the executable.
 1.19930 +as_me=`$as_basename -- "$0" ||
 1.19931 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 1.19932 +	 X"$0" : 'X\(//\)$' \| \
 1.19933 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 1.19934 +echo X/"$0" |
 1.19935 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
 1.19936 +	    s//\1/
 1.19937 +	    q
 1.19938 +	  }
 1.19939 +	  /^X\/\(\/\/\)$/{
 1.19940 +	    s//\1/
 1.19941 +	    q
 1.19942 +	  }
 1.19943 +	  /^X\/\(\/\).*/{
 1.19944 +	    s//\1/
 1.19945 +	    q
 1.19946 +	  }
 1.19947 +	  s/.*/./; q'`
 1.19948 +
 1.19949 +# CDPATH.
 1.19950 +$as_unset CDPATH
 1.19951 +
 1.19952 +
 1.19953 +
 1.19954 +  as_lineno_1=$LINENO
 1.19955 +  as_lineno_2=$LINENO
 1.19956 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
 1.19957 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 1.19958 +
 1.19959 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 1.19960 +  # uniformly replaced by the line number.  The first 'sed' inserts a
 1.19961 +  # line-number line after each line using $LINENO; the second 'sed'
 1.19962 +  # does the real work.  The second script uses 'N' to pair each
 1.19963 +  # line-number line with the line containing $LINENO, and appends
 1.19964 +  # trailing '-' during substitution so that $LINENO is not a special
 1.19965 +  # case at line end.
 1.19966 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 1.19967 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 1.19968 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
 1.19969 +  sed -n '
 1.19970 +    p
 1.19971 +    /[$]LINENO/=
 1.19972 +  ' <$as_myself |
 1.19973 +    sed '
 1.19974 +      s/[$]LINENO.*/&-/
 1.19975 +      t lineno
 1.19976 +      b
 1.19977 +      :lineno
 1.19978 +      N
 1.19979 +      :loop
 1.19980 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 1.19981 +      t loop
 1.19982 +      s/-\n.*//
 1.19983 +    ' >$as_me.lineno &&
 1.19984 +  chmod +x "$as_me.lineno" ||
 1.19985 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 1.19986 +   { (exit 1); exit 1; }; }
 1.19987 +
 1.19988 +  # Don't try to exec as it changes $[0], causing all sort of problems
 1.19989 +  # (the dirname of $[0] is not the place where we might find the
 1.19990 +  # original and so on.  Autoconf is especially sensitive to this).
 1.19991 +  . "./$as_me.lineno"
 1.19992 +  # Exit status is that of the last command.
 1.19993 +  exit
 1.19994 +}
 1.19995 +
 1.19996 +
 1.19997 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 1.19998 +  as_dirname=dirname
 1.19999 +else
 1.20000 +  as_dirname=false
 1.20001 +fi
 1.20002 +
 1.20003 +ECHO_C= ECHO_N= ECHO_T=
 1.20004 +case `echo -n x` in
 1.20005 +-n*)
 1.20006 +  case `echo 'x\c'` in
 1.20007 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 1.20008 +  *)   ECHO_C='\c';;
 1.20009 +  esac;;
 1.20010 +*)
 1.20011 +  ECHO_N='-n';;
 1.20012 +esac
 1.20013 +
 1.20014 +if expr a : '\(a\)' >/dev/null 2>&1 &&
 1.20015 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 1.20016 +  as_expr=expr
 1.20017 +else
 1.20018 +  as_expr=false
 1.20019 +fi
 1.20020 +
 1.20021 +rm -f conf$$ conf$$.exe conf$$.file
 1.20022 +if test -d conf$$.dir; then
 1.20023 +  rm -f conf$$.dir/conf$$.file
 1.20024 +else
 1.20025 +  rm -f conf$$.dir
 1.20026 +  mkdir conf$$.dir
 1.20027 +fi
 1.20028 +echo >conf$$.file
 1.20029 +if ln -s conf$$.file conf$$ 2>/dev/null; then
 1.20030 +  as_ln_s='ln -s'
 1.20031 +  # ... but there are two gotchas:
 1.20032 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 1.20033 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 1.20034 +  # In both cases, we have to default to `cp -p'.
 1.20035 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 1.20036 +    as_ln_s='cp -p'
 1.20037 +elif ln conf$$.file conf$$ 2>/dev/null; then
 1.20038 +  as_ln_s=ln
 1.20039 +else
 1.20040 +  as_ln_s='cp -p'
 1.20041 +fi
 1.20042 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 1.20043 +rmdir conf$$.dir 2>/dev/null
 1.20044 +
 1.20045 +if mkdir -p . 2>/dev/null; then
 1.20046 +  as_mkdir_p=:
 1.20047 +else
 1.20048 +  test -d ./-p && rmdir ./-p
 1.20049 +  as_mkdir_p=false
 1.20050 +fi
 1.20051 +
 1.20052 +# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 1.20053 +# systems may use methods other than mode bits to determine executability.
 1.20054 +cat >conf$$.file <<_ASEOF
 1.20055 +#! /bin/sh
 1.20056 +exit 0
 1.20057 +_ASEOF
 1.20058 +chmod +x conf$$.file
 1.20059 +if test -x conf$$.file >/dev/null 2>&1; then
 1.20060 +  as_executable_p="test -x"
 1.20061 +else
 1.20062 +  as_executable_p=:
 1.20063 +fi
 1.20064 +rm -f conf$$.file
 1.20065 +
 1.20066 +# Sed expression to map a string onto a valid CPP name.
 1.20067 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 1.20068 +
 1.20069 +# Sed expression to map a string onto a valid variable name.
 1.20070 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 1.20071 +
 1.20072 +
 1.20073 +exec 6>&1
 1.20074 +
 1.20075 +# Save the log message, to keep $[0] and so on meaningful, and to
 1.20076 +# report actual input values of CONFIG_FILES etc. instead of their
 1.20077 +# values after options handling.
 1.20078 +ac_log="
 1.20079 +This file was extended by $as_me, which was
 1.20080 +generated by GNU Autoconf 2.60.  Invocation command line was
 1.20081 +
 1.20082 +  CONFIG_FILES    = $CONFIG_FILES
 1.20083 +  CONFIG_HEADERS  = $CONFIG_HEADERS
 1.20084 +  CONFIG_LINKS    = $CONFIG_LINKS
 1.20085 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
 1.20086 +  $ $0 $@
 1.20087 +
 1.20088 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
 1.20089 +"
 1.20090 +
 1.20091 +_ACEOF
 1.20092 +
 1.20093 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20094 +# Files that config.status was made for.
 1.20095 +config_files="$ac_config_files"
 1.20096 +config_headers="$ac_config_headers"
 1.20097 +config_commands="$ac_config_commands"
 1.20098 +
 1.20099 +_ACEOF
 1.20100 +
 1.20101 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20102 +ac_cs_usage="\
 1.20103 +\`$as_me' instantiates files from templates according to the
 1.20104 +current configuration.
 1.20105 +
 1.20106 +Usage: $0 [OPTIONS] [FILE]...
 1.20107 +
 1.20108 +  -h, --help       print this help, then exit
 1.20109 +  -V, --version    print version number, then exit
 1.20110 +  -q, --quiet      do not print progress messages
 1.20111 +  -d, --debug      don't remove temporary files
 1.20112 +      --recheck    update $as_me by reconfiguring in the same conditions
 1.20113 +  --file=FILE[:TEMPLATE]
 1.20114 +		   instantiate the configuration file FILE
 1.20115 +  --header=FILE[:TEMPLATE]
 1.20116 +		   instantiate the configuration header FILE
 1.20117 +
 1.20118 +Configuration files:
 1.20119 +$config_files
 1.20120 +
 1.20121 +Configuration headers:
 1.20122 +$config_headers
 1.20123 +
 1.20124 +Configuration commands:
 1.20125 +$config_commands
 1.20126 +
 1.20127 +Report bugs to <bug-autoconf@gnu.org>."
 1.20128 +
 1.20129 +_ACEOF
 1.20130 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20131 +ac_cs_version="\\
 1.20132 +config.status
 1.20133 +configured by $0, generated by GNU Autoconf 2.60,
 1.20134 +  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 1.20135 +
 1.20136 +Copyright (C) 2006 Free Software Foundation, Inc.
 1.20137 +This config.status script is free software; the Free Software Foundation
 1.20138 +gives unlimited permission to copy, distribute and modify it."
 1.20139 +
 1.20140 +ac_pwd='$ac_pwd'
 1.20141 +srcdir='$srcdir'
 1.20142 +INSTALL='$INSTALL'
 1.20143 +_ACEOF
 1.20144 +
 1.20145 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20146 +# If no file are specified by the user, then we need to provide default
 1.20147 +# value.  By we need to know if files were specified by the user.
 1.20148 +ac_need_defaults=:
 1.20149 +while test $# != 0
 1.20150 +do
 1.20151 +  case $1 in
 1.20152 +  --*=*)
 1.20153 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 1.20154 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 1.20155 +    ac_shift=:
 1.20156 +    ;;
 1.20157 +  *)
 1.20158 +    ac_option=$1
 1.20159 +    ac_optarg=$2
 1.20160 +    ac_shift=shift
 1.20161 +    ;;
 1.20162 +  esac
 1.20163 +
 1.20164 +  case $ac_option in
 1.20165 +  # Handling of the options.
 1.20166 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 1.20167 +    ac_cs_recheck=: ;;
 1.20168 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 1.20169 +    echo "$ac_cs_version"; exit ;;
 1.20170 +  --debug | --debu | --deb | --de | --d | -d )
 1.20171 +    debug=: ;;
 1.20172 +  --file | --fil | --fi | --f )
 1.20173 +    $ac_shift
 1.20174 +    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 1.20175 +    ac_need_defaults=false;;
 1.20176 +  --header | --heade | --head | --hea )
 1.20177 +    $ac_shift
 1.20178 +    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 1.20179 +    ac_need_defaults=false;;
 1.20180 +  --he | --h)
 1.20181 +    # Conflict between --help and --header
 1.20182 +    { echo "$as_me: error: ambiguous option: $1
 1.20183 +Try \`$0 --help' for more information." >&2
 1.20184 +   { (exit 1); exit 1; }; };;
 1.20185 +  --help | --hel | -h )
 1.20186 +    echo "$ac_cs_usage"; exit ;;
 1.20187 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1.20188 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 1.20189 +    ac_cs_silent=: ;;
 1.20190 +
 1.20191 +  # This is an error.
 1.20192 +  -*) { echo "$as_me: error: unrecognized option: $1
 1.20193 +Try \`$0 --help' for more information." >&2
 1.20194 +   { (exit 1); exit 1; }; } ;;
 1.20195 +
 1.20196 +  *) ac_config_targets="$ac_config_targets $1"
 1.20197 +     ac_need_defaults=false ;;
 1.20198 +
 1.20199 +  esac
 1.20200 +  shift
 1.20201 +done
 1.20202 +
 1.20203 +ac_configure_extra_args=
 1.20204 +
 1.20205 +if $ac_cs_silent; then
 1.20206 +  exec 6>/dev/null
 1.20207 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
 1.20208 +fi
 1.20209 +
 1.20210 +_ACEOF
 1.20211 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20212 +if \$ac_cs_recheck; then
 1.20213 +  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 1.20214 +  CONFIG_SHELL=$SHELL
 1.20215 +  export CONFIG_SHELL
 1.20216 +  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 1.20217 +fi
 1.20218 +
 1.20219 +_ACEOF
 1.20220 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20221 +exec 5>>config.log
 1.20222 +{
 1.20223 +  echo
 1.20224 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 1.20225 +## Running $as_me. ##
 1.20226 +_ASBOX
 1.20227 +  echo "$ac_log"
 1.20228 +} >&5
 1.20229 +
 1.20230 +_ACEOF
 1.20231 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20232 +#
 1.20233 +# INIT-COMMANDS
 1.20234 +#
 1.20235 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 1.20236 +
 1.20237 +_ACEOF
 1.20238 +
 1.20239 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20240 +
 1.20241 +# Handling of arguments.
 1.20242 +for ac_config_target in $ac_config_targets
 1.20243 +do
 1.20244 +  case $ac_config_target in
 1.20245 +    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 1.20246 +    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 1.20247 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 1.20248 +    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 1.20249 +
 1.20250 +  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 1.20251 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 1.20252 +   { (exit 1); exit 1; }; };;
 1.20253 +  esac
 1.20254 +done
 1.20255 +
 1.20256 +
 1.20257 +# If the user did not use the arguments to specify the items to instantiate,
 1.20258 +# then the envvar interface is used.  Set only those that are not.
 1.20259 +# We use the long form for the default assignment because of an extremely
 1.20260 +# bizarre bug on SunOS 4.1.3.
 1.20261 +if $ac_need_defaults; then
 1.20262 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 1.20263 +  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 1.20264 +  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 1.20265 +fi
 1.20266 +
 1.20267 +# Have a temporary directory for convenience.  Make it in the build tree
 1.20268 +# simply because there is no reason against having it here, and in addition,
 1.20269 +# creating and moving files from /tmp can sometimes cause problems.
 1.20270 +# Hook for its removal unless debugging.
 1.20271 +# Note that there is a small window in which the directory will not be cleaned:
 1.20272 +# after its creation but before its name has been assigned to `$tmp'.
 1.20273 +$debug ||
 1.20274 +{
 1.20275 +  tmp=
 1.20276 +  trap 'exit_status=$?
 1.20277 +  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 1.20278 +' 0
 1.20279 +  trap '{ (exit 1); exit 1; }' 1 2 13 15
 1.20280 +}
 1.20281 +# Create a (secure) tmp directory for tmp files.
 1.20282 +
 1.20283 +{
 1.20284 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 1.20285 +  test -n "$tmp" && test -d "$tmp"
 1.20286 +}  ||
 1.20287 +{
 1.20288 +  tmp=./conf$$-$RANDOM
 1.20289 +  (umask 077 && mkdir "$tmp")
 1.20290 +} ||
 1.20291 +{
 1.20292 +   echo "$me: cannot create a temporary directory in ." >&2
 1.20293 +   { (exit 1); exit 1; }
 1.20294 +}
 1.20295 +
 1.20296 +#
 1.20297 +# Set up the sed scripts for CONFIG_FILES section.
 1.20298 +#
 1.20299 +
 1.20300 +# No need to generate the scripts if there are no CONFIG_FILES.
 1.20301 +# This happens for instance when ./config.status config.h
 1.20302 +if test -n "$CONFIG_FILES"; then
 1.20303 +
 1.20304 +_ACEOF
 1.20305 +
 1.20306 +
 1.20307 +
 1.20308 +ac_delim='%!_!# '
 1.20309 +for ac_last_try in false false false false false :; do
 1.20310 +  cat >conf$$subs.sed <<_ACEOF
 1.20311 +SHELL!$SHELL$ac_delim
 1.20312 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 1.20313 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 1.20314 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 1.20315 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 1.20316 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 1.20317 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 1.20318 +exec_prefix!$exec_prefix$ac_delim
 1.20319 +prefix!$prefix$ac_delim
 1.20320 +program_transform_name!$program_transform_name$ac_delim
 1.20321 +bindir!$bindir$ac_delim
 1.20322 +sbindir!$sbindir$ac_delim
 1.20323 +libexecdir!$libexecdir$ac_delim
 1.20324 +datarootdir!$datarootdir$ac_delim
 1.20325 +datadir!$datadir$ac_delim
 1.20326 +sysconfdir!$sysconfdir$ac_delim
 1.20327 +sharedstatedir!$sharedstatedir$ac_delim
 1.20328 +localstatedir!$localstatedir$ac_delim
 1.20329 +includedir!$includedir$ac_delim
 1.20330 +oldincludedir!$oldincludedir$ac_delim
 1.20331 +docdir!$docdir$ac_delim
 1.20332 +infodir!$infodir$ac_delim
 1.20333 +htmldir!$htmldir$ac_delim
 1.20334 +dvidir!$dvidir$ac_delim
 1.20335 +pdfdir!$pdfdir$ac_delim
 1.20336 +psdir!$psdir$ac_delim
 1.20337 +libdir!$libdir$ac_delim
 1.20338 +localedir!$localedir$ac_delim
 1.20339 +mandir!$mandir$ac_delim
 1.20340 +DEFS!$DEFS$ac_delim
 1.20341 +ECHO_C!$ECHO_C$ac_delim
 1.20342 +ECHO_N!$ECHO_N$ac_delim
 1.20343 +ECHO_T!$ECHO_T$ac_delim
 1.20344 +LIBS!$LIBS$ac_delim
 1.20345 +build_alias!$build_alias$ac_delim
 1.20346 +host_alias!$host_alias$ac_delim
 1.20347 +target_alias!$target_alias$ac_delim
 1.20348 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 1.20349 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 1.20350 +INSTALL_DATA!$INSTALL_DATA$ac_delim
 1.20351 +CYGPATH_W!$CYGPATH_W$ac_delim
 1.20352 +PACKAGE!$PACKAGE$ac_delim
 1.20353 +VERSION!$VERSION$ac_delim
 1.20354 +ACLOCAL!$ACLOCAL$ac_delim
 1.20355 +AUTOCONF!$AUTOCONF$ac_delim
 1.20356 +AUTOMAKE!$AUTOMAKE$ac_delim
 1.20357 +AUTOHEADER!$AUTOHEADER$ac_delim
 1.20358 +MAKEINFO!$MAKEINFO$ac_delim
 1.20359 +install_sh!$install_sh$ac_delim
 1.20360 +STRIP!$STRIP$ac_delim
 1.20361 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 1.20362 +mkdir_p!$mkdir_p$ac_delim
 1.20363 +AWK!$AWK$ac_delim
 1.20364 +SET_MAKE!$SET_MAKE$ac_delim
 1.20365 +am__leading_dot!$am__leading_dot$ac_delim
 1.20366 +AMTAR!$AMTAR$ac_delim
 1.20367 +am__tar!$am__tar$ac_delim
 1.20368 +am__untar!$am__untar$ac_delim
 1.20369 +CXX!$CXX$ac_delim
 1.20370 +CXXFLAGS!$CXXFLAGS$ac_delim
 1.20371 +LDFLAGS!$LDFLAGS$ac_delim
 1.20372 +CPPFLAGS!$CPPFLAGS$ac_delim
 1.20373 +ac_ct_CXX!$ac_ct_CXX$ac_delim
 1.20374 +EXEEXT!$EXEEXT$ac_delim
 1.20375 +OBJEXT!$OBJEXT$ac_delim
 1.20376 +DEPDIR!$DEPDIR$ac_delim
 1.20377 +am__include!$am__include$ac_delim
 1.20378 +am__quote!$am__quote$ac_delim
 1.20379 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 1.20380 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 1.20381 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 1.20382 +CXXDEPMODE!$CXXDEPMODE$ac_delim
 1.20383 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 1.20384 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 1.20385 +build!$build$ac_delim
 1.20386 +build_cpu!$build_cpu$ac_delim
 1.20387 +build_vendor!$build_vendor$ac_delim
 1.20388 +build_os!$build_os$ac_delim
 1.20389 +host!$host$ac_delim
 1.20390 +host_cpu!$host_cpu$ac_delim
 1.20391 +host_vendor!$host_vendor$ac_delim
 1.20392 +host_os!$host_os$ac_delim
 1.20393 +CC!$CC$ac_delim
 1.20394 +CFLAGS!$CFLAGS$ac_delim
 1.20395 +ac_ct_CC!$ac_ct_CC$ac_delim
 1.20396 +CCDEPMODE!$CCDEPMODE$ac_delim
 1.20397 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 1.20398 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 1.20399 +GREP!$GREP$ac_delim
 1.20400 +EGREP!$EGREP$ac_delim
 1.20401 +LN_S!$LN_S$ac_delim
 1.20402 +ECHO!$ECHO$ac_delim
 1.20403 +AR!$AR$ac_delim
 1.20404 +RANLIB!$RANLIB$ac_delim
 1.20405 +CPP!$CPP$ac_delim
 1.20406 +CXXCPP!$CXXCPP$ac_delim
 1.20407 +F77!$F77$ac_delim
 1.20408 +_ACEOF
 1.20409 +
 1.20410 +  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 1.20411 +    break
 1.20412 +  elif $ac_last_try; then
 1.20413 +    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 1.20414 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 1.20415 +   { (exit 1); exit 1; }; }
 1.20416 +  else
 1.20417 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 1.20418 +  fi
 1.20419 +done
 1.20420 +
 1.20421 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 1.20422 +if test -n "$ac_eof"; then
 1.20423 +  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 1.20424 +  ac_eof=`expr $ac_eof + 1`
 1.20425 +fi
 1.20426 +
 1.20427 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20428 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 1.20429 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 1.20430 +_ACEOF
 1.20431 +sed '
 1.20432 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 1.20433 +s/^/s,@/; s/!/@,|#_!!_#|/
 1.20434 +:n
 1.20435 +t n
 1.20436 +s/'"$ac_delim"'$/,g/; t
 1.20437 +s/$/\\/; p
 1.20438 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 1.20439 +' >>$CONFIG_STATUS <conf$$subs.sed
 1.20440 +rm -f conf$$subs.sed
 1.20441 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20442 +CEOF$ac_eof
 1.20443 +_ACEOF
 1.20444 +
 1.20445 +
 1.20446 +ac_delim='%!_!# '
 1.20447 +for ac_last_try in false false false false false :; do
 1.20448 +  cat >conf$$subs.sed <<_ACEOF
 1.20449 +FFLAGS!$FFLAGS$ac_delim
 1.20450 +ac_ct_F77!$ac_ct_F77$ac_delim
 1.20451 +LIBTOOL!$LIBTOOL$ac_delim
 1.20452 +LIBOBJS!$LIBOBJS$ac_delim
 1.20453 +LTLIBOBJS!$LTLIBOBJS$ac_delim
 1.20454 +_ACEOF
 1.20455 +
 1.20456 +  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
 1.20457 +    break
 1.20458 +  elif $ac_last_try; then
 1.20459 +    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 1.20460 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 1.20461 +   { (exit 1); exit 1; }; }
 1.20462 +  else
 1.20463 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 1.20464 +  fi
 1.20465 +done
 1.20466 +
 1.20467 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 1.20468 +if test -n "$ac_eof"; then
 1.20469 +  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 1.20470 +  ac_eof=`expr $ac_eof + 1`
 1.20471 +fi
 1.20472 +
 1.20473 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20474 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 1.20475 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 1.20476 +_ACEOF
 1.20477 +sed '
 1.20478 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 1.20479 +s/^/s,@/; s/!/@,|#_!!_#|/
 1.20480 +:n
 1.20481 +t n
 1.20482 +s/'"$ac_delim"'$/,g/; t
 1.20483 +s/$/\\/; p
 1.20484 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 1.20485 +' >>$CONFIG_STATUS <conf$$subs.sed
 1.20486 +rm -f conf$$subs.sed
 1.20487 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20488 +:end
 1.20489 +s/|#_!!_#|//g
 1.20490 +CEOF$ac_eof
 1.20491 +_ACEOF
 1.20492 +
 1.20493 +
 1.20494 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
 1.20495 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 1.20496 +# trailing colons and then remove the whole line if VPATH becomes empty
 1.20497 +# (actually we leave an empty line to preserve line numbers).
 1.20498 +if test "x$srcdir" = x.; then
 1.20499 +  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 1.20500 +s/:*\$(srcdir):*/:/
 1.20501 +s/:*\${srcdir}:*/:/
 1.20502 +s/:*@srcdir@:*/:/
 1.20503 +s/^\([^=]*=[	 ]*\):*/\1/
 1.20504 +s/:*$//
 1.20505 +s/^[^=]*=[	 ]*$//
 1.20506 +}'
 1.20507 +fi
 1.20508 +
 1.20509 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20510 +fi # test -n "$CONFIG_FILES"
 1.20511 +
 1.20512 +
 1.20513 +for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 1.20514 +do
 1.20515 +  case $ac_tag in
 1.20516 +  :[FHLC]) ac_mode=$ac_tag; continue;;
 1.20517 +  esac
 1.20518 +  case $ac_mode$ac_tag in
 1.20519 +  :[FHL]*:*);;
 1.20520 +  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 1.20521 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 1.20522 +   { (exit 1); exit 1; }; };;
 1.20523 +  :[FH]-) ac_tag=-:-;;
 1.20524 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 1.20525 +  esac
 1.20526 +  ac_save_IFS=$IFS
 1.20527 +  IFS=:
 1.20528 +  set x $ac_tag
 1.20529 +  IFS=$ac_save_IFS
 1.20530 +  shift
 1.20531 +  ac_file=$1
 1.20532 +  shift
 1.20533 +
 1.20534 +  case $ac_mode in
 1.20535 +  :L) ac_source=$1;;
 1.20536 +  :[FH])
 1.20537 +    ac_file_inputs=
 1.20538 +    for ac_f
 1.20539 +    do
 1.20540 +      case $ac_f in
 1.20541 +      -) ac_f="$tmp/stdin";;
 1.20542 +      *) # Look for the file first in the build tree, then in the source tree
 1.20543 +	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 1.20544 +	 # because $ac_f cannot contain `:'.
 1.20545 +	 test -f "$ac_f" ||
 1.20546 +	   case $ac_f in
 1.20547 +	   [\\/$]*) false;;
 1.20548 +	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 1.20549 +	   esac ||
 1.20550 +	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 1.20551 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 1.20552 +   { (exit 1); exit 1; }; };;
 1.20553 +      esac
 1.20554 +      ac_file_inputs="$ac_file_inputs $ac_f"
 1.20555 +    done
 1.20556 +
 1.20557 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
 1.20558 +    # use $as_me), people would be surprised to read:
 1.20559 +    #    /* config.h.  Generated by config.status.  */
 1.20560 +    configure_input="Generated from "`IFS=:
 1.20561 +	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 1.20562 +    if test x"$ac_file" != x-; then
 1.20563 +      configure_input="$ac_file.  $configure_input"
 1.20564 +      { echo "$as_me:$LINENO: creating $ac_file" >&5
 1.20565 +echo "$as_me: creating $ac_file" >&6;}
 1.20566 +    fi
 1.20567 +
 1.20568 +    case $ac_tag in
 1.20569 +    *:-:* | *:-) cat >"$tmp/stdin";;
 1.20570 +    esac
 1.20571 +    ;;
 1.20572 +  esac
 1.20573 +
 1.20574 +  ac_dir=`$as_dirname -- "$ac_file" ||
 1.20575 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.20576 +	 X"$ac_file" : 'X\(//\)[^/]' \| \
 1.20577 +	 X"$ac_file" : 'X\(//\)$' \| \
 1.20578 +	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 1.20579 +echo X"$ac_file" |
 1.20580 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.20581 +	    s//\1/
 1.20582 +	    q
 1.20583 +	  }
 1.20584 +	  /^X\(\/\/\)[^/].*/{
 1.20585 +	    s//\1/
 1.20586 +	    q
 1.20587 +	  }
 1.20588 +	  /^X\(\/\/\)$/{
 1.20589 +	    s//\1/
 1.20590 +	    q
 1.20591 +	  }
 1.20592 +	  /^X\(\/\).*/{
 1.20593 +	    s//\1/
 1.20594 +	    q
 1.20595 +	  }
 1.20596 +	  s/.*/./; q'`
 1.20597 +  { as_dir="$ac_dir"
 1.20598 +  case $as_dir in #(
 1.20599 +  -*) as_dir=./$as_dir;;
 1.20600 +  esac
 1.20601 +  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 1.20602 +    as_dirs=
 1.20603 +    while :; do
 1.20604 +      case $as_dir in #(
 1.20605 +      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 1.20606 +      *) as_qdir=$as_dir;;
 1.20607 +      esac
 1.20608 +      as_dirs="'$as_qdir' $as_dirs"
 1.20609 +      as_dir=`$as_dirname -- "$as_dir" ||
 1.20610 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.20611 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
 1.20612 +	 X"$as_dir" : 'X\(//\)$' \| \
 1.20613 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 1.20614 +echo X"$as_dir" |
 1.20615 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.20616 +	    s//\1/
 1.20617 +	    q
 1.20618 +	  }
 1.20619 +	  /^X\(\/\/\)[^/].*/{
 1.20620 +	    s//\1/
 1.20621 +	    q
 1.20622 +	  }
 1.20623 +	  /^X\(\/\/\)$/{
 1.20624 +	    s//\1/
 1.20625 +	    q
 1.20626 +	  }
 1.20627 +	  /^X\(\/\).*/{
 1.20628 +	    s//\1/
 1.20629 +	    q
 1.20630 +	  }
 1.20631 +	  s/.*/./; q'`
 1.20632 +      test -d "$as_dir" && break
 1.20633 +    done
 1.20634 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
 1.20635 +  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 1.20636 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
 1.20637 +   { (exit 1); exit 1; }; }; }
 1.20638 +  ac_builddir=.
 1.20639 +
 1.20640 +case "$ac_dir" in
 1.20641 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1.20642 +*)
 1.20643 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1.20644 +  # A ".." for each directory in $ac_dir_suffix.
 1.20645 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 1.20646 +  case $ac_top_builddir_sub in
 1.20647 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1.20648 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1.20649 +  esac ;;
 1.20650 +esac
 1.20651 +ac_abs_top_builddir=$ac_pwd
 1.20652 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1.20653 +# for backward compatibility:
 1.20654 +ac_top_builddir=$ac_top_build_prefix
 1.20655 +
 1.20656 +case $srcdir in
 1.20657 +  .)  # We are building in place.
 1.20658 +    ac_srcdir=.
 1.20659 +    ac_top_srcdir=$ac_top_builddir_sub
 1.20660 +    ac_abs_top_srcdir=$ac_pwd ;;
 1.20661 +  [\\/]* | ?:[\\/]* )  # Absolute name.
 1.20662 +    ac_srcdir=$srcdir$ac_dir_suffix;
 1.20663 +    ac_top_srcdir=$srcdir
 1.20664 +    ac_abs_top_srcdir=$srcdir ;;
 1.20665 +  *) # Relative name.
 1.20666 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1.20667 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
 1.20668 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1.20669 +esac
 1.20670 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1.20671 +
 1.20672 +
 1.20673 +  case $ac_mode in
 1.20674 +  :F)
 1.20675 +  #
 1.20676 +  # CONFIG_FILE
 1.20677 +  #
 1.20678 +
 1.20679 +  case $INSTALL in
 1.20680 +  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 1.20681 +  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 1.20682 +  esac
 1.20683 +_ACEOF
 1.20684 +
 1.20685 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20686 +# If the template does not know about datarootdir, expand it.
 1.20687 +# FIXME: This hack should be removed a few years after 2.60.
 1.20688 +ac_datarootdir_hack=; ac_datarootdir_seen=
 1.20689 +
 1.20690 +case `sed -n '/datarootdir/ {
 1.20691 +  p
 1.20692 +  q
 1.20693 +}
 1.20694 +/@datadir@/p
 1.20695 +/@docdir@/p
 1.20696 +/@infodir@/p
 1.20697 +/@localedir@/p
 1.20698 +/@mandir@/p
 1.20699 +' $ac_file_inputs` in
 1.20700 +*datarootdir*) ac_datarootdir_seen=yes;;
 1.20701 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 1.20702 +  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 1.20703 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 1.20704 +_ACEOF
 1.20705 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20706 +  ac_datarootdir_hack='
 1.20707 +  s&@datadir@&$datadir&g
 1.20708 +  s&@docdir@&$docdir&g
 1.20709 +  s&@infodir@&$infodir&g
 1.20710 +  s&@localedir@&$localedir&g
 1.20711 +  s&@mandir@&$mandir&g
 1.20712 +    s&\\\${datarootdir}&$datarootdir&g' ;;
 1.20713 +esac
 1.20714 +_ACEOF
 1.20715 +
 1.20716 +# Neutralize VPATH when `$srcdir' = `.'.
 1.20717 +# Shell code in configure.ac might set extrasub.
 1.20718 +# FIXME: do we really want to maintain this feature?
 1.20719 +cat >>$CONFIG_STATUS <<_ACEOF
 1.20720 +  sed "$ac_vpsub
 1.20721 +$extrasub
 1.20722 +_ACEOF
 1.20723 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20724 +:t
 1.20725 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 1.20726 +s&@configure_input@&$configure_input&;t t
 1.20727 +s&@top_builddir@&$ac_top_builddir_sub&;t t
 1.20728 +s&@srcdir@&$ac_srcdir&;t t
 1.20729 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
 1.20730 +s&@top_srcdir@&$ac_top_srcdir&;t t
 1.20731 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 1.20732 +s&@builddir@&$ac_builddir&;t t
 1.20733 +s&@abs_builddir@&$ac_abs_builddir&;t t
 1.20734 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 1.20735 +s&@INSTALL@&$ac_INSTALL&;t t
 1.20736 +$ac_datarootdir_hack
 1.20737 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 1.20738 +
 1.20739 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 1.20740 +  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 1.20741 +  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 1.20742 +  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 1.20743 +which seems to be undefined.  Please make sure it is defined." >&5
 1.20744 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 1.20745 +which seems to be undefined.  Please make sure it is defined." >&2;}
 1.20746 +
 1.20747 +  rm -f "$tmp/stdin"
 1.20748 +  case $ac_file in
 1.20749 +  -) cat "$tmp/out"; rm -f "$tmp/out";;
 1.20750 +  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 1.20751 +  esac
 1.20752 + ;;
 1.20753 +  :H)
 1.20754 +  #
 1.20755 +  # CONFIG_HEADER
 1.20756 +  #
 1.20757 +_ACEOF
 1.20758 +
 1.20759 +# Transform confdefs.h into a sed script `conftest.defines', that
 1.20760 +# substitutes the proper values into config.h.in to produce config.h.
 1.20761 +rm -f conftest.defines conftest.tail
 1.20762 +# First, append a space to every undef/define line, to ease matching.
 1.20763 +echo 's/$/ /' >conftest.defines
 1.20764 +# Then, protect against being on the right side of a sed subst, or in
 1.20765 +# an unquoted here document, in config.status.  If some macros were
 1.20766 +# called several times there might be several #defines for the same
 1.20767 +# symbol, which is useless.  But do not sort them, since the last
 1.20768 +# AC_DEFINE must be honored.
 1.20769 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 1.20770 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 1.20771 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
 1.20772 +# PARAMS is the parameter list in the macro definition--in most cases, it's
 1.20773 +# just an empty string.
 1.20774 +ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
 1.20775 +ac_dB='\\)[	 (].*,\\1define\\2'
 1.20776 +ac_dC=' '
 1.20777 +ac_dD=' ,'
 1.20778 +
 1.20779 +uniq confdefs.h |
 1.20780 +  sed -n '
 1.20781 +	t rset
 1.20782 +	:rset
 1.20783 +	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
 1.20784 +	t ok
 1.20785 +	d
 1.20786 +	:ok
 1.20787 +	s/[\\&,]/\\&/g
 1.20788 +	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 1.20789 +	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 1.20790 +  ' >>conftest.defines
 1.20791 +
 1.20792 +# Remove the space that was appended to ease matching.
 1.20793 +# Then replace #undef with comments.  This is necessary, for
 1.20794 +# example, in the case of _POSIX_SOURCE, which is predefined and required
 1.20795 +# on some systems where configure will not decide to define it.
 1.20796 +# (The regexp can be short, since the line contains either #define or #undef.)
 1.20797 +echo 's/ $//
 1.20798 +s,^[	 #]*u.*,/* & */,' >>conftest.defines
 1.20799 +
 1.20800 +# Break up conftest.defines:
 1.20801 +ac_max_sed_lines=50
 1.20802 +
 1.20803 +# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 1.20804 +# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 1.20805 +# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 1.20806 +# et cetera.
 1.20807 +ac_in='$ac_file_inputs'
 1.20808 +ac_out='"$tmp/out1"'
 1.20809 +ac_nxt='"$tmp/out2"'
 1.20810 +
 1.20811 +while :
 1.20812 +do
 1.20813 +  # Write a here document:
 1.20814 +    cat >>$CONFIG_STATUS <<_ACEOF
 1.20815 +    # First, check the format of the line:
 1.20816 +    cat >"\$tmp/defines.sed" <<\\CEOF
 1.20817 +/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
 1.20818 +/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
 1.20819 +b
 1.20820 +:def
 1.20821 +_ACEOF
 1.20822 +  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 1.20823 +  echo 'CEOF
 1.20824 +    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 1.20825 +  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 1.20826 +  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 1.20827 +  grep . conftest.tail >/dev/null || break
 1.20828 +  rm -f conftest.defines
 1.20829 +  mv conftest.tail conftest.defines
 1.20830 +done
 1.20831 +rm -f conftest.defines conftest.tail
 1.20832 +
 1.20833 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
 1.20834 +cat >>$CONFIG_STATUS <<\_ACEOF
 1.20835 +  if test x"$ac_file" != x-; then
 1.20836 +    echo "/* $configure_input  */" >"$tmp/config.h"
 1.20837 +    cat "$ac_result" >>"$tmp/config.h"
 1.20838 +    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 1.20839 +      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 1.20840 +echo "$as_me: $ac_file is unchanged" >&6;}
 1.20841 +    else
 1.20842 +      rm -f $ac_file
 1.20843 +      mv "$tmp/config.h" $ac_file
 1.20844 +    fi
 1.20845 +  else
 1.20846 +    echo "/* $configure_input  */"
 1.20847 +    cat "$ac_result"
 1.20848 +  fi
 1.20849 +  rm -f "$tmp/out12"
 1.20850 +# Compute $ac_file's index in $config_headers.
 1.20851 +_am_stamp_count=1
 1.20852 +for _am_header in $config_headers :; do
 1.20853 +  case $_am_header in
 1.20854 +    $ac_file | $ac_file:* )
 1.20855 +      break ;;
 1.20856 +    * )
 1.20857 +      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 1.20858 +  esac
 1.20859 +done
 1.20860 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 1.20861 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.20862 +	 X$ac_file : 'X\(//\)[^/]' \| \
 1.20863 +	 X$ac_file : 'X\(//\)$' \| \
 1.20864 +	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 1.20865 +echo X$ac_file |
 1.20866 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.20867 +	    s//\1/
 1.20868 +	    q
 1.20869 +	  }
 1.20870 +	  /^X\(\/\/\)[^/].*/{
 1.20871 +	    s//\1/
 1.20872 +	    q
 1.20873 +	  }
 1.20874 +	  /^X\(\/\/\)$/{
 1.20875 +	    s//\1/
 1.20876 +	    q
 1.20877 +	  }
 1.20878 +	  /^X\(\/\).*/{
 1.20879 +	    s//\1/
 1.20880 +	    q
 1.20881 +	  }
 1.20882 +	  s/.*/./; q'`/stamp-h$_am_stamp_count
 1.20883 + ;;
 1.20884 +
 1.20885 +  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 1.20886 +echo "$as_me: executing $ac_file commands" >&6;}
 1.20887 + ;;
 1.20888 +  esac
 1.20889 +
 1.20890 +
 1.20891 +  case $ac_file$ac_mode in
 1.20892 +    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 1.20893 +  # Strip MF so we end up with the name of the file.
 1.20894 +  mf=`echo "$mf" | sed -e 's/:.*$//'`
 1.20895 +  # Check whether this is an Automake generated Makefile or not.
 1.20896 +  # We used to match only the files named `Makefile.in', but
 1.20897 +  # some people rename them; so instead we look at the file content.
 1.20898 +  # Grep'ing the first line is not enough: some people post-process
 1.20899 +  # each Makefile.in and add a new line on top of each file to say so.
 1.20900 +  # So let's grep whole file.
 1.20901 +  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 1.20902 +    dirpart=`$as_dirname -- "$mf" ||
 1.20903 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.20904 +	 X"$mf" : 'X\(//\)[^/]' \| \
 1.20905 +	 X"$mf" : 'X\(//\)$' \| \
 1.20906 +	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 1.20907 +echo X"$mf" |
 1.20908 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.20909 +	    s//\1/
 1.20910 +	    q
 1.20911 +	  }
 1.20912 +	  /^X\(\/\/\)[^/].*/{
 1.20913 +	    s//\1/
 1.20914 +	    q
 1.20915 +	  }
 1.20916 +	  /^X\(\/\/\)$/{
 1.20917 +	    s//\1/
 1.20918 +	    q
 1.20919 +	  }
 1.20920 +	  /^X\(\/\).*/{
 1.20921 +	    s//\1/
 1.20922 +	    q
 1.20923 +	  }
 1.20924 +	  s/.*/./; q'`
 1.20925 +  else
 1.20926 +    continue
 1.20927 +  fi
 1.20928 +  # Extract the definition of DEPDIR, am__include, and am__quote
 1.20929 +  # from the Makefile without running `make'.
 1.20930 +  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 1.20931 +  test -z "$DEPDIR" && continue
 1.20932 +  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 1.20933 +  test -z "am__include" && continue
 1.20934 +  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 1.20935 +  # When using ansi2knr, U may be empty or an underscore; expand it
 1.20936 +  U=`sed -n 's/^U = //p' < "$mf"`
 1.20937 +  # Find all dependency output files, they are included files with
 1.20938 +  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 1.20939 +  # simplest approach to changing $(DEPDIR) to its actual value in the
 1.20940 +  # expansion.
 1.20941 +  for file in `sed -n "
 1.20942 +    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 1.20943 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 1.20944 +    # Make sure the directory exists.
 1.20945 +    test -f "$dirpart/$file" && continue
 1.20946 +    fdir=`$as_dirname -- "$file" ||
 1.20947 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.20948 +	 X"$file" : 'X\(//\)[^/]' \| \
 1.20949 +	 X"$file" : 'X\(//\)$' \| \
 1.20950 +	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 1.20951 +echo X"$file" |
 1.20952 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.20953 +	    s//\1/
 1.20954 +	    q
 1.20955 +	  }
 1.20956 +	  /^X\(\/\/\)[^/].*/{
 1.20957 +	    s//\1/
 1.20958 +	    q
 1.20959 +	  }
 1.20960 +	  /^X\(\/\/\)$/{
 1.20961 +	    s//\1/
 1.20962 +	    q
 1.20963 +	  }
 1.20964 +	  /^X\(\/\).*/{
 1.20965 +	    s//\1/
 1.20966 +	    q
 1.20967 +	  }
 1.20968 +	  s/.*/./; q'`
 1.20969 +    { as_dir=$dirpart/$fdir
 1.20970 +  case $as_dir in #(
 1.20971 +  -*) as_dir=./$as_dir;;
 1.20972 +  esac
 1.20973 +  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 1.20974 +    as_dirs=
 1.20975 +    while :; do
 1.20976 +      case $as_dir in #(
 1.20977 +      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 1.20978 +      *) as_qdir=$as_dir;;
 1.20979 +      esac
 1.20980 +      as_dirs="'$as_qdir' $as_dirs"
 1.20981 +      as_dir=`$as_dirname -- "$as_dir" ||
 1.20982 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.20983 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
 1.20984 +	 X"$as_dir" : 'X\(//\)$' \| \
 1.20985 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 1.20986 +echo X"$as_dir" |
 1.20987 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.20988 +	    s//\1/
 1.20989 +	    q
 1.20990 +	  }
 1.20991 +	  /^X\(\/\/\)[^/].*/{
 1.20992 +	    s//\1/
 1.20993 +	    q
 1.20994 +	  }
 1.20995 +	  /^X\(\/\/\)$/{
 1.20996 +	    s//\1/
 1.20997 +	    q
 1.20998 +	  }
 1.20999 +	  /^X\(\/\).*/{
 1.21000 +	    s//\1/
 1.21001 +	    q
 1.21002 +	  }
 1.21003 +	  s/.*/./; q'`
 1.21004 +      test -d "$as_dir" && break
 1.21005 +    done
 1.21006 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
 1.21007 +  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 1.21008 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
 1.21009 +   { (exit 1); exit 1; }; }; }
 1.21010 +    # echo "creating $dirpart/$file"
 1.21011 +    echo '# dummy' > "$dirpart/$file"
 1.21012 +  done
 1.21013 +done
 1.21014 + ;;
 1.21015 +
 1.21016 +  esac
 1.21017 +done # for ac_tag
 1.21018 +
 1.21019 +
 1.21020 +{ (exit 0); exit 0; }
 1.21021 +_ACEOF
 1.21022 +chmod +x $CONFIG_STATUS
 1.21023 +ac_clean_files=$ac_clean_files_save
 1.21024 +
 1.21025 +
 1.21026 +# configure is writing to config.log, and then calls config.status.
 1.21027 +# config.status does its own redirection, appending to config.log.
 1.21028 +# Unfortunately, on DOS this fails, as config.log is still kept open
 1.21029 +# by configure, so config.status won't be able to write to it; its
 1.21030 +# output is simply discarded.  So we exec the FD to /dev/null,
 1.21031 +# effectively closing config.log, so it can be properly (re)opened and
 1.21032 +# appended to by config.status.  When coming back to configure, we
 1.21033 +# need to make the FD available again.
 1.21034 +if test "$no_create" != yes; then
 1.21035 +  ac_cs_success=:
 1.21036 +  ac_config_status_args=
 1.21037 +  test "$silent" = yes &&
 1.21038 +    ac_config_status_args="$ac_config_status_args --quiet"
 1.21039 +  exec 5>/dev/null
 1.21040 +  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 1.21041 +  exec 5>>config.log
 1.21042 +  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 1.21043 +  # would make configure fail if this is the last instruction.
 1.21044 +  $ac_cs_success || { (exit 1); exit 1; }
 1.21045 +fi
 1.21046 +