1.1 --- a/gst-gpac/autom4te.cache/output.2 Thu Feb 21 17:44:16 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,24029 +0,0 @@
1.4 -@%:@! /bin/sh
1.5 -@%:@ Guess values for system-dependent variables and create Makefiles.
1.6 -@%:@ Generated by GNU Autoconf 2.61.
1.7 -@%:@
1.8 -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.9 -@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.10 -@%:@ This configure script is free software; the Free Software Foundation
1.11 -@%:@ gives unlimited permission to copy, distribute and modify it.
1.12 -## --------------------- ##
1.13 -## M4sh Initialization. ##
1.14 -## --------------------- ##
1.15 -
1.16 -# Be more Bourne compatible
1.17 -DUALCASE=1; export DUALCASE # for MKS sh
1.18 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.19 - emulate sh
1.20 - NULLCMD=:
1.21 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.22 - # is contrary to our usage. Disable this feature.
1.23 - alias -g '${1+"$@"}'='"$@"'
1.24 - setopt NO_GLOB_SUBST
1.25 -else
1.26 - case `(set -o) 2>/dev/null` in
1.27 - *posix*) set -o posix ;;
1.28 -esac
1.29 -
1.30 -fi
1.31 -
1.32 -
1.33 -
1.34 -
1.35 -# PATH needs CR
1.36 -# Avoid depending upon Character Ranges.
1.37 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1.38 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1.39 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1.40 -as_cr_digits='0123456789'
1.41 -as_cr_alnum=$as_cr_Letters$as_cr_digits
1.42 -
1.43 -# The user is always right.
1.44 -if test "${PATH_SEPARATOR+set}" != set; then
1.45 - echo "#! /bin/sh" >conf$$.sh
1.46 - echo "exit 0" >>conf$$.sh
1.47 - chmod +x conf$$.sh
1.48 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.49 - PATH_SEPARATOR=';'
1.50 - else
1.51 - PATH_SEPARATOR=:
1.52 - fi
1.53 - rm -f conf$$.sh
1.54 -fi
1.55 -
1.56 -# Support unset when possible.
1.57 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.58 - as_unset=unset
1.59 -else
1.60 - as_unset=false
1.61 -fi
1.62 -
1.63 -
1.64 -# IFS
1.65 -# We need space, tab and new line, in precisely that order. Quoting is
1.66 -# there to prevent editors from complaining about space-tab.
1.67 -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1.68 -# splitting by setting IFS to empty value.)
1.69 -as_nl='
1.70 -'
1.71 -IFS=" "" $as_nl"
1.72 -
1.73 -# Find who we are. Look in the path if we contain no directory separator.
1.74 -case $0 in
1.75 - *[\\/]* ) as_myself=$0 ;;
1.76 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.77 -for as_dir in $PATH
1.78 -do
1.79 - IFS=$as_save_IFS
1.80 - test -z "$as_dir" && as_dir=.
1.81 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.82 -done
1.83 -IFS=$as_save_IFS
1.84 -
1.85 - ;;
1.86 -esac
1.87 -# We did not find ourselves, most probably we were run as `sh COMMAND'
1.88 -# in which case we are not to be found in the path.
1.89 -if test "x$as_myself" = x; then
1.90 - as_myself=$0
1.91 -fi
1.92 -if test ! -f "$as_myself"; then
1.93 - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.94 - { (exit 1); exit 1; }
1.95 -fi
1.96 -
1.97 -# Work around bugs in pre-3.0 UWIN ksh.
1.98 -for as_var in ENV MAIL MAILPATH
1.99 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.100 -done
1.101 -PS1='$ '
1.102 -PS2='> '
1.103 -PS4='+ '
1.104 -
1.105 -# NLS nuisances.
1.106 -for as_var in \
1.107 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1.108 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1.109 - LC_TELEPHONE LC_TIME
1.110 -do
1.111 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.112 - eval $as_var=C; export $as_var
1.113 - else
1.114 - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.115 - fi
1.116 -done
1.117 -
1.118 -# Required to use basename.
1.119 -if expr a : '\(a\)' >/dev/null 2>&1 &&
1.120 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.121 - as_expr=expr
1.122 -else
1.123 - as_expr=false
1.124 -fi
1.125 -
1.126 -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.127 - as_basename=basename
1.128 -else
1.129 - as_basename=false
1.130 -fi
1.131 -
1.132 -
1.133 -# Name of the executable.
1.134 -as_me=`$as_basename -- "$0" ||
1.135 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1.136 - X"$0" : 'X\(//\)$' \| \
1.137 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.138 -echo X/"$0" |
1.139 - sed '/^.*\/\([^/][^/]*\)\/*$/{
1.140 - s//\1/
1.141 - q
1.142 - }
1.143 - /^X\/\(\/\/\)$/{
1.144 - s//\1/
1.145 - q
1.146 - }
1.147 - /^X\/\(\/\).*/{
1.148 - s//\1/
1.149 - q
1.150 - }
1.151 - s/.*/./; q'`
1.152 -
1.153 -# CDPATH.
1.154 -$as_unset CDPATH
1.155 -
1.156 -
1.157 -if test "x$CONFIG_SHELL" = x; then
1.158 - if (eval ":") 2>/dev/null; then
1.159 - as_have_required=yes
1.160 -else
1.161 - as_have_required=no
1.162 -fi
1.163 -
1.164 - if test $as_have_required = yes && (eval ":
1.165 -(as_func_return () {
1.166 - (exit \$1)
1.167 -}
1.168 -as_func_success () {
1.169 - as_func_return 0
1.170 -}
1.171 -as_func_failure () {
1.172 - as_func_return 1
1.173 -}
1.174 -as_func_ret_success () {
1.175 - return 0
1.176 -}
1.177 -as_func_ret_failure () {
1.178 - return 1
1.179 -}
1.180 -
1.181 -exitcode=0
1.182 -if as_func_success; then
1.183 - :
1.184 -else
1.185 - exitcode=1
1.186 - echo as_func_success failed.
1.187 -fi
1.188 -
1.189 -if as_func_failure; then
1.190 - exitcode=1
1.191 - echo as_func_failure succeeded.
1.192 -fi
1.193 -
1.194 -if as_func_ret_success; then
1.195 - :
1.196 -else
1.197 - exitcode=1
1.198 - echo as_func_ret_success failed.
1.199 -fi
1.200 -
1.201 -if as_func_ret_failure; then
1.202 - exitcode=1
1.203 - echo as_func_ret_failure succeeded.
1.204 -fi
1.205 -
1.206 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
1.207 - :
1.208 -else
1.209 - exitcode=1
1.210 - echo positional parameters were not saved.
1.211 -fi
1.212 -
1.213 -test \$exitcode = 0) || { (exit 1); exit 1; }
1.214 -
1.215 -(
1.216 - as_lineno_1=\$LINENO
1.217 - as_lineno_2=\$LINENO
1.218 - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
1.219 - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
1.220 -") 2> /dev/null; then
1.221 - :
1.222 -else
1.223 - as_candidate_shells=
1.224 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.225 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.226 -do
1.227 - IFS=$as_save_IFS
1.228 - test -z "$as_dir" && as_dir=.
1.229 - case $as_dir in
1.230 - /*)
1.231 - for as_base in sh bash ksh sh5; do
1.232 - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
1.233 - done;;
1.234 - esac
1.235 -done
1.236 -IFS=$as_save_IFS
1.237 -
1.238 -
1.239 - for as_shell in $as_candidate_shells $SHELL; do
1.240 - # Try only shells that exist, to save several forks.
1.241 - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1.242 - { ("$as_shell") 2> /dev/null <<\_ASEOF
1.243 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.244 - emulate sh
1.245 - NULLCMD=:
1.246 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.247 - # is contrary to our usage. Disable this feature.
1.248 - alias -g '${1+"$@"}'='"$@"'
1.249 - setopt NO_GLOB_SUBST
1.250 -else
1.251 - case `(set -o) 2>/dev/null` in
1.252 - *posix*) set -o posix ;;
1.253 -esac
1.254 -
1.255 -fi
1.256 -
1.257 -
1.258 -:
1.259 -_ASEOF
1.260 -}; then
1.261 - CONFIG_SHELL=$as_shell
1.262 - as_have_required=yes
1.263 - if { "$as_shell" 2> /dev/null <<\_ASEOF
1.264 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.265 - emulate sh
1.266 - NULLCMD=:
1.267 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.268 - # is contrary to our usage. Disable this feature.
1.269 - alias -g '${1+"$@"}'='"$@"'
1.270 - setopt NO_GLOB_SUBST
1.271 -else
1.272 - case `(set -o) 2>/dev/null` in
1.273 - *posix*) set -o posix ;;
1.274 -esac
1.275 -
1.276 -fi
1.277 -
1.278 -
1.279 -:
1.280 -(as_func_return () {
1.281 - (exit $1)
1.282 -}
1.283 -as_func_success () {
1.284 - as_func_return 0
1.285 -}
1.286 -as_func_failure () {
1.287 - as_func_return 1
1.288 -}
1.289 -as_func_ret_success () {
1.290 - return 0
1.291 -}
1.292 -as_func_ret_failure () {
1.293 - return 1
1.294 -}
1.295 -
1.296 -exitcode=0
1.297 -if as_func_success; then
1.298 - :
1.299 -else
1.300 - exitcode=1
1.301 - echo as_func_success failed.
1.302 -fi
1.303 -
1.304 -if as_func_failure; then
1.305 - exitcode=1
1.306 - echo as_func_failure succeeded.
1.307 -fi
1.308 -
1.309 -if as_func_ret_success; then
1.310 - :
1.311 -else
1.312 - exitcode=1
1.313 - echo as_func_ret_success failed.
1.314 -fi
1.315 -
1.316 -if as_func_ret_failure; then
1.317 - exitcode=1
1.318 - echo as_func_ret_failure succeeded.
1.319 -fi
1.320 -
1.321 -if ( set x; as_func_ret_success y && test x = "$1" ); then
1.322 - :
1.323 -else
1.324 - exitcode=1
1.325 - echo positional parameters were not saved.
1.326 -fi
1.327 -
1.328 -test $exitcode = 0) || { (exit 1); exit 1; }
1.329 -
1.330 -(
1.331 - as_lineno_1=$LINENO
1.332 - as_lineno_2=$LINENO
1.333 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.334 - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
1.335 -
1.336 -_ASEOF
1.337 -}; then
1.338 - break
1.339 -fi
1.340 -
1.341 -fi
1.342 -
1.343 - done
1.344 -
1.345 - if test "x$CONFIG_SHELL" != x; then
1.346 - for as_var in BASH_ENV ENV
1.347 - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.348 - done
1.349 - export CONFIG_SHELL
1.350 - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
1.351 -fi
1.352 -
1.353 -
1.354 - if test $as_have_required = no; then
1.355 - echo This script requires a shell more modern than all the
1.356 - echo shells that I found on your system. Please install a
1.357 - echo modern shell, or manually run the script under such a
1.358 - echo shell if you do have one.
1.359 - { (exit 1); exit 1; }
1.360 -fi
1.361 -
1.362 -
1.363 -fi
1.364 -
1.365 -fi
1.366 -
1.367 -
1.368 -
1.369 -(eval "as_func_return () {
1.370 - (exit \$1)
1.371 -}
1.372 -as_func_success () {
1.373 - as_func_return 0
1.374 -}
1.375 -as_func_failure () {
1.376 - as_func_return 1
1.377 -}
1.378 -as_func_ret_success () {
1.379 - return 0
1.380 -}
1.381 -as_func_ret_failure () {
1.382 - return 1
1.383 -}
1.384 -
1.385 -exitcode=0
1.386 -if as_func_success; then
1.387 - :
1.388 -else
1.389 - exitcode=1
1.390 - echo as_func_success failed.
1.391 -fi
1.392 -
1.393 -if as_func_failure; then
1.394 - exitcode=1
1.395 - echo as_func_failure succeeded.
1.396 -fi
1.397 -
1.398 -if as_func_ret_success; then
1.399 - :
1.400 -else
1.401 - exitcode=1
1.402 - echo as_func_ret_success failed.
1.403 -fi
1.404 -
1.405 -if as_func_ret_failure; then
1.406 - exitcode=1
1.407 - echo as_func_ret_failure succeeded.
1.408 -fi
1.409 -
1.410 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
1.411 - :
1.412 -else
1.413 - exitcode=1
1.414 - echo positional parameters were not saved.
1.415 -fi
1.416 -
1.417 -test \$exitcode = 0") || {
1.418 - echo No shell found that supports shell functions.
1.419 - echo Please tell autoconf@gnu.org about your system,
1.420 - echo including any error possibly output before this
1.421 - echo message
1.422 -}
1.423 -
1.424 -
1.425 -
1.426 - as_lineno_1=$LINENO
1.427 - as_lineno_2=$LINENO
1.428 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.429 - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.430 -
1.431 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1.432 - # uniformly replaced by the line number. The first 'sed' inserts a
1.433 - # line-number line after each line using $LINENO; the second 'sed'
1.434 - # does the real work. The second script uses 'N' to pair each
1.435 - # line-number line with the line containing $LINENO, and appends
1.436 - # trailing '-' during substitution so that $LINENO is not a special
1.437 - # case at line end.
1.438 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.439 - # scripts with optimization help from Paolo Bonzini. Blame Lee
1.440 - # E. McMahon (1931-1989) for sed's syntax. :-)
1.441 - sed -n '
1.442 - p
1.443 - /[$]LINENO/=
1.444 - ' <$as_myself |
1.445 - sed '
1.446 - s/[$]LINENO.*/&-/
1.447 - t lineno
1.448 - b
1.449 - :lineno
1.450 - N
1.451 - :loop
1.452 - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.453 - t loop
1.454 - s/-\n.*//
1.455 - ' >$as_me.lineno &&
1.456 - chmod +x "$as_me.lineno" ||
1.457 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.458 - { (exit 1); exit 1; }; }
1.459 -
1.460 - # Don't try to exec as it changes $[0], causing all sort of problems
1.461 - # (the dirname of $[0] is not the place where we might find the
1.462 - # original and so on. Autoconf is especially sensitive to this).
1.463 - . "./$as_me.lineno"
1.464 - # Exit status is that of the last command.
1.465 - exit
1.466 -}
1.467 -
1.468 -
1.469 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1.470 - as_dirname=dirname
1.471 -else
1.472 - as_dirname=false
1.473 -fi
1.474 -
1.475 -ECHO_C= ECHO_N= ECHO_T=
1.476 -case `echo -n x` in
1.477 --n*)
1.478 - case `echo 'x\c'` in
1.479 - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1.480 - *) ECHO_C='\c';;
1.481 - esac;;
1.482 -*)
1.483 - ECHO_N='-n';;
1.484 -esac
1.485 -
1.486 -if expr a : '\(a\)' >/dev/null 2>&1 &&
1.487 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.488 - as_expr=expr
1.489 -else
1.490 - as_expr=false
1.491 -fi
1.492 -
1.493 -rm -f conf$$ conf$$.exe conf$$.file
1.494 -if test -d conf$$.dir; then
1.495 - rm -f conf$$.dir/conf$$.file
1.496 -else
1.497 - rm -f conf$$.dir
1.498 - mkdir conf$$.dir
1.499 -fi
1.500 -echo >conf$$.file
1.501 -if ln -s conf$$.file conf$$ 2>/dev/null; then
1.502 - as_ln_s='ln -s'
1.503 - # ... but there are two gotchas:
1.504 - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1.505 - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.506 - # In both cases, we have to default to `cp -p'.
1.507 - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.508 - as_ln_s='cp -p'
1.509 -elif ln conf$$.file conf$$ 2>/dev/null; then
1.510 - as_ln_s=ln
1.511 -else
1.512 - as_ln_s='cp -p'
1.513 -fi
1.514 -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1.515 -rmdir conf$$.dir 2>/dev/null
1.516 -
1.517 -if mkdir -p . 2>/dev/null; then
1.518 - as_mkdir_p=:
1.519 -else
1.520 - test -d ./-p && rmdir ./-p
1.521 - as_mkdir_p=false
1.522 -fi
1.523 -
1.524 -if test -x / >/dev/null 2>&1; then
1.525 - as_test_x='test -x'
1.526 -else
1.527 - if ls -dL / >/dev/null 2>&1; then
1.528 - as_ls_L_option=L
1.529 - else
1.530 - as_ls_L_option=
1.531 - fi
1.532 - as_test_x='
1.533 - eval sh -c '\''
1.534 - if test -d "$1"; then
1.535 - test -d "$1/.";
1.536 - else
1.537 - case $1 in
1.538 - -*)set "./$1";;
1.539 - esac;
1.540 - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
1.541 - ???[sx]*):;;*)false;;esac;fi
1.542 - '\'' sh
1.543 - '
1.544 -fi
1.545 -as_executable_p=$as_test_x
1.546 -
1.547 -# Sed expression to map a string onto a valid CPP name.
1.548 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.549 -
1.550 -# Sed expression to map a string onto a valid variable name.
1.551 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.552 -
1.553 -
1.554 -
1.555 -
1.556 -# Check that we are running under the correct shell.
1.557 -SHELL=${CONFIG_SHELL-/bin/sh}
1.558 -
1.559 -case X$ECHO in
1.560 -X*--fallback-echo)
1.561 - # Remove one level of quotation (which was required for Make).
1.562 - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
1.563 - ;;
1.564 -esac
1.565 -
1.566 -echo=${ECHO-echo}
1.567 -if test "X$1" = X--no-reexec; then
1.568 - # Discard the --no-reexec flag, and continue.
1.569 - shift
1.570 -elif test "X$1" = X--fallback-echo; then
1.571 - # Avoid inline document here, it may be left over
1.572 - :
1.573 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1.574 - # Yippee, $echo works!
1.575 - :
1.576 -else
1.577 - # Restart under the correct shell.
1.578 - exec $SHELL "$0" --no-reexec ${1+"$@"}
1.579 -fi
1.580 -
1.581 -if test "X$1" = X--fallback-echo; then
1.582 - # used as fallback echo
1.583 - shift
1.584 - cat <<EOF
1.585 -$*
1.586 -EOF
1.587 - exit 0
1.588 -fi
1.589 -
1.590 -# The HP-UX ksh and POSIX shell print the target directory to stdout
1.591 -# if CDPATH is set.
1.592 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
1.593 -
1.594 -if test -z "$ECHO"; then
1.595 -if test "X${echo_test_string+set}" != Xset; then
1.596 -# find a string as large as possible, as long as the shell can cope with it
1.597 - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
1.598 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1.599 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
1.600 - echo_test_string="`eval $cmd`" &&
1.601 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1.602 - then
1.603 - break
1.604 - fi
1.605 - done
1.606 -fi
1.607 -
1.608 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1.609 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1.610 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.611 - :
1.612 -else
1.613 - # The Solaris, AIX, and Digital Unix default echo programs unquote
1.614 - # backslashes. This makes it impossible to quote backslashes using
1.615 - # echo "$something" | sed 's/\\/\\\\/g'
1.616 - #
1.617 - # So, first we look for a working echo in the user's PATH.
1.618 -
1.619 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.620 - for dir in $PATH /usr/ucb; do
1.621 - IFS="$lt_save_ifs"
1.622 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1.623 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1.624 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1.625 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.626 - echo="$dir/echo"
1.627 - break
1.628 - fi
1.629 - done
1.630 - IFS="$lt_save_ifs"
1.631 -
1.632 - if test "X$echo" = Xecho; then
1.633 - # We didn't find a better echo, so look for alternatives.
1.634 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
1.635 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
1.636 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.637 - # This shell has a builtin print -r that does the trick.
1.638 - echo='print -r'
1.639 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
1.640 - test "X$CONFIG_SHELL" != X/bin/ksh; then
1.641 - # If we have ksh, try running configure again with it.
1.642 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1.643 - export ORIGINAL_CONFIG_SHELL
1.644 - CONFIG_SHELL=/bin/ksh
1.645 - export CONFIG_SHELL
1.646 - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
1.647 - else
1.648 - # Try using printf.
1.649 - echo='printf %s\n'
1.650 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1.651 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1.652 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.653 - # Cool, printf works
1.654 - :
1.655 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1.656 - test "X$echo_testing_string" = 'X\t' &&
1.657 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1.658 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.659 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1.660 - export CONFIG_SHELL
1.661 - SHELL="$CONFIG_SHELL"
1.662 - export SHELL
1.663 - echo="$CONFIG_SHELL $0 --fallback-echo"
1.664 - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1.665 - test "X$echo_testing_string" = 'X\t' &&
1.666 - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1.667 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.668 - echo="$CONFIG_SHELL $0 --fallback-echo"
1.669 - else
1.670 - # maybe with a smaller string...
1.671 - prev=:
1.672 -
1.673 - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
1.674 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1.675 - then
1.676 - break
1.677 - fi
1.678 - prev="$cmd"
1.679 - done
1.680 -
1.681 - if test "$prev" != 'sed 50q "$0"'; then
1.682 - echo_test_string=`eval $prev`
1.683 - export echo_test_string
1.684 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
1.685 - else
1.686 - # Oops. We lost completely, so just stick with echo.
1.687 - echo=echo
1.688 - fi
1.689 - fi
1.690 - fi
1.691 - fi
1.692 -fi
1.693 -fi
1.694 -
1.695 -# Copy echo and quote the copy suitably for passing to libtool from
1.696 -# the Makefile, instead of quoting the original, which is used later.
1.697 -ECHO=$echo
1.698 -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
1.699 - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
1.700 -fi
1.701 -
1.702 -
1.703 -
1.704 -
1.705 -tagnames=${tagnames+${tagnames},}CXX
1.706 -
1.707 -tagnames=${tagnames+${tagnames},}F77
1.708 -
1.709 -exec 7<&0 </dev/null 6>&1
1.710 -
1.711 -# Name of the host.
1.712 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1.713 -# so uname gets run too.
1.714 -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.715 -
1.716 -#
1.717 -# Initializations.
1.718 -#
1.719 -ac_default_prefix=/usr/local
1.720 -ac_clean_files=
1.721 -ac_config_libobj_dir=.
1.722 -LIB@&t@OBJS=
1.723 -cross_compiling=no
1.724 -subdirs=
1.725 -MFLAGS=
1.726 -MAKEFLAGS=
1.727 -SHELL=${CONFIG_SHELL-/bin/sh}
1.728 -
1.729 -# Identity of this package.
1.730 -PACKAGE_NAME=
1.731 -PACKAGE_TARNAME=
1.732 -PACKAGE_VERSION=
1.733 -PACKAGE_STRING=
1.734 -PACKAGE_BUGREPORT=
1.735 -
1.736 -# Factoring default headers for most tests.
1.737 -ac_includes_default="\
1.738 -#include <stdio.h>
1.739 -#ifdef HAVE_SYS_TYPES_H
1.740 -# include <sys/types.h>
1.741 -#endif
1.742 -#ifdef HAVE_SYS_STAT_H
1.743 -# include <sys/stat.h>
1.744 -#endif
1.745 -#ifdef STDC_HEADERS
1.746 -# include <stdlib.h>
1.747 -# include <stddef.h>
1.748 -#else
1.749 -# ifdef HAVE_STDLIB_H
1.750 -# include <stdlib.h>
1.751 -# endif
1.752 -#endif
1.753 -#ifdef HAVE_STRING_H
1.754 -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.755 -# include <memory.h>
1.756 -# endif
1.757 -# include <string.h>
1.758 -#endif
1.759 -#ifdef HAVE_STRINGS_H
1.760 -# include <strings.h>
1.761 -#endif
1.762 -#ifdef HAVE_INTTYPES_H
1.763 -# include <inttypes.h>
1.764 -#endif
1.765 -#ifdef HAVE_STDINT_H
1.766 -# include <stdint.h>
1.767 -#endif
1.768 -#ifdef HAVE_UNISTD_H
1.769 -# include <unistd.h>
1.770 -#endif"
1.771 -
1.772 -ac_subst_vars='SHELL
1.773 -PATH_SEPARATOR
1.774 -PACKAGE_NAME
1.775 -PACKAGE_TARNAME
1.776 -PACKAGE_VERSION
1.777 -PACKAGE_STRING
1.778 -PACKAGE_BUGREPORT
1.779 -exec_prefix
1.780 -prefix
1.781 -program_transform_name
1.782 -bindir
1.783 -sbindir
1.784 -libexecdir
1.785 -datarootdir
1.786 -datadir
1.787 -sysconfdir
1.788 -sharedstatedir
1.789 -localstatedir
1.790 -includedir
1.791 -oldincludedir
1.792 -docdir
1.793 -infodir
1.794 -htmldir
1.795 -dvidir
1.796 -pdfdir
1.797 -psdir
1.798 -libdir
1.799 -localedir
1.800 -mandir
1.801 -DEFS
1.802 -ECHO_C
1.803 -ECHO_N
1.804 -ECHO_T
1.805 -LIBS
1.806 -build_alias
1.807 -host_alias
1.808 -target_alias
1.809 -build
1.810 -build_cpu
1.811 -build_vendor
1.812 -build_os
1.813 -host
1.814 -host_cpu
1.815 -host_vendor
1.816 -host_os
1.817 -target
1.818 -target_cpu
1.819 -target_vendor
1.820 -target_os
1.821 -MAINTAINER_MODE_TRUE
1.822 -MAINTAINER_MODE_FALSE
1.823 -MAINT
1.824 -GST_PLUGINS_VERSION
1.825 -GST_PLUGINS_VERSION_RELEASE
1.826 -GST_PLUGINS_VERSION_MAJOR
1.827 -GST_PLUGINS_VERSION_MINOR
1.828 -GST_PLUGINS_VERSION_MICRO
1.829 -GST_PLUGINS_VERSION_NANO
1.830 -PACKAGE
1.831 -VERSION
1.832 -INSTALL_PROGRAM
1.833 -INSTALL_SCRIPT
1.834 -INSTALL_DATA
1.835 -CYGPATH_W
1.836 -ACLOCAL
1.837 -AUTOCONF
1.838 -AUTOMAKE
1.839 -AUTOHEADER
1.840 -MAKEINFO
1.841 -install_sh
1.842 -STRIP
1.843 -INSTALL_STRIP_PROGRAM
1.844 -mkdir_p
1.845 -AWK
1.846 -SET_MAKE
1.847 -am__leading_dot
1.848 -AMTAR
1.849 -am__tar
1.850 -am__untar
1.851 -CC
1.852 -CFLAGS
1.853 -LDFLAGS
1.854 -CPPFLAGS
1.855 -ac_ct_CC
1.856 -EXEEXT
1.857 -OBJEXT
1.858 -DEPDIR
1.859 -am__include
1.860 -am__quote
1.861 -AMDEP_TRUE
1.862 -AMDEP_FALSE
1.863 -AMDEPBACKSLASH
1.864 -CCDEPMODE
1.865 -am__fastdepCC_TRUE
1.866 -am__fastdepCC_FALSE
1.867 -GREP
1.868 -EGREP
1.869 -LN_S
1.870 -ECHO
1.871 -AR
1.872 -RANLIB
1.873 -CPP
1.874 -CXX
1.875 -CXXFLAGS
1.876 -ac_ct_CXX
1.877 -CXXDEPMODE
1.878 -am__fastdepCXX_TRUE
1.879 -am__fastdepCXX_FALSE
1.880 -CXXCPP
1.881 -F77
1.882 -FFLAGS
1.883 -ac_ct_F77
1.884 -LIBTOOL
1.885 -ACLOCAL_AMFLAGS
1.886 -CCAS
1.887 -CCASFLAGS
1.888 -ERROR_CFLAGS
1.889 -HAVE_CXX
1.890 -HAVE_PKGCONFIG
1.891 -PKG_CONFIG
1.892 -GST_CFLAGS
1.893 -GST_LIBS
1.894 -GST_MAJORMINOR
1.895 -GST_BASE_CFLAGS
1.896 -GST_BASE_LIBS
1.897 -GST_PLUGINS_BASE_CFLAGS
1.898 -GST_PLUGINS_BASE_LIBS
1.899 -plugindir
1.900 -GST_PLUGIN_LDFLAGS
1.901 -LIB@&t@OBJS
1.902 -LTLIBOBJS'
1.903 -ac_subst_files=''
1.904 - ac_precious_vars='build_alias
1.905 -host_alias
1.906 -target_alias
1.907 -CC
1.908 -CFLAGS
1.909 -LDFLAGS
1.910 -LIBS
1.911 -CPPFLAGS
1.912 -CPP
1.913 -CXX
1.914 -CXXFLAGS
1.915 -CCC
1.916 -CXXCPP
1.917 -F77
1.918 -FFLAGS
1.919 -CCAS
1.920 -CCASFLAGS
1.921 -PKG_CONFIG
1.922 -GST_CFLAGS
1.923 -GST_LIBS
1.924 -GST_BASE_CFLAGS
1.925 -GST_BASE_LIBS
1.926 -GST_PLUGINS_BASE_CFLAGS
1.927 -GST_PLUGINS_BASE_LIBS'
1.928 -
1.929 -
1.930 -# Initialize some variables set by options.
1.931 -ac_init_help=
1.932 -ac_init_version=false
1.933 -# The variables have the same names as the options, with
1.934 -# dashes changed to underlines.
1.935 -cache_file=/dev/null
1.936 -exec_prefix=NONE
1.937 -no_create=
1.938 -no_recursion=
1.939 -prefix=NONE
1.940 -program_prefix=NONE
1.941 -program_suffix=NONE
1.942 -program_transform_name=s,x,x,
1.943 -silent=
1.944 -site=
1.945 -srcdir=
1.946 -verbose=
1.947 -x_includes=NONE
1.948 -x_libraries=NONE
1.949 -
1.950 -# Installation directory options.
1.951 -# These are left unexpanded so users can "make install exec_prefix=/foo"
1.952 -# and all the variables that are supposed to be based on exec_prefix
1.953 -# by default will actually change.
1.954 -# Use braces instead of parens because sh, perl, etc. also accept them.
1.955 -# (The list follows the same order as the GNU Coding Standards.)
1.956 -bindir='${exec_prefix}/bin'
1.957 -sbindir='${exec_prefix}/sbin'
1.958 -libexecdir='${exec_prefix}/libexec'
1.959 -datarootdir='${prefix}/share'
1.960 -datadir='${datarootdir}'
1.961 -sysconfdir='${prefix}/etc'
1.962 -sharedstatedir='${prefix}/com'
1.963 -localstatedir='${prefix}/var'
1.964 -includedir='${prefix}/include'
1.965 -oldincludedir='/usr/include'
1.966 -docdir='${datarootdir}/doc/${PACKAGE}'
1.967 -infodir='${datarootdir}/info'
1.968 -htmldir='${docdir}'
1.969 -dvidir='${docdir}'
1.970 -pdfdir='${docdir}'
1.971 -psdir='${docdir}'
1.972 -libdir='${exec_prefix}/lib'
1.973 -localedir='${datarootdir}/locale'
1.974 -mandir='${datarootdir}/man'
1.975 -
1.976 -ac_prev=
1.977 -ac_dashdash=
1.978 -for ac_option
1.979 -do
1.980 - # If the previous option needs an argument, assign it.
1.981 - if test -n "$ac_prev"; then
1.982 - eval $ac_prev=\$ac_option
1.983 - ac_prev=
1.984 - continue
1.985 - fi
1.986 -
1.987 - case $ac_option in
1.988 - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1.989 - *) ac_optarg=yes ;;
1.990 - esac
1.991 -
1.992 - # Accept the important Cygnus configure options, so we can diagnose typos.
1.993 -
1.994 - case $ac_dashdash$ac_option in
1.995 - --)
1.996 - ac_dashdash=yes ;;
1.997 -
1.998 - -bindir | --bindir | --bindi | --bind | --bin | --bi)
1.999 - ac_prev=bindir ;;
1.1000 - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.1001 - bindir=$ac_optarg ;;
1.1002 -
1.1003 - -build | --build | --buil | --bui | --bu)
1.1004 - ac_prev=build_alias ;;
1.1005 - -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.1006 - build_alias=$ac_optarg ;;
1.1007 -
1.1008 - -cache-file | --cache-file | --cache-fil | --cache-fi \
1.1009 - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1.1010 - ac_prev=cache_file ;;
1.1011 - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.1012 - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.1013 - cache_file=$ac_optarg ;;
1.1014 -
1.1015 - --config-cache | -C)
1.1016 - cache_file=config.cache ;;
1.1017 -
1.1018 - -datadir | --datadir | --datadi | --datad)
1.1019 - ac_prev=datadir ;;
1.1020 - -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1021 - datadir=$ac_optarg ;;
1.1022 -
1.1023 - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1.1024 - | --dataroo | --dataro | --datar)
1.1025 - ac_prev=datarootdir ;;
1.1026 - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1.1027 - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1.1028 - datarootdir=$ac_optarg ;;
1.1029 -
1.1030 - -disable-* | --disable-*)
1.1031 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1032 - # Reject names that are not valid shell variable names.
1.1033 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1034 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.1035 - { (exit 1); exit 1; }; }
1.1036 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1.1037 - eval enable_$ac_feature=no ;;
1.1038 -
1.1039 - -docdir | --docdir | --docdi | --doc | --do)
1.1040 - ac_prev=docdir ;;
1.1041 - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1.1042 - docdir=$ac_optarg ;;
1.1043 -
1.1044 - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1.1045 - ac_prev=dvidir ;;
1.1046 - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1.1047 - dvidir=$ac_optarg ;;
1.1048 -
1.1049 - -enable-* | --enable-*)
1.1050 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1051 - # Reject names that are not valid shell variable names.
1.1052 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1053 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.1054 - { (exit 1); exit 1; }; }
1.1055 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1.1056 - eval enable_$ac_feature=\$ac_optarg ;;
1.1057 -
1.1058 - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1.1059 - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1.1060 - | --exec | --exe | --ex)
1.1061 - ac_prev=exec_prefix ;;
1.1062 - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1.1063 - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1.1064 - | --exec=* | --exe=* | --ex=*)
1.1065 - exec_prefix=$ac_optarg ;;
1.1066 -
1.1067 - -gas | --gas | --ga | --g)
1.1068 - # Obsolete; use --with-gas.
1.1069 - with_gas=yes ;;
1.1070 -
1.1071 - -help | --help | --hel | --he | -h)
1.1072 - ac_init_help=long ;;
1.1073 - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1.1074 - ac_init_help=recursive ;;
1.1075 - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1.1076 - ac_init_help=short ;;
1.1077 -
1.1078 - -host | --host | --hos | --ho)
1.1079 - ac_prev=host_alias ;;
1.1080 - -host=* | --host=* | --hos=* | --ho=*)
1.1081 - host_alias=$ac_optarg ;;
1.1082 -
1.1083 - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1.1084 - ac_prev=htmldir ;;
1.1085 - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1.1086 - | --ht=*)
1.1087 - htmldir=$ac_optarg ;;
1.1088 -
1.1089 - -includedir | --includedir | --includedi | --included | --include \
1.1090 - | --includ | --inclu | --incl | --inc)
1.1091 - ac_prev=includedir ;;
1.1092 - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1.1093 - | --includ=* | --inclu=* | --incl=* | --inc=*)
1.1094 - includedir=$ac_optarg ;;
1.1095 -
1.1096 - -infodir | --infodir | --infodi | --infod | --info | --inf)
1.1097 - ac_prev=infodir ;;
1.1098 - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.1099 - infodir=$ac_optarg ;;
1.1100 -
1.1101 - -libdir | --libdir | --libdi | --libd)
1.1102 - ac_prev=libdir ;;
1.1103 - -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.1104 - libdir=$ac_optarg ;;
1.1105 -
1.1106 - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1.1107 - | --libexe | --libex | --libe)
1.1108 - ac_prev=libexecdir ;;
1.1109 - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1.1110 - | --libexe=* | --libex=* | --libe=*)
1.1111 - libexecdir=$ac_optarg ;;
1.1112 -
1.1113 - -localedir | --localedir | --localedi | --localed | --locale)
1.1114 - ac_prev=localedir ;;
1.1115 - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1.1116 - localedir=$ac_optarg ;;
1.1117 -
1.1118 - -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1119 - | --localstate | --localstat | --localsta | --localst | --locals)
1.1120 - ac_prev=localstatedir ;;
1.1121 - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1122 - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1123 - localstatedir=$ac_optarg ;;
1.1124 -
1.1125 - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1.1126 - ac_prev=mandir ;;
1.1127 - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.1128 - mandir=$ac_optarg ;;
1.1129 -
1.1130 - -nfp | --nfp | --nf)
1.1131 - # Obsolete; use --without-fp.
1.1132 - with_fp=no ;;
1.1133 -
1.1134 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.1135 - | --no-cr | --no-c | -n)
1.1136 - no_create=yes ;;
1.1137 -
1.1138 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1.1139 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1.1140 - no_recursion=yes ;;
1.1141 -
1.1142 - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1.1143 - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1.1144 - | --oldin | --oldi | --old | --ol | --o)
1.1145 - ac_prev=oldincludedir ;;
1.1146 - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1.1147 - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1.1148 - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.1149 - oldincludedir=$ac_optarg ;;
1.1150 -
1.1151 - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1.1152 - ac_prev=prefix ;;
1.1153 - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.1154 - prefix=$ac_optarg ;;
1.1155 -
1.1156 - -program-prefix | --program-prefix | --program-prefi | --program-pref \
1.1157 - | --program-pre | --program-pr | --program-p)
1.1158 - ac_prev=program_prefix ;;
1.1159 - -program-prefix=* | --program-prefix=* | --program-prefi=* \
1.1160 - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.1161 - program_prefix=$ac_optarg ;;
1.1162 -
1.1163 - -program-suffix | --program-suffix | --program-suffi | --program-suff \
1.1164 - | --program-suf | --program-su | --program-s)
1.1165 - ac_prev=program_suffix ;;
1.1166 - -program-suffix=* | --program-suffix=* | --program-suffi=* \
1.1167 - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.1168 - program_suffix=$ac_optarg ;;
1.1169 -
1.1170 - -program-transform-name | --program-transform-name \
1.1171 - | --program-transform-nam | --program-transform-na \
1.1172 - | --program-transform-n | --program-transform- \
1.1173 - | --program-transform | --program-transfor \
1.1174 - | --program-transfo | --program-transf \
1.1175 - | --program-trans | --program-tran \
1.1176 - | --progr-tra | --program-tr | --program-t)
1.1177 - ac_prev=program_transform_name ;;
1.1178 - -program-transform-name=* | --program-transform-name=* \
1.1179 - | --program-transform-nam=* | --program-transform-na=* \
1.1180 - | --program-transform-n=* | --program-transform-=* \
1.1181 - | --program-transform=* | --program-transfor=* \
1.1182 - | --program-transfo=* | --program-transf=* \
1.1183 - | --program-trans=* | --program-tran=* \
1.1184 - | --progr-tra=* | --program-tr=* | --program-t=*)
1.1185 - program_transform_name=$ac_optarg ;;
1.1186 -
1.1187 - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1.1188 - ac_prev=pdfdir ;;
1.1189 - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1.1190 - pdfdir=$ac_optarg ;;
1.1191 -
1.1192 - -psdir | --psdir | --psdi | --psd | --ps)
1.1193 - ac_prev=psdir ;;
1.1194 - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1.1195 - psdir=$ac_optarg ;;
1.1196 -
1.1197 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.1198 - | -silent | --silent | --silen | --sile | --sil)
1.1199 - silent=yes ;;
1.1200 -
1.1201 - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1.1202 - ac_prev=sbindir ;;
1.1203 - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1.1204 - | --sbi=* | --sb=*)
1.1205 - sbindir=$ac_optarg ;;
1.1206 -
1.1207 - -sharedstatedir | --sharedstatedir | --sharedstatedi \
1.1208 - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1.1209 - | --sharedst | --shareds | --shared | --share | --shar \
1.1210 - | --sha | --sh)
1.1211 - ac_prev=sharedstatedir ;;
1.1212 - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1.1213 - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1.1214 - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1.1215 - | --sha=* | --sh=*)
1.1216 - sharedstatedir=$ac_optarg ;;
1.1217 -
1.1218 - -site | --site | --sit)
1.1219 - ac_prev=site ;;
1.1220 - -site=* | --site=* | --sit=*)
1.1221 - site=$ac_optarg ;;
1.1222 -
1.1223 - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1.1224 - ac_prev=srcdir ;;
1.1225 - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.1226 - srcdir=$ac_optarg ;;
1.1227 -
1.1228 - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1.1229 - | --syscon | --sysco | --sysc | --sys | --sy)
1.1230 - ac_prev=sysconfdir ;;
1.1231 - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1.1232 - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.1233 - sysconfdir=$ac_optarg ;;
1.1234 -
1.1235 - -target | --target | --targe | --targ | --tar | --ta | --t)
1.1236 - ac_prev=target_alias ;;
1.1237 - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.1238 - target_alias=$ac_optarg ;;
1.1239 -
1.1240 - -v | -verbose | --verbose | --verbos | --verbo | --verb)
1.1241 - verbose=yes ;;
1.1242 -
1.1243 - -version | --version | --versio | --versi | --vers | -V)
1.1244 - ac_init_version=: ;;
1.1245 -
1.1246 - -with-* | --with-*)
1.1247 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1248 - # Reject names that are not valid shell variable names.
1.1249 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1250 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1.1251 - { (exit 1); exit 1; }; }
1.1252 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1.1253 - eval with_$ac_package=\$ac_optarg ;;
1.1254 -
1.1255 - -without-* | --without-*)
1.1256 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1257 - # Reject names that are not valid shell variable names.
1.1258 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1259 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1.1260 - { (exit 1); exit 1; }; }
1.1261 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1.1262 - eval with_$ac_package=no ;;
1.1263 -
1.1264 - --x)
1.1265 - # Obsolete; use --with-x.
1.1266 - with_x=yes ;;
1.1267 -
1.1268 - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1.1269 - | --x-incl | --x-inc | --x-in | --x-i)
1.1270 - ac_prev=x_includes ;;
1.1271 - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1.1272 - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.1273 - x_includes=$ac_optarg ;;
1.1274 -
1.1275 - -x-libraries | --x-libraries | --x-librarie | --x-librari \
1.1276 - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1.1277 - ac_prev=x_libraries ;;
1.1278 - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1.1279 - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.1280 - x_libraries=$ac_optarg ;;
1.1281 -
1.1282 - -*) { echo "$as_me: error: unrecognized option: $ac_option
1.1283 -Try \`$0 --help' for more information." >&2
1.1284 - { (exit 1); exit 1; }; }
1.1285 - ;;
1.1286 -
1.1287 - *=*)
1.1288 - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1.1289 - # Reject names that are not valid shell variable names.
1.1290 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.1291 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.1292 - { (exit 1); exit 1; }; }
1.1293 - eval $ac_envvar=\$ac_optarg
1.1294 - export $ac_envvar ;;
1.1295 -
1.1296 - *)
1.1297 - # FIXME: should be removed in autoconf 3.0.
1.1298 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1299 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1300 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1301 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1302 - ;;
1.1303 -
1.1304 - esac
1.1305 -done
1.1306 -
1.1307 -if test -n "$ac_prev"; then
1.1308 - ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1309 - { echo "$as_me: error: missing argument to $ac_option" >&2
1.1310 - { (exit 1); exit 1; }; }
1.1311 -fi
1.1312 -
1.1313 -# Be sure to have absolute directory names.
1.1314 -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1.1315 - datadir sysconfdir sharedstatedir localstatedir includedir \
1.1316 - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1317 - libdir localedir mandir
1.1318 -do
1.1319 - eval ac_val=\$$ac_var
1.1320 - case $ac_val in
1.1321 - [\\/$]* | ?:[\\/]* ) continue;;
1.1322 - NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1323 - esac
1.1324 - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.1325 - { (exit 1); exit 1; }; }
1.1326 -done
1.1327 -
1.1328 -# There might be people who depend on the old broken behavior: `$host'
1.1329 -# used to hold the argument of --host etc.
1.1330 -# FIXME: To remove some day.
1.1331 -build=$build_alias
1.1332 -host=$host_alias
1.1333 -target=$target_alias
1.1334 -
1.1335 -# FIXME: To remove some day.
1.1336 -if test "x$host_alias" != x; then
1.1337 - if test "x$build_alias" = x; then
1.1338 - cross_compiling=maybe
1.1339 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.1340 - If a cross compiler is detected then cross compile mode will be used." >&2
1.1341 - elif test "x$build_alias" != "x$host_alias"; then
1.1342 - cross_compiling=yes
1.1343 - fi
1.1344 -fi
1.1345 -
1.1346 -ac_tool_prefix=
1.1347 -test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1348 -
1.1349 -test "$silent" = yes && exec 6>/dev/null
1.1350 -
1.1351 -
1.1352 -ac_pwd=`pwd` && test -n "$ac_pwd" &&
1.1353 -ac_ls_di=`ls -di .` &&
1.1354 -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.1355 - { echo "$as_me: error: Working directory cannot be determined" >&2
1.1356 - { (exit 1); exit 1; }; }
1.1357 -test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.1358 - { echo "$as_me: error: pwd does not report name of working directory" >&2
1.1359 - { (exit 1); exit 1; }; }
1.1360 -
1.1361 -
1.1362 -# Find the source files, if location was not specified.
1.1363 -if test -z "$srcdir"; then
1.1364 - ac_srcdir_defaulted=yes
1.1365 - # Try the directory containing this script, then the parent directory.
1.1366 - ac_confdir=`$as_dirname -- "$0" ||
1.1367 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.1368 - X"$0" : 'X\(//\)[^/]' \| \
1.1369 - X"$0" : 'X\(//\)$' \| \
1.1370 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1371 -echo X"$0" |
1.1372 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.1373 - s//\1/
1.1374 - q
1.1375 - }
1.1376 - /^X\(\/\/\)[^/].*/{
1.1377 - s//\1/
1.1378 - q
1.1379 - }
1.1380 - /^X\(\/\/\)$/{
1.1381 - s//\1/
1.1382 - q
1.1383 - }
1.1384 - /^X\(\/\).*/{
1.1385 - s//\1/
1.1386 - q
1.1387 - }
1.1388 - s/.*/./; q'`
1.1389 - srcdir=$ac_confdir
1.1390 - if test ! -r "$srcdir/$ac_unique_file"; then
1.1391 - srcdir=..
1.1392 - fi
1.1393 -else
1.1394 - ac_srcdir_defaulted=no
1.1395 -fi
1.1396 -if test ! -r "$srcdir/$ac_unique_file"; then
1.1397 - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.1398 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.1399 - { (exit 1); exit 1; }; }
1.1400 -fi
1.1401 -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1.1402 -ac_abs_confdir=`(
1.1403 - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1.1404 - { (exit 1); exit 1; }; }
1.1405 - pwd)`
1.1406 -# When building in place, set srcdir=.
1.1407 -if test "$ac_abs_confdir" = "$ac_pwd"; then
1.1408 - srcdir=.
1.1409 -fi
1.1410 -# Remove unnecessary trailing slashes from srcdir.
1.1411 -# Double slashes in file names in object file debugging info
1.1412 -# mess up M-x gdb in Emacs.
1.1413 -case $srcdir in
1.1414 -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1.1415 -esac
1.1416 -for ac_var in $ac_precious_vars; do
1.1417 - eval ac_env_${ac_var}_set=\${${ac_var}+set}
1.1418 - eval ac_env_${ac_var}_value=\$${ac_var}
1.1419 - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1.1420 - eval ac_cv_env_${ac_var}_value=\$${ac_var}
1.1421 -done
1.1422 -
1.1423 -#
1.1424 -# Report the --help message.
1.1425 -#
1.1426 -if test "$ac_init_help" = "long"; then
1.1427 - # Omit some internal or obsolete options to make the list less imposing.
1.1428 - # This message is too long to be a string in the A/UX 3.1 sh.
1.1429 - cat <<_ACEOF
1.1430 -\`configure' configures this package to adapt to many kinds of systems.
1.1431 -
1.1432 -Usage: $0 [OPTION]... [VAR=VALUE]...
1.1433 -
1.1434 -To assign environment variables (e.g., CC, CFLAGS...), specify them as
1.1435 -VAR=VALUE. See below for descriptions of some of the useful variables.
1.1436 -
1.1437 -Defaults for the options are specified in brackets.
1.1438 -
1.1439 -Configuration:
1.1440 - -h, --help display this help and exit
1.1441 - --help=short display options specific to this package
1.1442 - --help=recursive display the short help of all the included packages
1.1443 - -V, --version display version information and exit
1.1444 - -q, --quiet, --silent do not print \`checking...' messages
1.1445 - --cache-file=FILE cache test results in FILE [disabled]
1.1446 - -C, --config-cache alias for \`--cache-file=config.cache'
1.1447 - -n, --no-create do not create output files
1.1448 - --srcdir=DIR find the sources in DIR [configure dir or \`..']
1.1449 -
1.1450 -Installation directories:
1.1451 - --prefix=PREFIX install architecture-independent files in PREFIX
1.1452 - [$ac_default_prefix]
1.1453 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.1454 - [PREFIX]
1.1455 -
1.1456 -By default, \`make install' will install all the files in
1.1457 -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1.1458 -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1.1459 -for instance \`--prefix=\$HOME'.
1.1460 -
1.1461 -For better control, use the options below.
1.1462 -
1.1463 -Fine tuning of the installation directories:
1.1464 - --bindir=DIR user executables [EPREFIX/bin]
1.1465 - --sbindir=DIR system admin executables [EPREFIX/sbin]
1.1466 - --libexecdir=DIR program executables [EPREFIX/libexec]
1.1467 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1.1468 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1.1469 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1.1470 - --libdir=DIR object code libraries [EPREFIX/lib]
1.1471 - --includedir=DIR C header files [PREFIX/include]
1.1472 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
1.1473 - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1.1474 - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1.1475 - --infodir=DIR info documentation [DATAROOTDIR/info]
1.1476 - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1.1477 - --mandir=DIR man documentation [DATAROOTDIR/man]
1.1478 - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1.1479 - --htmldir=DIR html documentation [DOCDIR]
1.1480 - --dvidir=DIR dvi documentation [DOCDIR]
1.1481 - --pdfdir=DIR pdf documentation [DOCDIR]
1.1482 - --psdir=DIR ps documentation [DOCDIR]
1.1483 -_ACEOF
1.1484 -
1.1485 - cat <<\_ACEOF
1.1486 -
1.1487 -Program names:
1.1488 - --program-prefix=PREFIX prepend PREFIX to installed program names
1.1489 - --program-suffix=SUFFIX append SUFFIX to installed program names
1.1490 - --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1.1491 -
1.1492 -System types:
1.1493 - --build=BUILD configure for building on BUILD [guessed]
1.1494 - --host=HOST cross-compile to build programs to run on HOST [BUILD]
1.1495 - --target=TARGET configure for building compilers for TARGET [HOST]
1.1496 -_ACEOF
1.1497 -fi
1.1498 -
1.1499 -if test -n "$ac_init_help"; then
1.1500 -
1.1501 - cat <<\_ACEOF
1.1502 -
1.1503 -Optional Features:
1.1504 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1.1505 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.1506 - --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1.1507 - --enable-maintainer-mode enable make rules and dependencies not useful
1.1508 - (and sometimes confusing) to the casual installer
1.1509 - --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1.1510 - --enable-fast-install@<:@=PKGS@:>@
1.1511 - optimize for fast installation @<:@default=yes@:>@
1.1512 - --disable-dependency-tracking speeds up one-time build
1.1513 - --enable-dependency-tracking do not reject slow dependency extractors
1.1514 - --disable-libtool-lock avoid locking (might break parallel builds)
1.1515 -
1.1516 -Optional Packages:
1.1517 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1.1518 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1.1519 - --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1.1520 - --with-pic try to use only PIC/non-PIC objects @<:@default=use
1.1521 - both@:>@
1.1522 - --with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1.1523 -
1.1524 -Some influential environment variables:
1.1525 - CC C compiler command
1.1526 - CFLAGS C compiler flags
1.1527 - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1.1528 - nonstandard directory <lib dir>
1.1529 - LIBS libraries to pass to the linker, e.g. -l<library>
1.1530 - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1.1531 - you have headers in a nonstandard directory <include dir>
1.1532 - CPP C preprocessor
1.1533 - CXX C++ compiler command
1.1534 - CXXFLAGS C++ compiler flags
1.1535 - CXXCPP C++ preprocessor
1.1536 - F77 Fortran 77 compiler command
1.1537 - FFLAGS Fortran 77 compiler flags
1.1538 - CCAS assembler compiler command (defaults to CC)
1.1539 - CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1.1540 - PKG_CONFIG path to pkg-config utility
1.1541 - GST_CFLAGS C compiler flags for GST, overriding pkg-config
1.1542 - GST_LIBS linker flags for GST, overriding pkg-config
1.1543 - GST_BASE_CFLAGS
1.1544 - C compiler flags for GST_BASE, overriding pkg-config
1.1545 - GST_BASE_LIBS
1.1546 - linker flags for GST_BASE, overriding pkg-config
1.1547 - GST_PLUGINS_BASE_CFLAGS
1.1548 - C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1.1549 - GST_PLUGINS_BASE_LIBS
1.1550 - linker flags for GST_PLUGINS_BASE, overriding pkg-config
1.1551 -
1.1552 -Use these variables to override the choices made by `configure' or to help
1.1553 -it to find libraries and programs with nonstandard names/locations.
1.1554 -
1.1555 -_ACEOF
1.1556 -ac_status=$?
1.1557 -fi
1.1558 -
1.1559 -if test "$ac_init_help" = "recursive"; then
1.1560 - # If there are subdirs, report their specific --help.
1.1561 - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1562 - test -d "$ac_dir" || continue
1.1563 - ac_builddir=.
1.1564 -
1.1565 -case "$ac_dir" in
1.1566 -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.1567 -*)
1.1568 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1569 - # A ".." for each directory in $ac_dir_suffix.
1.1570 - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1.1571 - case $ac_top_builddir_sub in
1.1572 - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.1573 - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1.1574 - esac ;;
1.1575 -esac
1.1576 -ac_abs_top_builddir=$ac_pwd
1.1577 -ac_abs_builddir=$ac_pwd$ac_dir_suffix
1.1578 -# for backward compatibility:
1.1579 -ac_top_builddir=$ac_top_build_prefix
1.1580 -
1.1581 -case $srcdir in
1.1582 - .) # We are building in place.
1.1583 - ac_srcdir=.
1.1584 - ac_top_srcdir=$ac_top_builddir_sub
1.1585 - ac_abs_top_srcdir=$ac_pwd ;;
1.1586 - [\\/]* | ?:[\\/]* ) # Absolute name.
1.1587 - ac_srcdir=$srcdir$ac_dir_suffix;
1.1588 - ac_top_srcdir=$srcdir
1.1589 - ac_abs_top_srcdir=$srcdir ;;
1.1590 - *) # Relative name.
1.1591 - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1.1592 - ac_top_srcdir=$ac_top_build_prefix$srcdir
1.1593 - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1594 -esac
1.1595 -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1596 -
1.1597 - cd "$ac_dir" || { ac_status=$?; continue; }
1.1598 - # Check for guested configure.
1.1599 - if test -f "$ac_srcdir/configure.gnu"; then
1.1600 - echo &&
1.1601 - $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1.1602 - elif test -f "$ac_srcdir/configure"; then
1.1603 - echo &&
1.1604 - $SHELL "$ac_srcdir/configure" --help=recursive
1.1605 - else
1.1606 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1607 - fi || ac_status=$?
1.1608 - cd "$ac_pwd" || { ac_status=$?; break; }
1.1609 - done
1.1610 -fi
1.1611 -
1.1612 -test -n "$ac_init_help" && exit $ac_status
1.1613 -if $ac_init_version; then
1.1614 - cat <<\_ACEOF
1.1615 -configure
1.1616 -generated by GNU Autoconf 2.61
1.1617 -
1.1618 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.1619 -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.1620 -This configure script is free software; the Free Software Foundation
1.1621 -gives unlimited permission to copy, distribute and modify it.
1.1622 -_ACEOF
1.1623 - exit
1.1624 -fi
1.1625 -cat >config.log <<_ACEOF
1.1626 -This file contains any messages produced by compilers while
1.1627 -running configure, to aid debugging if configure makes a mistake.
1.1628 -
1.1629 -It was created by $as_me, which was
1.1630 -generated by GNU Autoconf 2.61. Invocation command line was
1.1631 -
1.1632 - $ $0 $@
1.1633 -
1.1634 -_ACEOF
1.1635 -exec 5>>config.log
1.1636 -{
1.1637 -cat <<_ASUNAME
1.1638 -@%:@@%:@ --------- @%:@@%:@
1.1639 -@%:@@%:@ Platform. @%:@@%:@
1.1640 -@%:@@%:@ --------- @%:@@%:@
1.1641 -
1.1642 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1.1643 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
1.1644 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
1.1645 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
1.1646 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1647 -
1.1648 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1.1649 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1.1650 -
1.1651 -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1.1652 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1.1653 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1654 -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1.1655 -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1.1656 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1.1657 -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1.1658 -
1.1659 -_ASUNAME
1.1660 -
1.1661 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1662 -for as_dir in $PATH
1.1663 -do
1.1664 - IFS=$as_save_IFS
1.1665 - test -z "$as_dir" && as_dir=.
1.1666 - echo "PATH: $as_dir"
1.1667 -done
1.1668 -IFS=$as_save_IFS
1.1669 -
1.1670 -} >&5
1.1671 -
1.1672 -cat >&5 <<_ACEOF
1.1673 -
1.1674 -
1.1675 -@%:@@%:@ ----------- @%:@@%:@
1.1676 -@%:@@%:@ Core tests. @%:@@%:@
1.1677 -@%:@@%:@ ----------- @%:@@%:@
1.1678 -
1.1679 -_ACEOF
1.1680 -
1.1681 -
1.1682 -# Keep a trace of the command line.
1.1683 -# Strip out --no-create and --no-recursion so they do not pile up.
1.1684 -# Strip out --silent because we don't want to record it for future runs.
1.1685 -# Also quote any args containing shell meta-characters.
1.1686 -# Make two passes to allow for proper duplicate-argument suppression.
1.1687 -ac_configure_args=
1.1688 -ac_configure_args0=
1.1689 -ac_configure_args1=
1.1690 -ac_must_keep_next=false
1.1691 -for ac_pass in 1 2
1.1692 -do
1.1693 - for ac_arg
1.1694 - do
1.1695 - case $ac_arg in
1.1696 - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1.1697 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.1698 - | -silent | --silent | --silen | --sile | --sil)
1.1699 - continue ;;
1.1700 - *\'*)
1.1701 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1702 - esac
1.1703 - case $ac_pass in
1.1704 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1.1705 - 2)
1.1706 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1.1707 - if test $ac_must_keep_next = true; then
1.1708 - ac_must_keep_next=false # Got value, back to normal.
1.1709 - else
1.1710 - case $ac_arg in
1.1711 - *=* | --config-cache | -C | -disable-* | --disable-* \
1.1712 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1.1713 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1.1714 - | -with-* | --with-* | -without-* | --without-* | --x)
1.1715 - case "$ac_configure_args0 " in
1.1716 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1.1717 - esac
1.1718 - ;;
1.1719 - -* ) ac_must_keep_next=true ;;
1.1720 - esac
1.1721 - fi
1.1722 - ac_configure_args="$ac_configure_args '$ac_arg'"
1.1723 - ;;
1.1724 - esac
1.1725 - done
1.1726 -done
1.1727 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1.1728 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1729 -
1.1730 -# When interrupted or exit'd, cleanup temporary files, and complete
1.1731 -# config.log. We remove comments because anyway the quotes in there
1.1732 -# would cause problems or look ugly.
1.1733 -# WARNING: Use '\'' to represent an apostrophe within the trap.
1.1734 -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1735 -trap 'exit_status=$?
1.1736 - # Save into config.log some information that might help in debugging.
1.1737 - {
1.1738 - echo
1.1739 -
1.1740 - cat <<\_ASBOX
1.1741 -@%:@@%:@ ---------------- @%:@@%:@
1.1742 -@%:@@%:@ Cache variables. @%:@@%:@
1.1743 -@%:@@%:@ ---------------- @%:@@%:@
1.1744 -_ASBOX
1.1745 - echo
1.1746 - # The following way of writing the cache mishandles newlines in values,
1.1747 -(
1.1748 - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1.1749 - eval ac_val=\$$ac_var
1.1750 - case $ac_val in #(
1.1751 - *${as_nl}*)
1.1752 - case $ac_var in #(
1.1753 - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1.1754 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1.1755 - esac
1.1756 - case $ac_var in #(
1.1757 - _ | IFS | as_nl) ;; #(
1.1758 - *) $as_unset $ac_var ;;
1.1759 - esac ;;
1.1760 - esac
1.1761 - done
1.1762 - (set) 2>&1 |
1.1763 - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1.1764 - *${as_nl}ac_space=\ *)
1.1765 - sed -n \
1.1766 - "s/'\''/'\''\\\\'\'''\''/g;
1.1767 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1.1768 - ;; #(
1.1769 - *)
1.1770 - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1771 - ;;
1.1772 - esac |
1.1773 - sort
1.1774 -)
1.1775 - echo
1.1776 -
1.1777 - cat <<\_ASBOX
1.1778 -@%:@@%:@ ----------------- @%:@@%:@
1.1779 -@%:@@%:@ Output variables. @%:@@%:@
1.1780 -@%:@@%:@ ----------------- @%:@@%:@
1.1781 -_ASBOX
1.1782 - echo
1.1783 - for ac_var in $ac_subst_vars
1.1784 - do
1.1785 - eval ac_val=\$$ac_var
1.1786 - case $ac_val in
1.1787 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1788 - esac
1.1789 - echo "$ac_var='\''$ac_val'\''"
1.1790 - done | sort
1.1791 - echo
1.1792 -
1.1793 - if test -n "$ac_subst_files"; then
1.1794 - cat <<\_ASBOX
1.1795 -@%:@@%:@ ------------------- @%:@@%:@
1.1796 -@%:@@%:@ File substitutions. @%:@@%:@
1.1797 -@%:@@%:@ ------------------- @%:@@%:@
1.1798 -_ASBOX
1.1799 - echo
1.1800 - for ac_var in $ac_subst_files
1.1801 - do
1.1802 - eval ac_val=\$$ac_var
1.1803 - case $ac_val in
1.1804 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1805 - esac
1.1806 - echo "$ac_var='\''$ac_val'\''"
1.1807 - done | sort
1.1808 - echo
1.1809 - fi
1.1810 -
1.1811 - if test -s confdefs.h; then
1.1812 - cat <<\_ASBOX
1.1813 -@%:@@%:@ ----------- @%:@@%:@
1.1814 -@%:@@%:@ confdefs.h. @%:@@%:@
1.1815 -@%:@@%:@ ----------- @%:@@%:@
1.1816 -_ASBOX
1.1817 - echo
1.1818 - cat confdefs.h
1.1819 - echo
1.1820 - fi
1.1821 - test "$ac_signal" != 0 &&
1.1822 - echo "$as_me: caught signal $ac_signal"
1.1823 - echo "$as_me: exit $exit_status"
1.1824 - } >&5
1.1825 - rm -f core *.core core.conftest.* &&
1.1826 - rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1827 - exit $exit_status
1.1828 -' 0
1.1829 -for ac_signal in 1 2 13 15; do
1.1830 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1.1831 -done
1.1832 -ac_signal=0
1.1833 -
1.1834 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1835 -rm -f -r conftest* confdefs.h
1.1836 -
1.1837 -# Predefined preprocessor variables.
1.1838 -
1.1839 -cat >>confdefs.h <<_ACEOF
1.1840 -@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1.1841 -_ACEOF
1.1842 -
1.1843 -
1.1844 -cat >>confdefs.h <<_ACEOF
1.1845 -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.1846 -_ACEOF
1.1847 -
1.1848 -
1.1849 -cat >>confdefs.h <<_ACEOF
1.1850 -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1.1851 -_ACEOF
1.1852 -
1.1853 -
1.1854 -cat >>confdefs.h <<_ACEOF
1.1855 -@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1.1856 -_ACEOF
1.1857 -
1.1858 -
1.1859 -cat >>confdefs.h <<_ACEOF
1.1860 -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1.1861 -_ACEOF
1.1862 -
1.1863 -
1.1864 -# Let the site file select an alternate cache file if it wants to.
1.1865 -# Prefer explicitly selected file to automatically selected ones.
1.1866 -if test -n "$CONFIG_SITE"; then
1.1867 - set x "$CONFIG_SITE"
1.1868 -elif test "x$prefix" != xNONE; then
1.1869 - set x "$prefix/share/config.site" "$prefix/etc/config.site"
1.1870 -else
1.1871 - set x "$ac_default_prefix/share/config.site" \
1.1872 - "$ac_default_prefix/etc/config.site"
1.1873 -fi
1.1874 -shift
1.1875 -for ac_site_file
1.1876 -do
1.1877 - if test -r "$ac_site_file"; then
1.1878 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1.1879 -echo "$as_me: loading site script $ac_site_file" >&6;}
1.1880 - sed 's/^/| /' "$ac_site_file" >&5
1.1881 - . "$ac_site_file"
1.1882 - fi
1.1883 -done
1.1884 -
1.1885 -if test -r "$cache_file"; then
1.1886 - # Some versions of bash will fail to source /dev/null (special
1.1887 - # files actually), so we avoid doing that.
1.1888 - if test -f "$cache_file"; then
1.1889 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1.1890 -echo "$as_me: loading cache $cache_file" >&6;}
1.1891 - case $cache_file in
1.1892 - [\\/]* | ?:[\\/]* ) . "$cache_file";;
1.1893 - *) . "./$cache_file";;
1.1894 - esac
1.1895 - fi
1.1896 -else
1.1897 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1.1898 -echo "$as_me: creating cache $cache_file" >&6;}
1.1899 - >$cache_file
1.1900 -fi
1.1901 -
1.1902 -# Check that the precious variables saved in the cache have kept the same
1.1903 -# value.
1.1904 -ac_cache_corrupted=false
1.1905 -for ac_var in $ac_precious_vars; do
1.1906 - eval ac_old_set=\$ac_cv_env_${ac_var}_set
1.1907 - eval ac_new_set=\$ac_env_${ac_var}_set
1.1908 - eval ac_old_val=\$ac_cv_env_${ac_var}_value
1.1909 - eval ac_new_val=\$ac_env_${ac_var}_value
1.1910 - case $ac_old_set,$ac_new_set in
1.1911 - set,)
1.1912 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1913 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1914 - ac_cache_corrupted=: ;;
1.1915 - ,set)
1.1916 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1.1917 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1918 - ac_cache_corrupted=: ;;
1.1919 - ,);;
1.1920 - *)
1.1921 - if test "x$ac_old_val" != "x$ac_new_val"; then
1.1922 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.1923 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.1924 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.1925 -echo "$as_me: former value: $ac_old_val" >&2;}
1.1926 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.1927 -echo "$as_me: current value: $ac_new_val" >&2;}
1.1928 - ac_cache_corrupted=:
1.1929 - fi;;
1.1930 - esac
1.1931 - # Pass precious variables to config.status.
1.1932 - if test "$ac_new_set" = set; then
1.1933 - case $ac_new_val in
1.1934 - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1935 - *) ac_arg=$ac_var=$ac_new_val ;;
1.1936 - esac
1.1937 - case " $ac_configure_args " in
1.1938 - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1.1939 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1.1940 - esac
1.1941 - fi
1.1942 -done
1.1943 -if $ac_cache_corrupted; then
1.1944 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1.1945 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1946 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1.1947 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.1948 - { (exit 1); exit 1; }; }
1.1949 -fi
1.1950 -
1.1951 -
1.1952 -
1.1953 -
1.1954 -
1.1955 -
1.1956 -
1.1957 -
1.1958 -
1.1959 -
1.1960 -
1.1961 -
1.1962 -
1.1963 -
1.1964 -
1.1965 -
1.1966 -
1.1967 -ac_ext=c
1.1968 -ac_cpp='$CPP $CPPFLAGS'
1.1969 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1970 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1971 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1972 -
1.1973 -
1.1974 -ac_aux_dir=
1.1975 -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.1976 - if test -f "$ac_dir/install-sh"; then
1.1977 - ac_aux_dir=$ac_dir
1.1978 - ac_install_sh="$ac_aux_dir/install-sh -c"
1.1979 - break
1.1980 - elif test -f "$ac_dir/install.sh"; then
1.1981 - ac_aux_dir=$ac_dir
1.1982 - ac_install_sh="$ac_aux_dir/install.sh -c"
1.1983 - break
1.1984 - elif test -f "$ac_dir/shtool"; then
1.1985 - ac_aux_dir=$ac_dir
1.1986 - ac_install_sh="$ac_aux_dir/shtool install -c"
1.1987 - break
1.1988 - fi
1.1989 -done
1.1990 -if test -z "$ac_aux_dir"; then
1.1991 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1.1992 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1.1993 - { (exit 1); exit 1; }; }
1.1994 -fi
1.1995 -
1.1996 -# These three variables are undocumented and unsupported,
1.1997 -# and are intended to be withdrawn in a future Autoconf release.
1.1998 -# They can cause serious problems if a builder's source tree is in a directory
1.1999 -# whose full name contains unusual characters.
1.2000 -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1.2001 -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1.2002 -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1.2003 -
1.2004 -
1.2005 -# Make sure we can run config.sub.
1.2006 -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.2007 - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1.2008 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1.2009 - { (exit 1); exit 1; }; }
1.2010 -
1.2011 -{ echo "$as_me:$LINENO: checking build system type" >&5
1.2012 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1.2013 -if test "${ac_cv_build+set}" = set; then
1.2014 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2015 -else
1.2016 - ac_build_alias=$build_alias
1.2017 -test "x$ac_build_alias" = x &&
1.2018 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1.2019 -test "x$ac_build_alias" = x &&
1.2020 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1.2021 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1.2022 - { (exit 1); exit 1; }; }
1.2023 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.2024 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1.2025 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1.2026 - { (exit 1); exit 1; }; }
1.2027 -
1.2028 -fi
1.2029 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1.2030 -echo "${ECHO_T}$ac_cv_build" >&6; }
1.2031 -case $ac_cv_build in
1.2032 -*-*-*) ;;
1.2033 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1.2034 -echo "$as_me: error: invalid value of canonical build" >&2;}
1.2035 - { (exit 1); exit 1; }; };;
1.2036 -esac
1.2037 -build=$ac_cv_build
1.2038 -ac_save_IFS=$IFS; IFS='-'
1.2039 -set x $ac_cv_build
1.2040 -shift
1.2041 -build_cpu=$1
1.2042 -build_vendor=$2
1.2043 -shift; shift
1.2044 -# Remember, the first character of IFS is used to create $*,
1.2045 -# except with old shells:
1.2046 -build_os=$*
1.2047 -IFS=$ac_save_IFS
1.2048 -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.2049 -
1.2050 -
1.2051 -{ echo "$as_me:$LINENO: checking host system type" >&5
1.2052 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1.2053 -if test "${ac_cv_host+set}" = set; then
1.2054 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2055 -else
1.2056 - if test "x$host_alias" = x; then
1.2057 - ac_cv_host=$ac_cv_build
1.2058 -else
1.2059 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.2060 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1.2061 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1.2062 - { (exit 1); exit 1; }; }
1.2063 -fi
1.2064 -
1.2065 -fi
1.2066 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1.2067 -echo "${ECHO_T}$ac_cv_host" >&6; }
1.2068 -case $ac_cv_host in
1.2069 -*-*-*) ;;
1.2070 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1.2071 -echo "$as_me: error: invalid value of canonical host" >&2;}
1.2072 - { (exit 1); exit 1; }; };;
1.2073 -esac
1.2074 -host=$ac_cv_host
1.2075 -ac_save_IFS=$IFS; IFS='-'
1.2076 -set x $ac_cv_host
1.2077 -shift
1.2078 -host_cpu=$1
1.2079 -host_vendor=$2
1.2080 -shift; shift
1.2081 -# Remember, the first character of IFS is used to create $*,
1.2082 -# except with old shells:
1.2083 -host_os=$*
1.2084 -IFS=$ac_save_IFS
1.2085 -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.2086 -
1.2087 -
1.2088 -{ echo "$as_me:$LINENO: checking target system type" >&5
1.2089 -echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1.2090 -if test "${ac_cv_target+set}" = set; then
1.2091 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2092 -else
1.2093 - if test "x$target_alias" = x; then
1.2094 - ac_cv_target=$ac_cv_host
1.2095 -else
1.2096 - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.2097 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1.2098 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1.2099 - { (exit 1); exit 1; }; }
1.2100 -fi
1.2101 -
1.2102 -fi
1.2103 -{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1.2104 -echo "${ECHO_T}$ac_cv_target" >&6; }
1.2105 -case $ac_cv_target in
1.2106 -*-*-*) ;;
1.2107 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1.2108 -echo "$as_me: error: invalid value of canonical target" >&2;}
1.2109 - { (exit 1); exit 1; }; };;
1.2110 -esac
1.2111 -target=$ac_cv_target
1.2112 -ac_save_IFS=$IFS; IFS='-'
1.2113 -set x $ac_cv_target
1.2114 -shift
1.2115 -target_cpu=$1
1.2116 -target_vendor=$2
1.2117 -shift; shift
1.2118 -# Remember, the first character of IFS is used to create $*,
1.2119 -# except with old shells:
1.2120 -target_os=$*
1.2121 -IFS=$ac_save_IFS
1.2122 -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1.2123 -
1.2124 -
1.2125 -# The aliases save the names the user supplied, while $host etc.
1.2126 -# will get canonicalized.
1.2127 -test -n "$target_alias" &&
1.2128 - test "$program_prefix$program_suffix$program_transform_name" = \
1.2129 - NONENONEs,x,x, &&
1.2130 - program_prefix=${target_alias}-
1.2131 -
1.2132 -
1.2133 -# Check whether --enable-static was given.
1.2134 -if test "${enable_static+set}" = set; then
1.2135 - enableval=$enable_static; p=${PACKAGE-default}
1.2136 - case $enableval in
1.2137 - yes) enable_static=yes ;;
1.2138 - no) enable_static=no ;;
1.2139 - *)
1.2140 - enable_static=no
1.2141 - # Look at the argument we got. We use all the common list separators.
1.2142 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2143 - for pkg in $enableval; do
1.2144 - IFS="$lt_save_ifs"
1.2145 - if test "X$pkg" = "X$p"; then
1.2146 - enable_static=yes
1.2147 - fi
1.2148 - done
1.2149 - IFS="$lt_save_ifs"
1.2150 - ;;
1.2151 - esac
1.2152 -else
1.2153 - enable_static=no
1.2154 -fi
1.2155 -
1.2156 -
1.2157 -
1.2158 -
1.2159 -{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1.2160 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
1.2161 - # Check whether --enable-maintainer-mode was given.
1.2162 -if test "${enable_maintainer_mode+set}" = set; then
1.2163 - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1.2164 -else
1.2165 - USE_MAINTAINER_MODE=no
1.2166 -fi
1.2167 -
1.2168 - { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1.2169 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1.2170 -
1.2171 -
1.2172 -if test $USE_MAINTAINER_MODE = yes; then
1.2173 - MAINTAINER_MODE_TRUE=
1.2174 - MAINTAINER_MODE_FALSE='#'
1.2175 -else
1.2176 - MAINTAINER_MODE_TRUE='#'
1.2177 - MAINTAINER_MODE_FALSE=
1.2178 -fi
1.2179 -
1.2180 - MAINT=$MAINTAINER_MODE_TRUE
1.2181 -
1.2182 -
1.2183 -
1.2184 -
1.2185 - PACKAGE=gst-indt-plugins
1.2186 - GST_PLUGINS_VERSION_MAJOR=0
1.2187 - GST_PLUGINS_VERSION_MINOR=10
1.2188 - GST_PLUGINS_VERSION_MICRO=0
1.2189 - NANO=1
1.2190 - GST_PLUGINS_VERSION_NANO=$NANO
1.2191 - if test "x$NANO" = "x" || test "x$NANO" = "x0";
1.2192 - then
1.2193 - { echo "$as_me:$LINENO: configuring gst-indt-plugins for release" >&5
1.2194 -echo "$as_me: configuring gst-indt-plugins for release" >&6;}
1.2195 - VERSION=0.10.0
1.2196 - GST_PLUGINS_VERSION_RELEASE=1
1.2197 - GST_CVS="no"
1.2198 - else
1.2199 - { echo "$as_me:$LINENO: configuring gst-indt-plugins for development with nano $NANO" >&5
1.2200 -echo "$as_me: configuring gst-indt-plugins for development with nano $NANO" >&6;}
1.2201 - VERSION=0.10.0.$NANO
1.2202 - GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
1.2203 - GST_CVS="yes"
1.2204 - fi
1.2205 -
1.2206 - GST_PLUGINS_VERSION=$VERSION
1.2207 -
1.2208 -cat >>confdefs.h <<_ACEOF
1.2209 -@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
1.2210 -_ACEOF
1.2211 -
1.2212 -
1.2213 -
1.2214 -cat >>confdefs.h <<_ACEOF
1.2215 -@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
1.2216 -_ACEOF
1.2217 -
1.2218 -
1.2219 -
1.2220 -
1.2221 -
1.2222 -
1.2223 -
1.2224 -
1.2225 -cat >>confdefs.h <<_ACEOF
1.2226 -@%:@define PACKAGE "$PACKAGE"
1.2227 -_ACEOF
1.2228 -
1.2229 -
1.2230 -
1.2231 -cat >>confdefs.h <<_ACEOF
1.2232 -@%:@define VERSION "$VERSION"
1.2233 -_ACEOF
1.2234 -
1.2235 -
1.2236 -
1.2237 -
1.2238 -am__api_version="1.9"
1.2239 -# Find a good install program. We prefer a C program (faster),
1.2240 -# so one script is as good as another. But avoid the broken or
1.2241 -# incompatible versions:
1.2242 -# SysV /etc/install, /usr/sbin/install
1.2243 -# SunOS /usr/etc/install
1.2244 -# IRIX /sbin/install
1.2245 -# AIX /bin/install
1.2246 -# AmigaOS /C/install, which installs bootblocks on floppy discs
1.2247 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1.2248 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1.2249 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.2250 -# OS/2's system install, which has a completely different semantic
1.2251 -# ./install, which can be erroneously created by make from ./install.sh.
1.2252 -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1.2253 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1.2254 -if test -z "$INSTALL"; then
1.2255 -if test "${ac_cv_path_install+set}" = set; then
1.2256 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2257 -else
1.2258 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2259 -for as_dir in $PATH
1.2260 -do
1.2261 - IFS=$as_save_IFS
1.2262 - test -z "$as_dir" && as_dir=.
1.2263 - # Account for people who put trailing slashes in PATH elements.
1.2264 -case $as_dir/ in
1.2265 - ./ | .// | /cC/* | \
1.2266 - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.2267 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.2268 - /usr/ucb/* ) ;;
1.2269 - *)
1.2270 - # OSF1 and SCO ODT 3.0 have their own names for install.
1.2271 - # Don't use installbsd from OSF since it installs stuff as root
1.2272 - # by default.
1.2273 - for ac_prog in ginstall scoinst install; do
1.2274 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2275 - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.2276 - if test $ac_prog = install &&
1.2277 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.2278 - # AIX install. It has an incompatible calling convention.
1.2279 - :
1.2280 - elif test $ac_prog = install &&
1.2281 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.2282 - # program-specific install script used by HP pwplus--don't use.
1.2283 - :
1.2284 - else
1.2285 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1.2286 - break 3
1.2287 - fi
1.2288 - fi
1.2289 - done
1.2290 - done
1.2291 - ;;
1.2292 -esac
1.2293 -done
1.2294 -IFS=$as_save_IFS
1.2295 -
1.2296 -
1.2297 -fi
1.2298 - if test "${ac_cv_path_install+set}" = set; then
1.2299 - INSTALL=$ac_cv_path_install
1.2300 - else
1.2301 - # As a last resort, use the slow shell script. Don't cache a
1.2302 - # value for INSTALL within a source directory, because that will
1.2303 - # break other packages using the cache if that directory is
1.2304 - # removed, or if the value is a relative name.
1.2305 - INSTALL=$ac_install_sh
1.2306 - fi
1.2307 -fi
1.2308 -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1.2309 -echo "${ECHO_T}$INSTALL" >&6; }
1.2310 -
1.2311 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1.2312 -# It thinks the first close brace ends the variable substitution.
1.2313 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.2314 -
1.2315 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.2316 -
1.2317 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.2318 -
1.2319 -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1.2320 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1.2321 -# Just in case
1.2322 -sleep 1
1.2323 -echo timestamp > conftest.file
1.2324 -# Do `set' in a subshell so we don't clobber the current shell's
1.2325 -# arguments. Must try -L first in case configure is actually a
1.2326 -# symlink; some systems play weird games with the mod time of symlinks
1.2327 -# (eg FreeBSD returns the mod time of the symlink's containing
1.2328 -# directory).
1.2329 -if (
1.2330 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.2331 - if test "$*" = "X"; then
1.2332 - # -L didn't work.
1.2333 - set X `ls -t $srcdir/configure conftest.file`
1.2334 - fi
1.2335 - rm -f conftest.file
1.2336 - if test "$*" != "X $srcdir/configure conftest.file" \
1.2337 - && test "$*" != "X conftest.file $srcdir/configure"; then
1.2338 -
1.2339 - # If neither matched, then we have a broken ls. This can happen
1.2340 - # if, for instance, CONFIG_SHELL is bash and it inherits a
1.2341 - # broken ls alias from the environment. This has actually
1.2342 - # happened. Such a system could not be considered "sane".
1.2343 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1.2344 -alias in your environment" >&5
1.2345 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1.2346 -alias in your environment" >&2;}
1.2347 - { (exit 1); exit 1; }; }
1.2348 - fi
1.2349 -
1.2350 - test "$2" = conftest.file
1.2351 - )
1.2352 -then
1.2353 - # Ok.
1.2354 - :
1.2355 -else
1.2356 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1.2357 -Check your system clock" >&5
1.2358 -echo "$as_me: error: newly created file is older than distributed files!
1.2359 -Check your system clock" >&2;}
1.2360 - { (exit 1); exit 1; }; }
1.2361 -fi
1.2362 -{ echo "$as_me:$LINENO: result: yes" >&5
1.2363 -echo "${ECHO_T}yes" >&6; }
1.2364 -test "$program_prefix" != NONE &&
1.2365 - program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.2366 -# Use a double $ so make ignores it.
1.2367 -test "$program_suffix" != NONE &&
1.2368 - program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1.2369 -# Double any \ or $. echo might interpret backslashes.
1.2370 -# By default was `s,x,x', remove it if useless.
1.2371 -cat <<\_ACEOF >conftest.sed
1.2372 -s/[\\$]/&&/g;s/;s,x,x,$//
1.2373 -_ACEOF
1.2374 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1.2375 -rm -f conftest.sed
1.2376 -
1.2377 -# expand $ac_aux_dir to an absolute path
1.2378 -am_aux_dir=`cd $ac_aux_dir && pwd`
1.2379 -
1.2380 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1.2381 -# Use eval to expand $SHELL
1.2382 -if eval "$MISSING --run true"; then
1.2383 - am_missing_run="$MISSING --run "
1.2384 -else
1.2385 - am_missing_run=
1.2386 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1.2387 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.2388 -fi
1.2389 -
1.2390 -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1.2391 - # We used to keeping the `.' as first argument, in order to
1.2392 - # allow $(mkdir_p) to be used without argument. As in
1.2393 - # $(mkdir_p) $(somedir)
1.2394 - # where $(somedir) is conditionally defined. However this is wrong
1.2395 - # for two reasons:
1.2396 - # 1. if the package is installed by a user who cannot write `.'
1.2397 - # make install will fail,
1.2398 - # 2. the above comment should most certainly read
1.2399 - # $(mkdir_p) $(DESTDIR)$(somedir)
1.2400 - # so it does not work when $(somedir) is undefined and
1.2401 - # $(DESTDIR) is not.
1.2402 - # To support the latter case, we have to write
1.2403 - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1.2404 - # so the `.' trick is pointless.
1.2405 - mkdir_p='mkdir -p --'
1.2406 -else
1.2407 - # On NextStep and OpenStep, the `mkdir' command does not
1.2408 - # recognize any option. It will interpret all options as
1.2409 - # directories to create, and then abort because `.' already
1.2410 - # exists.
1.2411 - for d in ./-p ./--version;
1.2412 - do
1.2413 - test -d $d && rmdir $d
1.2414 - done
1.2415 - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1.2416 - if test -f "$ac_aux_dir/mkinstalldirs"; then
1.2417 - mkdir_p='$(mkinstalldirs)'
1.2418 - else
1.2419 - mkdir_p='$(install_sh) -d'
1.2420 - fi
1.2421 -fi
1.2422 -
1.2423 -for ac_prog in gawk mawk nawk awk
1.2424 -do
1.2425 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.2426 -set dummy $ac_prog; ac_word=$2
1.2427 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2428 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2429 -if test "${ac_cv_prog_AWK+set}" = set; then
1.2430 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2431 -else
1.2432 - if test -n "$AWK"; then
1.2433 - ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.2434 -else
1.2435 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2436 -for as_dir in $PATH
1.2437 -do
1.2438 - IFS=$as_save_IFS
1.2439 - test -z "$as_dir" && as_dir=.
1.2440 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2441 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2442 - ac_cv_prog_AWK="$ac_prog"
1.2443 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2444 - break 2
1.2445 - fi
1.2446 -done
1.2447 -done
1.2448 -IFS=$as_save_IFS
1.2449 -
1.2450 -fi
1.2451 -fi
1.2452 -AWK=$ac_cv_prog_AWK
1.2453 -if test -n "$AWK"; then
1.2454 - { echo "$as_me:$LINENO: result: $AWK" >&5
1.2455 -echo "${ECHO_T}$AWK" >&6; }
1.2456 -else
1.2457 - { echo "$as_me:$LINENO: result: no" >&5
1.2458 -echo "${ECHO_T}no" >&6; }
1.2459 -fi
1.2460 -
1.2461 -
1.2462 - test -n "$AWK" && break
1.2463 -done
1.2464 -
1.2465 -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.2466 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1.2467 -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.2468 -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1.2469 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2470 -else
1.2471 - cat >conftest.make <<\_ACEOF
1.2472 -SHELL = /bin/sh
1.2473 -all:
1.2474 - @echo '@@@%%%=$(MAKE)=@@@%%%'
1.2475 -_ACEOF
1.2476 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.2477 -case `${MAKE-make} -f conftest.make 2>/dev/null` in
1.2478 - *@@@%%%=?*=@@@%%%*)
1.2479 - eval ac_cv_prog_make_${ac_make}_set=yes;;
1.2480 - *)
1.2481 - eval ac_cv_prog_make_${ac_make}_set=no;;
1.2482 -esac
1.2483 -rm -f conftest.make
1.2484 -fi
1.2485 -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.2486 - { echo "$as_me:$LINENO: result: yes" >&5
1.2487 -echo "${ECHO_T}yes" >&6; }
1.2488 - SET_MAKE=
1.2489 -else
1.2490 - { echo "$as_me:$LINENO: result: no" >&5
1.2491 -echo "${ECHO_T}no" >&6; }
1.2492 - SET_MAKE="MAKE=${MAKE-make}"
1.2493 -fi
1.2494 -
1.2495 -rm -rf .tst 2>/dev/null
1.2496 -mkdir .tst 2>/dev/null
1.2497 -if test -d .tst; then
1.2498 - am__leading_dot=.
1.2499 -else
1.2500 - am__leading_dot=_
1.2501 -fi
1.2502 -rmdir .tst 2>/dev/null
1.2503 -
1.2504 -# test to see if srcdir already configured
1.2505 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
1.2506 - test -f $srcdir/config.status; then
1.2507 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1.2508 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1.2509 - { (exit 1); exit 1; }; }
1.2510 -fi
1.2511 -
1.2512 -# test whether we have cygpath
1.2513 -if test -z "$CYGPATH_W"; then
1.2514 - if (cygpath --version) >/dev/null 2>/dev/null; then
1.2515 - CYGPATH_W='cygpath -w'
1.2516 - else
1.2517 - CYGPATH_W=echo
1.2518 - fi
1.2519 -fi
1.2520 -
1.2521 -
1.2522 -# Define the identity of the package.
1.2523 - PACKAGE=$PACKAGE
1.2524 - VERSION=$VERSION
1.2525 -
1.2526 -
1.2527 -cat >>confdefs.h <<_ACEOF
1.2528 -@%:@define PACKAGE "$PACKAGE"
1.2529 -_ACEOF
1.2530 -
1.2531 -
1.2532 -cat >>confdefs.h <<_ACEOF
1.2533 -@%:@define VERSION "$VERSION"
1.2534 -_ACEOF
1.2535 -
1.2536 -# Some tools Automake needs.
1.2537 -
1.2538 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1.2539 -
1.2540 -
1.2541 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.2542 -
1.2543 -
1.2544 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.2545 -
1.2546 -
1.2547 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.2548 -
1.2549 -
1.2550 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.2551 -
1.2552 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.2553 -
1.2554 -# Installed binaries are usually stripped using `strip' when the user
1.2555 -# run `make install-strip'. However `strip' might not be the right
1.2556 -# tool to use in cross-compilation environments, therefore Automake
1.2557 -# will honor the `STRIP' environment variable to overrule this program.
1.2558 -if test "$cross_compiling" != no; then
1.2559 - if test -n "$ac_tool_prefix"; then
1.2560 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1.2561 -set dummy ${ac_tool_prefix}strip; ac_word=$2
1.2562 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2563 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2564 -if test "${ac_cv_prog_STRIP+set}" = set; then
1.2565 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2566 -else
1.2567 - if test -n "$STRIP"; then
1.2568 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.2569 -else
1.2570 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2571 -for as_dir in $PATH
1.2572 -do
1.2573 - IFS=$as_save_IFS
1.2574 - test -z "$as_dir" && as_dir=.
1.2575 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2576 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2577 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.2578 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2579 - break 2
1.2580 - fi
1.2581 -done
1.2582 -done
1.2583 -IFS=$as_save_IFS
1.2584 -
1.2585 -fi
1.2586 -fi
1.2587 -STRIP=$ac_cv_prog_STRIP
1.2588 -if test -n "$STRIP"; then
1.2589 - { echo "$as_me:$LINENO: result: $STRIP" >&5
1.2590 -echo "${ECHO_T}$STRIP" >&6; }
1.2591 -else
1.2592 - { echo "$as_me:$LINENO: result: no" >&5
1.2593 -echo "${ECHO_T}no" >&6; }
1.2594 -fi
1.2595 -
1.2596 -
1.2597 -fi
1.2598 -if test -z "$ac_cv_prog_STRIP"; then
1.2599 - ac_ct_STRIP=$STRIP
1.2600 - # Extract the first word of "strip", so it can be a program name with args.
1.2601 -set dummy strip; ac_word=$2
1.2602 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2603 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2604 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.2605 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2606 -else
1.2607 - if test -n "$ac_ct_STRIP"; then
1.2608 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.2609 -else
1.2610 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2611 -for as_dir in $PATH
1.2612 -do
1.2613 - IFS=$as_save_IFS
1.2614 - test -z "$as_dir" && as_dir=.
1.2615 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2616 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2617 - ac_cv_prog_ac_ct_STRIP="strip"
1.2618 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2619 - break 2
1.2620 - fi
1.2621 -done
1.2622 -done
1.2623 -IFS=$as_save_IFS
1.2624 -
1.2625 -fi
1.2626 -fi
1.2627 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1.2628 -if test -n "$ac_ct_STRIP"; then
1.2629 - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1.2630 -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1.2631 -else
1.2632 - { echo "$as_me:$LINENO: result: no" >&5
1.2633 -echo "${ECHO_T}no" >&6; }
1.2634 -fi
1.2635 -
1.2636 - if test "x$ac_ct_STRIP" = x; then
1.2637 - STRIP=":"
1.2638 - else
1.2639 - case $cross_compiling:$ac_tool_warned in
1.2640 -yes:)
1.2641 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.2642 -whose name does not start with the host triplet. If you think this
1.2643 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.2644 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.2645 -whose name does not start with the host triplet. If you think this
1.2646 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.2647 -ac_tool_warned=yes ;;
1.2648 -esac
1.2649 - STRIP=$ac_ct_STRIP
1.2650 - fi
1.2651 -else
1.2652 - STRIP="$ac_cv_prog_STRIP"
1.2653 -fi
1.2654 -
1.2655 -fi
1.2656 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.2657 -
1.2658 -# We need awk for the "check" target. The system "awk" is bad on
1.2659 -# some platforms.
1.2660 -# Always define AMTAR for backward compatibility.
1.2661 -
1.2662 -AMTAR=${AMTAR-"${am_missing_run}tar"}
1.2663 -
1.2664 -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1.2665 -
1.2666 -
1.2667 -
1.2668 -
1.2669 -
1.2670 -
1.2671 -# Check whether --enable-shared was given.
1.2672 -if test "${enable_shared+set}" = set; then
1.2673 - enableval=$enable_shared; p=${PACKAGE-default}
1.2674 - case $enableval in
1.2675 - yes) enable_shared=yes ;;
1.2676 - no) enable_shared=no ;;
1.2677 - *)
1.2678 - enable_shared=no
1.2679 - # Look at the argument we got. We use all the common list separators.
1.2680 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2681 - for pkg in $enableval; do
1.2682 - IFS="$lt_save_ifs"
1.2683 - if test "X$pkg" = "X$p"; then
1.2684 - enable_shared=yes
1.2685 - fi
1.2686 - done
1.2687 - IFS="$lt_save_ifs"
1.2688 - ;;
1.2689 - esac
1.2690 -else
1.2691 - enable_shared=yes
1.2692 -fi
1.2693 -
1.2694 -
1.2695 -# Check whether --enable-fast-install was given.
1.2696 -if test "${enable_fast_install+set}" = set; then
1.2697 - enableval=$enable_fast_install; p=${PACKAGE-default}
1.2698 - case $enableval in
1.2699 - yes) enable_fast_install=yes ;;
1.2700 - no) enable_fast_install=no ;;
1.2701 - *)
1.2702 - enable_fast_install=no
1.2703 - # Look at the argument we got. We use all the common list separators.
1.2704 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2705 - for pkg in $enableval; do
1.2706 - IFS="$lt_save_ifs"
1.2707 - if test "X$pkg" = "X$p"; then
1.2708 - enable_fast_install=yes
1.2709 - fi
1.2710 - done
1.2711 - IFS="$lt_save_ifs"
1.2712 - ;;
1.2713 - esac
1.2714 -else
1.2715 - enable_fast_install=yes
1.2716 -fi
1.2717 -
1.2718 -
1.2719 -DEPDIR="${am__leading_dot}deps"
1.2720 -
1.2721 -ac_config_commands="$ac_config_commands depfiles"
1.2722 -
1.2723 -
1.2724 -am_make=${MAKE-make}
1.2725 -cat > confinc << 'END'
1.2726 -am__doit:
1.2727 - @echo done
1.2728 -.PHONY: am__doit
1.2729 -END
1.2730 -# If we don't find an include directive, just comment out the code.
1.2731 -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1.2732 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
1.2733 -am__include="#"
1.2734 -am__quote=
1.2735 -_am_result=none
1.2736 -# First try GNU make style include.
1.2737 -echo "include confinc" > confmf
1.2738 -# We grep out `Entering directory' and `Leaving directory'
1.2739 -# messages which can occur if `w' ends up in MAKEFLAGS.
1.2740 -# In particular we don't look at `^make:' because GNU make might
1.2741 -# be invoked under some other name (usually "gmake"), in which
1.2742 -# case it prints its new name instead of `make'.
1.2743 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1.2744 - am__include=include
1.2745 - am__quote=
1.2746 - _am_result=GNU
1.2747 -fi
1.2748 -# Now try BSD make style include.
1.2749 -if test "$am__include" = "#"; then
1.2750 - echo '.include "confinc"' > confmf
1.2751 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1.2752 - am__include=.include
1.2753 - am__quote="\""
1.2754 - _am_result=BSD
1.2755 - fi
1.2756 -fi
1.2757 -
1.2758 -
1.2759 -{ echo "$as_me:$LINENO: result: $_am_result" >&5
1.2760 -echo "${ECHO_T}$_am_result" >&6; }
1.2761 -rm -f confinc confmf
1.2762 -
1.2763 -# Check whether --enable-dependency-tracking was given.
1.2764 -if test "${enable_dependency_tracking+set}" = set; then
1.2765 - enableval=$enable_dependency_tracking;
1.2766 -fi
1.2767 -
1.2768 -if test "x$enable_dependency_tracking" != xno; then
1.2769 - am_depcomp="$ac_aux_dir/depcomp"
1.2770 - AMDEPBACKSLASH='\'
1.2771 -fi
1.2772 -
1.2773 -
1.2774 -if test "x$enable_dependency_tracking" != xno; then
1.2775 - AMDEP_TRUE=
1.2776 - AMDEP_FALSE='#'
1.2777 -else
1.2778 - AMDEP_TRUE='#'
1.2779 - AMDEP_FALSE=
1.2780 -fi
1.2781 -
1.2782 -
1.2783 -
1.2784 -ac_ext=c
1.2785 -ac_cpp='$CPP $CPPFLAGS'
1.2786 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2787 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2788 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2789 -if test -n "$ac_tool_prefix"; then
1.2790 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.2791 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.2792 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2793 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2794 -if test "${ac_cv_prog_CC+set}" = set; then
1.2795 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2796 -else
1.2797 - if test -n "$CC"; then
1.2798 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2799 -else
1.2800 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2801 -for as_dir in $PATH
1.2802 -do
1.2803 - IFS=$as_save_IFS
1.2804 - test -z "$as_dir" && as_dir=.
1.2805 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2806 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2807 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.2808 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2809 - break 2
1.2810 - fi
1.2811 -done
1.2812 -done
1.2813 -IFS=$as_save_IFS
1.2814 -
1.2815 -fi
1.2816 -fi
1.2817 -CC=$ac_cv_prog_CC
1.2818 -if test -n "$CC"; then
1.2819 - { echo "$as_me:$LINENO: result: $CC" >&5
1.2820 -echo "${ECHO_T}$CC" >&6; }
1.2821 -else
1.2822 - { echo "$as_me:$LINENO: result: no" >&5
1.2823 -echo "${ECHO_T}no" >&6; }
1.2824 -fi
1.2825 -
1.2826 -
1.2827 -fi
1.2828 -if test -z "$ac_cv_prog_CC"; then
1.2829 - ac_ct_CC=$CC
1.2830 - # Extract the first word of "gcc", so it can be a program name with args.
1.2831 -set dummy gcc; ac_word=$2
1.2832 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2833 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2834 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2835 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2836 -else
1.2837 - if test -n "$ac_ct_CC"; then
1.2838 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2839 -else
1.2840 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2841 -for as_dir in $PATH
1.2842 -do
1.2843 - IFS=$as_save_IFS
1.2844 - test -z "$as_dir" && as_dir=.
1.2845 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2846 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2847 - ac_cv_prog_ac_ct_CC="gcc"
1.2848 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2849 - break 2
1.2850 - fi
1.2851 -done
1.2852 -done
1.2853 -IFS=$as_save_IFS
1.2854 -
1.2855 -fi
1.2856 -fi
1.2857 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2858 -if test -n "$ac_ct_CC"; then
1.2859 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2860 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.2861 -else
1.2862 - { echo "$as_me:$LINENO: result: no" >&5
1.2863 -echo "${ECHO_T}no" >&6; }
1.2864 -fi
1.2865 -
1.2866 - if test "x$ac_ct_CC" = x; then
1.2867 - CC=""
1.2868 - else
1.2869 - case $cross_compiling:$ac_tool_warned in
1.2870 -yes:)
1.2871 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.2872 -whose name does not start with the host triplet. If you think this
1.2873 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.2874 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.2875 -whose name does not start with the host triplet. If you think this
1.2876 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.2877 -ac_tool_warned=yes ;;
1.2878 -esac
1.2879 - CC=$ac_ct_CC
1.2880 - fi
1.2881 -else
1.2882 - CC="$ac_cv_prog_CC"
1.2883 -fi
1.2884 -
1.2885 -if test -z "$CC"; then
1.2886 - if test -n "$ac_tool_prefix"; then
1.2887 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.2888 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.2889 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2890 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2891 -if test "${ac_cv_prog_CC+set}" = set; then
1.2892 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2893 -else
1.2894 - if test -n "$CC"; then
1.2895 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2896 -else
1.2897 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2898 -for as_dir in $PATH
1.2899 -do
1.2900 - IFS=$as_save_IFS
1.2901 - test -z "$as_dir" && as_dir=.
1.2902 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2903 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2904 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.2905 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2906 - break 2
1.2907 - fi
1.2908 -done
1.2909 -done
1.2910 -IFS=$as_save_IFS
1.2911 -
1.2912 -fi
1.2913 -fi
1.2914 -CC=$ac_cv_prog_CC
1.2915 -if test -n "$CC"; then
1.2916 - { echo "$as_me:$LINENO: result: $CC" >&5
1.2917 -echo "${ECHO_T}$CC" >&6; }
1.2918 -else
1.2919 - { echo "$as_me:$LINENO: result: no" >&5
1.2920 -echo "${ECHO_T}no" >&6; }
1.2921 -fi
1.2922 -
1.2923 -
1.2924 - fi
1.2925 -fi
1.2926 -if test -z "$CC"; then
1.2927 - # Extract the first word of "cc", so it can be a program name with args.
1.2928 -set dummy cc; ac_word=$2
1.2929 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2930 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2931 -if test "${ac_cv_prog_CC+set}" = set; then
1.2932 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2933 -else
1.2934 - if test -n "$CC"; then
1.2935 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2936 -else
1.2937 - ac_prog_rejected=no
1.2938 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2939 -for as_dir in $PATH
1.2940 -do
1.2941 - IFS=$as_save_IFS
1.2942 - test -z "$as_dir" && as_dir=.
1.2943 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2944 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2945 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.2946 - ac_prog_rejected=yes
1.2947 - continue
1.2948 - fi
1.2949 - ac_cv_prog_CC="cc"
1.2950 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2951 - break 2
1.2952 - fi
1.2953 -done
1.2954 -done
1.2955 -IFS=$as_save_IFS
1.2956 -
1.2957 -if test $ac_prog_rejected = yes; then
1.2958 - # We found a bogon in the path, so make sure we never use it.
1.2959 - set dummy $ac_cv_prog_CC
1.2960 - shift
1.2961 - if test $@%:@ != 0; then
1.2962 - # We chose a different compiler from the bogus one.
1.2963 - # However, it has the same basename, so the bogon will be chosen
1.2964 - # first if we set CC to just the basename; use the full file name.
1.2965 - shift
1.2966 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.2967 - fi
1.2968 -fi
1.2969 -fi
1.2970 -fi
1.2971 -CC=$ac_cv_prog_CC
1.2972 -if test -n "$CC"; then
1.2973 - { echo "$as_me:$LINENO: result: $CC" >&5
1.2974 -echo "${ECHO_T}$CC" >&6; }
1.2975 -else
1.2976 - { echo "$as_me:$LINENO: result: no" >&5
1.2977 -echo "${ECHO_T}no" >&6; }
1.2978 -fi
1.2979 -
1.2980 -
1.2981 -fi
1.2982 -if test -z "$CC"; then
1.2983 - if test -n "$ac_tool_prefix"; then
1.2984 - for ac_prog in cl.exe
1.2985 - do
1.2986 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.2987 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.2988 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2989 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2990 -if test "${ac_cv_prog_CC+set}" = set; then
1.2991 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2992 -else
1.2993 - if test -n "$CC"; then
1.2994 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2995 -else
1.2996 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2997 -for as_dir in $PATH
1.2998 -do
1.2999 - IFS=$as_save_IFS
1.3000 - test -z "$as_dir" && as_dir=.
1.3001 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3002 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3003 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.3004 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3005 - break 2
1.3006 - fi
1.3007 -done
1.3008 -done
1.3009 -IFS=$as_save_IFS
1.3010 -
1.3011 -fi
1.3012 -fi
1.3013 -CC=$ac_cv_prog_CC
1.3014 -if test -n "$CC"; then
1.3015 - { echo "$as_me:$LINENO: result: $CC" >&5
1.3016 -echo "${ECHO_T}$CC" >&6; }
1.3017 -else
1.3018 - { echo "$as_me:$LINENO: result: no" >&5
1.3019 -echo "${ECHO_T}no" >&6; }
1.3020 -fi
1.3021 -
1.3022 -
1.3023 - test -n "$CC" && break
1.3024 - done
1.3025 -fi
1.3026 -if test -z "$CC"; then
1.3027 - ac_ct_CC=$CC
1.3028 - for ac_prog in cl.exe
1.3029 -do
1.3030 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.3031 -set dummy $ac_prog; ac_word=$2
1.3032 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3033 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3034 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.3035 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3036 -else
1.3037 - if test -n "$ac_ct_CC"; then
1.3038 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.3039 -else
1.3040 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3041 -for as_dir in $PATH
1.3042 -do
1.3043 - IFS=$as_save_IFS
1.3044 - test -z "$as_dir" && as_dir=.
1.3045 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3046 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3047 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.3048 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3049 - break 2
1.3050 - fi
1.3051 -done
1.3052 -done
1.3053 -IFS=$as_save_IFS
1.3054 -
1.3055 -fi
1.3056 -fi
1.3057 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.3058 -if test -n "$ac_ct_CC"; then
1.3059 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.3060 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.3061 -else
1.3062 - { echo "$as_me:$LINENO: result: no" >&5
1.3063 -echo "${ECHO_T}no" >&6; }
1.3064 -fi
1.3065 -
1.3066 -
1.3067 - test -n "$ac_ct_CC" && break
1.3068 -done
1.3069 -
1.3070 - if test "x$ac_ct_CC" = x; then
1.3071 - CC=""
1.3072 - else
1.3073 - case $cross_compiling:$ac_tool_warned in
1.3074 -yes:)
1.3075 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.3076 -whose name does not start with the host triplet. If you think this
1.3077 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.3078 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.3079 -whose name does not start with the host triplet. If you think this
1.3080 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.3081 -ac_tool_warned=yes ;;
1.3082 -esac
1.3083 - CC=$ac_ct_CC
1.3084 - fi
1.3085 -fi
1.3086 -
1.3087 -fi
1.3088 -
1.3089 -
1.3090 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.3091 -See \`config.log' for more details." >&5
1.3092 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.3093 -See \`config.log' for more details." >&2;}
1.3094 - { (exit 1); exit 1; }; }
1.3095 -
1.3096 -# Provide some information about the compiler.
1.3097 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.3098 -ac_compiler=`set X $ac_compile; echo $2`
1.3099 -{ (ac_try="$ac_compiler --version >&5"
1.3100 -case "(($ac_try" in
1.3101 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3102 - *) ac_try_echo=$ac_try;;
1.3103 -esac
1.3104 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3105 - (eval "$ac_compiler --version >&5") 2>&5
1.3106 - ac_status=$?
1.3107 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3108 - (exit $ac_status); }
1.3109 -{ (ac_try="$ac_compiler -v >&5"
1.3110 -case "(($ac_try" in
1.3111 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3112 - *) ac_try_echo=$ac_try;;
1.3113 -esac
1.3114 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3115 - (eval "$ac_compiler -v >&5") 2>&5
1.3116 - ac_status=$?
1.3117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3118 - (exit $ac_status); }
1.3119 -{ (ac_try="$ac_compiler -V >&5"
1.3120 -case "(($ac_try" in
1.3121 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3122 - *) ac_try_echo=$ac_try;;
1.3123 -esac
1.3124 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3125 - (eval "$ac_compiler -V >&5") 2>&5
1.3126 - ac_status=$?
1.3127 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3128 - (exit $ac_status); }
1.3129 -
1.3130 -cat >conftest.$ac_ext <<_ACEOF
1.3131 -/* confdefs.h. */
1.3132 -_ACEOF
1.3133 -cat confdefs.h >>conftest.$ac_ext
1.3134 -cat >>conftest.$ac_ext <<_ACEOF
1.3135 -/* end confdefs.h. */
1.3136 -
1.3137 -int
1.3138 -main ()
1.3139 -{
1.3140 -
1.3141 - ;
1.3142 - return 0;
1.3143 -}
1.3144 -_ACEOF
1.3145 -ac_clean_files_save=$ac_clean_files
1.3146 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.3147 -# Try to create an executable without -o first, disregard a.out.
1.3148 -# It will help us diagnose broken compilers, and finding out an intuition
1.3149 -# of exeext.
1.3150 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1.3151 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1.3152 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.3153 -#
1.3154 -# List of possible output files, starting from the most likely.
1.3155 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
1.3156 -# only as a last resort. b.out is created by i960 compilers.
1.3157 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
1.3158 -#
1.3159 -# The IRIX 6 linker writes into existing files which may not be
1.3160 -# executable, retaining their permissions. Remove them first so a
1.3161 -# subsequent execution test works.
1.3162 -ac_rmfiles=
1.3163 -for ac_file in $ac_files
1.3164 -do
1.3165 - case $ac_file in
1.3166 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.3167 - * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1.3168 - esac
1.3169 -done
1.3170 -rm -f $ac_rmfiles
1.3171 -
1.3172 -if { (ac_try="$ac_link_default"
1.3173 -case "(($ac_try" in
1.3174 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3175 - *) ac_try_echo=$ac_try;;
1.3176 -esac
1.3177 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3178 - (eval "$ac_link_default") 2>&5
1.3179 - ac_status=$?
1.3180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3181 - (exit $ac_status); }; then
1.3182 - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1.3183 -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1.3184 -# in a Makefile. We should not override ac_cv_exeext if it was cached,
1.3185 -# so that the user can short-circuit this test for compilers unknown to
1.3186 -# Autoconf.
1.3187 -for ac_file in $ac_files ''
1.3188 -do
1.3189 - test -f "$ac_file" || continue
1.3190 - case $ac_file in
1.3191 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1.3192 - ;;
1.3193 - [ab].out )
1.3194 - # We found the default executable, but exeext='' is most
1.3195 - # certainly right.
1.3196 - break;;
1.3197 - *.* )
1.3198 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.3199 - then :; else
1.3200 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.3201 - fi
1.3202 - # We set ac_cv_exeext here because the later test for it is not
1.3203 - # safe: cross compilers may not add the suffix if given an `-o'
1.3204 - # argument, so we may need to know it at that point already.
1.3205 - # Even if this section looks crufty: it has the advantage of
1.3206 - # actually working.
1.3207 - break;;
1.3208 - * )
1.3209 - break;;
1.3210 - esac
1.3211 -done
1.3212 -test "$ac_cv_exeext" = no && ac_cv_exeext=
1.3213 -
1.3214 -else
1.3215 - ac_file=''
1.3216 -fi
1.3217 -
1.3218 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
1.3219 -echo "${ECHO_T}$ac_file" >&6; }
1.3220 -if test -z "$ac_file"; then
1.3221 - echo "$as_me: failed program was:" >&5
1.3222 -sed 's/^/| /' conftest.$ac_ext >&5
1.3223 -
1.3224 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1.3225 -See \`config.log' for more details." >&5
1.3226 -echo "$as_me: error: C compiler cannot create executables
1.3227 -See \`config.log' for more details." >&2;}
1.3228 - { (exit 77); exit 77; }; }
1.3229 -fi
1.3230 -
1.3231 -ac_exeext=$ac_cv_exeext
1.3232 -
1.3233 -# Check that the compiler produces executables we can run. If not, either
1.3234 -# the compiler is broken, or we cross compile.
1.3235 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1.3236 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1.3237 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1.3238 -# If not cross compiling, check that we can run a simple program.
1.3239 -if test "$cross_compiling" != yes; then
1.3240 - if { ac_try='./$ac_file'
1.3241 - { (case "(($ac_try" in
1.3242 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3243 - *) ac_try_echo=$ac_try;;
1.3244 -esac
1.3245 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3246 - (eval "$ac_try") 2>&5
1.3247 - ac_status=$?
1.3248 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3249 - (exit $ac_status); }; }; then
1.3250 - cross_compiling=no
1.3251 - else
1.3252 - if test "$cross_compiling" = maybe; then
1.3253 - cross_compiling=yes
1.3254 - else
1.3255 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.3256 -If you meant to cross compile, use \`--host'.
1.3257 -See \`config.log' for more details." >&5
1.3258 -echo "$as_me: error: cannot run C compiled programs.
1.3259 -If you meant to cross compile, use \`--host'.
1.3260 -See \`config.log' for more details." >&2;}
1.3261 - { (exit 1); exit 1; }; }
1.3262 - fi
1.3263 - fi
1.3264 -fi
1.3265 -{ echo "$as_me:$LINENO: result: yes" >&5
1.3266 -echo "${ECHO_T}yes" >&6; }
1.3267 -
1.3268 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.3269 -ac_clean_files=$ac_clean_files_save
1.3270 -# Check that the compiler produces executables we can run. If not, either
1.3271 -# the compiler is broken, or we cross compile.
1.3272 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1.3273 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
1.3274 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
1.3275 -echo "${ECHO_T}$cross_compiling" >&6; }
1.3276 -
1.3277 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
1.3278 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
1.3279 -if { (ac_try="$ac_link"
1.3280 -case "(($ac_try" in
1.3281 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3282 - *) ac_try_echo=$ac_try;;
1.3283 -esac
1.3284 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3285 - (eval "$ac_link") 2>&5
1.3286 - ac_status=$?
1.3287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3288 - (exit $ac_status); }; then
1.3289 - # If both `conftest.exe' and `conftest' are `present' (well, observable)
1.3290 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1.3291 -# work properly (i.e., refer to `conftest.exe'), while it won't with
1.3292 -# `rm'.
1.3293 -for ac_file in conftest.exe conftest conftest.*; do
1.3294 - test -f "$ac_file" || continue
1.3295 - case $ac_file in
1.3296 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.3297 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.3298 - break;;
1.3299 - * ) break;;
1.3300 - esac
1.3301 -done
1.3302 -else
1.3303 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1.3304 -See \`config.log' for more details." >&5
1.3305 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1.3306 -See \`config.log' for more details." >&2;}
1.3307 - { (exit 1); exit 1; }; }
1.3308 -fi
1.3309 -
1.3310 -rm -f conftest$ac_cv_exeext
1.3311 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.3312 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
1.3313 -
1.3314 -rm -f conftest.$ac_ext
1.3315 -EXEEXT=$ac_cv_exeext
1.3316 -ac_exeext=$EXEEXT
1.3317 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
1.3318 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
1.3319 -if test "${ac_cv_objext+set}" = set; then
1.3320 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3321 -else
1.3322 - cat >conftest.$ac_ext <<_ACEOF
1.3323 -/* confdefs.h. */
1.3324 -_ACEOF
1.3325 -cat confdefs.h >>conftest.$ac_ext
1.3326 -cat >>conftest.$ac_ext <<_ACEOF
1.3327 -/* end confdefs.h. */
1.3328 -
1.3329 -int
1.3330 -main ()
1.3331 -{
1.3332 -
1.3333 - ;
1.3334 - return 0;
1.3335 -}
1.3336 -_ACEOF
1.3337 -rm -f conftest.o conftest.obj
1.3338 -if { (ac_try="$ac_compile"
1.3339 -case "(($ac_try" in
1.3340 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3341 - *) ac_try_echo=$ac_try;;
1.3342 -esac
1.3343 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3344 - (eval "$ac_compile") 2>&5
1.3345 - ac_status=$?
1.3346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3347 - (exit $ac_status); }; then
1.3348 - for ac_file in conftest.o conftest.obj conftest.*; do
1.3349 - test -f "$ac_file" || continue;
1.3350 - case $ac_file in
1.3351 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
1.3352 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1.3353 - break;;
1.3354 - esac
1.3355 -done
1.3356 -else
1.3357 - echo "$as_me: failed program was:" >&5
1.3358 -sed 's/^/| /' conftest.$ac_ext >&5
1.3359 -
1.3360 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1.3361 -See \`config.log' for more details." >&5
1.3362 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
1.3363 -See \`config.log' for more details." >&2;}
1.3364 - { (exit 1); exit 1; }; }
1.3365 -fi
1.3366 -
1.3367 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.3368 -fi
1.3369 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.3370 -echo "${ECHO_T}$ac_cv_objext" >&6; }
1.3371 -OBJEXT=$ac_cv_objext
1.3372 -ac_objext=$OBJEXT
1.3373 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.3374 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.3375 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.3376 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3377 -else
1.3378 - cat >conftest.$ac_ext <<_ACEOF
1.3379 -/* confdefs.h. */
1.3380 -_ACEOF
1.3381 -cat confdefs.h >>conftest.$ac_ext
1.3382 -cat >>conftest.$ac_ext <<_ACEOF
1.3383 -/* end confdefs.h. */
1.3384 -
1.3385 -int
1.3386 -main ()
1.3387 -{
1.3388 -#ifndef __GNUC__
1.3389 - choke me
1.3390 -#endif
1.3391 -
1.3392 - ;
1.3393 - return 0;
1.3394 -}
1.3395 -_ACEOF
1.3396 -rm -f conftest.$ac_objext
1.3397 -if { (ac_try="$ac_compile"
1.3398 -case "(($ac_try" in
1.3399 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3400 - *) ac_try_echo=$ac_try;;
1.3401 -esac
1.3402 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3403 - (eval "$ac_compile") 2>conftest.er1
1.3404 - ac_status=$?
1.3405 - grep -v '^ *+' conftest.er1 >conftest.err
1.3406 - rm -f conftest.er1
1.3407 - cat conftest.err >&5
1.3408 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3409 - (exit $ac_status); } && {
1.3410 - test -z "$ac_c_werror_flag" ||
1.3411 - test ! -s conftest.err
1.3412 - } && test -s conftest.$ac_objext; then
1.3413 - ac_compiler_gnu=yes
1.3414 -else
1.3415 - echo "$as_me: failed program was:" >&5
1.3416 -sed 's/^/| /' conftest.$ac_ext >&5
1.3417 -
1.3418 - ac_compiler_gnu=no
1.3419 -fi
1.3420 -
1.3421 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3422 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.3423 -
1.3424 -fi
1.3425 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.3426 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.3427 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.3428 -ac_test_CFLAGS=${CFLAGS+set}
1.3429 -ac_save_CFLAGS=$CFLAGS
1.3430 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.3431 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.3432 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.3433 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3434 -else
1.3435 - ac_save_c_werror_flag=$ac_c_werror_flag
1.3436 - ac_c_werror_flag=yes
1.3437 - ac_cv_prog_cc_g=no
1.3438 - CFLAGS="-g"
1.3439 - cat >conftest.$ac_ext <<_ACEOF
1.3440 -/* confdefs.h. */
1.3441 -_ACEOF
1.3442 -cat confdefs.h >>conftest.$ac_ext
1.3443 -cat >>conftest.$ac_ext <<_ACEOF
1.3444 -/* end confdefs.h. */
1.3445 -
1.3446 -int
1.3447 -main ()
1.3448 -{
1.3449 -
1.3450 - ;
1.3451 - return 0;
1.3452 -}
1.3453 -_ACEOF
1.3454 -rm -f conftest.$ac_objext
1.3455 -if { (ac_try="$ac_compile"
1.3456 -case "(($ac_try" in
1.3457 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3458 - *) ac_try_echo=$ac_try;;
1.3459 -esac
1.3460 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3461 - (eval "$ac_compile") 2>conftest.er1
1.3462 - ac_status=$?
1.3463 - grep -v '^ *+' conftest.er1 >conftest.err
1.3464 - rm -f conftest.er1
1.3465 - cat conftest.err >&5
1.3466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3467 - (exit $ac_status); } && {
1.3468 - test -z "$ac_c_werror_flag" ||
1.3469 - test ! -s conftest.err
1.3470 - } && test -s conftest.$ac_objext; then
1.3471 - ac_cv_prog_cc_g=yes
1.3472 -else
1.3473 - echo "$as_me: failed program was:" >&5
1.3474 -sed 's/^/| /' conftest.$ac_ext >&5
1.3475 -
1.3476 - CFLAGS=""
1.3477 - cat >conftest.$ac_ext <<_ACEOF
1.3478 -/* confdefs.h. */
1.3479 -_ACEOF
1.3480 -cat confdefs.h >>conftest.$ac_ext
1.3481 -cat >>conftest.$ac_ext <<_ACEOF
1.3482 -/* end confdefs.h. */
1.3483 -
1.3484 -int
1.3485 -main ()
1.3486 -{
1.3487 -
1.3488 - ;
1.3489 - return 0;
1.3490 -}
1.3491 -_ACEOF
1.3492 -rm -f conftest.$ac_objext
1.3493 -if { (ac_try="$ac_compile"
1.3494 -case "(($ac_try" in
1.3495 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3496 - *) ac_try_echo=$ac_try;;
1.3497 -esac
1.3498 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3499 - (eval "$ac_compile") 2>conftest.er1
1.3500 - ac_status=$?
1.3501 - grep -v '^ *+' conftest.er1 >conftest.err
1.3502 - rm -f conftest.er1
1.3503 - cat conftest.err >&5
1.3504 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3505 - (exit $ac_status); } && {
1.3506 - test -z "$ac_c_werror_flag" ||
1.3507 - test ! -s conftest.err
1.3508 - } && test -s conftest.$ac_objext; then
1.3509 - :
1.3510 -else
1.3511 - echo "$as_me: failed program was:" >&5
1.3512 -sed 's/^/| /' conftest.$ac_ext >&5
1.3513 -
1.3514 - ac_c_werror_flag=$ac_save_c_werror_flag
1.3515 - CFLAGS="-g"
1.3516 - cat >conftest.$ac_ext <<_ACEOF
1.3517 -/* confdefs.h. */
1.3518 -_ACEOF
1.3519 -cat confdefs.h >>conftest.$ac_ext
1.3520 -cat >>conftest.$ac_ext <<_ACEOF
1.3521 -/* end confdefs.h. */
1.3522 -
1.3523 -int
1.3524 -main ()
1.3525 -{
1.3526 -
1.3527 - ;
1.3528 - return 0;
1.3529 -}
1.3530 -_ACEOF
1.3531 -rm -f conftest.$ac_objext
1.3532 -if { (ac_try="$ac_compile"
1.3533 -case "(($ac_try" in
1.3534 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3535 - *) ac_try_echo=$ac_try;;
1.3536 -esac
1.3537 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3538 - (eval "$ac_compile") 2>conftest.er1
1.3539 - ac_status=$?
1.3540 - grep -v '^ *+' conftest.er1 >conftest.err
1.3541 - rm -f conftest.er1
1.3542 - cat conftest.err >&5
1.3543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3544 - (exit $ac_status); } && {
1.3545 - test -z "$ac_c_werror_flag" ||
1.3546 - test ! -s conftest.err
1.3547 - } && test -s conftest.$ac_objext; then
1.3548 - ac_cv_prog_cc_g=yes
1.3549 -else
1.3550 - echo "$as_me: failed program was:" >&5
1.3551 -sed 's/^/| /' conftest.$ac_ext >&5
1.3552 -
1.3553 -
1.3554 -fi
1.3555 -
1.3556 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3557 -fi
1.3558 -
1.3559 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3560 -fi
1.3561 -
1.3562 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3563 - ac_c_werror_flag=$ac_save_c_werror_flag
1.3564 -fi
1.3565 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.3566 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.3567 -if test "$ac_test_CFLAGS" = set; then
1.3568 - CFLAGS=$ac_save_CFLAGS
1.3569 -elif test $ac_cv_prog_cc_g = yes; then
1.3570 - if test "$GCC" = yes; then
1.3571 - CFLAGS="-g -O2"
1.3572 - else
1.3573 - CFLAGS="-g"
1.3574 - fi
1.3575 -else
1.3576 - if test "$GCC" = yes; then
1.3577 - CFLAGS="-O2"
1.3578 - else
1.3579 - CFLAGS=
1.3580 - fi
1.3581 -fi
1.3582 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.3583 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.3584 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.3585 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3586 -else
1.3587 - ac_cv_prog_cc_c89=no
1.3588 -ac_save_CC=$CC
1.3589 -cat >conftest.$ac_ext <<_ACEOF
1.3590 -/* confdefs.h. */
1.3591 -_ACEOF
1.3592 -cat confdefs.h >>conftest.$ac_ext
1.3593 -cat >>conftest.$ac_ext <<_ACEOF
1.3594 -/* end confdefs.h. */
1.3595 -#include <stdarg.h>
1.3596 -#include <stdio.h>
1.3597 -#include <sys/types.h>
1.3598 -#include <sys/stat.h>
1.3599 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.3600 -struct buf { int x; };
1.3601 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.3602 -static char *e (p, i)
1.3603 - char **p;
1.3604 - int i;
1.3605 -{
1.3606 - return p[i];
1.3607 -}
1.3608 -static char *f (char * (*g) (char **, int), char **p, ...)
1.3609 -{
1.3610 - char *s;
1.3611 - va_list v;
1.3612 - va_start (v,p);
1.3613 - s = g (p, va_arg (v,int));
1.3614 - va_end (v);
1.3615 - return s;
1.3616 -}
1.3617 -
1.3618 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.3619 - function prototypes and stuff, but not '\xHH' hex character constants.
1.3620 - These don't provoke an error unfortunately, instead are silently treated
1.3621 - as 'x'. The following induces an error, until -std is added to get
1.3622 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.3623 - array size at least. It's necessary to write '\x00'==0 to get something
1.3624 - that's true only with -std. */
1.3625 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.3626 -
1.3627 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.3628 - inside strings and character constants. */
1.3629 -#define FOO(x) 'x'
1.3630 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.3631 -
1.3632 -int test (int i, double x);
1.3633 -struct s1 {int (*f) (int a);};
1.3634 -struct s2 {int (*f) (double a);};
1.3635 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.3636 -int argc;
1.3637 -char **argv;
1.3638 -int
1.3639 -main ()
1.3640 -{
1.3641 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.3642 - ;
1.3643 - return 0;
1.3644 -}
1.3645 -_ACEOF
1.3646 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.3647 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.3648 -do
1.3649 - CC="$ac_save_CC $ac_arg"
1.3650 - rm -f conftest.$ac_objext
1.3651 -if { (ac_try="$ac_compile"
1.3652 -case "(($ac_try" in
1.3653 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3654 - *) ac_try_echo=$ac_try;;
1.3655 -esac
1.3656 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3657 - (eval "$ac_compile") 2>conftest.er1
1.3658 - ac_status=$?
1.3659 - grep -v '^ *+' conftest.er1 >conftest.err
1.3660 - rm -f conftest.er1
1.3661 - cat conftest.err >&5
1.3662 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3663 - (exit $ac_status); } && {
1.3664 - test -z "$ac_c_werror_flag" ||
1.3665 - test ! -s conftest.err
1.3666 - } && test -s conftest.$ac_objext; then
1.3667 - ac_cv_prog_cc_c89=$ac_arg
1.3668 -else
1.3669 - echo "$as_me: failed program was:" >&5
1.3670 -sed 's/^/| /' conftest.$ac_ext >&5
1.3671 -
1.3672 -
1.3673 -fi
1.3674 -
1.3675 -rm -f core conftest.err conftest.$ac_objext
1.3676 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.3677 -done
1.3678 -rm -f conftest.$ac_ext
1.3679 -CC=$ac_save_CC
1.3680 -
1.3681 -fi
1.3682 -# AC_CACHE_VAL
1.3683 -case "x$ac_cv_prog_cc_c89" in
1.3684 - x)
1.3685 - { echo "$as_me:$LINENO: result: none needed" >&5
1.3686 -echo "${ECHO_T}none needed" >&6; } ;;
1.3687 - xno)
1.3688 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.3689 -echo "${ECHO_T}unsupported" >&6; } ;;
1.3690 - *)
1.3691 - CC="$CC $ac_cv_prog_cc_c89"
1.3692 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.3693 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.3694 -esac
1.3695 -
1.3696 -
1.3697 -ac_ext=c
1.3698 -ac_cpp='$CPP $CPPFLAGS'
1.3699 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3700 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3701 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3702 -
1.3703 -depcc="$CC" am_compiler_list=
1.3704 -
1.3705 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.3706 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.3707 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.3708 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3709 -else
1.3710 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.3711 - # We make a subdir and do the tests there. Otherwise we can end up
1.3712 - # making bogus files that we don't know about and never remove. For
1.3713 - # instance it was reported that on HP-UX the gcc test will end up
1.3714 - # making a dummy file named `D' -- because `-MD' means `put the output
1.3715 - # in D'.
1.3716 - mkdir conftest.dir
1.3717 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.3718 - # using a relative directory.
1.3719 - cp "$am_depcomp" conftest.dir
1.3720 - cd conftest.dir
1.3721 - # We will build objects and dependencies in a subdirectory because
1.3722 - # it helps to detect inapplicable dependency modes. For instance
1.3723 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.3724 - # side effect of compilation, but ICC will put the dependencies in
1.3725 - # the current directory while Tru64 will put them in the object
1.3726 - # directory.
1.3727 - mkdir sub
1.3728 -
1.3729 - am_cv_CC_dependencies_compiler_type=none
1.3730 - if test "$am_compiler_list" = ""; then
1.3731 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.3732 - fi
1.3733 - for depmode in $am_compiler_list; do
1.3734 - # Setup a source with many dependencies, because some compilers
1.3735 - # like to wrap large dependency lists on column 80 (with \), and
1.3736 - # we should not choose a depcomp mode which is confused by this.
1.3737 - #
1.3738 - # We need to recreate these files for each test, as the compiler may
1.3739 - # overwrite some of them when testing with obscure command lines.
1.3740 - # This happens at least with the AIX C compiler.
1.3741 - : > sub/conftest.c
1.3742 - for i in 1 2 3 4 5 6; do
1.3743 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.3744 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.3745 - # Solaris 8's {/usr,}/bin/sh.
1.3746 - touch sub/conftst$i.h
1.3747 - done
1.3748 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.3749 -
1.3750 - case $depmode in
1.3751 - nosideeffect)
1.3752 - # after this tag, mechanisms are not by side-effect, so they'll
1.3753 - # only be used when explicitly requested
1.3754 - if test "x$enable_dependency_tracking" = xyes; then
1.3755 - continue
1.3756 - else
1.3757 - break
1.3758 - fi
1.3759 - ;;
1.3760 - none) break ;;
1.3761 - esac
1.3762 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.3763 - # mode. It turns out that the SunPro C++ compiler does not properly
1.3764 - # handle `-M -o', and we need to detect this.
1.3765 - if depmode=$depmode \
1.3766 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.3767 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.3768 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.3769 - >/dev/null 2>conftest.err &&
1.3770 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.3771 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.3772 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.3773 - # icc doesn't choke on unknown options, it will just issue warnings
1.3774 - # or remarks (even with -Werror). So we grep stderr for any message
1.3775 - # that says an option was ignored or not supported.
1.3776 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.3777 - # icc: Command line warning: ignoring option '-M'; no argument required
1.3778 - # The diagnosis changed in icc 8.0:
1.3779 - # icc: Command line remark: option '-MP' not supported
1.3780 - if (grep 'ignoring option' conftest.err ||
1.3781 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.3782 - am_cv_CC_dependencies_compiler_type=$depmode
1.3783 - break
1.3784 - fi
1.3785 - fi
1.3786 - done
1.3787 -
1.3788 - cd ..
1.3789 - rm -rf conftest.dir
1.3790 -else
1.3791 - am_cv_CC_dependencies_compiler_type=none
1.3792 -fi
1.3793 -
1.3794 -fi
1.3795 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.3796 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.3797 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.3798 -
1.3799 -
1.3800 -
1.3801 -if
1.3802 - test "x$enable_dependency_tracking" != xno \
1.3803 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.3804 - am__fastdepCC_TRUE=
1.3805 - am__fastdepCC_FALSE='#'
1.3806 -else
1.3807 - am__fastdepCC_TRUE='#'
1.3808 - am__fastdepCC_FALSE=
1.3809 -fi
1.3810 -
1.3811 -
1.3812 -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
1.3813 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
1.3814 -if test "${lt_cv_path_SED+set}" = set; then
1.3815 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3816 -else
1.3817 - # Loop through the user's path and test for sed and gsed.
1.3818 -# Then use that list of sed's as ones to test for truncation.
1.3819 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3820 -for as_dir in $PATH
1.3821 -do
1.3822 - IFS=$as_save_IFS
1.3823 - test -z "$as_dir" && as_dir=.
1.3824 - for lt_ac_prog in sed gsed; do
1.3825 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3826 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
1.3827 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
1.3828 - fi
1.3829 - done
1.3830 - done
1.3831 -done
1.3832 -lt_ac_max=0
1.3833 -lt_ac_count=0
1.3834 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
1.3835 -# along with /bin/sed that truncates output.
1.3836 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
1.3837 - test ! -f $lt_ac_sed && break
1.3838 - cat /dev/null > conftest.in
1.3839 - lt_ac_count=0
1.3840 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
1.3841 - # Check for GNU sed and select it if it is found.
1.3842 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
1.3843 - lt_cv_path_SED=$lt_ac_sed
1.3844 - break
1.3845 - fi
1.3846 - while true; do
1.3847 - cat conftest.in conftest.in >conftest.tmp
1.3848 - mv conftest.tmp conftest.in
1.3849 - cp conftest.in conftest.nl
1.3850 - echo >>conftest.nl
1.3851 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
1.3852 - cmp -s conftest.out conftest.nl || break
1.3853 - # 10000 chars as input seems more than enough
1.3854 - test $lt_ac_count -gt 10 && break
1.3855 - lt_ac_count=`expr $lt_ac_count + 1`
1.3856 - if test $lt_ac_count -gt $lt_ac_max; then
1.3857 - lt_ac_max=$lt_ac_count
1.3858 - lt_cv_path_SED=$lt_ac_sed
1.3859 - fi
1.3860 - done
1.3861 -done
1.3862 -SED=$lt_cv_path_SED
1.3863 -
1.3864 -fi
1.3865 -
1.3866 -{ echo "$as_me:$LINENO: result: $SED" >&5
1.3867 -echo "${ECHO_T}$SED" >&6; }
1.3868 -
1.3869 -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1.3870 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
1.3871 -if test "${ac_cv_path_GREP+set}" = set; then
1.3872 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3873 -else
1.3874 - # Extract the first word of "grep ggrep" to use in msg output
1.3875 -if test -z "$GREP"; then
1.3876 -set dummy grep ggrep; ac_prog_name=$2
1.3877 -if test "${ac_cv_path_GREP+set}" = set; then
1.3878 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3879 -else
1.3880 - ac_path_GREP_found=false
1.3881 -# Loop through the user's path and test for each of PROGNAME-LIST
1.3882 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3883 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.3884 -do
1.3885 - IFS=$as_save_IFS
1.3886 - test -z "$as_dir" && as_dir=.
1.3887 - for ac_prog in grep ggrep; do
1.3888 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3889 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.3890 - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1.3891 - # Check for GNU ac_path_GREP and select it if it is found.
1.3892 - # Check for GNU $ac_path_GREP
1.3893 -case `"$ac_path_GREP" --version 2>&1` in
1.3894 -*GNU*)
1.3895 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1.3896 -*)
1.3897 - ac_count=0
1.3898 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.3899 - while :
1.3900 - do
1.3901 - cat "conftest.in" "conftest.in" >"conftest.tmp"
1.3902 - mv "conftest.tmp" "conftest.in"
1.3903 - cp "conftest.in" "conftest.nl"
1.3904 - echo 'GREP' >> "conftest.nl"
1.3905 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.3906 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.3907 - ac_count=`expr $ac_count + 1`
1.3908 - if test $ac_count -gt ${ac_path_GREP_max-0}; then
1.3909 - # Best one so far, save it but keep looking for a better one
1.3910 - ac_cv_path_GREP="$ac_path_GREP"
1.3911 - ac_path_GREP_max=$ac_count
1.3912 - fi
1.3913 - # 10*(2^10) chars as input seems more than enough
1.3914 - test $ac_count -gt 10 && break
1.3915 - done
1.3916 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.3917 -esac
1.3918 -
1.3919 -
1.3920 - $ac_path_GREP_found && break 3
1.3921 - done
1.3922 -done
1.3923 -
1.3924 -done
1.3925 -IFS=$as_save_IFS
1.3926 -
1.3927 -
1.3928 -fi
1.3929 -
1.3930 -GREP="$ac_cv_path_GREP"
1.3931 -if test -z "$GREP"; then
1.3932 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.3933 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.3934 - { (exit 1); exit 1; }; }
1.3935 -fi
1.3936 -
1.3937 -else
1.3938 - ac_cv_path_GREP=$GREP
1.3939 -fi
1.3940 -
1.3941 -
1.3942 -fi
1.3943 -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
1.3944 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
1.3945 - GREP="$ac_cv_path_GREP"
1.3946 -
1.3947 -
1.3948 -{ echo "$as_me:$LINENO: checking for egrep" >&5
1.3949 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
1.3950 -if test "${ac_cv_path_EGREP+set}" = set; then
1.3951 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3952 -else
1.3953 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1.3954 - then ac_cv_path_EGREP="$GREP -E"
1.3955 - else
1.3956 - # Extract the first word of "egrep" to use in msg output
1.3957 -if test -z "$EGREP"; then
1.3958 -set dummy egrep; ac_prog_name=$2
1.3959 -if test "${ac_cv_path_EGREP+set}" = set; then
1.3960 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3961 -else
1.3962 - ac_path_EGREP_found=false
1.3963 -# Loop through the user's path and test for each of PROGNAME-LIST
1.3964 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3965 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.3966 -do
1.3967 - IFS=$as_save_IFS
1.3968 - test -z "$as_dir" && as_dir=.
1.3969 - for ac_prog in egrep; do
1.3970 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3971 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.3972 - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
1.3973 - # Check for GNU ac_path_EGREP and select it if it is found.
1.3974 - # Check for GNU $ac_path_EGREP
1.3975 -case `"$ac_path_EGREP" --version 2>&1` in
1.3976 -*GNU*)
1.3977 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
1.3978 -*)
1.3979 - ac_count=0
1.3980 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.3981 - while :
1.3982 - do
1.3983 - cat "conftest.in" "conftest.in" >"conftest.tmp"
1.3984 - mv "conftest.tmp" "conftest.in"
1.3985 - cp "conftest.in" "conftest.nl"
1.3986 - echo 'EGREP' >> "conftest.nl"
1.3987 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.3988 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.3989 - ac_count=`expr $ac_count + 1`
1.3990 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
1.3991 - # Best one so far, save it but keep looking for a better one
1.3992 - ac_cv_path_EGREP="$ac_path_EGREP"
1.3993 - ac_path_EGREP_max=$ac_count
1.3994 - fi
1.3995 - # 10*(2^10) chars as input seems more than enough
1.3996 - test $ac_count -gt 10 && break
1.3997 - done
1.3998 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.3999 -esac
1.4000 -
1.4001 -
1.4002 - $ac_path_EGREP_found && break 3
1.4003 - done
1.4004 -done
1.4005 -
1.4006 -done
1.4007 -IFS=$as_save_IFS
1.4008 -
1.4009 -
1.4010 -fi
1.4011 -
1.4012 -EGREP="$ac_cv_path_EGREP"
1.4013 -if test -z "$EGREP"; then
1.4014 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.4015 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.4016 - { (exit 1); exit 1; }; }
1.4017 -fi
1.4018 -
1.4019 -else
1.4020 - ac_cv_path_EGREP=$EGREP
1.4021 -fi
1.4022 -
1.4023 -
1.4024 - fi
1.4025 -fi
1.4026 -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
1.4027 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
1.4028 - EGREP="$ac_cv_path_EGREP"
1.4029 -
1.4030 -
1.4031 -
1.4032 -# Check whether --with-gnu-ld was given.
1.4033 -if test "${with_gnu_ld+set}" = set; then
1.4034 - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.4035 -else
1.4036 - with_gnu_ld=no
1.4037 -fi
1.4038 -
1.4039 -ac_prog=ld
1.4040 -if test "$GCC" = yes; then
1.4041 - # Check if gcc -print-prog-name=ld gives a path.
1.4042 - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
1.4043 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
1.4044 - case $host in
1.4045 - *-*-mingw*)
1.4046 - # gcc leaves a trailing carriage return which upsets mingw
1.4047 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1.4048 - *)
1.4049 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1.4050 - esac
1.4051 - case $ac_prog in
1.4052 - # Accept absolute paths.
1.4053 - [\\/]* | ?:[\\/]*)
1.4054 - re_direlt='/[^/][^/]*/\.\./'
1.4055 - # Canonicalize the pathname of ld
1.4056 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
1.4057 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1.4058 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
1.4059 - done
1.4060 - test -z "$LD" && LD="$ac_prog"
1.4061 - ;;
1.4062 - "")
1.4063 - # If it fails, then pretend we aren't using GCC.
1.4064 - ac_prog=ld
1.4065 - ;;
1.4066 - *)
1.4067 - # If it is relative, then search for the first ld in PATH.
1.4068 - with_gnu_ld=unknown
1.4069 - ;;
1.4070 - esac
1.4071 -elif test "$with_gnu_ld" = yes; then
1.4072 - { echo "$as_me:$LINENO: checking for GNU ld" >&5
1.4073 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
1.4074 -else
1.4075 - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
1.4076 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
1.4077 -fi
1.4078 -if test "${lt_cv_path_LD+set}" = set; then
1.4079 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4080 -else
1.4081 - if test -z "$LD"; then
1.4082 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.4083 - for ac_dir in $PATH; do
1.4084 - IFS="$lt_save_ifs"
1.4085 - test -z "$ac_dir" && ac_dir=.
1.4086 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.4087 - lt_cv_path_LD="$ac_dir/$ac_prog"
1.4088 - # Check to see if the program is GNU ld. I'd rather use --version,
1.4089 - # but apparently some GNU ld's only accept -v.
1.4090 - # Break only if it was the GNU/non-GNU ld that we prefer.
1.4091 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1.4092 - *GNU* | *'with BFD'*)
1.4093 - test "$with_gnu_ld" != no && break
1.4094 - ;;
1.4095 - *)
1.4096 - test "$with_gnu_ld" != yes && break
1.4097 - ;;
1.4098 - esac
1.4099 - fi
1.4100 - done
1.4101 - IFS="$lt_save_ifs"
1.4102 -else
1.4103 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.4104 -fi
1.4105 -fi
1.4106 -
1.4107 -LD="$lt_cv_path_LD"
1.4108 -if test -n "$LD"; then
1.4109 - { echo "$as_me:$LINENO: result: $LD" >&5
1.4110 -echo "${ECHO_T}$LD" >&6; }
1.4111 -else
1.4112 - { echo "$as_me:$LINENO: result: no" >&5
1.4113 -echo "${ECHO_T}no" >&6; }
1.4114 -fi
1.4115 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
1.4116 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
1.4117 - { (exit 1); exit 1; }; }
1.4118 -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
1.4119 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
1.4120 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
1.4121 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4122 -else
1.4123 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1.4124 -case `$LD -v 2>&1 </dev/null` in
1.4125 -*GNU* | *'with BFD'*)
1.4126 - lt_cv_prog_gnu_ld=yes
1.4127 - ;;
1.4128 -*)
1.4129 - lt_cv_prog_gnu_ld=no
1.4130 - ;;
1.4131 -esac
1.4132 -fi
1.4133 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
1.4134 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
1.4135 -with_gnu_ld=$lt_cv_prog_gnu_ld
1.4136 -
1.4137 -
1.4138 -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
1.4139 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
1.4140 -if test "${lt_cv_ld_reload_flag+set}" = set; then
1.4141 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4142 -else
1.4143 - lt_cv_ld_reload_flag='-r'
1.4144 -fi
1.4145 -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
1.4146 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
1.4147 -reload_flag=$lt_cv_ld_reload_flag
1.4148 -case $reload_flag in
1.4149 -"" | " "*) ;;
1.4150 -*) reload_flag=" $reload_flag" ;;
1.4151 -esac
1.4152 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
1.4153 -
1.4154 -{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
1.4155 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
1.4156 -if test "${lt_cv_path_NM+set}" = set; then
1.4157 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4158 -else
1.4159 - if test -n "$NM"; then
1.4160 - # Let the user override the test.
1.4161 - lt_cv_path_NM="$NM"
1.4162 -else
1.4163 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.4164 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1.4165 - IFS="$lt_save_ifs"
1.4166 - test -z "$ac_dir" && ac_dir=.
1.4167 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1.4168 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1.4169 - # Check to see if the nm accepts a BSD-compat flag.
1.4170 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1.4171 - # nm: unknown option "B" ignored
1.4172 - # Tru64's nm complains that /dev/null is an invalid object file
1.4173 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1.4174 - */dev/null* | *'Invalid file or object type'*)
1.4175 - lt_cv_path_NM="$tmp_nm -B"
1.4176 - break
1.4177 - ;;
1.4178 - *)
1.4179 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1.4180 - */dev/null*)
1.4181 - lt_cv_path_NM="$tmp_nm -p"
1.4182 - break
1.4183 - ;;
1.4184 - *)
1.4185 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1.4186 - continue # so that we can try to find one that supports BSD flags
1.4187 - ;;
1.4188 - esac
1.4189 - esac
1.4190 - fi
1.4191 - done
1.4192 - IFS="$lt_save_ifs"
1.4193 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1.4194 -fi
1.4195 -fi
1.4196 -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
1.4197 -echo "${ECHO_T}$lt_cv_path_NM" >&6; }
1.4198 -NM="$lt_cv_path_NM"
1.4199 -
1.4200 -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
1.4201 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
1.4202 -LN_S=$as_ln_s
1.4203 -if test "$LN_S" = "ln -s"; then
1.4204 - { echo "$as_me:$LINENO: result: yes" >&5
1.4205 -echo "${ECHO_T}yes" >&6; }
1.4206 -else
1.4207 - { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1.4208 -echo "${ECHO_T}no, using $LN_S" >&6; }
1.4209 -fi
1.4210 -
1.4211 -{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
1.4212 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
1.4213 -if test "${lt_cv_deplibs_check_method+set}" = set; then
1.4214 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4215 -else
1.4216 - lt_cv_file_magic_cmd='$MAGIC_CMD'
1.4217 -lt_cv_file_magic_test_file=
1.4218 -lt_cv_deplibs_check_method='unknown'
1.4219 -# Need to set the preceding variable on all platforms that support
1.4220 -# interlibrary dependencies.
1.4221 -# 'none' -- dependencies not supported.
1.4222 -# `unknown' -- same as none, but documents that we really don't know.
1.4223 -# 'pass_all' -- all dependencies passed with no checks.
1.4224 -# 'test_compile' -- check by making test program.
1.4225 -# 'file_magic [[regex]]' -- check by looking for files in library path
1.4226 -# which responds to the $file_magic_cmd with a given extended regex.
1.4227 -# If you have `file' or equivalent on your system and you're not sure
1.4228 -# whether `pass_all' will *always* work, you probably want this one.
1.4229 -
1.4230 -case $host_os in
1.4231 -aix4* | aix5*)
1.4232 - lt_cv_deplibs_check_method=pass_all
1.4233 - ;;
1.4234 -
1.4235 -beos*)
1.4236 - lt_cv_deplibs_check_method=pass_all
1.4237 - ;;
1.4238 -
1.4239 -bsdi4*)
1.4240 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1.4241 - lt_cv_file_magic_cmd='/usr/bin/file -L'
1.4242 - lt_cv_file_magic_test_file=/shlib/libc.so
1.4243 - ;;
1.4244 -
1.4245 -cygwin*)
1.4246 - # func_win32_libid is a shell function defined in ltmain.sh
1.4247 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
1.4248 - lt_cv_file_magic_cmd='func_win32_libid'
1.4249 - ;;
1.4250 -
1.4251 -mingw* | pw32*)
1.4252 - # Base MSYS/MinGW do not provide the 'file' command needed by
1.4253 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
1.4254 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1.4255 - lt_cv_file_magic_cmd='$OBJDUMP -f'
1.4256 - ;;
1.4257 -
1.4258 -darwin* | rhapsody*)
1.4259 - lt_cv_deplibs_check_method=pass_all
1.4260 - ;;
1.4261 -
1.4262 -freebsd* | kfreebsd*-gnu)
1.4263 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.4264 - case $host_cpu in
1.4265 - i*86 )
1.4266 - # Not sure whether the presence of OpenBSD here was a mistake.
1.4267 - # Let's accept both of them until this is cleared up.
1.4268 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1.4269 - lt_cv_file_magic_cmd=/usr/bin/file
1.4270 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.4271 - ;;
1.4272 - esac
1.4273 - else
1.4274 - lt_cv_deplibs_check_method=pass_all
1.4275 - fi
1.4276 - ;;
1.4277 -
1.4278 -gnu*)
1.4279 - lt_cv_deplibs_check_method=pass_all
1.4280 - ;;
1.4281 -
1.4282 -hpux10.20* | hpux11*)
1.4283 - lt_cv_file_magic_cmd=/usr/bin/file
1.4284 - case "$host_cpu" in
1.4285 - ia64*)
1.4286 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1.4287 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1.4288 - ;;
1.4289 - hppa*64*)
1.4290 - 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.4291 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.4292 - ;;
1.4293 - *)
1.4294 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1.4295 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.4296 - ;;
1.4297 - esac
1.4298 - ;;
1.4299 -
1.4300 -irix5* | irix6* | nonstopux*)
1.4301 - case $LD in
1.4302 - *-32|*"-32 ") libmagic=32-bit;;
1.4303 - *-n32|*"-n32 ") libmagic=N32;;
1.4304 - *-64|*"-64 ") libmagic=64-bit;;
1.4305 - *) libmagic=never-match;;
1.4306 - esac
1.4307 - lt_cv_deplibs_check_method=pass_all
1.4308 - ;;
1.4309 -
1.4310 -# This must be Linux ELF.
1.4311 -linux*)
1.4312 - lt_cv_deplibs_check_method=pass_all
1.4313 - ;;
1.4314 -
1.4315 -netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.4316 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.4317 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.4318 - else
1.4319 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.4320 - fi
1.4321 - ;;
1.4322 -
1.4323 -newos6*)
1.4324 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1.4325 - lt_cv_file_magic_cmd=/usr/bin/file
1.4326 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
1.4327 - ;;
1.4328 -
1.4329 -nto-qnx*)
1.4330 - lt_cv_deplibs_check_method=unknown
1.4331 - ;;
1.4332 -
1.4333 -openbsd*)
1.4334 - lt_cv_file_magic_cmd=/usr/bin/file
1.4335 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.4336 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.4337 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1.4338 - else
1.4339 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1.4340 - fi
1.4341 - ;;
1.4342 -
1.4343 -osf3* | osf4* | osf5*)
1.4344 - lt_cv_deplibs_check_method=pass_all
1.4345 - ;;
1.4346 -
1.4347 -sco3.2v5*)
1.4348 - lt_cv_deplibs_check_method=pass_all
1.4349 - ;;
1.4350 -
1.4351 -solaris*)
1.4352 - lt_cv_deplibs_check_method=pass_all
1.4353 - ;;
1.4354 -
1.4355 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.4356 - case $host_vendor in
1.4357 - motorola)
1.4358 - 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.4359 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1.4360 - ;;
1.4361 - ncr)
1.4362 - lt_cv_deplibs_check_method=pass_all
1.4363 - ;;
1.4364 - sequent)
1.4365 - lt_cv_file_magic_cmd='/bin/file'
1.4366 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
1.4367 - ;;
1.4368 - sni)
1.4369 - lt_cv_file_magic_cmd='/bin/file'
1.4370 - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
1.4371 - lt_cv_file_magic_test_file=/lib/libc.so
1.4372 - ;;
1.4373 - siemens)
1.4374 - lt_cv_deplibs_check_method=pass_all
1.4375 - ;;
1.4376 - esac
1.4377 - ;;
1.4378 -
1.4379 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
1.4380 - lt_cv_deplibs_check_method=pass_all
1.4381 - ;;
1.4382 -esac
1.4383 -
1.4384 -fi
1.4385 -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
1.4386 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
1.4387 -file_magic_cmd=$lt_cv_file_magic_cmd
1.4388 -deplibs_check_method=$lt_cv_deplibs_check_method
1.4389 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
1.4390 -
1.4391 -
1.4392 -
1.4393 -
1.4394 -# If no C compiler was specified, use CC.
1.4395 -LTCC=${LTCC-"$CC"}
1.4396 -
1.4397 -# Allow CC to be a program name with arguments.
1.4398 -compiler=$CC
1.4399 -
1.4400 -
1.4401 -# Check whether --enable-libtool-lock was given.
1.4402 -if test "${enable_libtool_lock+set}" = set; then
1.4403 - enableval=$enable_libtool_lock;
1.4404 -fi
1.4405 -
1.4406 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.4407 -
1.4408 -# Some flags need to be propagated to the compiler or linker for good
1.4409 -# libtool support.
1.4410 -case $host in
1.4411 -ia64-*-hpux*)
1.4412 - # Find out which ABI we are using.
1.4413 - echo 'int i;' > conftest.$ac_ext
1.4414 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4415 - (eval $ac_compile) 2>&5
1.4416 - ac_status=$?
1.4417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4418 - (exit $ac_status); }; then
1.4419 - case `/usr/bin/file conftest.$ac_objext` in
1.4420 - *ELF-32*)
1.4421 - HPUX_IA64_MODE="32"
1.4422 - ;;
1.4423 - *ELF-64*)
1.4424 - HPUX_IA64_MODE="64"
1.4425 - ;;
1.4426 - esac
1.4427 - fi
1.4428 - rm -rf conftest*
1.4429 - ;;
1.4430 -*-*-irix6*)
1.4431 - # Find out which ABI we are using.
1.4432 - echo '#line __oline__ "configure"' > conftest.$ac_ext
1.4433 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4434 - (eval $ac_compile) 2>&5
1.4435 - ac_status=$?
1.4436 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4437 - (exit $ac_status); }; then
1.4438 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.4439 - case `/usr/bin/file conftest.$ac_objext` in
1.4440 - *32-bit*)
1.4441 - LD="${LD-ld} -melf32bsmip"
1.4442 - ;;
1.4443 - *N32*)
1.4444 - LD="${LD-ld} -melf32bmipn32"
1.4445 - ;;
1.4446 - *64-bit*)
1.4447 - LD="${LD-ld} -melf64bmip"
1.4448 - ;;
1.4449 - esac
1.4450 - else
1.4451 - case `/usr/bin/file conftest.$ac_objext` in
1.4452 - *32-bit*)
1.4453 - LD="${LD-ld} -32"
1.4454 - ;;
1.4455 - *N32*)
1.4456 - LD="${LD-ld} -n32"
1.4457 - ;;
1.4458 - *64-bit*)
1.4459 - LD="${LD-ld} -64"
1.4460 - ;;
1.4461 - esac
1.4462 - fi
1.4463 - fi
1.4464 - rm -rf conftest*
1.4465 - ;;
1.4466 -
1.4467 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1.4468 - # Find out which ABI we are using.
1.4469 - echo 'int i;' > conftest.$ac_ext
1.4470 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4471 - (eval $ac_compile) 2>&5
1.4472 - ac_status=$?
1.4473 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4474 - (exit $ac_status); }; then
1.4475 - case "`/usr/bin/file conftest.o`" in
1.4476 - *32-bit*)
1.4477 - case $host in
1.4478 - x86_64-*linux*)
1.4479 - LD="${LD-ld} -m elf_i386"
1.4480 - ;;
1.4481 - ppc64-*linux*|powerpc64-*linux*)
1.4482 - LD="${LD-ld} -m elf32ppclinux"
1.4483 - ;;
1.4484 - s390x-*linux*)
1.4485 - LD="${LD-ld} -m elf_s390"
1.4486 - ;;
1.4487 - sparc64-*linux*)
1.4488 - LD="${LD-ld} -m elf32_sparc"
1.4489 - ;;
1.4490 - esac
1.4491 - ;;
1.4492 - *64-bit*)
1.4493 - case $host in
1.4494 - x86_64-*linux*)
1.4495 - LD="${LD-ld} -m elf_x86_64"
1.4496 - ;;
1.4497 - ppc*-*linux*|powerpc*-*linux*)
1.4498 - LD="${LD-ld} -m elf64ppc"
1.4499 - ;;
1.4500 - s390*-*linux*)
1.4501 - LD="${LD-ld} -m elf64_s390"
1.4502 - ;;
1.4503 - sparc*-*linux*)
1.4504 - LD="${LD-ld} -m elf64_sparc"
1.4505 - ;;
1.4506 - esac
1.4507 - ;;
1.4508 - esac
1.4509 - fi
1.4510 - rm -rf conftest*
1.4511 - ;;
1.4512 -
1.4513 -*-*-sco3.2v5*)
1.4514 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.4515 - SAVE_CFLAGS="$CFLAGS"
1.4516 - CFLAGS="$CFLAGS -belf"
1.4517 - { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
1.4518 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
1.4519 -if test "${lt_cv_cc_needs_belf+set}" = set; then
1.4520 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4521 -else
1.4522 - ac_ext=c
1.4523 -ac_cpp='$CPP $CPPFLAGS'
1.4524 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4525 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4526 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4527 -
1.4528 - cat >conftest.$ac_ext <<_ACEOF
1.4529 -/* confdefs.h. */
1.4530 -_ACEOF
1.4531 -cat confdefs.h >>conftest.$ac_ext
1.4532 -cat >>conftest.$ac_ext <<_ACEOF
1.4533 -/* end confdefs.h. */
1.4534 -
1.4535 -int
1.4536 -main ()
1.4537 -{
1.4538 -
1.4539 - ;
1.4540 - return 0;
1.4541 -}
1.4542 -_ACEOF
1.4543 -rm -f conftest.$ac_objext conftest$ac_exeext
1.4544 -if { (ac_try="$ac_link"
1.4545 -case "(($ac_try" in
1.4546 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4547 - *) ac_try_echo=$ac_try;;
1.4548 -esac
1.4549 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4550 - (eval "$ac_link") 2>conftest.er1
1.4551 - ac_status=$?
1.4552 - grep -v '^ *+' conftest.er1 >conftest.err
1.4553 - rm -f conftest.er1
1.4554 - cat conftest.err >&5
1.4555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4556 - (exit $ac_status); } && {
1.4557 - test -z "$ac_c_werror_flag" ||
1.4558 - test ! -s conftest.err
1.4559 - } && test -s conftest$ac_exeext &&
1.4560 - $as_test_x conftest$ac_exeext; then
1.4561 - lt_cv_cc_needs_belf=yes
1.4562 -else
1.4563 - echo "$as_me: failed program was:" >&5
1.4564 -sed 's/^/| /' conftest.$ac_ext >&5
1.4565 -
1.4566 - lt_cv_cc_needs_belf=no
1.4567 -fi
1.4568 -
1.4569 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.4570 - conftest$ac_exeext conftest.$ac_ext
1.4571 - ac_ext=c
1.4572 -ac_cpp='$CPP $CPPFLAGS'
1.4573 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4574 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4575 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4576 -
1.4577 -fi
1.4578 -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
1.4579 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
1.4580 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1.4581 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.4582 - CFLAGS="$SAVE_CFLAGS"
1.4583 - fi
1.4584 - ;;
1.4585 -
1.4586 -esac
1.4587 -
1.4588 -need_locks="$enable_libtool_lock"
1.4589 -
1.4590 -
1.4591 -ac_ext=c
1.4592 -ac_cpp='$CPP $CPPFLAGS'
1.4593 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4594 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4595 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4596 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.4597 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1.4598 -# On Suns, sometimes $CPP names a directory.
1.4599 -if test -n "$CPP" && test -d "$CPP"; then
1.4600 - CPP=
1.4601 -fi
1.4602 -if test -z "$CPP"; then
1.4603 - if test "${ac_cv_prog_CPP+set}" = set; then
1.4604 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4605 -else
1.4606 - # Double quotes because CPP needs to be expanded
1.4607 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.4608 - do
1.4609 - ac_preproc_ok=false
1.4610 -for ac_c_preproc_warn_flag in '' yes
1.4611 -do
1.4612 - # Use a header file that comes with gcc, so configuring glibc
1.4613 - # with a fresh cross-compiler works.
1.4614 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4615 - # <limits.h> exists even on freestanding compilers.
1.4616 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.4617 - # not just through cpp. "Syntax error" is here to catch this case.
1.4618 - cat >conftest.$ac_ext <<_ACEOF
1.4619 -/* confdefs.h. */
1.4620 -_ACEOF
1.4621 -cat confdefs.h >>conftest.$ac_ext
1.4622 -cat >>conftest.$ac_ext <<_ACEOF
1.4623 -/* end confdefs.h. */
1.4624 -@%:@ifdef __STDC__
1.4625 -@%:@ include <limits.h>
1.4626 -@%:@else
1.4627 -@%:@ include <assert.h>
1.4628 -@%:@endif
1.4629 - Syntax error
1.4630 -_ACEOF
1.4631 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4632 -case "(($ac_try" in
1.4633 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4634 - *) ac_try_echo=$ac_try;;
1.4635 -esac
1.4636 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4637 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4638 - ac_status=$?
1.4639 - grep -v '^ *+' conftest.er1 >conftest.err
1.4640 - rm -f conftest.er1
1.4641 - cat conftest.err >&5
1.4642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4643 - (exit $ac_status); } >/dev/null && {
1.4644 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4645 - test ! -s conftest.err
1.4646 - }; then
1.4647 - :
1.4648 -else
1.4649 - echo "$as_me: failed program was:" >&5
1.4650 -sed 's/^/| /' conftest.$ac_ext >&5
1.4651 -
1.4652 - # Broken: fails on valid input.
1.4653 -continue
1.4654 -fi
1.4655 -
1.4656 -rm -f conftest.err conftest.$ac_ext
1.4657 -
1.4658 - # OK, works on sane cases. Now check whether nonexistent headers
1.4659 - # can be detected and how.
1.4660 - cat >conftest.$ac_ext <<_ACEOF
1.4661 -/* confdefs.h. */
1.4662 -_ACEOF
1.4663 -cat confdefs.h >>conftest.$ac_ext
1.4664 -cat >>conftest.$ac_ext <<_ACEOF
1.4665 -/* end confdefs.h. */
1.4666 -@%:@include <ac_nonexistent.h>
1.4667 -_ACEOF
1.4668 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4669 -case "(($ac_try" in
1.4670 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4671 - *) ac_try_echo=$ac_try;;
1.4672 -esac
1.4673 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4674 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4675 - ac_status=$?
1.4676 - grep -v '^ *+' conftest.er1 >conftest.err
1.4677 - rm -f conftest.er1
1.4678 - cat conftest.err >&5
1.4679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4680 - (exit $ac_status); } >/dev/null && {
1.4681 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4682 - test ! -s conftest.err
1.4683 - }; then
1.4684 - # Broken: success on invalid input.
1.4685 -continue
1.4686 -else
1.4687 - echo "$as_me: failed program was:" >&5
1.4688 -sed 's/^/| /' conftest.$ac_ext >&5
1.4689 -
1.4690 - # Passes both tests.
1.4691 -ac_preproc_ok=:
1.4692 -break
1.4693 -fi
1.4694 -
1.4695 -rm -f conftest.err conftest.$ac_ext
1.4696 -
1.4697 -done
1.4698 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4699 -rm -f conftest.err conftest.$ac_ext
1.4700 -if $ac_preproc_ok; then
1.4701 - break
1.4702 -fi
1.4703 -
1.4704 - done
1.4705 - ac_cv_prog_CPP=$CPP
1.4706 -
1.4707 -fi
1.4708 - CPP=$ac_cv_prog_CPP
1.4709 -else
1.4710 - ac_cv_prog_CPP=$CPP
1.4711 -fi
1.4712 -{ echo "$as_me:$LINENO: result: $CPP" >&5
1.4713 -echo "${ECHO_T}$CPP" >&6; }
1.4714 -ac_preproc_ok=false
1.4715 -for ac_c_preproc_warn_flag in '' yes
1.4716 -do
1.4717 - # Use a header file that comes with gcc, so configuring glibc
1.4718 - # with a fresh cross-compiler works.
1.4719 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4720 - # <limits.h> exists even on freestanding compilers.
1.4721 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.4722 - # not just through cpp. "Syntax error" is here to catch this case.
1.4723 - cat >conftest.$ac_ext <<_ACEOF
1.4724 -/* confdefs.h. */
1.4725 -_ACEOF
1.4726 -cat confdefs.h >>conftest.$ac_ext
1.4727 -cat >>conftest.$ac_ext <<_ACEOF
1.4728 -/* end confdefs.h. */
1.4729 -@%:@ifdef __STDC__
1.4730 -@%:@ include <limits.h>
1.4731 -@%:@else
1.4732 -@%:@ include <assert.h>
1.4733 -@%:@endif
1.4734 - Syntax error
1.4735 -_ACEOF
1.4736 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4737 -case "(($ac_try" in
1.4738 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4739 - *) ac_try_echo=$ac_try;;
1.4740 -esac
1.4741 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4742 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4743 - ac_status=$?
1.4744 - grep -v '^ *+' conftest.er1 >conftest.err
1.4745 - rm -f conftest.er1
1.4746 - cat conftest.err >&5
1.4747 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4748 - (exit $ac_status); } >/dev/null && {
1.4749 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4750 - test ! -s conftest.err
1.4751 - }; then
1.4752 - :
1.4753 -else
1.4754 - echo "$as_me: failed program was:" >&5
1.4755 -sed 's/^/| /' conftest.$ac_ext >&5
1.4756 -
1.4757 - # Broken: fails on valid input.
1.4758 -continue
1.4759 -fi
1.4760 -
1.4761 -rm -f conftest.err conftest.$ac_ext
1.4762 -
1.4763 - # OK, works on sane cases. Now check whether nonexistent headers
1.4764 - # can be detected and how.
1.4765 - cat >conftest.$ac_ext <<_ACEOF
1.4766 -/* confdefs.h. */
1.4767 -_ACEOF
1.4768 -cat confdefs.h >>conftest.$ac_ext
1.4769 -cat >>conftest.$ac_ext <<_ACEOF
1.4770 -/* end confdefs.h. */
1.4771 -@%:@include <ac_nonexistent.h>
1.4772 -_ACEOF
1.4773 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4774 -case "(($ac_try" in
1.4775 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4776 - *) ac_try_echo=$ac_try;;
1.4777 -esac
1.4778 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4779 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4780 - ac_status=$?
1.4781 - grep -v '^ *+' conftest.er1 >conftest.err
1.4782 - rm -f conftest.er1
1.4783 - cat conftest.err >&5
1.4784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4785 - (exit $ac_status); } >/dev/null && {
1.4786 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4787 - test ! -s conftest.err
1.4788 - }; then
1.4789 - # Broken: success on invalid input.
1.4790 -continue
1.4791 -else
1.4792 - echo "$as_me: failed program was:" >&5
1.4793 -sed 's/^/| /' conftest.$ac_ext >&5
1.4794 -
1.4795 - # Passes both tests.
1.4796 -ac_preproc_ok=:
1.4797 -break
1.4798 -fi
1.4799 -
1.4800 -rm -f conftest.err conftest.$ac_ext
1.4801 -
1.4802 -done
1.4803 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4804 -rm -f conftest.err conftest.$ac_ext
1.4805 -if $ac_preproc_ok; then
1.4806 - :
1.4807 -else
1.4808 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.4809 -See \`config.log' for more details." >&5
1.4810 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.4811 -See \`config.log' for more details." >&2;}
1.4812 - { (exit 1); exit 1; }; }
1.4813 -fi
1.4814 -
1.4815 -ac_ext=c
1.4816 -ac_cpp='$CPP $CPPFLAGS'
1.4817 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4818 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4819 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4820 -
1.4821 -
1.4822 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.4823 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.4824 -if test "${ac_cv_header_stdc+set}" = set; then
1.4825 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4826 -else
1.4827 - cat >conftest.$ac_ext <<_ACEOF
1.4828 -/* confdefs.h. */
1.4829 -_ACEOF
1.4830 -cat confdefs.h >>conftest.$ac_ext
1.4831 -cat >>conftest.$ac_ext <<_ACEOF
1.4832 -/* end confdefs.h. */
1.4833 -#include <stdlib.h>
1.4834 -#include <stdarg.h>
1.4835 -#include <string.h>
1.4836 -#include <float.h>
1.4837 -
1.4838 -int
1.4839 -main ()
1.4840 -{
1.4841 -
1.4842 - ;
1.4843 - return 0;
1.4844 -}
1.4845 -_ACEOF
1.4846 -rm -f conftest.$ac_objext
1.4847 -if { (ac_try="$ac_compile"
1.4848 -case "(($ac_try" in
1.4849 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4850 - *) ac_try_echo=$ac_try;;
1.4851 -esac
1.4852 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4853 - (eval "$ac_compile") 2>conftest.er1
1.4854 - ac_status=$?
1.4855 - grep -v '^ *+' conftest.er1 >conftest.err
1.4856 - rm -f conftest.er1
1.4857 - cat conftest.err >&5
1.4858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4859 - (exit $ac_status); } && {
1.4860 - test -z "$ac_c_werror_flag" ||
1.4861 - test ! -s conftest.err
1.4862 - } && test -s conftest.$ac_objext; then
1.4863 - ac_cv_header_stdc=yes
1.4864 -else
1.4865 - echo "$as_me: failed program was:" >&5
1.4866 -sed 's/^/| /' conftest.$ac_ext >&5
1.4867 -
1.4868 - ac_cv_header_stdc=no
1.4869 -fi
1.4870 -
1.4871 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.4872 -
1.4873 -if test $ac_cv_header_stdc = yes; then
1.4874 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.4875 - cat >conftest.$ac_ext <<_ACEOF
1.4876 -/* confdefs.h. */
1.4877 -_ACEOF
1.4878 -cat confdefs.h >>conftest.$ac_ext
1.4879 -cat >>conftest.$ac_ext <<_ACEOF
1.4880 -/* end confdefs.h. */
1.4881 -#include <string.h>
1.4882 -
1.4883 -_ACEOF
1.4884 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4885 - $EGREP "memchr" >/dev/null 2>&1; then
1.4886 - :
1.4887 -else
1.4888 - ac_cv_header_stdc=no
1.4889 -fi
1.4890 -rm -f conftest*
1.4891 -
1.4892 -fi
1.4893 -
1.4894 -if test $ac_cv_header_stdc = yes; then
1.4895 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.4896 - cat >conftest.$ac_ext <<_ACEOF
1.4897 -/* confdefs.h. */
1.4898 -_ACEOF
1.4899 -cat confdefs.h >>conftest.$ac_ext
1.4900 -cat >>conftest.$ac_ext <<_ACEOF
1.4901 -/* end confdefs.h. */
1.4902 -#include <stdlib.h>
1.4903 -
1.4904 -_ACEOF
1.4905 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4906 - $EGREP "free" >/dev/null 2>&1; then
1.4907 - :
1.4908 -else
1.4909 - ac_cv_header_stdc=no
1.4910 -fi
1.4911 -rm -f conftest*
1.4912 -
1.4913 -fi
1.4914 -
1.4915 -if test $ac_cv_header_stdc = yes; then
1.4916 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.4917 - if test "$cross_compiling" = yes; then
1.4918 - :
1.4919 -else
1.4920 - cat >conftest.$ac_ext <<_ACEOF
1.4921 -/* confdefs.h. */
1.4922 -_ACEOF
1.4923 -cat confdefs.h >>conftest.$ac_ext
1.4924 -cat >>conftest.$ac_ext <<_ACEOF
1.4925 -/* end confdefs.h. */
1.4926 -#include <ctype.h>
1.4927 -#include <stdlib.h>
1.4928 -#if ((' ' & 0x0FF) == 0x020)
1.4929 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.4930 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.4931 -#else
1.4932 -# define ISLOWER(c) \
1.4933 - (('a' <= (c) && (c) <= 'i') \
1.4934 - || ('j' <= (c) && (c) <= 'r') \
1.4935 - || ('s' <= (c) && (c) <= 'z'))
1.4936 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.4937 -#endif
1.4938 -
1.4939 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.4940 -int
1.4941 -main ()
1.4942 -{
1.4943 - int i;
1.4944 - for (i = 0; i < 256; i++)
1.4945 - if (XOR (islower (i), ISLOWER (i))
1.4946 - || toupper (i) != TOUPPER (i))
1.4947 - return 2;
1.4948 - return 0;
1.4949 -}
1.4950 -_ACEOF
1.4951 -rm -f conftest$ac_exeext
1.4952 -if { (ac_try="$ac_link"
1.4953 -case "(($ac_try" in
1.4954 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4955 - *) ac_try_echo=$ac_try;;
1.4956 -esac
1.4957 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4958 - (eval "$ac_link") 2>&5
1.4959 - ac_status=$?
1.4960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4961 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.4962 - { (case "(($ac_try" in
1.4963 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4964 - *) ac_try_echo=$ac_try;;
1.4965 -esac
1.4966 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4967 - (eval "$ac_try") 2>&5
1.4968 - ac_status=$?
1.4969 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4970 - (exit $ac_status); }; }; then
1.4971 - :
1.4972 -else
1.4973 - echo "$as_me: program exited with status $ac_status" >&5
1.4974 -echo "$as_me: failed program was:" >&5
1.4975 -sed 's/^/| /' conftest.$ac_ext >&5
1.4976 -
1.4977 -( exit $ac_status )
1.4978 -ac_cv_header_stdc=no
1.4979 -fi
1.4980 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.4981 -fi
1.4982 -
1.4983 -
1.4984 -fi
1.4985 -fi
1.4986 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.4987 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.4988 -if test $ac_cv_header_stdc = yes; then
1.4989 -
1.4990 -cat >>confdefs.h <<\_ACEOF
1.4991 -@%:@define STDC_HEADERS 1
1.4992 -_ACEOF
1.4993 -
1.4994 -fi
1.4995 -
1.4996 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.4997 -
1.4998 -
1.4999 -
1.5000 -
1.5001 -
1.5002 -
1.5003 -
1.5004 -
1.5005 -
1.5006 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.5007 - inttypes.h stdint.h unistd.h
1.5008 -do
1.5009 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.5010 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
1.5011 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.5012 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5013 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5014 -else
1.5015 - cat >conftest.$ac_ext <<_ACEOF
1.5016 -/* confdefs.h. */
1.5017 -_ACEOF
1.5018 -cat confdefs.h >>conftest.$ac_ext
1.5019 -cat >>conftest.$ac_ext <<_ACEOF
1.5020 -/* end confdefs.h. */
1.5021 -$ac_includes_default
1.5022 -
1.5023 -@%:@include <$ac_header>
1.5024 -_ACEOF
1.5025 -rm -f conftest.$ac_objext
1.5026 -if { (ac_try="$ac_compile"
1.5027 -case "(($ac_try" in
1.5028 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5029 - *) ac_try_echo=$ac_try;;
1.5030 -esac
1.5031 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5032 - (eval "$ac_compile") 2>conftest.er1
1.5033 - ac_status=$?
1.5034 - grep -v '^ *+' conftest.er1 >conftest.err
1.5035 - rm -f conftest.er1
1.5036 - cat conftest.err >&5
1.5037 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5038 - (exit $ac_status); } && {
1.5039 - test -z "$ac_c_werror_flag" ||
1.5040 - test ! -s conftest.err
1.5041 - } && test -s conftest.$ac_objext; then
1.5042 - eval "$as_ac_Header=yes"
1.5043 -else
1.5044 - echo "$as_me: failed program was:" >&5
1.5045 -sed 's/^/| /' conftest.$ac_ext >&5
1.5046 -
1.5047 - eval "$as_ac_Header=no"
1.5048 -fi
1.5049 -
1.5050 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5051 -fi
1.5052 -ac_res=`eval echo '${'$as_ac_Header'}'`
1.5053 - { echo "$as_me:$LINENO: result: $ac_res" >&5
1.5054 -echo "${ECHO_T}$ac_res" >&6; }
1.5055 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.5056 - cat >>confdefs.h <<_ACEOF
1.5057 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.5058 -_ACEOF
1.5059 -
1.5060 -fi
1.5061 -
1.5062 -done
1.5063 -
1.5064 -
1.5065 -
1.5066 -for ac_header in dlfcn.h
1.5067 -do
1.5068 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.5069 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5070 - { echo "$as_me:$LINENO: checking for $ac_header" >&5
1.5071 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.5072 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5073 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5074 -fi
1.5075 -ac_res=`eval echo '${'$as_ac_Header'}'`
1.5076 - { echo "$as_me:$LINENO: result: $ac_res" >&5
1.5077 -echo "${ECHO_T}$ac_res" >&6; }
1.5078 -else
1.5079 - # Is the header compilable?
1.5080 -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
1.5081 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.5082 -cat >conftest.$ac_ext <<_ACEOF
1.5083 -/* confdefs.h. */
1.5084 -_ACEOF
1.5085 -cat confdefs.h >>conftest.$ac_ext
1.5086 -cat >>conftest.$ac_ext <<_ACEOF
1.5087 -/* end confdefs.h. */
1.5088 -$ac_includes_default
1.5089 -@%:@include <$ac_header>
1.5090 -_ACEOF
1.5091 -rm -f conftest.$ac_objext
1.5092 -if { (ac_try="$ac_compile"
1.5093 -case "(($ac_try" in
1.5094 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5095 - *) ac_try_echo=$ac_try;;
1.5096 -esac
1.5097 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5098 - (eval "$ac_compile") 2>conftest.er1
1.5099 - ac_status=$?
1.5100 - grep -v '^ *+' conftest.er1 >conftest.err
1.5101 - rm -f conftest.er1
1.5102 - cat conftest.err >&5
1.5103 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5104 - (exit $ac_status); } && {
1.5105 - test -z "$ac_c_werror_flag" ||
1.5106 - test ! -s conftest.err
1.5107 - } && test -s conftest.$ac_objext; then
1.5108 - ac_header_compiler=yes
1.5109 -else
1.5110 - echo "$as_me: failed program was:" >&5
1.5111 -sed 's/^/| /' conftest.$ac_ext >&5
1.5112 -
1.5113 - ac_header_compiler=no
1.5114 -fi
1.5115 -
1.5116 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5117 -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
1.5118 -echo "${ECHO_T}$ac_header_compiler" >&6; }
1.5119 -
1.5120 -# Is the header present?
1.5121 -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
1.5122 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.5123 -cat >conftest.$ac_ext <<_ACEOF
1.5124 -/* confdefs.h. */
1.5125 -_ACEOF
1.5126 -cat confdefs.h >>conftest.$ac_ext
1.5127 -cat >>conftest.$ac_ext <<_ACEOF
1.5128 -/* end confdefs.h. */
1.5129 -@%:@include <$ac_header>
1.5130 -_ACEOF
1.5131 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5132 -case "(($ac_try" in
1.5133 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5134 - *) ac_try_echo=$ac_try;;
1.5135 -esac
1.5136 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5137 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5138 - ac_status=$?
1.5139 - grep -v '^ *+' conftest.er1 >conftest.err
1.5140 - rm -f conftest.er1
1.5141 - cat conftest.err >&5
1.5142 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5143 - (exit $ac_status); } >/dev/null && {
1.5144 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.5145 - test ! -s conftest.err
1.5146 - }; then
1.5147 - ac_header_preproc=yes
1.5148 -else
1.5149 - echo "$as_me: failed program was:" >&5
1.5150 -sed 's/^/| /' conftest.$ac_ext >&5
1.5151 -
1.5152 - ac_header_preproc=no
1.5153 -fi
1.5154 -
1.5155 -rm -f conftest.err conftest.$ac_ext
1.5156 -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
1.5157 -echo "${ECHO_T}$ac_header_preproc" >&6; }
1.5158 -
1.5159 -# So? What about this header?
1.5160 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.5161 - yes:no: )
1.5162 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
1.5163 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.5164 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
1.5165 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
1.5166 - ac_header_preproc=yes
1.5167 - ;;
1.5168 - no:yes:* )
1.5169 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
1.5170 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.5171 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
1.5172 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
1.5173 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
1.5174 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
1.5175 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
1.5176 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
1.5177 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
1.5178 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.5179 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
1.5180 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.5181 -
1.5182 - ;;
1.5183 -esac
1.5184 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
1.5185 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.5186 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5187 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5188 -else
1.5189 - eval "$as_ac_Header=\$ac_header_preproc"
1.5190 -fi
1.5191 -ac_res=`eval echo '${'$as_ac_Header'}'`
1.5192 - { echo "$as_me:$LINENO: result: $ac_res" >&5
1.5193 -echo "${ECHO_T}$ac_res" >&6; }
1.5194 -
1.5195 -fi
1.5196 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.5197 - cat >>confdefs.h <<_ACEOF
1.5198 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.5199 -_ACEOF
1.5200 -
1.5201 -fi
1.5202 -
1.5203 -done
1.5204 -
1.5205 -ac_ext=cpp
1.5206 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5207 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5208 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5209 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5210 -if test -z "$CXX"; then
1.5211 - if test -n "$CCC"; then
1.5212 - CXX=$CCC
1.5213 - else
1.5214 - if test -n "$ac_tool_prefix"; then
1.5215 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.5216 - do
1.5217 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.5218 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.5219 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5220 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5221 -if test "${ac_cv_prog_CXX+set}" = set; then
1.5222 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5223 -else
1.5224 - if test -n "$CXX"; then
1.5225 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.5226 -else
1.5227 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5228 -for as_dir in $PATH
1.5229 -do
1.5230 - IFS=$as_save_IFS
1.5231 - test -z "$as_dir" && as_dir=.
1.5232 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5233 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5234 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.5235 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5236 - break 2
1.5237 - fi
1.5238 -done
1.5239 -done
1.5240 -IFS=$as_save_IFS
1.5241 -
1.5242 -fi
1.5243 -fi
1.5244 -CXX=$ac_cv_prog_CXX
1.5245 -if test -n "$CXX"; then
1.5246 - { echo "$as_me:$LINENO: result: $CXX" >&5
1.5247 -echo "${ECHO_T}$CXX" >&6; }
1.5248 -else
1.5249 - { echo "$as_me:$LINENO: result: no" >&5
1.5250 -echo "${ECHO_T}no" >&6; }
1.5251 -fi
1.5252 -
1.5253 -
1.5254 - test -n "$CXX" && break
1.5255 - done
1.5256 -fi
1.5257 -if test -z "$CXX"; then
1.5258 - ac_ct_CXX=$CXX
1.5259 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.5260 -do
1.5261 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.5262 -set dummy $ac_prog; ac_word=$2
1.5263 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5264 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5265 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.5266 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5267 -else
1.5268 - if test -n "$ac_ct_CXX"; then
1.5269 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.5270 -else
1.5271 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5272 -for as_dir in $PATH
1.5273 -do
1.5274 - IFS=$as_save_IFS
1.5275 - test -z "$as_dir" && as_dir=.
1.5276 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5277 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5278 - ac_cv_prog_ac_ct_CXX="$ac_prog"
1.5279 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5280 - break 2
1.5281 - fi
1.5282 -done
1.5283 -done
1.5284 -IFS=$as_save_IFS
1.5285 -
1.5286 -fi
1.5287 -fi
1.5288 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1.5289 -if test -n "$ac_ct_CXX"; then
1.5290 - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1.5291 -echo "${ECHO_T}$ac_ct_CXX" >&6; }
1.5292 -else
1.5293 - { echo "$as_me:$LINENO: result: no" >&5
1.5294 -echo "${ECHO_T}no" >&6; }
1.5295 -fi
1.5296 -
1.5297 -
1.5298 - test -n "$ac_ct_CXX" && break
1.5299 -done
1.5300 -
1.5301 - if test "x$ac_ct_CXX" = x; then
1.5302 - CXX="g++"
1.5303 - else
1.5304 - case $cross_compiling:$ac_tool_warned in
1.5305 -yes:)
1.5306 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.5307 -whose name does not start with the host triplet. If you think this
1.5308 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.5309 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.5310 -whose name does not start with the host triplet. If you think this
1.5311 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.5312 -ac_tool_warned=yes ;;
1.5313 -esac
1.5314 - CXX=$ac_ct_CXX
1.5315 - fi
1.5316 -fi
1.5317 -
1.5318 - fi
1.5319 -fi
1.5320 -# Provide some information about the compiler.
1.5321 -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
1.5322 -ac_compiler=`set X $ac_compile; echo $2`
1.5323 -{ (ac_try="$ac_compiler --version >&5"
1.5324 -case "(($ac_try" in
1.5325 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5326 - *) ac_try_echo=$ac_try;;
1.5327 -esac
1.5328 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5329 - (eval "$ac_compiler --version >&5") 2>&5
1.5330 - ac_status=$?
1.5331 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5332 - (exit $ac_status); }
1.5333 -{ (ac_try="$ac_compiler -v >&5"
1.5334 -case "(($ac_try" in
1.5335 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5336 - *) ac_try_echo=$ac_try;;
1.5337 -esac
1.5338 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5339 - (eval "$ac_compiler -v >&5") 2>&5
1.5340 - ac_status=$?
1.5341 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5342 - (exit $ac_status); }
1.5343 -{ (ac_try="$ac_compiler -V >&5"
1.5344 -case "(($ac_try" in
1.5345 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5346 - *) ac_try_echo=$ac_try;;
1.5347 -esac
1.5348 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5349 - (eval "$ac_compiler -V >&5") 2>&5
1.5350 - ac_status=$?
1.5351 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5352 - (exit $ac_status); }
1.5353 -
1.5354 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1.5355 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
1.5356 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.5357 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5358 -else
1.5359 - cat >conftest.$ac_ext <<_ACEOF
1.5360 -/* confdefs.h. */
1.5361 -_ACEOF
1.5362 -cat confdefs.h >>conftest.$ac_ext
1.5363 -cat >>conftest.$ac_ext <<_ACEOF
1.5364 -/* end confdefs.h. */
1.5365 -
1.5366 -int
1.5367 -main ()
1.5368 -{
1.5369 -#ifndef __GNUC__
1.5370 - choke me
1.5371 -#endif
1.5372 -
1.5373 - ;
1.5374 - return 0;
1.5375 -}
1.5376 -_ACEOF
1.5377 -rm -f conftest.$ac_objext
1.5378 -if { (ac_try="$ac_compile"
1.5379 -case "(($ac_try" in
1.5380 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5381 - *) ac_try_echo=$ac_try;;
1.5382 -esac
1.5383 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5384 - (eval "$ac_compile") 2>conftest.er1
1.5385 - ac_status=$?
1.5386 - grep -v '^ *+' conftest.er1 >conftest.err
1.5387 - rm -f conftest.er1
1.5388 - cat conftest.err >&5
1.5389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5390 - (exit $ac_status); } && {
1.5391 - test -z "$ac_cxx_werror_flag" ||
1.5392 - test ! -s conftest.err
1.5393 - } && test -s conftest.$ac_objext; then
1.5394 - ac_compiler_gnu=yes
1.5395 -else
1.5396 - echo "$as_me: failed program was:" >&5
1.5397 -sed 's/^/| /' conftest.$ac_ext >&5
1.5398 -
1.5399 - ac_compiler_gnu=no
1.5400 -fi
1.5401 -
1.5402 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5403 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.5404 -
1.5405 -fi
1.5406 -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1.5407 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
1.5408 -GXX=`test $ac_compiler_gnu = yes && echo yes`
1.5409 -ac_test_CXXFLAGS=${CXXFLAGS+set}
1.5410 -ac_save_CXXFLAGS=$CXXFLAGS
1.5411 -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1.5412 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
1.5413 -if test "${ac_cv_prog_cxx_g+set}" = set; then
1.5414 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5415 -else
1.5416 - ac_save_cxx_werror_flag=$ac_cxx_werror_flag
1.5417 - ac_cxx_werror_flag=yes
1.5418 - ac_cv_prog_cxx_g=no
1.5419 - CXXFLAGS="-g"
1.5420 - cat >conftest.$ac_ext <<_ACEOF
1.5421 -/* confdefs.h. */
1.5422 -_ACEOF
1.5423 -cat confdefs.h >>conftest.$ac_ext
1.5424 -cat >>conftest.$ac_ext <<_ACEOF
1.5425 -/* end confdefs.h. */
1.5426 -
1.5427 -int
1.5428 -main ()
1.5429 -{
1.5430 -
1.5431 - ;
1.5432 - return 0;
1.5433 -}
1.5434 -_ACEOF
1.5435 -rm -f conftest.$ac_objext
1.5436 -if { (ac_try="$ac_compile"
1.5437 -case "(($ac_try" in
1.5438 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5439 - *) ac_try_echo=$ac_try;;
1.5440 -esac
1.5441 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5442 - (eval "$ac_compile") 2>conftest.er1
1.5443 - ac_status=$?
1.5444 - grep -v '^ *+' conftest.er1 >conftest.err
1.5445 - rm -f conftest.er1
1.5446 - cat conftest.err >&5
1.5447 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5448 - (exit $ac_status); } && {
1.5449 - test -z "$ac_cxx_werror_flag" ||
1.5450 - test ! -s conftest.err
1.5451 - } && test -s conftest.$ac_objext; then
1.5452 - ac_cv_prog_cxx_g=yes
1.5453 -else
1.5454 - echo "$as_me: failed program was:" >&5
1.5455 -sed 's/^/| /' conftest.$ac_ext >&5
1.5456 -
1.5457 - CXXFLAGS=""
1.5458 - cat >conftest.$ac_ext <<_ACEOF
1.5459 -/* confdefs.h. */
1.5460 -_ACEOF
1.5461 -cat confdefs.h >>conftest.$ac_ext
1.5462 -cat >>conftest.$ac_ext <<_ACEOF
1.5463 -/* end confdefs.h. */
1.5464 -
1.5465 -int
1.5466 -main ()
1.5467 -{
1.5468 -
1.5469 - ;
1.5470 - return 0;
1.5471 -}
1.5472 -_ACEOF
1.5473 -rm -f conftest.$ac_objext
1.5474 -if { (ac_try="$ac_compile"
1.5475 -case "(($ac_try" in
1.5476 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5477 - *) ac_try_echo=$ac_try;;
1.5478 -esac
1.5479 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5480 - (eval "$ac_compile") 2>conftest.er1
1.5481 - ac_status=$?
1.5482 - grep -v '^ *+' conftest.er1 >conftest.err
1.5483 - rm -f conftest.er1
1.5484 - cat conftest.err >&5
1.5485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5486 - (exit $ac_status); } && {
1.5487 - test -z "$ac_cxx_werror_flag" ||
1.5488 - test ! -s conftest.err
1.5489 - } && test -s conftest.$ac_objext; then
1.5490 - :
1.5491 -else
1.5492 - echo "$as_me: failed program was:" >&5
1.5493 -sed 's/^/| /' conftest.$ac_ext >&5
1.5494 -
1.5495 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.5496 - CXXFLAGS="-g"
1.5497 - cat >conftest.$ac_ext <<_ACEOF
1.5498 -/* confdefs.h. */
1.5499 -_ACEOF
1.5500 -cat confdefs.h >>conftest.$ac_ext
1.5501 -cat >>conftest.$ac_ext <<_ACEOF
1.5502 -/* end confdefs.h. */
1.5503 -
1.5504 -int
1.5505 -main ()
1.5506 -{
1.5507 -
1.5508 - ;
1.5509 - return 0;
1.5510 -}
1.5511 -_ACEOF
1.5512 -rm -f conftest.$ac_objext
1.5513 -if { (ac_try="$ac_compile"
1.5514 -case "(($ac_try" in
1.5515 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5516 - *) ac_try_echo=$ac_try;;
1.5517 -esac
1.5518 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5519 - (eval "$ac_compile") 2>conftest.er1
1.5520 - ac_status=$?
1.5521 - grep -v '^ *+' conftest.er1 >conftest.err
1.5522 - rm -f conftest.er1
1.5523 - cat conftest.err >&5
1.5524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5525 - (exit $ac_status); } && {
1.5526 - test -z "$ac_cxx_werror_flag" ||
1.5527 - test ! -s conftest.err
1.5528 - } && test -s conftest.$ac_objext; then
1.5529 - ac_cv_prog_cxx_g=yes
1.5530 -else
1.5531 - echo "$as_me: failed program was:" >&5
1.5532 -sed 's/^/| /' conftest.$ac_ext >&5
1.5533 -
1.5534 -
1.5535 -fi
1.5536 -
1.5537 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5538 -fi
1.5539 -
1.5540 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5541 -fi
1.5542 -
1.5543 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5544 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.5545 -fi
1.5546 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1.5547 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
1.5548 -if test "$ac_test_CXXFLAGS" = set; then
1.5549 - CXXFLAGS=$ac_save_CXXFLAGS
1.5550 -elif test $ac_cv_prog_cxx_g = yes; then
1.5551 - if test "$GXX" = yes; then
1.5552 - CXXFLAGS="-g -O2"
1.5553 - else
1.5554 - CXXFLAGS="-g"
1.5555 - fi
1.5556 -else
1.5557 - if test "$GXX" = yes; then
1.5558 - CXXFLAGS="-O2"
1.5559 - else
1.5560 - CXXFLAGS=
1.5561 - fi
1.5562 -fi
1.5563 -ac_ext=cpp
1.5564 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5565 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5566 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5567 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5568 -
1.5569 -depcc="$CXX" am_compiler_list=
1.5570 -
1.5571 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.5572 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.5573 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.5574 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5575 -else
1.5576 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.5577 - # We make a subdir and do the tests there. Otherwise we can end up
1.5578 - # making bogus files that we don't know about and never remove. For
1.5579 - # instance it was reported that on HP-UX the gcc test will end up
1.5580 - # making a dummy file named `D' -- because `-MD' means `put the output
1.5581 - # in D'.
1.5582 - mkdir conftest.dir
1.5583 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.5584 - # using a relative directory.
1.5585 - cp "$am_depcomp" conftest.dir
1.5586 - cd conftest.dir
1.5587 - # We will build objects and dependencies in a subdirectory because
1.5588 - # it helps to detect inapplicable dependency modes. For instance
1.5589 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.5590 - # side effect of compilation, but ICC will put the dependencies in
1.5591 - # the current directory while Tru64 will put them in the object
1.5592 - # directory.
1.5593 - mkdir sub
1.5594 -
1.5595 - am_cv_CXX_dependencies_compiler_type=none
1.5596 - if test "$am_compiler_list" = ""; then
1.5597 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.5598 - fi
1.5599 - for depmode in $am_compiler_list; do
1.5600 - # Setup a source with many dependencies, because some compilers
1.5601 - # like to wrap large dependency lists on column 80 (with \), and
1.5602 - # we should not choose a depcomp mode which is confused by this.
1.5603 - #
1.5604 - # We need to recreate these files for each test, as the compiler may
1.5605 - # overwrite some of them when testing with obscure command lines.
1.5606 - # This happens at least with the AIX C compiler.
1.5607 - : > sub/conftest.c
1.5608 - for i in 1 2 3 4 5 6; do
1.5609 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.5610 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.5611 - # Solaris 8's {/usr,}/bin/sh.
1.5612 - touch sub/conftst$i.h
1.5613 - done
1.5614 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.5615 -
1.5616 - case $depmode in
1.5617 - nosideeffect)
1.5618 - # after this tag, mechanisms are not by side-effect, so they'll
1.5619 - # only be used when explicitly requested
1.5620 - if test "x$enable_dependency_tracking" = xyes; then
1.5621 - continue
1.5622 - else
1.5623 - break
1.5624 - fi
1.5625 - ;;
1.5626 - none) break ;;
1.5627 - esac
1.5628 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.5629 - # mode. It turns out that the SunPro C++ compiler does not properly
1.5630 - # handle `-M -o', and we need to detect this.
1.5631 - if depmode=$depmode \
1.5632 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.5633 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.5634 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.5635 - >/dev/null 2>conftest.err &&
1.5636 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.5637 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.5638 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.5639 - # icc doesn't choke on unknown options, it will just issue warnings
1.5640 - # or remarks (even with -Werror). So we grep stderr for any message
1.5641 - # that says an option was ignored or not supported.
1.5642 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.5643 - # icc: Command line warning: ignoring option '-M'; no argument required
1.5644 - # The diagnosis changed in icc 8.0:
1.5645 - # icc: Command line remark: option '-MP' not supported
1.5646 - if (grep 'ignoring option' conftest.err ||
1.5647 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.5648 - am_cv_CXX_dependencies_compiler_type=$depmode
1.5649 - break
1.5650 - fi
1.5651 - fi
1.5652 - done
1.5653 -
1.5654 - cd ..
1.5655 - rm -rf conftest.dir
1.5656 -else
1.5657 - am_cv_CXX_dependencies_compiler_type=none
1.5658 -fi
1.5659 -
1.5660 -fi
1.5661 -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
1.5662 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
1.5663 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1.5664 -
1.5665 -
1.5666 -
1.5667 -if
1.5668 - test "x$enable_dependency_tracking" != xno \
1.5669 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
1.5670 - am__fastdepCXX_TRUE=
1.5671 - am__fastdepCXX_FALSE='#'
1.5672 -else
1.5673 - am__fastdepCXX_TRUE='#'
1.5674 - am__fastdepCXX_FALSE=
1.5675 -fi
1.5676 -
1.5677 -
1.5678 -ac_ext=cpp
1.5679 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5680 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5681 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5682 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5683 -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
1.5684 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
1.5685 -if test -z "$CXXCPP"; then
1.5686 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
1.5687 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5688 -else
1.5689 - # Double quotes because CXXCPP needs to be expanded
1.5690 - for CXXCPP in "$CXX -E" "/lib/cpp"
1.5691 - do
1.5692 - ac_preproc_ok=false
1.5693 -for ac_cxx_preproc_warn_flag in '' yes
1.5694 -do
1.5695 - # Use a header file that comes with gcc, so configuring glibc
1.5696 - # with a fresh cross-compiler works.
1.5697 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5698 - # <limits.h> exists even on freestanding compilers.
1.5699 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.5700 - # not just through cpp. "Syntax error" is here to catch this case.
1.5701 - cat >conftest.$ac_ext <<_ACEOF
1.5702 -/* confdefs.h. */
1.5703 -_ACEOF
1.5704 -cat confdefs.h >>conftest.$ac_ext
1.5705 -cat >>conftest.$ac_ext <<_ACEOF
1.5706 -/* end confdefs.h. */
1.5707 -@%:@ifdef __STDC__
1.5708 -@%:@ include <limits.h>
1.5709 -@%:@else
1.5710 -@%:@ include <assert.h>
1.5711 -@%:@endif
1.5712 - Syntax error
1.5713 -_ACEOF
1.5714 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5715 -case "(($ac_try" in
1.5716 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5717 - *) ac_try_echo=$ac_try;;
1.5718 -esac
1.5719 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5720 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5721 - ac_status=$?
1.5722 - grep -v '^ *+' conftest.er1 >conftest.err
1.5723 - rm -f conftest.er1
1.5724 - cat conftest.err >&5
1.5725 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5726 - (exit $ac_status); } >/dev/null && {
1.5727 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5728 - test ! -s conftest.err
1.5729 - }; then
1.5730 - :
1.5731 -else
1.5732 - echo "$as_me: failed program was:" >&5
1.5733 -sed 's/^/| /' conftest.$ac_ext >&5
1.5734 -
1.5735 - # Broken: fails on valid input.
1.5736 -continue
1.5737 -fi
1.5738 -
1.5739 -rm -f conftest.err conftest.$ac_ext
1.5740 -
1.5741 - # OK, works on sane cases. Now check whether nonexistent headers
1.5742 - # can be detected and how.
1.5743 - cat >conftest.$ac_ext <<_ACEOF
1.5744 -/* confdefs.h. */
1.5745 -_ACEOF
1.5746 -cat confdefs.h >>conftest.$ac_ext
1.5747 -cat >>conftest.$ac_ext <<_ACEOF
1.5748 -/* end confdefs.h. */
1.5749 -@%:@include <ac_nonexistent.h>
1.5750 -_ACEOF
1.5751 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5752 -case "(($ac_try" in
1.5753 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5754 - *) ac_try_echo=$ac_try;;
1.5755 -esac
1.5756 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5757 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5758 - ac_status=$?
1.5759 - grep -v '^ *+' conftest.er1 >conftest.err
1.5760 - rm -f conftest.er1
1.5761 - cat conftest.err >&5
1.5762 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5763 - (exit $ac_status); } >/dev/null && {
1.5764 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5765 - test ! -s conftest.err
1.5766 - }; then
1.5767 - # Broken: success on invalid input.
1.5768 -continue
1.5769 -else
1.5770 - echo "$as_me: failed program was:" >&5
1.5771 -sed 's/^/| /' conftest.$ac_ext >&5
1.5772 -
1.5773 - # Passes both tests.
1.5774 -ac_preproc_ok=:
1.5775 -break
1.5776 -fi
1.5777 -
1.5778 -rm -f conftest.err conftest.$ac_ext
1.5779 -
1.5780 -done
1.5781 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.5782 -rm -f conftest.err conftest.$ac_ext
1.5783 -if $ac_preproc_ok; then
1.5784 - break
1.5785 -fi
1.5786 -
1.5787 - done
1.5788 - ac_cv_prog_CXXCPP=$CXXCPP
1.5789 -
1.5790 -fi
1.5791 - CXXCPP=$ac_cv_prog_CXXCPP
1.5792 -else
1.5793 - ac_cv_prog_CXXCPP=$CXXCPP
1.5794 -fi
1.5795 -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
1.5796 -echo "${ECHO_T}$CXXCPP" >&6; }
1.5797 -ac_preproc_ok=false
1.5798 -for ac_cxx_preproc_warn_flag in '' yes
1.5799 -do
1.5800 - # Use a header file that comes with gcc, so configuring glibc
1.5801 - # with a fresh cross-compiler works.
1.5802 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5803 - # <limits.h> exists even on freestanding compilers.
1.5804 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.5805 - # not just through cpp. "Syntax error" is here to catch this case.
1.5806 - cat >conftest.$ac_ext <<_ACEOF
1.5807 -/* confdefs.h. */
1.5808 -_ACEOF
1.5809 -cat confdefs.h >>conftest.$ac_ext
1.5810 -cat >>conftest.$ac_ext <<_ACEOF
1.5811 -/* end confdefs.h. */
1.5812 -@%:@ifdef __STDC__
1.5813 -@%:@ include <limits.h>
1.5814 -@%:@else
1.5815 -@%:@ include <assert.h>
1.5816 -@%:@endif
1.5817 - Syntax error
1.5818 -_ACEOF
1.5819 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5820 -case "(($ac_try" in
1.5821 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5822 - *) ac_try_echo=$ac_try;;
1.5823 -esac
1.5824 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5825 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5826 - ac_status=$?
1.5827 - grep -v '^ *+' conftest.er1 >conftest.err
1.5828 - rm -f conftest.er1
1.5829 - cat conftest.err >&5
1.5830 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5831 - (exit $ac_status); } >/dev/null && {
1.5832 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5833 - test ! -s conftest.err
1.5834 - }; then
1.5835 - :
1.5836 -else
1.5837 - echo "$as_me: failed program was:" >&5
1.5838 -sed 's/^/| /' conftest.$ac_ext >&5
1.5839 -
1.5840 - # Broken: fails on valid input.
1.5841 -continue
1.5842 -fi
1.5843 -
1.5844 -rm -f conftest.err conftest.$ac_ext
1.5845 -
1.5846 - # OK, works on sane cases. Now check whether nonexistent headers
1.5847 - # can be detected and how.
1.5848 - cat >conftest.$ac_ext <<_ACEOF
1.5849 -/* confdefs.h. */
1.5850 -_ACEOF
1.5851 -cat confdefs.h >>conftest.$ac_ext
1.5852 -cat >>conftest.$ac_ext <<_ACEOF
1.5853 -/* end confdefs.h. */
1.5854 -@%:@include <ac_nonexistent.h>
1.5855 -_ACEOF
1.5856 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5857 -case "(($ac_try" in
1.5858 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5859 - *) ac_try_echo=$ac_try;;
1.5860 -esac
1.5861 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5862 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5863 - ac_status=$?
1.5864 - grep -v '^ *+' conftest.er1 >conftest.err
1.5865 - rm -f conftest.er1
1.5866 - cat conftest.err >&5
1.5867 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5868 - (exit $ac_status); } >/dev/null && {
1.5869 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5870 - test ! -s conftest.err
1.5871 - }; then
1.5872 - # Broken: success on invalid input.
1.5873 -continue
1.5874 -else
1.5875 - echo "$as_me: failed program was:" >&5
1.5876 -sed 's/^/| /' conftest.$ac_ext >&5
1.5877 -
1.5878 - # Passes both tests.
1.5879 -ac_preproc_ok=:
1.5880 -break
1.5881 -fi
1.5882 -
1.5883 -rm -f conftest.err conftest.$ac_ext
1.5884 -
1.5885 -done
1.5886 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.5887 -rm -f conftest.err conftest.$ac_ext
1.5888 -if $ac_preproc_ok; then
1.5889 - :
1.5890 -else
1.5891 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.5892 -See \`config.log' for more details." >&5
1.5893 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.5894 -See \`config.log' for more details." >&2;}
1.5895 - { (exit 1); exit 1; }; }
1.5896 -fi
1.5897 -
1.5898 -ac_ext=cpp
1.5899 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5900 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5901 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5902 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5903 -
1.5904 -
1.5905 -ac_ext=f
1.5906 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
1.5907 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5908 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1.5909 -if test -n "$ac_tool_prefix"; then
1.5910 - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
1.5911 - do
1.5912 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.5913 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.5914 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5915 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5916 -if test "${ac_cv_prog_F77+set}" = set; then
1.5917 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5918 -else
1.5919 - if test -n "$F77"; then
1.5920 - ac_cv_prog_F77="$F77" # Let the user override the test.
1.5921 -else
1.5922 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5923 -for as_dir in $PATH
1.5924 -do
1.5925 - IFS=$as_save_IFS
1.5926 - test -z "$as_dir" && as_dir=.
1.5927 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5928 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5929 - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
1.5930 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5931 - break 2
1.5932 - fi
1.5933 -done
1.5934 -done
1.5935 -IFS=$as_save_IFS
1.5936 -
1.5937 -fi
1.5938 -fi
1.5939 -F77=$ac_cv_prog_F77
1.5940 -if test -n "$F77"; then
1.5941 - { echo "$as_me:$LINENO: result: $F77" >&5
1.5942 -echo "${ECHO_T}$F77" >&6; }
1.5943 -else
1.5944 - { echo "$as_me:$LINENO: result: no" >&5
1.5945 -echo "${ECHO_T}no" >&6; }
1.5946 -fi
1.5947 -
1.5948 -
1.5949 - test -n "$F77" && break
1.5950 - done
1.5951 -fi
1.5952 -if test -z "$F77"; then
1.5953 - ac_ct_F77=$F77
1.5954 - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
1.5955 -do
1.5956 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.5957 -set dummy $ac_prog; ac_word=$2
1.5958 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5959 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5960 -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
1.5961 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5962 -else
1.5963 - if test -n "$ac_ct_F77"; then
1.5964 - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
1.5965 -else
1.5966 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5967 -for as_dir in $PATH
1.5968 -do
1.5969 - IFS=$as_save_IFS
1.5970 - test -z "$as_dir" && as_dir=.
1.5971 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5972 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5973 - ac_cv_prog_ac_ct_F77="$ac_prog"
1.5974 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5975 - break 2
1.5976 - fi
1.5977 -done
1.5978 -done
1.5979 -IFS=$as_save_IFS
1.5980 -
1.5981 -fi
1.5982 -fi
1.5983 -ac_ct_F77=$ac_cv_prog_ac_ct_F77
1.5984 -if test -n "$ac_ct_F77"; then
1.5985 - { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
1.5986 -echo "${ECHO_T}$ac_ct_F77" >&6; }
1.5987 -else
1.5988 - { echo "$as_me:$LINENO: result: no" >&5
1.5989 -echo "${ECHO_T}no" >&6; }
1.5990 -fi
1.5991 -
1.5992 -
1.5993 - test -n "$ac_ct_F77" && break
1.5994 -done
1.5995 -
1.5996 - if test "x$ac_ct_F77" = x; then
1.5997 - F77=""
1.5998 - else
1.5999 - case $cross_compiling:$ac_tool_warned in
1.6000 -yes:)
1.6001 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6002 -whose name does not start with the host triplet. If you think this
1.6003 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6004 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6005 -whose name does not start with the host triplet. If you think this
1.6006 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6007 -ac_tool_warned=yes ;;
1.6008 -esac
1.6009 - F77=$ac_ct_F77
1.6010 - fi
1.6011 -fi
1.6012 -
1.6013 -
1.6014 -# Provide some information about the compiler.
1.6015 -echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
1.6016 -ac_compiler=`set X $ac_compile; echo $2`
1.6017 -{ (ac_try="$ac_compiler --version >&5"
1.6018 -case "(($ac_try" in
1.6019 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6020 - *) ac_try_echo=$ac_try;;
1.6021 -esac
1.6022 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6023 - (eval "$ac_compiler --version >&5") 2>&5
1.6024 - ac_status=$?
1.6025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6026 - (exit $ac_status); }
1.6027 -{ (ac_try="$ac_compiler -v >&5"
1.6028 -case "(($ac_try" in
1.6029 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6030 - *) ac_try_echo=$ac_try;;
1.6031 -esac
1.6032 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6033 - (eval "$ac_compiler -v >&5") 2>&5
1.6034 - ac_status=$?
1.6035 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6036 - (exit $ac_status); }
1.6037 -{ (ac_try="$ac_compiler -V >&5"
1.6038 -case "(($ac_try" in
1.6039 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6040 - *) ac_try_echo=$ac_try;;
1.6041 -esac
1.6042 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6043 - (eval "$ac_compiler -V >&5") 2>&5
1.6044 - ac_status=$?
1.6045 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6046 - (exit $ac_status); }
1.6047 -rm -f a.out
1.6048 -
1.6049 -# If we don't use `.F' as extension, the preprocessor is not run on the
1.6050 -# input file. (Note that this only needs to work for GNU compilers.)
1.6051 -ac_save_ext=$ac_ext
1.6052 -ac_ext=F
1.6053 -{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
1.6054 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
1.6055 -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
1.6056 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6057 -else
1.6058 - cat >conftest.$ac_ext <<_ACEOF
1.6059 - program main
1.6060 -#ifndef __GNUC__
1.6061 - choke me
1.6062 -#endif
1.6063 -
1.6064 - end
1.6065 -_ACEOF
1.6066 -rm -f conftest.$ac_objext
1.6067 -if { (ac_try="$ac_compile"
1.6068 -case "(($ac_try" in
1.6069 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6070 - *) ac_try_echo=$ac_try;;
1.6071 -esac
1.6072 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6073 - (eval "$ac_compile") 2>conftest.er1
1.6074 - ac_status=$?
1.6075 - grep -v '^ *+' conftest.er1 >conftest.err
1.6076 - rm -f conftest.er1
1.6077 - cat conftest.err >&5
1.6078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6079 - (exit $ac_status); } && {
1.6080 - test -z "$ac_f77_werror_flag" ||
1.6081 - test ! -s conftest.err
1.6082 - } && test -s conftest.$ac_objext; then
1.6083 - ac_compiler_gnu=yes
1.6084 -else
1.6085 - echo "$as_me: failed program was:" >&5
1.6086 -sed 's/^/| /' conftest.$ac_ext >&5
1.6087 -
1.6088 - ac_compiler_gnu=no
1.6089 -fi
1.6090 -
1.6091 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.6092 -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
1.6093 -
1.6094 -fi
1.6095 -{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
1.6096 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
1.6097 -ac_ext=$ac_save_ext
1.6098 -ac_test_FFLAGS=${FFLAGS+set}
1.6099 -ac_save_FFLAGS=$FFLAGS
1.6100 -FFLAGS=
1.6101 -{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
1.6102 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
1.6103 -if test "${ac_cv_prog_f77_g+set}" = set; then
1.6104 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6105 -else
1.6106 - FFLAGS=-g
1.6107 -cat >conftest.$ac_ext <<_ACEOF
1.6108 - program main
1.6109 -
1.6110 - end
1.6111 -_ACEOF
1.6112 -rm -f conftest.$ac_objext
1.6113 -if { (ac_try="$ac_compile"
1.6114 -case "(($ac_try" in
1.6115 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6116 - *) ac_try_echo=$ac_try;;
1.6117 -esac
1.6118 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6119 - (eval "$ac_compile") 2>conftest.er1
1.6120 - ac_status=$?
1.6121 - grep -v '^ *+' conftest.er1 >conftest.err
1.6122 - rm -f conftest.er1
1.6123 - cat conftest.err >&5
1.6124 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6125 - (exit $ac_status); } && {
1.6126 - test -z "$ac_f77_werror_flag" ||
1.6127 - test ! -s conftest.err
1.6128 - } && test -s conftest.$ac_objext; then
1.6129 - ac_cv_prog_f77_g=yes
1.6130 -else
1.6131 - echo "$as_me: failed program was:" >&5
1.6132 -sed 's/^/| /' conftest.$ac_ext >&5
1.6133 -
1.6134 - ac_cv_prog_f77_g=no
1.6135 -fi
1.6136 -
1.6137 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.6138 -
1.6139 -fi
1.6140 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
1.6141 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
1.6142 -if test "$ac_test_FFLAGS" = set; then
1.6143 - FFLAGS=$ac_save_FFLAGS
1.6144 -elif test $ac_cv_prog_f77_g = yes; then
1.6145 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
1.6146 - FFLAGS="-g -O2"
1.6147 - else
1.6148 - FFLAGS="-g"
1.6149 - fi
1.6150 -else
1.6151 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
1.6152 - FFLAGS="-O2"
1.6153 - else
1.6154 - FFLAGS=
1.6155 - fi
1.6156 -fi
1.6157 -
1.6158 -G77=`test $ac_compiler_gnu = yes && echo yes`
1.6159 -ac_ext=c
1.6160 -ac_cpp='$CPP $CPPFLAGS'
1.6161 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.6162 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.6163 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.6164 -
1.6165 -
1.6166 -
1.6167 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1.6168 -
1.6169 -# find the maximum length of command line arguments
1.6170 -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
1.6171 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
1.6172 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
1.6173 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6174 -else
1.6175 - i=0
1.6176 - teststring="ABCD"
1.6177 -
1.6178 - case $build_os in
1.6179 - msdosdjgpp*)
1.6180 - # On DJGPP, this test can blow up pretty badly due to problems in libc
1.6181 - # (any single argument exceeding 2000 bytes causes a buffer overrun
1.6182 - # during glob expansion). Even if it were fixed, the result of this
1.6183 - # check would be larger than it should be.
1.6184 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
1.6185 - ;;
1.6186 -
1.6187 - gnu*)
1.6188 - # Under GNU Hurd, this test is not required because there is
1.6189 - # no limit to the length of command line arguments.
1.6190 - # Libtool will interpret -1 as no limit whatsoever
1.6191 - lt_cv_sys_max_cmd_len=-1;
1.6192 - ;;
1.6193 -
1.6194 - cygwin* | mingw*)
1.6195 - # On Win9x/ME, this test blows up -- it succeeds, but takes
1.6196 - # about 5 minutes as the teststring grows exponentially.
1.6197 - # Worse, since 9x/ME are not pre-emptively multitasking,
1.6198 - # you end up with a "frozen" computer, even though with patience
1.6199 - # the test eventually succeeds (with a max line length of 256k).
1.6200 - # Instead, let's just punt: use the minimum linelength reported by
1.6201 - # all of the supported platforms: 8192 (on NT/2K/XP).
1.6202 - lt_cv_sys_max_cmd_len=8192;
1.6203 - ;;
1.6204 -
1.6205 - amigaos*)
1.6206 - # On AmigaOS with pdksh, this test takes hours, literally.
1.6207 - # So we just punt and use a minimum line length of 8192.
1.6208 - lt_cv_sys_max_cmd_len=8192;
1.6209 - ;;
1.6210 -
1.6211 - *)
1.6212 - # If test is not a shell built-in, we'll probably end up computing a
1.6213 - # maximum length that is only half of the actual maximum length, but
1.6214 - # we can't tell.
1.6215 - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
1.6216 - = "XX$teststring") >/dev/null 2>&1 &&
1.6217 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
1.6218 - lt_cv_sys_max_cmd_len=$new_result &&
1.6219 - test $i != 17 # 1/2 MB should be enough
1.6220 - do
1.6221 - i=`expr $i + 1`
1.6222 - teststring=$teststring$teststring
1.6223 - done
1.6224 - teststring=
1.6225 - # Add a significant safety factor because C++ compilers can tack on massive
1.6226 - # amounts of additional arguments before passing them to the linker.
1.6227 - # It appears as though 1/2 is a usable value.
1.6228 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1.6229 - ;;
1.6230 - esac
1.6231 -
1.6232 -fi
1.6233 -
1.6234 -if test -n $lt_cv_sys_max_cmd_len ; then
1.6235 - { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
1.6236 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
1.6237 -else
1.6238 - { echo "$as_me:$LINENO: result: none" >&5
1.6239 -echo "${ECHO_T}none" >&6; }
1.6240 -fi
1.6241 -
1.6242 -
1.6243 -
1.6244 -
1.6245 -# Check for command to grab the raw symbol name followed by C symbol from nm.
1.6246 -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
1.6247 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
1.6248 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
1.6249 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6250 -else
1.6251 -
1.6252 -# These are sane defaults that work on at least a few old systems.
1.6253 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
1.6254 -
1.6255 -# Character class describing NM global symbol codes.
1.6256 -symcode='[BCDEGRST]'
1.6257 -
1.6258 -# Regexp to match symbols that can be accessed directly from C.
1.6259 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.6260 -
1.6261 -# Transform the above into a raw symbol and a C symbol.
1.6262 -symxfrm='\1 \2\3 \3'
1.6263 -
1.6264 -# Transform an extracted symbol line into a proper C declaration
1.6265 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
1.6266 -
1.6267 -# Transform an extracted symbol line into symbol name and symbol address
1.6268 -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.6269 -
1.6270 -# Define system-specific variables.
1.6271 -case $host_os in
1.6272 -aix*)
1.6273 - symcode='[BCDT]'
1.6274 - ;;
1.6275 -cygwin* | mingw* | pw32*)
1.6276 - symcode='[ABCDGISTW]'
1.6277 - ;;
1.6278 -hpux*) # Its linker distinguishes data from code symbols
1.6279 - if test "$host_cpu" = ia64; then
1.6280 - symcode='[ABCDEGRST]'
1.6281 - fi
1.6282 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.6283 - 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.6284 - ;;
1.6285 -irix* | nonstopux*)
1.6286 - symcode='[BCDEGRST]'
1.6287 - ;;
1.6288 -osf*)
1.6289 - symcode='[BCDEGQRST]'
1.6290 - ;;
1.6291 -solaris* | sysv5*)
1.6292 - symcode='[BDRT]'
1.6293 - ;;
1.6294 -sysv4)
1.6295 - symcode='[DFNSTU]'
1.6296 - ;;
1.6297 -esac
1.6298 -
1.6299 -# Handle CRLF in mingw tool chain
1.6300 -opt_cr=
1.6301 -case $build_os in
1.6302 -mingw*)
1.6303 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1.6304 - ;;
1.6305 -esac
1.6306 -
1.6307 -# If we're using GNU nm, then use its standard symbol codes.
1.6308 -case `$NM -V 2>&1` in
1.6309 -*GNU* | *'with BFD'*)
1.6310 - symcode='[ABCDGIRSTW]' ;;
1.6311 -esac
1.6312 -
1.6313 -# Try without a prefix undercore, then with it.
1.6314 -for ac_symprfx in "" "_"; do
1.6315 -
1.6316 - # Write the raw and C identifiers.
1.6317 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
1.6318 -
1.6319 - # Check to see that the pipe works correctly.
1.6320 - pipe_works=no
1.6321 -
1.6322 - rm -f conftest*
1.6323 - cat > conftest.$ac_ext <<EOF
1.6324 -#ifdef __cplusplus
1.6325 -extern "C" {
1.6326 -#endif
1.6327 -char nm_test_var;
1.6328 -void nm_test_func(){}
1.6329 -#ifdef __cplusplus
1.6330 -}
1.6331 -#endif
1.6332 -int main(){nm_test_var='a';nm_test_func();return(0);}
1.6333 -EOF
1.6334 -
1.6335 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.6336 - (eval $ac_compile) 2>&5
1.6337 - ac_status=$?
1.6338 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6339 - (exit $ac_status); }; then
1.6340 - # Now try to grab the symbols.
1.6341 - nlist=conftest.nm
1.6342 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
1.6343 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
1.6344 - ac_status=$?
1.6345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6346 - (exit $ac_status); } && test -s "$nlist"; then
1.6347 - # Try sorting and uniquifying the output.
1.6348 - if sort "$nlist" | uniq > "$nlist"T; then
1.6349 - mv -f "$nlist"T "$nlist"
1.6350 - else
1.6351 - rm -f "$nlist"T
1.6352 - fi
1.6353 -
1.6354 - # Make sure that we snagged all the symbols we need.
1.6355 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
1.6356 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
1.6357 - cat <<EOF > conftest.$ac_ext
1.6358 -#ifdef __cplusplus
1.6359 -extern "C" {
1.6360 -#endif
1.6361 -
1.6362 -EOF
1.6363 - # Now generate the symbol file.
1.6364 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
1.6365 -
1.6366 - cat <<EOF >> conftest.$ac_ext
1.6367 -#if defined (__STDC__) && __STDC__
1.6368 -# define lt_ptr_t void *
1.6369 -#else
1.6370 -# define lt_ptr_t char *
1.6371 -# define const
1.6372 -#endif
1.6373 -
1.6374 -/* The mapping between symbol names and symbols. */
1.6375 -const struct {
1.6376 - const char *name;
1.6377 - lt_ptr_t address;
1.6378 -}
1.6379 -lt_preloaded_symbols[] =
1.6380 -{
1.6381 -EOF
1.6382 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
1.6383 - cat <<\EOF >> conftest.$ac_ext
1.6384 - {0, (lt_ptr_t) 0}
1.6385 -};
1.6386 -
1.6387 -#ifdef __cplusplus
1.6388 -}
1.6389 -#endif
1.6390 -EOF
1.6391 - # Now try linking the two files.
1.6392 - mv conftest.$ac_objext conftstm.$ac_objext
1.6393 - lt_save_LIBS="$LIBS"
1.6394 - lt_save_CFLAGS="$CFLAGS"
1.6395 - LIBS="conftstm.$ac_objext"
1.6396 - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.6397 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.6398 - (eval $ac_link) 2>&5
1.6399 - ac_status=$?
1.6400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6401 - (exit $ac_status); } && test -s conftest${ac_exeext}; then
1.6402 - pipe_works=yes
1.6403 - fi
1.6404 - LIBS="$lt_save_LIBS"
1.6405 - CFLAGS="$lt_save_CFLAGS"
1.6406 - else
1.6407 - echo "cannot find nm_test_func in $nlist" >&5
1.6408 - fi
1.6409 - else
1.6410 - echo "cannot find nm_test_var in $nlist" >&5
1.6411 - fi
1.6412 - else
1.6413 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
1.6414 - fi
1.6415 - else
1.6416 - echo "$progname: failed program was:" >&5
1.6417 - cat conftest.$ac_ext >&5
1.6418 - fi
1.6419 - rm -f conftest* conftst*
1.6420 -
1.6421 - # Do not use the global_symbol_pipe unless it works.
1.6422 - if test "$pipe_works" = yes; then
1.6423 - break
1.6424 - else
1.6425 - lt_cv_sys_global_symbol_pipe=
1.6426 - fi
1.6427 -done
1.6428 -
1.6429 -fi
1.6430 -
1.6431 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
1.6432 - lt_cv_sys_global_symbol_to_cdecl=
1.6433 -fi
1.6434 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.6435 - { echo "$as_me:$LINENO: result: failed" >&5
1.6436 -echo "${ECHO_T}failed" >&6; }
1.6437 -else
1.6438 - { echo "$as_me:$LINENO: result: ok" >&5
1.6439 -echo "${ECHO_T}ok" >&6; }
1.6440 -fi
1.6441 -
1.6442 -{ echo "$as_me:$LINENO: checking for objdir" >&5
1.6443 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
1.6444 -if test "${lt_cv_objdir+set}" = set; then
1.6445 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6446 -else
1.6447 - rm -f .libs 2>/dev/null
1.6448 -mkdir .libs 2>/dev/null
1.6449 -if test -d .libs; then
1.6450 - lt_cv_objdir=.libs
1.6451 -else
1.6452 - # MS-DOS does not allow filenames that begin with a dot.
1.6453 - lt_cv_objdir=_libs
1.6454 -fi
1.6455 -rmdir .libs 2>/dev/null
1.6456 -fi
1.6457 -{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
1.6458 -echo "${ECHO_T}$lt_cv_objdir" >&6; }
1.6459 -objdir=$lt_cv_objdir
1.6460 -
1.6461 -
1.6462 -
1.6463 -
1.6464 -
1.6465 -case $host_os in
1.6466 -aix3*)
1.6467 - # AIX sometimes has problems with the GCC collect2 program. For some
1.6468 - # reason, if we set the COLLECT_NAMES environment variable, the problems
1.6469 - # vanish in a puff of smoke.
1.6470 - if test "X${COLLECT_NAMES+set}" != Xset; then
1.6471 - COLLECT_NAMES=
1.6472 - export COLLECT_NAMES
1.6473 - fi
1.6474 - ;;
1.6475 -esac
1.6476 -
1.6477 -# Sed substitution that helps us do robust quoting. It backslashifies
1.6478 -# metacharacters that are still active within double-quoted strings.
1.6479 -Xsed='sed -e s/^X//'
1.6480 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
1.6481 -
1.6482 -# Same as above, but do not quote variable references.
1.6483 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
1.6484 -
1.6485 -# Sed substitution to delay expansion of an escaped shell variable in a
1.6486 -# double_quote_subst'ed string.
1.6487 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.6488 -
1.6489 -# Sed substitution to avoid accidental globbing in evaled expressions
1.6490 -no_glob_subst='s/\*/\\\*/g'
1.6491 -
1.6492 -# Constants:
1.6493 -rm="rm -f"
1.6494 -
1.6495 -# Global variables:
1.6496 -default_ofile=libtool
1.6497 -can_build_shared=yes
1.6498 -
1.6499 -# All known linkers require a `.a' archive for static linking (except M$VC,
1.6500 -# which needs '.lib').
1.6501 -libext=a
1.6502 -ltmain="$ac_aux_dir/ltmain.sh"
1.6503 -ofile="$default_ofile"
1.6504 -with_gnu_ld="$lt_cv_prog_gnu_ld"
1.6505 -
1.6506 -if test -n "$ac_tool_prefix"; then
1.6507 - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1.6508 -set dummy ${ac_tool_prefix}ar; ac_word=$2
1.6509 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6510 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6511 -if test "${ac_cv_prog_AR+set}" = set; then
1.6512 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6513 -else
1.6514 - if test -n "$AR"; then
1.6515 - ac_cv_prog_AR="$AR" # Let the user override the test.
1.6516 -else
1.6517 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6518 -for as_dir in $PATH
1.6519 -do
1.6520 - IFS=$as_save_IFS
1.6521 - test -z "$as_dir" && as_dir=.
1.6522 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6523 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6524 - ac_cv_prog_AR="${ac_tool_prefix}ar"
1.6525 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6526 - break 2
1.6527 - fi
1.6528 -done
1.6529 -done
1.6530 -IFS=$as_save_IFS
1.6531 -
1.6532 -fi
1.6533 -fi
1.6534 -AR=$ac_cv_prog_AR
1.6535 -if test -n "$AR"; then
1.6536 - { echo "$as_me:$LINENO: result: $AR" >&5
1.6537 -echo "${ECHO_T}$AR" >&6; }
1.6538 -else
1.6539 - { echo "$as_me:$LINENO: result: no" >&5
1.6540 -echo "${ECHO_T}no" >&6; }
1.6541 -fi
1.6542 -
1.6543 -
1.6544 -fi
1.6545 -if test -z "$ac_cv_prog_AR"; then
1.6546 - ac_ct_AR=$AR
1.6547 - # Extract the first word of "ar", so it can be a program name with args.
1.6548 -set dummy ar; ac_word=$2
1.6549 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6550 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6551 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.6552 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6553 -else
1.6554 - if test -n "$ac_ct_AR"; then
1.6555 - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.6556 -else
1.6557 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6558 -for as_dir in $PATH
1.6559 -do
1.6560 - IFS=$as_save_IFS
1.6561 - test -z "$as_dir" && as_dir=.
1.6562 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6563 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6564 - ac_cv_prog_ac_ct_AR="ar"
1.6565 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6566 - break 2
1.6567 - fi
1.6568 -done
1.6569 -done
1.6570 -IFS=$as_save_IFS
1.6571 -
1.6572 -fi
1.6573 -fi
1.6574 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
1.6575 -if test -n "$ac_ct_AR"; then
1.6576 - { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1.6577 -echo "${ECHO_T}$ac_ct_AR" >&6; }
1.6578 -else
1.6579 - { echo "$as_me:$LINENO: result: no" >&5
1.6580 -echo "${ECHO_T}no" >&6; }
1.6581 -fi
1.6582 -
1.6583 - if test "x$ac_ct_AR" = x; then
1.6584 - AR="false"
1.6585 - else
1.6586 - case $cross_compiling:$ac_tool_warned in
1.6587 -yes:)
1.6588 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6589 -whose name does not start with the host triplet. If you think this
1.6590 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6591 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6592 -whose name does not start with the host triplet. If you think this
1.6593 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6594 -ac_tool_warned=yes ;;
1.6595 -esac
1.6596 - AR=$ac_ct_AR
1.6597 - fi
1.6598 -else
1.6599 - AR="$ac_cv_prog_AR"
1.6600 -fi
1.6601 -
1.6602 -if test -n "$ac_tool_prefix"; then
1.6603 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1.6604 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.6605 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6606 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6607 -if test "${ac_cv_prog_RANLIB+set}" = set; then
1.6608 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6609 -else
1.6610 - if test -n "$RANLIB"; then
1.6611 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.6612 -else
1.6613 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6614 -for as_dir in $PATH
1.6615 -do
1.6616 - IFS=$as_save_IFS
1.6617 - test -z "$as_dir" && as_dir=.
1.6618 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6619 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6620 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.6621 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6622 - break 2
1.6623 - fi
1.6624 -done
1.6625 -done
1.6626 -IFS=$as_save_IFS
1.6627 -
1.6628 -fi
1.6629 -fi
1.6630 -RANLIB=$ac_cv_prog_RANLIB
1.6631 -if test -n "$RANLIB"; then
1.6632 - { echo "$as_me:$LINENO: result: $RANLIB" >&5
1.6633 -echo "${ECHO_T}$RANLIB" >&6; }
1.6634 -else
1.6635 - { echo "$as_me:$LINENO: result: no" >&5
1.6636 -echo "${ECHO_T}no" >&6; }
1.6637 -fi
1.6638 -
1.6639 -
1.6640 -fi
1.6641 -if test -z "$ac_cv_prog_RANLIB"; then
1.6642 - ac_ct_RANLIB=$RANLIB
1.6643 - # Extract the first word of "ranlib", so it can be a program name with args.
1.6644 -set dummy ranlib; ac_word=$2
1.6645 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6646 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6647 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1.6648 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6649 -else
1.6650 - if test -n "$ac_ct_RANLIB"; then
1.6651 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.6652 -else
1.6653 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6654 -for as_dir in $PATH
1.6655 -do
1.6656 - IFS=$as_save_IFS
1.6657 - test -z "$as_dir" && as_dir=.
1.6658 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6659 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6660 - ac_cv_prog_ac_ct_RANLIB="ranlib"
1.6661 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6662 - break 2
1.6663 - fi
1.6664 -done
1.6665 -done
1.6666 -IFS=$as_save_IFS
1.6667 -
1.6668 -fi
1.6669 -fi
1.6670 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1.6671 -if test -n "$ac_ct_RANLIB"; then
1.6672 - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1.6673 -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
1.6674 -else
1.6675 - { echo "$as_me:$LINENO: result: no" >&5
1.6676 -echo "${ECHO_T}no" >&6; }
1.6677 -fi
1.6678 -
1.6679 - if test "x$ac_ct_RANLIB" = x; then
1.6680 - RANLIB=":"
1.6681 - else
1.6682 - case $cross_compiling:$ac_tool_warned in
1.6683 -yes:)
1.6684 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6685 -whose name does not start with the host triplet. If you think this
1.6686 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6687 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6688 -whose name does not start with the host triplet. If you think this
1.6689 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6690 -ac_tool_warned=yes ;;
1.6691 -esac
1.6692 - RANLIB=$ac_ct_RANLIB
1.6693 - fi
1.6694 -else
1.6695 - RANLIB="$ac_cv_prog_RANLIB"
1.6696 -fi
1.6697 -
1.6698 -if test -n "$ac_tool_prefix"; then
1.6699 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1.6700 -set dummy ${ac_tool_prefix}strip; ac_word=$2
1.6701 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6702 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6703 -if test "${ac_cv_prog_STRIP+set}" = set; then
1.6704 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6705 -else
1.6706 - if test -n "$STRIP"; then
1.6707 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.6708 -else
1.6709 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6710 -for as_dir in $PATH
1.6711 -do
1.6712 - IFS=$as_save_IFS
1.6713 - test -z "$as_dir" && as_dir=.
1.6714 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6715 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6716 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.6717 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6718 - break 2
1.6719 - fi
1.6720 -done
1.6721 -done
1.6722 -IFS=$as_save_IFS
1.6723 -
1.6724 -fi
1.6725 -fi
1.6726 -STRIP=$ac_cv_prog_STRIP
1.6727 -if test -n "$STRIP"; then
1.6728 - { echo "$as_me:$LINENO: result: $STRIP" >&5
1.6729 -echo "${ECHO_T}$STRIP" >&6; }
1.6730 -else
1.6731 - { echo "$as_me:$LINENO: result: no" >&5
1.6732 -echo "${ECHO_T}no" >&6; }
1.6733 -fi
1.6734 -
1.6735 -
1.6736 -fi
1.6737 -if test -z "$ac_cv_prog_STRIP"; then
1.6738 - ac_ct_STRIP=$STRIP
1.6739 - # Extract the first word of "strip", so it can be a program name with args.
1.6740 -set dummy strip; ac_word=$2
1.6741 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6742 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6743 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.6744 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6745 -else
1.6746 - if test -n "$ac_ct_STRIP"; then
1.6747 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.6748 -else
1.6749 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6750 -for as_dir in $PATH
1.6751 -do
1.6752 - IFS=$as_save_IFS
1.6753 - test -z "$as_dir" && as_dir=.
1.6754 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6755 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6756 - ac_cv_prog_ac_ct_STRIP="strip"
1.6757 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6758 - break 2
1.6759 - fi
1.6760 -done
1.6761 -done
1.6762 -IFS=$as_save_IFS
1.6763 -
1.6764 -fi
1.6765 -fi
1.6766 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1.6767 -if test -n "$ac_ct_STRIP"; then
1.6768 - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1.6769 -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1.6770 -else
1.6771 - { echo "$as_me:$LINENO: result: no" >&5
1.6772 -echo "${ECHO_T}no" >&6; }
1.6773 -fi
1.6774 -
1.6775 - if test "x$ac_ct_STRIP" = x; then
1.6776 - STRIP=":"
1.6777 - else
1.6778 - case $cross_compiling:$ac_tool_warned in
1.6779 -yes:)
1.6780 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6781 -whose name does not start with the host triplet. If you think this
1.6782 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6783 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6784 -whose name does not start with the host triplet. If you think this
1.6785 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6786 -ac_tool_warned=yes ;;
1.6787 -esac
1.6788 - STRIP=$ac_ct_STRIP
1.6789 - fi
1.6790 -else
1.6791 - STRIP="$ac_cv_prog_STRIP"
1.6792 -fi
1.6793 -
1.6794 -
1.6795 -old_CC="$CC"
1.6796 -old_CFLAGS="$CFLAGS"
1.6797 -
1.6798 -# Set sane defaults for various variables
1.6799 -test -z "$AR" && AR=ar
1.6800 -test -z "$AR_FLAGS" && AR_FLAGS=cru
1.6801 -test -z "$AS" && AS=as
1.6802 -test -z "$CC" && CC=cc
1.6803 -test -z "$LTCC" && LTCC=$CC
1.6804 -test -z "$DLLTOOL" && DLLTOOL=dlltool
1.6805 -test -z "$LD" && LD=ld
1.6806 -test -z "$LN_S" && LN_S="ln -s"
1.6807 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
1.6808 -test -z "$NM" && NM=nm
1.6809 -test -z "$SED" && SED=sed
1.6810 -test -z "$OBJDUMP" && OBJDUMP=objdump
1.6811 -test -z "$RANLIB" && RANLIB=:
1.6812 -test -z "$STRIP" && STRIP=:
1.6813 -test -z "$ac_objext" && ac_objext=o
1.6814 -
1.6815 -# Determine commands to create old-style static archives.
1.6816 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1.6817 -old_postinstall_cmds='chmod 644 $oldlib'
1.6818 -old_postuninstall_cmds=
1.6819 -
1.6820 -if test -n "$RANLIB"; then
1.6821 - case $host_os in
1.6822 - openbsd*)
1.6823 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1.6824 - ;;
1.6825 - *)
1.6826 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1.6827 - ;;
1.6828 - esac
1.6829 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1.6830 -fi
1.6831 -
1.6832 -# Only perform the check for file, if the check method requires it
1.6833 -case $deplibs_check_method in
1.6834 -file_magic*)
1.6835 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.6836 - { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
1.6837 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
1.6838 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
1.6839 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6840 -else
1.6841 - case $MAGIC_CMD in
1.6842 -[\\/*] | ?:[\\/]*)
1.6843 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1.6844 - ;;
1.6845 -*)
1.6846 - lt_save_MAGIC_CMD="$MAGIC_CMD"
1.6847 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.6848 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
1.6849 - for ac_dir in $ac_dummy; do
1.6850 - IFS="$lt_save_ifs"
1.6851 - test -z "$ac_dir" && ac_dir=.
1.6852 - if test -f $ac_dir/${ac_tool_prefix}file; then
1.6853 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1.6854 - if test -n "$file_magic_test_file"; then
1.6855 - case $deplibs_check_method in
1.6856 - "file_magic "*)
1.6857 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1.6858 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6859 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1.6860 - $EGREP "$file_magic_regex" > /dev/null; then
1.6861 - :
1.6862 - else
1.6863 - cat <<EOF 1>&2
1.6864 -
1.6865 -*** Warning: the command libtool uses to detect shared libraries,
1.6866 -*** $file_magic_cmd, produces output that libtool cannot recognize.
1.6867 -*** The result is that libtool may fail to recognize shared libraries
1.6868 -*** as such. This will affect the creation of libtool libraries that
1.6869 -*** depend on shared libraries, but programs linked with such libtool
1.6870 -*** libraries will work regardless of this problem. Nevertheless, you
1.6871 -*** may want to report the problem to your system manager and/or to
1.6872 -*** bug-libtool@gnu.org
1.6873 -
1.6874 -EOF
1.6875 - fi ;;
1.6876 - esac
1.6877 - fi
1.6878 - break
1.6879 - fi
1.6880 - done
1.6881 - IFS="$lt_save_ifs"
1.6882 - MAGIC_CMD="$lt_save_MAGIC_CMD"
1.6883 - ;;
1.6884 -esac
1.6885 -fi
1.6886 -
1.6887 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6888 -if test -n "$MAGIC_CMD"; then
1.6889 - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
1.6890 -echo "${ECHO_T}$MAGIC_CMD" >&6; }
1.6891 -else
1.6892 - { echo "$as_me:$LINENO: result: no" >&5
1.6893 -echo "${ECHO_T}no" >&6; }
1.6894 -fi
1.6895 -
1.6896 -if test -z "$lt_cv_path_MAGIC_CMD"; then
1.6897 - if test -n "$ac_tool_prefix"; then
1.6898 - { echo "$as_me:$LINENO: checking for file" >&5
1.6899 -echo $ECHO_N "checking for file... $ECHO_C" >&6; }
1.6900 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
1.6901 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6902 -else
1.6903 - case $MAGIC_CMD in
1.6904 -[\\/*] | ?:[\\/]*)
1.6905 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1.6906 - ;;
1.6907 -*)
1.6908 - lt_save_MAGIC_CMD="$MAGIC_CMD"
1.6909 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.6910 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
1.6911 - for ac_dir in $ac_dummy; do
1.6912 - IFS="$lt_save_ifs"
1.6913 - test -z "$ac_dir" && ac_dir=.
1.6914 - if test -f $ac_dir/file; then
1.6915 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
1.6916 - if test -n "$file_magic_test_file"; then
1.6917 - case $deplibs_check_method in
1.6918 - "file_magic "*)
1.6919 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1.6920 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6921 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1.6922 - $EGREP "$file_magic_regex" > /dev/null; then
1.6923 - :
1.6924 - else
1.6925 - cat <<EOF 1>&2
1.6926 -
1.6927 -*** Warning: the command libtool uses to detect shared libraries,
1.6928 -*** $file_magic_cmd, produces output that libtool cannot recognize.
1.6929 -*** The result is that libtool may fail to recognize shared libraries
1.6930 -*** as such. This will affect the creation of libtool libraries that
1.6931 -*** depend on shared libraries, but programs linked with such libtool
1.6932 -*** libraries will work regardless of this problem. Nevertheless, you
1.6933 -*** may want to report the problem to your system manager and/or to
1.6934 -*** bug-libtool@gnu.org
1.6935 -
1.6936 -EOF
1.6937 - fi ;;
1.6938 - esac
1.6939 - fi
1.6940 - break
1.6941 - fi
1.6942 - done
1.6943 - IFS="$lt_save_ifs"
1.6944 - MAGIC_CMD="$lt_save_MAGIC_CMD"
1.6945 - ;;
1.6946 -esac
1.6947 -fi
1.6948 -
1.6949 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6950 -if test -n "$MAGIC_CMD"; then
1.6951 - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
1.6952 -echo "${ECHO_T}$MAGIC_CMD" >&6; }
1.6953 -else
1.6954 - { echo "$as_me:$LINENO: result: no" >&5
1.6955 -echo "${ECHO_T}no" >&6; }
1.6956 -fi
1.6957 -
1.6958 - else
1.6959 - MAGIC_CMD=:
1.6960 - fi
1.6961 -fi
1.6962 -
1.6963 - fi
1.6964 - ;;
1.6965 -esac
1.6966 -
1.6967 -enable_dlopen=no
1.6968 -enable_win32_dll=no
1.6969 -
1.6970 -# Check whether --enable-libtool-lock was given.
1.6971 -if test "${enable_libtool_lock+set}" = set; then
1.6972 - enableval=$enable_libtool_lock;
1.6973 -fi
1.6974 -
1.6975 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.6976 -
1.6977 -
1.6978 -# Check whether --with-pic was given.
1.6979 -if test "${with_pic+set}" = set; then
1.6980 - withval=$with_pic; pic_mode="$withval"
1.6981 -else
1.6982 - pic_mode=default
1.6983 -fi
1.6984 -
1.6985 -test -z "$pic_mode" && pic_mode=default
1.6986 -
1.6987 -# Use C for the default configuration in the libtool script
1.6988 -tagname=
1.6989 -lt_save_CC="$CC"
1.6990 -ac_ext=c
1.6991 -ac_cpp='$CPP $CPPFLAGS'
1.6992 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.6993 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.6994 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.6995 -
1.6996 -
1.6997 -# Source file extension for C test sources.
1.6998 -ac_ext=c
1.6999 -
1.7000 -# Object file extension for compiled C test sources.
1.7001 -objext=o
1.7002 -objext=$objext
1.7003 -
1.7004 -# Code to be used in simple compile tests
1.7005 -lt_simple_compile_test_code="int some_variable = 0;\n"
1.7006 -
1.7007 -# Code to be used in simple link tests
1.7008 -lt_simple_link_test_code='int main(){return(0);}\n'
1.7009 -
1.7010 -
1.7011 -# If no C compiler was specified, use CC.
1.7012 -LTCC=${LTCC-"$CC"}
1.7013 -
1.7014 -# Allow CC to be a program name with arguments.
1.7015 -compiler=$CC
1.7016 -
1.7017 -
1.7018 -#
1.7019 -# Check for any special shared library compilation flags.
1.7020 -#
1.7021 -lt_prog_cc_shlib=
1.7022 -if test "$GCC" = no; then
1.7023 - case $host_os in
1.7024 - sco3.2v5*)
1.7025 - lt_prog_cc_shlib='-belf'
1.7026 - ;;
1.7027 - esac
1.7028 -fi
1.7029 -if test -n "$lt_prog_cc_shlib"; then
1.7030 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
1.7031 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
1.7032 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
1.7033 - else
1.7034 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
1.7035 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
1.7036 - lt_cv_prog_cc_can_build_shared=no
1.7037 - fi
1.7038 -fi
1.7039 -
1.7040 -
1.7041 -#
1.7042 -# Check to make sure the static flag actually works.
1.7043 -#
1.7044 -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
1.7045 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
1.7046 -if test "${lt_prog_compiler_static_works+set}" = set; then
1.7047 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7048 -else
1.7049 - lt_prog_compiler_static_works=no
1.7050 - save_LDFLAGS="$LDFLAGS"
1.7051 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
1.7052 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
1.7053 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1.7054 - # The compiler can only warn and ignore the option if not recognized
1.7055 - # So say no if there are warnings
1.7056 - if test -s conftest.err; then
1.7057 - # Append any errors to the config.log.
1.7058 - cat conftest.err 1>&5
1.7059 - else
1.7060 - lt_prog_compiler_static_works=yes
1.7061 - fi
1.7062 - fi
1.7063 - $rm conftest*
1.7064 - LDFLAGS="$save_LDFLAGS"
1.7065 -
1.7066 -fi
1.7067 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
1.7068 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
1.7069 -
1.7070 -if test x"$lt_prog_compiler_static_works" = xyes; then
1.7071 - :
1.7072 -else
1.7073 - lt_prog_compiler_static=
1.7074 -fi
1.7075 -
1.7076 -
1.7077 -
1.7078 -## CAVEAT EMPTOR:
1.7079 -## There is no encapsulation within the following macros, do not change
1.7080 -## the running order or otherwise move them around unless you know exactly
1.7081 -## what you are doing...
1.7082 -
1.7083 -lt_prog_compiler_no_builtin_flag=
1.7084 -
1.7085 -if test "$GCC" = yes; then
1.7086 - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
1.7087 -
1.7088 -
1.7089 -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.7090 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
1.7091 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.7092 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7093 -else
1.7094 - lt_cv_prog_compiler_rtti_exceptions=no
1.7095 - ac_outfile=conftest.$ac_objext
1.7096 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.7097 - lt_compiler_flag="-fno-rtti -fno-exceptions"
1.7098 - # Insert the option either (1) after the last *FLAGS variable, or
1.7099 - # (2) before a word containing "conftest.", or (3) at the end.
1.7100 - # Note that $ac_compile itself does not contain backslashes and begins
1.7101 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.7102 - # The option is referenced via a variable to avoid confusing sed.
1.7103 - lt_compile=`echo "$ac_compile" | $SED \
1.7104 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.7105 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.7106 - -e 's:$: $lt_compiler_flag:'`
1.7107 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.7108 - (eval "$lt_compile" 2>conftest.err)
1.7109 - ac_status=$?
1.7110 - cat conftest.err >&5
1.7111 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.7112 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.7113 - # The compiler can only warn and ignore the option if not recognized
1.7114 - # So say no if there are warnings
1.7115 - if test ! -s conftest.err; then
1.7116 - lt_cv_prog_compiler_rtti_exceptions=yes
1.7117 - fi
1.7118 - fi
1.7119 - $rm conftest*
1.7120 -
1.7121 -fi
1.7122 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.7123 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.7124 -
1.7125 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1.7126 - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.7127 -else
1.7128 - :
1.7129 -fi
1.7130 -
1.7131 -fi
1.7132 -
1.7133 -lt_prog_compiler_wl=
1.7134 -lt_prog_compiler_pic=
1.7135 -lt_prog_compiler_static=
1.7136 -
1.7137 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.7138 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.7139 -
1.7140 - if test "$GCC" = yes; then
1.7141 - lt_prog_compiler_wl='-Wl,'
1.7142 - lt_prog_compiler_static='-static'
1.7143 -
1.7144 - case $host_os in
1.7145 - aix*)
1.7146 - # All AIX code is PIC.
1.7147 - if test "$host_cpu" = ia64; then
1.7148 - # AIX 5 now supports IA64 processor
1.7149 - lt_prog_compiler_static='-Bstatic'
1.7150 - fi
1.7151 - ;;
1.7152 -
1.7153 - amigaos*)
1.7154 - # FIXME: we need at least 68020 code to build shared libraries, but
1.7155 - # adding the `-m68020' flag to GCC prevents building anything better,
1.7156 - # like `-m68040'.
1.7157 - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
1.7158 - ;;
1.7159 -
1.7160 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.7161 - # PIC is the default for these OSes.
1.7162 - ;;
1.7163 -
1.7164 - mingw* | pw32* | os2*)
1.7165 - # This hack is so that the source file can tell whether it is being
1.7166 - # built for inclusion in a dll (and should export symbols for example).
1.7167 - lt_prog_compiler_pic='-DDLL_EXPORT'
1.7168 - ;;
1.7169 -
1.7170 - darwin* | rhapsody*)
1.7171 - # PIC is the default on this platform
1.7172 - # Common symbols not allowed in MH_DYLIB files
1.7173 - lt_prog_compiler_pic='-fno-common'
1.7174 - ;;
1.7175 -
1.7176 - msdosdjgpp*)
1.7177 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.7178 - # on systems that don't support them.
1.7179 - lt_prog_compiler_can_build_shared=no
1.7180 - enable_shared=no
1.7181 - ;;
1.7182 -
1.7183 - sysv4*MP*)
1.7184 - if test -d /usr/nec; then
1.7185 - lt_prog_compiler_pic=-Kconform_pic
1.7186 - fi
1.7187 - ;;
1.7188 -
1.7189 - hpux*)
1.7190 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.7191 - # not for PA HP-UX.
1.7192 - case "$host_cpu" in
1.7193 - hppa*64*|ia64*)
1.7194 - # +Z the default
1.7195 - ;;
1.7196 - *)
1.7197 - lt_prog_compiler_pic='-fPIC'
1.7198 - ;;
1.7199 - esac
1.7200 - ;;
1.7201 -
1.7202 - *)
1.7203 - lt_prog_compiler_pic='-fPIC'
1.7204 - ;;
1.7205 - esac
1.7206 - else
1.7207 - # PORTME Check for flag to pass linker flags through the system compiler.
1.7208 - case $host_os in
1.7209 - aix*)
1.7210 - lt_prog_compiler_wl='-Wl,'
1.7211 - if test "$host_cpu" = ia64; then
1.7212 - # AIX 5 now supports IA64 processor
1.7213 - lt_prog_compiler_static='-Bstatic'
1.7214 - else
1.7215 - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
1.7216 - fi
1.7217 - ;;
1.7218 -
1.7219 - mingw* | pw32* | os2*)
1.7220 - # This hack is so that the source file can tell whether it is being
1.7221 - # built for inclusion in a dll (and should export symbols for example).
1.7222 - lt_prog_compiler_pic='-DDLL_EXPORT'
1.7223 - ;;
1.7224 -
1.7225 - hpux9* | hpux10* | hpux11*)
1.7226 - lt_prog_compiler_wl='-Wl,'
1.7227 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.7228 - # not for PA HP-UX.
1.7229 - case "$host_cpu" in
1.7230 - hppa*64*|ia64*)
1.7231 - # +Z the default
1.7232 - ;;
1.7233 - *)
1.7234 - lt_prog_compiler_pic='+Z'
1.7235 - ;;
1.7236 - esac
1.7237 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.7238 - lt_prog_compiler_static='${wl}-a ${wl}archive'
1.7239 - ;;
1.7240 -
1.7241 - irix5* | irix6* | nonstopux*)
1.7242 - lt_prog_compiler_wl='-Wl,'
1.7243 - # PIC (with -KPIC) is the default.
1.7244 - lt_prog_compiler_static='-non_shared'
1.7245 - ;;
1.7246 -
1.7247 - newsos6)
1.7248 - lt_prog_compiler_pic='-KPIC'
1.7249 - lt_prog_compiler_static='-Bstatic'
1.7250 - ;;
1.7251 -
1.7252 - linux*)
1.7253 - case $CC in
1.7254 - icc* | ecc*)
1.7255 - lt_prog_compiler_wl='-Wl,'
1.7256 - lt_prog_compiler_pic='-KPIC'
1.7257 - lt_prog_compiler_static='-static'
1.7258 - ;;
1.7259 - ccc*)
1.7260 - lt_prog_compiler_wl='-Wl,'
1.7261 - # All Alpha code is PIC.
1.7262 - lt_prog_compiler_static='-non_shared'
1.7263 - ;;
1.7264 - esac
1.7265 - ;;
1.7266 -
1.7267 - osf3* | osf4* | osf5*)
1.7268 - lt_prog_compiler_wl='-Wl,'
1.7269 - # All OSF/1 code is PIC.
1.7270 - lt_prog_compiler_static='-non_shared'
1.7271 - ;;
1.7272 -
1.7273 - sco3.2v5*)
1.7274 - lt_prog_compiler_pic='-Kpic'
1.7275 - lt_prog_compiler_static='-dn'
1.7276 - ;;
1.7277 -
1.7278 - solaris*)
1.7279 - lt_prog_compiler_wl='-Wl,'
1.7280 - lt_prog_compiler_pic='-KPIC'
1.7281 - lt_prog_compiler_static='-Bstatic'
1.7282 - ;;
1.7283 -
1.7284 - sunos4*)
1.7285 - lt_prog_compiler_wl='-Qoption ld '
1.7286 - lt_prog_compiler_pic='-PIC'
1.7287 - lt_prog_compiler_static='-Bstatic'
1.7288 - ;;
1.7289 -
1.7290 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.7291 - lt_prog_compiler_wl='-Wl,'
1.7292 - lt_prog_compiler_pic='-KPIC'
1.7293 - lt_prog_compiler_static='-Bstatic'
1.7294 - ;;
1.7295 -
1.7296 - sysv4*MP*)
1.7297 - if test -d /usr/nec ;then
1.7298 - lt_prog_compiler_pic='-Kconform_pic'
1.7299 - lt_prog_compiler_static='-Bstatic'
1.7300 - fi
1.7301 - ;;
1.7302 -
1.7303 - uts4*)
1.7304 - lt_prog_compiler_pic='-pic'
1.7305 - lt_prog_compiler_static='-Bstatic'
1.7306 - ;;
1.7307 -
1.7308 - *)
1.7309 - lt_prog_compiler_can_build_shared=no
1.7310 - ;;
1.7311 - esac
1.7312 - fi
1.7313 -
1.7314 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
1.7315 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
1.7316 -
1.7317 -#
1.7318 -# Check to make sure the PIC flag actually works.
1.7319 -#
1.7320 -if test -n "$lt_prog_compiler_pic"; then
1.7321 -
1.7322 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
1.7323 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
1.7324 -if test "${lt_prog_compiler_pic_works+set}" = set; then
1.7325 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7326 -else
1.7327 - lt_prog_compiler_pic_works=no
1.7328 - ac_outfile=conftest.$ac_objext
1.7329 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.7330 - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
1.7331 - # Insert the option either (1) after the last *FLAGS variable, or
1.7332 - # (2) before a word containing "conftest.", or (3) at the end.
1.7333 - # Note that $ac_compile itself does not contain backslashes and begins
1.7334 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.7335 - # The option is referenced via a variable to avoid confusing sed.
1.7336 - lt_compile=`echo "$ac_compile" | $SED \
1.7337 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.7338 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.7339 - -e 's:$: $lt_compiler_flag:'`
1.7340 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.7341 - (eval "$lt_compile" 2>conftest.err)
1.7342 - ac_status=$?
1.7343 - cat conftest.err >&5
1.7344 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.7345 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.7346 - # The compiler can only warn and ignore the option if not recognized
1.7347 - # So say no if there are warnings
1.7348 - if test ! -s conftest.err; then
1.7349 - lt_prog_compiler_pic_works=yes
1.7350 - fi
1.7351 - fi
1.7352 - $rm conftest*
1.7353 -
1.7354 -fi
1.7355 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
1.7356 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
1.7357 -
1.7358 -if test x"$lt_prog_compiler_pic_works" = xyes; then
1.7359 - case $lt_prog_compiler_pic in
1.7360 - "" | " "*) ;;
1.7361 - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
1.7362 - esac
1.7363 -else
1.7364 - lt_prog_compiler_pic=
1.7365 - lt_prog_compiler_can_build_shared=no
1.7366 -fi
1.7367 -
1.7368 -fi
1.7369 -case "$host_os" in
1.7370 - # For platforms which do not support PIC, -DPIC is meaningless:
1.7371 - *djgpp*)
1.7372 - lt_prog_compiler_pic=
1.7373 - ;;
1.7374 - *)
1.7375 - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.7376 - ;;
1.7377 -esac
1.7378 -
1.7379 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.7380 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.7381 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
1.7382 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7383 -else
1.7384 - lt_cv_prog_compiler_c_o=no
1.7385 - $rm -r conftest 2>/dev/null
1.7386 - mkdir conftest
1.7387 - cd conftest
1.7388 - mkdir out
1.7389 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.7390 -
1.7391 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.7392 - # Insert the option either (1) after the last *FLAGS variable, or
1.7393 - # (2) before a word containing "conftest.", or (3) at the end.
1.7394 - # Note that $ac_compile itself does not contain backslashes and begins
1.7395 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.7396 - lt_compile=`echo "$ac_compile" | $SED \
1.7397 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.7398 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.7399 - -e 's:$: $lt_compiler_flag:'`
1.7400 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.7401 - (eval "$lt_compile" 2>out/conftest.err)
1.7402 - ac_status=$?
1.7403 - cat out/conftest.err >&5
1.7404 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.7405 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.7406 - then
1.7407 - # The compiler can only warn and ignore the option if not recognized
1.7408 - # So say no if there are warnings
1.7409 - if test ! -s out/conftest.err; then
1.7410 - lt_cv_prog_compiler_c_o=yes
1.7411 - fi
1.7412 - fi
1.7413 - chmod u+w .
1.7414 - $rm conftest*
1.7415 - # SGI C++ compiler will create directory out/ii_files/ for
1.7416 - # template instantiation
1.7417 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.7418 - $rm out/* && rmdir out
1.7419 - cd ..
1.7420 - rmdir conftest
1.7421 - $rm conftest*
1.7422 -
1.7423 -fi
1.7424 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
1.7425 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
1.7426 -
1.7427 -
1.7428 -hard_links="nottested"
1.7429 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
1.7430 - # do not overwrite the value of need_locks provided by the user
1.7431 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.7432 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.7433 - hard_links=yes
1.7434 - $rm conftest*
1.7435 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.7436 - touch conftest.a
1.7437 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.7438 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.7439 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.7440 -echo "${ECHO_T}$hard_links" >&6; }
1.7441 - if test "$hard_links" = no; then
1.7442 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.7443 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.7444 - need_locks=warn
1.7445 - fi
1.7446 -else
1.7447 - need_locks=no
1.7448 -fi
1.7449 -
1.7450 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.7451 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.7452 -
1.7453 - runpath_var=
1.7454 - allow_undefined_flag=
1.7455 - enable_shared_with_static_runtimes=no
1.7456 - archive_cmds=
1.7457 - archive_expsym_cmds=
1.7458 - old_archive_From_new_cmds=
1.7459 - old_archive_from_expsyms_cmds=
1.7460 - export_dynamic_flag_spec=
1.7461 - whole_archive_flag_spec=
1.7462 - thread_safe_flag_spec=
1.7463 - hardcode_libdir_flag_spec=
1.7464 - hardcode_libdir_flag_spec_ld=
1.7465 - hardcode_libdir_separator=
1.7466 - hardcode_direct=no
1.7467 - hardcode_minus_L=no
1.7468 - hardcode_shlibpath_var=unsupported
1.7469 - link_all_deplibs=unknown
1.7470 - hardcode_automatic=no
1.7471 - module_cmds=
1.7472 - module_expsym_cmds=
1.7473 - always_export_symbols=no
1.7474 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.7475 - # include_expsyms should be a list of space-separated symbols to be *always*
1.7476 - # included in the symbol list
1.7477 - include_expsyms=
1.7478 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.7479 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.7480 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.7481 - # as well as any symbol that contains `d'.
1.7482 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
1.7483 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.7484 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.7485 - # the symbol is explicitly referenced. Since portable code cannot
1.7486 - # rely on this symbol name, it's probably fine to never include it in
1.7487 - # preloaded symbol tables.
1.7488 - extract_expsyms_cmds=
1.7489 -
1.7490 - case $host_os in
1.7491 - cygwin* | mingw* | pw32*)
1.7492 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.7493 - # When not using gcc, we currently assume that we are using
1.7494 - # Microsoft Visual C++.
1.7495 - if test "$GCC" != yes; then
1.7496 - with_gnu_ld=no
1.7497 - fi
1.7498 - ;;
1.7499 - openbsd*)
1.7500 - with_gnu_ld=no
1.7501 - ;;
1.7502 - esac
1.7503 -
1.7504 - ld_shlibs=yes
1.7505 - if test "$with_gnu_ld" = yes; then
1.7506 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.7507 - wlarc='${wl}'
1.7508 -
1.7509 - # See if GNU ld supports shared libraries.
1.7510 - case $host_os in
1.7511 - aix3* | aix4* | aix5*)
1.7512 - # On AIX/PPC, the GNU linker is very broken
1.7513 - if test "$host_cpu" != ia64; then
1.7514 - ld_shlibs=no
1.7515 - cat <<EOF 1>&2
1.7516 -
1.7517 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.7518 -*** to be unable to reliably create shared libraries on AIX.
1.7519 -*** Therefore, libtool is disabling shared libraries support. If you
1.7520 -*** really care for shared libraries, you may want to modify your PATH
1.7521 -*** so that a non-GNU linker is found, and then restart.
1.7522 -
1.7523 -EOF
1.7524 - fi
1.7525 - ;;
1.7526 -
1.7527 - amigaos*)
1.7528 - 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.7529 - hardcode_libdir_flag_spec='-L$libdir'
1.7530 - hardcode_minus_L=yes
1.7531 -
1.7532 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.7533 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.7534 - # to version 4, is to share data among multiple programs linked
1.7535 - # with the same dynamic library. Since this doesn't match the
1.7536 - # behavior of shared libraries on other platforms, we can't use
1.7537 - # them.
1.7538 - ld_shlibs=no
1.7539 - ;;
1.7540 -
1.7541 - beos*)
1.7542 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7543 - allow_undefined_flag=unsupported
1.7544 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.7545 - # support --undefined. This deserves some investigation. FIXME
1.7546 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7547 - else
1.7548 - ld_shlibs=no
1.7549 - fi
1.7550 - ;;
1.7551 -
1.7552 - cygwin* | mingw* | pw32*)
1.7553 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
1.7554 - # as there is no search path for DLLs.
1.7555 - hardcode_libdir_flag_spec='-L$libdir'
1.7556 - allow_undefined_flag=unsupported
1.7557 - always_export_symbols=no
1.7558 - enable_shared_with_static_runtimes=yes
1.7559 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.7560 -
1.7561 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.7562 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.7563 - # If the export-symbols file already is a .def file (1st line
1.7564 - # is EXPORTS), use it as is; otherwise, prepend...
1.7565 - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.7566 - cp $export_symbols $output_objdir/$soname.def;
1.7567 - else
1.7568 - echo EXPORTS > $output_objdir/$soname.def;
1.7569 - cat $export_symbols >> $output_objdir/$soname.def;
1.7570 - fi~
1.7571 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.7572 - else
1.7573 - ld_shlibs=no
1.7574 - fi
1.7575 - ;;
1.7576 -
1.7577 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.7578 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.7579 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.7580 - wlarc=
1.7581 - else
1.7582 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7583 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7584 - fi
1.7585 - ;;
1.7586 -
1.7587 - solaris* | sysv5*)
1.7588 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.7589 - ld_shlibs=no
1.7590 - cat <<EOF 1>&2
1.7591 -
1.7592 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.7593 -*** create shared libraries on Solaris systems. Therefore, libtool
1.7594 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.7595 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.7596 -*** your PATH or compiler configuration so that the native linker is
1.7597 -*** used, and then restart.
1.7598 -
1.7599 -EOF
1.7600 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7601 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7602 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7603 - else
1.7604 - ld_shlibs=no
1.7605 - fi
1.7606 - ;;
1.7607 -
1.7608 - sunos4*)
1.7609 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.7610 - wlarc=
1.7611 - hardcode_direct=yes
1.7612 - hardcode_shlibpath_var=no
1.7613 - ;;
1.7614 -
1.7615 - linux*)
1.7616 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7617 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7618 - archive_cmds="$tmp_archive_cmds"
1.7619 - supports_anon_versioning=no
1.7620 - case `$LD -v 2>/dev/null` in
1.7621 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.7622 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.7623 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.7624 - *\ 2.11.*) ;; # other 2.11 versions
1.7625 - *) supports_anon_versioning=yes ;;
1.7626 - esac
1.7627 - if test $supports_anon_versioning = yes; then
1.7628 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
1.7629 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.7630 -$echo "local: *; };" >> $output_objdir/$libname.ver~
1.7631 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.7632 - else
1.7633 - archive_expsym_cmds="$tmp_archive_cmds"
1.7634 - fi
1.7635 - link_all_deplibs=no
1.7636 - else
1.7637 - ld_shlibs=no
1.7638 - fi
1.7639 - ;;
1.7640 -
1.7641 - *)
1.7642 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7643 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7644 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7645 - else
1.7646 - ld_shlibs=no
1.7647 - fi
1.7648 - ;;
1.7649 - esac
1.7650 -
1.7651 - if test "$ld_shlibs" = yes; then
1.7652 - runpath_var=LD_RUN_PATH
1.7653 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
1.7654 - export_dynamic_flag_spec='${wl}--export-dynamic'
1.7655 - # ancient GNU ld didn't support --whole-archive et. al.
1.7656 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.7657 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.7658 - else
1.7659 - whole_archive_flag_spec=
1.7660 - fi
1.7661 - fi
1.7662 - else
1.7663 - # PORTME fill in a description of your system's linker (not GNU ld)
1.7664 - case $host_os in
1.7665 - aix3*)
1.7666 - allow_undefined_flag=unsupported
1.7667 - always_export_symbols=yes
1.7668 - 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.7669 - # Note: this linker hardcodes the directories in LIBPATH if there
1.7670 - # are no directories specified by -L.
1.7671 - hardcode_minus_L=yes
1.7672 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.7673 - # Neither direct hardcoding nor static linking is supported with a
1.7674 - # broken collect2.
1.7675 - hardcode_direct=unsupported
1.7676 - fi
1.7677 - ;;
1.7678 -
1.7679 - aix4* | aix5*)
1.7680 - if test "$host_cpu" = ia64; then
1.7681 - # On IA64, the linker does run time linking by default, so we don't
1.7682 - # have to do anything special.
1.7683 - aix_use_runtimelinking=no
1.7684 - exp_sym_flag='-Bexport'
1.7685 - no_entry_flag=""
1.7686 - else
1.7687 - # If we're using GNU nm, then we don't want the "-C" option.
1.7688 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.7689 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.7690 - 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.7691 - else
1.7692 - 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.7693 - fi
1.7694 - aix_use_runtimelinking=no
1.7695 -
1.7696 - # Test if we are trying to use run time linking or normal
1.7697 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.7698 - # need to do runtime linking.
1.7699 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.7700 - for ld_flag in $LDFLAGS; do
1.7701 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.7702 - aix_use_runtimelinking=yes
1.7703 - break
1.7704 - fi
1.7705 - done
1.7706 - esac
1.7707 -
1.7708 - exp_sym_flag='-bexport'
1.7709 - no_entry_flag='-bnoentry'
1.7710 - fi
1.7711 -
1.7712 - # When large executables or shared objects are built, AIX ld can
1.7713 - # have problems creating the table of contents. If linking a library
1.7714 - # or program results in "error TOC overflow" add -mminimal-toc to
1.7715 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.7716 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.7717 -
1.7718 - archive_cmds=''
1.7719 - hardcode_direct=yes
1.7720 - hardcode_libdir_separator=':'
1.7721 - link_all_deplibs=yes
1.7722 -
1.7723 - if test "$GCC" = yes; then
1.7724 - case $host_os in aix4.012|aix4.012.*)
1.7725 - # We only want to do this on AIX 4.2 and lower, the check
1.7726 - # below for broken collect2 doesn't work under 4.3+
1.7727 - collect2name=`${CC} -print-prog-name=collect2`
1.7728 - if test -f "$collect2name" && \
1.7729 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.7730 - then
1.7731 - # We have reworked collect2
1.7732 - hardcode_direct=yes
1.7733 - else
1.7734 - # We have old collect2
1.7735 - hardcode_direct=unsupported
1.7736 - # It fails to find uninstalled libraries when the uninstalled
1.7737 - # path is not listed in the libpath. Setting hardcode_minus_L
1.7738 - # to unsupported forces relinking
1.7739 - hardcode_minus_L=yes
1.7740 - hardcode_libdir_flag_spec='-L$libdir'
1.7741 - hardcode_libdir_separator=
1.7742 - fi
1.7743 - esac
1.7744 - shared_flag='-shared'
1.7745 - else
1.7746 - # not using gcc
1.7747 - if test "$host_cpu" = ia64; then
1.7748 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.7749 - # chokes on -Wl,-G. The following line is correct:
1.7750 - shared_flag='-G'
1.7751 - else
1.7752 - if test "$aix_use_runtimelinking" = yes; then
1.7753 - shared_flag='${wl}-G'
1.7754 - else
1.7755 - shared_flag='${wl}-bM:SRE'
1.7756 - fi
1.7757 - fi
1.7758 - fi
1.7759 -
1.7760 - # It seems that -bexpall does not export symbols beginning with
1.7761 - # underscore (_), so it is better to generate a list of symbols to export.
1.7762 - always_export_symbols=yes
1.7763 - if test "$aix_use_runtimelinking" = yes; then
1.7764 - # Warning - without using the other runtime loading flags (-brtl),
1.7765 - # -berok will link without error, but may produce a broken library.
1.7766 - allow_undefined_flag='-berok'
1.7767 - # Determine the default libpath from the value encoded in an empty executable.
1.7768 - cat >conftest.$ac_ext <<_ACEOF
1.7769 -/* confdefs.h. */
1.7770 -_ACEOF
1.7771 -cat confdefs.h >>conftest.$ac_ext
1.7772 -cat >>conftest.$ac_ext <<_ACEOF
1.7773 -/* end confdefs.h. */
1.7774 -
1.7775 -int
1.7776 -main ()
1.7777 -{
1.7778 -
1.7779 - ;
1.7780 - return 0;
1.7781 -}
1.7782 -_ACEOF
1.7783 -rm -f conftest.$ac_objext conftest$ac_exeext
1.7784 -if { (ac_try="$ac_link"
1.7785 -case "(($ac_try" in
1.7786 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7787 - *) ac_try_echo=$ac_try;;
1.7788 -esac
1.7789 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7790 - (eval "$ac_link") 2>conftest.er1
1.7791 - ac_status=$?
1.7792 - grep -v '^ *+' conftest.er1 >conftest.err
1.7793 - rm -f conftest.er1
1.7794 - cat conftest.err >&5
1.7795 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7796 - (exit $ac_status); } && {
1.7797 - test -z "$ac_c_werror_flag" ||
1.7798 - test ! -s conftest.err
1.7799 - } && test -s conftest$ac_exeext &&
1.7800 - $as_test_x conftest$ac_exeext; then
1.7801 -
1.7802 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.7803 -}'`
1.7804 -# Check for a 64-bit object if we didn't find anything.
1.7805 -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.7806 -}'`; fi
1.7807 -else
1.7808 - echo "$as_me: failed program was:" >&5
1.7809 -sed 's/^/| /' conftest.$ac_ext >&5
1.7810 -
1.7811 -
1.7812 -fi
1.7813 -
1.7814 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.7815 - conftest$ac_exeext conftest.$ac_ext
1.7816 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.7817 -
1.7818 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.7819 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1.7820 - else
1.7821 - if test "$host_cpu" = ia64; then
1.7822 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
1.7823 - allow_undefined_flag="-z nodefs"
1.7824 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
1.7825 - else
1.7826 - # Determine the default libpath from the value encoded in an empty executable.
1.7827 - cat >conftest.$ac_ext <<_ACEOF
1.7828 -/* confdefs.h. */
1.7829 -_ACEOF
1.7830 -cat confdefs.h >>conftest.$ac_ext
1.7831 -cat >>conftest.$ac_ext <<_ACEOF
1.7832 -/* end confdefs.h. */
1.7833 -
1.7834 -int
1.7835 -main ()
1.7836 -{
1.7837 -
1.7838 - ;
1.7839 - return 0;
1.7840 -}
1.7841 -_ACEOF
1.7842 -rm -f conftest.$ac_objext conftest$ac_exeext
1.7843 -if { (ac_try="$ac_link"
1.7844 -case "(($ac_try" in
1.7845 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7846 - *) ac_try_echo=$ac_try;;
1.7847 -esac
1.7848 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7849 - (eval "$ac_link") 2>conftest.er1
1.7850 - ac_status=$?
1.7851 - grep -v '^ *+' conftest.er1 >conftest.err
1.7852 - rm -f conftest.er1
1.7853 - cat conftest.err >&5
1.7854 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7855 - (exit $ac_status); } && {
1.7856 - test -z "$ac_c_werror_flag" ||
1.7857 - test ! -s conftest.err
1.7858 - } && test -s conftest$ac_exeext &&
1.7859 - $as_test_x conftest$ac_exeext; then
1.7860 -
1.7861 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.7862 -}'`
1.7863 -# Check for a 64-bit object if we didn't find anything.
1.7864 -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.7865 -}'`; fi
1.7866 -else
1.7867 - echo "$as_me: failed program was:" >&5
1.7868 -sed 's/^/| /' conftest.$ac_ext >&5
1.7869 -
1.7870 -
1.7871 -fi
1.7872 -
1.7873 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.7874 - conftest$ac_exeext conftest.$ac_ext
1.7875 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.7876 -
1.7877 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.7878 - # Warning - without using the other run time loading flags,
1.7879 - # -berok will link without error, but may produce a broken library.
1.7880 - no_undefined_flag=' ${wl}-bernotok'
1.7881 - allow_undefined_flag=' ${wl}-berok'
1.7882 - # -bexpall does not export symbols beginning with underscore (_)
1.7883 - always_export_symbols=yes
1.7884 - # Exported symbols can be pulled into shared objects from archives
1.7885 - whole_archive_flag_spec=' '
1.7886 - archive_cmds_need_lc=yes
1.7887 - # This is similar to how AIX traditionally builds it's shared libraries.
1.7888 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1.7889 - fi
1.7890 - fi
1.7891 - ;;
1.7892 -
1.7893 - amigaos*)
1.7894 - 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.7895 - hardcode_libdir_flag_spec='-L$libdir'
1.7896 - hardcode_minus_L=yes
1.7897 - # see comment about different semantics on the GNU ld section
1.7898 - ld_shlibs=no
1.7899 - ;;
1.7900 -
1.7901 - bsdi4*)
1.7902 - export_dynamic_flag_spec=-rdynamic
1.7903 - ;;
1.7904 -
1.7905 - cygwin* | mingw* | pw32*)
1.7906 - # When not using gcc, we currently assume that we are using
1.7907 - # Microsoft Visual C++.
1.7908 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.7909 - # no search path for DLLs.
1.7910 - hardcode_libdir_flag_spec=' '
1.7911 - allow_undefined_flag=unsupported
1.7912 - # Tell ltmain to make .lib files, not .a files.
1.7913 - libext=lib
1.7914 - # Tell ltmain to make .dll files, not .so files.
1.7915 - shrext_cmds=".dll"
1.7916 - # FIXME: Setting linknames here is a bad hack.
1.7917 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.7918 - # The linker will automatically build a .lib file if we build a DLL.
1.7919 - old_archive_From_new_cmds='true'
1.7920 - # FIXME: Should let the user specify the lib program.
1.7921 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.7922 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1.7923 - enable_shared_with_static_runtimes=yes
1.7924 - ;;
1.7925 -
1.7926 - darwin* | rhapsody*)
1.7927 - if test "$GXX" = yes ; then
1.7928 - archive_cmds_need_lc=no
1.7929 - case "$host_os" in
1.7930 - rhapsody* | darwin1.[012])
1.7931 - allow_undefined_flag='-undefined suppress'
1.7932 - ;;
1.7933 - *) # Darwin 1.3 on
1.7934 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.7935 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.7936 - else
1.7937 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.7938 - 10.[012])
1.7939 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.7940 - ;;
1.7941 - 10.*)
1.7942 - allow_undefined_flag='-undefined dynamic_lookup'
1.7943 - ;;
1.7944 - esac
1.7945 - fi
1.7946 - ;;
1.7947 - esac
1.7948 - lt_int_apple_cc_single_mod=no
1.7949 - output_verbose_link_cmd='echo'
1.7950 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.7951 - lt_int_apple_cc_single_mod=yes
1.7952 - fi
1.7953 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.7954 - archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.7955 - else
1.7956 - archive_cmds='$CC -r ${wl}-bind_at_load -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.7957 - fi
1.7958 - module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.7959 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.7960 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.7961 - archive_expsym_cmds='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.7962 - else
1.7963 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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.7964 - fi
1.7965 - 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.7966 - hardcode_direct=no
1.7967 - hardcode_automatic=yes
1.7968 - hardcode_shlibpath_var=unsupported
1.7969 - whole_archive_flag_spec='-all_load $convenience'
1.7970 - link_all_deplibs=yes
1.7971 - else
1.7972 - ld_shlibs=no
1.7973 - fi
1.7974 - ;;
1.7975 -
1.7976 - dgux*)
1.7977 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7978 - hardcode_libdir_flag_spec='-L$libdir'
1.7979 - hardcode_shlibpath_var=no
1.7980 - ;;
1.7981 -
1.7982 - freebsd1*)
1.7983 - ld_shlibs=no
1.7984 - ;;
1.7985 -
1.7986 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.7987 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.7988 - # does not break anything, and helps significantly (at the cost of a little
1.7989 - # extra space).
1.7990 - freebsd2.2*)
1.7991 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.7992 - hardcode_libdir_flag_spec='-R$libdir'
1.7993 - hardcode_direct=yes
1.7994 - hardcode_shlibpath_var=no
1.7995 - ;;
1.7996 -
1.7997 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.7998 - freebsd2*)
1.7999 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.8000 - hardcode_direct=yes
1.8001 - hardcode_minus_L=yes
1.8002 - hardcode_shlibpath_var=no
1.8003 - ;;
1.8004 -
1.8005 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.8006 - freebsd* | kfreebsd*-gnu)
1.8007 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.8008 - hardcode_libdir_flag_spec='-R$libdir'
1.8009 - hardcode_direct=yes
1.8010 - hardcode_shlibpath_var=no
1.8011 - ;;
1.8012 -
1.8013 - hpux9*)
1.8014 - if test "$GCC" = yes; then
1.8015 - 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.8016 - else
1.8017 - 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.8018 - fi
1.8019 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.8020 - hardcode_libdir_separator=:
1.8021 - hardcode_direct=yes
1.8022 -
1.8023 - # hardcode_minus_L: Not really in the search PATH,
1.8024 - # but as the default location of the library.
1.8025 - hardcode_minus_L=yes
1.8026 - export_dynamic_flag_spec='${wl}-E'
1.8027 - ;;
1.8028 -
1.8029 - hpux10* | hpux11*)
1.8030 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.8031 - case "$host_cpu" in
1.8032 - hppa*64*|ia64*)
1.8033 - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8034 - ;;
1.8035 - *)
1.8036 - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.8037 - ;;
1.8038 - esac
1.8039 - else
1.8040 - case "$host_cpu" in
1.8041 - hppa*64*|ia64*)
1.8042 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8043 - ;;
1.8044 - *)
1.8045 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.8046 - ;;
1.8047 - esac
1.8048 - fi
1.8049 - if test "$with_gnu_ld" = no; then
1.8050 - case "$host_cpu" in
1.8051 - hppa*64*)
1.8052 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.8053 - hardcode_libdir_flag_spec_ld='+b $libdir'
1.8054 - hardcode_libdir_separator=:
1.8055 - hardcode_direct=no
1.8056 - hardcode_shlibpath_var=no
1.8057 - ;;
1.8058 - ia64*)
1.8059 - hardcode_libdir_flag_spec='-L$libdir'
1.8060 - hardcode_direct=no
1.8061 - hardcode_shlibpath_var=no
1.8062 -
1.8063 - # hardcode_minus_L: Not really in the search PATH,
1.8064 - # but as the default location of the library.
1.8065 - hardcode_minus_L=yes
1.8066 - ;;
1.8067 - *)
1.8068 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.8069 - hardcode_libdir_separator=:
1.8070 - hardcode_direct=yes
1.8071 - export_dynamic_flag_spec='${wl}-E'
1.8072 -
1.8073 - # hardcode_minus_L: Not really in the search PATH,
1.8074 - # but as the default location of the library.
1.8075 - hardcode_minus_L=yes
1.8076 - ;;
1.8077 - esac
1.8078 - fi
1.8079 - ;;
1.8080 -
1.8081 - irix5* | irix6* | nonstopux*)
1.8082 - if test "$GCC" = yes; then
1.8083 - 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.8084 - else
1.8085 - 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.8086 - hardcode_libdir_flag_spec_ld='-rpath $libdir'
1.8087 - fi
1.8088 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8089 - hardcode_libdir_separator=:
1.8090 - link_all_deplibs=yes
1.8091 - ;;
1.8092 -
1.8093 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.8094 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.8095 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.8096 - else
1.8097 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.8098 - fi
1.8099 - hardcode_libdir_flag_spec='-R$libdir'
1.8100 - hardcode_direct=yes
1.8101 - hardcode_shlibpath_var=no
1.8102 - ;;
1.8103 -
1.8104 - newsos6)
1.8105 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8106 - hardcode_direct=yes
1.8107 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8108 - hardcode_libdir_separator=:
1.8109 - hardcode_shlibpath_var=no
1.8110 - ;;
1.8111 -
1.8112 - openbsd*)
1.8113 - hardcode_direct=yes
1.8114 - hardcode_shlibpath_var=no
1.8115 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.8116 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.8117 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
1.8118 - export_dynamic_flag_spec='${wl}-E'
1.8119 - else
1.8120 - case $host_os in
1.8121 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.8122 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.8123 - hardcode_libdir_flag_spec='-R$libdir'
1.8124 - ;;
1.8125 - *)
1.8126 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.8127 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
1.8128 - ;;
1.8129 - esac
1.8130 - fi
1.8131 - ;;
1.8132 -
1.8133 - os2*)
1.8134 - hardcode_libdir_flag_spec='-L$libdir'
1.8135 - hardcode_minus_L=yes
1.8136 - allow_undefined_flag=unsupported
1.8137 - 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.8138 - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.8139 - ;;
1.8140 -
1.8141 - osf3*)
1.8142 - if test "$GCC" = yes; then
1.8143 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.8144 - 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.8145 - else
1.8146 - allow_undefined_flag=' -expect_unresolved \*'
1.8147 - 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.8148 - fi
1.8149 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8150 - hardcode_libdir_separator=:
1.8151 - ;;
1.8152 -
1.8153 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.8154 - if test "$GCC" = yes; then
1.8155 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.8156 - 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.8157 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8158 - else
1.8159 - allow_undefined_flag=' -expect_unresolved \*'
1.8160 - 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.8161 - 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.8162 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
1.8163 -
1.8164 - # Both c and cxx compiler support -rpath directly
1.8165 - hardcode_libdir_flag_spec='-rpath $libdir'
1.8166 - fi
1.8167 - hardcode_libdir_separator=:
1.8168 - ;;
1.8169 -
1.8170 - sco3.2v5*)
1.8171 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8172 - hardcode_shlibpath_var=no
1.8173 - export_dynamic_flag_spec='${wl}-Bexport'
1.8174 - runpath_var=LD_RUN_PATH
1.8175 - hardcode_runpath_var=yes
1.8176 - ;;
1.8177 -
1.8178 - solaris*)
1.8179 - no_undefined_flag=' -z text'
1.8180 - if test "$GCC" = yes; then
1.8181 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8182 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.8183 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.8184 - else
1.8185 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8186 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.8187 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.8188 - fi
1.8189 - hardcode_libdir_flag_spec='-R$libdir'
1.8190 - hardcode_shlibpath_var=no
1.8191 - case $host_os in
1.8192 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.8193 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
1.8194 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
1.8195 - esac
1.8196 - link_all_deplibs=yes
1.8197 - ;;
1.8198 -
1.8199 - sunos4*)
1.8200 - if test "x$host_vendor" = xsequent; then
1.8201 - # Use $CC to link under sequent, because it throws in some extra .o
1.8202 - # files that make .init and .fini sections work.
1.8203 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.8204 - else
1.8205 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.8206 - fi
1.8207 - hardcode_libdir_flag_spec='-L$libdir'
1.8208 - hardcode_direct=yes
1.8209 - hardcode_minus_L=yes
1.8210 - hardcode_shlibpath_var=no
1.8211 - ;;
1.8212 -
1.8213 - sysv4)
1.8214 - case $host_vendor in
1.8215 - sni)
1.8216 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8217 - hardcode_direct=yes # is this really true???
1.8218 - ;;
1.8219 - siemens)
1.8220 - ## LD is ld it makes a PLAMLIB
1.8221 - ## CC just makes a GrossModule.
1.8222 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.8223 - reload_cmds='$CC -r -o $output$reload_objs'
1.8224 - hardcode_direct=no
1.8225 - ;;
1.8226 - motorola)
1.8227 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8228 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
1.8229 - ;;
1.8230 - esac
1.8231 - runpath_var='LD_RUN_PATH'
1.8232 - hardcode_shlibpath_var=no
1.8233 - ;;
1.8234 -
1.8235 - sysv4.3*)
1.8236 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8237 - hardcode_shlibpath_var=no
1.8238 - export_dynamic_flag_spec='-Bexport'
1.8239 - ;;
1.8240 -
1.8241 - sysv4*MP*)
1.8242 - if test -d /usr/nec; then
1.8243 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8244 - hardcode_shlibpath_var=no
1.8245 - runpath_var=LD_RUN_PATH
1.8246 - hardcode_runpath_var=yes
1.8247 - ld_shlibs=yes
1.8248 - fi
1.8249 - ;;
1.8250 -
1.8251 - sysv4.2uw2*)
1.8252 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.8253 - hardcode_direct=yes
1.8254 - hardcode_minus_L=no
1.8255 - hardcode_shlibpath_var=no
1.8256 - hardcode_runpath_var=yes
1.8257 - runpath_var=LD_RUN_PATH
1.8258 - ;;
1.8259 -
1.8260 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.8261 - no_undefined_flag='${wl}-z ${wl}text'
1.8262 - if test "$GCC" = yes; then
1.8263 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8264 - else
1.8265 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8266 - fi
1.8267 - runpath_var='LD_RUN_PATH'
1.8268 - hardcode_shlibpath_var=no
1.8269 - ;;
1.8270 -
1.8271 - sysv5*)
1.8272 - no_undefined_flag=' -z text'
1.8273 - # $CC -shared without GNU ld will not create a library from C++
1.8274 - # object files and a static libstdc++, better avoid it by now
1.8275 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8276 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.8277 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.8278 - hardcode_libdir_flag_spec=
1.8279 - hardcode_shlibpath_var=no
1.8280 - runpath_var='LD_RUN_PATH'
1.8281 - ;;
1.8282 -
1.8283 - uts4*)
1.8284 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8285 - hardcode_libdir_flag_spec='-L$libdir'
1.8286 - hardcode_shlibpath_var=no
1.8287 - ;;
1.8288 -
1.8289 - *)
1.8290 - ld_shlibs=no
1.8291 - ;;
1.8292 - esac
1.8293 - fi
1.8294 -
1.8295 -{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
1.8296 -echo "${ECHO_T}$ld_shlibs" >&6; }
1.8297 -test "$ld_shlibs" = no && can_build_shared=no
1.8298 -
1.8299 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.8300 -if test "$GCC" = yes; then
1.8301 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.8302 -fi
1.8303 -
1.8304 -#
1.8305 -# Do we need to explicitly link libc?
1.8306 -#
1.8307 -case "x$archive_cmds_need_lc" in
1.8308 -x|xyes)
1.8309 - # Assume -lc should be added
1.8310 - archive_cmds_need_lc=yes
1.8311 -
1.8312 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.8313 - case $archive_cmds in
1.8314 - *'~'*)
1.8315 - # FIXME: we may have to deal with multi-command sequences.
1.8316 - ;;
1.8317 - '$CC '*)
1.8318 - # Test whether the compiler implicitly links with -lc since on some
1.8319 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.8320 - # to ld, don't add -lc before -lgcc.
1.8321 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.8322 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.8323 - $rm conftest*
1.8324 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.8325 -
1.8326 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8327 - (eval $ac_compile) 2>&5
1.8328 - ac_status=$?
1.8329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8330 - (exit $ac_status); } 2>conftest.err; then
1.8331 - soname=conftest
1.8332 - lib=conftest
1.8333 - libobjs=conftest.$ac_objext
1.8334 - deplibs=
1.8335 - wl=$lt_prog_compiler_wl
1.8336 - compiler_flags=-v
1.8337 - linker_flags=-v
1.8338 - verstring=
1.8339 - output_objdir=.
1.8340 - libname=conftest
1.8341 - lt_save_allow_undefined_flag=$allow_undefined_flag
1.8342 - allow_undefined_flag=
1.8343 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.8344 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.8345 - ac_status=$?
1.8346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8347 - (exit $ac_status); }
1.8348 - then
1.8349 - archive_cmds_need_lc=no
1.8350 - else
1.8351 - archive_cmds_need_lc=yes
1.8352 - fi
1.8353 - allow_undefined_flag=$lt_save_allow_undefined_flag
1.8354 - else
1.8355 - cat conftest.err 1>&5
1.8356 - fi
1.8357 - $rm conftest*
1.8358 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
1.8359 -echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
1.8360 - ;;
1.8361 - esac
1.8362 - fi
1.8363 - ;;
1.8364 -esac
1.8365 -
1.8366 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.8367 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.8368 -library_names_spec=
1.8369 -libname_spec='lib$name'
1.8370 -soname_spec=
1.8371 -shrext_cmds=".so"
1.8372 -postinstall_cmds=
1.8373 -postuninstall_cmds=
1.8374 -finish_cmds=
1.8375 -finish_eval=
1.8376 -shlibpath_var=
1.8377 -shlibpath_overrides_runpath=unknown
1.8378 -version_type=none
1.8379 -dynamic_linker="$host_os ld.so"
1.8380 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.8381 -if test "$GCC" = yes; then
1.8382 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.8383 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.8384 - # if the path contains ";" then we assume it to be the separator
1.8385 - # otherwise default to the standard path separator (i.e. ":") - it is
1.8386 - # assumed that no part of a normal pathname contains ";" but that should
1.8387 - # okay in the real world where ";" in dirpaths is itself problematic.
1.8388 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.8389 - else
1.8390 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.8391 - fi
1.8392 -else
1.8393 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.8394 -fi
1.8395 -need_lib_prefix=unknown
1.8396 -hardcode_into_libs=no
1.8397 -
1.8398 -# when you set need_version to no, make sure it does not cause -set_version
1.8399 -# flags to be left without arguments
1.8400 -need_version=unknown
1.8401 -
1.8402 -case $host_os in
1.8403 -aix3*)
1.8404 - version_type=linux
1.8405 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.8406 - shlibpath_var=LIBPATH
1.8407 -
1.8408 - # AIX 3 has no versioning support, so we append a major version to the name.
1.8409 - soname_spec='${libname}${release}${shared_ext}$major'
1.8410 - ;;
1.8411 -
1.8412 -aix4* | aix5*)
1.8413 - version_type=linux
1.8414 - need_lib_prefix=no
1.8415 - need_version=no
1.8416 - hardcode_into_libs=yes
1.8417 - if test "$host_cpu" = ia64; then
1.8418 - # AIX 5 supports IA64
1.8419 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.8420 - shlibpath_var=LD_LIBRARY_PATH
1.8421 - else
1.8422 - # With GCC up to 2.95.x, collect2 would create an import file
1.8423 - # for dependence libraries. The import file would start with
1.8424 - # the line `#! .'. This would cause the generated library to
1.8425 - # depend on `.', always an invalid library. This was fixed in
1.8426 - # development snapshots of GCC prior to 3.0.
1.8427 - case $host_os in
1.8428 - aix4 | aix4.[01] | aix4.[01].*)
1.8429 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.8430 - echo ' yes '
1.8431 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.8432 - :
1.8433 - else
1.8434 - can_build_shared=no
1.8435 - fi
1.8436 - ;;
1.8437 - esac
1.8438 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.8439 - # soname into executable. Probably we can add versioning support to
1.8440 - # collect2, so additional links can be useful in future.
1.8441 - if test "$aix_use_runtimelinking" = yes; then
1.8442 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.8443 - # instead of lib<name>.a to let people know that these are not
1.8444 - # typical AIX shared libraries.
1.8445 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8446 - else
1.8447 - # We preserve .a as extension for shared libraries through AIX4.2
1.8448 - # and later when we are not doing run time linking.
1.8449 - library_names_spec='${libname}${release}.a $libname.a'
1.8450 - soname_spec='${libname}${release}${shared_ext}$major'
1.8451 - fi
1.8452 - shlibpath_var=LIBPATH
1.8453 - fi
1.8454 - ;;
1.8455 -
1.8456 -amigaos*)
1.8457 - library_names_spec='$libname.ixlibrary $libname.a'
1.8458 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.8459 - 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.8460 - ;;
1.8461 -
1.8462 -beos*)
1.8463 - library_names_spec='${libname}${shared_ext}'
1.8464 - dynamic_linker="$host_os ld.so"
1.8465 - shlibpath_var=LIBRARY_PATH
1.8466 - ;;
1.8467 -
1.8468 -bsdi4*)
1.8469 - version_type=linux
1.8470 - need_version=no
1.8471 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8472 - soname_spec='${libname}${release}${shared_ext}$major'
1.8473 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.8474 - shlibpath_var=LD_LIBRARY_PATH
1.8475 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.8476 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.8477 - # the default ld.so.conf also contains /usr/contrib/lib and
1.8478 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.8479 - # libtool to hard-code these into programs
1.8480 - ;;
1.8481 -
1.8482 -cygwin* | mingw* | pw32*)
1.8483 - version_type=windows
1.8484 - shrext_cmds=".dll"
1.8485 - need_version=no
1.8486 - need_lib_prefix=no
1.8487 -
1.8488 - case $GCC,$host_os in
1.8489 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.8490 - library_names_spec='$libname.dll.a'
1.8491 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.8492 - postinstall_cmds='base_file=`basename \${file}`~
1.8493 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.8494 - dldir=$destdir/`dirname \$dlpath`~
1.8495 - test -d \$dldir || mkdir -p \$dldir~
1.8496 - $install_prog $dir/$dlname \$dldir/$dlname'
1.8497 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.8498 - dlpath=$dir/\$dldll~
1.8499 - $rm \$dlpath'
1.8500 - shlibpath_overrides_runpath=yes
1.8501 -
1.8502 - case $host_os in
1.8503 - cygwin*)
1.8504 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.8505 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.8506 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.8507 - ;;
1.8508 - mingw*)
1.8509 - # MinGW DLLs use traditional 'lib' prefix
1.8510 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.8511 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.8512 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.8513 - # It is most probably a Windows format PATH printed by
1.8514 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.8515 - # path with ; separators, and with drive letters. We can handle the
1.8516 - # drive letters (cygwin fileutils understands them), so leave them,
1.8517 - # especially as we might pass files found there to a mingw objdump,
1.8518 - # which wouldn't understand a cygwinified path. Ahh.
1.8519 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.8520 - else
1.8521 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.8522 - fi
1.8523 - ;;
1.8524 - pw32*)
1.8525 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.8526 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.8527 - ;;
1.8528 - esac
1.8529 - ;;
1.8530 -
1.8531 - *)
1.8532 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.8533 - ;;
1.8534 - esac
1.8535 - dynamic_linker='Win32 ld.exe'
1.8536 - # FIXME: first we should search . and the directory the executable is in
1.8537 - shlibpath_var=PATH
1.8538 - ;;
1.8539 -
1.8540 -darwin* | rhapsody*)
1.8541 - dynamic_linker="$host_os dyld"
1.8542 - version_type=darwin
1.8543 - need_lib_prefix=no
1.8544 - need_version=no
1.8545 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.8546 - soname_spec='${libname}${release}${major}$shared_ext'
1.8547 - shlibpath_overrides_runpath=yes
1.8548 - shlibpath_var=DYLD_LIBRARY_PATH
1.8549 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.8550 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.8551 - if test "$GCC" = yes; then
1.8552 - 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.8553 - else
1.8554 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.8555 - fi
1.8556 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.8557 - ;;
1.8558 -
1.8559 -dgux*)
1.8560 - version_type=linux
1.8561 - need_lib_prefix=no
1.8562 - need_version=no
1.8563 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.8564 - soname_spec='${libname}${release}${shared_ext}$major'
1.8565 - shlibpath_var=LD_LIBRARY_PATH
1.8566 - ;;
1.8567 -
1.8568 -freebsd1*)
1.8569 - dynamic_linker=no
1.8570 - ;;
1.8571 -
1.8572 -kfreebsd*-gnu)
1.8573 - version_type=linux
1.8574 - need_lib_prefix=no
1.8575 - need_version=no
1.8576 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8577 - soname_spec='${libname}${release}${shared_ext}$major'
1.8578 - shlibpath_var=LD_LIBRARY_PATH
1.8579 - shlibpath_overrides_runpath=no
1.8580 - hardcode_into_libs=yes
1.8581 - dynamic_linker='GNU ld.so'
1.8582 - ;;
1.8583 -
1.8584 -freebsd*)
1.8585 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.8586 - version_type=freebsd-$objformat
1.8587 - case $version_type in
1.8588 - freebsd-elf*)
1.8589 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.8590 - need_version=no
1.8591 - need_lib_prefix=no
1.8592 - ;;
1.8593 - freebsd-*)
1.8594 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.8595 - need_version=yes
1.8596 - ;;
1.8597 - esac
1.8598 - shlibpath_var=LD_LIBRARY_PATH
1.8599 - case $host_os in
1.8600 - freebsd2*)
1.8601 - shlibpath_overrides_runpath=yes
1.8602 - ;;
1.8603 - freebsd3.01* | freebsdelf3.01*)
1.8604 - shlibpath_overrides_runpath=yes
1.8605 - hardcode_into_libs=yes
1.8606 - ;;
1.8607 - *) # from 3.2 on
1.8608 - shlibpath_overrides_runpath=no
1.8609 - hardcode_into_libs=yes
1.8610 - ;;
1.8611 - esac
1.8612 - ;;
1.8613 -
1.8614 -gnu*)
1.8615 - version_type=linux
1.8616 - need_lib_prefix=no
1.8617 - need_version=no
1.8618 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.8619 - soname_spec='${libname}${release}${shared_ext}$major'
1.8620 - shlibpath_var=LD_LIBRARY_PATH
1.8621 - hardcode_into_libs=yes
1.8622 - ;;
1.8623 -
1.8624 -hpux9* | hpux10* | hpux11*)
1.8625 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.8626 - # link against other versions.
1.8627 - version_type=sunos
1.8628 - need_lib_prefix=no
1.8629 - need_version=no
1.8630 - case "$host_cpu" in
1.8631 - ia64*)
1.8632 - shrext_cmds='.so'
1.8633 - hardcode_into_libs=yes
1.8634 - dynamic_linker="$host_os dld.so"
1.8635 - shlibpath_var=LD_LIBRARY_PATH
1.8636 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.8637 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8638 - soname_spec='${libname}${release}${shared_ext}$major'
1.8639 - if test "X$HPUX_IA64_MODE" = X32; then
1.8640 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.8641 - else
1.8642 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.8643 - fi
1.8644 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.8645 - ;;
1.8646 - hppa*64*)
1.8647 - shrext_cmds='.sl'
1.8648 - hardcode_into_libs=yes
1.8649 - dynamic_linker="$host_os dld.sl"
1.8650 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.8651 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.8652 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8653 - soname_spec='${libname}${release}${shared_ext}$major'
1.8654 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.8655 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.8656 - ;;
1.8657 - *)
1.8658 - shrext_cmds='.sl'
1.8659 - dynamic_linker="$host_os dld.sl"
1.8660 - shlibpath_var=SHLIB_PATH
1.8661 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.8662 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8663 - soname_spec='${libname}${release}${shared_ext}$major'
1.8664 - ;;
1.8665 - esac
1.8666 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.8667 - postinstall_cmds='chmod 555 $lib'
1.8668 - ;;
1.8669 -
1.8670 -irix5* | irix6* | nonstopux*)
1.8671 - case $host_os in
1.8672 - nonstopux*) version_type=nonstopux ;;
1.8673 - *)
1.8674 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.8675 - version_type=linux
1.8676 - else
1.8677 - version_type=irix
1.8678 - fi ;;
1.8679 - esac
1.8680 - need_lib_prefix=no
1.8681 - need_version=no
1.8682 - soname_spec='${libname}${release}${shared_ext}$major'
1.8683 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.8684 - case $host_os in
1.8685 - irix5* | nonstopux*)
1.8686 - libsuff= shlibsuff=
1.8687 - ;;
1.8688 - *)
1.8689 - case $LD in # libtool.m4 will add one of these switches to LD
1.8690 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.8691 - libsuff= shlibsuff= libmagic=32-bit;;
1.8692 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.8693 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.8694 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.8695 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.8696 - *) libsuff= shlibsuff= libmagic=never-match;;
1.8697 - esac
1.8698 - ;;
1.8699 - esac
1.8700 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.8701 - shlibpath_overrides_runpath=no
1.8702 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.8703 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.8704 - hardcode_into_libs=yes
1.8705 - ;;
1.8706 -
1.8707 -# No shared lib support for Linux oldld, aout, or coff.
1.8708 -linux*oldld* | linux*aout* | linux*coff*)
1.8709 - dynamic_linker=no
1.8710 - ;;
1.8711 -
1.8712 -# This must be Linux ELF.
1.8713 -linux*)
1.8714 - version_type=linux
1.8715 - need_lib_prefix=no
1.8716 - need_version=no
1.8717 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8718 - soname_spec='${libname}${release}${shared_ext}$major'
1.8719 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.8720 - shlibpath_var=LD_LIBRARY_PATH
1.8721 - shlibpath_overrides_runpath=no
1.8722 - # This implies no fast_install, which is unacceptable.
1.8723 - # Some rework will be needed to allow for fast_install
1.8724 - # before this can be enabled.
1.8725 - hardcode_into_libs=yes
1.8726 -
1.8727 - # Append ld.so.conf contents to the search path
1.8728 - if test -f /etc/ld.so.conf; then
1.8729 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.8730 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.8731 - fi
1.8732 -
1.8733 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.8734 - # powerpc, because MkLinux only supported shared libraries with the
1.8735 - # GNU dynamic linker. Since this was broken with cross compilers,
1.8736 - # most powerpc-linux boxes support dynamic linking these days and
1.8737 - # people can always --disable-shared, the test was removed, and we
1.8738 - # assume the GNU/Linux dynamic linker is in use.
1.8739 - dynamic_linker='GNU/Linux ld.so'
1.8740 - ;;
1.8741 -
1.8742 -netbsdelf*-gnu)
1.8743 - version_type=linux
1.8744 - need_lib_prefix=no
1.8745 - need_version=no
1.8746 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8747 - soname_spec='${libname}${release}${shared_ext}$major'
1.8748 - shlibpath_var=LD_LIBRARY_PATH
1.8749 - shlibpath_overrides_runpath=no
1.8750 - hardcode_into_libs=yes
1.8751 - dynamic_linker='NetBSD ld.elf_so'
1.8752 - ;;
1.8753 -
1.8754 -knetbsd*-gnu)
1.8755 - version_type=linux
1.8756 - need_lib_prefix=no
1.8757 - need_version=no
1.8758 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8759 - soname_spec='${libname}${release}${shared_ext}$major'
1.8760 - shlibpath_var=LD_LIBRARY_PATH
1.8761 - shlibpath_overrides_runpath=no
1.8762 - hardcode_into_libs=yes
1.8763 - dynamic_linker='GNU ld.so'
1.8764 - ;;
1.8765 -
1.8766 -netbsd*)
1.8767 - version_type=sunos
1.8768 - need_lib_prefix=no
1.8769 - need_version=no
1.8770 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.8771 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8772 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.8773 - dynamic_linker='NetBSD (a.out) ld.so'
1.8774 - else
1.8775 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8776 - soname_spec='${libname}${release}${shared_ext}$major'
1.8777 - dynamic_linker='NetBSD ld.elf_so'
1.8778 - fi
1.8779 - shlibpath_var=LD_LIBRARY_PATH
1.8780 - shlibpath_overrides_runpath=yes
1.8781 - hardcode_into_libs=yes
1.8782 - ;;
1.8783 -
1.8784 -newsos6)
1.8785 - version_type=linux
1.8786 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8787 - shlibpath_var=LD_LIBRARY_PATH
1.8788 - shlibpath_overrides_runpath=yes
1.8789 - ;;
1.8790 -
1.8791 -nto-qnx*)
1.8792 - version_type=linux
1.8793 - need_lib_prefix=no
1.8794 - need_version=no
1.8795 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8796 - soname_spec='${libname}${release}${shared_ext}$major'
1.8797 - shlibpath_var=LD_LIBRARY_PATH
1.8798 - shlibpath_overrides_runpath=yes
1.8799 - ;;
1.8800 -
1.8801 -openbsd*)
1.8802 - version_type=sunos
1.8803 - need_lib_prefix=no
1.8804 - need_version=yes
1.8805 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8806 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.8807 - shlibpath_var=LD_LIBRARY_PATH
1.8808 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.8809 - case $host_os in
1.8810 - openbsd2.[89] | openbsd2.[89].*)
1.8811 - shlibpath_overrides_runpath=no
1.8812 - ;;
1.8813 - *)
1.8814 - shlibpath_overrides_runpath=yes
1.8815 - ;;
1.8816 - esac
1.8817 - else
1.8818 - shlibpath_overrides_runpath=yes
1.8819 - fi
1.8820 - ;;
1.8821 -
1.8822 -os2*)
1.8823 - libname_spec='$name'
1.8824 - shrext_cmds=".dll"
1.8825 - need_lib_prefix=no
1.8826 - library_names_spec='$libname${shared_ext} $libname.a'
1.8827 - dynamic_linker='OS/2 ld.exe'
1.8828 - shlibpath_var=LIBPATH
1.8829 - ;;
1.8830 -
1.8831 -osf3* | osf4* | osf5*)
1.8832 - version_type=osf
1.8833 - need_lib_prefix=no
1.8834 - need_version=no
1.8835 - soname_spec='${libname}${release}${shared_ext}$major'
1.8836 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8837 - shlibpath_var=LD_LIBRARY_PATH
1.8838 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.8839 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.8840 - ;;
1.8841 -
1.8842 -sco3.2v5*)
1.8843 - version_type=osf
1.8844 - soname_spec='${libname}${release}${shared_ext}$major'
1.8845 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8846 - shlibpath_var=LD_LIBRARY_PATH
1.8847 - ;;
1.8848 -
1.8849 -solaris*)
1.8850 - version_type=linux
1.8851 - need_lib_prefix=no
1.8852 - need_version=no
1.8853 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8854 - soname_spec='${libname}${release}${shared_ext}$major'
1.8855 - shlibpath_var=LD_LIBRARY_PATH
1.8856 - shlibpath_overrides_runpath=yes
1.8857 - hardcode_into_libs=yes
1.8858 - # ldd complains unless libraries are executable
1.8859 - postinstall_cmds='chmod +x $lib'
1.8860 - ;;
1.8861 -
1.8862 -sunos4*)
1.8863 - version_type=sunos
1.8864 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8865 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.8866 - shlibpath_var=LD_LIBRARY_PATH
1.8867 - shlibpath_overrides_runpath=yes
1.8868 - if test "$with_gnu_ld" = yes; then
1.8869 - need_lib_prefix=no
1.8870 - fi
1.8871 - need_version=yes
1.8872 - ;;
1.8873 -
1.8874 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.8875 - version_type=linux
1.8876 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8877 - soname_spec='${libname}${release}${shared_ext}$major'
1.8878 - shlibpath_var=LD_LIBRARY_PATH
1.8879 - case $host_vendor in
1.8880 - sni)
1.8881 - shlibpath_overrides_runpath=no
1.8882 - need_lib_prefix=no
1.8883 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.8884 - runpath_var=LD_RUN_PATH
1.8885 - ;;
1.8886 - siemens)
1.8887 - need_lib_prefix=no
1.8888 - ;;
1.8889 - motorola)
1.8890 - need_lib_prefix=no
1.8891 - need_version=no
1.8892 - shlibpath_overrides_runpath=no
1.8893 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.8894 - ;;
1.8895 - esac
1.8896 - ;;
1.8897 -
1.8898 -sysv4*MP*)
1.8899 - if test -d /usr/nec ;then
1.8900 - version_type=linux
1.8901 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.8902 - soname_spec='$libname${shared_ext}.$major'
1.8903 - shlibpath_var=LD_LIBRARY_PATH
1.8904 - fi
1.8905 - ;;
1.8906 -
1.8907 -uts4*)
1.8908 - version_type=linux
1.8909 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8910 - soname_spec='${libname}${release}${shared_ext}$major'
1.8911 - shlibpath_var=LD_LIBRARY_PATH
1.8912 - ;;
1.8913 -
1.8914 -*)
1.8915 - dynamic_linker=no
1.8916 - ;;
1.8917 -esac
1.8918 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.8919 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.8920 -test "$dynamic_linker" = no && can_build_shared=no
1.8921 -
1.8922 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.8923 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.8924 -hardcode_action=
1.8925 -if test -n "$hardcode_libdir_flag_spec" || \
1.8926 - test -n "$runpath_var " || \
1.8927 - test "X$hardcode_automatic"="Xyes" ; then
1.8928 -
1.8929 - # We can hardcode non-existant directories.
1.8930 - if test "$hardcode_direct" != no &&
1.8931 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.8932 - # have to relink, otherwise we might link with an installed library
1.8933 - # when we should be linking with a yet-to-be-installed one
1.8934 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
1.8935 - test "$hardcode_minus_L" != no; then
1.8936 - # Linking always hardcodes the temporary library directory.
1.8937 - hardcode_action=relink
1.8938 - else
1.8939 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.8940 - hardcode_action=immediate
1.8941 - fi
1.8942 -else
1.8943 - # We cannot hardcode anything, or else we can only hardcode existing
1.8944 - # directories.
1.8945 - hardcode_action=unsupported
1.8946 -fi
1.8947 -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
1.8948 -echo "${ECHO_T}$hardcode_action" >&6; }
1.8949 -
1.8950 -if test "$hardcode_action" = relink; then
1.8951 - # Fast installation is not supported
1.8952 - enable_fast_install=no
1.8953 -elif test "$shlibpath_overrides_runpath" = yes ||
1.8954 - test "$enable_shared" = no; then
1.8955 - # Fast installation is not necessary
1.8956 - enable_fast_install=needless
1.8957 -fi
1.8958 -
1.8959 -striplib=
1.8960 -old_striplib=
1.8961 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.8962 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.8963 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.8964 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.8965 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.8966 - { echo "$as_me:$LINENO: result: yes" >&5
1.8967 -echo "${ECHO_T}yes" >&6; }
1.8968 -else
1.8969 -# FIXME - insert some real tests, host_os isn't really good enough
1.8970 - case $host_os in
1.8971 - darwin*)
1.8972 - if test -n "$STRIP" ; then
1.8973 - striplib="$STRIP -x"
1.8974 - { echo "$as_me:$LINENO: result: yes" >&5
1.8975 -echo "${ECHO_T}yes" >&6; }
1.8976 - else
1.8977 - { echo "$as_me:$LINENO: result: no" >&5
1.8978 -echo "${ECHO_T}no" >&6; }
1.8979 -fi
1.8980 - ;;
1.8981 - *)
1.8982 - { echo "$as_me:$LINENO: result: no" >&5
1.8983 -echo "${ECHO_T}no" >&6; }
1.8984 - ;;
1.8985 - esac
1.8986 -fi
1.8987 -
1.8988 -if test "x$enable_dlopen" != xyes; then
1.8989 - enable_dlopen=unknown
1.8990 - enable_dlopen_self=unknown
1.8991 - enable_dlopen_self_static=unknown
1.8992 -else
1.8993 - lt_cv_dlopen=no
1.8994 - lt_cv_dlopen_libs=
1.8995 -
1.8996 - case $host_os in
1.8997 - beos*)
1.8998 - lt_cv_dlopen="load_add_on"
1.8999 - lt_cv_dlopen_libs=
1.9000 - lt_cv_dlopen_self=yes
1.9001 - ;;
1.9002 -
1.9003 - mingw* | pw32*)
1.9004 - lt_cv_dlopen="LoadLibrary"
1.9005 - lt_cv_dlopen_libs=
1.9006 - ;;
1.9007 -
1.9008 - cygwin*)
1.9009 - lt_cv_dlopen="dlopen"
1.9010 - lt_cv_dlopen_libs=
1.9011 - ;;
1.9012 -
1.9013 - darwin*)
1.9014 - # if libdl is installed we need to link against it
1.9015 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.9016 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.9017 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.9018 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9019 -else
1.9020 - ac_check_lib_save_LIBS=$LIBS
1.9021 -LIBS="-ldl $LIBS"
1.9022 -cat >conftest.$ac_ext <<_ACEOF
1.9023 -/* confdefs.h. */
1.9024 -_ACEOF
1.9025 -cat confdefs.h >>conftest.$ac_ext
1.9026 -cat >>conftest.$ac_ext <<_ACEOF
1.9027 -/* end confdefs.h. */
1.9028 -
1.9029 -/* Override any GCC internal prototype to avoid an error.
1.9030 - Use char because int might match the return type of a GCC
1.9031 - builtin and then its argument prototype would still apply. */
1.9032 -#ifdef __cplusplus
1.9033 -extern "C"
1.9034 -#endif
1.9035 -char dlopen ();
1.9036 -int
1.9037 -main ()
1.9038 -{
1.9039 -return dlopen ();
1.9040 - ;
1.9041 - return 0;
1.9042 -}
1.9043 -_ACEOF
1.9044 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9045 -if { (ac_try="$ac_link"
1.9046 -case "(($ac_try" in
1.9047 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9048 - *) ac_try_echo=$ac_try;;
1.9049 -esac
1.9050 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9051 - (eval "$ac_link") 2>conftest.er1
1.9052 - ac_status=$?
1.9053 - grep -v '^ *+' conftest.er1 >conftest.err
1.9054 - rm -f conftest.er1
1.9055 - cat conftest.err >&5
1.9056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9057 - (exit $ac_status); } && {
1.9058 - test -z "$ac_c_werror_flag" ||
1.9059 - test ! -s conftest.err
1.9060 - } && test -s conftest$ac_exeext &&
1.9061 - $as_test_x conftest$ac_exeext; then
1.9062 - ac_cv_lib_dl_dlopen=yes
1.9063 -else
1.9064 - echo "$as_me: failed program was:" >&5
1.9065 -sed 's/^/| /' conftest.$ac_ext >&5
1.9066 -
1.9067 - ac_cv_lib_dl_dlopen=no
1.9068 -fi
1.9069 -
1.9070 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9071 - conftest$ac_exeext conftest.$ac_ext
1.9072 -LIBS=$ac_check_lib_save_LIBS
1.9073 -fi
1.9074 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.9075 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.9076 -if test $ac_cv_lib_dl_dlopen = yes; then
1.9077 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.9078 -else
1.9079 -
1.9080 - lt_cv_dlopen="dyld"
1.9081 - lt_cv_dlopen_libs=
1.9082 - lt_cv_dlopen_self=yes
1.9083 -
1.9084 -fi
1.9085 -
1.9086 - ;;
1.9087 -
1.9088 - *)
1.9089 - { echo "$as_me:$LINENO: checking for shl_load" >&5
1.9090 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
1.9091 -if test "${ac_cv_func_shl_load+set}" = set; then
1.9092 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9093 -else
1.9094 - cat >conftest.$ac_ext <<_ACEOF
1.9095 -/* confdefs.h. */
1.9096 -_ACEOF
1.9097 -cat confdefs.h >>conftest.$ac_ext
1.9098 -cat >>conftest.$ac_ext <<_ACEOF
1.9099 -/* end confdefs.h. */
1.9100 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.9101 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.9102 -#define shl_load innocuous_shl_load
1.9103 -
1.9104 -/* System header to define __stub macros and hopefully few prototypes,
1.9105 - which can conflict with char shl_load (); below.
1.9106 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.9107 - <limits.h> exists even on freestanding compilers. */
1.9108 -
1.9109 -#ifdef __STDC__
1.9110 -# include <limits.h>
1.9111 -#else
1.9112 -# include <assert.h>
1.9113 -#endif
1.9114 -
1.9115 -#undef shl_load
1.9116 -
1.9117 -/* Override any GCC internal prototype to avoid an error.
1.9118 - Use char because int might match the return type of a GCC
1.9119 - builtin and then its argument prototype would still apply. */
1.9120 -#ifdef __cplusplus
1.9121 -extern "C"
1.9122 -#endif
1.9123 -char shl_load ();
1.9124 -/* The GNU C library defines this for functions which it implements
1.9125 - to always fail with ENOSYS. Some functions are actually named
1.9126 - something starting with __ and the normal name is an alias. */
1.9127 -#if defined __stub_shl_load || defined __stub___shl_load
1.9128 -choke me
1.9129 -#endif
1.9130 -
1.9131 -int
1.9132 -main ()
1.9133 -{
1.9134 -return shl_load ();
1.9135 - ;
1.9136 - return 0;
1.9137 -}
1.9138 -_ACEOF
1.9139 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9140 -if { (ac_try="$ac_link"
1.9141 -case "(($ac_try" in
1.9142 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9143 - *) ac_try_echo=$ac_try;;
1.9144 -esac
1.9145 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9146 - (eval "$ac_link") 2>conftest.er1
1.9147 - ac_status=$?
1.9148 - grep -v '^ *+' conftest.er1 >conftest.err
1.9149 - rm -f conftest.er1
1.9150 - cat conftest.err >&5
1.9151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9152 - (exit $ac_status); } && {
1.9153 - test -z "$ac_c_werror_flag" ||
1.9154 - test ! -s conftest.err
1.9155 - } && test -s conftest$ac_exeext &&
1.9156 - $as_test_x conftest$ac_exeext; then
1.9157 - ac_cv_func_shl_load=yes
1.9158 -else
1.9159 - echo "$as_me: failed program was:" >&5
1.9160 -sed 's/^/| /' conftest.$ac_ext >&5
1.9161 -
1.9162 - ac_cv_func_shl_load=no
1.9163 -fi
1.9164 -
1.9165 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9166 - conftest$ac_exeext conftest.$ac_ext
1.9167 -fi
1.9168 -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.9169 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
1.9170 -if test $ac_cv_func_shl_load = yes; then
1.9171 - lt_cv_dlopen="shl_load"
1.9172 -else
1.9173 - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.9174 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
1.9175 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.9176 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9177 -else
1.9178 - ac_check_lib_save_LIBS=$LIBS
1.9179 -LIBS="-ldld $LIBS"
1.9180 -cat >conftest.$ac_ext <<_ACEOF
1.9181 -/* confdefs.h. */
1.9182 -_ACEOF
1.9183 -cat confdefs.h >>conftest.$ac_ext
1.9184 -cat >>conftest.$ac_ext <<_ACEOF
1.9185 -/* end confdefs.h. */
1.9186 -
1.9187 -/* Override any GCC internal prototype to avoid an error.
1.9188 - Use char because int might match the return type of a GCC
1.9189 - builtin and then its argument prototype would still apply. */
1.9190 -#ifdef __cplusplus
1.9191 -extern "C"
1.9192 -#endif
1.9193 -char shl_load ();
1.9194 -int
1.9195 -main ()
1.9196 -{
1.9197 -return shl_load ();
1.9198 - ;
1.9199 - return 0;
1.9200 -}
1.9201 -_ACEOF
1.9202 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9203 -if { (ac_try="$ac_link"
1.9204 -case "(($ac_try" in
1.9205 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9206 - *) ac_try_echo=$ac_try;;
1.9207 -esac
1.9208 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9209 - (eval "$ac_link") 2>conftest.er1
1.9210 - ac_status=$?
1.9211 - grep -v '^ *+' conftest.er1 >conftest.err
1.9212 - rm -f conftest.er1
1.9213 - cat conftest.err >&5
1.9214 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9215 - (exit $ac_status); } && {
1.9216 - test -z "$ac_c_werror_flag" ||
1.9217 - test ! -s conftest.err
1.9218 - } && test -s conftest$ac_exeext &&
1.9219 - $as_test_x conftest$ac_exeext; then
1.9220 - ac_cv_lib_dld_shl_load=yes
1.9221 -else
1.9222 - echo "$as_me: failed program was:" >&5
1.9223 -sed 's/^/| /' conftest.$ac_ext >&5
1.9224 -
1.9225 - ac_cv_lib_dld_shl_load=no
1.9226 -fi
1.9227 -
1.9228 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9229 - conftest$ac_exeext conftest.$ac_ext
1.9230 -LIBS=$ac_check_lib_save_LIBS
1.9231 -fi
1.9232 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.9233 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
1.9234 -if test $ac_cv_lib_dld_shl_load = yes; then
1.9235 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.9236 -else
1.9237 - { echo "$as_me:$LINENO: checking for dlopen" >&5
1.9238 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
1.9239 -if test "${ac_cv_func_dlopen+set}" = set; then
1.9240 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9241 -else
1.9242 - cat >conftest.$ac_ext <<_ACEOF
1.9243 -/* confdefs.h. */
1.9244 -_ACEOF
1.9245 -cat confdefs.h >>conftest.$ac_ext
1.9246 -cat >>conftest.$ac_ext <<_ACEOF
1.9247 -/* end confdefs.h. */
1.9248 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.9249 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.9250 -#define dlopen innocuous_dlopen
1.9251 -
1.9252 -/* System header to define __stub macros and hopefully few prototypes,
1.9253 - which can conflict with char dlopen (); below.
1.9254 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.9255 - <limits.h> exists even on freestanding compilers. */
1.9256 -
1.9257 -#ifdef __STDC__
1.9258 -# include <limits.h>
1.9259 -#else
1.9260 -# include <assert.h>
1.9261 -#endif
1.9262 -
1.9263 -#undef dlopen
1.9264 -
1.9265 -/* Override any GCC internal prototype to avoid an error.
1.9266 - Use char because int might match the return type of a GCC
1.9267 - builtin and then its argument prototype would still apply. */
1.9268 -#ifdef __cplusplus
1.9269 -extern "C"
1.9270 -#endif
1.9271 -char dlopen ();
1.9272 -/* The GNU C library defines this for functions which it implements
1.9273 - to always fail with ENOSYS. Some functions are actually named
1.9274 - something starting with __ and the normal name is an alias. */
1.9275 -#if defined __stub_dlopen || defined __stub___dlopen
1.9276 -choke me
1.9277 -#endif
1.9278 -
1.9279 -int
1.9280 -main ()
1.9281 -{
1.9282 -return dlopen ();
1.9283 - ;
1.9284 - return 0;
1.9285 -}
1.9286 -_ACEOF
1.9287 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9288 -if { (ac_try="$ac_link"
1.9289 -case "(($ac_try" in
1.9290 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9291 - *) ac_try_echo=$ac_try;;
1.9292 -esac
1.9293 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9294 - (eval "$ac_link") 2>conftest.er1
1.9295 - ac_status=$?
1.9296 - grep -v '^ *+' conftest.er1 >conftest.err
1.9297 - rm -f conftest.er1
1.9298 - cat conftest.err >&5
1.9299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9300 - (exit $ac_status); } && {
1.9301 - test -z "$ac_c_werror_flag" ||
1.9302 - test ! -s conftest.err
1.9303 - } && test -s conftest$ac_exeext &&
1.9304 - $as_test_x conftest$ac_exeext; then
1.9305 - ac_cv_func_dlopen=yes
1.9306 -else
1.9307 - echo "$as_me: failed program was:" >&5
1.9308 -sed 's/^/| /' conftest.$ac_ext >&5
1.9309 -
1.9310 - ac_cv_func_dlopen=no
1.9311 -fi
1.9312 -
1.9313 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9314 - conftest$ac_exeext conftest.$ac_ext
1.9315 -fi
1.9316 -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.9317 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
1.9318 -if test $ac_cv_func_dlopen = yes; then
1.9319 - lt_cv_dlopen="dlopen"
1.9320 -else
1.9321 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.9322 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.9323 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.9324 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9325 -else
1.9326 - ac_check_lib_save_LIBS=$LIBS
1.9327 -LIBS="-ldl $LIBS"
1.9328 -cat >conftest.$ac_ext <<_ACEOF
1.9329 -/* confdefs.h. */
1.9330 -_ACEOF
1.9331 -cat confdefs.h >>conftest.$ac_ext
1.9332 -cat >>conftest.$ac_ext <<_ACEOF
1.9333 -/* end confdefs.h. */
1.9334 -
1.9335 -/* Override any GCC internal prototype to avoid an error.
1.9336 - Use char because int might match the return type of a GCC
1.9337 - builtin and then its argument prototype would still apply. */
1.9338 -#ifdef __cplusplus
1.9339 -extern "C"
1.9340 -#endif
1.9341 -char dlopen ();
1.9342 -int
1.9343 -main ()
1.9344 -{
1.9345 -return dlopen ();
1.9346 - ;
1.9347 - return 0;
1.9348 -}
1.9349 -_ACEOF
1.9350 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9351 -if { (ac_try="$ac_link"
1.9352 -case "(($ac_try" in
1.9353 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9354 - *) ac_try_echo=$ac_try;;
1.9355 -esac
1.9356 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9357 - (eval "$ac_link") 2>conftest.er1
1.9358 - ac_status=$?
1.9359 - grep -v '^ *+' conftest.er1 >conftest.err
1.9360 - rm -f conftest.er1
1.9361 - cat conftest.err >&5
1.9362 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9363 - (exit $ac_status); } && {
1.9364 - test -z "$ac_c_werror_flag" ||
1.9365 - test ! -s conftest.err
1.9366 - } && test -s conftest$ac_exeext &&
1.9367 - $as_test_x conftest$ac_exeext; then
1.9368 - ac_cv_lib_dl_dlopen=yes
1.9369 -else
1.9370 - echo "$as_me: failed program was:" >&5
1.9371 -sed 's/^/| /' conftest.$ac_ext >&5
1.9372 -
1.9373 - ac_cv_lib_dl_dlopen=no
1.9374 -fi
1.9375 -
1.9376 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9377 - conftest$ac_exeext conftest.$ac_ext
1.9378 -LIBS=$ac_check_lib_save_LIBS
1.9379 -fi
1.9380 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.9381 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.9382 -if test $ac_cv_lib_dl_dlopen = yes; then
1.9383 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.9384 -else
1.9385 - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.9386 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
1.9387 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.9388 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9389 -else
1.9390 - ac_check_lib_save_LIBS=$LIBS
1.9391 -LIBS="-lsvld $LIBS"
1.9392 -cat >conftest.$ac_ext <<_ACEOF
1.9393 -/* confdefs.h. */
1.9394 -_ACEOF
1.9395 -cat confdefs.h >>conftest.$ac_ext
1.9396 -cat >>conftest.$ac_ext <<_ACEOF
1.9397 -/* end confdefs.h. */
1.9398 -
1.9399 -/* Override any GCC internal prototype to avoid an error.
1.9400 - Use char because int might match the return type of a GCC
1.9401 - builtin and then its argument prototype would still apply. */
1.9402 -#ifdef __cplusplus
1.9403 -extern "C"
1.9404 -#endif
1.9405 -char dlopen ();
1.9406 -int
1.9407 -main ()
1.9408 -{
1.9409 -return dlopen ();
1.9410 - ;
1.9411 - return 0;
1.9412 -}
1.9413 -_ACEOF
1.9414 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9415 -if { (ac_try="$ac_link"
1.9416 -case "(($ac_try" in
1.9417 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9418 - *) ac_try_echo=$ac_try;;
1.9419 -esac
1.9420 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9421 - (eval "$ac_link") 2>conftest.er1
1.9422 - ac_status=$?
1.9423 - grep -v '^ *+' conftest.er1 >conftest.err
1.9424 - rm -f conftest.er1
1.9425 - cat conftest.err >&5
1.9426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9427 - (exit $ac_status); } && {
1.9428 - test -z "$ac_c_werror_flag" ||
1.9429 - test ! -s conftest.err
1.9430 - } && test -s conftest$ac_exeext &&
1.9431 - $as_test_x conftest$ac_exeext; then
1.9432 - ac_cv_lib_svld_dlopen=yes
1.9433 -else
1.9434 - echo "$as_me: failed program was:" >&5
1.9435 -sed 's/^/| /' conftest.$ac_ext >&5
1.9436 -
1.9437 - ac_cv_lib_svld_dlopen=no
1.9438 -fi
1.9439 -
1.9440 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9441 - conftest$ac_exeext conftest.$ac_ext
1.9442 -LIBS=$ac_check_lib_save_LIBS
1.9443 -fi
1.9444 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.9445 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
1.9446 -if test $ac_cv_lib_svld_dlopen = yes; then
1.9447 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.9448 -else
1.9449 - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.9450 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
1.9451 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.9452 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9453 -else
1.9454 - ac_check_lib_save_LIBS=$LIBS
1.9455 -LIBS="-ldld $LIBS"
1.9456 -cat >conftest.$ac_ext <<_ACEOF
1.9457 -/* confdefs.h. */
1.9458 -_ACEOF
1.9459 -cat confdefs.h >>conftest.$ac_ext
1.9460 -cat >>conftest.$ac_ext <<_ACEOF
1.9461 -/* end confdefs.h. */
1.9462 -
1.9463 -/* Override any GCC internal prototype to avoid an error.
1.9464 - Use char because int might match the return type of a GCC
1.9465 - builtin and then its argument prototype would still apply. */
1.9466 -#ifdef __cplusplus
1.9467 -extern "C"
1.9468 -#endif
1.9469 -char dld_link ();
1.9470 -int
1.9471 -main ()
1.9472 -{
1.9473 -return dld_link ();
1.9474 - ;
1.9475 - return 0;
1.9476 -}
1.9477 -_ACEOF
1.9478 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9479 -if { (ac_try="$ac_link"
1.9480 -case "(($ac_try" in
1.9481 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9482 - *) ac_try_echo=$ac_try;;
1.9483 -esac
1.9484 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9485 - (eval "$ac_link") 2>conftest.er1
1.9486 - ac_status=$?
1.9487 - grep -v '^ *+' conftest.er1 >conftest.err
1.9488 - rm -f conftest.er1
1.9489 - cat conftest.err >&5
1.9490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9491 - (exit $ac_status); } && {
1.9492 - test -z "$ac_c_werror_flag" ||
1.9493 - test ! -s conftest.err
1.9494 - } && test -s conftest$ac_exeext &&
1.9495 - $as_test_x conftest$ac_exeext; then
1.9496 - ac_cv_lib_dld_dld_link=yes
1.9497 -else
1.9498 - echo "$as_me: failed program was:" >&5
1.9499 -sed 's/^/| /' conftest.$ac_ext >&5
1.9500 -
1.9501 - ac_cv_lib_dld_dld_link=no
1.9502 -fi
1.9503 -
1.9504 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9505 - conftest$ac_exeext conftest.$ac_ext
1.9506 -LIBS=$ac_check_lib_save_LIBS
1.9507 -fi
1.9508 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.9509 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
1.9510 -if test $ac_cv_lib_dld_dld_link = yes; then
1.9511 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.9512 -fi
1.9513 -
1.9514 -
1.9515 -fi
1.9516 -
1.9517 -
1.9518 -fi
1.9519 -
1.9520 -
1.9521 -fi
1.9522 -
1.9523 -
1.9524 -fi
1.9525 -
1.9526 -
1.9527 -fi
1.9528 -
1.9529 - ;;
1.9530 - esac
1.9531 -
1.9532 - if test "x$lt_cv_dlopen" != xno; then
1.9533 - enable_dlopen=yes
1.9534 - else
1.9535 - enable_dlopen=no
1.9536 - fi
1.9537 -
1.9538 - case $lt_cv_dlopen in
1.9539 - dlopen)
1.9540 - save_CPPFLAGS="$CPPFLAGS"
1.9541 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.9542 -
1.9543 - save_LDFLAGS="$LDFLAGS"
1.9544 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.9545 -
1.9546 - save_LIBS="$LIBS"
1.9547 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.9548 -
1.9549 - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.9550 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
1.9551 -if test "${lt_cv_dlopen_self+set}" = set; then
1.9552 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9553 -else
1.9554 - if test "$cross_compiling" = yes; then :
1.9555 - lt_cv_dlopen_self=cross
1.9556 -else
1.9557 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.9558 - lt_status=$lt_dlunknown
1.9559 - cat > conftest.$ac_ext <<EOF
1.9560 -#line __oline__ "configure"
1.9561 -#include "confdefs.h"
1.9562 -
1.9563 -#if HAVE_DLFCN_H
1.9564 -#include <dlfcn.h>
1.9565 -#endif
1.9566 -
1.9567 -#include <stdio.h>
1.9568 -
1.9569 -#ifdef RTLD_GLOBAL
1.9570 -# define LT_DLGLOBAL RTLD_GLOBAL
1.9571 -#else
1.9572 -# ifdef DL_GLOBAL
1.9573 -# define LT_DLGLOBAL DL_GLOBAL
1.9574 -# else
1.9575 -# define LT_DLGLOBAL 0
1.9576 -# endif
1.9577 -#endif
1.9578 -
1.9579 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.9580 - find out it does not work in some platform. */
1.9581 -#ifndef LT_DLLAZY_OR_NOW
1.9582 -# ifdef RTLD_LAZY
1.9583 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.9584 -# else
1.9585 -# ifdef DL_LAZY
1.9586 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.9587 -# else
1.9588 -# ifdef RTLD_NOW
1.9589 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.9590 -# else
1.9591 -# ifdef DL_NOW
1.9592 -# define LT_DLLAZY_OR_NOW DL_NOW
1.9593 -# else
1.9594 -# define LT_DLLAZY_OR_NOW 0
1.9595 -# endif
1.9596 -# endif
1.9597 -# endif
1.9598 -# endif
1.9599 -#endif
1.9600 -
1.9601 -#ifdef __cplusplus
1.9602 -extern "C" void exit (int);
1.9603 -#endif
1.9604 -
1.9605 -void fnord() { int i=42;}
1.9606 -int main ()
1.9607 -{
1.9608 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.9609 - int status = $lt_dlunknown;
1.9610 -
1.9611 - if (self)
1.9612 - {
1.9613 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.9614 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.9615 - /* dlclose (self); */
1.9616 - }
1.9617 -
1.9618 - exit (status);
1.9619 -}
1.9620 -EOF
1.9621 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.9622 - (eval $ac_link) 2>&5
1.9623 - ac_status=$?
1.9624 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9625 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.9626 - (./conftest; exit; ) 2>/dev/null
1.9627 - lt_status=$?
1.9628 - case x$lt_status in
1.9629 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.9630 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.9631 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.9632 - esac
1.9633 - else :
1.9634 - # compilation failed
1.9635 - lt_cv_dlopen_self=no
1.9636 - fi
1.9637 -fi
1.9638 -rm -fr conftest*
1.9639 -
1.9640 -
1.9641 -fi
1.9642 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.9643 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
1.9644 -
1.9645 - if test "x$lt_cv_dlopen_self" = xyes; then
1.9646 - LDFLAGS="$LDFLAGS $link_static_flag"
1.9647 - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.9648 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
1.9649 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.9650 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9651 -else
1.9652 - if test "$cross_compiling" = yes; then :
1.9653 - lt_cv_dlopen_self_static=cross
1.9654 -else
1.9655 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.9656 - lt_status=$lt_dlunknown
1.9657 - cat > conftest.$ac_ext <<EOF
1.9658 -#line __oline__ "configure"
1.9659 -#include "confdefs.h"
1.9660 -
1.9661 -#if HAVE_DLFCN_H
1.9662 -#include <dlfcn.h>
1.9663 -#endif
1.9664 -
1.9665 -#include <stdio.h>
1.9666 -
1.9667 -#ifdef RTLD_GLOBAL
1.9668 -# define LT_DLGLOBAL RTLD_GLOBAL
1.9669 -#else
1.9670 -# ifdef DL_GLOBAL
1.9671 -# define LT_DLGLOBAL DL_GLOBAL
1.9672 -# else
1.9673 -# define LT_DLGLOBAL 0
1.9674 -# endif
1.9675 -#endif
1.9676 -
1.9677 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.9678 - find out it does not work in some platform. */
1.9679 -#ifndef LT_DLLAZY_OR_NOW
1.9680 -# ifdef RTLD_LAZY
1.9681 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.9682 -# else
1.9683 -# ifdef DL_LAZY
1.9684 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.9685 -# else
1.9686 -# ifdef RTLD_NOW
1.9687 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.9688 -# else
1.9689 -# ifdef DL_NOW
1.9690 -# define LT_DLLAZY_OR_NOW DL_NOW
1.9691 -# else
1.9692 -# define LT_DLLAZY_OR_NOW 0
1.9693 -# endif
1.9694 -# endif
1.9695 -# endif
1.9696 -# endif
1.9697 -#endif
1.9698 -
1.9699 -#ifdef __cplusplus
1.9700 -extern "C" void exit (int);
1.9701 -#endif
1.9702 -
1.9703 -void fnord() { int i=42;}
1.9704 -int main ()
1.9705 -{
1.9706 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.9707 - int status = $lt_dlunknown;
1.9708 -
1.9709 - if (self)
1.9710 - {
1.9711 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.9712 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.9713 - /* dlclose (self); */
1.9714 - }
1.9715 -
1.9716 - exit (status);
1.9717 -}
1.9718 -EOF
1.9719 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.9720 - (eval $ac_link) 2>&5
1.9721 - ac_status=$?
1.9722 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9723 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.9724 - (./conftest; exit; ) 2>/dev/null
1.9725 - lt_status=$?
1.9726 - case x$lt_status in
1.9727 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.9728 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.9729 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.9730 - esac
1.9731 - else :
1.9732 - # compilation failed
1.9733 - lt_cv_dlopen_self_static=no
1.9734 - fi
1.9735 -fi
1.9736 -rm -fr conftest*
1.9737 -
1.9738 -
1.9739 -fi
1.9740 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.9741 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
1.9742 - fi
1.9743 -
1.9744 - CPPFLAGS="$save_CPPFLAGS"
1.9745 - LDFLAGS="$save_LDFLAGS"
1.9746 - LIBS="$save_LIBS"
1.9747 - ;;
1.9748 - esac
1.9749 -
1.9750 - case $lt_cv_dlopen_self in
1.9751 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.9752 - *) enable_dlopen_self=unknown ;;
1.9753 - esac
1.9754 -
1.9755 - case $lt_cv_dlopen_self_static in
1.9756 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.9757 - *) enable_dlopen_self_static=unknown ;;
1.9758 - esac
1.9759 -fi
1.9760 -
1.9761 -
1.9762 -# Report which librarie types wil actually be built
1.9763 -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
1.9764 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
1.9765 -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
1.9766 -echo "${ECHO_T}$can_build_shared" >&6; }
1.9767 -
1.9768 -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
1.9769 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
1.9770 -test "$can_build_shared" = "no" && enable_shared=no
1.9771 -
1.9772 -# On AIX, shared libraries and static libraries use the same namespace, and
1.9773 -# are all built from PIC.
1.9774 -case "$host_os" in
1.9775 -aix3*)
1.9776 - test "$enable_shared" = yes && enable_static=no
1.9777 - if test -n "$RANLIB"; then
1.9778 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
1.9779 - postinstall_cmds='$RANLIB $lib'
1.9780 - fi
1.9781 - ;;
1.9782 -
1.9783 -aix4* | aix5*)
1.9784 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1.9785 - test "$enable_shared" = yes && enable_static=no
1.9786 - fi
1.9787 - ;;
1.9788 - darwin* | rhapsody*)
1.9789 - if test "$GCC" = yes; then
1.9790 - archive_cmds_need_lc=no
1.9791 - case "$host_os" in
1.9792 - rhapsody* | darwin1.[012])
1.9793 - allow_undefined_flag='-undefined suppress'
1.9794 - ;;
1.9795 - *) # Darwin 1.3 on
1.9796 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.9797 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.9798 - else
1.9799 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.9800 - 10.[012])
1.9801 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.9802 - ;;
1.9803 - 10.*)
1.9804 - allow_undefined_flag='-undefined dynamic_lookup'
1.9805 - ;;
1.9806 - esac
1.9807 - fi
1.9808 - ;;
1.9809 - esac
1.9810 - output_verbose_link_cmd='echo'
1.9811 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
1.9812 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.9813 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.9814 - 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.9815 - 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.9816 - hardcode_direct=no
1.9817 - hardcode_automatic=yes
1.9818 - hardcode_shlibpath_var=unsupported
1.9819 - whole_archive_flag_spec='-all_load $convenience'
1.9820 - link_all_deplibs=yes
1.9821 - else
1.9822 - ld_shlibs=no
1.9823 - fi
1.9824 - ;;
1.9825 -esac
1.9826 -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
1.9827 -echo "${ECHO_T}$enable_shared" >&6; }
1.9828 -
1.9829 -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
1.9830 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
1.9831 -# Make sure either enable_shared or enable_static is yes.
1.9832 -test "$enable_shared" = yes || enable_static=yes
1.9833 -{ echo "$as_me:$LINENO: result: $enable_static" >&5
1.9834 -echo "${ECHO_T}$enable_static" >&6; }
1.9835 -
1.9836 -# The else clause should only fire when bootstrapping the
1.9837 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.9838 -# with your package, and you will get complaints that there are
1.9839 -# no rules to generate ltmain.sh.
1.9840 -if test -f "$ltmain"; then
1.9841 - # See if we are running on zsh, and set the options which allow our commands through
1.9842 - # without removal of \ escapes.
1.9843 - if test -n "${ZSH_VERSION+set}" ; then
1.9844 - setopt NO_GLOB_SUBST
1.9845 - fi
1.9846 - # Now quote all the things that may contain metacharacters while being
1.9847 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.9848 - # variables and quote the copies for generation of the libtool script.
1.9849 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.9850 - SED SHELL STRIP \
1.9851 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.9852 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.9853 - deplibs_check_method reload_flag reload_cmds need_locks \
1.9854 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.9855 - lt_cv_sys_global_symbol_to_c_name_address \
1.9856 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.9857 - old_postinstall_cmds old_postuninstall_cmds \
1.9858 - compiler \
1.9859 - CC \
1.9860 - LD \
1.9861 - lt_prog_compiler_wl \
1.9862 - lt_prog_compiler_pic \
1.9863 - lt_prog_compiler_static \
1.9864 - lt_prog_compiler_no_builtin_flag \
1.9865 - export_dynamic_flag_spec \
1.9866 - thread_safe_flag_spec \
1.9867 - whole_archive_flag_spec \
1.9868 - enable_shared_with_static_runtimes \
1.9869 - old_archive_cmds \
1.9870 - old_archive_from_new_cmds \
1.9871 - predep_objects \
1.9872 - postdep_objects \
1.9873 - predeps \
1.9874 - postdeps \
1.9875 - compiler_lib_search_path \
1.9876 - archive_cmds \
1.9877 - archive_expsym_cmds \
1.9878 - postinstall_cmds \
1.9879 - postuninstall_cmds \
1.9880 - old_archive_from_expsyms_cmds \
1.9881 - allow_undefined_flag \
1.9882 - no_undefined_flag \
1.9883 - export_symbols_cmds \
1.9884 - hardcode_libdir_flag_spec \
1.9885 - hardcode_libdir_flag_spec_ld \
1.9886 - hardcode_libdir_separator \
1.9887 - hardcode_automatic \
1.9888 - module_cmds \
1.9889 - module_expsym_cmds \
1.9890 - lt_cv_prog_compiler_c_o \
1.9891 - exclude_expsyms \
1.9892 - include_expsyms; do
1.9893 -
1.9894 - case $var in
1.9895 - old_archive_cmds | \
1.9896 - old_archive_from_new_cmds | \
1.9897 - archive_cmds | \
1.9898 - archive_expsym_cmds | \
1.9899 - module_cmds | \
1.9900 - module_expsym_cmds | \
1.9901 - old_archive_from_expsyms_cmds | \
1.9902 - export_symbols_cmds | \
1.9903 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.9904 - postinstall_cmds | postuninstall_cmds | \
1.9905 - old_postinstall_cmds | old_postuninstall_cmds | \
1.9906 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.9907 - # Double-quote double-evaled strings.
1.9908 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.9909 - ;;
1.9910 - *)
1.9911 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.9912 - ;;
1.9913 - esac
1.9914 - done
1.9915 -
1.9916 - case $lt_echo in
1.9917 - *'\$0 --fallback-echo"')
1.9918 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.9919 - ;;
1.9920 - esac
1.9921 -
1.9922 -cfgfile="${ofile}T"
1.9923 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
1.9924 - $rm -f "$cfgfile"
1.9925 - { echo "$as_me:$LINENO: creating $ofile" >&5
1.9926 -echo "$as_me: creating $ofile" >&6;}
1.9927 -
1.9928 - cat <<__EOF__ >> "$cfgfile"
1.9929 -#! $SHELL
1.9930 -
1.9931 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1.9932 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
1.9933 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1.9934 -#
1.9935 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
1.9936 -# Free Software Foundation, Inc.
1.9937 -#
1.9938 -# This file is part of GNU Libtool:
1.9939 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1.9940 -#
1.9941 -# This program is free software; you can redistribute it and/or modify
1.9942 -# it under the terms of the GNU General Public License as published by
1.9943 -# the Free Software Foundation; either version 2 of the License, or
1.9944 -# (at your option) any later version.
1.9945 -#
1.9946 -# This program is distributed in the hope that it will be useful, but
1.9947 -# WITHOUT ANY WARRANTY; without even the implied warranty of
1.9948 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.9949 -# General Public License for more details.
1.9950 -#
1.9951 -# You should have received a copy of the GNU General Public License
1.9952 -# along with this program; if not, write to the Free Software
1.9953 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1.9954 -#
1.9955 -# As a special exception to the GNU General Public License, if you
1.9956 -# distribute this file as part of a program that contains a
1.9957 -# configuration script generated by Autoconf, you may include it under
1.9958 -# the same distribution terms that you use for the rest of that program.
1.9959 -
1.9960 -# A sed program that does not truncate output.
1.9961 -SED=$lt_SED
1.9962 -
1.9963 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1.9964 -Xsed="$SED -e s/^X//"
1.9965 -
1.9966 -# The HP-UX ksh and POSIX shell print the target directory to stdout
1.9967 -# if CDPATH is set.
1.9968 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
1.9969 -
1.9970 -# The names of the tagged configurations supported by this script.
1.9971 -available_tags=
1.9972 -
1.9973 -# ### BEGIN LIBTOOL CONFIG
1.9974 -
1.9975 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.9976 -
1.9977 -# Shell to use when invoking shell scripts.
1.9978 -SHELL=$lt_SHELL
1.9979 -
1.9980 -# Whether or not to build shared libraries.
1.9981 -build_libtool_libs=$enable_shared
1.9982 -
1.9983 -# Whether or not to build static libraries.
1.9984 -build_old_libs=$enable_static
1.9985 -
1.9986 -# Whether or not to add -lc for building shared libraries.
1.9987 -build_libtool_need_lc=$archive_cmds_need_lc
1.9988 -
1.9989 -# Whether or not to disallow shared libs when runtime libs are static
1.9990 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.9991 -
1.9992 -# Whether or not to optimize for fast installation.
1.9993 -fast_install=$enable_fast_install
1.9994 -
1.9995 -# The host system.
1.9996 -host_alias=$host_alias
1.9997 -host=$host
1.9998 -
1.9999 -# An echo program that does not interpret backslashes.
1.10000 -echo=$lt_echo
1.10001 -
1.10002 -# The archiver.
1.10003 -AR=$lt_AR
1.10004 -AR_FLAGS=$lt_AR_FLAGS
1.10005 -
1.10006 -# A C compiler.
1.10007 -LTCC=$lt_LTCC
1.10008 -
1.10009 -# A language-specific compiler.
1.10010 -CC=$lt_compiler
1.10011 -
1.10012 -# Is the compiler the GNU C compiler?
1.10013 -with_gcc=$GCC
1.10014 -
1.10015 -# An ERE matcher.
1.10016 -EGREP=$lt_EGREP
1.10017 -
1.10018 -# The linker used to build libraries.
1.10019 -LD=$lt_LD
1.10020 -
1.10021 -# Whether we need hard or soft links.
1.10022 -LN_S=$lt_LN_S
1.10023 -
1.10024 -# A BSD-compatible nm program.
1.10025 -NM=$lt_NM
1.10026 -
1.10027 -# A symbol stripping program
1.10028 -STRIP=$lt_STRIP
1.10029 -
1.10030 -# Used to examine libraries when file_magic_cmd begins "file"
1.10031 -MAGIC_CMD=$MAGIC_CMD
1.10032 -
1.10033 -# Used on cygwin: DLL creation program.
1.10034 -DLLTOOL="$DLLTOOL"
1.10035 -
1.10036 -# Used on cygwin: object dumper.
1.10037 -OBJDUMP="$OBJDUMP"
1.10038 -
1.10039 -# Used on cygwin: assembler.
1.10040 -AS="$AS"
1.10041 -
1.10042 -# The name of the directory that contains temporary libtool files.
1.10043 -objdir=$objdir
1.10044 -
1.10045 -# How to create reloadable object files.
1.10046 -reload_flag=$lt_reload_flag
1.10047 -reload_cmds=$lt_reload_cmds
1.10048 -
1.10049 -# How to pass a linker flag through the compiler.
1.10050 -wl=$lt_lt_prog_compiler_wl
1.10051 -
1.10052 -# Object file suffix (normally "o").
1.10053 -objext="$ac_objext"
1.10054 -
1.10055 -# Old archive suffix (normally "a").
1.10056 -libext="$libext"
1.10057 -
1.10058 -# Shared library suffix (normally ".so").
1.10059 -shrext_cmds='$shrext_cmds'
1.10060 -
1.10061 -# Executable file suffix (normally "").
1.10062 -exeext="$exeext"
1.10063 -
1.10064 -# Additional compiler flags for building library objects.
1.10065 -pic_flag=$lt_lt_prog_compiler_pic
1.10066 -pic_mode=$pic_mode
1.10067 -
1.10068 -# What is the maximum length of a command?
1.10069 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.10070 -
1.10071 -# Does compiler simultaneously support -c and -o options?
1.10072 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.10073 -
1.10074 -# Must we lock files when doing compilation ?
1.10075 -need_locks=$lt_need_locks
1.10076 -
1.10077 -# Do we need the lib prefix for modules?
1.10078 -need_lib_prefix=$need_lib_prefix
1.10079 -
1.10080 -# Do we need a version for libraries?
1.10081 -need_version=$need_version
1.10082 -
1.10083 -# Whether dlopen is supported.
1.10084 -dlopen_support=$enable_dlopen
1.10085 -
1.10086 -# Whether dlopen of programs is supported.
1.10087 -dlopen_self=$enable_dlopen_self
1.10088 -
1.10089 -# Whether dlopen of statically linked programs is supported.
1.10090 -dlopen_self_static=$enable_dlopen_self_static
1.10091 -
1.10092 -# Compiler flag to prevent dynamic linking.
1.10093 -link_static_flag=$lt_lt_prog_compiler_static
1.10094 -
1.10095 -# Compiler flag to turn off builtin functions.
1.10096 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.10097 -
1.10098 -# Compiler flag to allow reflexive dlopens.
1.10099 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.10100 -
1.10101 -# Compiler flag to generate shared objects directly from archives.
1.10102 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.10103 -
1.10104 -# Compiler flag to generate thread-safe objects.
1.10105 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
1.10106 -
1.10107 -# Library versioning type.
1.10108 -version_type=$version_type
1.10109 -
1.10110 -# Format of library name prefix.
1.10111 -libname_spec=$lt_libname_spec
1.10112 -
1.10113 -# List of archive names. First name is the real one, the rest are links.
1.10114 -# The last name is the one that the linker finds with -lNAME.
1.10115 -library_names_spec=$lt_library_names_spec
1.10116 -
1.10117 -# The coded name of the library, if different from the real name.
1.10118 -soname_spec=$lt_soname_spec
1.10119 -
1.10120 -# Commands used to build and install an old-style archive.
1.10121 -RANLIB=$lt_RANLIB
1.10122 -old_archive_cmds=$lt_old_archive_cmds
1.10123 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.10124 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.10125 -
1.10126 -# Create an old-style archive from a shared archive.
1.10127 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.10128 -
1.10129 -# Create a temporary old-style archive to link instead of a shared archive.
1.10130 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.10131 -
1.10132 -# Commands used to build and install a shared archive.
1.10133 -archive_cmds=$lt_archive_cmds
1.10134 -archive_expsym_cmds=$lt_archive_expsym_cmds
1.10135 -postinstall_cmds=$lt_postinstall_cmds
1.10136 -postuninstall_cmds=$lt_postuninstall_cmds
1.10137 -
1.10138 -# Commands used to build a loadable module (assumed same as above if empty)
1.10139 -module_cmds=$lt_module_cmds
1.10140 -module_expsym_cmds=$lt_module_expsym_cmds
1.10141 -
1.10142 -# Commands to strip libraries.
1.10143 -old_striplib=$lt_old_striplib
1.10144 -striplib=$lt_striplib
1.10145 -
1.10146 -# Dependencies to place before the objects being linked to create a
1.10147 -# shared library.
1.10148 -predep_objects=$lt_predep_objects
1.10149 -
1.10150 -# Dependencies to place after the objects being linked to create a
1.10151 -# shared library.
1.10152 -postdep_objects=$lt_postdep_objects
1.10153 -
1.10154 -# Dependencies to place before the objects being linked to create a
1.10155 -# shared library.
1.10156 -predeps=$lt_predeps
1.10157 -
1.10158 -# Dependencies to place after the objects being linked to create a
1.10159 -# shared library.
1.10160 -postdeps=$lt_postdeps
1.10161 -
1.10162 -# The library search path used internally by the compiler when linking
1.10163 -# a shared library.
1.10164 -compiler_lib_search_path=$lt_compiler_lib_search_path
1.10165 -
1.10166 -# Method to check whether dependent libraries are shared objects.
1.10167 -deplibs_check_method=$lt_deplibs_check_method
1.10168 -
1.10169 -# Command to use when deplibs_check_method == file_magic.
1.10170 -file_magic_cmd=$lt_file_magic_cmd
1.10171 -
1.10172 -# Flag that allows shared libraries with undefined symbols to be built.
1.10173 -allow_undefined_flag=$lt_allow_undefined_flag
1.10174 -
1.10175 -# Flag that forces no undefined symbols.
1.10176 -no_undefined_flag=$lt_no_undefined_flag
1.10177 -
1.10178 -# Commands used to finish a libtool library installation in a directory.
1.10179 -finish_cmds=$lt_finish_cmds
1.10180 -
1.10181 -# Same as above, but a single script fragment to be evaled but not shown.
1.10182 -finish_eval=$lt_finish_eval
1.10183 -
1.10184 -# Take the output of nm and produce a listing of raw symbols and C names.
1.10185 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.10186 -
1.10187 -# Transform the output of nm in a proper C declaration
1.10188 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.10189 -
1.10190 -# Transform the output of nm in a C name address pair
1.10191 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.10192 -
1.10193 -# This is the shared library runtime path variable.
1.10194 -runpath_var=$runpath_var
1.10195 -
1.10196 -# This is the shared library path variable.
1.10197 -shlibpath_var=$shlibpath_var
1.10198 -
1.10199 -# Is shlibpath searched before the hard-coded library search path?
1.10200 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.10201 -
1.10202 -# How to hardcode a shared library path into an executable.
1.10203 -hardcode_action=$hardcode_action
1.10204 -
1.10205 -# Whether we should hardcode library paths into libraries.
1.10206 -hardcode_into_libs=$hardcode_into_libs
1.10207 -
1.10208 -# Flag to hardcode \$libdir into a binary during linking.
1.10209 -# This must work even if \$libdir does not exist.
1.10210 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.10211 -
1.10212 -# If ld is used when linking, flag to hardcode \$libdir into
1.10213 -# a binary during linking. This must work even if \$libdir does
1.10214 -# not exist.
1.10215 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1.10216 -
1.10217 -# Whether we need a single -rpath flag with a separated argument.
1.10218 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.10219 -
1.10220 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.10221 -# resulting binary.
1.10222 -hardcode_direct=$hardcode_direct
1.10223 -
1.10224 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.10225 -# resulting binary.
1.10226 -hardcode_minus_L=$hardcode_minus_L
1.10227 -
1.10228 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.10229 -# the resulting binary.
1.10230 -hardcode_shlibpath_var=$hardcode_shlibpath_var
1.10231 -
1.10232 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.10233 -# and all subsequent libraries and executables linked against it.
1.10234 -hardcode_automatic=$hardcode_automatic
1.10235 -
1.10236 -# Variables whose values should be saved in libtool wrapper scripts and
1.10237 -# restored at relink time.
1.10238 -variables_saved_for_relink="$variables_saved_for_relink"
1.10239 -
1.10240 -# Whether libtool must link a program against all its dependency libraries.
1.10241 -link_all_deplibs=$link_all_deplibs
1.10242 -
1.10243 -# Compile-time system search path for libraries
1.10244 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.10245 -
1.10246 -# Run-time system search path for libraries
1.10247 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.10248 -
1.10249 -# Fix the shell variable \$srcfile for the compiler.
1.10250 -fix_srcfile_path="$fix_srcfile_path"
1.10251 -
1.10252 -# Set to yes if exported symbols are required.
1.10253 -always_export_symbols=$always_export_symbols
1.10254 -
1.10255 -# The commands to list exported symbols.
1.10256 -export_symbols_cmds=$lt_export_symbols_cmds
1.10257 -
1.10258 -# The commands to extract the exported symbol list from a shared archive.
1.10259 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.10260 -
1.10261 -# Symbols that should not be listed in the preloaded symbols.
1.10262 -exclude_expsyms=$lt_exclude_expsyms
1.10263 -
1.10264 -# Symbols that must always be exported.
1.10265 -include_expsyms=$lt_include_expsyms
1.10266 -
1.10267 -# ### END LIBTOOL CONFIG
1.10268 -
1.10269 -__EOF__
1.10270 -
1.10271 -
1.10272 - case $host_os in
1.10273 - aix3*)
1.10274 - cat <<\EOF >> "$cfgfile"
1.10275 -
1.10276 -# AIX sometimes has problems with the GCC collect2 program. For some
1.10277 -# reason, if we set the COLLECT_NAMES environment variable, the problems
1.10278 -# vanish in a puff of smoke.
1.10279 -if test "X${COLLECT_NAMES+set}" != Xset; then
1.10280 - COLLECT_NAMES=
1.10281 - export COLLECT_NAMES
1.10282 -fi
1.10283 -EOF
1.10284 - ;;
1.10285 - esac
1.10286 -
1.10287 - # We use sed instead of cat because bash on DJGPP gets confused if
1.10288 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
1.10289 - # text mode, it properly converts lines to CR/LF. This bash problem
1.10290 - # is reportedly fixed, but why not run on old versions too?
1.10291 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
1.10292 -
1.10293 - mv -f "$cfgfile" "$ofile" || \
1.10294 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1.10295 - chmod +x "$ofile"
1.10296 -
1.10297 -else
1.10298 - # If there is no Makefile yet, we rely on a make rule to execute
1.10299 - # `config.status --recheck' to rerun these tests and create the
1.10300 - # libtool script then.
1.10301 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.10302 - if test -f "$ltmain_in"; then
1.10303 - test -f Makefile && make "$ltmain"
1.10304 - fi
1.10305 -fi
1.10306 -
1.10307 -
1.10308 -ac_ext=c
1.10309 -ac_cpp='$CPP $CPPFLAGS'
1.10310 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.10311 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10312 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10313 -
1.10314 -CC="$lt_save_CC"
1.10315 -
1.10316 -
1.10317 -# Check whether --with-tags was given.
1.10318 -if test "${with_tags+set}" = set; then
1.10319 - withval=$with_tags; tagnames="$withval"
1.10320 -fi
1.10321 -
1.10322 -
1.10323 -if test -f "$ltmain" && test -n "$tagnames"; then
1.10324 - if test ! -f "${ofile}"; then
1.10325 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
1.10326 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
1.10327 - fi
1.10328 -
1.10329 - if test -z "$LTCC"; then
1.10330 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1.10331 - if test -z "$LTCC"; then
1.10332 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
1.10333 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
1.10334 - else
1.10335 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
1.10336 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
1.10337 - fi
1.10338 - fi
1.10339 -
1.10340 - # Extract list of available tagged configurations in $ofile.
1.10341 - # Note that this assumes the entire list is on one line.
1.10342 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1.10343 -
1.10344 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.10345 - for tagname in $tagnames; do
1.10346 - IFS="$lt_save_ifs"
1.10347 - # Check whether tagname contains only valid characters
1.10348 - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
1.10349 - "") ;;
1.10350 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
1.10351 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
1.10352 - { (exit 1); exit 1; }; }
1.10353 - ;;
1.10354 - esac
1.10355 -
1.10356 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1.10357 - then
1.10358 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
1.10359 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
1.10360 - { (exit 1); exit 1; }; }
1.10361 - fi
1.10362 -
1.10363 - # Update the list of available tags.
1.10364 - if test -n "$tagname"; then
1.10365 - echo appending configuration tag \"$tagname\" to $ofile
1.10366 -
1.10367 - case $tagname in
1.10368 - CXX)
1.10369 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
1.10370 - ac_ext=cpp
1.10371 -ac_cpp='$CXXCPP $CPPFLAGS'
1.10372 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.10373 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10374 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.10375 -
1.10376 -
1.10377 -
1.10378 -
1.10379 -archive_cmds_need_lc_CXX=no
1.10380 -allow_undefined_flag_CXX=
1.10381 -always_export_symbols_CXX=no
1.10382 -archive_expsym_cmds_CXX=
1.10383 -export_dynamic_flag_spec_CXX=
1.10384 -hardcode_direct_CXX=no
1.10385 -hardcode_libdir_flag_spec_CXX=
1.10386 -hardcode_libdir_flag_spec_ld_CXX=
1.10387 -hardcode_libdir_separator_CXX=
1.10388 -hardcode_minus_L_CXX=no
1.10389 -hardcode_automatic_CXX=no
1.10390 -module_cmds_CXX=
1.10391 -module_expsym_cmds_CXX=
1.10392 -link_all_deplibs_CXX=unknown
1.10393 -old_archive_cmds_CXX=$old_archive_cmds
1.10394 -no_undefined_flag_CXX=
1.10395 -whole_archive_flag_spec_CXX=
1.10396 -enable_shared_with_static_runtimes_CXX=no
1.10397 -
1.10398 -# Dependencies to place before and after the object being linked:
1.10399 -predep_objects_CXX=
1.10400 -postdep_objects_CXX=
1.10401 -predeps_CXX=
1.10402 -postdeps_CXX=
1.10403 -compiler_lib_search_path_CXX=
1.10404 -
1.10405 -# Source file extension for C++ test sources.
1.10406 -ac_ext=cc
1.10407 -
1.10408 -# Object file extension for compiled C++ test sources.
1.10409 -objext=o
1.10410 -objext_CXX=$objext
1.10411 -
1.10412 -# Code to be used in simple compile tests
1.10413 -lt_simple_compile_test_code="int some_variable = 0;\n"
1.10414 -
1.10415 -# Code to be used in simple link tests
1.10416 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
1.10417 -
1.10418 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.10419 -
1.10420 -# If no C compiler was specified, use CC.
1.10421 -LTCC=${LTCC-"$CC"}
1.10422 -
1.10423 -# Allow CC to be a program name with arguments.
1.10424 -compiler=$CC
1.10425 -
1.10426 -
1.10427 -# Allow CC to be a program name with arguments.
1.10428 -lt_save_CC=$CC
1.10429 -lt_save_LD=$LD
1.10430 -lt_save_GCC=$GCC
1.10431 -GCC=$GXX
1.10432 -lt_save_with_gnu_ld=$with_gnu_ld
1.10433 -lt_save_path_LD=$lt_cv_path_LD
1.10434 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1.10435 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1.10436 -else
1.10437 - unset lt_cv_prog_gnu_ld
1.10438 -fi
1.10439 -if test -n "${lt_cv_path_LDCXX+set}"; then
1.10440 - lt_cv_path_LD=$lt_cv_path_LDCXX
1.10441 -else
1.10442 - unset lt_cv_path_LD
1.10443 -fi
1.10444 -test -z "${LDCXX+set}" || LD=$LDCXX
1.10445 -CC=${CXX-"c++"}
1.10446 -compiler=$CC
1.10447 -compiler_CXX=$CC
1.10448 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
1.10449 -
1.10450 -# We don't want -fno-exception wen compiling C++ code, so set the
1.10451 -# no_builtin_flag separately
1.10452 -if test "$GXX" = yes; then
1.10453 - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
1.10454 -else
1.10455 - lt_prog_compiler_no_builtin_flag_CXX=
1.10456 -fi
1.10457 -
1.10458 -if test "$GXX" = yes; then
1.10459 - # Set up default GNU C++ configuration
1.10460 -
1.10461 -
1.10462 -# Check whether --with-gnu-ld was given.
1.10463 -if test "${with_gnu_ld+set}" = set; then
1.10464 - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.10465 -else
1.10466 - with_gnu_ld=no
1.10467 -fi
1.10468 -
1.10469 -ac_prog=ld
1.10470 -if test "$GCC" = yes; then
1.10471 - # Check if gcc -print-prog-name=ld gives a path.
1.10472 - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
1.10473 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
1.10474 - case $host in
1.10475 - *-*-mingw*)
1.10476 - # gcc leaves a trailing carriage return which upsets mingw
1.10477 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1.10478 - *)
1.10479 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1.10480 - esac
1.10481 - case $ac_prog in
1.10482 - # Accept absolute paths.
1.10483 - [\\/]* | ?:[\\/]*)
1.10484 - re_direlt='/[^/][^/]*/\.\./'
1.10485 - # Canonicalize the pathname of ld
1.10486 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
1.10487 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1.10488 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
1.10489 - done
1.10490 - test -z "$LD" && LD="$ac_prog"
1.10491 - ;;
1.10492 - "")
1.10493 - # If it fails, then pretend we aren't using GCC.
1.10494 - ac_prog=ld
1.10495 - ;;
1.10496 - *)
1.10497 - # If it is relative, then search for the first ld in PATH.
1.10498 - with_gnu_ld=unknown
1.10499 - ;;
1.10500 - esac
1.10501 -elif test "$with_gnu_ld" = yes; then
1.10502 - { echo "$as_me:$LINENO: checking for GNU ld" >&5
1.10503 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
1.10504 -else
1.10505 - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
1.10506 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
1.10507 -fi
1.10508 -if test "${lt_cv_path_LD+set}" = set; then
1.10509 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10510 -else
1.10511 - if test -z "$LD"; then
1.10512 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.10513 - for ac_dir in $PATH; do
1.10514 - IFS="$lt_save_ifs"
1.10515 - test -z "$ac_dir" && ac_dir=.
1.10516 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.10517 - lt_cv_path_LD="$ac_dir/$ac_prog"
1.10518 - # Check to see if the program is GNU ld. I'd rather use --version,
1.10519 - # but apparently some GNU ld's only accept -v.
1.10520 - # Break only if it was the GNU/non-GNU ld that we prefer.
1.10521 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1.10522 - *GNU* | *'with BFD'*)
1.10523 - test "$with_gnu_ld" != no && break
1.10524 - ;;
1.10525 - *)
1.10526 - test "$with_gnu_ld" != yes && break
1.10527 - ;;
1.10528 - esac
1.10529 - fi
1.10530 - done
1.10531 - IFS="$lt_save_ifs"
1.10532 -else
1.10533 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.10534 -fi
1.10535 -fi
1.10536 -
1.10537 -LD="$lt_cv_path_LD"
1.10538 -if test -n "$LD"; then
1.10539 - { echo "$as_me:$LINENO: result: $LD" >&5
1.10540 -echo "${ECHO_T}$LD" >&6; }
1.10541 -else
1.10542 - { echo "$as_me:$LINENO: result: no" >&5
1.10543 -echo "${ECHO_T}no" >&6; }
1.10544 -fi
1.10545 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
1.10546 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
1.10547 - { (exit 1); exit 1; }; }
1.10548 -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
1.10549 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
1.10550 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
1.10551 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10552 -else
1.10553 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1.10554 -case `$LD -v 2>&1 </dev/null` in
1.10555 -*GNU* | *'with BFD'*)
1.10556 - lt_cv_prog_gnu_ld=yes
1.10557 - ;;
1.10558 -*)
1.10559 - lt_cv_prog_gnu_ld=no
1.10560 - ;;
1.10561 -esac
1.10562 -fi
1.10563 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
1.10564 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
1.10565 -with_gnu_ld=$lt_cv_prog_gnu_ld
1.10566 -
1.10567 -
1.10568 -
1.10569 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
1.10570 - # archiving commands below assume that GNU ld is being used.
1.10571 - if test "$with_gnu_ld" = yes; then
1.10572 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10573 - 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.10574 -
1.10575 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
1.10576 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.10577 -
1.10578 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.10579 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
1.10580 - # investigate it a little bit more. (MM)
1.10581 - wlarc='${wl}'
1.10582 -
1.10583 - # ancient GNU ld didn't support --whole-archive et. al.
1.10584 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
1.10585 - grep 'no-whole-archive' > /dev/null; then
1.10586 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.10587 - else
1.10588 - whole_archive_flag_spec_CXX=
1.10589 - fi
1.10590 - else
1.10591 - with_gnu_ld=no
1.10592 - wlarc=
1.10593 -
1.10594 - # A generic and very simple default shared library creation
1.10595 - # command for GNU C++ for the case where it uses the native
1.10596 - # linker, instead of GNU ld. If possible, this setting should
1.10597 - # overridden to take advantage of the native linker features on
1.10598 - # the platform it is being used on.
1.10599 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
1.10600 - fi
1.10601 -
1.10602 - # Commands to make compiler produce verbose output that lists
1.10603 - # what "hidden" libraries, object files and flags are used when
1.10604 - # linking a shared library.
1.10605 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.10606 -
1.10607 -else
1.10608 - GXX=no
1.10609 - with_gnu_ld=no
1.10610 - wlarc=
1.10611 -fi
1.10612 -
1.10613 -# PORTME: fill in a description of your system's C++ link characteristics
1.10614 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.10615 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.10616 -ld_shlibs_CXX=yes
1.10617 -case $host_os in
1.10618 - aix3*)
1.10619 - # FIXME: insert proper C++ library support
1.10620 - ld_shlibs_CXX=no
1.10621 - ;;
1.10622 - aix4* | aix5*)
1.10623 - if test "$host_cpu" = ia64; then
1.10624 - # On IA64, the linker does run time linking by default, so we don't
1.10625 - # have to do anything special.
1.10626 - aix_use_runtimelinking=no
1.10627 - exp_sym_flag='-Bexport'
1.10628 - no_entry_flag=""
1.10629 - else
1.10630 - aix_use_runtimelinking=no
1.10631 -
1.10632 - # Test if we are trying to use run time linking or normal
1.10633 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.10634 - # need to do runtime linking.
1.10635 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.10636 - for ld_flag in $LDFLAGS; do
1.10637 - case $ld_flag in
1.10638 - *-brtl*)
1.10639 - aix_use_runtimelinking=yes
1.10640 - break
1.10641 - ;;
1.10642 - esac
1.10643 - done
1.10644 - esac
1.10645 -
1.10646 - exp_sym_flag='-bexport'
1.10647 - no_entry_flag='-bnoentry'
1.10648 - fi
1.10649 -
1.10650 - # When large executables or shared objects are built, AIX ld can
1.10651 - # have problems creating the table of contents. If linking a library
1.10652 - # or program results in "error TOC overflow" add -mminimal-toc to
1.10653 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.10654 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.10655 -
1.10656 - archive_cmds_CXX=''
1.10657 - hardcode_direct_CXX=yes
1.10658 - hardcode_libdir_separator_CXX=':'
1.10659 - link_all_deplibs_CXX=yes
1.10660 -
1.10661 - if test "$GXX" = yes; then
1.10662 - case $host_os in aix4.012|aix4.012.*)
1.10663 - # We only want to do this on AIX 4.2 and lower, the check
1.10664 - # below for broken collect2 doesn't work under 4.3+
1.10665 - collect2name=`${CC} -print-prog-name=collect2`
1.10666 - if test -f "$collect2name" && \
1.10667 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.10668 - then
1.10669 - # We have reworked collect2
1.10670 - hardcode_direct_CXX=yes
1.10671 - else
1.10672 - # We have old collect2
1.10673 - hardcode_direct_CXX=unsupported
1.10674 - # It fails to find uninstalled libraries when the uninstalled
1.10675 - # path is not listed in the libpath. Setting hardcode_minus_L
1.10676 - # to unsupported forces relinking
1.10677 - hardcode_minus_L_CXX=yes
1.10678 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10679 - hardcode_libdir_separator_CXX=
1.10680 - fi
1.10681 - esac
1.10682 - shared_flag='-shared'
1.10683 - else
1.10684 - # not using gcc
1.10685 - if test "$host_cpu" = ia64; then
1.10686 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.10687 - # chokes on -Wl,-G. The following line is correct:
1.10688 - shared_flag='-G'
1.10689 - else
1.10690 - if test "$aix_use_runtimelinking" = yes; then
1.10691 - shared_flag='${wl}-G'
1.10692 - else
1.10693 - shared_flag='${wl}-bM:SRE'
1.10694 - fi
1.10695 - fi
1.10696 - fi
1.10697 -
1.10698 - # It seems that -bexpall does not export symbols beginning with
1.10699 - # underscore (_), so it is better to generate a list of symbols to export.
1.10700 - always_export_symbols_CXX=yes
1.10701 - if test "$aix_use_runtimelinking" = yes; then
1.10702 - # Warning - without using the other runtime loading flags (-brtl),
1.10703 - # -berok will link without error, but may produce a broken library.
1.10704 - allow_undefined_flag_CXX='-berok'
1.10705 - # Determine the default libpath from the value encoded in an empty executable.
1.10706 - cat >conftest.$ac_ext <<_ACEOF
1.10707 -/* confdefs.h. */
1.10708 -_ACEOF
1.10709 -cat confdefs.h >>conftest.$ac_ext
1.10710 -cat >>conftest.$ac_ext <<_ACEOF
1.10711 -/* end confdefs.h. */
1.10712 -
1.10713 -int
1.10714 -main ()
1.10715 -{
1.10716 -
1.10717 - ;
1.10718 - return 0;
1.10719 -}
1.10720 -_ACEOF
1.10721 -rm -f conftest.$ac_objext conftest$ac_exeext
1.10722 -if { (ac_try="$ac_link"
1.10723 -case "(($ac_try" in
1.10724 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10725 - *) ac_try_echo=$ac_try;;
1.10726 -esac
1.10727 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10728 - (eval "$ac_link") 2>conftest.er1
1.10729 - ac_status=$?
1.10730 - grep -v '^ *+' conftest.er1 >conftest.err
1.10731 - rm -f conftest.er1
1.10732 - cat conftest.err >&5
1.10733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10734 - (exit $ac_status); } && {
1.10735 - test -z "$ac_cxx_werror_flag" ||
1.10736 - test ! -s conftest.err
1.10737 - } && test -s conftest$ac_exeext &&
1.10738 - $as_test_x conftest$ac_exeext; then
1.10739 -
1.10740 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.10741 -}'`
1.10742 -# Check for a 64-bit object if we didn't find anything.
1.10743 -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.10744 -}'`; fi
1.10745 -else
1.10746 - echo "$as_me: failed program was:" >&5
1.10747 -sed 's/^/| /' conftest.$ac_ext >&5
1.10748 -
1.10749 -
1.10750 -fi
1.10751 -
1.10752 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.10753 - conftest$ac_exeext conftest.$ac_ext
1.10754 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.10755 -
1.10756 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1.10757 -
1.10758 - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1.10759 - else
1.10760 - if test "$host_cpu" = ia64; then
1.10761 - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
1.10762 - allow_undefined_flag_CXX="-z nodefs"
1.10763 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
1.10764 - else
1.10765 - # Determine the default libpath from the value encoded in an empty executable.
1.10766 - cat >conftest.$ac_ext <<_ACEOF
1.10767 -/* confdefs.h. */
1.10768 -_ACEOF
1.10769 -cat confdefs.h >>conftest.$ac_ext
1.10770 -cat >>conftest.$ac_ext <<_ACEOF
1.10771 -/* end confdefs.h. */
1.10772 -
1.10773 -int
1.10774 -main ()
1.10775 -{
1.10776 -
1.10777 - ;
1.10778 - return 0;
1.10779 -}
1.10780 -_ACEOF
1.10781 -rm -f conftest.$ac_objext conftest$ac_exeext
1.10782 -if { (ac_try="$ac_link"
1.10783 -case "(($ac_try" in
1.10784 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10785 - *) ac_try_echo=$ac_try;;
1.10786 -esac
1.10787 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10788 - (eval "$ac_link") 2>conftest.er1
1.10789 - ac_status=$?
1.10790 - grep -v '^ *+' conftest.er1 >conftest.err
1.10791 - rm -f conftest.er1
1.10792 - cat conftest.err >&5
1.10793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10794 - (exit $ac_status); } && {
1.10795 - test -z "$ac_cxx_werror_flag" ||
1.10796 - test ! -s conftest.err
1.10797 - } && test -s conftest$ac_exeext &&
1.10798 - $as_test_x conftest$ac_exeext; then
1.10799 -
1.10800 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.10801 -}'`
1.10802 -# Check for a 64-bit object if we didn't find anything.
1.10803 -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.10804 -}'`; fi
1.10805 -else
1.10806 - echo "$as_me: failed program was:" >&5
1.10807 -sed 's/^/| /' conftest.$ac_ext >&5
1.10808 -
1.10809 -
1.10810 -fi
1.10811 -
1.10812 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.10813 - conftest$ac_exeext conftest.$ac_ext
1.10814 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.10815 -
1.10816 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1.10817 - # Warning - without using the other run time loading flags,
1.10818 - # -berok will link without error, but may produce a broken library.
1.10819 - no_undefined_flag_CXX=' ${wl}-bernotok'
1.10820 - allow_undefined_flag_CXX=' ${wl}-berok'
1.10821 - # -bexpall does not export symbols beginning with underscore (_)
1.10822 - always_export_symbols_CXX=yes
1.10823 - # Exported symbols can be pulled into shared objects from archives
1.10824 - whole_archive_flag_spec_CXX=' '
1.10825 - archive_cmds_need_lc_CXX=yes
1.10826 - # This is similar to how AIX traditionally builds it's shared libraries.
1.10827 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1.10828 - fi
1.10829 - fi
1.10830 - ;;
1.10831 - chorus*)
1.10832 - case $cc_basename in
1.10833 - *)
1.10834 - # FIXME: insert proper C++ library support
1.10835 - ld_shlibs_CXX=no
1.10836 - ;;
1.10837 - esac
1.10838 - ;;
1.10839 -
1.10840 - cygwin* | mingw* | pw32*)
1.10841 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
1.10842 - # as there is no search path for DLLs.
1.10843 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10844 - allow_undefined_flag_CXX=unsupported
1.10845 - always_export_symbols_CXX=no
1.10846 - enable_shared_with_static_runtimes_CXX=yes
1.10847 -
1.10848 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.10849 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.10850 - # If the export-symbols file already is a .def file (1st line
1.10851 - # is EXPORTS), use it as is; otherwise, prepend...
1.10852 - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.10853 - cp $export_symbols $output_objdir/$soname.def;
1.10854 - else
1.10855 - echo EXPORTS > $output_objdir/$soname.def;
1.10856 - cat $export_symbols >> $output_objdir/$soname.def;
1.10857 - fi~
1.10858 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.10859 - else
1.10860 - ld_shlibs_CXX=no
1.10861 - fi
1.10862 - ;;
1.10863 -
1.10864 - darwin* | rhapsody*)
1.10865 - if test "$GXX" = yes; then
1.10866 - archive_cmds_need_lc_CXX=no
1.10867 - case "$host_os" in
1.10868 - rhapsody* | darwin1.[012])
1.10869 - allow_undefined_flag_CXX='-undefined suppress'
1.10870 - ;;
1.10871 - *) # Darwin 1.3 on
1.10872 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.10873 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
1.10874 - else
1.10875 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.10876 - 10.[012])
1.10877 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
1.10878 - ;;
1.10879 - 10.*)
1.10880 - allow_undefined_flag_CXX='-undefined dynamic_lookup'
1.10881 - ;;
1.10882 - esac
1.10883 - fi
1.10884 - ;;
1.10885 - esac
1.10886 - lt_int_apple_cc_single_mod=no
1.10887 - output_verbose_link_cmd='echo'
1.10888 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.10889 - lt_int_apple_cc_single_mod=yes
1.10890 - fi
1.10891 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.10892 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.10893 - else
1.10894 - archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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.10895 - fi
1.10896 - module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.10897 -
1.10898 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.10899 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.10900 - 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.10901 - else
1.10902 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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.10903 - fi
1.10904 - 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.10905 - hardcode_direct_CXX=no
1.10906 - hardcode_automatic_CXX=yes
1.10907 - hardcode_shlibpath_var_CXX=unsupported
1.10908 - whole_archive_flag_spec_CXX='-all_load $convenience'
1.10909 - link_all_deplibs_CXX=yes
1.10910 - else
1.10911 - ld_shlibs_CXX=no
1.10912 - fi
1.10913 - ;;
1.10914 -
1.10915 - dgux*)
1.10916 - case $cc_basename in
1.10917 - ec++)
1.10918 - # FIXME: insert proper C++ library support
1.10919 - ld_shlibs_CXX=no
1.10920 - ;;
1.10921 - ghcx)
1.10922 - # Green Hills C++ Compiler
1.10923 - # FIXME: insert proper C++ library support
1.10924 - ld_shlibs_CXX=no
1.10925 - ;;
1.10926 - *)
1.10927 - # FIXME: insert proper C++ library support
1.10928 - ld_shlibs_CXX=no
1.10929 - ;;
1.10930 - esac
1.10931 - ;;
1.10932 - freebsd12*)
1.10933 - # C++ shared libraries reported to be fairly broken before switch to ELF
1.10934 - ld_shlibs_CXX=no
1.10935 - ;;
1.10936 - freebsd-elf*)
1.10937 - archive_cmds_need_lc_CXX=no
1.10938 - ;;
1.10939 - freebsd* | kfreebsd*-gnu)
1.10940 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1.10941 - # conventions
1.10942 - ld_shlibs_CXX=yes
1.10943 - ;;
1.10944 - gnu*)
1.10945 - ;;
1.10946 - hpux9*)
1.10947 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.10948 - hardcode_libdir_separator_CXX=:
1.10949 - export_dynamic_flag_spec_CXX='${wl}-E'
1.10950 - hardcode_direct_CXX=yes
1.10951 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.10952 - # but as the default
1.10953 - # location of the library.
1.10954 -
1.10955 - case $cc_basename in
1.10956 - CC)
1.10957 - # FIXME: insert proper C++ library support
1.10958 - ld_shlibs_CXX=no
1.10959 - ;;
1.10960 - aCC)
1.10961 - 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.10962 - # Commands to make compiler produce verbose output that lists
1.10963 - # what "hidden" libraries, object files and flags are used when
1.10964 - # linking a shared library.
1.10965 - #
1.10966 - # There doesn't appear to be a way to prevent this compiler from
1.10967 - # explicitly linking system object files so we need to strip them
1.10968 - # from the output so that they don't get included in the library
1.10969 - # dependencies.
1.10970 - 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.10971 - ;;
1.10972 - *)
1.10973 - if test "$GXX" = yes; then
1.10974 - 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.10975 - else
1.10976 - # FIXME: insert proper C++ library support
1.10977 - ld_shlibs_CXX=no
1.10978 - fi
1.10979 - ;;
1.10980 - esac
1.10981 - ;;
1.10982 - hpux10*|hpux11*)
1.10983 - if test $with_gnu_ld = no; then
1.10984 - case "$host_cpu" in
1.10985 - hppa*64*)
1.10986 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.10987 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
1.10988 - hardcode_libdir_separator_CXX=:
1.10989 - ;;
1.10990 - ia64*)
1.10991 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10992 - ;;
1.10993 - *)
1.10994 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.10995 - hardcode_libdir_separator_CXX=:
1.10996 - export_dynamic_flag_spec_CXX='${wl}-E'
1.10997 - ;;
1.10998 - esac
1.10999 - fi
1.11000 - case "$host_cpu" in
1.11001 - hppa*64*)
1.11002 - hardcode_direct_CXX=no
1.11003 - hardcode_shlibpath_var_CXX=no
1.11004 - ;;
1.11005 - ia64*)
1.11006 - hardcode_direct_CXX=no
1.11007 - hardcode_shlibpath_var_CXX=no
1.11008 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.11009 - # but as the default
1.11010 - # location of the library.
1.11011 - ;;
1.11012 - *)
1.11013 - hardcode_direct_CXX=yes
1.11014 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.11015 - # but as the default
1.11016 - # location of the library.
1.11017 - ;;
1.11018 - esac
1.11019 -
1.11020 - case $cc_basename in
1.11021 - CC)
1.11022 - # FIXME: insert proper C++ library support
1.11023 - ld_shlibs_CXX=no
1.11024 - ;;
1.11025 - aCC)
1.11026 - case "$host_cpu" in
1.11027 - hppa*64*|ia64*)
1.11028 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1.11029 - ;;
1.11030 - *)
1.11031 - 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.11032 - ;;
1.11033 - esac
1.11034 - # Commands to make compiler produce verbose output that lists
1.11035 - # what "hidden" libraries, object files and flags are used when
1.11036 - # linking a shared library.
1.11037 - #
1.11038 - # There doesn't appear to be a way to prevent this compiler from
1.11039 - # explicitly linking system object files so we need to strip them
1.11040 - # from the output so that they don't get included in the library
1.11041 - # dependencies.
1.11042 - 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.11043 - ;;
1.11044 - *)
1.11045 - if test "$GXX" = yes; then
1.11046 - if test $with_gnu_ld = no; then
1.11047 - case "$host_cpu" in
1.11048 - ia64*|hppa*64*)
1.11049 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1.11050 - ;;
1.11051 - *)
1.11052 - 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.11053 - ;;
1.11054 - esac
1.11055 - fi
1.11056 - else
1.11057 - # FIXME: insert proper C++ library support
1.11058 - ld_shlibs_CXX=no
1.11059 - fi
1.11060 - ;;
1.11061 - esac
1.11062 - ;;
1.11063 - irix5* | irix6*)
1.11064 - case $cc_basename in
1.11065 - CC)
1.11066 - # SGI C++
1.11067 - 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 ${objdir}/so_locations -o $lib'
1.11068 -
1.11069 - # Archives containing C++ object files must be created using
1.11070 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
1.11071 - # necessary to make sure instantiated templates are included
1.11072 - # in the archive.
1.11073 - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
1.11074 - ;;
1.11075 - *)
1.11076 - if test "$GXX" = yes; then
1.11077 - if test "$with_gnu_ld" = no; then
1.11078 - 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}${objdir}/so_locations -o $lib'
1.11079 - else
1.11080 - 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.11081 - fi
1.11082 - fi
1.11083 - link_all_deplibs_CXX=yes
1.11084 - ;;
1.11085 - esac
1.11086 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11087 - hardcode_libdir_separator_CXX=:
1.11088 - ;;
1.11089 - linux*)
1.11090 - case $cc_basename in
1.11091 - KCC)
1.11092 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.11093 -
1.11094 - # KCC will only create a shared library if the output file
1.11095 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.11096 - # to its proper name (with version) after linking.
1.11097 - 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.11098 - 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.11099 - # Commands to make compiler produce verbose output that lists
1.11100 - # what "hidden" libraries, object files and flags are used when
1.11101 - # linking a shared library.
1.11102 - #
1.11103 - # There doesn't appear to be a way to prevent this compiler from
1.11104 - # explicitly linking system object files so we need to strip them
1.11105 - # from the output so that they don't get included in the library
1.11106 - # dependencies.
1.11107 - 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.11108 -
1.11109 - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
1.11110 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.11111 -
1.11112 - # Archives containing C++ object files must be created using
1.11113 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1.11114 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1.11115 - ;;
1.11116 - icpc)
1.11117 - # Intel C++
1.11118 - with_gnu_ld=yes
1.11119 - archive_cmds_need_lc_CXX=no
1.11120 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.11121 - 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.11122 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.11123 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.11124 - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
1.11125 - ;;
1.11126 - cxx)
1.11127 - # Compaq C++
1.11128 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.11129 - 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.11130 -
1.11131 - runpath_var=LD_RUN_PATH
1.11132 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1.11133 - hardcode_libdir_separator_CXX=:
1.11134 -
1.11135 - # Commands to make compiler produce verbose output that lists
1.11136 - # what "hidden" libraries, object files and flags are used when
1.11137 - # linking a shared library.
1.11138 - #
1.11139 - # There doesn't appear to be a way to prevent this compiler from
1.11140 - # explicitly linking system object files so we need to strip them
1.11141 - # from the output so that they don't get included in the library
1.11142 - # dependencies.
1.11143 - 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.11144 - ;;
1.11145 - esac
1.11146 - ;;
1.11147 - lynxos*)
1.11148 - # FIXME: insert proper C++ library support
1.11149 - ld_shlibs_CXX=no
1.11150 - ;;
1.11151 - m88k*)
1.11152 - # FIXME: insert proper C++ library support
1.11153 - ld_shlibs_CXX=no
1.11154 - ;;
1.11155 - mvs*)
1.11156 - case $cc_basename in
1.11157 - cxx)
1.11158 - # FIXME: insert proper C++ library support
1.11159 - ld_shlibs_CXX=no
1.11160 - ;;
1.11161 - *)
1.11162 - # FIXME: insert proper C++ library support
1.11163 - ld_shlibs_CXX=no
1.11164 - ;;
1.11165 - esac
1.11166 - ;;
1.11167 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.11168 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.11169 - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1.11170 - wlarc=
1.11171 - hardcode_libdir_flag_spec_CXX='-R$libdir'
1.11172 - hardcode_direct_CXX=yes
1.11173 - hardcode_shlibpath_var_CXX=no
1.11174 - fi
1.11175 - # Workaround some broken pre-1.5 toolchains
1.11176 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
1.11177 - ;;
1.11178 - osf3*)
1.11179 - case $cc_basename in
1.11180 - KCC)
1.11181 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.11182 -
1.11183 - # KCC will only create a shared library if the output file
1.11184 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.11185 - # to its proper name (with version) after linking.
1.11186 - 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.11187 -
1.11188 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.11189 - hardcode_libdir_separator_CXX=:
1.11190 -
1.11191 - # Archives containing C++ object files must be created using
1.11192 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1.11193 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1.11194 -
1.11195 - ;;
1.11196 - RCC)
1.11197 - # Rational C++ 2.4.1
1.11198 - # FIXME: insert proper C++ library support
1.11199 - ld_shlibs_CXX=no
1.11200 - ;;
1.11201 - cxx)
1.11202 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.11203 - 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 ${objdir}/so_locations -o $lib'
1.11204 -
1.11205 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11206 - hardcode_libdir_separator_CXX=:
1.11207 -
1.11208 - # Commands to make compiler produce verbose output that lists
1.11209 - # what "hidden" libraries, object files and flags are used when
1.11210 - # linking a shared library.
1.11211 - #
1.11212 - # There doesn't appear to be a way to prevent this compiler from
1.11213 - # explicitly linking system object files so we need to strip them
1.11214 - # from the output so that they don't get included in the library
1.11215 - # dependencies.
1.11216 - 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.11217 - ;;
1.11218 - *)
1.11219 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.11220 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.11221 - 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}${objdir}/so_locations -o $lib'
1.11222 -
1.11223 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11224 - hardcode_libdir_separator_CXX=:
1.11225 -
1.11226 - # Commands to make compiler produce verbose output that lists
1.11227 - # what "hidden" libraries, object files and flags are used when
1.11228 - # linking a shared library.
1.11229 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.11230 -
1.11231 - else
1.11232 - # FIXME: insert proper C++ library support
1.11233 - ld_shlibs_CXX=no
1.11234 - fi
1.11235 - ;;
1.11236 - esac
1.11237 - ;;
1.11238 - osf4* | osf5*)
1.11239 - case $cc_basename in
1.11240 - KCC)
1.11241 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.11242 -
1.11243 - # KCC will only create a shared library if the output file
1.11244 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.11245 - # to its proper name (with version) after linking.
1.11246 - 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.11247 -
1.11248 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.11249 - hardcode_libdir_separator_CXX=:
1.11250 -
1.11251 - # Archives containing C++ object files must be created using
1.11252 - # the KAI C++ compiler.
1.11253 - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
1.11254 - ;;
1.11255 - RCC)
1.11256 - # Rational C++ 2.4.1
1.11257 - # FIXME: insert proper C++ library support
1.11258 - ld_shlibs_CXX=no
1.11259 - ;;
1.11260 - cxx)
1.11261 - allow_undefined_flag_CXX=' -expect_unresolved \*'
1.11262 - 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 ${objdir}/so_locations -o $lib'
1.11263 - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1.11264 - echo "-hidden">> $lib.exp~
1.11265 - $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 $objdir/so_locations -o $lib~
1.11266 - $rm $lib.exp'
1.11267 -
1.11268 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1.11269 - hardcode_libdir_separator_CXX=:
1.11270 -
1.11271 - # Commands to make compiler produce verbose output that lists
1.11272 - # what "hidden" libraries, object files and flags are used when
1.11273 - # linking a shared library.
1.11274 - #
1.11275 - # There doesn't appear to be a way to prevent this compiler from
1.11276 - # explicitly linking system object files so we need to strip them
1.11277 - # from the output so that they don't get included in the library
1.11278 - # dependencies.
1.11279 - 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.11280 - ;;
1.11281 - *)
1.11282 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.11283 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.11284 - 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}${objdir}/so_locations -o $lib'
1.11285 -
1.11286 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11287 - hardcode_libdir_separator_CXX=:
1.11288 -
1.11289 - # Commands to make compiler produce verbose output that lists
1.11290 - # what "hidden" libraries, object files and flags are used when
1.11291 - # linking a shared library.
1.11292 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.11293 -
1.11294 - else
1.11295 - # FIXME: insert proper C++ library support
1.11296 - ld_shlibs_CXX=no
1.11297 - fi
1.11298 - ;;
1.11299 - esac
1.11300 - ;;
1.11301 - psos*)
1.11302 - # FIXME: insert proper C++ library support
1.11303 - ld_shlibs_CXX=no
1.11304 - ;;
1.11305 - sco*)
1.11306 - archive_cmds_need_lc_CXX=no
1.11307 - case $cc_basename in
1.11308 - CC)
1.11309 - # FIXME: insert proper C++ library support
1.11310 - ld_shlibs_CXX=no
1.11311 - ;;
1.11312 - *)
1.11313 - # FIXME: insert proper C++ library support
1.11314 - ld_shlibs_CXX=no
1.11315 - ;;
1.11316 - esac
1.11317 - ;;
1.11318 - sunos4*)
1.11319 - case $cc_basename in
1.11320 - CC)
1.11321 - # Sun C++ 4.x
1.11322 - # FIXME: insert proper C++ library support
1.11323 - ld_shlibs_CXX=no
1.11324 - ;;
1.11325 - lcc)
1.11326 - # Lucid
1.11327 - # FIXME: insert proper C++ library support
1.11328 - ld_shlibs_CXX=no
1.11329 - ;;
1.11330 - *)
1.11331 - # FIXME: insert proper C++ library support
1.11332 - ld_shlibs_CXX=no
1.11333 - ;;
1.11334 - esac
1.11335 - ;;
1.11336 - solaris*)
1.11337 - case $cc_basename in
1.11338 - CC)
1.11339 - # Sun C++ 4.2, 5.x and Centerline C++
1.11340 - no_undefined_flag_CXX=' -zdefs'
1.11341 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.11342 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.11343 - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.11344 -
1.11345 - hardcode_libdir_flag_spec_CXX='-R$libdir'
1.11346 - hardcode_shlibpath_var_CXX=no
1.11347 - case $host_os in
1.11348 - solaris2.0-5 | solaris2.0-5.*) ;;
1.11349 - *)
1.11350 - # The C++ compiler is used as linker so we must use $wl
1.11351 - # flag to pass the commands to the underlying system
1.11352 - # linker.
1.11353 - # Supported since Solaris 2.6 (maybe 2.5.1?)
1.11354 - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
1.11355 - ;;
1.11356 - esac
1.11357 - link_all_deplibs_CXX=yes
1.11358 -
1.11359 - # Commands to make compiler produce verbose output that lists
1.11360 - # what "hidden" libraries, object files and flags are used when
1.11361 - # linking a shared library.
1.11362 - #
1.11363 - # There doesn't appear to be a way to prevent this compiler from
1.11364 - # explicitly linking system object files so we need to strip them
1.11365 - # from the output so that they don't get included in the library
1.11366 - # dependencies.
1.11367 - output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
1.11368 -
1.11369 - # Archives containing C++ object files must be created using
1.11370 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
1.11371 - # necessary to make sure instantiated templates are included
1.11372 - # in the archive.
1.11373 - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
1.11374 - ;;
1.11375 - gcx)
1.11376 - # Green Hills C++ Compiler
1.11377 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.11378 -
1.11379 - # The C++ compiler must be used to create the archive.
1.11380 - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
1.11381 - ;;
1.11382 - *)
1.11383 - # GNU C++ compiler with Solaris linker
1.11384 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.11385 - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
1.11386 - if $CC --version | grep -v '^2\.7' > /dev/null; then
1.11387 - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.11388 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.11389 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.11390 -
1.11391 - # Commands to make compiler produce verbose output that lists
1.11392 - # what "hidden" libraries, object files and flags are used when
1.11393 - # linking a shared library.
1.11394 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
1.11395 - else
1.11396 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
1.11397 - # platform.
1.11398 - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.11399 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.11400 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.11401 -
1.11402 - # Commands to make compiler produce verbose output that lists
1.11403 - # what "hidden" libraries, object files and flags are used when
1.11404 - # linking a shared library.
1.11405 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
1.11406 - fi
1.11407 -
1.11408 - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
1.11409 - fi
1.11410 - ;;
1.11411 - esac
1.11412 - ;;
1.11413 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.11414 - archive_cmds_need_lc_CXX=no
1.11415 - ;;
1.11416 - tandem*)
1.11417 - case $cc_basename in
1.11418 - NCC)
1.11419 - # NonStop-UX NCC 3.20
1.11420 - # FIXME: insert proper C++ library support
1.11421 - ld_shlibs_CXX=no
1.11422 - ;;
1.11423 - *)
1.11424 - # FIXME: insert proper C++ library support
1.11425 - ld_shlibs_CXX=no
1.11426 - ;;
1.11427 - esac
1.11428 - ;;
1.11429 - vxworks*)
1.11430 - # FIXME: insert proper C++ library support
1.11431 - ld_shlibs_CXX=no
1.11432 - ;;
1.11433 - *)
1.11434 - # FIXME: insert proper C++ library support
1.11435 - ld_shlibs_CXX=no
1.11436 - ;;
1.11437 -esac
1.11438 -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1.11439 -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
1.11440 -test "$ld_shlibs_CXX" = no && can_build_shared=no
1.11441 -
1.11442 -GCC_CXX="$GXX"
1.11443 -LD_CXX="$LD"
1.11444 -
1.11445 -## CAVEAT EMPTOR:
1.11446 -## There is no encapsulation within the following macros, do not change
1.11447 -## the running order or otherwise move them around unless you know exactly
1.11448 -## what you are doing...
1.11449 -
1.11450 -cat > conftest.$ac_ext <<EOF
1.11451 -class Foo
1.11452 -{
1.11453 -public:
1.11454 - Foo (void) { a = 0; }
1.11455 -private:
1.11456 - int a;
1.11457 -};
1.11458 -EOF
1.11459 -
1.11460 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.11461 - (eval $ac_compile) 2>&5
1.11462 - ac_status=$?
1.11463 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11464 - (exit $ac_status); }; then
1.11465 - # Parse the compiler output and extract the necessary
1.11466 - # objects, libraries and library flags.
1.11467 -
1.11468 - # Sentinel used to keep track of whether or not we are before
1.11469 - # the conftest object file.
1.11470 - pre_test_object_deps_done=no
1.11471 -
1.11472 - # The `*' in the case matches for architectures that use `case' in
1.11473 - # $output_verbose_cmd can trigger glob expansion during the loop
1.11474 - # eval without this substitution.
1.11475 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
1.11476 -
1.11477 - for p in `eval $output_verbose_link_cmd`; do
1.11478 - case $p in
1.11479 -
1.11480 - -L* | -R* | -l*)
1.11481 - # Some compilers place space between "-{L,R}" and the path.
1.11482 - # Remove the space.
1.11483 - if test $p = "-L" \
1.11484 - || test $p = "-R"; then
1.11485 - prev=$p
1.11486 - continue
1.11487 - else
1.11488 - prev=
1.11489 - fi
1.11490 -
1.11491 - if test "$pre_test_object_deps_done" = no; then
1.11492 - case $p in
1.11493 - -L* | -R*)
1.11494 - # Internal compiler library paths should come after those
1.11495 - # provided the user. The postdeps already come after the
1.11496 - # user supplied libs so there is no need to process them.
1.11497 - if test -z "$compiler_lib_search_path_CXX"; then
1.11498 - compiler_lib_search_path_CXX="${prev}${p}"
1.11499 - else
1.11500 - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
1.11501 - fi
1.11502 - ;;
1.11503 - # The "-l" case would never come before the object being
1.11504 - # linked, so don't bother handling this case.
1.11505 - esac
1.11506 - else
1.11507 - if test -z "$postdeps_CXX"; then
1.11508 - postdeps_CXX="${prev}${p}"
1.11509 - else
1.11510 - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
1.11511 - fi
1.11512 - fi
1.11513 - ;;
1.11514 -
1.11515 - *.$objext)
1.11516 - # This assumes that the test object file only shows up
1.11517 - # once in the compiler output.
1.11518 - if test "$p" = "conftest.$objext"; then
1.11519 - pre_test_object_deps_done=yes
1.11520 - continue
1.11521 - fi
1.11522 -
1.11523 - if test "$pre_test_object_deps_done" = no; then
1.11524 - if test -z "$predep_objects_CXX"; then
1.11525 - predep_objects_CXX="$p"
1.11526 - else
1.11527 - predep_objects_CXX="$predep_objects_CXX $p"
1.11528 - fi
1.11529 - else
1.11530 - if test -z "$postdep_objects_CXX"; then
1.11531 - postdep_objects_CXX="$p"
1.11532 - else
1.11533 - postdep_objects_CXX="$postdep_objects_CXX $p"
1.11534 - fi
1.11535 - fi
1.11536 - ;;
1.11537 -
1.11538 - *) ;; # Ignore the rest.
1.11539 -
1.11540 - esac
1.11541 - done
1.11542 -
1.11543 - # Clean up.
1.11544 - rm -f a.out a.exe
1.11545 -else
1.11546 - echo "libtool.m4: error: problem compiling CXX test program"
1.11547 -fi
1.11548 -
1.11549 -$rm -f confest.$objext
1.11550 -
1.11551 -case " $postdeps_CXX " in
1.11552 -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
1.11553 -esac
1.11554 -
1.11555 -lt_prog_compiler_wl_CXX=
1.11556 -lt_prog_compiler_pic_CXX=
1.11557 -lt_prog_compiler_static_CXX=
1.11558 -
1.11559 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.11560 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.11561 -
1.11562 - # C++ specific cases for pic, static, wl, etc.
1.11563 - if test "$GXX" = yes; then
1.11564 - lt_prog_compiler_wl_CXX='-Wl,'
1.11565 - lt_prog_compiler_static_CXX='-static'
1.11566 -
1.11567 - case $host_os in
1.11568 - aix*)
1.11569 - # All AIX code is PIC.
1.11570 - if test "$host_cpu" = ia64; then
1.11571 - # AIX 5 now supports IA64 processor
1.11572 - lt_prog_compiler_static_CXX='-Bstatic'
1.11573 - fi
1.11574 - ;;
1.11575 - amigaos*)
1.11576 - # FIXME: we need at least 68020 code to build shared libraries, but
1.11577 - # adding the `-m68020' flag to GCC prevents building anything better,
1.11578 - # like `-m68040'.
1.11579 - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
1.11580 - ;;
1.11581 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.11582 - # PIC is the default for these OSes.
1.11583 - ;;
1.11584 - mingw* | os2* | pw32*)
1.11585 - # This hack is so that the source file can tell whether it is being
1.11586 - # built for inclusion in a dll (and should export symbols for example).
1.11587 - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
1.11588 - ;;
1.11589 - darwin* | rhapsody*)
1.11590 - # PIC is the default on this platform
1.11591 - # Common symbols not allowed in MH_DYLIB files
1.11592 - lt_prog_compiler_pic_CXX='-fno-common'
1.11593 - ;;
1.11594 - *djgpp*)
1.11595 - # DJGPP does not support shared libraries at all
1.11596 - lt_prog_compiler_pic_CXX=
1.11597 - ;;
1.11598 - sysv4*MP*)
1.11599 - if test -d /usr/nec; then
1.11600 - lt_prog_compiler_pic_CXX=-Kconform_pic
1.11601 - fi
1.11602 - ;;
1.11603 - hpux*)
1.11604 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.11605 - # not for PA HP-UX.
1.11606 - case "$host_cpu" in
1.11607 - hppa*64*|ia64*)
1.11608 - ;;
1.11609 - *)
1.11610 - lt_prog_compiler_pic_CXX='-fPIC'
1.11611 - ;;
1.11612 - esac
1.11613 - ;;
1.11614 - *)
1.11615 - lt_prog_compiler_pic_CXX='-fPIC'
1.11616 - ;;
1.11617 - esac
1.11618 - else
1.11619 - case $host_os in
1.11620 - aix4* | aix5*)
1.11621 - # All AIX code is PIC.
1.11622 - if test "$host_cpu" = ia64; then
1.11623 - # AIX 5 now supports IA64 processor
1.11624 - lt_prog_compiler_static_CXX='-Bstatic'
1.11625 - else
1.11626 - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
1.11627 - fi
1.11628 - ;;
1.11629 - chorus*)
1.11630 - case $cc_basename in
1.11631 - cxch68)
1.11632 - # Green Hills C++ Compiler
1.11633 - # _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.11634 - ;;
1.11635 - esac
1.11636 - ;;
1.11637 - dgux*)
1.11638 - case $cc_basename in
1.11639 - ec++)
1.11640 - lt_prog_compiler_pic_CXX='-KPIC'
1.11641 - ;;
1.11642 - ghcx)
1.11643 - # Green Hills C++ Compiler
1.11644 - lt_prog_compiler_pic_CXX='-pic'
1.11645 - ;;
1.11646 - *)
1.11647 - ;;
1.11648 - esac
1.11649 - ;;
1.11650 - freebsd* | kfreebsd*-gnu)
1.11651 - # FreeBSD uses GNU C++
1.11652 - ;;
1.11653 - hpux9* | hpux10* | hpux11*)
1.11654 - case $cc_basename in
1.11655 - CC)
1.11656 - lt_prog_compiler_wl_CXX='-Wl,'
1.11657 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1.11658 - if test "$host_cpu" != ia64; then
1.11659 - lt_prog_compiler_pic_CXX='+Z'
1.11660 - fi
1.11661 - ;;
1.11662 - aCC)
1.11663 - lt_prog_compiler_wl_CXX='-Wl,'
1.11664 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1.11665 - case "$host_cpu" in
1.11666 - hppa*64*|ia64*)
1.11667 - # +Z the default
1.11668 - ;;
1.11669 - *)
1.11670 - lt_prog_compiler_pic_CXX='+Z'
1.11671 - ;;
1.11672 - esac
1.11673 - ;;
1.11674 - *)
1.11675 - ;;
1.11676 - esac
1.11677 - ;;
1.11678 - irix5* | irix6* | nonstopux*)
1.11679 - case $cc_basename in
1.11680 - CC)
1.11681 - lt_prog_compiler_wl_CXX='-Wl,'
1.11682 - lt_prog_compiler_static_CXX='-non_shared'
1.11683 - # CC pic flag -KPIC is the default.
1.11684 - ;;
1.11685 - *)
1.11686 - ;;
1.11687 - esac
1.11688 - ;;
1.11689 - linux*)
1.11690 - case $cc_basename in
1.11691 - KCC)
1.11692 - # KAI C++ Compiler
1.11693 - lt_prog_compiler_wl_CXX='--backend -Wl,'
1.11694 - lt_prog_compiler_pic_CXX='-fPIC'
1.11695 - ;;
1.11696 - icpc)
1.11697 - # Intel C++
1.11698 - lt_prog_compiler_wl_CXX='-Wl,'
1.11699 - lt_prog_compiler_pic_CXX='-KPIC'
1.11700 - lt_prog_compiler_static_CXX='-static'
1.11701 - ;;
1.11702 - cxx)
1.11703 - # Compaq C++
1.11704 - # Make sure the PIC flag is empty. It appears that all Alpha
1.11705 - # Linux and Compaq Tru64 Unix objects are PIC.
1.11706 - lt_prog_compiler_pic_CXX=
1.11707 - lt_prog_compiler_static_CXX='-non_shared'
1.11708 - ;;
1.11709 - *)
1.11710 - ;;
1.11711 - esac
1.11712 - ;;
1.11713 - lynxos*)
1.11714 - ;;
1.11715 - m88k*)
1.11716 - ;;
1.11717 - mvs*)
1.11718 - case $cc_basename in
1.11719 - cxx)
1.11720 - lt_prog_compiler_pic_CXX='-W c,exportall'
1.11721 - ;;
1.11722 - *)
1.11723 - ;;
1.11724 - esac
1.11725 - ;;
1.11726 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.11727 - ;;
1.11728 - osf3* | osf4* | osf5*)
1.11729 - case $cc_basename in
1.11730 - KCC)
1.11731 - lt_prog_compiler_wl_CXX='--backend -Wl,'
1.11732 - ;;
1.11733 - RCC)
1.11734 - # Rational C++ 2.4.1
1.11735 - lt_prog_compiler_pic_CXX='-pic'
1.11736 - ;;
1.11737 - cxx)
1.11738 - # Digital/Compaq C++
1.11739 - lt_prog_compiler_wl_CXX='-Wl,'
1.11740 - # Make sure the PIC flag is empty. It appears that all Alpha
1.11741 - # Linux and Compaq Tru64 Unix objects are PIC.
1.11742 - lt_prog_compiler_pic_CXX=
1.11743 - lt_prog_compiler_static_CXX='-non_shared'
1.11744 - ;;
1.11745 - *)
1.11746 - ;;
1.11747 - esac
1.11748 - ;;
1.11749 - psos*)
1.11750 - ;;
1.11751 - sco*)
1.11752 - case $cc_basename in
1.11753 - CC)
1.11754 - lt_prog_compiler_pic_CXX='-fPIC'
1.11755 - ;;
1.11756 - *)
1.11757 - ;;
1.11758 - esac
1.11759 - ;;
1.11760 - solaris*)
1.11761 - case $cc_basename in
1.11762 - CC)
1.11763 - # Sun C++ 4.2, 5.x and Centerline C++
1.11764 - lt_prog_compiler_pic_CXX='-KPIC'
1.11765 - lt_prog_compiler_static_CXX='-Bstatic'
1.11766 - lt_prog_compiler_wl_CXX='-Qoption ld '
1.11767 - ;;
1.11768 - gcx)
1.11769 - # Green Hills C++ Compiler
1.11770 - lt_prog_compiler_pic_CXX='-PIC'
1.11771 - ;;
1.11772 - *)
1.11773 - ;;
1.11774 - esac
1.11775 - ;;
1.11776 - sunos4*)
1.11777 - case $cc_basename in
1.11778 - CC)
1.11779 - # Sun C++ 4.x
1.11780 - lt_prog_compiler_pic_CXX='-pic'
1.11781 - lt_prog_compiler_static_CXX='-Bstatic'
1.11782 - ;;
1.11783 - lcc)
1.11784 - # Lucid
1.11785 - lt_prog_compiler_pic_CXX='-pic'
1.11786 - ;;
1.11787 - *)
1.11788 - ;;
1.11789 - esac
1.11790 - ;;
1.11791 - tandem*)
1.11792 - case $cc_basename in
1.11793 - NCC)
1.11794 - # NonStop-UX NCC 3.20
1.11795 - lt_prog_compiler_pic_CXX='-KPIC'
1.11796 - ;;
1.11797 - *)
1.11798 - ;;
1.11799 - esac
1.11800 - ;;
1.11801 - unixware*)
1.11802 - ;;
1.11803 - vxworks*)
1.11804 - ;;
1.11805 - *)
1.11806 - lt_prog_compiler_can_build_shared_CXX=no
1.11807 - ;;
1.11808 - esac
1.11809 - fi
1.11810 -
1.11811 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
1.11812 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
1.11813 -
1.11814 -#
1.11815 -# Check to make sure the PIC flag actually works.
1.11816 -#
1.11817 -if test -n "$lt_prog_compiler_pic_CXX"; then
1.11818 -
1.11819 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
1.11820 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
1.11821 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
1.11822 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11823 -else
1.11824 - lt_prog_compiler_pic_works_CXX=no
1.11825 - ac_outfile=conftest.$ac_objext
1.11826 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.11827 - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
1.11828 - # Insert the option either (1) after the last *FLAGS variable, or
1.11829 - # (2) before a word containing "conftest.", or (3) at the end.
1.11830 - # Note that $ac_compile itself does not contain backslashes and begins
1.11831 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.11832 - # The option is referenced via a variable to avoid confusing sed.
1.11833 - lt_compile=`echo "$ac_compile" | $SED \
1.11834 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.11835 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.11836 - -e 's:$: $lt_compiler_flag:'`
1.11837 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.11838 - (eval "$lt_compile" 2>conftest.err)
1.11839 - ac_status=$?
1.11840 - cat conftest.err >&5
1.11841 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.11842 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.11843 - # The compiler can only warn and ignore the option if not recognized
1.11844 - # So say no if there are warnings
1.11845 - if test ! -s conftest.err; then
1.11846 - lt_prog_compiler_pic_works_CXX=yes
1.11847 - fi
1.11848 - fi
1.11849 - $rm conftest*
1.11850 -
1.11851 -fi
1.11852 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
1.11853 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
1.11854 -
1.11855 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1.11856 - case $lt_prog_compiler_pic_CXX in
1.11857 - "" | " "*) ;;
1.11858 - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
1.11859 - esac
1.11860 -else
1.11861 - lt_prog_compiler_pic_CXX=
1.11862 - lt_prog_compiler_can_build_shared_CXX=no
1.11863 -fi
1.11864 -
1.11865 -fi
1.11866 -case "$host_os" in
1.11867 - # For platforms which do not support PIC, -DPIC is meaningless:
1.11868 - *djgpp*)
1.11869 - lt_prog_compiler_pic_CXX=
1.11870 - ;;
1.11871 - *)
1.11872 - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
1.11873 - ;;
1.11874 -esac
1.11875 -
1.11876 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.11877 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.11878 -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
1.11879 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11880 -else
1.11881 - lt_cv_prog_compiler_c_o_CXX=no
1.11882 - $rm -r conftest 2>/dev/null
1.11883 - mkdir conftest
1.11884 - cd conftest
1.11885 - mkdir out
1.11886 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.11887 -
1.11888 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.11889 - # Insert the option either (1) after the last *FLAGS variable, or
1.11890 - # (2) before a word containing "conftest.", or (3) at the end.
1.11891 - # Note that $ac_compile itself does not contain backslashes and begins
1.11892 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.11893 - lt_compile=`echo "$ac_compile" | $SED \
1.11894 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.11895 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.11896 - -e 's:$: $lt_compiler_flag:'`
1.11897 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.11898 - (eval "$lt_compile" 2>out/conftest.err)
1.11899 - ac_status=$?
1.11900 - cat out/conftest.err >&5
1.11901 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.11902 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.11903 - then
1.11904 - # The compiler can only warn and ignore the option if not recognized
1.11905 - # So say no if there are warnings
1.11906 - if test ! -s out/conftest.err; then
1.11907 - lt_cv_prog_compiler_c_o_CXX=yes
1.11908 - fi
1.11909 - fi
1.11910 - chmod u+w .
1.11911 - $rm conftest*
1.11912 - # SGI C++ compiler will create directory out/ii_files/ for
1.11913 - # template instantiation
1.11914 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.11915 - $rm out/* && rmdir out
1.11916 - cd ..
1.11917 - rmdir conftest
1.11918 - $rm conftest*
1.11919 -
1.11920 -fi
1.11921 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
1.11922 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.11923 -
1.11924 -
1.11925 -hard_links="nottested"
1.11926 -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1.11927 - # do not overwrite the value of need_locks provided by the user
1.11928 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.11929 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.11930 - hard_links=yes
1.11931 - $rm conftest*
1.11932 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11933 - touch conftest.a
1.11934 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.11935 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11936 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.11937 -echo "${ECHO_T}$hard_links" >&6; }
1.11938 - if test "$hard_links" = no; then
1.11939 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.11940 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.11941 - need_locks=warn
1.11942 - fi
1.11943 -else
1.11944 - need_locks=no
1.11945 -fi
1.11946 -
1.11947 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.11948 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.11949 -
1.11950 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.11951 - case $host_os in
1.11952 - aix4* | aix5*)
1.11953 - # If we're using GNU nm, then we don't want the "-C" option.
1.11954 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.11955 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.11956 - 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.11957 - else
1.11958 - 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.11959 - fi
1.11960 - ;;
1.11961 - pw32*)
1.11962 - export_symbols_cmds_CXX="$ltdll_cmds"
1.11963 - ;;
1.11964 - cygwin* | mingw*)
1.11965 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.11966 - ;;
1.11967 - linux*)
1.11968 - link_all_deplibs_CXX=no
1.11969 - ;;
1.11970 - *)
1.11971 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.11972 - ;;
1.11973 - esac
1.11974 -
1.11975 -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1.11976 -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
1.11977 -test "$ld_shlibs_CXX" = no && can_build_shared=no
1.11978 -
1.11979 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.11980 -if test "$GCC" = yes; then
1.11981 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.11982 -fi
1.11983 -
1.11984 -#
1.11985 -# Do we need to explicitly link libc?
1.11986 -#
1.11987 -case "x$archive_cmds_need_lc_CXX" in
1.11988 -x|xyes)
1.11989 - # Assume -lc should be added
1.11990 - archive_cmds_need_lc_CXX=yes
1.11991 -
1.11992 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.11993 - case $archive_cmds_CXX in
1.11994 - *'~'*)
1.11995 - # FIXME: we may have to deal with multi-command sequences.
1.11996 - ;;
1.11997 - '$CC '*)
1.11998 - # Test whether the compiler implicitly links with -lc since on some
1.11999 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.12000 - # to ld, don't add -lc before -lgcc.
1.12001 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.12002 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.12003 - $rm conftest*
1.12004 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.12005 -
1.12006 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.12007 - (eval $ac_compile) 2>&5
1.12008 - ac_status=$?
1.12009 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12010 - (exit $ac_status); } 2>conftest.err; then
1.12011 - soname=conftest
1.12012 - lib=conftest
1.12013 - libobjs=conftest.$ac_objext
1.12014 - deplibs=
1.12015 - wl=$lt_prog_compiler_wl_CXX
1.12016 - compiler_flags=-v
1.12017 - linker_flags=-v
1.12018 - verstring=
1.12019 - output_objdir=.
1.12020 - libname=conftest
1.12021 - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1.12022 - allow_undefined_flag_CXX=
1.12023 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.12024 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.12025 - ac_status=$?
1.12026 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12027 - (exit $ac_status); }
1.12028 - then
1.12029 - archive_cmds_need_lc_CXX=no
1.12030 - else
1.12031 - archive_cmds_need_lc_CXX=yes
1.12032 - fi
1.12033 - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
1.12034 - else
1.12035 - cat conftest.err 1>&5
1.12036 - fi
1.12037 - $rm conftest*
1.12038 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
1.12039 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
1.12040 - ;;
1.12041 - esac
1.12042 - fi
1.12043 - ;;
1.12044 -esac
1.12045 -
1.12046 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.12047 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.12048 -library_names_spec=
1.12049 -libname_spec='lib$name'
1.12050 -soname_spec=
1.12051 -shrext_cmds=".so"
1.12052 -postinstall_cmds=
1.12053 -postuninstall_cmds=
1.12054 -finish_cmds=
1.12055 -finish_eval=
1.12056 -shlibpath_var=
1.12057 -shlibpath_overrides_runpath=unknown
1.12058 -version_type=none
1.12059 -dynamic_linker="$host_os ld.so"
1.12060 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.12061 -if test "$GCC" = yes; then
1.12062 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.12063 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.12064 - # if the path contains ";" then we assume it to be the separator
1.12065 - # otherwise default to the standard path separator (i.e. ":") - it is
1.12066 - # assumed that no part of a normal pathname contains ";" but that should
1.12067 - # okay in the real world where ";" in dirpaths is itself problematic.
1.12068 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.12069 - else
1.12070 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.12071 - fi
1.12072 -else
1.12073 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.12074 -fi
1.12075 -need_lib_prefix=unknown
1.12076 -hardcode_into_libs=no
1.12077 -
1.12078 -# when you set need_version to no, make sure it does not cause -set_version
1.12079 -# flags to be left without arguments
1.12080 -need_version=unknown
1.12081 -
1.12082 -case $host_os in
1.12083 -aix3*)
1.12084 - version_type=linux
1.12085 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.12086 - shlibpath_var=LIBPATH
1.12087 -
1.12088 - # AIX 3 has no versioning support, so we append a major version to the name.
1.12089 - soname_spec='${libname}${release}${shared_ext}$major'
1.12090 - ;;
1.12091 -
1.12092 -aix4* | aix5*)
1.12093 - version_type=linux
1.12094 - need_lib_prefix=no
1.12095 - need_version=no
1.12096 - hardcode_into_libs=yes
1.12097 - if test "$host_cpu" = ia64; then
1.12098 - # AIX 5 supports IA64
1.12099 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.12100 - shlibpath_var=LD_LIBRARY_PATH
1.12101 - else
1.12102 - # With GCC up to 2.95.x, collect2 would create an import file
1.12103 - # for dependence libraries. The import file would start with
1.12104 - # the line `#! .'. This would cause the generated library to
1.12105 - # depend on `.', always an invalid library. This was fixed in
1.12106 - # development snapshots of GCC prior to 3.0.
1.12107 - case $host_os in
1.12108 - aix4 | aix4.[01] | aix4.[01].*)
1.12109 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.12110 - echo ' yes '
1.12111 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.12112 - :
1.12113 - else
1.12114 - can_build_shared=no
1.12115 - fi
1.12116 - ;;
1.12117 - esac
1.12118 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.12119 - # soname into executable. Probably we can add versioning support to
1.12120 - # collect2, so additional links can be useful in future.
1.12121 - if test "$aix_use_runtimelinking" = yes; then
1.12122 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.12123 - # instead of lib<name>.a to let people know that these are not
1.12124 - # typical AIX shared libraries.
1.12125 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12126 - else
1.12127 - # We preserve .a as extension for shared libraries through AIX4.2
1.12128 - # and later when we are not doing run time linking.
1.12129 - library_names_spec='${libname}${release}.a $libname.a'
1.12130 - soname_spec='${libname}${release}${shared_ext}$major'
1.12131 - fi
1.12132 - shlibpath_var=LIBPATH
1.12133 - fi
1.12134 - ;;
1.12135 -
1.12136 -amigaos*)
1.12137 - library_names_spec='$libname.ixlibrary $libname.a'
1.12138 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.12139 - 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.12140 - ;;
1.12141 -
1.12142 -beos*)
1.12143 - library_names_spec='${libname}${shared_ext}'
1.12144 - dynamic_linker="$host_os ld.so"
1.12145 - shlibpath_var=LIBRARY_PATH
1.12146 - ;;
1.12147 -
1.12148 -bsdi4*)
1.12149 - version_type=linux
1.12150 - need_version=no
1.12151 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12152 - soname_spec='${libname}${release}${shared_ext}$major'
1.12153 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.12154 - shlibpath_var=LD_LIBRARY_PATH
1.12155 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.12156 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.12157 - # the default ld.so.conf also contains /usr/contrib/lib and
1.12158 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.12159 - # libtool to hard-code these into programs
1.12160 - ;;
1.12161 -
1.12162 -cygwin* | mingw* | pw32*)
1.12163 - version_type=windows
1.12164 - shrext_cmds=".dll"
1.12165 - need_version=no
1.12166 - need_lib_prefix=no
1.12167 -
1.12168 - case $GCC,$host_os in
1.12169 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.12170 - library_names_spec='$libname.dll.a'
1.12171 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.12172 - postinstall_cmds='base_file=`basename \${file}`~
1.12173 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.12174 - dldir=$destdir/`dirname \$dlpath`~
1.12175 - test -d \$dldir || mkdir -p \$dldir~
1.12176 - $install_prog $dir/$dlname \$dldir/$dlname'
1.12177 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.12178 - dlpath=$dir/\$dldll~
1.12179 - $rm \$dlpath'
1.12180 - shlibpath_overrides_runpath=yes
1.12181 -
1.12182 - case $host_os in
1.12183 - cygwin*)
1.12184 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.12185 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.12186 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.12187 - ;;
1.12188 - mingw*)
1.12189 - # MinGW DLLs use traditional 'lib' prefix
1.12190 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.12191 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.12192 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.12193 - # It is most probably a Windows format PATH printed by
1.12194 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.12195 - # path with ; separators, and with drive letters. We can handle the
1.12196 - # drive letters (cygwin fileutils understands them), so leave them,
1.12197 - # especially as we might pass files found there to a mingw objdump,
1.12198 - # which wouldn't understand a cygwinified path. Ahh.
1.12199 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.12200 - else
1.12201 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.12202 - fi
1.12203 - ;;
1.12204 - pw32*)
1.12205 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.12206 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.12207 - ;;
1.12208 - esac
1.12209 - ;;
1.12210 -
1.12211 - *)
1.12212 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.12213 - ;;
1.12214 - esac
1.12215 - dynamic_linker='Win32 ld.exe'
1.12216 - # FIXME: first we should search . and the directory the executable is in
1.12217 - shlibpath_var=PATH
1.12218 - ;;
1.12219 -
1.12220 -darwin* | rhapsody*)
1.12221 - dynamic_linker="$host_os dyld"
1.12222 - version_type=darwin
1.12223 - need_lib_prefix=no
1.12224 - need_version=no
1.12225 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.12226 - soname_spec='${libname}${release}${major}$shared_ext'
1.12227 - shlibpath_overrides_runpath=yes
1.12228 - shlibpath_var=DYLD_LIBRARY_PATH
1.12229 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.12230 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.12231 - if test "$GCC" = yes; then
1.12232 - 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.12233 - else
1.12234 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.12235 - fi
1.12236 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.12237 - ;;
1.12238 -
1.12239 -dgux*)
1.12240 - version_type=linux
1.12241 - need_lib_prefix=no
1.12242 - need_version=no
1.12243 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.12244 - soname_spec='${libname}${release}${shared_ext}$major'
1.12245 - shlibpath_var=LD_LIBRARY_PATH
1.12246 - ;;
1.12247 -
1.12248 -freebsd1*)
1.12249 - dynamic_linker=no
1.12250 - ;;
1.12251 -
1.12252 -kfreebsd*-gnu)
1.12253 - version_type=linux
1.12254 - need_lib_prefix=no
1.12255 - need_version=no
1.12256 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.12257 - soname_spec='${libname}${release}${shared_ext}$major'
1.12258 - shlibpath_var=LD_LIBRARY_PATH
1.12259 - shlibpath_overrides_runpath=no
1.12260 - hardcode_into_libs=yes
1.12261 - dynamic_linker='GNU ld.so'
1.12262 - ;;
1.12263 -
1.12264 -freebsd*)
1.12265 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.12266 - version_type=freebsd-$objformat
1.12267 - case $version_type in
1.12268 - freebsd-elf*)
1.12269 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.12270 - need_version=no
1.12271 - need_lib_prefix=no
1.12272 - ;;
1.12273 - freebsd-*)
1.12274 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.12275 - need_version=yes
1.12276 - ;;
1.12277 - esac
1.12278 - shlibpath_var=LD_LIBRARY_PATH
1.12279 - case $host_os in
1.12280 - freebsd2*)
1.12281 - shlibpath_overrides_runpath=yes
1.12282 - ;;
1.12283 - freebsd3.01* | freebsdelf3.01*)
1.12284 - shlibpath_overrides_runpath=yes
1.12285 - hardcode_into_libs=yes
1.12286 - ;;
1.12287 - *) # from 3.2 on
1.12288 - shlibpath_overrides_runpath=no
1.12289 - hardcode_into_libs=yes
1.12290 - ;;
1.12291 - esac
1.12292 - ;;
1.12293 -
1.12294 -gnu*)
1.12295 - version_type=linux
1.12296 - need_lib_prefix=no
1.12297 - need_version=no
1.12298 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.12299 - soname_spec='${libname}${release}${shared_ext}$major'
1.12300 - shlibpath_var=LD_LIBRARY_PATH
1.12301 - hardcode_into_libs=yes
1.12302 - ;;
1.12303 -
1.12304 -hpux9* | hpux10* | hpux11*)
1.12305 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.12306 - # link against other versions.
1.12307 - version_type=sunos
1.12308 - need_lib_prefix=no
1.12309 - need_version=no
1.12310 - case "$host_cpu" in
1.12311 - ia64*)
1.12312 - shrext_cmds='.so'
1.12313 - hardcode_into_libs=yes
1.12314 - dynamic_linker="$host_os dld.so"
1.12315 - shlibpath_var=LD_LIBRARY_PATH
1.12316 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.12317 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12318 - soname_spec='${libname}${release}${shared_ext}$major'
1.12319 - if test "X$HPUX_IA64_MODE" = X32; then
1.12320 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.12321 - else
1.12322 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.12323 - fi
1.12324 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.12325 - ;;
1.12326 - hppa*64*)
1.12327 - shrext_cmds='.sl'
1.12328 - hardcode_into_libs=yes
1.12329 - dynamic_linker="$host_os dld.sl"
1.12330 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.12331 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.12332 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12333 - soname_spec='${libname}${release}${shared_ext}$major'
1.12334 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.12335 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.12336 - ;;
1.12337 - *)
1.12338 - shrext_cmds='.sl'
1.12339 - dynamic_linker="$host_os dld.sl"
1.12340 - shlibpath_var=SHLIB_PATH
1.12341 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.12342 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12343 - soname_spec='${libname}${release}${shared_ext}$major'
1.12344 - ;;
1.12345 - esac
1.12346 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.12347 - postinstall_cmds='chmod 555 $lib'
1.12348 - ;;
1.12349 -
1.12350 -irix5* | irix6* | nonstopux*)
1.12351 - case $host_os in
1.12352 - nonstopux*) version_type=nonstopux ;;
1.12353 - *)
1.12354 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.12355 - version_type=linux
1.12356 - else
1.12357 - version_type=irix
1.12358 - fi ;;
1.12359 - esac
1.12360 - need_lib_prefix=no
1.12361 - need_version=no
1.12362 - soname_spec='${libname}${release}${shared_ext}$major'
1.12363 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.12364 - case $host_os in
1.12365 - irix5* | nonstopux*)
1.12366 - libsuff= shlibsuff=
1.12367 - ;;
1.12368 - *)
1.12369 - case $LD in # libtool.m4 will add one of these switches to LD
1.12370 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.12371 - libsuff= shlibsuff= libmagic=32-bit;;
1.12372 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.12373 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.12374 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.12375 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.12376 - *) libsuff= shlibsuff= libmagic=never-match;;
1.12377 - esac
1.12378 - ;;
1.12379 - esac
1.12380 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.12381 - shlibpath_overrides_runpath=no
1.12382 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.12383 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.12384 - hardcode_into_libs=yes
1.12385 - ;;
1.12386 -
1.12387 -# No shared lib support for Linux oldld, aout, or coff.
1.12388 -linux*oldld* | linux*aout* | linux*coff*)
1.12389 - dynamic_linker=no
1.12390 - ;;
1.12391 -
1.12392 -# This must be Linux ELF.
1.12393 -linux*)
1.12394 - version_type=linux
1.12395 - need_lib_prefix=no
1.12396 - need_version=no
1.12397 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12398 - soname_spec='${libname}${release}${shared_ext}$major'
1.12399 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.12400 - shlibpath_var=LD_LIBRARY_PATH
1.12401 - shlibpath_overrides_runpath=no
1.12402 - # This implies no fast_install, which is unacceptable.
1.12403 - # Some rework will be needed to allow for fast_install
1.12404 - # before this can be enabled.
1.12405 - hardcode_into_libs=yes
1.12406 -
1.12407 - # Append ld.so.conf contents to the search path
1.12408 - if test -f /etc/ld.so.conf; then
1.12409 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.12410 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.12411 - fi
1.12412 -
1.12413 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.12414 - # powerpc, because MkLinux only supported shared libraries with the
1.12415 - # GNU dynamic linker. Since this was broken with cross compilers,
1.12416 - # most powerpc-linux boxes support dynamic linking these days and
1.12417 - # people can always --disable-shared, the test was removed, and we
1.12418 - # assume the GNU/Linux dynamic linker is in use.
1.12419 - dynamic_linker='GNU/Linux ld.so'
1.12420 - ;;
1.12421 -
1.12422 -netbsdelf*-gnu)
1.12423 - version_type=linux
1.12424 - need_lib_prefix=no
1.12425 - need_version=no
1.12426 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.12427 - soname_spec='${libname}${release}${shared_ext}$major'
1.12428 - shlibpath_var=LD_LIBRARY_PATH
1.12429 - shlibpath_overrides_runpath=no
1.12430 - hardcode_into_libs=yes
1.12431 - dynamic_linker='NetBSD ld.elf_so'
1.12432 - ;;
1.12433 -
1.12434 -knetbsd*-gnu)
1.12435 - version_type=linux
1.12436 - need_lib_prefix=no
1.12437 - need_version=no
1.12438 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.12439 - soname_spec='${libname}${release}${shared_ext}$major'
1.12440 - shlibpath_var=LD_LIBRARY_PATH
1.12441 - shlibpath_overrides_runpath=no
1.12442 - hardcode_into_libs=yes
1.12443 - dynamic_linker='GNU ld.so'
1.12444 - ;;
1.12445 -
1.12446 -netbsd*)
1.12447 - version_type=sunos
1.12448 - need_lib_prefix=no
1.12449 - need_version=no
1.12450 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.12451 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12452 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.12453 - dynamic_linker='NetBSD (a.out) ld.so'
1.12454 - else
1.12455 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.12456 - soname_spec='${libname}${release}${shared_ext}$major'
1.12457 - dynamic_linker='NetBSD ld.elf_so'
1.12458 - fi
1.12459 - shlibpath_var=LD_LIBRARY_PATH
1.12460 - shlibpath_overrides_runpath=yes
1.12461 - hardcode_into_libs=yes
1.12462 - ;;
1.12463 -
1.12464 -newsos6)
1.12465 - version_type=linux
1.12466 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12467 - shlibpath_var=LD_LIBRARY_PATH
1.12468 - shlibpath_overrides_runpath=yes
1.12469 - ;;
1.12470 -
1.12471 -nto-qnx*)
1.12472 - version_type=linux
1.12473 - need_lib_prefix=no
1.12474 - need_version=no
1.12475 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12476 - soname_spec='${libname}${release}${shared_ext}$major'
1.12477 - shlibpath_var=LD_LIBRARY_PATH
1.12478 - shlibpath_overrides_runpath=yes
1.12479 - ;;
1.12480 -
1.12481 -openbsd*)
1.12482 - version_type=sunos
1.12483 - need_lib_prefix=no
1.12484 - need_version=yes
1.12485 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12486 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.12487 - shlibpath_var=LD_LIBRARY_PATH
1.12488 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.12489 - case $host_os in
1.12490 - openbsd2.[89] | openbsd2.[89].*)
1.12491 - shlibpath_overrides_runpath=no
1.12492 - ;;
1.12493 - *)
1.12494 - shlibpath_overrides_runpath=yes
1.12495 - ;;
1.12496 - esac
1.12497 - else
1.12498 - shlibpath_overrides_runpath=yes
1.12499 - fi
1.12500 - ;;
1.12501 -
1.12502 -os2*)
1.12503 - libname_spec='$name'
1.12504 - shrext_cmds=".dll"
1.12505 - need_lib_prefix=no
1.12506 - library_names_spec='$libname${shared_ext} $libname.a'
1.12507 - dynamic_linker='OS/2 ld.exe'
1.12508 - shlibpath_var=LIBPATH
1.12509 - ;;
1.12510 -
1.12511 -osf3* | osf4* | osf5*)
1.12512 - version_type=osf
1.12513 - need_lib_prefix=no
1.12514 - need_version=no
1.12515 - soname_spec='${libname}${release}${shared_ext}$major'
1.12516 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12517 - shlibpath_var=LD_LIBRARY_PATH
1.12518 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.12519 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.12520 - ;;
1.12521 -
1.12522 -sco3.2v5*)
1.12523 - version_type=osf
1.12524 - soname_spec='${libname}${release}${shared_ext}$major'
1.12525 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12526 - shlibpath_var=LD_LIBRARY_PATH
1.12527 - ;;
1.12528 -
1.12529 -solaris*)
1.12530 - version_type=linux
1.12531 - need_lib_prefix=no
1.12532 - need_version=no
1.12533 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12534 - soname_spec='${libname}${release}${shared_ext}$major'
1.12535 - shlibpath_var=LD_LIBRARY_PATH
1.12536 - shlibpath_overrides_runpath=yes
1.12537 - hardcode_into_libs=yes
1.12538 - # ldd complains unless libraries are executable
1.12539 - postinstall_cmds='chmod +x $lib'
1.12540 - ;;
1.12541 -
1.12542 -sunos4*)
1.12543 - version_type=sunos
1.12544 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12545 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.12546 - shlibpath_var=LD_LIBRARY_PATH
1.12547 - shlibpath_overrides_runpath=yes
1.12548 - if test "$with_gnu_ld" = yes; then
1.12549 - need_lib_prefix=no
1.12550 - fi
1.12551 - need_version=yes
1.12552 - ;;
1.12553 -
1.12554 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.12555 - version_type=linux
1.12556 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12557 - soname_spec='${libname}${release}${shared_ext}$major'
1.12558 - shlibpath_var=LD_LIBRARY_PATH
1.12559 - case $host_vendor in
1.12560 - sni)
1.12561 - shlibpath_overrides_runpath=no
1.12562 - need_lib_prefix=no
1.12563 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.12564 - runpath_var=LD_RUN_PATH
1.12565 - ;;
1.12566 - siemens)
1.12567 - need_lib_prefix=no
1.12568 - ;;
1.12569 - motorola)
1.12570 - need_lib_prefix=no
1.12571 - need_version=no
1.12572 - shlibpath_overrides_runpath=no
1.12573 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.12574 - ;;
1.12575 - esac
1.12576 - ;;
1.12577 -
1.12578 -sysv4*MP*)
1.12579 - if test -d /usr/nec ;then
1.12580 - version_type=linux
1.12581 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.12582 - soname_spec='$libname${shared_ext}.$major'
1.12583 - shlibpath_var=LD_LIBRARY_PATH
1.12584 - fi
1.12585 - ;;
1.12586 -
1.12587 -uts4*)
1.12588 - version_type=linux
1.12589 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12590 - soname_spec='${libname}${release}${shared_ext}$major'
1.12591 - shlibpath_var=LD_LIBRARY_PATH
1.12592 - ;;
1.12593 -
1.12594 -*)
1.12595 - dynamic_linker=no
1.12596 - ;;
1.12597 -esac
1.12598 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.12599 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.12600 -test "$dynamic_linker" = no && can_build_shared=no
1.12601 -
1.12602 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.12603 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.12604 -hardcode_action_CXX=
1.12605 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
1.12606 - test -n "$runpath_var CXX" || \
1.12607 - test "X$hardcode_automatic_CXX"="Xyes" ; then
1.12608 -
1.12609 - # We can hardcode non-existant directories.
1.12610 - if test "$hardcode_direct_CXX" != no &&
1.12611 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.12612 - # have to relink, otherwise we might link with an installed library
1.12613 - # when we should be linking with a yet-to-be-installed one
1.12614 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
1.12615 - test "$hardcode_minus_L_CXX" != no; then
1.12616 - # Linking always hardcodes the temporary library directory.
1.12617 - hardcode_action_CXX=relink
1.12618 - else
1.12619 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.12620 - hardcode_action_CXX=immediate
1.12621 - fi
1.12622 -else
1.12623 - # We cannot hardcode anything, or else we can only hardcode existing
1.12624 - # directories.
1.12625 - hardcode_action_CXX=unsupported
1.12626 -fi
1.12627 -{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
1.12628 -echo "${ECHO_T}$hardcode_action_CXX" >&6; }
1.12629 -
1.12630 -if test "$hardcode_action_CXX" = relink; then
1.12631 - # Fast installation is not supported
1.12632 - enable_fast_install=no
1.12633 -elif test "$shlibpath_overrides_runpath" = yes ||
1.12634 - test "$enable_shared" = no; then
1.12635 - # Fast installation is not necessary
1.12636 - enable_fast_install=needless
1.12637 -fi
1.12638 -
1.12639 -striplib=
1.12640 -old_striplib=
1.12641 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.12642 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.12643 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.12644 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.12645 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.12646 - { echo "$as_me:$LINENO: result: yes" >&5
1.12647 -echo "${ECHO_T}yes" >&6; }
1.12648 -else
1.12649 -# FIXME - insert some real tests, host_os isn't really good enough
1.12650 - case $host_os in
1.12651 - darwin*)
1.12652 - if test -n "$STRIP" ; then
1.12653 - striplib="$STRIP -x"
1.12654 - { echo "$as_me:$LINENO: result: yes" >&5
1.12655 -echo "${ECHO_T}yes" >&6; }
1.12656 - else
1.12657 - { echo "$as_me:$LINENO: result: no" >&5
1.12658 -echo "${ECHO_T}no" >&6; }
1.12659 -fi
1.12660 - ;;
1.12661 - *)
1.12662 - { echo "$as_me:$LINENO: result: no" >&5
1.12663 -echo "${ECHO_T}no" >&6; }
1.12664 - ;;
1.12665 - esac
1.12666 -fi
1.12667 -
1.12668 -if test "x$enable_dlopen" != xyes; then
1.12669 - enable_dlopen=unknown
1.12670 - enable_dlopen_self=unknown
1.12671 - enable_dlopen_self_static=unknown
1.12672 -else
1.12673 - lt_cv_dlopen=no
1.12674 - lt_cv_dlopen_libs=
1.12675 -
1.12676 - case $host_os in
1.12677 - beos*)
1.12678 - lt_cv_dlopen="load_add_on"
1.12679 - lt_cv_dlopen_libs=
1.12680 - lt_cv_dlopen_self=yes
1.12681 - ;;
1.12682 -
1.12683 - mingw* | pw32*)
1.12684 - lt_cv_dlopen="LoadLibrary"
1.12685 - lt_cv_dlopen_libs=
1.12686 - ;;
1.12687 -
1.12688 - cygwin*)
1.12689 - lt_cv_dlopen="dlopen"
1.12690 - lt_cv_dlopen_libs=
1.12691 - ;;
1.12692 -
1.12693 - darwin*)
1.12694 - # if libdl is installed we need to link against it
1.12695 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.12696 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.12697 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.12698 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12699 -else
1.12700 - ac_check_lib_save_LIBS=$LIBS
1.12701 -LIBS="-ldl $LIBS"
1.12702 -cat >conftest.$ac_ext <<_ACEOF
1.12703 -/* confdefs.h. */
1.12704 -_ACEOF
1.12705 -cat confdefs.h >>conftest.$ac_ext
1.12706 -cat >>conftest.$ac_ext <<_ACEOF
1.12707 -/* end confdefs.h. */
1.12708 -
1.12709 -/* Override any GCC internal prototype to avoid an error.
1.12710 - Use char because int might match the return type of a GCC
1.12711 - builtin and then its argument prototype would still apply. */
1.12712 -#ifdef __cplusplus
1.12713 -extern "C"
1.12714 -#endif
1.12715 -char dlopen ();
1.12716 -int
1.12717 -main ()
1.12718 -{
1.12719 -return dlopen ();
1.12720 - ;
1.12721 - return 0;
1.12722 -}
1.12723 -_ACEOF
1.12724 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12725 -if { (ac_try="$ac_link"
1.12726 -case "(($ac_try" in
1.12727 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12728 - *) ac_try_echo=$ac_try;;
1.12729 -esac
1.12730 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12731 - (eval "$ac_link") 2>conftest.er1
1.12732 - ac_status=$?
1.12733 - grep -v '^ *+' conftest.er1 >conftest.err
1.12734 - rm -f conftest.er1
1.12735 - cat conftest.err >&5
1.12736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12737 - (exit $ac_status); } && {
1.12738 - test -z "$ac_cxx_werror_flag" ||
1.12739 - test ! -s conftest.err
1.12740 - } && test -s conftest$ac_exeext &&
1.12741 - $as_test_x conftest$ac_exeext; then
1.12742 - ac_cv_lib_dl_dlopen=yes
1.12743 -else
1.12744 - echo "$as_me: failed program was:" >&5
1.12745 -sed 's/^/| /' conftest.$ac_ext >&5
1.12746 -
1.12747 - ac_cv_lib_dl_dlopen=no
1.12748 -fi
1.12749 -
1.12750 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12751 - conftest$ac_exeext conftest.$ac_ext
1.12752 -LIBS=$ac_check_lib_save_LIBS
1.12753 -fi
1.12754 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.12755 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.12756 -if test $ac_cv_lib_dl_dlopen = yes; then
1.12757 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.12758 -else
1.12759 -
1.12760 - lt_cv_dlopen="dyld"
1.12761 - lt_cv_dlopen_libs=
1.12762 - lt_cv_dlopen_self=yes
1.12763 -
1.12764 -fi
1.12765 -
1.12766 - ;;
1.12767 -
1.12768 - *)
1.12769 - { echo "$as_me:$LINENO: checking for shl_load" >&5
1.12770 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
1.12771 -if test "${ac_cv_func_shl_load+set}" = set; then
1.12772 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12773 -else
1.12774 - cat >conftest.$ac_ext <<_ACEOF
1.12775 -/* confdefs.h. */
1.12776 -_ACEOF
1.12777 -cat confdefs.h >>conftest.$ac_ext
1.12778 -cat >>conftest.$ac_ext <<_ACEOF
1.12779 -/* end confdefs.h. */
1.12780 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.12781 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.12782 -#define shl_load innocuous_shl_load
1.12783 -
1.12784 -/* System header to define __stub macros and hopefully few prototypes,
1.12785 - which can conflict with char shl_load (); below.
1.12786 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.12787 - <limits.h> exists even on freestanding compilers. */
1.12788 -
1.12789 -#ifdef __STDC__
1.12790 -# include <limits.h>
1.12791 -#else
1.12792 -# include <assert.h>
1.12793 -#endif
1.12794 -
1.12795 -#undef shl_load
1.12796 -
1.12797 -/* Override any GCC internal prototype to avoid an error.
1.12798 - Use char because int might match the return type of a GCC
1.12799 - builtin and then its argument prototype would still apply. */
1.12800 -#ifdef __cplusplus
1.12801 -extern "C"
1.12802 -#endif
1.12803 -char shl_load ();
1.12804 -/* The GNU C library defines this for functions which it implements
1.12805 - to always fail with ENOSYS. Some functions are actually named
1.12806 - something starting with __ and the normal name is an alias. */
1.12807 -#if defined __stub_shl_load || defined __stub___shl_load
1.12808 -choke me
1.12809 -#endif
1.12810 -
1.12811 -int
1.12812 -main ()
1.12813 -{
1.12814 -return shl_load ();
1.12815 - ;
1.12816 - return 0;
1.12817 -}
1.12818 -_ACEOF
1.12819 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12820 -if { (ac_try="$ac_link"
1.12821 -case "(($ac_try" in
1.12822 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12823 - *) ac_try_echo=$ac_try;;
1.12824 -esac
1.12825 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12826 - (eval "$ac_link") 2>conftest.er1
1.12827 - ac_status=$?
1.12828 - grep -v '^ *+' conftest.er1 >conftest.err
1.12829 - rm -f conftest.er1
1.12830 - cat conftest.err >&5
1.12831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12832 - (exit $ac_status); } && {
1.12833 - test -z "$ac_cxx_werror_flag" ||
1.12834 - test ! -s conftest.err
1.12835 - } && test -s conftest$ac_exeext &&
1.12836 - $as_test_x conftest$ac_exeext; then
1.12837 - ac_cv_func_shl_load=yes
1.12838 -else
1.12839 - echo "$as_me: failed program was:" >&5
1.12840 -sed 's/^/| /' conftest.$ac_ext >&5
1.12841 -
1.12842 - ac_cv_func_shl_load=no
1.12843 -fi
1.12844 -
1.12845 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12846 - conftest$ac_exeext conftest.$ac_ext
1.12847 -fi
1.12848 -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.12849 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
1.12850 -if test $ac_cv_func_shl_load = yes; then
1.12851 - lt_cv_dlopen="shl_load"
1.12852 -else
1.12853 - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.12854 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
1.12855 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.12856 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12857 -else
1.12858 - ac_check_lib_save_LIBS=$LIBS
1.12859 -LIBS="-ldld $LIBS"
1.12860 -cat >conftest.$ac_ext <<_ACEOF
1.12861 -/* confdefs.h. */
1.12862 -_ACEOF
1.12863 -cat confdefs.h >>conftest.$ac_ext
1.12864 -cat >>conftest.$ac_ext <<_ACEOF
1.12865 -/* end confdefs.h. */
1.12866 -
1.12867 -/* Override any GCC internal prototype to avoid an error.
1.12868 - Use char because int might match the return type of a GCC
1.12869 - builtin and then its argument prototype would still apply. */
1.12870 -#ifdef __cplusplus
1.12871 -extern "C"
1.12872 -#endif
1.12873 -char shl_load ();
1.12874 -int
1.12875 -main ()
1.12876 -{
1.12877 -return shl_load ();
1.12878 - ;
1.12879 - return 0;
1.12880 -}
1.12881 -_ACEOF
1.12882 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12883 -if { (ac_try="$ac_link"
1.12884 -case "(($ac_try" in
1.12885 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12886 - *) ac_try_echo=$ac_try;;
1.12887 -esac
1.12888 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12889 - (eval "$ac_link") 2>conftest.er1
1.12890 - ac_status=$?
1.12891 - grep -v '^ *+' conftest.er1 >conftest.err
1.12892 - rm -f conftest.er1
1.12893 - cat conftest.err >&5
1.12894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12895 - (exit $ac_status); } && {
1.12896 - test -z "$ac_cxx_werror_flag" ||
1.12897 - test ! -s conftest.err
1.12898 - } && test -s conftest$ac_exeext &&
1.12899 - $as_test_x conftest$ac_exeext; then
1.12900 - ac_cv_lib_dld_shl_load=yes
1.12901 -else
1.12902 - echo "$as_me: failed program was:" >&5
1.12903 -sed 's/^/| /' conftest.$ac_ext >&5
1.12904 -
1.12905 - ac_cv_lib_dld_shl_load=no
1.12906 -fi
1.12907 -
1.12908 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12909 - conftest$ac_exeext conftest.$ac_ext
1.12910 -LIBS=$ac_check_lib_save_LIBS
1.12911 -fi
1.12912 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.12913 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
1.12914 -if test $ac_cv_lib_dld_shl_load = yes; then
1.12915 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.12916 -else
1.12917 - { echo "$as_me:$LINENO: checking for dlopen" >&5
1.12918 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
1.12919 -if test "${ac_cv_func_dlopen+set}" = set; then
1.12920 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12921 -else
1.12922 - cat >conftest.$ac_ext <<_ACEOF
1.12923 -/* confdefs.h. */
1.12924 -_ACEOF
1.12925 -cat confdefs.h >>conftest.$ac_ext
1.12926 -cat >>conftest.$ac_ext <<_ACEOF
1.12927 -/* end confdefs.h. */
1.12928 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.12929 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.12930 -#define dlopen innocuous_dlopen
1.12931 -
1.12932 -/* System header to define __stub macros and hopefully few prototypes,
1.12933 - which can conflict with char dlopen (); below.
1.12934 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.12935 - <limits.h> exists even on freestanding compilers. */
1.12936 -
1.12937 -#ifdef __STDC__
1.12938 -# include <limits.h>
1.12939 -#else
1.12940 -# include <assert.h>
1.12941 -#endif
1.12942 -
1.12943 -#undef dlopen
1.12944 -
1.12945 -/* Override any GCC internal prototype to avoid an error.
1.12946 - Use char because int might match the return type of a GCC
1.12947 - builtin and then its argument prototype would still apply. */
1.12948 -#ifdef __cplusplus
1.12949 -extern "C"
1.12950 -#endif
1.12951 -char dlopen ();
1.12952 -/* The GNU C library defines this for functions which it implements
1.12953 - to always fail with ENOSYS. Some functions are actually named
1.12954 - something starting with __ and the normal name is an alias. */
1.12955 -#if defined __stub_dlopen || defined __stub___dlopen
1.12956 -choke me
1.12957 -#endif
1.12958 -
1.12959 -int
1.12960 -main ()
1.12961 -{
1.12962 -return dlopen ();
1.12963 - ;
1.12964 - return 0;
1.12965 -}
1.12966 -_ACEOF
1.12967 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12968 -if { (ac_try="$ac_link"
1.12969 -case "(($ac_try" in
1.12970 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12971 - *) ac_try_echo=$ac_try;;
1.12972 -esac
1.12973 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12974 - (eval "$ac_link") 2>conftest.er1
1.12975 - ac_status=$?
1.12976 - grep -v '^ *+' conftest.er1 >conftest.err
1.12977 - rm -f conftest.er1
1.12978 - cat conftest.err >&5
1.12979 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12980 - (exit $ac_status); } && {
1.12981 - test -z "$ac_cxx_werror_flag" ||
1.12982 - test ! -s conftest.err
1.12983 - } && test -s conftest$ac_exeext &&
1.12984 - $as_test_x conftest$ac_exeext; then
1.12985 - ac_cv_func_dlopen=yes
1.12986 -else
1.12987 - echo "$as_me: failed program was:" >&5
1.12988 -sed 's/^/| /' conftest.$ac_ext >&5
1.12989 -
1.12990 - ac_cv_func_dlopen=no
1.12991 -fi
1.12992 -
1.12993 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12994 - conftest$ac_exeext conftest.$ac_ext
1.12995 -fi
1.12996 -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.12997 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
1.12998 -if test $ac_cv_func_dlopen = yes; then
1.12999 - lt_cv_dlopen="dlopen"
1.13000 -else
1.13001 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.13002 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.13003 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.13004 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13005 -else
1.13006 - ac_check_lib_save_LIBS=$LIBS
1.13007 -LIBS="-ldl $LIBS"
1.13008 -cat >conftest.$ac_ext <<_ACEOF
1.13009 -/* confdefs.h. */
1.13010 -_ACEOF
1.13011 -cat confdefs.h >>conftest.$ac_ext
1.13012 -cat >>conftest.$ac_ext <<_ACEOF
1.13013 -/* end confdefs.h. */
1.13014 -
1.13015 -/* Override any GCC internal prototype to avoid an error.
1.13016 - Use char because int might match the return type of a GCC
1.13017 - builtin and then its argument prototype would still apply. */
1.13018 -#ifdef __cplusplus
1.13019 -extern "C"
1.13020 -#endif
1.13021 -char dlopen ();
1.13022 -int
1.13023 -main ()
1.13024 -{
1.13025 -return dlopen ();
1.13026 - ;
1.13027 - return 0;
1.13028 -}
1.13029 -_ACEOF
1.13030 -rm -f conftest.$ac_objext conftest$ac_exeext
1.13031 -if { (ac_try="$ac_link"
1.13032 -case "(($ac_try" in
1.13033 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.13034 - *) ac_try_echo=$ac_try;;
1.13035 -esac
1.13036 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.13037 - (eval "$ac_link") 2>conftest.er1
1.13038 - ac_status=$?
1.13039 - grep -v '^ *+' conftest.er1 >conftest.err
1.13040 - rm -f conftest.er1
1.13041 - cat conftest.err >&5
1.13042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13043 - (exit $ac_status); } && {
1.13044 - test -z "$ac_cxx_werror_flag" ||
1.13045 - test ! -s conftest.err
1.13046 - } && test -s conftest$ac_exeext &&
1.13047 - $as_test_x conftest$ac_exeext; then
1.13048 - ac_cv_lib_dl_dlopen=yes
1.13049 -else
1.13050 - echo "$as_me: failed program was:" >&5
1.13051 -sed 's/^/| /' conftest.$ac_ext >&5
1.13052 -
1.13053 - ac_cv_lib_dl_dlopen=no
1.13054 -fi
1.13055 -
1.13056 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.13057 - conftest$ac_exeext conftest.$ac_ext
1.13058 -LIBS=$ac_check_lib_save_LIBS
1.13059 -fi
1.13060 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.13061 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.13062 -if test $ac_cv_lib_dl_dlopen = yes; then
1.13063 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.13064 -else
1.13065 - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.13066 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
1.13067 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.13068 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13069 -else
1.13070 - ac_check_lib_save_LIBS=$LIBS
1.13071 -LIBS="-lsvld $LIBS"
1.13072 -cat >conftest.$ac_ext <<_ACEOF
1.13073 -/* confdefs.h. */
1.13074 -_ACEOF
1.13075 -cat confdefs.h >>conftest.$ac_ext
1.13076 -cat >>conftest.$ac_ext <<_ACEOF
1.13077 -/* end confdefs.h. */
1.13078 -
1.13079 -/* Override any GCC internal prototype to avoid an error.
1.13080 - Use char because int might match the return type of a GCC
1.13081 - builtin and then its argument prototype would still apply. */
1.13082 -#ifdef __cplusplus
1.13083 -extern "C"
1.13084 -#endif
1.13085 -char dlopen ();
1.13086 -int
1.13087 -main ()
1.13088 -{
1.13089 -return dlopen ();
1.13090 - ;
1.13091 - return 0;
1.13092 -}
1.13093 -_ACEOF
1.13094 -rm -f conftest.$ac_objext conftest$ac_exeext
1.13095 -if { (ac_try="$ac_link"
1.13096 -case "(($ac_try" in
1.13097 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.13098 - *) ac_try_echo=$ac_try;;
1.13099 -esac
1.13100 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.13101 - (eval "$ac_link") 2>conftest.er1
1.13102 - ac_status=$?
1.13103 - grep -v '^ *+' conftest.er1 >conftest.err
1.13104 - rm -f conftest.er1
1.13105 - cat conftest.err >&5
1.13106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13107 - (exit $ac_status); } && {
1.13108 - test -z "$ac_cxx_werror_flag" ||
1.13109 - test ! -s conftest.err
1.13110 - } && test -s conftest$ac_exeext &&
1.13111 - $as_test_x conftest$ac_exeext; then
1.13112 - ac_cv_lib_svld_dlopen=yes
1.13113 -else
1.13114 - echo "$as_me: failed program was:" >&5
1.13115 -sed 's/^/| /' conftest.$ac_ext >&5
1.13116 -
1.13117 - ac_cv_lib_svld_dlopen=no
1.13118 -fi
1.13119 -
1.13120 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.13121 - conftest$ac_exeext conftest.$ac_ext
1.13122 -LIBS=$ac_check_lib_save_LIBS
1.13123 -fi
1.13124 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.13125 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
1.13126 -if test $ac_cv_lib_svld_dlopen = yes; then
1.13127 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.13128 -else
1.13129 - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.13130 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
1.13131 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.13132 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13133 -else
1.13134 - ac_check_lib_save_LIBS=$LIBS
1.13135 -LIBS="-ldld $LIBS"
1.13136 -cat >conftest.$ac_ext <<_ACEOF
1.13137 -/* confdefs.h. */
1.13138 -_ACEOF
1.13139 -cat confdefs.h >>conftest.$ac_ext
1.13140 -cat >>conftest.$ac_ext <<_ACEOF
1.13141 -/* end confdefs.h. */
1.13142 -
1.13143 -/* Override any GCC internal prototype to avoid an error.
1.13144 - Use char because int might match the return type of a GCC
1.13145 - builtin and then its argument prototype would still apply. */
1.13146 -#ifdef __cplusplus
1.13147 -extern "C"
1.13148 -#endif
1.13149 -char dld_link ();
1.13150 -int
1.13151 -main ()
1.13152 -{
1.13153 -return dld_link ();
1.13154 - ;
1.13155 - return 0;
1.13156 -}
1.13157 -_ACEOF
1.13158 -rm -f conftest.$ac_objext conftest$ac_exeext
1.13159 -if { (ac_try="$ac_link"
1.13160 -case "(($ac_try" in
1.13161 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.13162 - *) ac_try_echo=$ac_try;;
1.13163 -esac
1.13164 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.13165 - (eval "$ac_link") 2>conftest.er1
1.13166 - ac_status=$?
1.13167 - grep -v '^ *+' conftest.er1 >conftest.err
1.13168 - rm -f conftest.er1
1.13169 - cat conftest.err >&5
1.13170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13171 - (exit $ac_status); } && {
1.13172 - test -z "$ac_cxx_werror_flag" ||
1.13173 - test ! -s conftest.err
1.13174 - } && test -s conftest$ac_exeext &&
1.13175 - $as_test_x conftest$ac_exeext; then
1.13176 - ac_cv_lib_dld_dld_link=yes
1.13177 -else
1.13178 - echo "$as_me: failed program was:" >&5
1.13179 -sed 's/^/| /' conftest.$ac_ext >&5
1.13180 -
1.13181 - ac_cv_lib_dld_dld_link=no
1.13182 -fi
1.13183 -
1.13184 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.13185 - conftest$ac_exeext conftest.$ac_ext
1.13186 -LIBS=$ac_check_lib_save_LIBS
1.13187 -fi
1.13188 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.13189 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
1.13190 -if test $ac_cv_lib_dld_dld_link = yes; then
1.13191 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.13192 -fi
1.13193 -
1.13194 -
1.13195 -fi
1.13196 -
1.13197 -
1.13198 -fi
1.13199 -
1.13200 -
1.13201 -fi
1.13202 -
1.13203 -
1.13204 -fi
1.13205 -
1.13206 -
1.13207 -fi
1.13208 -
1.13209 - ;;
1.13210 - esac
1.13211 -
1.13212 - if test "x$lt_cv_dlopen" != xno; then
1.13213 - enable_dlopen=yes
1.13214 - else
1.13215 - enable_dlopen=no
1.13216 - fi
1.13217 -
1.13218 - case $lt_cv_dlopen in
1.13219 - dlopen)
1.13220 - save_CPPFLAGS="$CPPFLAGS"
1.13221 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.13222 -
1.13223 - save_LDFLAGS="$LDFLAGS"
1.13224 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.13225 -
1.13226 - save_LIBS="$LIBS"
1.13227 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.13228 -
1.13229 - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.13230 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
1.13231 -if test "${lt_cv_dlopen_self+set}" = set; then
1.13232 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13233 -else
1.13234 - if test "$cross_compiling" = yes; then :
1.13235 - lt_cv_dlopen_self=cross
1.13236 -else
1.13237 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.13238 - lt_status=$lt_dlunknown
1.13239 - cat > conftest.$ac_ext <<EOF
1.13240 -#line __oline__ "configure"
1.13241 -#include "confdefs.h"
1.13242 -
1.13243 -#if HAVE_DLFCN_H
1.13244 -#include <dlfcn.h>
1.13245 -#endif
1.13246 -
1.13247 -#include <stdio.h>
1.13248 -
1.13249 -#ifdef RTLD_GLOBAL
1.13250 -# define LT_DLGLOBAL RTLD_GLOBAL
1.13251 -#else
1.13252 -# ifdef DL_GLOBAL
1.13253 -# define LT_DLGLOBAL DL_GLOBAL
1.13254 -# else
1.13255 -# define LT_DLGLOBAL 0
1.13256 -# endif
1.13257 -#endif
1.13258 -
1.13259 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.13260 - find out it does not work in some platform. */
1.13261 -#ifndef LT_DLLAZY_OR_NOW
1.13262 -# ifdef RTLD_LAZY
1.13263 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.13264 -# else
1.13265 -# ifdef DL_LAZY
1.13266 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.13267 -# else
1.13268 -# ifdef RTLD_NOW
1.13269 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.13270 -# else
1.13271 -# ifdef DL_NOW
1.13272 -# define LT_DLLAZY_OR_NOW DL_NOW
1.13273 -# else
1.13274 -# define LT_DLLAZY_OR_NOW 0
1.13275 -# endif
1.13276 -# endif
1.13277 -# endif
1.13278 -# endif
1.13279 -#endif
1.13280 -
1.13281 -#ifdef __cplusplus
1.13282 -extern "C" void exit (int);
1.13283 -#endif
1.13284 -
1.13285 -void fnord() { int i=42;}
1.13286 -int main ()
1.13287 -{
1.13288 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.13289 - int status = $lt_dlunknown;
1.13290 -
1.13291 - if (self)
1.13292 - {
1.13293 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.13294 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.13295 - /* dlclose (self); */
1.13296 - }
1.13297 -
1.13298 - exit (status);
1.13299 -}
1.13300 -EOF
1.13301 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.13302 - (eval $ac_link) 2>&5
1.13303 - ac_status=$?
1.13304 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13305 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.13306 - (./conftest; exit; ) 2>/dev/null
1.13307 - lt_status=$?
1.13308 - case x$lt_status in
1.13309 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.13310 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.13311 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.13312 - esac
1.13313 - else :
1.13314 - # compilation failed
1.13315 - lt_cv_dlopen_self=no
1.13316 - fi
1.13317 -fi
1.13318 -rm -fr conftest*
1.13319 -
1.13320 -
1.13321 -fi
1.13322 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.13323 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
1.13324 -
1.13325 - if test "x$lt_cv_dlopen_self" = xyes; then
1.13326 - LDFLAGS="$LDFLAGS $link_static_flag"
1.13327 - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.13328 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
1.13329 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.13330 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13331 -else
1.13332 - if test "$cross_compiling" = yes; then :
1.13333 - lt_cv_dlopen_self_static=cross
1.13334 -else
1.13335 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.13336 - lt_status=$lt_dlunknown
1.13337 - cat > conftest.$ac_ext <<EOF
1.13338 -#line __oline__ "configure"
1.13339 -#include "confdefs.h"
1.13340 -
1.13341 -#if HAVE_DLFCN_H
1.13342 -#include <dlfcn.h>
1.13343 -#endif
1.13344 -
1.13345 -#include <stdio.h>
1.13346 -
1.13347 -#ifdef RTLD_GLOBAL
1.13348 -# define LT_DLGLOBAL RTLD_GLOBAL
1.13349 -#else
1.13350 -# ifdef DL_GLOBAL
1.13351 -# define LT_DLGLOBAL DL_GLOBAL
1.13352 -# else
1.13353 -# define LT_DLGLOBAL 0
1.13354 -# endif
1.13355 -#endif
1.13356 -
1.13357 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.13358 - find out it does not work in some platform. */
1.13359 -#ifndef LT_DLLAZY_OR_NOW
1.13360 -# ifdef RTLD_LAZY
1.13361 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.13362 -# else
1.13363 -# ifdef DL_LAZY
1.13364 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.13365 -# else
1.13366 -# ifdef RTLD_NOW
1.13367 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.13368 -# else
1.13369 -# ifdef DL_NOW
1.13370 -# define LT_DLLAZY_OR_NOW DL_NOW
1.13371 -# else
1.13372 -# define LT_DLLAZY_OR_NOW 0
1.13373 -# endif
1.13374 -# endif
1.13375 -# endif
1.13376 -# endif
1.13377 -#endif
1.13378 -
1.13379 -#ifdef __cplusplus
1.13380 -extern "C" void exit (int);
1.13381 -#endif
1.13382 -
1.13383 -void fnord() { int i=42;}
1.13384 -int main ()
1.13385 -{
1.13386 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.13387 - int status = $lt_dlunknown;
1.13388 -
1.13389 - if (self)
1.13390 - {
1.13391 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.13392 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.13393 - /* dlclose (self); */
1.13394 - }
1.13395 -
1.13396 - exit (status);
1.13397 -}
1.13398 -EOF
1.13399 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.13400 - (eval $ac_link) 2>&5
1.13401 - ac_status=$?
1.13402 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13403 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.13404 - (./conftest; exit; ) 2>/dev/null
1.13405 - lt_status=$?
1.13406 - case x$lt_status in
1.13407 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.13408 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.13409 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.13410 - esac
1.13411 - else :
1.13412 - # compilation failed
1.13413 - lt_cv_dlopen_self_static=no
1.13414 - fi
1.13415 -fi
1.13416 -rm -fr conftest*
1.13417 -
1.13418 -
1.13419 -fi
1.13420 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.13421 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
1.13422 - fi
1.13423 -
1.13424 - CPPFLAGS="$save_CPPFLAGS"
1.13425 - LDFLAGS="$save_LDFLAGS"
1.13426 - LIBS="$save_LIBS"
1.13427 - ;;
1.13428 - esac
1.13429 -
1.13430 - case $lt_cv_dlopen_self in
1.13431 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.13432 - *) enable_dlopen_self=unknown ;;
1.13433 - esac
1.13434 -
1.13435 - case $lt_cv_dlopen_self_static in
1.13436 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.13437 - *) enable_dlopen_self_static=unknown ;;
1.13438 - esac
1.13439 -fi
1.13440 -
1.13441 -
1.13442 -# The else clause should only fire when bootstrapping the
1.13443 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.13444 -# with your package, and you will get complaints that there are
1.13445 -# no rules to generate ltmain.sh.
1.13446 -if test -f "$ltmain"; then
1.13447 - # See if we are running on zsh, and set the options which allow our commands through
1.13448 - # without removal of \ escapes.
1.13449 - if test -n "${ZSH_VERSION+set}" ; then
1.13450 - setopt NO_GLOB_SUBST
1.13451 - fi
1.13452 - # Now quote all the things that may contain metacharacters while being
1.13453 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.13454 - # variables and quote the copies for generation of the libtool script.
1.13455 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.13456 - SED SHELL STRIP \
1.13457 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.13458 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.13459 - deplibs_check_method reload_flag reload_cmds need_locks \
1.13460 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.13461 - lt_cv_sys_global_symbol_to_c_name_address \
1.13462 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.13463 - old_postinstall_cmds old_postuninstall_cmds \
1.13464 - compiler_CXX \
1.13465 - CC_CXX \
1.13466 - LD_CXX \
1.13467 - lt_prog_compiler_wl_CXX \
1.13468 - lt_prog_compiler_pic_CXX \
1.13469 - lt_prog_compiler_static_CXX \
1.13470 - lt_prog_compiler_no_builtin_flag_CXX \
1.13471 - export_dynamic_flag_spec_CXX \
1.13472 - thread_safe_flag_spec_CXX \
1.13473 - whole_archive_flag_spec_CXX \
1.13474 - enable_shared_with_static_runtimes_CXX \
1.13475 - old_archive_cmds_CXX \
1.13476 - old_archive_from_new_cmds_CXX \
1.13477 - predep_objects_CXX \
1.13478 - postdep_objects_CXX \
1.13479 - predeps_CXX \
1.13480 - postdeps_CXX \
1.13481 - compiler_lib_search_path_CXX \
1.13482 - archive_cmds_CXX \
1.13483 - archive_expsym_cmds_CXX \
1.13484 - postinstall_cmds_CXX \
1.13485 - postuninstall_cmds_CXX \
1.13486 - old_archive_from_expsyms_cmds_CXX \
1.13487 - allow_undefined_flag_CXX \
1.13488 - no_undefined_flag_CXX \
1.13489 - export_symbols_cmds_CXX \
1.13490 - hardcode_libdir_flag_spec_CXX \
1.13491 - hardcode_libdir_flag_spec_ld_CXX \
1.13492 - hardcode_libdir_separator_CXX \
1.13493 - hardcode_automatic_CXX \
1.13494 - module_cmds_CXX \
1.13495 - module_expsym_cmds_CXX \
1.13496 - lt_cv_prog_compiler_c_o_CXX \
1.13497 - exclude_expsyms_CXX \
1.13498 - include_expsyms_CXX; do
1.13499 -
1.13500 - case $var in
1.13501 - old_archive_cmds_CXX | \
1.13502 - old_archive_from_new_cmds_CXX | \
1.13503 - archive_cmds_CXX | \
1.13504 - archive_expsym_cmds_CXX | \
1.13505 - module_cmds_CXX | \
1.13506 - module_expsym_cmds_CXX | \
1.13507 - old_archive_from_expsyms_cmds_CXX | \
1.13508 - export_symbols_cmds_CXX | \
1.13509 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.13510 - postinstall_cmds | postuninstall_cmds | \
1.13511 - old_postinstall_cmds | old_postuninstall_cmds | \
1.13512 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.13513 - # Double-quote double-evaled strings.
1.13514 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.13515 - ;;
1.13516 - *)
1.13517 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.13518 - ;;
1.13519 - esac
1.13520 - done
1.13521 -
1.13522 - case $lt_echo in
1.13523 - *'\$0 --fallback-echo"')
1.13524 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.13525 - ;;
1.13526 - esac
1.13527 -
1.13528 -cfgfile="$ofile"
1.13529 -
1.13530 - cat <<__EOF__ >> "$cfgfile"
1.13531 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.13532 -
1.13533 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.13534 -
1.13535 -# Shell to use when invoking shell scripts.
1.13536 -SHELL=$lt_SHELL
1.13537 -
1.13538 -# Whether or not to build shared libraries.
1.13539 -build_libtool_libs=$enable_shared
1.13540 -
1.13541 -# Whether or not to build static libraries.
1.13542 -build_old_libs=$enable_static
1.13543 -
1.13544 -# Whether or not to add -lc for building shared libraries.
1.13545 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
1.13546 -
1.13547 -# Whether or not to disallow shared libs when runtime libs are static
1.13548 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
1.13549 -
1.13550 -# Whether or not to optimize for fast installation.
1.13551 -fast_install=$enable_fast_install
1.13552 -
1.13553 -# The host system.
1.13554 -host_alias=$host_alias
1.13555 -host=$host
1.13556 -
1.13557 -# An echo program that does not interpret backslashes.
1.13558 -echo=$lt_echo
1.13559 -
1.13560 -# The archiver.
1.13561 -AR=$lt_AR
1.13562 -AR_FLAGS=$lt_AR_FLAGS
1.13563 -
1.13564 -# A C compiler.
1.13565 -LTCC=$lt_LTCC
1.13566 -
1.13567 -# A language-specific compiler.
1.13568 -CC=$lt_compiler_CXX
1.13569 -
1.13570 -# Is the compiler the GNU C compiler?
1.13571 -with_gcc=$GCC_CXX
1.13572 -
1.13573 -# An ERE matcher.
1.13574 -EGREP=$lt_EGREP
1.13575 -
1.13576 -# The linker used to build libraries.
1.13577 -LD=$lt_LD_CXX
1.13578 -
1.13579 -# Whether we need hard or soft links.
1.13580 -LN_S=$lt_LN_S
1.13581 -
1.13582 -# A BSD-compatible nm program.
1.13583 -NM=$lt_NM
1.13584 -
1.13585 -# A symbol stripping program
1.13586 -STRIP=$lt_STRIP
1.13587 -
1.13588 -# Used to examine libraries when file_magic_cmd begins "file"
1.13589 -MAGIC_CMD=$MAGIC_CMD
1.13590 -
1.13591 -# Used on cygwin: DLL creation program.
1.13592 -DLLTOOL="$DLLTOOL"
1.13593 -
1.13594 -# Used on cygwin: object dumper.
1.13595 -OBJDUMP="$OBJDUMP"
1.13596 -
1.13597 -# Used on cygwin: assembler.
1.13598 -AS="$AS"
1.13599 -
1.13600 -# The name of the directory that contains temporary libtool files.
1.13601 -objdir=$objdir
1.13602 -
1.13603 -# How to create reloadable object files.
1.13604 -reload_flag=$lt_reload_flag
1.13605 -reload_cmds=$lt_reload_cmds
1.13606 -
1.13607 -# How to pass a linker flag through the compiler.
1.13608 -wl=$lt_lt_prog_compiler_wl_CXX
1.13609 -
1.13610 -# Object file suffix (normally "o").
1.13611 -objext="$ac_objext"
1.13612 -
1.13613 -# Old archive suffix (normally "a").
1.13614 -libext="$libext"
1.13615 -
1.13616 -# Shared library suffix (normally ".so").
1.13617 -shrext_cmds='$shrext_cmds'
1.13618 -
1.13619 -# Executable file suffix (normally "").
1.13620 -exeext="$exeext"
1.13621 -
1.13622 -# Additional compiler flags for building library objects.
1.13623 -pic_flag=$lt_lt_prog_compiler_pic_CXX
1.13624 -pic_mode=$pic_mode
1.13625 -
1.13626 -# What is the maximum length of a command?
1.13627 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.13628 -
1.13629 -# Does compiler simultaneously support -c and -o options?
1.13630 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
1.13631 -
1.13632 -# Must we lock files when doing compilation ?
1.13633 -need_locks=$lt_need_locks
1.13634 -
1.13635 -# Do we need the lib prefix for modules?
1.13636 -need_lib_prefix=$need_lib_prefix
1.13637 -
1.13638 -# Do we need a version for libraries?
1.13639 -need_version=$need_version
1.13640 -
1.13641 -# Whether dlopen is supported.
1.13642 -dlopen_support=$enable_dlopen
1.13643 -
1.13644 -# Whether dlopen of programs is supported.
1.13645 -dlopen_self=$enable_dlopen_self
1.13646 -
1.13647 -# Whether dlopen of statically linked programs is supported.
1.13648 -dlopen_self_static=$enable_dlopen_self_static
1.13649 -
1.13650 -# Compiler flag to prevent dynamic linking.
1.13651 -link_static_flag=$lt_lt_prog_compiler_static_CXX
1.13652 -
1.13653 -# Compiler flag to turn off builtin functions.
1.13654 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
1.13655 -
1.13656 -# Compiler flag to allow reflexive dlopens.
1.13657 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
1.13658 -
1.13659 -# Compiler flag to generate shared objects directly from archives.
1.13660 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
1.13661 -
1.13662 -# Compiler flag to generate thread-safe objects.
1.13663 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
1.13664 -
1.13665 -# Library versioning type.
1.13666 -version_type=$version_type
1.13667 -
1.13668 -# Format of library name prefix.
1.13669 -libname_spec=$lt_libname_spec
1.13670 -
1.13671 -# List of archive names. First name is the real one, the rest are links.
1.13672 -# The last name is the one that the linker finds with -lNAME.
1.13673 -library_names_spec=$lt_library_names_spec
1.13674 -
1.13675 -# The coded name of the library, if different from the real name.
1.13676 -soname_spec=$lt_soname_spec
1.13677 -
1.13678 -# Commands used to build and install an old-style archive.
1.13679 -RANLIB=$lt_RANLIB
1.13680 -old_archive_cmds=$lt_old_archive_cmds_CXX
1.13681 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.13682 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.13683 -
1.13684 -# Create an old-style archive from a shared archive.
1.13685 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
1.13686 -
1.13687 -# Create a temporary old-style archive to link instead of a shared archive.
1.13688 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
1.13689 -
1.13690 -# Commands used to build and install a shared archive.
1.13691 -archive_cmds=$lt_archive_cmds_CXX
1.13692 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
1.13693 -postinstall_cmds=$lt_postinstall_cmds
1.13694 -postuninstall_cmds=$lt_postuninstall_cmds
1.13695 -
1.13696 -# Commands used to build a loadable module (assumed same as above if empty)
1.13697 -module_cmds=$lt_module_cmds_CXX
1.13698 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
1.13699 -
1.13700 -# Commands to strip libraries.
1.13701 -old_striplib=$lt_old_striplib
1.13702 -striplib=$lt_striplib
1.13703 -
1.13704 -# Dependencies to place before the objects being linked to create a
1.13705 -# shared library.
1.13706 -predep_objects=$lt_predep_objects_CXX
1.13707 -
1.13708 -# Dependencies to place after the objects being linked to create a
1.13709 -# shared library.
1.13710 -postdep_objects=$lt_postdep_objects_CXX
1.13711 -
1.13712 -# Dependencies to place before the objects being linked to create a
1.13713 -# shared library.
1.13714 -predeps=$lt_predeps_CXX
1.13715 -
1.13716 -# Dependencies to place after the objects being linked to create a
1.13717 -# shared library.
1.13718 -postdeps=$lt_postdeps_CXX
1.13719 -
1.13720 -# The library search path used internally by the compiler when linking
1.13721 -# a shared library.
1.13722 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.13723 -
1.13724 -# Method to check whether dependent libraries are shared objects.
1.13725 -deplibs_check_method=$lt_deplibs_check_method
1.13726 -
1.13727 -# Command to use when deplibs_check_method == file_magic.
1.13728 -file_magic_cmd=$lt_file_magic_cmd
1.13729 -
1.13730 -# Flag that allows shared libraries with undefined symbols to be built.
1.13731 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
1.13732 -
1.13733 -# Flag that forces no undefined symbols.
1.13734 -no_undefined_flag=$lt_no_undefined_flag_CXX
1.13735 -
1.13736 -# Commands used to finish a libtool library installation in a directory.
1.13737 -finish_cmds=$lt_finish_cmds
1.13738 -
1.13739 -# Same as above, but a single script fragment to be evaled but not shown.
1.13740 -finish_eval=$lt_finish_eval
1.13741 -
1.13742 -# Take the output of nm and produce a listing of raw symbols and C names.
1.13743 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.13744 -
1.13745 -# Transform the output of nm in a proper C declaration
1.13746 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.13747 -
1.13748 -# Transform the output of nm in a C name address pair
1.13749 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.13750 -
1.13751 -# This is the shared library runtime path variable.
1.13752 -runpath_var=$runpath_var
1.13753 -
1.13754 -# This is the shared library path variable.
1.13755 -shlibpath_var=$shlibpath_var
1.13756 -
1.13757 -# Is shlibpath searched before the hard-coded library search path?
1.13758 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.13759 -
1.13760 -# How to hardcode a shared library path into an executable.
1.13761 -hardcode_action=$hardcode_action_CXX
1.13762 -
1.13763 -# Whether we should hardcode library paths into libraries.
1.13764 -hardcode_into_libs=$hardcode_into_libs
1.13765 -
1.13766 -# Flag to hardcode \$libdir into a binary during linking.
1.13767 -# This must work even if \$libdir does not exist.
1.13768 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
1.13769 -
1.13770 -# If ld is used when linking, flag to hardcode \$libdir into
1.13771 -# a binary during linking. This must work even if \$libdir does
1.13772 -# not exist.
1.13773 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
1.13774 -
1.13775 -# Whether we need a single -rpath flag with a separated argument.
1.13776 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
1.13777 -
1.13778 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.13779 -# resulting binary.
1.13780 -hardcode_direct=$hardcode_direct_CXX
1.13781 -
1.13782 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.13783 -# resulting binary.
1.13784 -hardcode_minus_L=$hardcode_minus_L_CXX
1.13785 -
1.13786 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.13787 -# the resulting binary.
1.13788 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
1.13789 -
1.13790 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.13791 -# and all subsequent libraries and executables linked against it.
1.13792 -hardcode_automatic=$hardcode_automatic_CXX
1.13793 -
1.13794 -# Variables whose values should be saved in libtool wrapper scripts and
1.13795 -# restored at relink time.
1.13796 -variables_saved_for_relink="$variables_saved_for_relink"
1.13797 -
1.13798 -# Whether libtool must link a program against all its dependency libraries.
1.13799 -link_all_deplibs=$link_all_deplibs_CXX
1.13800 -
1.13801 -# Compile-time system search path for libraries
1.13802 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.13803 -
1.13804 -# Run-time system search path for libraries
1.13805 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.13806 -
1.13807 -# Fix the shell variable \$srcfile for the compiler.
1.13808 -fix_srcfile_path="$fix_srcfile_path_CXX"
1.13809 -
1.13810 -# Set to yes if exported symbols are required.
1.13811 -always_export_symbols=$always_export_symbols_CXX
1.13812 -
1.13813 -# The commands to list exported symbols.
1.13814 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
1.13815 -
1.13816 -# The commands to extract the exported symbol list from a shared archive.
1.13817 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.13818 -
1.13819 -# Symbols that should not be listed in the preloaded symbols.
1.13820 -exclude_expsyms=$lt_exclude_expsyms_CXX
1.13821 -
1.13822 -# Symbols that must always be exported.
1.13823 -include_expsyms=$lt_include_expsyms_CXX
1.13824 -
1.13825 -# ### END LIBTOOL TAG CONFIG: $tagname
1.13826 -
1.13827 -__EOF__
1.13828 -
1.13829 -
1.13830 -else
1.13831 - # If there is no Makefile yet, we rely on a make rule to execute
1.13832 - # `config.status --recheck' to rerun these tests and create the
1.13833 - # libtool script then.
1.13834 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.13835 - if test -f "$ltmain_in"; then
1.13836 - test -f Makefile && make "$ltmain"
1.13837 - fi
1.13838 -fi
1.13839 -
1.13840 -
1.13841 -ac_ext=c
1.13842 -ac_cpp='$CPP $CPPFLAGS'
1.13843 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.13844 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.13845 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.13846 -
1.13847 -CC=$lt_save_CC
1.13848 -LDCXX=$LD
1.13849 -LD=$lt_save_LD
1.13850 -GCC=$lt_save_GCC
1.13851 -with_gnu_ldcxx=$with_gnu_ld
1.13852 -with_gnu_ld=$lt_save_with_gnu_ld
1.13853 -lt_cv_path_LDCXX=$lt_cv_path_LD
1.13854 -lt_cv_path_LD=$lt_save_path_LD
1.13855 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
1.13856 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
1.13857 -
1.13858 - else
1.13859 - tagname=""
1.13860 - fi
1.13861 - ;;
1.13862 -
1.13863 - F77)
1.13864 - if test -n "$F77" && test "X$F77" != "Xno"; then
1.13865 -
1.13866 -ac_ext=f
1.13867 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
1.13868 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.13869 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1.13870 -
1.13871 -
1.13872 -archive_cmds_need_lc_F77=no
1.13873 -allow_undefined_flag_F77=
1.13874 -always_export_symbols_F77=no
1.13875 -archive_expsym_cmds_F77=
1.13876 -export_dynamic_flag_spec_F77=
1.13877 -hardcode_direct_F77=no
1.13878 -hardcode_libdir_flag_spec_F77=
1.13879 -hardcode_libdir_flag_spec_ld_F77=
1.13880 -hardcode_libdir_separator_F77=
1.13881 -hardcode_minus_L_F77=no
1.13882 -hardcode_automatic_F77=no
1.13883 -module_cmds_F77=
1.13884 -module_expsym_cmds_F77=
1.13885 -link_all_deplibs_F77=unknown
1.13886 -old_archive_cmds_F77=$old_archive_cmds
1.13887 -no_undefined_flag_F77=
1.13888 -whole_archive_flag_spec_F77=
1.13889 -enable_shared_with_static_runtimes_F77=no
1.13890 -
1.13891 -# Source file extension for f77 test sources.
1.13892 -ac_ext=f
1.13893 -
1.13894 -# Object file extension for compiled f77 test sources.
1.13895 -objext=o
1.13896 -objext_F77=$objext
1.13897 -
1.13898 -# Code to be used in simple compile tests
1.13899 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
1.13900 -
1.13901 -# Code to be used in simple link tests
1.13902 -lt_simple_link_test_code=" program t\n end\n"
1.13903 -
1.13904 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.13905 -
1.13906 -# If no C compiler was specified, use CC.
1.13907 -LTCC=${LTCC-"$CC"}
1.13908 -
1.13909 -# Allow CC to be a program name with arguments.
1.13910 -compiler=$CC
1.13911 -
1.13912 -
1.13913 -# Allow CC to be a program name with arguments.
1.13914 -lt_save_CC="$CC"
1.13915 -CC=${F77-"f77"}
1.13916 -compiler=$CC
1.13917 -compiler_F77=$CC
1.13918 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
1.13919 -
1.13920 -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
1.13921 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
1.13922 -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
1.13923 -echo "${ECHO_T}$can_build_shared" >&6; }
1.13924 -
1.13925 -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
1.13926 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
1.13927 -test "$can_build_shared" = "no" && enable_shared=no
1.13928 -
1.13929 -# On AIX, shared libraries and static libraries use the same namespace, and
1.13930 -# are all built from PIC.
1.13931 -case "$host_os" in
1.13932 -aix3*)
1.13933 - test "$enable_shared" = yes && enable_static=no
1.13934 - if test -n "$RANLIB"; then
1.13935 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
1.13936 - postinstall_cmds='$RANLIB $lib'
1.13937 - fi
1.13938 - ;;
1.13939 -aix4* | aix5*)
1.13940 - test "$enable_shared" = yes && enable_static=no
1.13941 - ;;
1.13942 -esac
1.13943 -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
1.13944 -echo "${ECHO_T}$enable_shared" >&6; }
1.13945 -
1.13946 -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
1.13947 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
1.13948 -# Make sure either enable_shared or enable_static is yes.
1.13949 -test "$enable_shared" = yes || enable_static=yes
1.13950 -{ echo "$as_me:$LINENO: result: $enable_static" >&5
1.13951 -echo "${ECHO_T}$enable_static" >&6; }
1.13952 -
1.13953 -test "$ld_shlibs_F77" = no && can_build_shared=no
1.13954 -
1.13955 -GCC_F77="$G77"
1.13956 -LD_F77="$LD"
1.13957 -
1.13958 -lt_prog_compiler_wl_F77=
1.13959 -lt_prog_compiler_pic_F77=
1.13960 -lt_prog_compiler_static_F77=
1.13961 -
1.13962 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.13963 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.13964 -
1.13965 - if test "$GCC" = yes; then
1.13966 - lt_prog_compiler_wl_F77='-Wl,'
1.13967 - lt_prog_compiler_static_F77='-static'
1.13968 -
1.13969 - case $host_os in
1.13970 - aix*)
1.13971 - # All AIX code is PIC.
1.13972 - if test "$host_cpu" = ia64; then
1.13973 - # AIX 5 now supports IA64 processor
1.13974 - lt_prog_compiler_static_F77='-Bstatic'
1.13975 - fi
1.13976 - ;;
1.13977 -
1.13978 - amigaos*)
1.13979 - # FIXME: we need at least 68020 code to build shared libraries, but
1.13980 - # adding the `-m68020' flag to GCC prevents building anything better,
1.13981 - # like `-m68040'.
1.13982 - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
1.13983 - ;;
1.13984 -
1.13985 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.13986 - # PIC is the default for these OSes.
1.13987 - ;;
1.13988 -
1.13989 - mingw* | pw32* | os2*)
1.13990 - # This hack is so that the source file can tell whether it is being
1.13991 - # built for inclusion in a dll (and should export symbols for example).
1.13992 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
1.13993 - ;;
1.13994 -
1.13995 - darwin* | rhapsody*)
1.13996 - # PIC is the default on this platform
1.13997 - # Common symbols not allowed in MH_DYLIB files
1.13998 - lt_prog_compiler_pic_F77='-fno-common'
1.13999 - ;;
1.14000 -
1.14001 - msdosdjgpp*)
1.14002 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.14003 - # on systems that don't support them.
1.14004 - lt_prog_compiler_can_build_shared_F77=no
1.14005 - enable_shared=no
1.14006 - ;;
1.14007 -
1.14008 - sysv4*MP*)
1.14009 - if test -d /usr/nec; then
1.14010 - lt_prog_compiler_pic_F77=-Kconform_pic
1.14011 - fi
1.14012 - ;;
1.14013 -
1.14014 - hpux*)
1.14015 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.14016 - # not for PA HP-UX.
1.14017 - case "$host_cpu" in
1.14018 - hppa*64*|ia64*)
1.14019 - # +Z the default
1.14020 - ;;
1.14021 - *)
1.14022 - lt_prog_compiler_pic_F77='-fPIC'
1.14023 - ;;
1.14024 - esac
1.14025 - ;;
1.14026 -
1.14027 - *)
1.14028 - lt_prog_compiler_pic_F77='-fPIC'
1.14029 - ;;
1.14030 - esac
1.14031 - else
1.14032 - # PORTME Check for flag to pass linker flags through the system compiler.
1.14033 - case $host_os in
1.14034 - aix*)
1.14035 - lt_prog_compiler_wl_F77='-Wl,'
1.14036 - if test "$host_cpu" = ia64; then
1.14037 - # AIX 5 now supports IA64 processor
1.14038 - lt_prog_compiler_static_F77='-Bstatic'
1.14039 - else
1.14040 - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
1.14041 - fi
1.14042 - ;;
1.14043 -
1.14044 - mingw* | pw32* | os2*)
1.14045 - # This hack is so that the source file can tell whether it is being
1.14046 - # built for inclusion in a dll (and should export symbols for example).
1.14047 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
1.14048 - ;;
1.14049 -
1.14050 - hpux9* | hpux10* | hpux11*)
1.14051 - lt_prog_compiler_wl_F77='-Wl,'
1.14052 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.14053 - # not for PA HP-UX.
1.14054 - case "$host_cpu" in
1.14055 - hppa*64*|ia64*)
1.14056 - # +Z the default
1.14057 - ;;
1.14058 - *)
1.14059 - lt_prog_compiler_pic_F77='+Z'
1.14060 - ;;
1.14061 - esac
1.14062 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.14063 - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
1.14064 - ;;
1.14065 -
1.14066 - irix5* | irix6* | nonstopux*)
1.14067 - lt_prog_compiler_wl_F77='-Wl,'
1.14068 - # PIC (with -KPIC) is the default.
1.14069 - lt_prog_compiler_static_F77='-non_shared'
1.14070 - ;;
1.14071 -
1.14072 - newsos6)
1.14073 - lt_prog_compiler_pic_F77='-KPIC'
1.14074 - lt_prog_compiler_static_F77='-Bstatic'
1.14075 - ;;
1.14076 -
1.14077 - linux*)
1.14078 - case $CC in
1.14079 - icc* | ecc*)
1.14080 - lt_prog_compiler_wl_F77='-Wl,'
1.14081 - lt_prog_compiler_pic_F77='-KPIC'
1.14082 - lt_prog_compiler_static_F77='-static'
1.14083 - ;;
1.14084 - ccc*)
1.14085 - lt_prog_compiler_wl_F77='-Wl,'
1.14086 - # All Alpha code is PIC.
1.14087 - lt_prog_compiler_static_F77='-non_shared'
1.14088 - ;;
1.14089 - esac
1.14090 - ;;
1.14091 -
1.14092 - osf3* | osf4* | osf5*)
1.14093 - lt_prog_compiler_wl_F77='-Wl,'
1.14094 - # All OSF/1 code is PIC.
1.14095 - lt_prog_compiler_static_F77='-non_shared'
1.14096 - ;;
1.14097 -
1.14098 - sco3.2v5*)
1.14099 - lt_prog_compiler_pic_F77='-Kpic'
1.14100 - lt_prog_compiler_static_F77='-dn'
1.14101 - ;;
1.14102 -
1.14103 - solaris*)
1.14104 - lt_prog_compiler_wl_F77='-Wl,'
1.14105 - lt_prog_compiler_pic_F77='-KPIC'
1.14106 - lt_prog_compiler_static_F77='-Bstatic'
1.14107 - ;;
1.14108 -
1.14109 - sunos4*)
1.14110 - lt_prog_compiler_wl_F77='-Qoption ld '
1.14111 - lt_prog_compiler_pic_F77='-PIC'
1.14112 - lt_prog_compiler_static_F77='-Bstatic'
1.14113 - ;;
1.14114 -
1.14115 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.14116 - lt_prog_compiler_wl_F77='-Wl,'
1.14117 - lt_prog_compiler_pic_F77='-KPIC'
1.14118 - lt_prog_compiler_static_F77='-Bstatic'
1.14119 - ;;
1.14120 -
1.14121 - sysv4*MP*)
1.14122 - if test -d /usr/nec ;then
1.14123 - lt_prog_compiler_pic_F77='-Kconform_pic'
1.14124 - lt_prog_compiler_static_F77='-Bstatic'
1.14125 - fi
1.14126 - ;;
1.14127 -
1.14128 - uts4*)
1.14129 - lt_prog_compiler_pic_F77='-pic'
1.14130 - lt_prog_compiler_static_F77='-Bstatic'
1.14131 - ;;
1.14132 -
1.14133 - *)
1.14134 - lt_prog_compiler_can_build_shared_F77=no
1.14135 - ;;
1.14136 - esac
1.14137 - fi
1.14138 -
1.14139 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
1.14140 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
1.14141 -
1.14142 -#
1.14143 -# Check to make sure the PIC flag actually works.
1.14144 -#
1.14145 -if test -n "$lt_prog_compiler_pic_F77"; then
1.14146 -
1.14147 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
1.14148 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
1.14149 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
1.14150 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.14151 -else
1.14152 - lt_prog_compiler_pic_works_F77=no
1.14153 - ac_outfile=conftest.$ac_objext
1.14154 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.14155 - lt_compiler_flag="$lt_prog_compiler_pic_F77"
1.14156 - # Insert the option either (1) after the last *FLAGS variable, or
1.14157 - # (2) before a word containing "conftest.", or (3) at the end.
1.14158 - # Note that $ac_compile itself does not contain backslashes and begins
1.14159 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.14160 - # The option is referenced via a variable to avoid confusing sed.
1.14161 - lt_compile=`echo "$ac_compile" | $SED \
1.14162 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.14163 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.14164 - -e 's:$: $lt_compiler_flag:'`
1.14165 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.14166 - (eval "$lt_compile" 2>conftest.err)
1.14167 - ac_status=$?
1.14168 - cat conftest.err >&5
1.14169 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.14170 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.14171 - # The compiler can only warn and ignore the option if not recognized
1.14172 - # So say no if there are warnings
1.14173 - if test ! -s conftest.err; then
1.14174 - lt_prog_compiler_pic_works_F77=yes
1.14175 - fi
1.14176 - fi
1.14177 - $rm conftest*
1.14178 -
1.14179 -fi
1.14180 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
1.14181 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
1.14182 -
1.14183 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1.14184 - case $lt_prog_compiler_pic_F77 in
1.14185 - "" | " "*) ;;
1.14186 - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
1.14187 - esac
1.14188 -else
1.14189 - lt_prog_compiler_pic_F77=
1.14190 - lt_prog_compiler_can_build_shared_F77=no
1.14191 -fi
1.14192 -
1.14193 -fi
1.14194 -case "$host_os" in
1.14195 - # For platforms which do not support PIC, -DPIC is meaningless:
1.14196 - *djgpp*)
1.14197 - lt_prog_compiler_pic_F77=
1.14198 - ;;
1.14199 - *)
1.14200 - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
1.14201 - ;;
1.14202 -esac
1.14203 -
1.14204 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.14205 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.14206 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
1.14207 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.14208 -else
1.14209 - lt_cv_prog_compiler_c_o_F77=no
1.14210 - $rm -r conftest 2>/dev/null
1.14211 - mkdir conftest
1.14212 - cd conftest
1.14213 - mkdir out
1.14214 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.14215 -
1.14216 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.14217 - # Insert the option either (1) after the last *FLAGS variable, or
1.14218 - # (2) before a word containing "conftest.", or (3) at the end.
1.14219 - # Note that $ac_compile itself does not contain backslashes and begins
1.14220 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.14221 - lt_compile=`echo "$ac_compile" | $SED \
1.14222 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.14223 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.14224 - -e 's:$: $lt_compiler_flag:'`
1.14225 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.14226 - (eval "$lt_compile" 2>out/conftest.err)
1.14227 - ac_status=$?
1.14228 - cat out/conftest.err >&5
1.14229 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.14230 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.14231 - then
1.14232 - # The compiler can only warn and ignore the option if not recognized
1.14233 - # So say no if there are warnings
1.14234 - if test ! -s out/conftest.err; then
1.14235 - lt_cv_prog_compiler_c_o_F77=yes
1.14236 - fi
1.14237 - fi
1.14238 - chmod u+w .
1.14239 - $rm conftest*
1.14240 - # SGI C++ compiler will create directory out/ii_files/ for
1.14241 - # template instantiation
1.14242 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.14243 - $rm out/* && rmdir out
1.14244 - cd ..
1.14245 - rmdir conftest
1.14246 - $rm conftest*
1.14247 -
1.14248 -fi
1.14249 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
1.14250 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
1.14251 -
1.14252 -
1.14253 -hard_links="nottested"
1.14254 -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1.14255 - # do not overwrite the value of need_locks provided by the user
1.14256 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.14257 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.14258 - hard_links=yes
1.14259 - $rm conftest*
1.14260 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.14261 - touch conftest.a
1.14262 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.14263 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.14264 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.14265 -echo "${ECHO_T}$hard_links" >&6; }
1.14266 - if test "$hard_links" = no; then
1.14267 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.14268 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.14269 - need_locks=warn
1.14270 - fi
1.14271 -else
1.14272 - need_locks=no
1.14273 -fi
1.14274 -
1.14275 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.14276 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.14277 -
1.14278 - runpath_var=
1.14279 - allow_undefined_flag_F77=
1.14280 - enable_shared_with_static_runtimes_F77=no
1.14281 - archive_cmds_F77=
1.14282 - archive_expsym_cmds_F77=
1.14283 - old_archive_From_new_cmds_F77=
1.14284 - old_archive_from_expsyms_cmds_F77=
1.14285 - export_dynamic_flag_spec_F77=
1.14286 - whole_archive_flag_spec_F77=
1.14287 - thread_safe_flag_spec_F77=
1.14288 - hardcode_libdir_flag_spec_F77=
1.14289 - hardcode_libdir_flag_spec_ld_F77=
1.14290 - hardcode_libdir_separator_F77=
1.14291 - hardcode_direct_F77=no
1.14292 - hardcode_minus_L_F77=no
1.14293 - hardcode_shlibpath_var_F77=unsupported
1.14294 - link_all_deplibs_F77=unknown
1.14295 - hardcode_automatic_F77=no
1.14296 - module_cmds_F77=
1.14297 - module_expsym_cmds_F77=
1.14298 - always_export_symbols_F77=no
1.14299 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.14300 - # include_expsyms should be a list of space-separated symbols to be *always*
1.14301 - # included in the symbol list
1.14302 - include_expsyms_F77=
1.14303 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.14304 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.14305 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.14306 - # as well as any symbol that contains `d'.
1.14307 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
1.14308 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.14309 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.14310 - # the symbol is explicitly referenced. Since portable code cannot
1.14311 - # rely on this symbol name, it's probably fine to never include it in
1.14312 - # preloaded symbol tables.
1.14313 - extract_expsyms_cmds=
1.14314 -
1.14315 - case $host_os in
1.14316 - cygwin* | mingw* | pw32*)
1.14317 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.14318 - # When not using gcc, we currently assume that we are using
1.14319 - # Microsoft Visual C++.
1.14320 - if test "$GCC" != yes; then
1.14321 - with_gnu_ld=no
1.14322 - fi
1.14323 - ;;
1.14324 - openbsd*)
1.14325 - with_gnu_ld=no
1.14326 - ;;
1.14327 - esac
1.14328 -
1.14329 - ld_shlibs_F77=yes
1.14330 - if test "$with_gnu_ld" = yes; then
1.14331 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.14332 - wlarc='${wl}'
1.14333 -
1.14334 - # See if GNU ld supports shared libraries.
1.14335 - case $host_os in
1.14336 - aix3* | aix4* | aix5*)
1.14337 - # On AIX/PPC, the GNU linker is very broken
1.14338 - if test "$host_cpu" != ia64; then
1.14339 - ld_shlibs_F77=no
1.14340 - cat <<EOF 1>&2
1.14341 -
1.14342 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.14343 -*** to be unable to reliably create shared libraries on AIX.
1.14344 -*** Therefore, libtool is disabling shared libraries support. If you
1.14345 -*** really care for shared libraries, you may want to modify your PATH
1.14346 -*** so that a non-GNU linker is found, and then restart.
1.14347 -
1.14348 -EOF
1.14349 - fi
1.14350 - ;;
1.14351 -
1.14352 - amigaos*)
1.14353 - 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.14354 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14355 - hardcode_minus_L_F77=yes
1.14356 -
1.14357 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.14358 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.14359 - # to version 4, is to share data among multiple programs linked
1.14360 - # with the same dynamic library. Since this doesn't match the
1.14361 - # behavior of shared libraries on other platforms, we can't use
1.14362 - # them.
1.14363 - ld_shlibs_F77=no
1.14364 - ;;
1.14365 -
1.14366 - beos*)
1.14367 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14368 - allow_undefined_flag_F77=unsupported
1.14369 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.14370 - # support --undefined. This deserves some investigation. FIXME
1.14371 - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14372 - else
1.14373 - ld_shlibs_F77=no
1.14374 - fi
1.14375 - ;;
1.14376 -
1.14377 - cygwin* | mingw* | pw32*)
1.14378 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
1.14379 - # as there is no search path for DLLs.
1.14380 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14381 - allow_undefined_flag_F77=unsupported
1.14382 - always_export_symbols_F77=no
1.14383 - enable_shared_with_static_runtimes_F77=yes
1.14384 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.14385 -
1.14386 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.14387 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.14388 - # If the export-symbols file already is a .def file (1st line
1.14389 - # is EXPORTS), use it as is; otherwise, prepend...
1.14390 - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.14391 - cp $export_symbols $output_objdir/$soname.def;
1.14392 - else
1.14393 - echo EXPORTS > $output_objdir/$soname.def;
1.14394 - cat $export_symbols >> $output_objdir/$soname.def;
1.14395 - fi~
1.14396 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.14397 - else
1.14398 - ld_shlibs=no
1.14399 - fi
1.14400 - ;;
1.14401 -
1.14402 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.14403 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.14404 - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.14405 - wlarc=
1.14406 - else
1.14407 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14408 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14409 - fi
1.14410 - ;;
1.14411 -
1.14412 - solaris* | sysv5*)
1.14413 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.14414 - ld_shlibs_F77=no
1.14415 - cat <<EOF 1>&2
1.14416 -
1.14417 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.14418 -*** create shared libraries on Solaris systems. Therefore, libtool
1.14419 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.14420 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.14421 -*** your PATH or compiler configuration so that the native linker is
1.14422 -*** used, and then restart.
1.14423 -
1.14424 -EOF
1.14425 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14426 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14427 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14428 - else
1.14429 - ld_shlibs_F77=no
1.14430 - fi
1.14431 - ;;
1.14432 -
1.14433 - sunos4*)
1.14434 - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14435 - wlarc=
1.14436 - hardcode_direct_F77=yes
1.14437 - hardcode_shlibpath_var_F77=no
1.14438 - ;;
1.14439 -
1.14440 - linux*)
1.14441 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14442 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14443 - archive_cmds_F77="$tmp_archive_cmds"
1.14444 - supports_anon_versioning=no
1.14445 - case `$LD -v 2>/dev/null` in
1.14446 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.14447 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.14448 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.14449 - *\ 2.11.*) ;; # other 2.11 versions
1.14450 - *) supports_anon_versioning=yes ;;
1.14451 - esac
1.14452 - if test $supports_anon_versioning = yes; then
1.14453 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
1.14454 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.14455 -$echo "local: *; };" >> $output_objdir/$libname.ver~
1.14456 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.14457 - else
1.14458 - archive_expsym_cmds_F77="$tmp_archive_cmds"
1.14459 - fi
1.14460 - link_all_deplibs_F77=no
1.14461 - else
1.14462 - ld_shlibs_F77=no
1.14463 - fi
1.14464 - ;;
1.14465 -
1.14466 - *)
1.14467 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14468 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14469 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14470 - else
1.14471 - ld_shlibs_F77=no
1.14472 - fi
1.14473 - ;;
1.14474 - esac
1.14475 -
1.14476 - if test "$ld_shlibs_F77" = yes; then
1.14477 - runpath_var=LD_RUN_PATH
1.14478 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
1.14479 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
1.14480 - # ancient GNU ld didn't support --whole-archive et. al.
1.14481 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.14482 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.14483 - else
1.14484 - whole_archive_flag_spec_F77=
1.14485 - fi
1.14486 - fi
1.14487 - else
1.14488 - # PORTME fill in a description of your system's linker (not GNU ld)
1.14489 - case $host_os in
1.14490 - aix3*)
1.14491 - allow_undefined_flag_F77=unsupported
1.14492 - always_export_symbols_F77=yes
1.14493 - 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.14494 - # Note: this linker hardcodes the directories in LIBPATH if there
1.14495 - # are no directories specified by -L.
1.14496 - hardcode_minus_L_F77=yes
1.14497 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.14498 - # Neither direct hardcoding nor static linking is supported with a
1.14499 - # broken collect2.
1.14500 - hardcode_direct_F77=unsupported
1.14501 - fi
1.14502 - ;;
1.14503 -
1.14504 - aix4* | aix5*)
1.14505 - if test "$host_cpu" = ia64; then
1.14506 - # On IA64, the linker does run time linking by default, so we don't
1.14507 - # have to do anything special.
1.14508 - aix_use_runtimelinking=no
1.14509 - exp_sym_flag='-Bexport'
1.14510 - no_entry_flag=""
1.14511 - else
1.14512 - # If we're using GNU nm, then we don't want the "-C" option.
1.14513 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.14514 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.14515 - 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.14516 - else
1.14517 - 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.14518 - fi
1.14519 - aix_use_runtimelinking=no
1.14520 -
1.14521 - # Test if we are trying to use run time linking or normal
1.14522 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.14523 - # need to do runtime linking.
1.14524 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.14525 - for ld_flag in $LDFLAGS; do
1.14526 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.14527 - aix_use_runtimelinking=yes
1.14528 - break
1.14529 - fi
1.14530 - done
1.14531 - esac
1.14532 -
1.14533 - exp_sym_flag='-bexport'
1.14534 - no_entry_flag='-bnoentry'
1.14535 - fi
1.14536 -
1.14537 - # When large executables or shared objects are built, AIX ld can
1.14538 - # have problems creating the table of contents. If linking a library
1.14539 - # or program results in "error TOC overflow" add -mminimal-toc to
1.14540 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.14541 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.14542 -
1.14543 - archive_cmds_F77=''
1.14544 - hardcode_direct_F77=yes
1.14545 - hardcode_libdir_separator_F77=':'
1.14546 - link_all_deplibs_F77=yes
1.14547 -
1.14548 - if test "$GCC" = yes; then
1.14549 - case $host_os in aix4.012|aix4.012.*)
1.14550 - # We only want to do this on AIX 4.2 and lower, the check
1.14551 - # below for broken collect2 doesn't work under 4.3+
1.14552 - collect2name=`${CC} -print-prog-name=collect2`
1.14553 - if test -f "$collect2name" && \
1.14554 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.14555 - then
1.14556 - # We have reworked collect2
1.14557 - hardcode_direct_F77=yes
1.14558 - else
1.14559 - # We have old collect2
1.14560 - hardcode_direct_F77=unsupported
1.14561 - # It fails to find uninstalled libraries when the uninstalled
1.14562 - # path is not listed in the libpath. Setting hardcode_minus_L
1.14563 - # to unsupported forces relinking
1.14564 - hardcode_minus_L_F77=yes
1.14565 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14566 - hardcode_libdir_separator_F77=
1.14567 - fi
1.14568 - esac
1.14569 - shared_flag='-shared'
1.14570 - else
1.14571 - # not using gcc
1.14572 - if test "$host_cpu" = ia64; then
1.14573 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.14574 - # chokes on -Wl,-G. The following line is correct:
1.14575 - shared_flag='-G'
1.14576 - else
1.14577 - if test "$aix_use_runtimelinking" = yes; then
1.14578 - shared_flag='${wl}-G'
1.14579 - else
1.14580 - shared_flag='${wl}-bM:SRE'
1.14581 - fi
1.14582 - fi
1.14583 - fi
1.14584 -
1.14585 - # It seems that -bexpall does not export symbols beginning with
1.14586 - # underscore (_), so it is better to generate a list of symbols to export.
1.14587 - always_export_symbols_F77=yes
1.14588 - if test "$aix_use_runtimelinking" = yes; then
1.14589 - # Warning - without using the other runtime loading flags (-brtl),
1.14590 - # -berok will link without error, but may produce a broken library.
1.14591 - allow_undefined_flag_F77='-berok'
1.14592 - # Determine the default libpath from the value encoded in an empty executable.
1.14593 - cat >conftest.$ac_ext <<_ACEOF
1.14594 - program main
1.14595 -
1.14596 - end
1.14597 -_ACEOF
1.14598 -rm -f conftest.$ac_objext conftest$ac_exeext
1.14599 -if { (ac_try="$ac_link"
1.14600 -case "(($ac_try" in
1.14601 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.14602 - *) ac_try_echo=$ac_try;;
1.14603 -esac
1.14604 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.14605 - (eval "$ac_link") 2>conftest.er1
1.14606 - ac_status=$?
1.14607 - grep -v '^ *+' conftest.er1 >conftest.err
1.14608 - rm -f conftest.er1
1.14609 - cat conftest.err >&5
1.14610 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14611 - (exit $ac_status); } && {
1.14612 - test -z "$ac_f77_werror_flag" ||
1.14613 - test ! -s conftest.err
1.14614 - } && test -s conftest$ac_exeext &&
1.14615 - $as_test_x conftest$ac_exeext; then
1.14616 -
1.14617 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.14618 -}'`
1.14619 -# Check for a 64-bit object if we didn't find anything.
1.14620 -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.14621 -}'`; fi
1.14622 -else
1.14623 - echo "$as_me: failed program was:" >&5
1.14624 -sed 's/^/| /' conftest.$ac_ext >&5
1.14625 -
1.14626 -
1.14627 -fi
1.14628 -
1.14629 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.14630 - conftest$ac_exeext conftest.$ac_ext
1.14631 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.14632 -
1.14633 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1.14634 - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1.14635 - else
1.14636 - if test "$host_cpu" = ia64; then
1.14637 - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
1.14638 - allow_undefined_flag_F77="-z nodefs"
1.14639 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
1.14640 - else
1.14641 - # Determine the default libpath from the value encoded in an empty executable.
1.14642 - cat >conftest.$ac_ext <<_ACEOF
1.14643 - program main
1.14644 -
1.14645 - end
1.14646 -_ACEOF
1.14647 -rm -f conftest.$ac_objext conftest$ac_exeext
1.14648 -if { (ac_try="$ac_link"
1.14649 -case "(($ac_try" in
1.14650 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.14651 - *) ac_try_echo=$ac_try;;
1.14652 -esac
1.14653 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.14654 - (eval "$ac_link") 2>conftest.er1
1.14655 - ac_status=$?
1.14656 - grep -v '^ *+' conftest.er1 >conftest.err
1.14657 - rm -f conftest.er1
1.14658 - cat conftest.err >&5
1.14659 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14660 - (exit $ac_status); } && {
1.14661 - test -z "$ac_f77_werror_flag" ||
1.14662 - test ! -s conftest.err
1.14663 - } && test -s conftest$ac_exeext &&
1.14664 - $as_test_x conftest$ac_exeext; then
1.14665 -
1.14666 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.14667 -}'`
1.14668 -# Check for a 64-bit object if we didn't find anything.
1.14669 -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.14670 -}'`; fi
1.14671 -else
1.14672 - echo "$as_me: failed program was:" >&5
1.14673 -sed 's/^/| /' conftest.$ac_ext >&5
1.14674 -
1.14675 -
1.14676 -fi
1.14677 -
1.14678 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.14679 - conftest$ac_exeext conftest.$ac_ext
1.14680 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.14681 -
1.14682 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1.14683 - # Warning - without using the other run time loading flags,
1.14684 - # -berok will link without error, but may produce a broken library.
1.14685 - no_undefined_flag_F77=' ${wl}-bernotok'
1.14686 - allow_undefined_flag_F77=' ${wl}-berok'
1.14687 - # -bexpall does not export symbols beginning with underscore (_)
1.14688 - always_export_symbols_F77=yes
1.14689 - # Exported symbols can be pulled into shared objects from archives
1.14690 - whole_archive_flag_spec_F77=' '
1.14691 - archive_cmds_need_lc_F77=yes
1.14692 - # This is similar to how AIX traditionally builds it's shared libraries.
1.14693 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1.14694 - fi
1.14695 - fi
1.14696 - ;;
1.14697 -
1.14698 - amigaos*)
1.14699 - 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.14700 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14701 - hardcode_minus_L_F77=yes
1.14702 - # see comment about different semantics on the GNU ld section
1.14703 - ld_shlibs_F77=no
1.14704 - ;;
1.14705 -
1.14706 - bsdi4*)
1.14707 - export_dynamic_flag_spec_F77=-rdynamic
1.14708 - ;;
1.14709 -
1.14710 - cygwin* | mingw* | pw32*)
1.14711 - # When not using gcc, we currently assume that we are using
1.14712 - # Microsoft Visual C++.
1.14713 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.14714 - # no search path for DLLs.
1.14715 - hardcode_libdir_flag_spec_F77=' '
1.14716 - allow_undefined_flag_F77=unsupported
1.14717 - # Tell ltmain to make .lib files, not .a files.
1.14718 - libext=lib
1.14719 - # Tell ltmain to make .dll files, not .so files.
1.14720 - shrext_cmds=".dll"
1.14721 - # FIXME: Setting linknames here is a bad hack.
1.14722 - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.14723 - # The linker will automatically build a .lib file if we build a DLL.
1.14724 - old_archive_From_new_cmds_F77='true'
1.14725 - # FIXME: Should let the user specify the lib program.
1.14726 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.14727 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1.14728 - enable_shared_with_static_runtimes_F77=yes
1.14729 - ;;
1.14730 -
1.14731 - darwin* | rhapsody*)
1.14732 - if test "$GXX" = yes ; then
1.14733 - archive_cmds_need_lc_F77=no
1.14734 - case "$host_os" in
1.14735 - rhapsody* | darwin1.[012])
1.14736 - allow_undefined_flag_F77='-undefined suppress'
1.14737 - ;;
1.14738 - *) # Darwin 1.3 on
1.14739 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.14740 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
1.14741 - else
1.14742 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.14743 - 10.[012])
1.14744 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
1.14745 - ;;
1.14746 - 10.*)
1.14747 - allow_undefined_flag_F77='-undefined dynamic_lookup'
1.14748 - ;;
1.14749 - esac
1.14750 - fi
1.14751 - ;;
1.14752 - esac
1.14753 - lt_int_apple_cc_single_mod=no
1.14754 - output_verbose_link_cmd='echo'
1.14755 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.14756 - lt_int_apple_cc_single_mod=yes
1.14757 - fi
1.14758 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.14759 - archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.14760 - else
1.14761 - archive_cmds_F77='$CC -r ${wl}-bind_at_load -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.14762 - fi
1.14763 - module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.14764 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.14765 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.14766 - archive_expsym_cmds_F77='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.14767 - else
1.14768 - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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.14769 - fi
1.14770 - 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.14771 - hardcode_direct_F77=no
1.14772 - hardcode_automatic_F77=yes
1.14773 - hardcode_shlibpath_var_F77=unsupported
1.14774 - whole_archive_flag_spec_F77='-all_load $convenience'
1.14775 - link_all_deplibs_F77=yes
1.14776 - else
1.14777 - ld_shlibs_F77=no
1.14778 - fi
1.14779 - ;;
1.14780 -
1.14781 - dgux*)
1.14782 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14783 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14784 - hardcode_shlibpath_var_F77=no
1.14785 - ;;
1.14786 -
1.14787 - freebsd1*)
1.14788 - ld_shlibs_F77=no
1.14789 - ;;
1.14790 -
1.14791 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.14792 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.14793 - # does not break anything, and helps significantly (at the cost of a little
1.14794 - # extra space).
1.14795 - freebsd2.2*)
1.14796 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.14797 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14798 - hardcode_direct_F77=yes
1.14799 - hardcode_shlibpath_var_F77=no
1.14800 - ;;
1.14801 -
1.14802 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.14803 - freebsd2*)
1.14804 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14805 - hardcode_direct_F77=yes
1.14806 - hardcode_minus_L_F77=yes
1.14807 - hardcode_shlibpath_var_F77=no
1.14808 - ;;
1.14809 -
1.14810 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.14811 - freebsd* | kfreebsd*-gnu)
1.14812 - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.14813 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14814 - hardcode_direct_F77=yes
1.14815 - hardcode_shlibpath_var_F77=no
1.14816 - ;;
1.14817 -
1.14818 - hpux9*)
1.14819 - if test "$GCC" = yes; then
1.14820 - 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.14821 - else
1.14822 - 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.14823 - fi
1.14824 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14825 - hardcode_libdir_separator_F77=:
1.14826 - hardcode_direct_F77=yes
1.14827 -
1.14828 - # hardcode_minus_L: Not really in the search PATH,
1.14829 - # but as the default location of the library.
1.14830 - hardcode_minus_L_F77=yes
1.14831 - export_dynamic_flag_spec_F77='${wl}-E'
1.14832 - ;;
1.14833 -
1.14834 - hpux10* | hpux11*)
1.14835 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.14836 - case "$host_cpu" in
1.14837 - hppa*64*|ia64*)
1.14838 - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.14839 - ;;
1.14840 - *)
1.14841 - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.14842 - ;;
1.14843 - esac
1.14844 - else
1.14845 - case "$host_cpu" in
1.14846 - hppa*64*|ia64*)
1.14847 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14848 - ;;
1.14849 - *)
1.14850 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.14851 - ;;
1.14852 - esac
1.14853 - fi
1.14854 - if test "$with_gnu_ld" = no; then
1.14855 - case "$host_cpu" in
1.14856 - hppa*64*)
1.14857 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14858 - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
1.14859 - hardcode_libdir_separator_F77=:
1.14860 - hardcode_direct_F77=no
1.14861 - hardcode_shlibpath_var_F77=no
1.14862 - ;;
1.14863 - ia64*)
1.14864 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14865 - hardcode_direct_F77=no
1.14866 - hardcode_shlibpath_var_F77=no
1.14867 -
1.14868 - # hardcode_minus_L: Not really in the search PATH,
1.14869 - # but as the default location of the library.
1.14870 - hardcode_minus_L_F77=yes
1.14871 - ;;
1.14872 - *)
1.14873 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14874 - hardcode_libdir_separator_F77=:
1.14875 - hardcode_direct_F77=yes
1.14876 - export_dynamic_flag_spec_F77='${wl}-E'
1.14877 -
1.14878 - # hardcode_minus_L: Not really in the search PATH,
1.14879 - # but as the default location of the library.
1.14880 - hardcode_minus_L_F77=yes
1.14881 - ;;
1.14882 - esac
1.14883 - fi
1.14884 - ;;
1.14885 -
1.14886 - irix5* | irix6* | nonstopux*)
1.14887 - if test "$GCC" = yes; then
1.14888 - 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.14889 - else
1.14890 - 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.14891 - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
1.14892 - fi
1.14893 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14894 - hardcode_libdir_separator_F77=:
1.14895 - link_all_deplibs_F77=yes
1.14896 - ;;
1.14897 -
1.14898 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.14899 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.14900 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.14901 - else
1.14902 - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.14903 - fi
1.14904 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14905 - hardcode_direct_F77=yes
1.14906 - hardcode_shlibpath_var_F77=no
1.14907 - ;;
1.14908 -
1.14909 - newsos6)
1.14910 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14911 - hardcode_direct_F77=yes
1.14912 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14913 - hardcode_libdir_separator_F77=:
1.14914 - hardcode_shlibpath_var_F77=no
1.14915 - ;;
1.14916 -
1.14917 - openbsd*)
1.14918 - hardcode_direct_F77=yes
1.14919 - hardcode_shlibpath_var_F77=no
1.14920 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.14921 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.14922 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
1.14923 - export_dynamic_flag_spec_F77='${wl}-E'
1.14924 - else
1.14925 - case $host_os in
1.14926 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.14927 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14928 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14929 - ;;
1.14930 - *)
1.14931 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.14932 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
1.14933 - ;;
1.14934 - esac
1.14935 - fi
1.14936 - ;;
1.14937 -
1.14938 - os2*)
1.14939 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14940 - hardcode_minus_L_F77=yes
1.14941 - allow_undefined_flag_F77=unsupported
1.14942 - 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.14943 - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.14944 - ;;
1.14945 -
1.14946 - osf3*)
1.14947 - if test "$GCC" = yes; then
1.14948 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
1.14949 - 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.14950 - else
1.14951 - allow_undefined_flag_F77=' -expect_unresolved \*'
1.14952 - 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.14953 - fi
1.14954 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14955 - hardcode_libdir_separator_F77=:
1.14956 - ;;
1.14957 -
1.14958 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.14959 - if test "$GCC" = yes; then
1.14960 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
1.14961 - 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.14962 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14963 - else
1.14964 - allow_undefined_flag_F77=' -expect_unresolved \*'
1.14965 - 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.14966 - 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.14967 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
1.14968 -
1.14969 - # Both c and cxx compiler support -rpath directly
1.14970 - hardcode_libdir_flag_spec_F77='-rpath $libdir'
1.14971 - fi
1.14972 - hardcode_libdir_separator_F77=:
1.14973 - ;;
1.14974 -
1.14975 - sco3.2v5*)
1.14976 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14977 - hardcode_shlibpath_var_F77=no
1.14978 - export_dynamic_flag_spec_F77='${wl}-Bexport'
1.14979 - runpath_var=LD_RUN_PATH
1.14980 - hardcode_runpath_var=yes
1.14981 - ;;
1.14982 -
1.14983 - solaris*)
1.14984 - no_undefined_flag_F77=' -z text'
1.14985 - if test "$GCC" = yes; then
1.14986 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.14987 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.14988 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.14989 - else
1.14990 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14991 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.14992 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.14993 - fi
1.14994 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14995 - hardcode_shlibpath_var_F77=no
1.14996 - case $host_os in
1.14997 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.14998 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
1.14999 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
1.15000 - esac
1.15001 - link_all_deplibs_F77=yes
1.15002 - ;;
1.15003 -
1.15004 - sunos4*)
1.15005 - if test "x$host_vendor" = xsequent; then
1.15006 - # Use $CC to link under sequent, because it throws in some extra .o
1.15007 - # files that make .init and .fini sections work.
1.15008 - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.15009 - else
1.15010 - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.15011 - fi
1.15012 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.15013 - hardcode_direct_F77=yes
1.15014 - hardcode_minus_L_F77=yes
1.15015 - hardcode_shlibpath_var_F77=no
1.15016 - ;;
1.15017 -
1.15018 - sysv4)
1.15019 - case $host_vendor in
1.15020 - sni)
1.15021 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15022 - hardcode_direct_F77=yes # is this really true???
1.15023 - ;;
1.15024 - siemens)
1.15025 - ## LD is ld it makes a PLAMLIB
1.15026 - ## CC just makes a GrossModule.
1.15027 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.15028 - reload_cmds_F77='$CC -r -o $output$reload_objs'
1.15029 - hardcode_direct_F77=no
1.15030 - ;;
1.15031 - motorola)
1.15032 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15033 - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
1.15034 - ;;
1.15035 - esac
1.15036 - runpath_var='LD_RUN_PATH'
1.15037 - hardcode_shlibpath_var_F77=no
1.15038 - ;;
1.15039 -
1.15040 - sysv4.3*)
1.15041 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15042 - hardcode_shlibpath_var_F77=no
1.15043 - export_dynamic_flag_spec_F77='-Bexport'
1.15044 - ;;
1.15045 -
1.15046 - sysv4*MP*)
1.15047 - if test -d /usr/nec; then
1.15048 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15049 - hardcode_shlibpath_var_F77=no
1.15050 - runpath_var=LD_RUN_PATH
1.15051 - hardcode_runpath_var=yes
1.15052 - ld_shlibs_F77=yes
1.15053 - fi
1.15054 - ;;
1.15055 -
1.15056 - sysv4.2uw2*)
1.15057 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.15058 - hardcode_direct_F77=yes
1.15059 - hardcode_minus_L_F77=no
1.15060 - hardcode_shlibpath_var_F77=no
1.15061 - hardcode_runpath_var=yes
1.15062 - runpath_var=LD_RUN_PATH
1.15063 - ;;
1.15064 -
1.15065 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.15066 - no_undefined_flag_F77='${wl}-z ${wl}text'
1.15067 - if test "$GCC" = yes; then
1.15068 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.15069 - else
1.15070 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.15071 - fi
1.15072 - runpath_var='LD_RUN_PATH'
1.15073 - hardcode_shlibpath_var_F77=no
1.15074 - ;;
1.15075 -
1.15076 - sysv5*)
1.15077 - no_undefined_flag_F77=' -z text'
1.15078 - # $CC -shared without GNU ld will not create a library from C++
1.15079 - # object files and a static libstdc++, better avoid it by now
1.15080 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15081 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.15082 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.15083 - hardcode_libdir_flag_spec_F77=
1.15084 - hardcode_shlibpath_var_F77=no
1.15085 - runpath_var='LD_RUN_PATH'
1.15086 - ;;
1.15087 -
1.15088 - uts4*)
1.15089 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15090 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.15091 - hardcode_shlibpath_var_F77=no
1.15092 - ;;
1.15093 -
1.15094 - *)
1.15095 - ld_shlibs_F77=no
1.15096 - ;;
1.15097 - esac
1.15098 - fi
1.15099 -
1.15100 -{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
1.15101 -echo "${ECHO_T}$ld_shlibs_F77" >&6; }
1.15102 -test "$ld_shlibs_F77" = no && can_build_shared=no
1.15103 -
1.15104 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.15105 -if test "$GCC" = yes; then
1.15106 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.15107 -fi
1.15108 -
1.15109 -#
1.15110 -# Do we need to explicitly link libc?
1.15111 -#
1.15112 -case "x$archive_cmds_need_lc_F77" in
1.15113 -x|xyes)
1.15114 - # Assume -lc should be added
1.15115 - archive_cmds_need_lc_F77=yes
1.15116 -
1.15117 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.15118 - case $archive_cmds_F77 in
1.15119 - *'~'*)
1.15120 - # FIXME: we may have to deal with multi-command sequences.
1.15121 - ;;
1.15122 - '$CC '*)
1.15123 - # Test whether the compiler implicitly links with -lc since on some
1.15124 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.15125 - # to ld, don't add -lc before -lgcc.
1.15126 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.15127 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.15128 - $rm conftest*
1.15129 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.15130 -
1.15131 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.15132 - (eval $ac_compile) 2>&5
1.15133 - ac_status=$?
1.15134 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.15135 - (exit $ac_status); } 2>conftest.err; then
1.15136 - soname=conftest
1.15137 - lib=conftest
1.15138 - libobjs=conftest.$ac_objext
1.15139 - deplibs=
1.15140 - wl=$lt_prog_compiler_wl_F77
1.15141 - compiler_flags=-v
1.15142 - linker_flags=-v
1.15143 - verstring=
1.15144 - output_objdir=.
1.15145 - libname=conftest
1.15146 - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
1.15147 - allow_undefined_flag_F77=
1.15148 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.15149 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.15150 - ac_status=$?
1.15151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.15152 - (exit $ac_status); }
1.15153 - then
1.15154 - archive_cmds_need_lc_F77=no
1.15155 - else
1.15156 - archive_cmds_need_lc_F77=yes
1.15157 - fi
1.15158 - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
1.15159 - else
1.15160 - cat conftest.err 1>&5
1.15161 - fi
1.15162 - $rm conftest*
1.15163 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
1.15164 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
1.15165 - ;;
1.15166 - esac
1.15167 - fi
1.15168 - ;;
1.15169 -esac
1.15170 -
1.15171 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.15172 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.15173 -library_names_spec=
1.15174 -libname_spec='lib$name'
1.15175 -soname_spec=
1.15176 -shrext_cmds=".so"
1.15177 -postinstall_cmds=
1.15178 -postuninstall_cmds=
1.15179 -finish_cmds=
1.15180 -finish_eval=
1.15181 -shlibpath_var=
1.15182 -shlibpath_overrides_runpath=unknown
1.15183 -version_type=none
1.15184 -dynamic_linker="$host_os ld.so"
1.15185 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.15186 -if test "$GCC" = yes; then
1.15187 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.15188 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.15189 - # if the path contains ";" then we assume it to be the separator
1.15190 - # otherwise default to the standard path separator (i.e. ":") - it is
1.15191 - # assumed that no part of a normal pathname contains ";" but that should
1.15192 - # okay in the real world where ";" in dirpaths is itself problematic.
1.15193 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.15194 - else
1.15195 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.15196 - fi
1.15197 -else
1.15198 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.15199 -fi
1.15200 -need_lib_prefix=unknown
1.15201 -hardcode_into_libs=no
1.15202 -
1.15203 -# when you set need_version to no, make sure it does not cause -set_version
1.15204 -# flags to be left without arguments
1.15205 -need_version=unknown
1.15206 -
1.15207 -case $host_os in
1.15208 -aix3*)
1.15209 - version_type=linux
1.15210 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.15211 - shlibpath_var=LIBPATH
1.15212 -
1.15213 - # AIX 3 has no versioning support, so we append a major version to the name.
1.15214 - soname_spec='${libname}${release}${shared_ext}$major'
1.15215 - ;;
1.15216 -
1.15217 -aix4* | aix5*)
1.15218 - version_type=linux
1.15219 - need_lib_prefix=no
1.15220 - need_version=no
1.15221 - hardcode_into_libs=yes
1.15222 - if test "$host_cpu" = ia64; then
1.15223 - # AIX 5 supports IA64
1.15224 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.15225 - shlibpath_var=LD_LIBRARY_PATH
1.15226 - else
1.15227 - # With GCC up to 2.95.x, collect2 would create an import file
1.15228 - # for dependence libraries. The import file would start with
1.15229 - # the line `#! .'. This would cause the generated library to
1.15230 - # depend on `.', always an invalid library. This was fixed in
1.15231 - # development snapshots of GCC prior to 3.0.
1.15232 - case $host_os in
1.15233 - aix4 | aix4.[01] | aix4.[01].*)
1.15234 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.15235 - echo ' yes '
1.15236 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.15237 - :
1.15238 - else
1.15239 - can_build_shared=no
1.15240 - fi
1.15241 - ;;
1.15242 - esac
1.15243 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.15244 - # soname into executable. Probably we can add versioning support to
1.15245 - # collect2, so additional links can be useful in future.
1.15246 - if test "$aix_use_runtimelinking" = yes; then
1.15247 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.15248 - # instead of lib<name>.a to let people know that these are not
1.15249 - # typical AIX shared libraries.
1.15250 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15251 - else
1.15252 - # We preserve .a as extension for shared libraries through AIX4.2
1.15253 - # and later when we are not doing run time linking.
1.15254 - library_names_spec='${libname}${release}.a $libname.a'
1.15255 - soname_spec='${libname}${release}${shared_ext}$major'
1.15256 - fi
1.15257 - shlibpath_var=LIBPATH
1.15258 - fi
1.15259 - ;;
1.15260 -
1.15261 -amigaos*)
1.15262 - library_names_spec='$libname.ixlibrary $libname.a'
1.15263 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.15264 - 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.15265 - ;;
1.15266 -
1.15267 -beos*)
1.15268 - library_names_spec='${libname}${shared_ext}'
1.15269 - dynamic_linker="$host_os ld.so"
1.15270 - shlibpath_var=LIBRARY_PATH
1.15271 - ;;
1.15272 -
1.15273 -bsdi4*)
1.15274 - version_type=linux
1.15275 - need_version=no
1.15276 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15277 - soname_spec='${libname}${release}${shared_ext}$major'
1.15278 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.15279 - shlibpath_var=LD_LIBRARY_PATH
1.15280 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.15281 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.15282 - # the default ld.so.conf also contains /usr/contrib/lib and
1.15283 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.15284 - # libtool to hard-code these into programs
1.15285 - ;;
1.15286 -
1.15287 -cygwin* | mingw* | pw32*)
1.15288 - version_type=windows
1.15289 - shrext_cmds=".dll"
1.15290 - need_version=no
1.15291 - need_lib_prefix=no
1.15292 -
1.15293 - case $GCC,$host_os in
1.15294 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.15295 - library_names_spec='$libname.dll.a'
1.15296 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.15297 - postinstall_cmds='base_file=`basename \${file}`~
1.15298 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.15299 - dldir=$destdir/`dirname \$dlpath`~
1.15300 - test -d \$dldir || mkdir -p \$dldir~
1.15301 - $install_prog $dir/$dlname \$dldir/$dlname'
1.15302 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.15303 - dlpath=$dir/\$dldll~
1.15304 - $rm \$dlpath'
1.15305 - shlibpath_overrides_runpath=yes
1.15306 -
1.15307 - case $host_os in
1.15308 - cygwin*)
1.15309 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.15310 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.15311 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.15312 - ;;
1.15313 - mingw*)
1.15314 - # MinGW DLLs use traditional 'lib' prefix
1.15315 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.15316 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.15317 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.15318 - # It is most probably a Windows format PATH printed by
1.15319 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.15320 - # path with ; separators, and with drive letters. We can handle the
1.15321 - # drive letters (cygwin fileutils understands them), so leave them,
1.15322 - # especially as we might pass files found there to a mingw objdump,
1.15323 - # which wouldn't understand a cygwinified path. Ahh.
1.15324 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.15325 - else
1.15326 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.15327 - fi
1.15328 - ;;
1.15329 - pw32*)
1.15330 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.15331 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.15332 - ;;
1.15333 - esac
1.15334 - ;;
1.15335 -
1.15336 - *)
1.15337 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.15338 - ;;
1.15339 - esac
1.15340 - dynamic_linker='Win32 ld.exe'
1.15341 - # FIXME: first we should search . and the directory the executable is in
1.15342 - shlibpath_var=PATH
1.15343 - ;;
1.15344 -
1.15345 -darwin* | rhapsody*)
1.15346 - dynamic_linker="$host_os dyld"
1.15347 - version_type=darwin
1.15348 - need_lib_prefix=no
1.15349 - need_version=no
1.15350 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.15351 - soname_spec='${libname}${release}${major}$shared_ext'
1.15352 - shlibpath_overrides_runpath=yes
1.15353 - shlibpath_var=DYLD_LIBRARY_PATH
1.15354 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.15355 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.15356 - if test "$GCC" = yes; then
1.15357 - 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.15358 - else
1.15359 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.15360 - fi
1.15361 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.15362 - ;;
1.15363 -
1.15364 -dgux*)
1.15365 - version_type=linux
1.15366 - need_lib_prefix=no
1.15367 - need_version=no
1.15368 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.15369 - soname_spec='${libname}${release}${shared_ext}$major'
1.15370 - shlibpath_var=LD_LIBRARY_PATH
1.15371 - ;;
1.15372 -
1.15373 -freebsd1*)
1.15374 - dynamic_linker=no
1.15375 - ;;
1.15376 -
1.15377 -kfreebsd*-gnu)
1.15378 - version_type=linux
1.15379 - need_lib_prefix=no
1.15380 - need_version=no
1.15381 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15382 - soname_spec='${libname}${release}${shared_ext}$major'
1.15383 - shlibpath_var=LD_LIBRARY_PATH
1.15384 - shlibpath_overrides_runpath=no
1.15385 - hardcode_into_libs=yes
1.15386 - dynamic_linker='GNU ld.so'
1.15387 - ;;
1.15388 -
1.15389 -freebsd*)
1.15390 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.15391 - version_type=freebsd-$objformat
1.15392 - case $version_type in
1.15393 - freebsd-elf*)
1.15394 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.15395 - need_version=no
1.15396 - need_lib_prefix=no
1.15397 - ;;
1.15398 - freebsd-*)
1.15399 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.15400 - need_version=yes
1.15401 - ;;
1.15402 - esac
1.15403 - shlibpath_var=LD_LIBRARY_PATH
1.15404 - case $host_os in
1.15405 - freebsd2*)
1.15406 - shlibpath_overrides_runpath=yes
1.15407 - ;;
1.15408 - freebsd3.01* | freebsdelf3.01*)
1.15409 - shlibpath_overrides_runpath=yes
1.15410 - hardcode_into_libs=yes
1.15411 - ;;
1.15412 - *) # from 3.2 on
1.15413 - shlibpath_overrides_runpath=no
1.15414 - hardcode_into_libs=yes
1.15415 - ;;
1.15416 - esac
1.15417 - ;;
1.15418 -
1.15419 -gnu*)
1.15420 - version_type=linux
1.15421 - need_lib_prefix=no
1.15422 - need_version=no
1.15423 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.15424 - soname_spec='${libname}${release}${shared_ext}$major'
1.15425 - shlibpath_var=LD_LIBRARY_PATH
1.15426 - hardcode_into_libs=yes
1.15427 - ;;
1.15428 -
1.15429 -hpux9* | hpux10* | hpux11*)
1.15430 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.15431 - # link against other versions.
1.15432 - version_type=sunos
1.15433 - need_lib_prefix=no
1.15434 - need_version=no
1.15435 - case "$host_cpu" in
1.15436 - ia64*)
1.15437 - shrext_cmds='.so'
1.15438 - hardcode_into_libs=yes
1.15439 - dynamic_linker="$host_os dld.so"
1.15440 - shlibpath_var=LD_LIBRARY_PATH
1.15441 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.15442 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15443 - soname_spec='${libname}${release}${shared_ext}$major'
1.15444 - if test "X$HPUX_IA64_MODE" = X32; then
1.15445 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.15446 - else
1.15447 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.15448 - fi
1.15449 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.15450 - ;;
1.15451 - hppa*64*)
1.15452 - shrext_cmds='.sl'
1.15453 - hardcode_into_libs=yes
1.15454 - dynamic_linker="$host_os dld.sl"
1.15455 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.15456 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.15457 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15458 - soname_spec='${libname}${release}${shared_ext}$major'
1.15459 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.15460 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.15461 - ;;
1.15462 - *)
1.15463 - shrext_cmds='.sl'
1.15464 - dynamic_linker="$host_os dld.sl"
1.15465 - shlibpath_var=SHLIB_PATH
1.15466 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.15467 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15468 - soname_spec='${libname}${release}${shared_ext}$major'
1.15469 - ;;
1.15470 - esac
1.15471 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.15472 - postinstall_cmds='chmod 555 $lib'
1.15473 - ;;
1.15474 -
1.15475 -irix5* | irix6* | nonstopux*)
1.15476 - case $host_os in
1.15477 - nonstopux*) version_type=nonstopux ;;
1.15478 - *)
1.15479 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.15480 - version_type=linux
1.15481 - else
1.15482 - version_type=irix
1.15483 - fi ;;
1.15484 - esac
1.15485 - need_lib_prefix=no
1.15486 - need_version=no
1.15487 - soname_spec='${libname}${release}${shared_ext}$major'
1.15488 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.15489 - case $host_os in
1.15490 - irix5* | nonstopux*)
1.15491 - libsuff= shlibsuff=
1.15492 - ;;
1.15493 - *)
1.15494 - case $LD in # libtool.m4 will add one of these switches to LD
1.15495 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.15496 - libsuff= shlibsuff= libmagic=32-bit;;
1.15497 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.15498 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.15499 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.15500 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.15501 - *) libsuff= shlibsuff= libmagic=never-match;;
1.15502 - esac
1.15503 - ;;
1.15504 - esac
1.15505 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.15506 - shlibpath_overrides_runpath=no
1.15507 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.15508 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.15509 - hardcode_into_libs=yes
1.15510 - ;;
1.15511 -
1.15512 -# No shared lib support for Linux oldld, aout, or coff.
1.15513 -linux*oldld* | linux*aout* | linux*coff*)
1.15514 - dynamic_linker=no
1.15515 - ;;
1.15516 -
1.15517 -# This must be Linux ELF.
1.15518 -linux*)
1.15519 - version_type=linux
1.15520 - need_lib_prefix=no
1.15521 - need_version=no
1.15522 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15523 - soname_spec='${libname}${release}${shared_ext}$major'
1.15524 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.15525 - shlibpath_var=LD_LIBRARY_PATH
1.15526 - shlibpath_overrides_runpath=no
1.15527 - # This implies no fast_install, which is unacceptable.
1.15528 - # Some rework will be needed to allow for fast_install
1.15529 - # before this can be enabled.
1.15530 - hardcode_into_libs=yes
1.15531 -
1.15532 - # Append ld.so.conf contents to the search path
1.15533 - if test -f /etc/ld.so.conf; then
1.15534 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.15535 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.15536 - fi
1.15537 -
1.15538 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.15539 - # powerpc, because MkLinux only supported shared libraries with the
1.15540 - # GNU dynamic linker. Since this was broken with cross compilers,
1.15541 - # most powerpc-linux boxes support dynamic linking these days and
1.15542 - # people can always --disable-shared, the test was removed, and we
1.15543 - # assume the GNU/Linux dynamic linker is in use.
1.15544 - dynamic_linker='GNU/Linux ld.so'
1.15545 - ;;
1.15546 -
1.15547 -netbsdelf*-gnu)
1.15548 - version_type=linux
1.15549 - need_lib_prefix=no
1.15550 - need_version=no
1.15551 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15552 - soname_spec='${libname}${release}${shared_ext}$major'
1.15553 - shlibpath_var=LD_LIBRARY_PATH
1.15554 - shlibpath_overrides_runpath=no
1.15555 - hardcode_into_libs=yes
1.15556 - dynamic_linker='NetBSD ld.elf_so'
1.15557 - ;;
1.15558 -
1.15559 -knetbsd*-gnu)
1.15560 - version_type=linux
1.15561 - need_lib_prefix=no
1.15562 - need_version=no
1.15563 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15564 - soname_spec='${libname}${release}${shared_ext}$major'
1.15565 - shlibpath_var=LD_LIBRARY_PATH
1.15566 - shlibpath_overrides_runpath=no
1.15567 - hardcode_into_libs=yes
1.15568 - dynamic_linker='GNU ld.so'
1.15569 - ;;
1.15570 -
1.15571 -netbsd*)
1.15572 - version_type=sunos
1.15573 - need_lib_prefix=no
1.15574 - need_version=no
1.15575 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.15576 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15577 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.15578 - dynamic_linker='NetBSD (a.out) ld.so'
1.15579 - else
1.15580 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15581 - soname_spec='${libname}${release}${shared_ext}$major'
1.15582 - dynamic_linker='NetBSD ld.elf_so'
1.15583 - fi
1.15584 - shlibpath_var=LD_LIBRARY_PATH
1.15585 - shlibpath_overrides_runpath=yes
1.15586 - hardcode_into_libs=yes
1.15587 - ;;
1.15588 -
1.15589 -newsos6)
1.15590 - version_type=linux
1.15591 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15592 - shlibpath_var=LD_LIBRARY_PATH
1.15593 - shlibpath_overrides_runpath=yes
1.15594 - ;;
1.15595 -
1.15596 -nto-qnx*)
1.15597 - version_type=linux
1.15598 - need_lib_prefix=no
1.15599 - need_version=no
1.15600 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15601 - soname_spec='${libname}${release}${shared_ext}$major'
1.15602 - shlibpath_var=LD_LIBRARY_PATH
1.15603 - shlibpath_overrides_runpath=yes
1.15604 - ;;
1.15605 -
1.15606 -openbsd*)
1.15607 - version_type=sunos
1.15608 - need_lib_prefix=no
1.15609 - need_version=yes
1.15610 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15611 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.15612 - shlibpath_var=LD_LIBRARY_PATH
1.15613 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.15614 - case $host_os in
1.15615 - openbsd2.[89] | openbsd2.[89].*)
1.15616 - shlibpath_overrides_runpath=no
1.15617 - ;;
1.15618 - *)
1.15619 - shlibpath_overrides_runpath=yes
1.15620 - ;;
1.15621 - esac
1.15622 - else
1.15623 - shlibpath_overrides_runpath=yes
1.15624 - fi
1.15625 - ;;
1.15626 -
1.15627 -os2*)
1.15628 - libname_spec='$name'
1.15629 - shrext_cmds=".dll"
1.15630 - need_lib_prefix=no
1.15631 - library_names_spec='$libname${shared_ext} $libname.a'
1.15632 - dynamic_linker='OS/2 ld.exe'
1.15633 - shlibpath_var=LIBPATH
1.15634 - ;;
1.15635 -
1.15636 -osf3* | osf4* | osf5*)
1.15637 - version_type=osf
1.15638 - need_lib_prefix=no
1.15639 - need_version=no
1.15640 - soname_spec='${libname}${release}${shared_ext}$major'
1.15641 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15642 - shlibpath_var=LD_LIBRARY_PATH
1.15643 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.15644 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.15645 - ;;
1.15646 -
1.15647 -sco3.2v5*)
1.15648 - version_type=osf
1.15649 - soname_spec='${libname}${release}${shared_ext}$major'
1.15650 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15651 - shlibpath_var=LD_LIBRARY_PATH
1.15652 - ;;
1.15653 -
1.15654 -solaris*)
1.15655 - version_type=linux
1.15656 - need_lib_prefix=no
1.15657 - need_version=no
1.15658 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15659 - soname_spec='${libname}${release}${shared_ext}$major'
1.15660 - shlibpath_var=LD_LIBRARY_PATH
1.15661 - shlibpath_overrides_runpath=yes
1.15662 - hardcode_into_libs=yes
1.15663 - # ldd complains unless libraries are executable
1.15664 - postinstall_cmds='chmod +x $lib'
1.15665 - ;;
1.15666 -
1.15667 -sunos4*)
1.15668 - version_type=sunos
1.15669 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15670 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.15671 - shlibpath_var=LD_LIBRARY_PATH
1.15672 - shlibpath_overrides_runpath=yes
1.15673 - if test "$with_gnu_ld" = yes; then
1.15674 - need_lib_prefix=no
1.15675 - fi
1.15676 - need_version=yes
1.15677 - ;;
1.15678 -
1.15679 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.15680 - version_type=linux
1.15681 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15682 - soname_spec='${libname}${release}${shared_ext}$major'
1.15683 - shlibpath_var=LD_LIBRARY_PATH
1.15684 - case $host_vendor in
1.15685 - sni)
1.15686 - shlibpath_overrides_runpath=no
1.15687 - need_lib_prefix=no
1.15688 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.15689 - runpath_var=LD_RUN_PATH
1.15690 - ;;
1.15691 - siemens)
1.15692 - need_lib_prefix=no
1.15693 - ;;
1.15694 - motorola)
1.15695 - need_lib_prefix=no
1.15696 - need_version=no
1.15697 - shlibpath_overrides_runpath=no
1.15698 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.15699 - ;;
1.15700 - esac
1.15701 - ;;
1.15702 -
1.15703 -sysv4*MP*)
1.15704 - if test -d /usr/nec ;then
1.15705 - version_type=linux
1.15706 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.15707 - soname_spec='$libname${shared_ext}.$major'
1.15708 - shlibpath_var=LD_LIBRARY_PATH
1.15709 - fi
1.15710 - ;;
1.15711 -
1.15712 -uts4*)
1.15713 - version_type=linux
1.15714 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15715 - soname_spec='${libname}${release}${shared_ext}$major'
1.15716 - shlibpath_var=LD_LIBRARY_PATH
1.15717 - ;;
1.15718 -
1.15719 -*)
1.15720 - dynamic_linker=no
1.15721 - ;;
1.15722 -esac
1.15723 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.15724 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.15725 -test "$dynamic_linker" = no && can_build_shared=no
1.15726 -
1.15727 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.15728 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.15729 -hardcode_action_F77=
1.15730 -if test -n "$hardcode_libdir_flag_spec_F77" || \
1.15731 - test -n "$runpath_var F77" || \
1.15732 - test "X$hardcode_automatic_F77"="Xyes" ; then
1.15733 -
1.15734 - # We can hardcode non-existant directories.
1.15735 - if test "$hardcode_direct_F77" != no &&
1.15736 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.15737 - # have to relink, otherwise we might link with an installed library
1.15738 - # when we should be linking with a yet-to-be-installed one
1.15739 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
1.15740 - test "$hardcode_minus_L_F77" != no; then
1.15741 - # Linking always hardcodes the temporary library directory.
1.15742 - hardcode_action_F77=relink
1.15743 - else
1.15744 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.15745 - hardcode_action_F77=immediate
1.15746 - fi
1.15747 -else
1.15748 - # We cannot hardcode anything, or else we can only hardcode existing
1.15749 - # directories.
1.15750 - hardcode_action_F77=unsupported
1.15751 -fi
1.15752 -{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
1.15753 -echo "${ECHO_T}$hardcode_action_F77" >&6; }
1.15754 -
1.15755 -if test "$hardcode_action_F77" = relink; then
1.15756 - # Fast installation is not supported
1.15757 - enable_fast_install=no
1.15758 -elif test "$shlibpath_overrides_runpath" = yes ||
1.15759 - test "$enable_shared" = no; then
1.15760 - # Fast installation is not necessary
1.15761 - enable_fast_install=needless
1.15762 -fi
1.15763 -
1.15764 -striplib=
1.15765 -old_striplib=
1.15766 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.15767 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.15768 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.15769 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.15770 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.15771 - { echo "$as_me:$LINENO: result: yes" >&5
1.15772 -echo "${ECHO_T}yes" >&6; }
1.15773 -else
1.15774 -# FIXME - insert some real tests, host_os isn't really good enough
1.15775 - case $host_os in
1.15776 - darwin*)
1.15777 - if test -n "$STRIP" ; then
1.15778 - striplib="$STRIP -x"
1.15779 - { echo "$as_me:$LINENO: result: yes" >&5
1.15780 -echo "${ECHO_T}yes" >&6; }
1.15781 - else
1.15782 - { echo "$as_me:$LINENO: result: no" >&5
1.15783 -echo "${ECHO_T}no" >&6; }
1.15784 -fi
1.15785 - ;;
1.15786 - *)
1.15787 - { echo "$as_me:$LINENO: result: no" >&5
1.15788 -echo "${ECHO_T}no" >&6; }
1.15789 - ;;
1.15790 - esac
1.15791 -fi
1.15792 -
1.15793 -
1.15794 -
1.15795 -# The else clause should only fire when bootstrapping the
1.15796 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.15797 -# with your package, and you will get complaints that there are
1.15798 -# no rules to generate ltmain.sh.
1.15799 -if test -f "$ltmain"; then
1.15800 - # See if we are running on zsh, and set the options which allow our commands through
1.15801 - # without removal of \ escapes.
1.15802 - if test -n "${ZSH_VERSION+set}" ; then
1.15803 - setopt NO_GLOB_SUBST
1.15804 - fi
1.15805 - # Now quote all the things that may contain metacharacters while being
1.15806 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.15807 - # variables and quote the copies for generation of the libtool script.
1.15808 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.15809 - SED SHELL STRIP \
1.15810 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.15811 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.15812 - deplibs_check_method reload_flag reload_cmds need_locks \
1.15813 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.15814 - lt_cv_sys_global_symbol_to_c_name_address \
1.15815 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.15816 - old_postinstall_cmds old_postuninstall_cmds \
1.15817 - compiler_F77 \
1.15818 - CC_F77 \
1.15819 - LD_F77 \
1.15820 - lt_prog_compiler_wl_F77 \
1.15821 - lt_prog_compiler_pic_F77 \
1.15822 - lt_prog_compiler_static_F77 \
1.15823 - lt_prog_compiler_no_builtin_flag_F77 \
1.15824 - export_dynamic_flag_spec_F77 \
1.15825 - thread_safe_flag_spec_F77 \
1.15826 - whole_archive_flag_spec_F77 \
1.15827 - enable_shared_with_static_runtimes_F77 \
1.15828 - old_archive_cmds_F77 \
1.15829 - old_archive_from_new_cmds_F77 \
1.15830 - predep_objects_F77 \
1.15831 - postdep_objects_F77 \
1.15832 - predeps_F77 \
1.15833 - postdeps_F77 \
1.15834 - compiler_lib_search_path_F77 \
1.15835 - archive_cmds_F77 \
1.15836 - archive_expsym_cmds_F77 \
1.15837 - postinstall_cmds_F77 \
1.15838 - postuninstall_cmds_F77 \
1.15839 - old_archive_from_expsyms_cmds_F77 \
1.15840 - allow_undefined_flag_F77 \
1.15841 - no_undefined_flag_F77 \
1.15842 - export_symbols_cmds_F77 \
1.15843 - hardcode_libdir_flag_spec_F77 \
1.15844 - hardcode_libdir_flag_spec_ld_F77 \
1.15845 - hardcode_libdir_separator_F77 \
1.15846 - hardcode_automatic_F77 \
1.15847 - module_cmds_F77 \
1.15848 - module_expsym_cmds_F77 \
1.15849 - lt_cv_prog_compiler_c_o_F77 \
1.15850 - exclude_expsyms_F77 \
1.15851 - include_expsyms_F77; do
1.15852 -
1.15853 - case $var in
1.15854 - old_archive_cmds_F77 | \
1.15855 - old_archive_from_new_cmds_F77 | \
1.15856 - archive_cmds_F77 | \
1.15857 - archive_expsym_cmds_F77 | \
1.15858 - module_cmds_F77 | \
1.15859 - module_expsym_cmds_F77 | \
1.15860 - old_archive_from_expsyms_cmds_F77 | \
1.15861 - export_symbols_cmds_F77 | \
1.15862 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.15863 - postinstall_cmds | postuninstall_cmds | \
1.15864 - old_postinstall_cmds | old_postuninstall_cmds | \
1.15865 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.15866 - # Double-quote double-evaled strings.
1.15867 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.15868 - ;;
1.15869 - *)
1.15870 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.15871 - ;;
1.15872 - esac
1.15873 - done
1.15874 -
1.15875 - case $lt_echo in
1.15876 - *'\$0 --fallback-echo"')
1.15877 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.15878 - ;;
1.15879 - esac
1.15880 -
1.15881 -cfgfile="$ofile"
1.15882 -
1.15883 - cat <<__EOF__ >> "$cfgfile"
1.15884 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.15885 -
1.15886 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.15887 -
1.15888 -# Shell to use when invoking shell scripts.
1.15889 -SHELL=$lt_SHELL
1.15890 -
1.15891 -# Whether or not to build shared libraries.
1.15892 -build_libtool_libs=$enable_shared
1.15893 -
1.15894 -# Whether or not to build static libraries.
1.15895 -build_old_libs=$enable_static
1.15896 -
1.15897 -# Whether or not to add -lc for building shared libraries.
1.15898 -build_libtool_need_lc=$archive_cmds_need_lc_F77
1.15899 -
1.15900 -# Whether or not to disallow shared libs when runtime libs are static
1.15901 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
1.15902 -
1.15903 -# Whether or not to optimize for fast installation.
1.15904 -fast_install=$enable_fast_install
1.15905 -
1.15906 -# The host system.
1.15907 -host_alias=$host_alias
1.15908 -host=$host
1.15909 -
1.15910 -# An echo program that does not interpret backslashes.
1.15911 -echo=$lt_echo
1.15912 -
1.15913 -# The archiver.
1.15914 -AR=$lt_AR
1.15915 -AR_FLAGS=$lt_AR_FLAGS
1.15916 -
1.15917 -# A C compiler.
1.15918 -LTCC=$lt_LTCC
1.15919 -
1.15920 -# A language-specific compiler.
1.15921 -CC=$lt_compiler_F77
1.15922 -
1.15923 -# Is the compiler the GNU C compiler?
1.15924 -with_gcc=$GCC_F77
1.15925 -
1.15926 -# An ERE matcher.
1.15927 -EGREP=$lt_EGREP
1.15928 -
1.15929 -# The linker used to build libraries.
1.15930 -LD=$lt_LD_F77
1.15931 -
1.15932 -# Whether we need hard or soft links.
1.15933 -LN_S=$lt_LN_S
1.15934 -
1.15935 -# A BSD-compatible nm program.
1.15936 -NM=$lt_NM
1.15937 -
1.15938 -# A symbol stripping program
1.15939 -STRIP=$lt_STRIP
1.15940 -
1.15941 -# Used to examine libraries when file_magic_cmd begins "file"
1.15942 -MAGIC_CMD=$MAGIC_CMD
1.15943 -
1.15944 -# Used on cygwin: DLL creation program.
1.15945 -DLLTOOL="$DLLTOOL"
1.15946 -
1.15947 -# Used on cygwin: object dumper.
1.15948 -OBJDUMP="$OBJDUMP"
1.15949 -
1.15950 -# Used on cygwin: assembler.
1.15951 -AS="$AS"
1.15952 -
1.15953 -# The name of the directory that contains temporary libtool files.
1.15954 -objdir=$objdir
1.15955 -
1.15956 -# How to create reloadable object files.
1.15957 -reload_flag=$lt_reload_flag
1.15958 -reload_cmds=$lt_reload_cmds
1.15959 -
1.15960 -# How to pass a linker flag through the compiler.
1.15961 -wl=$lt_lt_prog_compiler_wl_F77
1.15962 -
1.15963 -# Object file suffix (normally "o").
1.15964 -objext="$ac_objext"
1.15965 -
1.15966 -# Old archive suffix (normally "a").
1.15967 -libext="$libext"
1.15968 -
1.15969 -# Shared library suffix (normally ".so").
1.15970 -shrext_cmds='$shrext_cmds'
1.15971 -
1.15972 -# Executable file suffix (normally "").
1.15973 -exeext="$exeext"
1.15974 -
1.15975 -# Additional compiler flags for building library objects.
1.15976 -pic_flag=$lt_lt_prog_compiler_pic_F77
1.15977 -pic_mode=$pic_mode
1.15978 -
1.15979 -# What is the maximum length of a command?
1.15980 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.15981 -
1.15982 -# Does compiler simultaneously support -c and -o options?
1.15983 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
1.15984 -
1.15985 -# Must we lock files when doing compilation ?
1.15986 -need_locks=$lt_need_locks
1.15987 -
1.15988 -# Do we need the lib prefix for modules?
1.15989 -need_lib_prefix=$need_lib_prefix
1.15990 -
1.15991 -# Do we need a version for libraries?
1.15992 -need_version=$need_version
1.15993 -
1.15994 -# Whether dlopen is supported.
1.15995 -dlopen_support=$enable_dlopen
1.15996 -
1.15997 -# Whether dlopen of programs is supported.
1.15998 -dlopen_self=$enable_dlopen_self
1.15999 -
1.16000 -# Whether dlopen of statically linked programs is supported.
1.16001 -dlopen_self_static=$enable_dlopen_self_static
1.16002 -
1.16003 -# Compiler flag to prevent dynamic linking.
1.16004 -link_static_flag=$lt_lt_prog_compiler_static_F77
1.16005 -
1.16006 -# Compiler flag to turn off builtin functions.
1.16007 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
1.16008 -
1.16009 -# Compiler flag to allow reflexive dlopens.
1.16010 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
1.16011 -
1.16012 -# Compiler flag to generate shared objects directly from archives.
1.16013 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
1.16014 -
1.16015 -# Compiler flag to generate thread-safe objects.
1.16016 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
1.16017 -
1.16018 -# Library versioning type.
1.16019 -version_type=$version_type
1.16020 -
1.16021 -# Format of library name prefix.
1.16022 -libname_spec=$lt_libname_spec
1.16023 -
1.16024 -# List of archive names. First name is the real one, the rest are links.
1.16025 -# The last name is the one that the linker finds with -lNAME.
1.16026 -library_names_spec=$lt_library_names_spec
1.16027 -
1.16028 -# The coded name of the library, if different from the real name.
1.16029 -soname_spec=$lt_soname_spec
1.16030 -
1.16031 -# Commands used to build and install an old-style archive.
1.16032 -RANLIB=$lt_RANLIB
1.16033 -old_archive_cmds=$lt_old_archive_cmds_F77
1.16034 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.16035 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.16036 -
1.16037 -# Create an old-style archive from a shared archive.
1.16038 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
1.16039 -
1.16040 -# Create a temporary old-style archive to link instead of a shared archive.
1.16041 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
1.16042 -
1.16043 -# Commands used to build and install a shared archive.
1.16044 -archive_cmds=$lt_archive_cmds_F77
1.16045 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
1.16046 -postinstall_cmds=$lt_postinstall_cmds
1.16047 -postuninstall_cmds=$lt_postuninstall_cmds
1.16048 -
1.16049 -# Commands used to build a loadable module (assumed same as above if empty)
1.16050 -module_cmds=$lt_module_cmds_F77
1.16051 -module_expsym_cmds=$lt_module_expsym_cmds_F77
1.16052 -
1.16053 -# Commands to strip libraries.
1.16054 -old_striplib=$lt_old_striplib
1.16055 -striplib=$lt_striplib
1.16056 -
1.16057 -# Dependencies to place before the objects being linked to create a
1.16058 -# shared library.
1.16059 -predep_objects=$lt_predep_objects_F77
1.16060 -
1.16061 -# Dependencies to place after the objects being linked to create a
1.16062 -# shared library.
1.16063 -postdep_objects=$lt_postdep_objects_F77
1.16064 -
1.16065 -# Dependencies to place before the objects being linked to create a
1.16066 -# shared library.
1.16067 -predeps=$lt_predeps_F77
1.16068 -
1.16069 -# Dependencies to place after the objects being linked to create a
1.16070 -# shared library.
1.16071 -postdeps=$lt_postdeps_F77
1.16072 -
1.16073 -# The library search path used internally by the compiler when linking
1.16074 -# a shared library.
1.16075 -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
1.16076 -
1.16077 -# Method to check whether dependent libraries are shared objects.
1.16078 -deplibs_check_method=$lt_deplibs_check_method
1.16079 -
1.16080 -# Command to use when deplibs_check_method == file_magic.
1.16081 -file_magic_cmd=$lt_file_magic_cmd
1.16082 -
1.16083 -# Flag that allows shared libraries with undefined symbols to be built.
1.16084 -allow_undefined_flag=$lt_allow_undefined_flag_F77
1.16085 -
1.16086 -# Flag that forces no undefined symbols.
1.16087 -no_undefined_flag=$lt_no_undefined_flag_F77
1.16088 -
1.16089 -# Commands used to finish a libtool library installation in a directory.
1.16090 -finish_cmds=$lt_finish_cmds
1.16091 -
1.16092 -# Same as above, but a single script fragment to be evaled but not shown.
1.16093 -finish_eval=$lt_finish_eval
1.16094 -
1.16095 -# Take the output of nm and produce a listing of raw symbols and C names.
1.16096 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.16097 -
1.16098 -# Transform the output of nm in a proper C declaration
1.16099 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.16100 -
1.16101 -# Transform the output of nm in a C name address pair
1.16102 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.16103 -
1.16104 -# This is the shared library runtime path variable.
1.16105 -runpath_var=$runpath_var
1.16106 -
1.16107 -# This is the shared library path variable.
1.16108 -shlibpath_var=$shlibpath_var
1.16109 -
1.16110 -# Is shlibpath searched before the hard-coded library search path?
1.16111 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.16112 -
1.16113 -# How to hardcode a shared library path into an executable.
1.16114 -hardcode_action=$hardcode_action_F77
1.16115 -
1.16116 -# Whether we should hardcode library paths into libraries.
1.16117 -hardcode_into_libs=$hardcode_into_libs
1.16118 -
1.16119 -# Flag to hardcode \$libdir into a binary during linking.
1.16120 -# This must work even if \$libdir does not exist.
1.16121 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
1.16122 -
1.16123 -# If ld is used when linking, flag to hardcode \$libdir into
1.16124 -# a binary during linking. This must work even if \$libdir does
1.16125 -# not exist.
1.16126 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
1.16127 -
1.16128 -# Whether we need a single -rpath flag with a separated argument.
1.16129 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
1.16130 -
1.16131 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.16132 -# resulting binary.
1.16133 -hardcode_direct=$hardcode_direct_F77
1.16134 -
1.16135 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.16136 -# resulting binary.
1.16137 -hardcode_minus_L=$hardcode_minus_L_F77
1.16138 -
1.16139 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.16140 -# the resulting binary.
1.16141 -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
1.16142 -
1.16143 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.16144 -# and all subsequent libraries and executables linked against it.
1.16145 -hardcode_automatic=$hardcode_automatic_F77
1.16146 -
1.16147 -# Variables whose values should be saved in libtool wrapper scripts and
1.16148 -# restored at relink time.
1.16149 -variables_saved_for_relink="$variables_saved_for_relink"
1.16150 -
1.16151 -# Whether libtool must link a program against all its dependency libraries.
1.16152 -link_all_deplibs=$link_all_deplibs_F77
1.16153 -
1.16154 -# Compile-time system search path for libraries
1.16155 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.16156 -
1.16157 -# Run-time system search path for libraries
1.16158 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.16159 -
1.16160 -# Fix the shell variable \$srcfile for the compiler.
1.16161 -fix_srcfile_path="$fix_srcfile_path_F77"
1.16162 -
1.16163 -# Set to yes if exported symbols are required.
1.16164 -always_export_symbols=$always_export_symbols_F77
1.16165 -
1.16166 -# The commands to list exported symbols.
1.16167 -export_symbols_cmds=$lt_export_symbols_cmds_F77
1.16168 -
1.16169 -# The commands to extract the exported symbol list from a shared archive.
1.16170 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.16171 -
1.16172 -# Symbols that should not be listed in the preloaded symbols.
1.16173 -exclude_expsyms=$lt_exclude_expsyms_F77
1.16174 -
1.16175 -# Symbols that must always be exported.
1.16176 -include_expsyms=$lt_include_expsyms_F77
1.16177 -
1.16178 -# ### END LIBTOOL TAG CONFIG: $tagname
1.16179 -
1.16180 -__EOF__
1.16181 -
1.16182 -
1.16183 -else
1.16184 - # If there is no Makefile yet, we rely on a make rule to execute
1.16185 - # `config.status --recheck' to rerun these tests and create the
1.16186 - # libtool script then.
1.16187 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.16188 - if test -f "$ltmain_in"; then
1.16189 - test -f Makefile && make "$ltmain"
1.16190 - fi
1.16191 -fi
1.16192 -
1.16193 -
1.16194 -ac_ext=c
1.16195 -ac_cpp='$CPP $CPPFLAGS'
1.16196 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.16197 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.16198 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.16199 -
1.16200 -CC="$lt_save_CC"
1.16201 -
1.16202 - else
1.16203 - tagname=""
1.16204 - fi
1.16205 - ;;
1.16206 -
1.16207 - GCJ)
1.16208 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1.16209 -
1.16210 -
1.16211 -# Source file extension for Java test sources.
1.16212 -ac_ext=java
1.16213 -
1.16214 -# Object file extension for compiled Java test sources.
1.16215 -objext=o
1.16216 -objext_GCJ=$objext
1.16217 -
1.16218 -# Code to be used in simple compile tests
1.16219 -lt_simple_compile_test_code="class foo {}\n"
1.16220 -
1.16221 -# Code to be used in simple link tests
1.16222 -lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
1.16223 -
1.16224 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.16225 -
1.16226 -# If no C compiler was specified, use CC.
1.16227 -LTCC=${LTCC-"$CC"}
1.16228 -
1.16229 -# Allow CC to be a program name with arguments.
1.16230 -compiler=$CC
1.16231 -
1.16232 -
1.16233 -# Allow CC to be a program name with arguments.
1.16234 -lt_save_CC="$CC"
1.16235 -CC=${GCJ-"gcj"}
1.16236 -compiler=$CC
1.16237 -compiler_GCJ=$CC
1.16238 -
1.16239 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
1.16240 -archive_cmds_need_lc_GCJ=no
1.16241 -
1.16242 -## CAVEAT EMPTOR:
1.16243 -## There is no encapsulation within the following macros, do not change
1.16244 -## the running order or otherwise move them around unless you know exactly
1.16245 -## what you are doing...
1.16246 -
1.16247 -lt_prog_compiler_no_builtin_flag_GCJ=
1.16248 -
1.16249 -if test "$GCC" = yes; then
1.16250 - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1.16251 -
1.16252 -
1.16253 -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.16254 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
1.16255 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.16256 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16257 -else
1.16258 - lt_cv_prog_compiler_rtti_exceptions=no
1.16259 - ac_outfile=conftest.$ac_objext
1.16260 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16261 - lt_compiler_flag="-fno-rtti -fno-exceptions"
1.16262 - # Insert the option either (1) after the last *FLAGS variable, or
1.16263 - # (2) before a word containing "conftest.", or (3) at the end.
1.16264 - # Note that $ac_compile itself does not contain backslashes and begins
1.16265 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16266 - # The option is referenced via a variable to avoid confusing sed.
1.16267 - lt_compile=`echo "$ac_compile" | $SED \
1.16268 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.16269 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16270 - -e 's:$: $lt_compiler_flag:'`
1.16271 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16272 - (eval "$lt_compile" 2>conftest.err)
1.16273 - ac_status=$?
1.16274 - cat conftest.err >&5
1.16275 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16276 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.16277 - # The compiler can only warn and ignore the option if not recognized
1.16278 - # So say no if there are warnings
1.16279 - if test ! -s conftest.err; then
1.16280 - lt_cv_prog_compiler_rtti_exceptions=yes
1.16281 - fi
1.16282 - fi
1.16283 - $rm conftest*
1.16284 -
1.16285 -fi
1.16286 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.16287 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.16288 -
1.16289 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1.16290 - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
1.16291 -else
1.16292 - :
1.16293 -fi
1.16294 -
1.16295 -fi
1.16296 -
1.16297 -lt_prog_compiler_wl_GCJ=
1.16298 -lt_prog_compiler_pic_GCJ=
1.16299 -lt_prog_compiler_static_GCJ=
1.16300 -
1.16301 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.16302 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.16303 -
1.16304 - if test "$GCC" = yes; then
1.16305 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16306 - lt_prog_compiler_static_GCJ='-static'
1.16307 -
1.16308 - case $host_os in
1.16309 - aix*)
1.16310 - # All AIX code is PIC.
1.16311 - if test "$host_cpu" = ia64; then
1.16312 - # AIX 5 now supports IA64 processor
1.16313 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16314 - fi
1.16315 - ;;
1.16316 -
1.16317 - amigaos*)
1.16318 - # FIXME: we need at least 68020 code to build shared libraries, but
1.16319 - # adding the `-m68020' flag to GCC prevents building anything better,
1.16320 - # like `-m68040'.
1.16321 - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
1.16322 - ;;
1.16323 -
1.16324 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.16325 - # PIC is the default for these OSes.
1.16326 - ;;
1.16327 -
1.16328 - mingw* | pw32* | os2*)
1.16329 - # This hack is so that the source file can tell whether it is being
1.16330 - # built for inclusion in a dll (and should export symbols for example).
1.16331 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1.16332 - ;;
1.16333 -
1.16334 - darwin* | rhapsody*)
1.16335 - # PIC is the default on this platform
1.16336 - # Common symbols not allowed in MH_DYLIB files
1.16337 - lt_prog_compiler_pic_GCJ='-fno-common'
1.16338 - ;;
1.16339 -
1.16340 - msdosdjgpp*)
1.16341 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.16342 - # on systems that don't support them.
1.16343 - lt_prog_compiler_can_build_shared_GCJ=no
1.16344 - enable_shared=no
1.16345 - ;;
1.16346 -
1.16347 - sysv4*MP*)
1.16348 - if test -d /usr/nec; then
1.16349 - lt_prog_compiler_pic_GCJ=-Kconform_pic
1.16350 - fi
1.16351 - ;;
1.16352 -
1.16353 - hpux*)
1.16354 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.16355 - # not for PA HP-UX.
1.16356 - case "$host_cpu" in
1.16357 - hppa*64*|ia64*)
1.16358 - # +Z the default
1.16359 - ;;
1.16360 - *)
1.16361 - lt_prog_compiler_pic_GCJ='-fPIC'
1.16362 - ;;
1.16363 - esac
1.16364 - ;;
1.16365 -
1.16366 - *)
1.16367 - lt_prog_compiler_pic_GCJ='-fPIC'
1.16368 - ;;
1.16369 - esac
1.16370 - else
1.16371 - # PORTME Check for flag to pass linker flags through the system compiler.
1.16372 - case $host_os in
1.16373 - aix*)
1.16374 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16375 - if test "$host_cpu" = ia64; then
1.16376 - # AIX 5 now supports IA64 processor
1.16377 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16378 - else
1.16379 - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
1.16380 - fi
1.16381 - ;;
1.16382 -
1.16383 - mingw* | pw32* | os2*)
1.16384 - # This hack is so that the source file can tell whether it is being
1.16385 - # built for inclusion in a dll (and should export symbols for example).
1.16386 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1.16387 - ;;
1.16388 -
1.16389 - hpux9* | hpux10* | hpux11*)
1.16390 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16391 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.16392 - # not for PA HP-UX.
1.16393 - case "$host_cpu" in
1.16394 - hppa*64*|ia64*)
1.16395 - # +Z the default
1.16396 - ;;
1.16397 - *)
1.16398 - lt_prog_compiler_pic_GCJ='+Z'
1.16399 - ;;
1.16400 - esac
1.16401 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.16402 - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
1.16403 - ;;
1.16404 -
1.16405 - irix5* | irix6* | nonstopux*)
1.16406 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16407 - # PIC (with -KPIC) is the default.
1.16408 - lt_prog_compiler_static_GCJ='-non_shared'
1.16409 - ;;
1.16410 -
1.16411 - newsos6)
1.16412 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16413 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16414 - ;;
1.16415 -
1.16416 - linux*)
1.16417 - case $CC in
1.16418 - icc* | ecc*)
1.16419 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16420 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16421 - lt_prog_compiler_static_GCJ='-static'
1.16422 - ;;
1.16423 - ccc*)
1.16424 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16425 - # All Alpha code is PIC.
1.16426 - lt_prog_compiler_static_GCJ='-non_shared'
1.16427 - ;;
1.16428 - esac
1.16429 - ;;
1.16430 -
1.16431 - osf3* | osf4* | osf5*)
1.16432 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16433 - # All OSF/1 code is PIC.
1.16434 - lt_prog_compiler_static_GCJ='-non_shared'
1.16435 - ;;
1.16436 -
1.16437 - sco3.2v5*)
1.16438 - lt_prog_compiler_pic_GCJ='-Kpic'
1.16439 - lt_prog_compiler_static_GCJ='-dn'
1.16440 - ;;
1.16441 -
1.16442 - solaris*)
1.16443 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16444 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16445 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16446 - ;;
1.16447 -
1.16448 - sunos4*)
1.16449 - lt_prog_compiler_wl_GCJ='-Qoption ld '
1.16450 - lt_prog_compiler_pic_GCJ='-PIC'
1.16451 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16452 - ;;
1.16453 -
1.16454 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.16455 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16456 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16457 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16458 - ;;
1.16459 -
1.16460 - sysv4*MP*)
1.16461 - if test -d /usr/nec ;then
1.16462 - lt_prog_compiler_pic_GCJ='-Kconform_pic'
1.16463 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16464 - fi
1.16465 - ;;
1.16466 -
1.16467 - uts4*)
1.16468 - lt_prog_compiler_pic_GCJ='-pic'
1.16469 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16470 - ;;
1.16471 -
1.16472 - *)
1.16473 - lt_prog_compiler_can_build_shared_GCJ=no
1.16474 - ;;
1.16475 - esac
1.16476 - fi
1.16477 -
1.16478 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
1.16479 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
1.16480 -
1.16481 -#
1.16482 -# Check to make sure the PIC flag actually works.
1.16483 -#
1.16484 -if test -n "$lt_prog_compiler_pic_GCJ"; then
1.16485 -
1.16486 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
1.16487 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
1.16488 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
1.16489 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16490 -else
1.16491 - lt_prog_compiler_pic_works_GCJ=no
1.16492 - ac_outfile=conftest.$ac_objext
1.16493 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16494 - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
1.16495 - # Insert the option either (1) after the last *FLAGS variable, or
1.16496 - # (2) before a word containing "conftest.", or (3) at the end.
1.16497 - # Note that $ac_compile itself does not contain backslashes and begins
1.16498 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16499 - # The option is referenced via a variable to avoid confusing sed.
1.16500 - lt_compile=`echo "$ac_compile" | $SED \
1.16501 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.16502 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16503 - -e 's:$: $lt_compiler_flag:'`
1.16504 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16505 - (eval "$lt_compile" 2>conftest.err)
1.16506 - ac_status=$?
1.16507 - cat conftest.err >&5
1.16508 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16509 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.16510 - # The compiler can only warn and ignore the option if not recognized
1.16511 - # So say no if there are warnings
1.16512 - if test ! -s conftest.err; then
1.16513 - lt_prog_compiler_pic_works_GCJ=yes
1.16514 - fi
1.16515 - fi
1.16516 - $rm conftest*
1.16517 -
1.16518 -fi
1.16519 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
1.16520 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
1.16521 -
1.16522 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1.16523 - case $lt_prog_compiler_pic_GCJ in
1.16524 - "" | " "*) ;;
1.16525 - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
1.16526 - esac
1.16527 -else
1.16528 - lt_prog_compiler_pic_GCJ=
1.16529 - lt_prog_compiler_can_build_shared_GCJ=no
1.16530 -fi
1.16531 -
1.16532 -fi
1.16533 -case "$host_os" in
1.16534 - # For platforms which do not support PIC, -DPIC is meaningless:
1.16535 - *djgpp*)
1.16536 - lt_prog_compiler_pic_GCJ=
1.16537 - ;;
1.16538 - *)
1.16539 - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
1.16540 - ;;
1.16541 -esac
1.16542 -
1.16543 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.16544 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.16545 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
1.16546 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16547 -else
1.16548 - lt_cv_prog_compiler_c_o_GCJ=no
1.16549 - $rm -r conftest 2>/dev/null
1.16550 - mkdir conftest
1.16551 - cd conftest
1.16552 - mkdir out
1.16553 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16554 -
1.16555 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.16556 - # Insert the option either (1) after the last *FLAGS variable, or
1.16557 - # (2) before a word containing "conftest.", or (3) at the end.
1.16558 - # Note that $ac_compile itself does not contain backslashes and begins
1.16559 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16560 - lt_compile=`echo "$ac_compile" | $SED \
1.16561 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.16562 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16563 - -e 's:$: $lt_compiler_flag:'`
1.16564 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16565 - (eval "$lt_compile" 2>out/conftest.err)
1.16566 - ac_status=$?
1.16567 - cat out/conftest.err >&5
1.16568 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16569 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.16570 - then
1.16571 - # The compiler can only warn and ignore the option if not recognized
1.16572 - # So say no if there are warnings
1.16573 - if test ! -s out/conftest.err; then
1.16574 - lt_cv_prog_compiler_c_o_GCJ=yes
1.16575 - fi
1.16576 - fi
1.16577 - chmod u+w .
1.16578 - $rm conftest*
1.16579 - # SGI C++ compiler will create directory out/ii_files/ for
1.16580 - # template instantiation
1.16581 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.16582 - $rm out/* && rmdir out
1.16583 - cd ..
1.16584 - rmdir conftest
1.16585 - $rm conftest*
1.16586 -
1.16587 -fi
1.16588 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
1.16589 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
1.16590 -
1.16591 -
1.16592 -hard_links="nottested"
1.16593 -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1.16594 - # do not overwrite the value of need_locks provided by the user
1.16595 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.16596 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.16597 - hard_links=yes
1.16598 - $rm conftest*
1.16599 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.16600 - touch conftest.a
1.16601 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.16602 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.16603 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.16604 -echo "${ECHO_T}$hard_links" >&6; }
1.16605 - if test "$hard_links" = no; then
1.16606 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.16607 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.16608 - need_locks=warn
1.16609 - fi
1.16610 -else
1.16611 - need_locks=no
1.16612 -fi
1.16613 -
1.16614 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.16615 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.16616 -
1.16617 - runpath_var=
1.16618 - allow_undefined_flag_GCJ=
1.16619 - enable_shared_with_static_runtimes_GCJ=no
1.16620 - archive_cmds_GCJ=
1.16621 - archive_expsym_cmds_GCJ=
1.16622 - old_archive_From_new_cmds_GCJ=
1.16623 - old_archive_from_expsyms_cmds_GCJ=
1.16624 - export_dynamic_flag_spec_GCJ=
1.16625 - whole_archive_flag_spec_GCJ=
1.16626 - thread_safe_flag_spec_GCJ=
1.16627 - hardcode_libdir_flag_spec_GCJ=
1.16628 - hardcode_libdir_flag_spec_ld_GCJ=
1.16629 - hardcode_libdir_separator_GCJ=
1.16630 - hardcode_direct_GCJ=no
1.16631 - hardcode_minus_L_GCJ=no
1.16632 - hardcode_shlibpath_var_GCJ=unsupported
1.16633 - link_all_deplibs_GCJ=unknown
1.16634 - hardcode_automatic_GCJ=no
1.16635 - module_cmds_GCJ=
1.16636 - module_expsym_cmds_GCJ=
1.16637 - always_export_symbols_GCJ=no
1.16638 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.16639 - # include_expsyms should be a list of space-separated symbols to be *always*
1.16640 - # included in the symbol list
1.16641 - include_expsyms_GCJ=
1.16642 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.16643 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.16644 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.16645 - # as well as any symbol that contains `d'.
1.16646 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
1.16647 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.16648 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.16649 - # the symbol is explicitly referenced. Since portable code cannot
1.16650 - # rely on this symbol name, it's probably fine to never include it in
1.16651 - # preloaded symbol tables.
1.16652 - extract_expsyms_cmds=
1.16653 -
1.16654 - case $host_os in
1.16655 - cygwin* | mingw* | pw32*)
1.16656 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.16657 - # When not using gcc, we currently assume that we are using
1.16658 - # Microsoft Visual C++.
1.16659 - if test "$GCC" != yes; then
1.16660 - with_gnu_ld=no
1.16661 - fi
1.16662 - ;;
1.16663 - openbsd*)
1.16664 - with_gnu_ld=no
1.16665 - ;;
1.16666 - esac
1.16667 -
1.16668 - ld_shlibs_GCJ=yes
1.16669 - if test "$with_gnu_ld" = yes; then
1.16670 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.16671 - wlarc='${wl}'
1.16672 -
1.16673 - # See if GNU ld supports shared libraries.
1.16674 - case $host_os in
1.16675 - aix3* | aix4* | aix5*)
1.16676 - # On AIX/PPC, the GNU linker is very broken
1.16677 - if test "$host_cpu" != ia64; then
1.16678 - ld_shlibs_GCJ=no
1.16679 - cat <<EOF 1>&2
1.16680 -
1.16681 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.16682 -*** to be unable to reliably create shared libraries on AIX.
1.16683 -*** Therefore, libtool is disabling shared libraries support. If you
1.16684 -*** really care for shared libraries, you may want to modify your PATH
1.16685 -*** so that a non-GNU linker is found, and then restart.
1.16686 -
1.16687 -EOF
1.16688 - fi
1.16689 - ;;
1.16690 -
1.16691 - amigaos*)
1.16692 - 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.16693 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16694 - hardcode_minus_L_GCJ=yes
1.16695 -
1.16696 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.16697 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.16698 - # to version 4, is to share data among multiple programs linked
1.16699 - # with the same dynamic library. Since this doesn't match the
1.16700 - # behavior of shared libraries on other platforms, we can't use
1.16701 - # them.
1.16702 - ld_shlibs_GCJ=no
1.16703 - ;;
1.16704 -
1.16705 - beos*)
1.16706 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16707 - allow_undefined_flag_GCJ=unsupported
1.16708 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.16709 - # support --undefined. This deserves some investigation. FIXME
1.16710 - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16711 - else
1.16712 - ld_shlibs_GCJ=no
1.16713 - fi
1.16714 - ;;
1.16715 -
1.16716 - cygwin* | mingw* | pw32*)
1.16717 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
1.16718 - # as there is no search path for DLLs.
1.16719 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16720 - allow_undefined_flag_GCJ=unsupported
1.16721 - always_export_symbols_GCJ=no
1.16722 - enable_shared_with_static_runtimes_GCJ=yes
1.16723 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.16724 -
1.16725 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.16726 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.16727 - # If the export-symbols file already is a .def file (1st line
1.16728 - # is EXPORTS), use it as is; otherwise, prepend...
1.16729 - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.16730 - cp $export_symbols $output_objdir/$soname.def;
1.16731 - else
1.16732 - echo EXPORTS > $output_objdir/$soname.def;
1.16733 - cat $export_symbols >> $output_objdir/$soname.def;
1.16734 - fi~
1.16735 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.16736 - else
1.16737 - ld_shlibs=no
1.16738 - fi
1.16739 - ;;
1.16740 -
1.16741 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.16742 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.16743 - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.16744 - wlarc=
1.16745 - else
1.16746 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16747 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16748 - fi
1.16749 - ;;
1.16750 -
1.16751 - solaris* | sysv5*)
1.16752 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.16753 - ld_shlibs_GCJ=no
1.16754 - cat <<EOF 1>&2
1.16755 -
1.16756 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.16757 -*** create shared libraries on Solaris systems. Therefore, libtool
1.16758 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.16759 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.16760 -*** your PATH or compiler configuration so that the native linker is
1.16761 -*** used, and then restart.
1.16762 -
1.16763 -EOF
1.16764 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16765 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16766 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16767 - else
1.16768 - ld_shlibs_GCJ=no
1.16769 - fi
1.16770 - ;;
1.16771 -
1.16772 - sunos4*)
1.16773 - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.16774 - wlarc=
1.16775 - hardcode_direct_GCJ=yes
1.16776 - hardcode_shlibpath_var_GCJ=no
1.16777 - ;;
1.16778 -
1.16779 - linux*)
1.16780 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16781 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16782 - archive_cmds_GCJ="$tmp_archive_cmds"
1.16783 - supports_anon_versioning=no
1.16784 - case `$LD -v 2>/dev/null` in
1.16785 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.16786 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.16787 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.16788 - *\ 2.11.*) ;; # other 2.11 versions
1.16789 - *) supports_anon_versioning=yes ;;
1.16790 - esac
1.16791 - if test $supports_anon_versioning = yes; then
1.16792 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
1.16793 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.16794 -$echo "local: *; };" >> $output_objdir/$libname.ver~
1.16795 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.16796 - else
1.16797 - archive_expsym_cmds_GCJ="$tmp_archive_cmds"
1.16798 - fi
1.16799 - link_all_deplibs_GCJ=no
1.16800 - else
1.16801 - ld_shlibs_GCJ=no
1.16802 - fi
1.16803 - ;;
1.16804 -
1.16805 - *)
1.16806 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16807 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16808 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16809 - else
1.16810 - ld_shlibs_GCJ=no
1.16811 - fi
1.16812 - ;;
1.16813 - esac
1.16814 -
1.16815 - if test "$ld_shlibs_GCJ" = yes; then
1.16816 - runpath_var=LD_RUN_PATH
1.16817 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
1.16818 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
1.16819 - # ancient GNU ld didn't support --whole-archive et. al.
1.16820 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.16821 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.16822 - else
1.16823 - whole_archive_flag_spec_GCJ=
1.16824 - fi
1.16825 - fi
1.16826 - else
1.16827 - # PORTME fill in a description of your system's linker (not GNU ld)
1.16828 - case $host_os in
1.16829 - aix3*)
1.16830 - allow_undefined_flag_GCJ=unsupported
1.16831 - always_export_symbols_GCJ=yes
1.16832 - 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.16833 - # Note: this linker hardcodes the directories in LIBPATH if there
1.16834 - # are no directories specified by -L.
1.16835 - hardcode_minus_L_GCJ=yes
1.16836 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.16837 - # Neither direct hardcoding nor static linking is supported with a
1.16838 - # broken collect2.
1.16839 - hardcode_direct_GCJ=unsupported
1.16840 - fi
1.16841 - ;;
1.16842 -
1.16843 - aix4* | aix5*)
1.16844 - if test "$host_cpu" = ia64; then
1.16845 - # On IA64, the linker does run time linking by default, so we don't
1.16846 - # have to do anything special.
1.16847 - aix_use_runtimelinking=no
1.16848 - exp_sym_flag='-Bexport'
1.16849 - no_entry_flag=""
1.16850 - else
1.16851 - # If we're using GNU nm, then we don't want the "-C" option.
1.16852 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.16853 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.16854 - 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.16855 - else
1.16856 - 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.16857 - fi
1.16858 - aix_use_runtimelinking=no
1.16859 -
1.16860 - # Test if we are trying to use run time linking or normal
1.16861 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.16862 - # need to do runtime linking.
1.16863 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.16864 - for ld_flag in $LDFLAGS; do
1.16865 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.16866 - aix_use_runtimelinking=yes
1.16867 - break
1.16868 - fi
1.16869 - done
1.16870 - esac
1.16871 -
1.16872 - exp_sym_flag='-bexport'
1.16873 - no_entry_flag='-bnoentry'
1.16874 - fi
1.16875 -
1.16876 - # When large executables or shared objects are built, AIX ld can
1.16877 - # have problems creating the table of contents. If linking a library
1.16878 - # or program results in "error TOC overflow" add -mminimal-toc to
1.16879 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.16880 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.16881 -
1.16882 - archive_cmds_GCJ=''
1.16883 - hardcode_direct_GCJ=yes
1.16884 - hardcode_libdir_separator_GCJ=':'
1.16885 - link_all_deplibs_GCJ=yes
1.16886 -
1.16887 - if test "$GCC" = yes; then
1.16888 - case $host_os in aix4.012|aix4.012.*)
1.16889 - # We only want to do this on AIX 4.2 and lower, the check
1.16890 - # below for broken collect2 doesn't work under 4.3+
1.16891 - collect2name=`${CC} -print-prog-name=collect2`
1.16892 - if test -f "$collect2name" && \
1.16893 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.16894 - then
1.16895 - # We have reworked collect2
1.16896 - hardcode_direct_GCJ=yes
1.16897 - else
1.16898 - # We have old collect2
1.16899 - hardcode_direct_GCJ=unsupported
1.16900 - # It fails to find uninstalled libraries when the uninstalled
1.16901 - # path is not listed in the libpath. Setting hardcode_minus_L
1.16902 - # to unsupported forces relinking
1.16903 - hardcode_minus_L_GCJ=yes
1.16904 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16905 - hardcode_libdir_separator_GCJ=
1.16906 - fi
1.16907 - esac
1.16908 - shared_flag='-shared'
1.16909 - else
1.16910 - # not using gcc
1.16911 - if test "$host_cpu" = ia64; then
1.16912 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.16913 - # chokes on -Wl,-G. The following line is correct:
1.16914 - shared_flag='-G'
1.16915 - else
1.16916 - if test "$aix_use_runtimelinking" = yes; then
1.16917 - shared_flag='${wl}-G'
1.16918 - else
1.16919 - shared_flag='${wl}-bM:SRE'
1.16920 - fi
1.16921 - fi
1.16922 - fi
1.16923 -
1.16924 - # It seems that -bexpall does not export symbols beginning with
1.16925 - # underscore (_), so it is better to generate a list of symbols to export.
1.16926 - always_export_symbols_GCJ=yes
1.16927 - if test "$aix_use_runtimelinking" = yes; then
1.16928 - # Warning - without using the other runtime loading flags (-brtl),
1.16929 - # -berok will link without error, but may produce a broken library.
1.16930 - allow_undefined_flag_GCJ='-berok'
1.16931 - # Determine the default libpath from the value encoded in an empty executable.
1.16932 - cat >conftest.$ac_ext <<_ACEOF
1.16933 -/* confdefs.h. */
1.16934 -_ACEOF
1.16935 -cat confdefs.h >>conftest.$ac_ext
1.16936 -cat >>conftest.$ac_ext <<_ACEOF
1.16937 -/* end confdefs.h. */
1.16938 -
1.16939 -int
1.16940 -main ()
1.16941 -{
1.16942 -
1.16943 - ;
1.16944 - return 0;
1.16945 -}
1.16946 -_ACEOF
1.16947 -rm -f conftest.$ac_objext conftest$ac_exeext
1.16948 -if { (ac_try="$ac_link"
1.16949 -case "(($ac_try" in
1.16950 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.16951 - *) ac_try_echo=$ac_try;;
1.16952 -esac
1.16953 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.16954 - (eval "$ac_link") 2>conftest.er1
1.16955 - ac_status=$?
1.16956 - grep -v '^ *+' conftest.er1 >conftest.err
1.16957 - rm -f conftest.er1
1.16958 - cat conftest.err >&5
1.16959 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16960 - (exit $ac_status); } && {
1.16961 - test -z "$ac_c_werror_flag" ||
1.16962 - test ! -s conftest.err
1.16963 - } && test -s conftest$ac_exeext &&
1.16964 - $as_test_x conftest$ac_exeext; then
1.16965 -
1.16966 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.16967 -}'`
1.16968 -# Check for a 64-bit object if we didn't find anything.
1.16969 -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.16970 -}'`; fi
1.16971 -else
1.16972 - echo "$as_me: failed program was:" >&5
1.16973 -sed 's/^/| /' conftest.$ac_ext >&5
1.16974 -
1.16975 -
1.16976 -fi
1.16977 -
1.16978 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.16979 - conftest$ac_exeext conftest.$ac_ext
1.16980 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.16981 -
1.16982 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1.16983 - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1.16984 - else
1.16985 - if test "$host_cpu" = ia64; then
1.16986 - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
1.16987 - allow_undefined_flag_GCJ="-z nodefs"
1.16988 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
1.16989 - else
1.16990 - # Determine the default libpath from the value encoded in an empty executable.
1.16991 - cat >conftest.$ac_ext <<_ACEOF
1.16992 -/* confdefs.h. */
1.16993 -_ACEOF
1.16994 -cat confdefs.h >>conftest.$ac_ext
1.16995 -cat >>conftest.$ac_ext <<_ACEOF
1.16996 -/* end confdefs.h. */
1.16997 -
1.16998 -int
1.16999 -main ()
1.17000 -{
1.17001 -
1.17002 - ;
1.17003 - return 0;
1.17004 -}
1.17005 -_ACEOF
1.17006 -rm -f conftest.$ac_objext conftest$ac_exeext
1.17007 -if { (ac_try="$ac_link"
1.17008 -case "(($ac_try" in
1.17009 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.17010 - *) ac_try_echo=$ac_try;;
1.17011 -esac
1.17012 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.17013 - (eval "$ac_link") 2>conftest.er1
1.17014 - ac_status=$?
1.17015 - grep -v '^ *+' conftest.er1 >conftest.err
1.17016 - rm -f conftest.er1
1.17017 - cat conftest.err >&5
1.17018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17019 - (exit $ac_status); } && {
1.17020 - test -z "$ac_c_werror_flag" ||
1.17021 - test ! -s conftest.err
1.17022 - } && test -s conftest$ac_exeext &&
1.17023 - $as_test_x conftest$ac_exeext; then
1.17024 -
1.17025 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.17026 -}'`
1.17027 -# Check for a 64-bit object if we didn't find anything.
1.17028 -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.17029 -}'`; fi
1.17030 -else
1.17031 - echo "$as_me: failed program was:" >&5
1.17032 -sed 's/^/| /' conftest.$ac_ext >&5
1.17033 -
1.17034 -
1.17035 -fi
1.17036 -
1.17037 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.17038 - conftest$ac_exeext conftest.$ac_ext
1.17039 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.17040 -
1.17041 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1.17042 - # Warning - without using the other run time loading flags,
1.17043 - # -berok will link without error, but may produce a broken library.
1.17044 - no_undefined_flag_GCJ=' ${wl}-bernotok'
1.17045 - allow_undefined_flag_GCJ=' ${wl}-berok'
1.17046 - # -bexpall does not export symbols beginning with underscore (_)
1.17047 - always_export_symbols_GCJ=yes
1.17048 - # Exported symbols can be pulled into shared objects from archives
1.17049 - whole_archive_flag_spec_GCJ=' '
1.17050 - archive_cmds_need_lc_GCJ=yes
1.17051 - # This is similar to how AIX traditionally builds it's shared libraries.
1.17052 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1.17053 - fi
1.17054 - fi
1.17055 - ;;
1.17056 -
1.17057 - amigaos*)
1.17058 - 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.17059 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17060 - hardcode_minus_L_GCJ=yes
1.17061 - # see comment about different semantics on the GNU ld section
1.17062 - ld_shlibs_GCJ=no
1.17063 - ;;
1.17064 -
1.17065 - bsdi4*)
1.17066 - export_dynamic_flag_spec_GCJ=-rdynamic
1.17067 - ;;
1.17068 -
1.17069 - cygwin* | mingw* | pw32*)
1.17070 - # When not using gcc, we currently assume that we are using
1.17071 - # Microsoft Visual C++.
1.17072 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.17073 - # no search path for DLLs.
1.17074 - hardcode_libdir_flag_spec_GCJ=' '
1.17075 - allow_undefined_flag_GCJ=unsupported
1.17076 - # Tell ltmain to make .lib files, not .a files.
1.17077 - libext=lib
1.17078 - # Tell ltmain to make .dll files, not .so files.
1.17079 - shrext_cmds=".dll"
1.17080 - # FIXME: Setting linknames here is a bad hack.
1.17081 - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.17082 - # The linker will automatically build a .lib file if we build a DLL.
1.17083 - old_archive_From_new_cmds_GCJ='true'
1.17084 - # FIXME: Should let the user specify the lib program.
1.17085 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.17086 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1.17087 - enable_shared_with_static_runtimes_GCJ=yes
1.17088 - ;;
1.17089 -
1.17090 - darwin* | rhapsody*)
1.17091 - if test "$GXX" = yes ; then
1.17092 - archive_cmds_need_lc_GCJ=no
1.17093 - case "$host_os" in
1.17094 - rhapsody* | darwin1.[012])
1.17095 - allow_undefined_flag_GCJ='-undefined suppress'
1.17096 - ;;
1.17097 - *) # Darwin 1.3 on
1.17098 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.17099 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
1.17100 - else
1.17101 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.17102 - 10.[012])
1.17103 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
1.17104 - ;;
1.17105 - 10.*)
1.17106 - allow_undefined_flag_GCJ='-undefined dynamic_lookup'
1.17107 - ;;
1.17108 - esac
1.17109 - fi
1.17110 - ;;
1.17111 - esac
1.17112 - lt_int_apple_cc_single_mod=no
1.17113 - output_verbose_link_cmd='echo'
1.17114 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.17115 - lt_int_apple_cc_single_mod=yes
1.17116 - fi
1.17117 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.17118 - archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.17119 - else
1.17120 - archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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.17121 - fi
1.17122 - module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.17123 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.17124 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.17125 - archive_expsym_cmds_GCJ='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.17126 - else
1.17127 - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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.17128 - fi
1.17129 - 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.17130 - hardcode_direct_GCJ=no
1.17131 - hardcode_automatic_GCJ=yes
1.17132 - hardcode_shlibpath_var_GCJ=unsupported
1.17133 - whole_archive_flag_spec_GCJ='-all_load $convenience'
1.17134 - link_all_deplibs_GCJ=yes
1.17135 - else
1.17136 - ld_shlibs_GCJ=no
1.17137 - fi
1.17138 - ;;
1.17139 -
1.17140 - dgux*)
1.17141 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17142 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17143 - hardcode_shlibpath_var_GCJ=no
1.17144 - ;;
1.17145 -
1.17146 - freebsd1*)
1.17147 - ld_shlibs_GCJ=no
1.17148 - ;;
1.17149 -
1.17150 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.17151 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.17152 - # does not break anything, and helps significantly (at the cost of a little
1.17153 - # extra space).
1.17154 - freebsd2.2*)
1.17155 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.17156 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17157 - hardcode_direct_GCJ=yes
1.17158 - hardcode_shlibpath_var_GCJ=no
1.17159 - ;;
1.17160 -
1.17161 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.17162 - freebsd2*)
1.17163 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.17164 - hardcode_direct_GCJ=yes
1.17165 - hardcode_minus_L_GCJ=yes
1.17166 - hardcode_shlibpath_var_GCJ=no
1.17167 - ;;
1.17168 -
1.17169 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.17170 - freebsd* | kfreebsd*-gnu)
1.17171 - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.17172 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17173 - hardcode_direct_GCJ=yes
1.17174 - hardcode_shlibpath_var_GCJ=no
1.17175 - ;;
1.17176 -
1.17177 - hpux9*)
1.17178 - if test "$GCC" = yes; then
1.17179 - 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.17180 - else
1.17181 - 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.17182 - fi
1.17183 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.17184 - hardcode_libdir_separator_GCJ=:
1.17185 - hardcode_direct_GCJ=yes
1.17186 -
1.17187 - # hardcode_minus_L: Not really in the search PATH,
1.17188 - # but as the default location of the library.
1.17189 - hardcode_minus_L_GCJ=yes
1.17190 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.17191 - ;;
1.17192 -
1.17193 - hpux10* | hpux11*)
1.17194 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.17195 - case "$host_cpu" in
1.17196 - hppa*64*|ia64*)
1.17197 - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17198 - ;;
1.17199 - *)
1.17200 - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.17201 - ;;
1.17202 - esac
1.17203 - else
1.17204 - case "$host_cpu" in
1.17205 - hppa*64*|ia64*)
1.17206 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17207 - ;;
1.17208 - *)
1.17209 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.17210 - ;;
1.17211 - esac
1.17212 - fi
1.17213 - if test "$with_gnu_ld" = no; then
1.17214 - case "$host_cpu" in
1.17215 - hppa*64*)
1.17216 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.17217 - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
1.17218 - hardcode_libdir_separator_GCJ=:
1.17219 - hardcode_direct_GCJ=no
1.17220 - hardcode_shlibpath_var_GCJ=no
1.17221 - ;;
1.17222 - ia64*)
1.17223 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17224 - hardcode_direct_GCJ=no
1.17225 - hardcode_shlibpath_var_GCJ=no
1.17226 -
1.17227 - # hardcode_minus_L: Not really in the search PATH,
1.17228 - # but as the default location of the library.
1.17229 - hardcode_minus_L_GCJ=yes
1.17230 - ;;
1.17231 - *)
1.17232 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.17233 - hardcode_libdir_separator_GCJ=:
1.17234 - hardcode_direct_GCJ=yes
1.17235 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.17236 -
1.17237 - # hardcode_minus_L: Not really in the search PATH,
1.17238 - # but as the default location of the library.
1.17239 - hardcode_minus_L_GCJ=yes
1.17240 - ;;
1.17241 - esac
1.17242 - fi
1.17243 - ;;
1.17244 -
1.17245 - irix5* | irix6* | nonstopux*)
1.17246 - if test "$GCC" = yes; then
1.17247 - 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.17248 - else
1.17249 - 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.17250 - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
1.17251 - fi
1.17252 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17253 - hardcode_libdir_separator_GCJ=:
1.17254 - link_all_deplibs_GCJ=yes
1.17255 - ;;
1.17256 -
1.17257 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.17258 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.17259 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.17260 - else
1.17261 - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.17262 - fi
1.17263 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17264 - hardcode_direct_GCJ=yes
1.17265 - hardcode_shlibpath_var_GCJ=no
1.17266 - ;;
1.17267 -
1.17268 - newsos6)
1.17269 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17270 - hardcode_direct_GCJ=yes
1.17271 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17272 - hardcode_libdir_separator_GCJ=:
1.17273 - hardcode_shlibpath_var_GCJ=no
1.17274 - ;;
1.17275 -
1.17276 - openbsd*)
1.17277 - hardcode_direct_GCJ=yes
1.17278 - hardcode_shlibpath_var_GCJ=no
1.17279 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.17280 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.17281 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1.17282 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.17283 - else
1.17284 - case $host_os in
1.17285 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.17286 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.17287 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17288 - ;;
1.17289 - *)
1.17290 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.17291 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1.17292 - ;;
1.17293 - esac
1.17294 - fi
1.17295 - ;;
1.17296 -
1.17297 - os2*)
1.17298 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17299 - hardcode_minus_L_GCJ=yes
1.17300 - allow_undefined_flag_GCJ=unsupported
1.17301 - 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.17302 - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.17303 - ;;
1.17304 -
1.17305 - osf3*)
1.17306 - if test "$GCC" = yes; then
1.17307 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
1.17308 - 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.17309 - else
1.17310 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
1.17311 - 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.17312 - fi
1.17313 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17314 - hardcode_libdir_separator_GCJ=:
1.17315 - ;;
1.17316 -
1.17317 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.17318 - if test "$GCC" = yes; then
1.17319 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
1.17320 - 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.17321 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17322 - else
1.17323 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
1.17324 - 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.17325 - 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.17326 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
1.17327 -
1.17328 - # Both c and cxx compiler support -rpath directly
1.17329 - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
1.17330 - fi
1.17331 - hardcode_libdir_separator_GCJ=:
1.17332 - ;;
1.17333 -
1.17334 - sco3.2v5*)
1.17335 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17336 - hardcode_shlibpath_var_GCJ=no
1.17337 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
1.17338 - runpath_var=LD_RUN_PATH
1.17339 - hardcode_runpath_var=yes
1.17340 - ;;
1.17341 -
1.17342 - solaris*)
1.17343 - no_undefined_flag_GCJ=' -z text'
1.17344 - if test "$GCC" = yes; then
1.17345 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17346 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17347 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.17348 - else
1.17349 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17350 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17351 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.17352 - fi
1.17353 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17354 - hardcode_shlibpath_var_GCJ=no
1.17355 - case $host_os in
1.17356 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.17357 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
1.17358 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
1.17359 - esac
1.17360 - link_all_deplibs_GCJ=yes
1.17361 - ;;
1.17362 -
1.17363 - sunos4*)
1.17364 - if test "x$host_vendor" = xsequent; then
1.17365 - # Use $CC to link under sequent, because it throws in some extra .o
1.17366 - # files that make .init and .fini sections work.
1.17367 - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.17368 - else
1.17369 - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.17370 - fi
1.17371 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17372 - hardcode_direct_GCJ=yes
1.17373 - hardcode_minus_L_GCJ=yes
1.17374 - hardcode_shlibpath_var_GCJ=no
1.17375 - ;;
1.17376 -
1.17377 - sysv4)
1.17378 - case $host_vendor in
1.17379 - sni)
1.17380 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17381 - hardcode_direct_GCJ=yes # is this really true???
1.17382 - ;;
1.17383 - siemens)
1.17384 - ## LD is ld it makes a PLAMLIB
1.17385 - ## CC just makes a GrossModule.
1.17386 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.17387 - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
1.17388 - hardcode_direct_GCJ=no
1.17389 - ;;
1.17390 - motorola)
1.17391 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17392 - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
1.17393 - ;;
1.17394 - esac
1.17395 - runpath_var='LD_RUN_PATH'
1.17396 - hardcode_shlibpath_var_GCJ=no
1.17397 - ;;
1.17398 -
1.17399 - sysv4.3*)
1.17400 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17401 - hardcode_shlibpath_var_GCJ=no
1.17402 - export_dynamic_flag_spec_GCJ='-Bexport'
1.17403 - ;;
1.17404 -
1.17405 - sysv4*MP*)
1.17406 - if test -d /usr/nec; then
1.17407 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17408 - hardcode_shlibpath_var_GCJ=no
1.17409 - runpath_var=LD_RUN_PATH
1.17410 - hardcode_runpath_var=yes
1.17411 - ld_shlibs_GCJ=yes
1.17412 - fi
1.17413 - ;;
1.17414 -
1.17415 - sysv4.2uw2*)
1.17416 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.17417 - hardcode_direct_GCJ=yes
1.17418 - hardcode_minus_L_GCJ=no
1.17419 - hardcode_shlibpath_var_GCJ=no
1.17420 - hardcode_runpath_var=yes
1.17421 - runpath_var=LD_RUN_PATH
1.17422 - ;;
1.17423 -
1.17424 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.17425 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
1.17426 - if test "$GCC" = yes; then
1.17427 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17428 - else
1.17429 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17430 - fi
1.17431 - runpath_var='LD_RUN_PATH'
1.17432 - hardcode_shlibpath_var_GCJ=no
1.17433 - ;;
1.17434 -
1.17435 - sysv5*)
1.17436 - no_undefined_flag_GCJ=' -z text'
1.17437 - # $CC -shared without GNU ld will not create a library from C++
1.17438 - # object files and a static libstdc++, better avoid it by now
1.17439 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17440 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17441 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.17442 - hardcode_libdir_flag_spec_GCJ=
1.17443 - hardcode_shlibpath_var_GCJ=no
1.17444 - runpath_var='LD_RUN_PATH'
1.17445 - ;;
1.17446 -
1.17447 - uts4*)
1.17448 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17449 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17450 - hardcode_shlibpath_var_GCJ=no
1.17451 - ;;
1.17452 -
1.17453 - *)
1.17454 - ld_shlibs_GCJ=no
1.17455 - ;;
1.17456 - esac
1.17457 - fi
1.17458 -
1.17459 -{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
1.17460 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
1.17461 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
1.17462 -
1.17463 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.17464 -if test "$GCC" = yes; then
1.17465 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.17466 -fi
1.17467 -
1.17468 -#
1.17469 -# Do we need to explicitly link libc?
1.17470 -#
1.17471 -case "x$archive_cmds_need_lc_GCJ" in
1.17472 -x|xyes)
1.17473 - # Assume -lc should be added
1.17474 - archive_cmds_need_lc_GCJ=yes
1.17475 -
1.17476 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.17477 - case $archive_cmds_GCJ in
1.17478 - *'~'*)
1.17479 - # FIXME: we may have to deal with multi-command sequences.
1.17480 - ;;
1.17481 - '$CC '*)
1.17482 - # Test whether the compiler implicitly links with -lc since on some
1.17483 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.17484 - # to ld, don't add -lc before -lgcc.
1.17485 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.17486 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.17487 - $rm conftest*
1.17488 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.17489 -
1.17490 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.17491 - (eval $ac_compile) 2>&5
1.17492 - ac_status=$?
1.17493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17494 - (exit $ac_status); } 2>conftest.err; then
1.17495 - soname=conftest
1.17496 - lib=conftest
1.17497 - libobjs=conftest.$ac_objext
1.17498 - deplibs=
1.17499 - wl=$lt_prog_compiler_wl_GCJ
1.17500 - compiler_flags=-v
1.17501 - linker_flags=-v
1.17502 - verstring=
1.17503 - output_objdir=.
1.17504 - libname=conftest
1.17505 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
1.17506 - allow_undefined_flag_GCJ=
1.17507 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.17508 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.17509 - ac_status=$?
1.17510 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17511 - (exit $ac_status); }
1.17512 - then
1.17513 - archive_cmds_need_lc_GCJ=no
1.17514 - else
1.17515 - archive_cmds_need_lc_GCJ=yes
1.17516 - fi
1.17517 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
1.17518 - else
1.17519 - cat conftest.err 1>&5
1.17520 - fi
1.17521 - $rm conftest*
1.17522 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
1.17523 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
1.17524 - ;;
1.17525 - esac
1.17526 - fi
1.17527 - ;;
1.17528 -esac
1.17529 -
1.17530 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.17531 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.17532 -library_names_spec=
1.17533 -libname_spec='lib$name'
1.17534 -soname_spec=
1.17535 -shrext_cmds=".so"
1.17536 -postinstall_cmds=
1.17537 -postuninstall_cmds=
1.17538 -finish_cmds=
1.17539 -finish_eval=
1.17540 -shlibpath_var=
1.17541 -shlibpath_overrides_runpath=unknown
1.17542 -version_type=none
1.17543 -dynamic_linker="$host_os ld.so"
1.17544 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.17545 -if test "$GCC" = yes; then
1.17546 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.17547 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.17548 - # if the path contains ";" then we assume it to be the separator
1.17549 - # otherwise default to the standard path separator (i.e. ":") - it is
1.17550 - # assumed that no part of a normal pathname contains ";" but that should
1.17551 - # okay in the real world where ";" in dirpaths is itself problematic.
1.17552 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.17553 - else
1.17554 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.17555 - fi
1.17556 -else
1.17557 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.17558 -fi
1.17559 -need_lib_prefix=unknown
1.17560 -hardcode_into_libs=no
1.17561 -
1.17562 -# when you set need_version to no, make sure it does not cause -set_version
1.17563 -# flags to be left without arguments
1.17564 -need_version=unknown
1.17565 -
1.17566 -case $host_os in
1.17567 -aix3*)
1.17568 - version_type=linux
1.17569 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.17570 - shlibpath_var=LIBPATH
1.17571 -
1.17572 - # AIX 3 has no versioning support, so we append a major version to the name.
1.17573 - soname_spec='${libname}${release}${shared_ext}$major'
1.17574 - ;;
1.17575 -
1.17576 -aix4* | aix5*)
1.17577 - version_type=linux
1.17578 - need_lib_prefix=no
1.17579 - need_version=no
1.17580 - hardcode_into_libs=yes
1.17581 - if test "$host_cpu" = ia64; then
1.17582 - # AIX 5 supports IA64
1.17583 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.17584 - shlibpath_var=LD_LIBRARY_PATH
1.17585 - else
1.17586 - # With GCC up to 2.95.x, collect2 would create an import file
1.17587 - # for dependence libraries. The import file would start with
1.17588 - # the line `#! .'. This would cause the generated library to
1.17589 - # depend on `.', always an invalid library. This was fixed in
1.17590 - # development snapshots of GCC prior to 3.0.
1.17591 - case $host_os in
1.17592 - aix4 | aix4.[01] | aix4.[01].*)
1.17593 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.17594 - echo ' yes '
1.17595 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.17596 - :
1.17597 - else
1.17598 - can_build_shared=no
1.17599 - fi
1.17600 - ;;
1.17601 - esac
1.17602 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.17603 - # soname into executable. Probably we can add versioning support to
1.17604 - # collect2, so additional links can be useful in future.
1.17605 - if test "$aix_use_runtimelinking" = yes; then
1.17606 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.17607 - # instead of lib<name>.a to let people know that these are not
1.17608 - # typical AIX shared libraries.
1.17609 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17610 - else
1.17611 - # We preserve .a as extension for shared libraries through AIX4.2
1.17612 - # and later when we are not doing run time linking.
1.17613 - library_names_spec='${libname}${release}.a $libname.a'
1.17614 - soname_spec='${libname}${release}${shared_ext}$major'
1.17615 - fi
1.17616 - shlibpath_var=LIBPATH
1.17617 - fi
1.17618 - ;;
1.17619 -
1.17620 -amigaos*)
1.17621 - library_names_spec='$libname.ixlibrary $libname.a'
1.17622 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.17623 - 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.17624 - ;;
1.17625 -
1.17626 -beos*)
1.17627 - library_names_spec='${libname}${shared_ext}'
1.17628 - dynamic_linker="$host_os ld.so"
1.17629 - shlibpath_var=LIBRARY_PATH
1.17630 - ;;
1.17631 -
1.17632 -bsdi4*)
1.17633 - version_type=linux
1.17634 - need_version=no
1.17635 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17636 - soname_spec='${libname}${release}${shared_ext}$major'
1.17637 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.17638 - shlibpath_var=LD_LIBRARY_PATH
1.17639 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.17640 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.17641 - # the default ld.so.conf also contains /usr/contrib/lib and
1.17642 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.17643 - # libtool to hard-code these into programs
1.17644 - ;;
1.17645 -
1.17646 -cygwin* | mingw* | pw32*)
1.17647 - version_type=windows
1.17648 - shrext_cmds=".dll"
1.17649 - need_version=no
1.17650 - need_lib_prefix=no
1.17651 -
1.17652 - case $GCC,$host_os in
1.17653 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.17654 - library_names_spec='$libname.dll.a'
1.17655 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.17656 - postinstall_cmds='base_file=`basename \${file}`~
1.17657 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.17658 - dldir=$destdir/`dirname \$dlpath`~
1.17659 - test -d \$dldir || mkdir -p \$dldir~
1.17660 - $install_prog $dir/$dlname \$dldir/$dlname'
1.17661 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.17662 - dlpath=$dir/\$dldll~
1.17663 - $rm \$dlpath'
1.17664 - shlibpath_overrides_runpath=yes
1.17665 -
1.17666 - case $host_os in
1.17667 - cygwin*)
1.17668 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.17669 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.17670 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.17671 - ;;
1.17672 - mingw*)
1.17673 - # MinGW DLLs use traditional 'lib' prefix
1.17674 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.17675 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.17676 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.17677 - # It is most probably a Windows format PATH printed by
1.17678 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.17679 - # path with ; separators, and with drive letters. We can handle the
1.17680 - # drive letters (cygwin fileutils understands them), so leave them,
1.17681 - # especially as we might pass files found there to a mingw objdump,
1.17682 - # which wouldn't understand a cygwinified path. Ahh.
1.17683 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.17684 - else
1.17685 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.17686 - fi
1.17687 - ;;
1.17688 - pw32*)
1.17689 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.17690 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.17691 - ;;
1.17692 - esac
1.17693 - ;;
1.17694 -
1.17695 - *)
1.17696 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.17697 - ;;
1.17698 - esac
1.17699 - dynamic_linker='Win32 ld.exe'
1.17700 - # FIXME: first we should search . and the directory the executable is in
1.17701 - shlibpath_var=PATH
1.17702 - ;;
1.17703 -
1.17704 -darwin* | rhapsody*)
1.17705 - dynamic_linker="$host_os dyld"
1.17706 - version_type=darwin
1.17707 - need_lib_prefix=no
1.17708 - need_version=no
1.17709 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.17710 - soname_spec='${libname}${release}${major}$shared_ext'
1.17711 - shlibpath_overrides_runpath=yes
1.17712 - shlibpath_var=DYLD_LIBRARY_PATH
1.17713 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.17714 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.17715 - if test "$GCC" = yes; then
1.17716 - 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.17717 - else
1.17718 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.17719 - fi
1.17720 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.17721 - ;;
1.17722 -
1.17723 -dgux*)
1.17724 - version_type=linux
1.17725 - need_lib_prefix=no
1.17726 - need_version=no
1.17727 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.17728 - soname_spec='${libname}${release}${shared_ext}$major'
1.17729 - shlibpath_var=LD_LIBRARY_PATH
1.17730 - ;;
1.17731 -
1.17732 -freebsd1*)
1.17733 - dynamic_linker=no
1.17734 - ;;
1.17735 -
1.17736 -kfreebsd*-gnu)
1.17737 - version_type=linux
1.17738 - need_lib_prefix=no
1.17739 - need_version=no
1.17740 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17741 - soname_spec='${libname}${release}${shared_ext}$major'
1.17742 - shlibpath_var=LD_LIBRARY_PATH
1.17743 - shlibpath_overrides_runpath=no
1.17744 - hardcode_into_libs=yes
1.17745 - dynamic_linker='GNU ld.so'
1.17746 - ;;
1.17747 -
1.17748 -freebsd*)
1.17749 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.17750 - version_type=freebsd-$objformat
1.17751 - case $version_type in
1.17752 - freebsd-elf*)
1.17753 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.17754 - need_version=no
1.17755 - need_lib_prefix=no
1.17756 - ;;
1.17757 - freebsd-*)
1.17758 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.17759 - need_version=yes
1.17760 - ;;
1.17761 - esac
1.17762 - shlibpath_var=LD_LIBRARY_PATH
1.17763 - case $host_os in
1.17764 - freebsd2*)
1.17765 - shlibpath_overrides_runpath=yes
1.17766 - ;;
1.17767 - freebsd3.01* | freebsdelf3.01*)
1.17768 - shlibpath_overrides_runpath=yes
1.17769 - hardcode_into_libs=yes
1.17770 - ;;
1.17771 - *) # from 3.2 on
1.17772 - shlibpath_overrides_runpath=no
1.17773 - hardcode_into_libs=yes
1.17774 - ;;
1.17775 - esac
1.17776 - ;;
1.17777 -
1.17778 -gnu*)
1.17779 - version_type=linux
1.17780 - need_lib_prefix=no
1.17781 - need_version=no
1.17782 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.17783 - soname_spec='${libname}${release}${shared_ext}$major'
1.17784 - shlibpath_var=LD_LIBRARY_PATH
1.17785 - hardcode_into_libs=yes
1.17786 - ;;
1.17787 -
1.17788 -hpux9* | hpux10* | hpux11*)
1.17789 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.17790 - # link against other versions.
1.17791 - version_type=sunos
1.17792 - need_lib_prefix=no
1.17793 - need_version=no
1.17794 - case "$host_cpu" in
1.17795 - ia64*)
1.17796 - shrext_cmds='.so'
1.17797 - hardcode_into_libs=yes
1.17798 - dynamic_linker="$host_os dld.so"
1.17799 - shlibpath_var=LD_LIBRARY_PATH
1.17800 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.17801 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17802 - soname_spec='${libname}${release}${shared_ext}$major'
1.17803 - if test "X$HPUX_IA64_MODE" = X32; then
1.17804 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.17805 - else
1.17806 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.17807 - fi
1.17808 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.17809 - ;;
1.17810 - hppa*64*)
1.17811 - shrext_cmds='.sl'
1.17812 - hardcode_into_libs=yes
1.17813 - dynamic_linker="$host_os dld.sl"
1.17814 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.17815 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.17816 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17817 - soname_spec='${libname}${release}${shared_ext}$major'
1.17818 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.17819 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.17820 - ;;
1.17821 - *)
1.17822 - shrext_cmds='.sl'
1.17823 - dynamic_linker="$host_os dld.sl"
1.17824 - shlibpath_var=SHLIB_PATH
1.17825 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.17826 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17827 - soname_spec='${libname}${release}${shared_ext}$major'
1.17828 - ;;
1.17829 - esac
1.17830 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.17831 - postinstall_cmds='chmod 555 $lib'
1.17832 - ;;
1.17833 -
1.17834 -irix5* | irix6* | nonstopux*)
1.17835 - case $host_os in
1.17836 - nonstopux*) version_type=nonstopux ;;
1.17837 - *)
1.17838 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.17839 - version_type=linux
1.17840 - else
1.17841 - version_type=irix
1.17842 - fi ;;
1.17843 - esac
1.17844 - need_lib_prefix=no
1.17845 - need_version=no
1.17846 - soname_spec='${libname}${release}${shared_ext}$major'
1.17847 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.17848 - case $host_os in
1.17849 - irix5* | nonstopux*)
1.17850 - libsuff= shlibsuff=
1.17851 - ;;
1.17852 - *)
1.17853 - case $LD in # libtool.m4 will add one of these switches to LD
1.17854 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.17855 - libsuff= shlibsuff= libmagic=32-bit;;
1.17856 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.17857 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.17858 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.17859 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.17860 - *) libsuff= shlibsuff= libmagic=never-match;;
1.17861 - esac
1.17862 - ;;
1.17863 - esac
1.17864 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.17865 - shlibpath_overrides_runpath=no
1.17866 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.17867 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.17868 - hardcode_into_libs=yes
1.17869 - ;;
1.17870 -
1.17871 -# No shared lib support for Linux oldld, aout, or coff.
1.17872 -linux*oldld* | linux*aout* | linux*coff*)
1.17873 - dynamic_linker=no
1.17874 - ;;
1.17875 -
1.17876 -# This must be Linux ELF.
1.17877 -linux*)
1.17878 - version_type=linux
1.17879 - need_lib_prefix=no
1.17880 - need_version=no
1.17881 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17882 - soname_spec='${libname}${release}${shared_ext}$major'
1.17883 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.17884 - shlibpath_var=LD_LIBRARY_PATH
1.17885 - shlibpath_overrides_runpath=no
1.17886 - # This implies no fast_install, which is unacceptable.
1.17887 - # Some rework will be needed to allow for fast_install
1.17888 - # before this can be enabled.
1.17889 - hardcode_into_libs=yes
1.17890 -
1.17891 - # Append ld.so.conf contents to the search path
1.17892 - if test -f /etc/ld.so.conf; then
1.17893 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.17894 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.17895 - fi
1.17896 -
1.17897 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.17898 - # powerpc, because MkLinux only supported shared libraries with the
1.17899 - # GNU dynamic linker. Since this was broken with cross compilers,
1.17900 - # most powerpc-linux boxes support dynamic linking these days and
1.17901 - # people can always --disable-shared, the test was removed, and we
1.17902 - # assume the GNU/Linux dynamic linker is in use.
1.17903 - dynamic_linker='GNU/Linux ld.so'
1.17904 - ;;
1.17905 -
1.17906 -netbsdelf*-gnu)
1.17907 - version_type=linux
1.17908 - need_lib_prefix=no
1.17909 - need_version=no
1.17910 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17911 - soname_spec='${libname}${release}${shared_ext}$major'
1.17912 - shlibpath_var=LD_LIBRARY_PATH
1.17913 - shlibpath_overrides_runpath=no
1.17914 - hardcode_into_libs=yes
1.17915 - dynamic_linker='NetBSD ld.elf_so'
1.17916 - ;;
1.17917 -
1.17918 -knetbsd*-gnu)
1.17919 - version_type=linux
1.17920 - need_lib_prefix=no
1.17921 - need_version=no
1.17922 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17923 - soname_spec='${libname}${release}${shared_ext}$major'
1.17924 - shlibpath_var=LD_LIBRARY_PATH
1.17925 - shlibpath_overrides_runpath=no
1.17926 - hardcode_into_libs=yes
1.17927 - dynamic_linker='GNU ld.so'
1.17928 - ;;
1.17929 -
1.17930 -netbsd*)
1.17931 - version_type=sunos
1.17932 - need_lib_prefix=no
1.17933 - need_version=no
1.17934 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.17935 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.17936 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.17937 - dynamic_linker='NetBSD (a.out) ld.so'
1.17938 - else
1.17939 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17940 - soname_spec='${libname}${release}${shared_ext}$major'
1.17941 - dynamic_linker='NetBSD ld.elf_so'
1.17942 - fi
1.17943 - shlibpath_var=LD_LIBRARY_PATH
1.17944 - shlibpath_overrides_runpath=yes
1.17945 - hardcode_into_libs=yes
1.17946 - ;;
1.17947 -
1.17948 -newsos6)
1.17949 - version_type=linux
1.17950 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17951 - shlibpath_var=LD_LIBRARY_PATH
1.17952 - shlibpath_overrides_runpath=yes
1.17953 - ;;
1.17954 -
1.17955 -nto-qnx*)
1.17956 - version_type=linux
1.17957 - need_lib_prefix=no
1.17958 - need_version=no
1.17959 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17960 - soname_spec='${libname}${release}${shared_ext}$major'
1.17961 - shlibpath_var=LD_LIBRARY_PATH
1.17962 - shlibpath_overrides_runpath=yes
1.17963 - ;;
1.17964 -
1.17965 -openbsd*)
1.17966 - version_type=sunos
1.17967 - need_lib_prefix=no
1.17968 - need_version=yes
1.17969 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.17970 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.17971 - shlibpath_var=LD_LIBRARY_PATH
1.17972 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.17973 - case $host_os in
1.17974 - openbsd2.[89] | openbsd2.[89].*)
1.17975 - shlibpath_overrides_runpath=no
1.17976 - ;;
1.17977 - *)
1.17978 - shlibpath_overrides_runpath=yes
1.17979 - ;;
1.17980 - esac
1.17981 - else
1.17982 - shlibpath_overrides_runpath=yes
1.17983 - fi
1.17984 - ;;
1.17985 -
1.17986 -os2*)
1.17987 - libname_spec='$name'
1.17988 - shrext_cmds=".dll"
1.17989 - need_lib_prefix=no
1.17990 - library_names_spec='$libname${shared_ext} $libname.a'
1.17991 - dynamic_linker='OS/2 ld.exe'
1.17992 - shlibpath_var=LIBPATH
1.17993 - ;;
1.17994 -
1.17995 -osf3* | osf4* | osf5*)
1.17996 - version_type=osf
1.17997 - need_lib_prefix=no
1.17998 - need_version=no
1.17999 - soname_spec='${libname}${release}${shared_ext}$major'
1.18000 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18001 - shlibpath_var=LD_LIBRARY_PATH
1.18002 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.18003 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.18004 - ;;
1.18005 -
1.18006 -sco3.2v5*)
1.18007 - version_type=osf
1.18008 - soname_spec='${libname}${release}${shared_ext}$major'
1.18009 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18010 - shlibpath_var=LD_LIBRARY_PATH
1.18011 - ;;
1.18012 -
1.18013 -solaris*)
1.18014 - version_type=linux
1.18015 - need_lib_prefix=no
1.18016 - need_version=no
1.18017 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18018 - soname_spec='${libname}${release}${shared_ext}$major'
1.18019 - shlibpath_var=LD_LIBRARY_PATH
1.18020 - shlibpath_overrides_runpath=yes
1.18021 - hardcode_into_libs=yes
1.18022 - # ldd complains unless libraries are executable
1.18023 - postinstall_cmds='chmod +x $lib'
1.18024 - ;;
1.18025 -
1.18026 -sunos4*)
1.18027 - version_type=sunos
1.18028 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.18029 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.18030 - shlibpath_var=LD_LIBRARY_PATH
1.18031 - shlibpath_overrides_runpath=yes
1.18032 - if test "$with_gnu_ld" = yes; then
1.18033 - need_lib_prefix=no
1.18034 - fi
1.18035 - need_version=yes
1.18036 - ;;
1.18037 -
1.18038 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.18039 - version_type=linux
1.18040 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18041 - soname_spec='${libname}${release}${shared_ext}$major'
1.18042 - shlibpath_var=LD_LIBRARY_PATH
1.18043 - case $host_vendor in
1.18044 - sni)
1.18045 - shlibpath_overrides_runpath=no
1.18046 - need_lib_prefix=no
1.18047 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.18048 - runpath_var=LD_RUN_PATH
1.18049 - ;;
1.18050 - siemens)
1.18051 - need_lib_prefix=no
1.18052 - ;;
1.18053 - motorola)
1.18054 - need_lib_prefix=no
1.18055 - need_version=no
1.18056 - shlibpath_overrides_runpath=no
1.18057 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.18058 - ;;
1.18059 - esac
1.18060 - ;;
1.18061 -
1.18062 -sysv4*MP*)
1.18063 - if test -d /usr/nec ;then
1.18064 - version_type=linux
1.18065 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.18066 - soname_spec='$libname${shared_ext}.$major'
1.18067 - shlibpath_var=LD_LIBRARY_PATH
1.18068 - fi
1.18069 - ;;
1.18070 -
1.18071 -uts4*)
1.18072 - version_type=linux
1.18073 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18074 - soname_spec='${libname}${release}${shared_ext}$major'
1.18075 - shlibpath_var=LD_LIBRARY_PATH
1.18076 - ;;
1.18077 -
1.18078 -*)
1.18079 - dynamic_linker=no
1.18080 - ;;
1.18081 -esac
1.18082 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.18083 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.18084 -test "$dynamic_linker" = no && can_build_shared=no
1.18085 -
1.18086 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.18087 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.18088 -hardcode_action_GCJ=
1.18089 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1.18090 - test -n "$runpath_var GCJ" || \
1.18091 - test "X$hardcode_automatic_GCJ"="Xyes" ; then
1.18092 -
1.18093 - # We can hardcode non-existant directories.
1.18094 - if test "$hardcode_direct_GCJ" != no &&
1.18095 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.18096 - # have to relink, otherwise we might link with an installed library
1.18097 - # when we should be linking with a yet-to-be-installed one
1.18098 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
1.18099 - test "$hardcode_minus_L_GCJ" != no; then
1.18100 - # Linking always hardcodes the temporary library directory.
1.18101 - hardcode_action_GCJ=relink
1.18102 - else
1.18103 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.18104 - hardcode_action_GCJ=immediate
1.18105 - fi
1.18106 -else
1.18107 - # We cannot hardcode anything, or else we can only hardcode existing
1.18108 - # directories.
1.18109 - hardcode_action_GCJ=unsupported
1.18110 -fi
1.18111 -{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
1.18112 -echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
1.18113 -
1.18114 -if test "$hardcode_action_GCJ" = relink; then
1.18115 - # Fast installation is not supported
1.18116 - enable_fast_install=no
1.18117 -elif test "$shlibpath_overrides_runpath" = yes ||
1.18118 - test "$enable_shared" = no; then
1.18119 - # Fast installation is not necessary
1.18120 - enable_fast_install=needless
1.18121 -fi
1.18122 -
1.18123 -striplib=
1.18124 -old_striplib=
1.18125 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.18126 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.18127 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.18128 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.18129 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.18130 - { echo "$as_me:$LINENO: result: yes" >&5
1.18131 -echo "${ECHO_T}yes" >&6; }
1.18132 -else
1.18133 -# FIXME - insert some real tests, host_os isn't really good enough
1.18134 - case $host_os in
1.18135 - darwin*)
1.18136 - if test -n "$STRIP" ; then
1.18137 - striplib="$STRIP -x"
1.18138 - { echo "$as_me:$LINENO: result: yes" >&5
1.18139 -echo "${ECHO_T}yes" >&6; }
1.18140 - else
1.18141 - { echo "$as_me:$LINENO: result: no" >&5
1.18142 -echo "${ECHO_T}no" >&6; }
1.18143 -fi
1.18144 - ;;
1.18145 - *)
1.18146 - { echo "$as_me:$LINENO: result: no" >&5
1.18147 -echo "${ECHO_T}no" >&6; }
1.18148 - ;;
1.18149 - esac
1.18150 -fi
1.18151 -
1.18152 -if test "x$enable_dlopen" != xyes; then
1.18153 - enable_dlopen=unknown
1.18154 - enable_dlopen_self=unknown
1.18155 - enable_dlopen_self_static=unknown
1.18156 -else
1.18157 - lt_cv_dlopen=no
1.18158 - lt_cv_dlopen_libs=
1.18159 -
1.18160 - case $host_os in
1.18161 - beos*)
1.18162 - lt_cv_dlopen="load_add_on"
1.18163 - lt_cv_dlopen_libs=
1.18164 - lt_cv_dlopen_self=yes
1.18165 - ;;
1.18166 -
1.18167 - mingw* | pw32*)
1.18168 - lt_cv_dlopen="LoadLibrary"
1.18169 - lt_cv_dlopen_libs=
1.18170 - ;;
1.18171 -
1.18172 - cygwin*)
1.18173 - lt_cv_dlopen="dlopen"
1.18174 - lt_cv_dlopen_libs=
1.18175 - ;;
1.18176 -
1.18177 - darwin*)
1.18178 - # if libdl is installed we need to link against it
1.18179 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.18180 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.18181 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.18182 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18183 -else
1.18184 - ac_check_lib_save_LIBS=$LIBS
1.18185 -LIBS="-ldl $LIBS"
1.18186 -cat >conftest.$ac_ext <<_ACEOF
1.18187 -/* confdefs.h. */
1.18188 -_ACEOF
1.18189 -cat confdefs.h >>conftest.$ac_ext
1.18190 -cat >>conftest.$ac_ext <<_ACEOF
1.18191 -/* end confdefs.h. */
1.18192 -
1.18193 -/* Override any GCC internal prototype to avoid an error.
1.18194 - Use char because int might match the return type of a GCC
1.18195 - builtin and then its argument prototype would still apply. */
1.18196 -#ifdef __cplusplus
1.18197 -extern "C"
1.18198 -#endif
1.18199 -char dlopen ();
1.18200 -int
1.18201 -main ()
1.18202 -{
1.18203 -return dlopen ();
1.18204 - ;
1.18205 - return 0;
1.18206 -}
1.18207 -_ACEOF
1.18208 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18209 -if { (ac_try="$ac_link"
1.18210 -case "(($ac_try" in
1.18211 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18212 - *) ac_try_echo=$ac_try;;
1.18213 -esac
1.18214 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18215 - (eval "$ac_link") 2>conftest.er1
1.18216 - ac_status=$?
1.18217 - grep -v '^ *+' conftest.er1 >conftest.err
1.18218 - rm -f conftest.er1
1.18219 - cat conftest.err >&5
1.18220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18221 - (exit $ac_status); } && {
1.18222 - test -z "$ac_c_werror_flag" ||
1.18223 - test ! -s conftest.err
1.18224 - } && test -s conftest$ac_exeext &&
1.18225 - $as_test_x conftest$ac_exeext; then
1.18226 - ac_cv_lib_dl_dlopen=yes
1.18227 -else
1.18228 - echo "$as_me: failed program was:" >&5
1.18229 -sed 's/^/| /' conftest.$ac_ext >&5
1.18230 -
1.18231 - ac_cv_lib_dl_dlopen=no
1.18232 -fi
1.18233 -
1.18234 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18235 - conftest$ac_exeext conftest.$ac_ext
1.18236 -LIBS=$ac_check_lib_save_LIBS
1.18237 -fi
1.18238 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.18239 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.18240 -if test $ac_cv_lib_dl_dlopen = yes; then
1.18241 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.18242 -else
1.18243 -
1.18244 - lt_cv_dlopen="dyld"
1.18245 - lt_cv_dlopen_libs=
1.18246 - lt_cv_dlopen_self=yes
1.18247 -
1.18248 -fi
1.18249 -
1.18250 - ;;
1.18251 -
1.18252 - *)
1.18253 - { echo "$as_me:$LINENO: checking for shl_load" >&5
1.18254 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
1.18255 -if test "${ac_cv_func_shl_load+set}" = set; then
1.18256 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18257 -else
1.18258 - cat >conftest.$ac_ext <<_ACEOF
1.18259 -/* confdefs.h. */
1.18260 -_ACEOF
1.18261 -cat confdefs.h >>conftest.$ac_ext
1.18262 -cat >>conftest.$ac_ext <<_ACEOF
1.18263 -/* end confdefs.h. */
1.18264 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.18265 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.18266 -#define shl_load innocuous_shl_load
1.18267 -
1.18268 -/* System header to define __stub macros and hopefully few prototypes,
1.18269 - which can conflict with char shl_load (); below.
1.18270 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.18271 - <limits.h> exists even on freestanding compilers. */
1.18272 -
1.18273 -#ifdef __STDC__
1.18274 -# include <limits.h>
1.18275 -#else
1.18276 -# include <assert.h>
1.18277 -#endif
1.18278 -
1.18279 -#undef shl_load
1.18280 -
1.18281 -/* Override any GCC internal prototype to avoid an error.
1.18282 - Use char because int might match the return type of a GCC
1.18283 - builtin and then its argument prototype would still apply. */
1.18284 -#ifdef __cplusplus
1.18285 -extern "C"
1.18286 -#endif
1.18287 -char shl_load ();
1.18288 -/* The GNU C library defines this for functions which it implements
1.18289 - to always fail with ENOSYS. Some functions are actually named
1.18290 - something starting with __ and the normal name is an alias. */
1.18291 -#if defined __stub_shl_load || defined __stub___shl_load
1.18292 -choke me
1.18293 -#endif
1.18294 -
1.18295 -int
1.18296 -main ()
1.18297 -{
1.18298 -return shl_load ();
1.18299 - ;
1.18300 - return 0;
1.18301 -}
1.18302 -_ACEOF
1.18303 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18304 -if { (ac_try="$ac_link"
1.18305 -case "(($ac_try" in
1.18306 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18307 - *) ac_try_echo=$ac_try;;
1.18308 -esac
1.18309 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18310 - (eval "$ac_link") 2>conftest.er1
1.18311 - ac_status=$?
1.18312 - grep -v '^ *+' conftest.er1 >conftest.err
1.18313 - rm -f conftest.er1
1.18314 - cat conftest.err >&5
1.18315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18316 - (exit $ac_status); } && {
1.18317 - test -z "$ac_c_werror_flag" ||
1.18318 - test ! -s conftest.err
1.18319 - } && test -s conftest$ac_exeext &&
1.18320 - $as_test_x conftest$ac_exeext; then
1.18321 - ac_cv_func_shl_load=yes
1.18322 -else
1.18323 - echo "$as_me: failed program was:" >&5
1.18324 -sed 's/^/| /' conftest.$ac_ext >&5
1.18325 -
1.18326 - ac_cv_func_shl_load=no
1.18327 -fi
1.18328 -
1.18329 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18330 - conftest$ac_exeext conftest.$ac_ext
1.18331 -fi
1.18332 -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.18333 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
1.18334 -if test $ac_cv_func_shl_load = yes; then
1.18335 - lt_cv_dlopen="shl_load"
1.18336 -else
1.18337 - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.18338 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
1.18339 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.18340 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18341 -else
1.18342 - ac_check_lib_save_LIBS=$LIBS
1.18343 -LIBS="-ldld $LIBS"
1.18344 -cat >conftest.$ac_ext <<_ACEOF
1.18345 -/* confdefs.h. */
1.18346 -_ACEOF
1.18347 -cat confdefs.h >>conftest.$ac_ext
1.18348 -cat >>conftest.$ac_ext <<_ACEOF
1.18349 -/* end confdefs.h. */
1.18350 -
1.18351 -/* Override any GCC internal prototype to avoid an error.
1.18352 - Use char because int might match the return type of a GCC
1.18353 - builtin and then its argument prototype would still apply. */
1.18354 -#ifdef __cplusplus
1.18355 -extern "C"
1.18356 -#endif
1.18357 -char shl_load ();
1.18358 -int
1.18359 -main ()
1.18360 -{
1.18361 -return shl_load ();
1.18362 - ;
1.18363 - return 0;
1.18364 -}
1.18365 -_ACEOF
1.18366 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18367 -if { (ac_try="$ac_link"
1.18368 -case "(($ac_try" in
1.18369 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18370 - *) ac_try_echo=$ac_try;;
1.18371 -esac
1.18372 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18373 - (eval "$ac_link") 2>conftest.er1
1.18374 - ac_status=$?
1.18375 - grep -v '^ *+' conftest.er1 >conftest.err
1.18376 - rm -f conftest.er1
1.18377 - cat conftest.err >&5
1.18378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18379 - (exit $ac_status); } && {
1.18380 - test -z "$ac_c_werror_flag" ||
1.18381 - test ! -s conftest.err
1.18382 - } && test -s conftest$ac_exeext &&
1.18383 - $as_test_x conftest$ac_exeext; then
1.18384 - ac_cv_lib_dld_shl_load=yes
1.18385 -else
1.18386 - echo "$as_me: failed program was:" >&5
1.18387 -sed 's/^/| /' conftest.$ac_ext >&5
1.18388 -
1.18389 - ac_cv_lib_dld_shl_load=no
1.18390 -fi
1.18391 -
1.18392 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18393 - conftest$ac_exeext conftest.$ac_ext
1.18394 -LIBS=$ac_check_lib_save_LIBS
1.18395 -fi
1.18396 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.18397 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
1.18398 -if test $ac_cv_lib_dld_shl_load = yes; then
1.18399 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.18400 -else
1.18401 - { echo "$as_me:$LINENO: checking for dlopen" >&5
1.18402 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
1.18403 -if test "${ac_cv_func_dlopen+set}" = set; then
1.18404 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18405 -else
1.18406 - cat >conftest.$ac_ext <<_ACEOF
1.18407 -/* confdefs.h. */
1.18408 -_ACEOF
1.18409 -cat confdefs.h >>conftest.$ac_ext
1.18410 -cat >>conftest.$ac_ext <<_ACEOF
1.18411 -/* end confdefs.h. */
1.18412 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.18413 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.18414 -#define dlopen innocuous_dlopen
1.18415 -
1.18416 -/* System header to define __stub macros and hopefully few prototypes,
1.18417 - which can conflict with char dlopen (); below.
1.18418 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.18419 - <limits.h> exists even on freestanding compilers. */
1.18420 -
1.18421 -#ifdef __STDC__
1.18422 -# include <limits.h>
1.18423 -#else
1.18424 -# include <assert.h>
1.18425 -#endif
1.18426 -
1.18427 -#undef dlopen
1.18428 -
1.18429 -/* Override any GCC internal prototype to avoid an error.
1.18430 - Use char because int might match the return type of a GCC
1.18431 - builtin and then its argument prototype would still apply. */
1.18432 -#ifdef __cplusplus
1.18433 -extern "C"
1.18434 -#endif
1.18435 -char dlopen ();
1.18436 -/* The GNU C library defines this for functions which it implements
1.18437 - to always fail with ENOSYS. Some functions are actually named
1.18438 - something starting with __ and the normal name is an alias. */
1.18439 -#if defined __stub_dlopen || defined __stub___dlopen
1.18440 -choke me
1.18441 -#endif
1.18442 -
1.18443 -int
1.18444 -main ()
1.18445 -{
1.18446 -return dlopen ();
1.18447 - ;
1.18448 - return 0;
1.18449 -}
1.18450 -_ACEOF
1.18451 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18452 -if { (ac_try="$ac_link"
1.18453 -case "(($ac_try" in
1.18454 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18455 - *) ac_try_echo=$ac_try;;
1.18456 -esac
1.18457 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18458 - (eval "$ac_link") 2>conftest.er1
1.18459 - ac_status=$?
1.18460 - grep -v '^ *+' conftest.er1 >conftest.err
1.18461 - rm -f conftest.er1
1.18462 - cat conftest.err >&5
1.18463 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18464 - (exit $ac_status); } && {
1.18465 - test -z "$ac_c_werror_flag" ||
1.18466 - test ! -s conftest.err
1.18467 - } && test -s conftest$ac_exeext &&
1.18468 - $as_test_x conftest$ac_exeext; then
1.18469 - ac_cv_func_dlopen=yes
1.18470 -else
1.18471 - echo "$as_me: failed program was:" >&5
1.18472 -sed 's/^/| /' conftest.$ac_ext >&5
1.18473 -
1.18474 - ac_cv_func_dlopen=no
1.18475 -fi
1.18476 -
1.18477 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18478 - conftest$ac_exeext conftest.$ac_ext
1.18479 -fi
1.18480 -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.18481 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
1.18482 -if test $ac_cv_func_dlopen = yes; then
1.18483 - lt_cv_dlopen="dlopen"
1.18484 -else
1.18485 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.18486 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.18487 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.18488 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18489 -else
1.18490 - ac_check_lib_save_LIBS=$LIBS
1.18491 -LIBS="-ldl $LIBS"
1.18492 -cat >conftest.$ac_ext <<_ACEOF
1.18493 -/* confdefs.h. */
1.18494 -_ACEOF
1.18495 -cat confdefs.h >>conftest.$ac_ext
1.18496 -cat >>conftest.$ac_ext <<_ACEOF
1.18497 -/* end confdefs.h. */
1.18498 -
1.18499 -/* Override any GCC internal prototype to avoid an error.
1.18500 - Use char because int might match the return type of a GCC
1.18501 - builtin and then its argument prototype would still apply. */
1.18502 -#ifdef __cplusplus
1.18503 -extern "C"
1.18504 -#endif
1.18505 -char dlopen ();
1.18506 -int
1.18507 -main ()
1.18508 -{
1.18509 -return dlopen ();
1.18510 - ;
1.18511 - return 0;
1.18512 -}
1.18513 -_ACEOF
1.18514 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18515 -if { (ac_try="$ac_link"
1.18516 -case "(($ac_try" in
1.18517 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18518 - *) ac_try_echo=$ac_try;;
1.18519 -esac
1.18520 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18521 - (eval "$ac_link") 2>conftest.er1
1.18522 - ac_status=$?
1.18523 - grep -v '^ *+' conftest.er1 >conftest.err
1.18524 - rm -f conftest.er1
1.18525 - cat conftest.err >&5
1.18526 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18527 - (exit $ac_status); } && {
1.18528 - test -z "$ac_c_werror_flag" ||
1.18529 - test ! -s conftest.err
1.18530 - } && test -s conftest$ac_exeext &&
1.18531 - $as_test_x conftest$ac_exeext; then
1.18532 - ac_cv_lib_dl_dlopen=yes
1.18533 -else
1.18534 - echo "$as_me: failed program was:" >&5
1.18535 -sed 's/^/| /' conftest.$ac_ext >&5
1.18536 -
1.18537 - ac_cv_lib_dl_dlopen=no
1.18538 -fi
1.18539 -
1.18540 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18541 - conftest$ac_exeext conftest.$ac_ext
1.18542 -LIBS=$ac_check_lib_save_LIBS
1.18543 -fi
1.18544 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.18545 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.18546 -if test $ac_cv_lib_dl_dlopen = yes; then
1.18547 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.18548 -else
1.18549 - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.18550 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
1.18551 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.18552 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18553 -else
1.18554 - ac_check_lib_save_LIBS=$LIBS
1.18555 -LIBS="-lsvld $LIBS"
1.18556 -cat >conftest.$ac_ext <<_ACEOF
1.18557 -/* confdefs.h. */
1.18558 -_ACEOF
1.18559 -cat confdefs.h >>conftest.$ac_ext
1.18560 -cat >>conftest.$ac_ext <<_ACEOF
1.18561 -/* end confdefs.h. */
1.18562 -
1.18563 -/* Override any GCC internal prototype to avoid an error.
1.18564 - Use char because int might match the return type of a GCC
1.18565 - builtin and then its argument prototype would still apply. */
1.18566 -#ifdef __cplusplus
1.18567 -extern "C"
1.18568 -#endif
1.18569 -char dlopen ();
1.18570 -int
1.18571 -main ()
1.18572 -{
1.18573 -return dlopen ();
1.18574 - ;
1.18575 - return 0;
1.18576 -}
1.18577 -_ACEOF
1.18578 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18579 -if { (ac_try="$ac_link"
1.18580 -case "(($ac_try" in
1.18581 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18582 - *) ac_try_echo=$ac_try;;
1.18583 -esac
1.18584 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18585 - (eval "$ac_link") 2>conftest.er1
1.18586 - ac_status=$?
1.18587 - grep -v '^ *+' conftest.er1 >conftest.err
1.18588 - rm -f conftest.er1
1.18589 - cat conftest.err >&5
1.18590 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18591 - (exit $ac_status); } && {
1.18592 - test -z "$ac_c_werror_flag" ||
1.18593 - test ! -s conftest.err
1.18594 - } && test -s conftest$ac_exeext &&
1.18595 - $as_test_x conftest$ac_exeext; then
1.18596 - ac_cv_lib_svld_dlopen=yes
1.18597 -else
1.18598 - echo "$as_me: failed program was:" >&5
1.18599 -sed 's/^/| /' conftest.$ac_ext >&5
1.18600 -
1.18601 - ac_cv_lib_svld_dlopen=no
1.18602 -fi
1.18603 -
1.18604 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18605 - conftest$ac_exeext conftest.$ac_ext
1.18606 -LIBS=$ac_check_lib_save_LIBS
1.18607 -fi
1.18608 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.18609 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
1.18610 -if test $ac_cv_lib_svld_dlopen = yes; then
1.18611 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.18612 -else
1.18613 - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.18614 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
1.18615 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.18616 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18617 -else
1.18618 - ac_check_lib_save_LIBS=$LIBS
1.18619 -LIBS="-ldld $LIBS"
1.18620 -cat >conftest.$ac_ext <<_ACEOF
1.18621 -/* confdefs.h. */
1.18622 -_ACEOF
1.18623 -cat confdefs.h >>conftest.$ac_ext
1.18624 -cat >>conftest.$ac_ext <<_ACEOF
1.18625 -/* end confdefs.h. */
1.18626 -
1.18627 -/* Override any GCC internal prototype to avoid an error.
1.18628 - Use char because int might match the return type of a GCC
1.18629 - builtin and then its argument prototype would still apply. */
1.18630 -#ifdef __cplusplus
1.18631 -extern "C"
1.18632 -#endif
1.18633 -char dld_link ();
1.18634 -int
1.18635 -main ()
1.18636 -{
1.18637 -return dld_link ();
1.18638 - ;
1.18639 - return 0;
1.18640 -}
1.18641 -_ACEOF
1.18642 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18643 -if { (ac_try="$ac_link"
1.18644 -case "(($ac_try" in
1.18645 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18646 - *) ac_try_echo=$ac_try;;
1.18647 -esac
1.18648 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18649 - (eval "$ac_link") 2>conftest.er1
1.18650 - ac_status=$?
1.18651 - grep -v '^ *+' conftest.er1 >conftest.err
1.18652 - rm -f conftest.er1
1.18653 - cat conftest.err >&5
1.18654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18655 - (exit $ac_status); } && {
1.18656 - test -z "$ac_c_werror_flag" ||
1.18657 - test ! -s conftest.err
1.18658 - } && test -s conftest$ac_exeext &&
1.18659 - $as_test_x conftest$ac_exeext; then
1.18660 - ac_cv_lib_dld_dld_link=yes
1.18661 -else
1.18662 - echo "$as_me: failed program was:" >&5
1.18663 -sed 's/^/| /' conftest.$ac_ext >&5
1.18664 -
1.18665 - ac_cv_lib_dld_dld_link=no
1.18666 -fi
1.18667 -
1.18668 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18669 - conftest$ac_exeext conftest.$ac_ext
1.18670 -LIBS=$ac_check_lib_save_LIBS
1.18671 -fi
1.18672 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.18673 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
1.18674 -if test $ac_cv_lib_dld_dld_link = yes; then
1.18675 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.18676 -fi
1.18677 -
1.18678 -
1.18679 -fi
1.18680 -
1.18681 -
1.18682 -fi
1.18683 -
1.18684 -
1.18685 -fi
1.18686 -
1.18687 -
1.18688 -fi
1.18689 -
1.18690 -
1.18691 -fi
1.18692 -
1.18693 - ;;
1.18694 - esac
1.18695 -
1.18696 - if test "x$lt_cv_dlopen" != xno; then
1.18697 - enable_dlopen=yes
1.18698 - else
1.18699 - enable_dlopen=no
1.18700 - fi
1.18701 -
1.18702 - case $lt_cv_dlopen in
1.18703 - dlopen)
1.18704 - save_CPPFLAGS="$CPPFLAGS"
1.18705 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.18706 -
1.18707 - save_LDFLAGS="$LDFLAGS"
1.18708 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.18709 -
1.18710 - save_LIBS="$LIBS"
1.18711 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.18712 -
1.18713 - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.18714 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
1.18715 -if test "${lt_cv_dlopen_self+set}" = set; then
1.18716 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18717 -else
1.18718 - if test "$cross_compiling" = yes; then :
1.18719 - lt_cv_dlopen_self=cross
1.18720 -else
1.18721 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.18722 - lt_status=$lt_dlunknown
1.18723 - cat > conftest.$ac_ext <<EOF
1.18724 -#line __oline__ "configure"
1.18725 -#include "confdefs.h"
1.18726 -
1.18727 -#if HAVE_DLFCN_H
1.18728 -#include <dlfcn.h>
1.18729 -#endif
1.18730 -
1.18731 -#include <stdio.h>
1.18732 -
1.18733 -#ifdef RTLD_GLOBAL
1.18734 -# define LT_DLGLOBAL RTLD_GLOBAL
1.18735 -#else
1.18736 -# ifdef DL_GLOBAL
1.18737 -# define LT_DLGLOBAL DL_GLOBAL
1.18738 -# else
1.18739 -# define LT_DLGLOBAL 0
1.18740 -# endif
1.18741 -#endif
1.18742 -
1.18743 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.18744 - find out it does not work in some platform. */
1.18745 -#ifndef LT_DLLAZY_OR_NOW
1.18746 -# ifdef RTLD_LAZY
1.18747 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.18748 -# else
1.18749 -# ifdef DL_LAZY
1.18750 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.18751 -# else
1.18752 -# ifdef RTLD_NOW
1.18753 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.18754 -# else
1.18755 -# ifdef DL_NOW
1.18756 -# define LT_DLLAZY_OR_NOW DL_NOW
1.18757 -# else
1.18758 -# define LT_DLLAZY_OR_NOW 0
1.18759 -# endif
1.18760 -# endif
1.18761 -# endif
1.18762 -# endif
1.18763 -#endif
1.18764 -
1.18765 -#ifdef __cplusplus
1.18766 -extern "C" void exit (int);
1.18767 -#endif
1.18768 -
1.18769 -void fnord() { int i=42;}
1.18770 -int main ()
1.18771 -{
1.18772 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.18773 - int status = $lt_dlunknown;
1.18774 -
1.18775 - if (self)
1.18776 - {
1.18777 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.18778 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.18779 - /* dlclose (self); */
1.18780 - }
1.18781 -
1.18782 - exit (status);
1.18783 -}
1.18784 -EOF
1.18785 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18786 - (eval $ac_link) 2>&5
1.18787 - ac_status=$?
1.18788 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18789 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.18790 - (./conftest; exit; ) 2>/dev/null
1.18791 - lt_status=$?
1.18792 - case x$lt_status in
1.18793 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.18794 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.18795 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.18796 - esac
1.18797 - else :
1.18798 - # compilation failed
1.18799 - lt_cv_dlopen_self=no
1.18800 - fi
1.18801 -fi
1.18802 -rm -fr conftest*
1.18803 -
1.18804 -
1.18805 -fi
1.18806 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.18807 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
1.18808 -
1.18809 - if test "x$lt_cv_dlopen_self" = xyes; then
1.18810 - LDFLAGS="$LDFLAGS $link_static_flag"
1.18811 - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.18812 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
1.18813 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.18814 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18815 -else
1.18816 - if test "$cross_compiling" = yes; then :
1.18817 - lt_cv_dlopen_self_static=cross
1.18818 -else
1.18819 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.18820 - lt_status=$lt_dlunknown
1.18821 - cat > conftest.$ac_ext <<EOF
1.18822 -#line __oline__ "configure"
1.18823 -#include "confdefs.h"
1.18824 -
1.18825 -#if HAVE_DLFCN_H
1.18826 -#include <dlfcn.h>
1.18827 -#endif
1.18828 -
1.18829 -#include <stdio.h>
1.18830 -
1.18831 -#ifdef RTLD_GLOBAL
1.18832 -# define LT_DLGLOBAL RTLD_GLOBAL
1.18833 -#else
1.18834 -# ifdef DL_GLOBAL
1.18835 -# define LT_DLGLOBAL DL_GLOBAL
1.18836 -# else
1.18837 -# define LT_DLGLOBAL 0
1.18838 -# endif
1.18839 -#endif
1.18840 -
1.18841 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.18842 - find out it does not work in some platform. */
1.18843 -#ifndef LT_DLLAZY_OR_NOW
1.18844 -# ifdef RTLD_LAZY
1.18845 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.18846 -# else
1.18847 -# ifdef DL_LAZY
1.18848 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.18849 -# else
1.18850 -# ifdef RTLD_NOW
1.18851 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.18852 -# else
1.18853 -# ifdef DL_NOW
1.18854 -# define LT_DLLAZY_OR_NOW DL_NOW
1.18855 -# else
1.18856 -# define LT_DLLAZY_OR_NOW 0
1.18857 -# endif
1.18858 -# endif
1.18859 -# endif
1.18860 -# endif
1.18861 -#endif
1.18862 -
1.18863 -#ifdef __cplusplus
1.18864 -extern "C" void exit (int);
1.18865 -#endif
1.18866 -
1.18867 -void fnord() { int i=42;}
1.18868 -int main ()
1.18869 -{
1.18870 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.18871 - int status = $lt_dlunknown;
1.18872 -
1.18873 - if (self)
1.18874 - {
1.18875 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.18876 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.18877 - /* dlclose (self); */
1.18878 - }
1.18879 -
1.18880 - exit (status);
1.18881 -}
1.18882 -EOF
1.18883 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18884 - (eval $ac_link) 2>&5
1.18885 - ac_status=$?
1.18886 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18887 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.18888 - (./conftest; exit; ) 2>/dev/null
1.18889 - lt_status=$?
1.18890 - case x$lt_status in
1.18891 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.18892 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.18893 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.18894 - esac
1.18895 - else :
1.18896 - # compilation failed
1.18897 - lt_cv_dlopen_self_static=no
1.18898 - fi
1.18899 -fi
1.18900 -rm -fr conftest*
1.18901 -
1.18902 -
1.18903 -fi
1.18904 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.18905 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
1.18906 - fi
1.18907 -
1.18908 - CPPFLAGS="$save_CPPFLAGS"
1.18909 - LDFLAGS="$save_LDFLAGS"
1.18910 - LIBS="$save_LIBS"
1.18911 - ;;
1.18912 - esac
1.18913 -
1.18914 - case $lt_cv_dlopen_self in
1.18915 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.18916 - *) enable_dlopen_self=unknown ;;
1.18917 - esac
1.18918 -
1.18919 - case $lt_cv_dlopen_self_static in
1.18920 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.18921 - *) enable_dlopen_self_static=unknown ;;
1.18922 - esac
1.18923 -fi
1.18924 -
1.18925 -
1.18926 -# The else clause should only fire when bootstrapping the
1.18927 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.18928 -# with your package, and you will get complaints that there are
1.18929 -# no rules to generate ltmain.sh.
1.18930 -if test -f "$ltmain"; then
1.18931 - # See if we are running on zsh, and set the options which allow our commands through
1.18932 - # without removal of \ escapes.
1.18933 - if test -n "${ZSH_VERSION+set}" ; then
1.18934 - setopt NO_GLOB_SUBST
1.18935 - fi
1.18936 - # Now quote all the things that may contain metacharacters while being
1.18937 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.18938 - # variables and quote the copies for generation of the libtool script.
1.18939 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.18940 - SED SHELL STRIP \
1.18941 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.18942 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.18943 - deplibs_check_method reload_flag reload_cmds need_locks \
1.18944 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.18945 - lt_cv_sys_global_symbol_to_c_name_address \
1.18946 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.18947 - old_postinstall_cmds old_postuninstall_cmds \
1.18948 - compiler_GCJ \
1.18949 - CC_GCJ \
1.18950 - LD_GCJ \
1.18951 - lt_prog_compiler_wl_GCJ \
1.18952 - lt_prog_compiler_pic_GCJ \
1.18953 - lt_prog_compiler_static_GCJ \
1.18954 - lt_prog_compiler_no_builtin_flag_GCJ \
1.18955 - export_dynamic_flag_spec_GCJ \
1.18956 - thread_safe_flag_spec_GCJ \
1.18957 - whole_archive_flag_spec_GCJ \
1.18958 - enable_shared_with_static_runtimes_GCJ \
1.18959 - old_archive_cmds_GCJ \
1.18960 - old_archive_from_new_cmds_GCJ \
1.18961 - predep_objects_GCJ \
1.18962 - postdep_objects_GCJ \
1.18963 - predeps_GCJ \
1.18964 - postdeps_GCJ \
1.18965 - compiler_lib_search_path_GCJ \
1.18966 - archive_cmds_GCJ \
1.18967 - archive_expsym_cmds_GCJ \
1.18968 - postinstall_cmds_GCJ \
1.18969 - postuninstall_cmds_GCJ \
1.18970 - old_archive_from_expsyms_cmds_GCJ \
1.18971 - allow_undefined_flag_GCJ \
1.18972 - no_undefined_flag_GCJ \
1.18973 - export_symbols_cmds_GCJ \
1.18974 - hardcode_libdir_flag_spec_GCJ \
1.18975 - hardcode_libdir_flag_spec_ld_GCJ \
1.18976 - hardcode_libdir_separator_GCJ \
1.18977 - hardcode_automatic_GCJ \
1.18978 - module_cmds_GCJ \
1.18979 - module_expsym_cmds_GCJ \
1.18980 - lt_cv_prog_compiler_c_o_GCJ \
1.18981 - exclude_expsyms_GCJ \
1.18982 - include_expsyms_GCJ; do
1.18983 -
1.18984 - case $var in
1.18985 - old_archive_cmds_GCJ | \
1.18986 - old_archive_from_new_cmds_GCJ | \
1.18987 - archive_cmds_GCJ | \
1.18988 - archive_expsym_cmds_GCJ | \
1.18989 - module_cmds_GCJ | \
1.18990 - module_expsym_cmds_GCJ | \
1.18991 - old_archive_from_expsyms_cmds_GCJ | \
1.18992 - export_symbols_cmds_GCJ | \
1.18993 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.18994 - postinstall_cmds | postuninstall_cmds | \
1.18995 - old_postinstall_cmds | old_postuninstall_cmds | \
1.18996 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.18997 - # Double-quote double-evaled strings.
1.18998 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.18999 - ;;
1.19000 - *)
1.19001 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.19002 - ;;
1.19003 - esac
1.19004 - done
1.19005 -
1.19006 - case $lt_echo in
1.19007 - *'\$0 --fallback-echo"')
1.19008 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.19009 - ;;
1.19010 - esac
1.19011 -
1.19012 -cfgfile="$ofile"
1.19013 -
1.19014 - cat <<__EOF__ >> "$cfgfile"
1.19015 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.19016 -
1.19017 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.19018 -
1.19019 -# Shell to use when invoking shell scripts.
1.19020 -SHELL=$lt_SHELL
1.19021 -
1.19022 -# Whether or not to build shared libraries.
1.19023 -build_libtool_libs=$enable_shared
1.19024 -
1.19025 -# Whether or not to build static libraries.
1.19026 -build_old_libs=$enable_static
1.19027 -
1.19028 -# Whether or not to add -lc for building shared libraries.
1.19029 -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
1.19030 -
1.19031 -# Whether or not to disallow shared libs when runtime libs are static
1.19032 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
1.19033 -
1.19034 -# Whether or not to optimize for fast installation.
1.19035 -fast_install=$enable_fast_install
1.19036 -
1.19037 -# The host system.
1.19038 -host_alias=$host_alias
1.19039 -host=$host
1.19040 -
1.19041 -# An echo program that does not interpret backslashes.
1.19042 -echo=$lt_echo
1.19043 -
1.19044 -# The archiver.
1.19045 -AR=$lt_AR
1.19046 -AR_FLAGS=$lt_AR_FLAGS
1.19047 -
1.19048 -# A C compiler.
1.19049 -LTCC=$lt_LTCC
1.19050 -
1.19051 -# A language-specific compiler.
1.19052 -CC=$lt_compiler_GCJ
1.19053 -
1.19054 -# Is the compiler the GNU C compiler?
1.19055 -with_gcc=$GCC_GCJ
1.19056 -
1.19057 -# An ERE matcher.
1.19058 -EGREP=$lt_EGREP
1.19059 -
1.19060 -# The linker used to build libraries.
1.19061 -LD=$lt_LD_GCJ
1.19062 -
1.19063 -# Whether we need hard or soft links.
1.19064 -LN_S=$lt_LN_S
1.19065 -
1.19066 -# A BSD-compatible nm program.
1.19067 -NM=$lt_NM
1.19068 -
1.19069 -# A symbol stripping program
1.19070 -STRIP=$lt_STRIP
1.19071 -
1.19072 -# Used to examine libraries when file_magic_cmd begins "file"
1.19073 -MAGIC_CMD=$MAGIC_CMD
1.19074 -
1.19075 -# Used on cygwin: DLL creation program.
1.19076 -DLLTOOL="$DLLTOOL"
1.19077 -
1.19078 -# Used on cygwin: object dumper.
1.19079 -OBJDUMP="$OBJDUMP"
1.19080 -
1.19081 -# Used on cygwin: assembler.
1.19082 -AS="$AS"
1.19083 -
1.19084 -# The name of the directory that contains temporary libtool files.
1.19085 -objdir=$objdir
1.19086 -
1.19087 -# How to create reloadable object files.
1.19088 -reload_flag=$lt_reload_flag
1.19089 -reload_cmds=$lt_reload_cmds
1.19090 -
1.19091 -# How to pass a linker flag through the compiler.
1.19092 -wl=$lt_lt_prog_compiler_wl_GCJ
1.19093 -
1.19094 -# Object file suffix (normally "o").
1.19095 -objext="$ac_objext"
1.19096 -
1.19097 -# Old archive suffix (normally "a").
1.19098 -libext="$libext"
1.19099 -
1.19100 -# Shared library suffix (normally ".so").
1.19101 -shrext_cmds='$shrext_cmds'
1.19102 -
1.19103 -# Executable file suffix (normally "").
1.19104 -exeext="$exeext"
1.19105 -
1.19106 -# Additional compiler flags for building library objects.
1.19107 -pic_flag=$lt_lt_prog_compiler_pic_GCJ
1.19108 -pic_mode=$pic_mode
1.19109 -
1.19110 -# What is the maximum length of a command?
1.19111 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.19112 -
1.19113 -# Does compiler simultaneously support -c and -o options?
1.19114 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
1.19115 -
1.19116 -# Must we lock files when doing compilation ?
1.19117 -need_locks=$lt_need_locks
1.19118 -
1.19119 -# Do we need the lib prefix for modules?
1.19120 -need_lib_prefix=$need_lib_prefix
1.19121 -
1.19122 -# Do we need a version for libraries?
1.19123 -need_version=$need_version
1.19124 -
1.19125 -# Whether dlopen is supported.
1.19126 -dlopen_support=$enable_dlopen
1.19127 -
1.19128 -# Whether dlopen of programs is supported.
1.19129 -dlopen_self=$enable_dlopen_self
1.19130 -
1.19131 -# Whether dlopen of statically linked programs is supported.
1.19132 -dlopen_self_static=$enable_dlopen_self_static
1.19133 -
1.19134 -# Compiler flag to prevent dynamic linking.
1.19135 -link_static_flag=$lt_lt_prog_compiler_static_GCJ
1.19136 -
1.19137 -# Compiler flag to turn off builtin functions.
1.19138 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
1.19139 -
1.19140 -# Compiler flag to allow reflexive dlopens.
1.19141 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
1.19142 -
1.19143 -# Compiler flag to generate shared objects directly from archives.
1.19144 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
1.19145 -
1.19146 -# Compiler flag to generate thread-safe objects.
1.19147 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
1.19148 -
1.19149 -# Library versioning type.
1.19150 -version_type=$version_type
1.19151 -
1.19152 -# Format of library name prefix.
1.19153 -libname_spec=$lt_libname_spec
1.19154 -
1.19155 -# List of archive names. First name is the real one, the rest are links.
1.19156 -# The last name is the one that the linker finds with -lNAME.
1.19157 -library_names_spec=$lt_library_names_spec
1.19158 -
1.19159 -# The coded name of the library, if different from the real name.
1.19160 -soname_spec=$lt_soname_spec
1.19161 -
1.19162 -# Commands used to build and install an old-style archive.
1.19163 -RANLIB=$lt_RANLIB
1.19164 -old_archive_cmds=$lt_old_archive_cmds_GCJ
1.19165 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.19166 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.19167 -
1.19168 -# Create an old-style archive from a shared archive.
1.19169 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
1.19170 -
1.19171 -# Create a temporary old-style archive to link instead of a shared archive.
1.19172 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
1.19173 -
1.19174 -# Commands used to build and install a shared archive.
1.19175 -archive_cmds=$lt_archive_cmds_GCJ
1.19176 -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
1.19177 -postinstall_cmds=$lt_postinstall_cmds
1.19178 -postuninstall_cmds=$lt_postuninstall_cmds
1.19179 -
1.19180 -# Commands used to build a loadable module (assumed same as above if empty)
1.19181 -module_cmds=$lt_module_cmds_GCJ
1.19182 -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
1.19183 -
1.19184 -# Commands to strip libraries.
1.19185 -old_striplib=$lt_old_striplib
1.19186 -striplib=$lt_striplib
1.19187 -
1.19188 -# Dependencies to place before the objects being linked to create a
1.19189 -# shared library.
1.19190 -predep_objects=$lt_predep_objects_GCJ
1.19191 -
1.19192 -# Dependencies to place after the objects being linked to create a
1.19193 -# shared library.
1.19194 -postdep_objects=$lt_postdep_objects_GCJ
1.19195 -
1.19196 -# Dependencies to place before the objects being linked to create a
1.19197 -# shared library.
1.19198 -predeps=$lt_predeps_GCJ
1.19199 -
1.19200 -# Dependencies to place after the objects being linked to create a
1.19201 -# shared library.
1.19202 -postdeps=$lt_postdeps_GCJ
1.19203 -
1.19204 -# The library search path used internally by the compiler when linking
1.19205 -# a shared library.
1.19206 -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
1.19207 -
1.19208 -# Method to check whether dependent libraries are shared objects.
1.19209 -deplibs_check_method=$lt_deplibs_check_method
1.19210 -
1.19211 -# Command to use when deplibs_check_method == file_magic.
1.19212 -file_magic_cmd=$lt_file_magic_cmd
1.19213 -
1.19214 -# Flag that allows shared libraries with undefined symbols to be built.
1.19215 -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
1.19216 -
1.19217 -# Flag that forces no undefined symbols.
1.19218 -no_undefined_flag=$lt_no_undefined_flag_GCJ
1.19219 -
1.19220 -# Commands used to finish a libtool library installation in a directory.
1.19221 -finish_cmds=$lt_finish_cmds
1.19222 -
1.19223 -# Same as above, but a single script fragment to be evaled but not shown.
1.19224 -finish_eval=$lt_finish_eval
1.19225 -
1.19226 -# Take the output of nm and produce a listing of raw symbols and C names.
1.19227 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.19228 -
1.19229 -# Transform the output of nm in a proper C declaration
1.19230 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.19231 -
1.19232 -# Transform the output of nm in a C name address pair
1.19233 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.19234 -
1.19235 -# This is the shared library runtime path variable.
1.19236 -runpath_var=$runpath_var
1.19237 -
1.19238 -# This is the shared library path variable.
1.19239 -shlibpath_var=$shlibpath_var
1.19240 -
1.19241 -# Is shlibpath searched before the hard-coded library search path?
1.19242 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.19243 -
1.19244 -# How to hardcode a shared library path into an executable.
1.19245 -hardcode_action=$hardcode_action_GCJ
1.19246 -
1.19247 -# Whether we should hardcode library paths into libraries.
1.19248 -hardcode_into_libs=$hardcode_into_libs
1.19249 -
1.19250 -# Flag to hardcode \$libdir into a binary during linking.
1.19251 -# This must work even if \$libdir does not exist.
1.19252 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
1.19253 -
1.19254 -# If ld is used when linking, flag to hardcode \$libdir into
1.19255 -# a binary during linking. This must work even if \$libdir does
1.19256 -# not exist.
1.19257 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
1.19258 -
1.19259 -# Whether we need a single -rpath flag with a separated argument.
1.19260 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
1.19261 -
1.19262 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.19263 -# resulting binary.
1.19264 -hardcode_direct=$hardcode_direct_GCJ
1.19265 -
1.19266 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.19267 -# resulting binary.
1.19268 -hardcode_minus_L=$hardcode_minus_L_GCJ
1.19269 -
1.19270 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.19271 -# the resulting binary.
1.19272 -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
1.19273 -
1.19274 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.19275 -# and all subsequent libraries and executables linked against it.
1.19276 -hardcode_automatic=$hardcode_automatic_GCJ
1.19277 -
1.19278 -# Variables whose values should be saved in libtool wrapper scripts and
1.19279 -# restored at relink time.
1.19280 -variables_saved_for_relink="$variables_saved_for_relink"
1.19281 -
1.19282 -# Whether libtool must link a program against all its dependency libraries.
1.19283 -link_all_deplibs=$link_all_deplibs_GCJ
1.19284 -
1.19285 -# Compile-time system search path for libraries
1.19286 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.19287 -
1.19288 -# Run-time system search path for libraries
1.19289 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.19290 -
1.19291 -# Fix the shell variable \$srcfile for the compiler.
1.19292 -fix_srcfile_path="$fix_srcfile_path_GCJ"
1.19293 -
1.19294 -# Set to yes if exported symbols are required.
1.19295 -always_export_symbols=$always_export_symbols_GCJ
1.19296 -
1.19297 -# The commands to list exported symbols.
1.19298 -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
1.19299 -
1.19300 -# The commands to extract the exported symbol list from a shared archive.
1.19301 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.19302 -
1.19303 -# Symbols that should not be listed in the preloaded symbols.
1.19304 -exclude_expsyms=$lt_exclude_expsyms_GCJ
1.19305 -
1.19306 -# Symbols that must always be exported.
1.19307 -include_expsyms=$lt_include_expsyms_GCJ
1.19308 -
1.19309 -# ### END LIBTOOL TAG CONFIG: $tagname
1.19310 -
1.19311 -__EOF__
1.19312 -
1.19313 -
1.19314 -else
1.19315 - # If there is no Makefile yet, we rely on a make rule to execute
1.19316 - # `config.status --recheck' to rerun these tests and create the
1.19317 - # libtool script then.
1.19318 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.19319 - if test -f "$ltmain_in"; then
1.19320 - test -f Makefile && make "$ltmain"
1.19321 - fi
1.19322 -fi
1.19323 -
1.19324 -
1.19325 -ac_ext=c
1.19326 -ac_cpp='$CPP $CPPFLAGS'
1.19327 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19328 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19329 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19330 -
1.19331 -CC="$lt_save_CC"
1.19332 -
1.19333 - else
1.19334 - tagname=""
1.19335 - fi
1.19336 - ;;
1.19337 -
1.19338 - RC)
1.19339 -
1.19340 -
1.19341 -# Source file extension for RC test sources.
1.19342 -ac_ext=rc
1.19343 -
1.19344 -# Object file extension for compiled RC test sources.
1.19345 -objext=o
1.19346 -objext_RC=$objext
1.19347 -
1.19348 -# Code to be used in simple compile tests
1.19349 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
1.19350 -
1.19351 -# Code to be used in simple link tests
1.19352 -lt_simple_link_test_code="$lt_simple_compile_test_code"
1.19353 -
1.19354 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.19355 -
1.19356 -# If no C compiler was specified, use CC.
1.19357 -LTCC=${LTCC-"$CC"}
1.19358 -
1.19359 -# Allow CC to be a program name with arguments.
1.19360 -compiler=$CC
1.19361 -
1.19362 -
1.19363 -# Allow CC to be a program name with arguments.
1.19364 -lt_save_CC="$CC"
1.19365 -CC=${RC-"windres"}
1.19366 -compiler=$CC
1.19367 -compiler_RC=$CC
1.19368 -lt_cv_prog_compiler_c_o_RC=yes
1.19369 -
1.19370 -# The else clause should only fire when bootstrapping the
1.19371 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.19372 -# with your package, and you will get complaints that there are
1.19373 -# no rules to generate ltmain.sh.
1.19374 -if test -f "$ltmain"; then
1.19375 - # See if we are running on zsh, and set the options which allow our commands through
1.19376 - # without removal of \ escapes.
1.19377 - if test -n "${ZSH_VERSION+set}" ; then
1.19378 - setopt NO_GLOB_SUBST
1.19379 - fi
1.19380 - # Now quote all the things that may contain metacharacters while being
1.19381 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.19382 - # variables and quote the copies for generation of the libtool script.
1.19383 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.19384 - SED SHELL STRIP \
1.19385 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.19386 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.19387 - deplibs_check_method reload_flag reload_cmds need_locks \
1.19388 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.19389 - lt_cv_sys_global_symbol_to_c_name_address \
1.19390 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.19391 - old_postinstall_cmds old_postuninstall_cmds \
1.19392 - compiler_RC \
1.19393 - CC_RC \
1.19394 - LD_RC \
1.19395 - lt_prog_compiler_wl_RC \
1.19396 - lt_prog_compiler_pic_RC \
1.19397 - lt_prog_compiler_static_RC \
1.19398 - lt_prog_compiler_no_builtin_flag_RC \
1.19399 - export_dynamic_flag_spec_RC \
1.19400 - thread_safe_flag_spec_RC \
1.19401 - whole_archive_flag_spec_RC \
1.19402 - enable_shared_with_static_runtimes_RC \
1.19403 - old_archive_cmds_RC \
1.19404 - old_archive_from_new_cmds_RC \
1.19405 - predep_objects_RC \
1.19406 - postdep_objects_RC \
1.19407 - predeps_RC \
1.19408 - postdeps_RC \
1.19409 - compiler_lib_search_path_RC \
1.19410 - archive_cmds_RC \
1.19411 - archive_expsym_cmds_RC \
1.19412 - postinstall_cmds_RC \
1.19413 - postuninstall_cmds_RC \
1.19414 - old_archive_from_expsyms_cmds_RC \
1.19415 - allow_undefined_flag_RC \
1.19416 - no_undefined_flag_RC \
1.19417 - export_symbols_cmds_RC \
1.19418 - hardcode_libdir_flag_spec_RC \
1.19419 - hardcode_libdir_flag_spec_ld_RC \
1.19420 - hardcode_libdir_separator_RC \
1.19421 - hardcode_automatic_RC \
1.19422 - module_cmds_RC \
1.19423 - module_expsym_cmds_RC \
1.19424 - lt_cv_prog_compiler_c_o_RC \
1.19425 - exclude_expsyms_RC \
1.19426 - include_expsyms_RC; do
1.19427 -
1.19428 - case $var in
1.19429 - old_archive_cmds_RC | \
1.19430 - old_archive_from_new_cmds_RC | \
1.19431 - archive_cmds_RC | \
1.19432 - archive_expsym_cmds_RC | \
1.19433 - module_cmds_RC | \
1.19434 - module_expsym_cmds_RC | \
1.19435 - old_archive_from_expsyms_cmds_RC | \
1.19436 - export_symbols_cmds_RC | \
1.19437 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.19438 - postinstall_cmds | postuninstall_cmds | \
1.19439 - old_postinstall_cmds | old_postuninstall_cmds | \
1.19440 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.19441 - # Double-quote double-evaled strings.
1.19442 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.19443 - ;;
1.19444 - *)
1.19445 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.19446 - ;;
1.19447 - esac
1.19448 - done
1.19449 -
1.19450 - case $lt_echo in
1.19451 - *'\$0 --fallback-echo"')
1.19452 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.19453 - ;;
1.19454 - esac
1.19455 -
1.19456 -cfgfile="$ofile"
1.19457 -
1.19458 - cat <<__EOF__ >> "$cfgfile"
1.19459 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.19460 -
1.19461 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.19462 -
1.19463 -# Shell to use when invoking shell scripts.
1.19464 -SHELL=$lt_SHELL
1.19465 -
1.19466 -# Whether or not to build shared libraries.
1.19467 -build_libtool_libs=$enable_shared
1.19468 -
1.19469 -# Whether or not to build static libraries.
1.19470 -build_old_libs=$enable_static
1.19471 -
1.19472 -# Whether or not to add -lc for building shared libraries.
1.19473 -build_libtool_need_lc=$archive_cmds_need_lc_RC
1.19474 -
1.19475 -# Whether or not to disallow shared libs when runtime libs are static
1.19476 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
1.19477 -
1.19478 -# Whether or not to optimize for fast installation.
1.19479 -fast_install=$enable_fast_install
1.19480 -
1.19481 -# The host system.
1.19482 -host_alias=$host_alias
1.19483 -host=$host
1.19484 -
1.19485 -# An echo program that does not interpret backslashes.
1.19486 -echo=$lt_echo
1.19487 -
1.19488 -# The archiver.
1.19489 -AR=$lt_AR
1.19490 -AR_FLAGS=$lt_AR_FLAGS
1.19491 -
1.19492 -# A C compiler.
1.19493 -LTCC=$lt_LTCC
1.19494 -
1.19495 -# A language-specific compiler.
1.19496 -CC=$lt_compiler_RC
1.19497 -
1.19498 -# Is the compiler the GNU C compiler?
1.19499 -with_gcc=$GCC_RC
1.19500 -
1.19501 -# An ERE matcher.
1.19502 -EGREP=$lt_EGREP
1.19503 -
1.19504 -# The linker used to build libraries.
1.19505 -LD=$lt_LD_RC
1.19506 -
1.19507 -# Whether we need hard or soft links.
1.19508 -LN_S=$lt_LN_S
1.19509 -
1.19510 -# A BSD-compatible nm program.
1.19511 -NM=$lt_NM
1.19512 -
1.19513 -# A symbol stripping program
1.19514 -STRIP=$lt_STRIP
1.19515 -
1.19516 -# Used to examine libraries when file_magic_cmd begins "file"
1.19517 -MAGIC_CMD=$MAGIC_CMD
1.19518 -
1.19519 -# Used on cygwin: DLL creation program.
1.19520 -DLLTOOL="$DLLTOOL"
1.19521 -
1.19522 -# Used on cygwin: object dumper.
1.19523 -OBJDUMP="$OBJDUMP"
1.19524 -
1.19525 -# Used on cygwin: assembler.
1.19526 -AS="$AS"
1.19527 -
1.19528 -# The name of the directory that contains temporary libtool files.
1.19529 -objdir=$objdir
1.19530 -
1.19531 -# How to create reloadable object files.
1.19532 -reload_flag=$lt_reload_flag
1.19533 -reload_cmds=$lt_reload_cmds
1.19534 -
1.19535 -# How to pass a linker flag through the compiler.
1.19536 -wl=$lt_lt_prog_compiler_wl_RC
1.19537 -
1.19538 -# Object file suffix (normally "o").
1.19539 -objext="$ac_objext"
1.19540 -
1.19541 -# Old archive suffix (normally "a").
1.19542 -libext="$libext"
1.19543 -
1.19544 -# Shared library suffix (normally ".so").
1.19545 -shrext_cmds='$shrext_cmds'
1.19546 -
1.19547 -# Executable file suffix (normally "").
1.19548 -exeext="$exeext"
1.19549 -
1.19550 -# Additional compiler flags for building library objects.
1.19551 -pic_flag=$lt_lt_prog_compiler_pic_RC
1.19552 -pic_mode=$pic_mode
1.19553 -
1.19554 -# What is the maximum length of a command?
1.19555 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.19556 -
1.19557 -# Does compiler simultaneously support -c and -o options?
1.19558 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
1.19559 -
1.19560 -# Must we lock files when doing compilation ?
1.19561 -need_locks=$lt_need_locks
1.19562 -
1.19563 -# Do we need the lib prefix for modules?
1.19564 -need_lib_prefix=$need_lib_prefix
1.19565 -
1.19566 -# Do we need a version for libraries?
1.19567 -need_version=$need_version
1.19568 -
1.19569 -# Whether dlopen is supported.
1.19570 -dlopen_support=$enable_dlopen
1.19571 -
1.19572 -# Whether dlopen of programs is supported.
1.19573 -dlopen_self=$enable_dlopen_self
1.19574 -
1.19575 -# Whether dlopen of statically linked programs is supported.
1.19576 -dlopen_self_static=$enable_dlopen_self_static
1.19577 -
1.19578 -# Compiler flag to prevent dynamic linking.
1.19579 -link_static_flag=$lt_lt_prog_compiler_static_RC
1.19580 -
1.19581 -# Compiler flag to turn off builtin functions.
1.19582 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
1.19583 -
1.19584 -# Compiler flag to allow reflexive dlopens.
1.19585 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
1.19586 -
1.19587 -# Compiler flag to generate shared objects directly from archives.
1.19588 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
1.19589 -
1.19590 -# Compiler flag to generate thread-safe objects.
1.19591 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
1.19592 -
1.19593 -# Library versioning type.
1.19594 -version_type=$version_type
1.19595 -
1.19596 -# Format of library name prefix.
1.19597 -libname_spec=$lt_libname_spec
1.19598 -
1.19599 -# List of archive names. First name is the real one, the rest are links.
1.19600 -# The last name is the one that the linker finds with -lNAME.
1.19601 -library_names_spec=$lt_library_names_spec
1.19602 -
1.19603 -# The coded name of the library, if different from the real name.
1.19604 -soname_spec=$lt_soname_spec
1.19605 -
1.19606 -# Commands used to build and install an old-style archive.
1.19607 -RANLIB=$lt_RANLIB
1.19608 -old_archive_cmds=$lt_old_archive_cmds_RC
1.19609 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.19610 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.19611 -
1.19612 -# Create an old-style archive from a shared archive.
1.19613 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
1.19614 -
1.19615 -# Create a temporary old-style archive to link instead of a shared archive.
1.19616 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
1.19617 -
1.19618 -# Commands used to build and install a shared archive.
1.19619 -archive_cmds=$lt_archive_cmds_RC
1.19620 -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
1.19621 -postinstall_cmds=$lt_postinstall_cmds
1.19622 -postuninstall_cmds=$lt_postuninstall_cmds
1.19623 -
1.19624 -# Commands used to build a loadable module (assumed same as above if empty)
1.19625 -module_cmds=$lt_module_cmds_RC
1.19626 -module_expsym_cmds=$lt_module_expsym_cmds_RC
1.19627 -
1.19628 -# Commands to strip libraries.
1.19629 -old_striplib=$lt_old_striplib
1.19630 -striplib=$lt_striplib
1.19631 -
1.19632 -# Dependencies to place before the objects being linked to create a
1.19633 -# shared library.
1.19634 -predep_objects=$lt_predep_objects_RC
1.19635 -
1.19636 -# Dependencies to place after the objects being linked to create a
1.19637 -# shared library.
1.19638 -postdep_objects=$lt_postdep_objects_RC
1.19639 -
1.19640 -# Dependencies to place before the objects being linked to create a
1.19641 -# shared library.
1.19642 -predeps=$lt_predeps_RC
1.19643 -
1.19644 -# Dependencies to place after the objects being linked to create a
1.19645 -# shared library.
1.19646 -postdeps=$lt_postdeps_RC
1.19647 -
1.19648 -# The library search path used internally by the compiler when linking
1.19649 -# a shared library.
1.19650 -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
1.19651 -
1.19652 -# Method to check whether dependent libraries are shared objects.
1.19653 -deplibs_check_method=$lt_deplibs_check_method
1.19654 -
1.19655 -# Command to use when deplibs_check_method == file_magic.
1.19656 -file_magic_cmd=$lt_file_magic_cmd
1.19657 -
1.19658 -# Flag that allows shared libraries with undefined symbols to be built.
1.19659 -allow_undefined_flag=$lt_allow_undefined_flag_RC
1.19660 -
1.19661 -# Flag that forces no undefined symbols.
1.19662 -no_undefined_flag=$lt_no_undefined_flag_RC
1.19663 -
1.19664 -# Commands used to finish a libtool library installation in a directory.
1.19665 -finish_cmds=$lt_finish_cmds
1.19666 -
1.19667 -# Same as above, but a single script fragment to be evaled but not shown.
1.19668 -finish_eval=$lt_finish_eval
1.19669 -
1.19670 -# Take the output of nm and produce a listing of raw symbols and C names.
1.19671 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.19672 -
1.19673 -# Transform the output of nm in a proper C declaration
1.19674 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.19675 -
1.19676 -# Transform the output of nm in a C name address pair
1.19677 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.19678 -
1.19679 -# This is the shared library runtime path variable.
1.19680 -runpath_var=$runpath_var
1.19681 -
1.19682 -# This is the shared library path variable.
1.19683 -shlibpath_var=$shlibpath_var
1.19684 -
1.19685 -# Is shlibpath searched before the hard-coded library search path?
1.19686 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.19687 -
1.19688 -# How to hardcode a shared library path into an executable.
1.19689 -hardcode_action=$hardcode_action_RC
1.19690 -
1.19691 -# Whether we should hardcode library paths into libraries.
1.19692 -hardcode_into_libs=$hardcode_into_libs
1.19693 -
1.19694 -# Flag to hardcode \$libdir into a binary during linking.
1.19695 -# This must work even if \$libdir does not exist.
1.19696 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
1.19697 -
1.19698 -# If ld is used when linking, flag to hardcode \$libdir into
1.19699 -# a binary during linking. This must work even if \$libdir does
1.19700 -# not exist.
1.19701 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
1.19702 -
1.19703 -# Whether we need a single -rpath flag with a separated argument.
1.19704 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
1.19705 -
1.19706 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.19707 -# resulting binary.
1.19708 -hardcode_direct=$hardcode_direct_RC
1.19709 -
1.19710 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.19711 -# resulting binary.
1.19712 -hardcode_minus_L=$hardcode_minus_L_RC
1.19713 -
1.19714 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.19715 -# the resulting binary.
1.19716 -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
1.19717 -
1.19718 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.19719 -# and all subsequent libraries and executables linked against it.
1.19720 -hardcode_automatic=$hardcode_automatic_RC
1.19721 -
1.19722 -# Variables whose values should be saved in libtool wrapper scripts and
1.19723 -# restored at relink time.
1.19724 -variables_saved_for_relink="$variables_saved_for_relink"
1.19725 -
1.19726 -# Whether libtool must link a program against all its dependency libraries.
1.19727 -link_all_deplibs=$link_all_deplibs_RC
1.19728 -
1.19729 -# Compile-time system search path for libraries
1.19730 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.19731 -
1.19732 -# Run-time system search path for libraries
1.19733 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.19734 -
1.19735 -# Fix the shell variable \$srcfile for the compiler.
1.19736 -fix_srcfile_path="$fix_srcfile_path_RC"
1.19737 -
1.19738 -# Set to yes if exported symbols are required.
1.19739 -always_export_symbols=$always_export_symbols_RC
1.19740 -
1.19741 -# The commands to list exported symbols.
1.19742 -export_symbols_cmds=$lt_export_symbols_cmds_RC
1.19743 -
1.19744 -# The commands to extract the exported symbol list from a shared archive.
1.19745 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.19746 -
1.19747 -# Symbols that should not be listed in the preloaded symbols.
1.19748 -exclude_expsyms=$lt_exclude_expsyms_RC
1.19749 -
1.19750 -# Symbols that must always be exported.
1.19751 -include_expsyms=$lt_include_expsyms_RC
1.19752 -
1.19753 -# ### END LIBTOOL TAG CONFIG: $tagname
1.19754 -
1.19755 -__EOF__
1.19756 -
1.19757 -
1.19758 -else
1.19759 - # If there is no Makefile yet, we rely on a make rule to execute
1.19760 - # `config.status --recheck' to rerun these tests and create the
1.19761 - # libtool script then.
1.19762 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.19763 - if test -f "$ltmain_in"; then
1.19764 - test -f Makefile && make "$ltmain"
1.19765 - fi
1.19766 -fi
1.19767 -
1.19768 -
1.19769 -ac_ext=c
1.19770 -ac_cpp='$CPP $CPPFLAGS'
1.19771 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19772 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19773 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19774 -
1.19775 -CC="$lt_save_CC"
1.19776 -
1.19777 - ;;
1.19778 -
1.19779 - *)
1.19780 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
1.19781 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
1.19782 - { (exit 1); exit 1; }; }
1.19783 - ;;
1.19784 - esac
1.19785 -
1.19786 - # Append the new tag name to the list of available tags.
1.19787 - if test -n "$tagname" ; then
1.19788 - available_tags="$available_tags $tagname"
1.19789 - fi
1.19790 - fi
1.19791 - done
1.19792 - IFS="$lt_save_ifs"
1.19793 -
1.19794 - # Now substitute the updated list of available tags.
1.19795 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
1.19796 - mv "${ofile}T" "$ofile"
1.19797 - chmod +x "$ofile"
1.19798 - else
1.19799 - rm -f "${ofile}T"
1.19800 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
1.19801 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
1.19802 - { (exit 1); exit 1; }; }
1.19803 - fi
1.19804 -fi
1.19805 -
1.19806 -
1.19807 -
1.19808 -# This can be used to rebuild libtool when needed
1.19809 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
1.19810 -
1.19811 -# Always use our own libtool.
1.19812 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.19813 -
1.19814 -# Prevent multiple expansion
1.19815 -
1.19816 -
1.19817 -
1.19818 -
1.19819 -
1.19820 -
1.19821 -
1.19822 -
1.19823 -
1.19824 -
1.19825 -
1.19826 -
1.19827 -
1.19828 -
1.19829 -
1.19830 -
1.19831 -
1.19832 -
1.19833 -
1.19834 -
1.19835 -
1.19836 -ac_config_headers="$ac_config_headers config.h"
1.19837 -
1.19838 -
1.19839 -ACLOCAL_AMFLAGS="-I m4"
1.19840 -
1.19841 -
1.19842 -ac_ext=c
1.19843 -ac_cpp='$CPP $CPPFLAGS'
1.19844 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19845 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19846 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19847 -if test -n "$ac_tool_prefix"; then
1.19848 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.19849 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.19850 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19851 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.19852 -if test "${ac_cv_prog_CC+set}" = set; then
1.19853 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19854 -else
1.19855 - if test -n "$CC"; then
1.19856 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19857 -else
1.19858 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19859 -for as_dir in $PATH
1.19860 -do
1.19861 - IFS=$as_save_IFS
1.19862 - test -z "$as_dir" && as_dir=.
1.19863 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19864 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.19865 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.19866 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19867 - break 2
1.19868 - fi
1.19869 -done
1.19870 -done
1.19871 -IFS=$as_save_IFS
1.19872 -
1.19873 -fi
1.19874 -fi
1.19875 -CC=$ac_cv_prog_CC
1.19876 -if test -n "$CC"; then
1.19877 - { echo "$as_me:$LINENO: result: $CC" >&5
1.19878 -echo "${ECHO_T}$CC" >&6; }
1.19879 -else
1.19880 - { echo "$as_me:$LINENO: result: no" >&5
1.19881 -echo "${ECHO_T}no" >&6; }
1.19882 -fi
1.19883 -
1.19884 -
1.19885 -fi
1.19886 -if test -z "$ac_cv_prog_CC"; then
1.19887 - ac_ct_CC=$CC
1.19888 - # Extract the first word of "gcc", so it can be a program name with args.
1.19889 -set dummy gcc; ac_word=$2
1.19890 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19891 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.19892 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.19893 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19894 -else
1.19895 - if test -n "$ac_ct_CC"; then
1.19896 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.19897 -else
1.19898 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19899 -for as_dir in $PATH
1.19900 -do
1.19901 - IFS=$as_save_IFS
1.19902 - test -z "$as_dir" && as_dir=.
1.19903 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19904 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.19905 - ac_cv_prog_ac_ct_CC="gcc"
1.19906 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19907 - break 2
1.19908 - fi
1.19909 -done
1.19910 -done
1.19911 -IFS=$as_save_IFS
1.19912 -
1.19913 -fi
1.19914 -fi
1.19915 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.19916 -if test -n "$ac_ct_CC"; then
1.19917 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.19918 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.19919 -else
1.19920 - { echo "$as_me:$LINENO: result: no" >&5
1.19921 -echo "${ECHO_T}no" >&6; }
1.19922 -fi
1.19923 -
1.19924 - if test "x$ac_ct_CC" = x; then
1.19925 - CC=""
1.19926 - else
1.19927 - case $cross_compiling:$ac_tool_warned in
1.19928 -yes:)
1.19929 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.19930 -whose name does not start with the host triplet. If you think this
1.19931 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.19932 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.19933 -whose name does not start with the host triplet. If you think this
1.19934 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.19935 -ac_tool_warned=yes ;;
1.19936 -esac
1.19937 - CC=$ac_ct_CC
1.19938 - fi
1.19939 -else
1.19940 - CC="$ac_cv_prog_CC"
1.19941 -fi
1.19942 -
1.19943 -if test -z "$CC"; then
1.19944 - if test -n "$ac_tool_prefix"; then
1.19945 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.19946 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.19947 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19948 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.19949 -if test "${ac_cv_prog_CC+set}" = set; then
1.19950 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19951 -else
1.19952 - if test -n "$CC"; then
1.19953 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19954 -else
1.19955 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19956 -for as_dir in $PATH
1.19957 -do
1.19958 - IFS=$as_save_IFS
1.19959 - test -z "$as_dir" && as_dir=.
1.19960 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19961 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.19962 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.19963 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19964 - break 2
1.19965 - fi
1.19966 -done
1.19967 -done
1.19968 -IFS=$as_save_IFS
1.19969 -
1.19970 -fi
1.19971 -fi
1.19972 -CC=$ac_cv_prog_CC
1.19973 -if test -n "$CC"; then
1.19974 - { echo "$as_me:$LINENO: result: $CC" >&5
1.19975 -echo "${ECHO_T}$CC" >&6; }
1.19976 -else
1.19977 - { echo "$as_me:$LINENO: result: no" >&5
1.19978 -echo "${ECHO_T}no" >&6; }
1.19979 -fi
1.19980 -
1.19981 -
1.19982 - fi
1.19983 -fi
1.19984 -if test -z "$CC"; then
1.19985 - # Extract the first word of "cc", so it can be a program name with args.
1.19986 -set dummy cc; ac_word=$2
1.19987 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19988 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.19989 -if test "${ac_cv_prog_CC+set}" = set; then
1.19990 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19991 -else
1.19992 - if test -n "$CC"; then
1.19993 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19994 -else
1.19995 - ac_prog_rejected=no
1.19996 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19997 -for as_dir in $PATH
1.19998 -do
1.19999 - IFS=$as_save_IFS
1.20000 - test -z "$as_dir" && as_dir=.
1.20001 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20002 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.20003 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.20004 - ac_prog_rejected=yes
1.20005 - continue
1.20006 - fi
1.20007 - ac_cv_prog_CC="cc"
1.20008 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20009 - break 2
1.20010 - fi
1.20011 -done
1.20012 -done
1.20013 -IFS=$as_save_IFS
1.20014 -
1.20015 -if test $ac_prog_rejected = yes; then
1.20016 - # We found a bogon in the path, so make sure we never use it.
1.20017 - set dummy $ac_cv_prog_CC
1.20018 - shift
1.20019 - if test $@%:@ != 0; then
1.20020 - # We chose a different compiler from the bogus one.
1.20021 - # However, it has the same basename, so the bogon will be chosen
1.20022 - # first if we set CC to just the basename; use the full file name.
1.20023 - shift
1.20024 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.20025 - fi
1.20026 -fi
1.20027 -fi
1.20028 -fi
1.20029 -CC=$ac_cv_prog_CC
1.20030 -if test -n "$CC"; then
1.20031 - { echo "$as_me:$LINENO: result: $CC" >&5
1.20032 -echo "${ECHO_T}$CC" >&6; }
1.20033 -else
1.20034 - { echo "$as_me:$LINENO: result: no" >&5
1.20035 -echo "${ECHO_T}no" >&6; }
1.20036 -fi
1.20037 -
1.20038 -
1.20039 -fi
1.20040 -if test -z "$CC"; then
1.20041 - if test -n "$ac_tool_prefix"; then
1.20042 - for ac_prog in cl.exe
1.20043 - do
1.20044 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.20045 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.20046 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.20047 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.20048 -if test "${ac_cv_prog_CC+set}" = set; then
1.20049 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20050 -else
1.20051 - if test -n "$CC"; then
1.20052 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.20053 -else
1.20054 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.20055 -for as_dir in $PATH
1.20056 -do
1.20057 - IFS=$as_save_IFS
1.20058 - test -z "$as_dir" && as_dir=.
1.20059 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20060 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.20061 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.20062 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20063 - break 2
1.20064 - fi
1.20065 -done
1.20066 -done
1.20067 -IFS=$as_save_IFS
1.20068 -
1.20069 -fi
1.20070 -fi
1.20071 -CC=$ac_cv_prog_CC
1.20072 -if test -n "$CC"; then
1.20073 - { echo "$as_me:$LINENO: result: $CC" >&5
1.20074 -echo "${ECHO_T}$CC" >&6; }
1.20075 -else
1.20076 - { echo "$as_me:$LINENO: result: no" >&5
1.20077 -echo "${ECHO_T}no" >&6; }
1.20078 -fi
1.20079 -
1.20080 -
1.20081 - test -n "$CC" && break
1.20082 - done
1.20083 -fi
1.20084 -if test -z "$CC"; then
1.20085 - ac_ct_CC=$CC
1.20086 - for ac_prog in cl.exe
1.20087 -do
1.20088 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.20089 -set dummy $ac_prog; ac_word=$2
1.20090 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.20091 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.20092 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.20093 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20094 -else
1.20095 - if test -n "$ac_ct_CC"; then
1.20096 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.20097 -else
1.20098 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.20099 -for as_dir in $PATH
1.20100 -do
1.20101 - IFS=$as_save_IFS
1.20102 - test -z "$as_dir" && as_dir=.
1.20103 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20104 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.20105 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.20106 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20107 - break 2
1.20108 - fi
1.20109 -done
1.20110 -done
1.20111 -IFS=$as_save_IFS
1.20112 -
1.20113 -fi
1.20114 -fi
1.20115 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.20116 -if test -n "$ac_ct_CC"; then
1.20117 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.20118 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.20119 -else
1.20120 - { echo "$as_me:$LINENO: result: no" >&5
1.20121 -echo "${ECHO_T}no" >&6; }
1.20122 -fi
1.20123 -
1.20124 -
1.20125 - test -n "$ac_ct_CC" && break
1.20126 -done
1.20127 -
1.20128 - if test "x$ac_ct_CC" = x; then
1.20129 - CC=""
1.20130 - else
1.20131 - case $cross_compiling:$ac_tool_warned in
1.20132 -yes:)
1.20133 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.20134 -whose name does not start with the host triplet. If you think this
1.20135 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.20136 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.20137 -whose name does not start with the host triplet. If you think this
1.20138 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.20139 -ac_tool_warned=yes ;;
1.20140 -esac
1.20141 - CC=$ac_ct_CC
1.20142 - fi
1.20143 -fi
1.20144 -
1.20145 -fi
1.20146 -
1.20147 -
1.20148 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.20149 -See \`config.log' for more details." >&5
1.20150 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.20151 -See \`config.log' for more details." >&2;}
1.20152 - { (exit 1); exit 1; }; }
1.20153 -
1.20154 -# Provide some information about the compiler.
1.20155 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.20156 -ac_compiler=`set X $ac_compile; echo $2`
1.20157 -{ (ac_try="$ac_compiler --version >&5"
1.20158 -case "(($ac_try" in
1.20159 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20160 - *) ac_try_echo=$ac_try;;
1.20161 -esac
1.20162 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20163 - (eval "$ac_compiler --version >&5") 2>&5
1.20164 - ac_status=$?
1.20165 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20166 - (exit $ac_status); }
1.20167 -{ (ac_try="$ac_compiler -v >&5"
1.20168 -case "(($ac_try" in
1.20169 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20170 - *) ac_try_echo=$ac_try;;
1.20171 -esac
1.20172 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20173 - (eval "$ac_compiler -v >&5") 2>&5
1.20174 - ac_status=$?
1.20175 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20176 - (exit $ac_status); }
1.20177 -{ (ac_try="$ac_compiler -V >&5"
1.20178 -case "(($ac_try" in
1.20179 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20180 - *) ac_try_echo=$ac_try;;
1.20181 -esac
1.20182 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20183 - (eval "$ac_compiler -V >&5") 2>&5
1.20184 - ac_status=$?
1.20185 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20186 - (exit $ac_status); }
1.20187 -
1.20188 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.20189 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.20190 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.20191 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20192 -else
1.20193 - cat >conftest.$ac_ext <<_ACEOF
1.20194 -/* confdefs.h. */
1.20195 -_ACEOF
1.20196 -cat confdefs.h >>conftest.$ac_ext
1.20197 -cat >>conftest.$ac_ext <<_ACEOF
1.20198 -/* end confdefs.h. */
1.20199 -
1.20200 -int
1.20201 -main ()
1.20202 -{
1.20203 -#ifndef __GNUC__
1.20204 - choke me
1.20205 -#endif
1.20206 -
1.20207 - ;
1.20208 - return 0;
1.20209 -}
1.20210 -_ACEOF
1.20211 -rm -f conftest.$ac_objext
1.20212 -if { (ac_try="$ac_compile"
1.20213 -case "(($ac_try" in
1.20214 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20215 - *) ac_try_echo=$ac_try;;
1.20216 -esac
1.20217 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20218 - (eval "$ac_compile") 2>conftest.er1
1.20219 - ac_status=$?
1.20220 - grep -v '^ *+' conftest.er1 >conftest.err
1.20221 - rm -f conftest.er1
1.20222 - cat conftest.err >&5
1.20223 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20224 - (exit $ac_status); } && {
1.20225 - test -z "$ac_c_werror_flag" ||
1.20226 - test ! -s conftest.err
1.20227 - } && test -s conftest.$ac_objext; then
1.20228 - ac_compiler_gnu=yes
1.20229 -else
1.20230 - echo "$as_me: failed program was:" >&5
1.20231 -sed 's/^/| /' conftest.$ac_ext >&5
1.20232 -
1.20233 - ac_compiler_gnu=no
1.20234 -fi
1.20235 -
1.20236 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20237 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.20238 -
1.20239 -fi
1.20240 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.20241 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.20242 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.20243 -ac_test_CFLAGS=${CFLAGS+set}
1.20244 -ac_save_CFLAGS=$CFLAGS
1.20245 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.20246 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.20247 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.20248 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20249 -else
1.20250 - ac_save_c_werror_flag=$ac_c_werror_flag
1.20251 - ac_c_werror_flag=yes
1.20252 - ac_cv_prog_cc_g=no
1.20253 - CFLAGS="-g"
1.20254 - cat >conftest.$ac_ext <<_ACEOF
1.20255 -/* confdefs.h. */
1.20256 -_ACEOF
1.20257 -cat confdefs.h >>conftest.$ac_ext
1.20258 -cat >>conftest.$ac_ext <<_ACEOF
1.20259 -/* end confdefs.h. */
1.20260 -
1.20261 -int
1.20262 -main ()
1.20263 -{
1.20264 -
1.20265 - ;
1.20266 - return 0;
1.20267 -}
1.20268 -_ACEOF
1.20269 -rm -f conftest.$ac_objext
1.20270 -if { (ac_try="$ac_compile"
1.20271 -case "(($ac_try" in
1.20272 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20273 - *) ac_try_echo=$ac_try;;
1.20274 -esac
1.20275 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20276 - (eval "$ac_compile") 2>conftest.er1
1.20277 - ac_status=$?
1.20278 - grep -v '^ *+' conftest.er1 >conftest.err
1.20279 - rm -f conftest.er1
1.20280 - cat conftest.err >&5
1.20281 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20282 - (exit $ac_status); } && {
1.20283 - test -z "$ac_c_werror_flag" ||
1.20284 - test ! -s conftest.err
1.20285 - } && test -s conftest.$ac_objext; then
1.20286 - ac_cv_prog_cc_g=yes
1.20287 -else
1.20288 - echo "$as_me: failed program was:" >&5
1.20289 -sed 's/^/| /' conftest.$ac_ext >&5
1.20290 -
1.20291 - CFLAGS=""
1.20292 - cat >conftest.$ac_ext <<_ACEOF
1.20293 -/* confdefs.h. */
1.20294 -_ACEOF
1.20295 -cat confdefs.h >>conftest.$ac_ext
1.20296 -cat >>conftest.$ac_ext <<_ACEOF
1.20297 -/* end confdefs.h. */
1.20298 -
1.20299 -int
1.20300 -main ()
1.20301 -{
1.20302 -
1.20303 - ;
1.20304 - return 0;
1.20305 -}
1.20306 -_ACEOF
1.20307 -rm -f conftest.$ac_objext
1.20308 -if { (ac_try="$ac_compile"
1.20309 -case "(($ac_try" in
1.20310 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20311 - *) ac_try_echo=$ac_try;;
1.20312 -esac
1.20313 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20314 - (eval "$ac_compile") 2>conftest.er1
1.20315 - ac_status=$?
1.20316 - grep -v '^ *+' conftest.er1 >conftest.err
1.20317 - rm -f conftest.er1
1.20318 - cat conftest.err >&5
1.20319 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20320 - (exit $ac_status); } && {
1.20321 - test -z "$ac_c_werror_flag" ||
1.20322 - test ! -s conftest.err
1.20323 - } && test -s conftest.$ac_objext; then
1.20324 - :
1.20325 -else
1.20326 - echo "$as_me: failed program was:" >&5
1.20327 -sed 's/^/| /' conftest.$ac_ext >&5
1.20328 -
1.20329 - ac_c_werror_flag=$ac_save_c_werror_flag
1.20330 - CFLAGS="-g"
1.20331 - cat >conftest.$ac_ext <<_ACEOF
1.20332 -/* confdefs.h. */
1.20333 -_ACEOF
1.20334 -cat confdefs.h >>conftest.$ac_ext
1.20335 -cat >>conftest.$ac_ext <<_ACEOF
1.20336 -/* end confdefs.h. */
1.20337 -
1.20338 -int
1.20339 -main ()
1.20340 -{
1.20341 -
1.20342 - ;
1.20343 - return 0;
1.20344 -}
1.20345 -_ACEOF
1.20346 -rm -f conftest.$ac_objext
1.20347 -if { (ac_try="$ac_compile"
1.20348 -case "(($ac_try" in
1.20349 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20350 - *) ac_try_echo=$ac_try;;
1.20351 -esac
1.20352 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20353 - (eval "$ac_compile") 2>conftest.er1
1.20354 - ac_status=$?
1.20355 - grep -v '^ *+' conftest.er1 >conftest.err
1.20356 - rm -f conftest.er1
1.20357 - cat conftest.err >&5
1.20358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20359 - (exit $ac_status); } && {
1.20360 - test -z "$ac_c_werror_flag" ||
1.20361 - test ! -s conftest.err
1.20362 - } && test -s conftest.$ac_objext; then
1.20363 - ac_cv_prog_cc_g=yes
1.20364 -else
1.20365 - echo "$as_me: failed program was:" >&5
1.20366 -sed 's/^/| /' conftest.$ac_ext >&5
1.20367 -
1.20368 -
1.20369 -fi
1.20370 -
1.20371 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20372 -fi
1.20373 -
1.20374 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20375 -fi
1.20376 -
1.20377 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20378 - ac_c_werror_flag=$ac_save_c_werror_flag
1.20379 -fi
1.20380 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.20381 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.20382 -if test "$ac_test_CFLAGS" = set; then
1.20383 - CFLAGS=$ac_save_CFLAGS
1.20384 -elif test $ac_cv_prog_cc_g = yes; then
1.20385 - if test "$GCC" = yes; then
1.20386 - CFLAGS="-g -O2"
1.20387 - else
1.20388 - CFLAGS="-g"
1.20389 - fi
1.20390 -else
1.20391 - if test "$GCC" = yes; then
1.20392 - CFLAGS="-O2"
1.20393 - else
1.20394 - CFLAGS=
1.20395 - fi
1.20396 -fi
1.20397 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.20398 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.20399 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.20400 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20401 -else
1.20402 - ac_cv_prog_cc_c89=no
1.20403 -ac_save_CC=$CC
1.20404 -cat >conftest.$ac_ext <<_ACEOF
1.20405 -/* confdefs.h. */
1.20406 -_ACEOF
1.20407 -cat confdefs.h >>conftest.$ac_ext
1.20408 -cat >>conftest.$ac_ext <<_ACEOF
1.20409 -/* end confdefs.h. */
1.20410 -#include <stdarg.h>
1.20411 -#include <stdio.h>
1.20412 -#include <sys/types.h>
1.20413 -#include <sys/stat.h>
1.20414 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.20415 -struct buf { int x; };
1.20416 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.20417 -static char *e (p, i)
1.20418 - char **p;
1.20419 - int i;
1.20420 -{
1.20421 - return p[i];
1.20422 -}
1.20423 -static char *f (char * (*g) (char **, int), char **p, ...)
1.20424 -{
1.20425 - char *s;
1.20426 - va_list v;
1.20427 - va_start (v,p);
1.20428 - s = g (p, va_arg (v,int));
1.20429 - va_end (v);
1.20430 - return s;
1.20431 -}
1.20432 -
1.20433 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.20434 - function prototypes and stuff, but not '\xHH' hex character constants.
1.20435 - These don't provoke an error unfortunately, instead are silently treated
1.20436 - as 'x'. The following induces an error, until -std is added to get
1.20437 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.20438 - array size at least. It's necessary to write '\x00'==0 to get something
1.20439 - that's true only with -std. */
1.20440 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.20441 -
1.20442 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.20443 - inside strings and character constants. */
1.20444 -#define FOO(x) 'x'
1.20445 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.20446 -
1.20447 -int test (int i, double x);
1.20448 -struct s1 {int (*f) (int a);};
1.20449 -struct s2 {int (*f) (double a);};
1.20450 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.20451 -int argc;
1.20452 -char **argv;
1.20453 -int
1.20454 -main ()
1.20455 -{
1.20456 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.20457 - ;
1.20458 - return 0;
1.20459 -}
1.20460 -_ACEOF
1.20461 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.20462 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.20463 -do
1.20464 - CC="$ac_save_CC $ac_arg"
1.20465 - rm -f conftest.$ac_objext
1.20466 -if { (ac_try="$ac_compile"
1.20467 -case "(($ac_try" in
1.20468 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20469 - *) ac_try_echo=$ac_try;;
1.20470 -esac
1.20471 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20472 - (eval "$ac_compile") 2>conftest.er1
1.20473 - ac_status=$?
1.20474 - grep -v '^ *+' conftest.er1 >conftest.err
1.20475 - rm -f conftest.er1
1.20476 - cat conftest.err >&5
1.20477 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20478 - (exit $ac_status); } && {
1.20479 - test -z "$ac_c_werror_flag" ||
1.20480 - test ! -s conftest.err
1.20481 - } && test -s conftest.$ac_objext; then
1.20482 - ac_cv_prog_cc_c89=$ac_arg
1.20483 -else
1.20484 - echo "$as_me: failed program was:" >&5
1.20485 -sed 's/^/| /' conftest.$ac_ext >&5
1.20486 -
1.20487 -
1.20488 -fi
1.20489 -
1.20490 -rm -f core conftest.err conftest.$ac_objext
1.20491 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.20492 -done
1.20493 -rm -f conftest.$ac_ext
1.20494 -CC=$ac_save_CC
1.20495 -
1.20496 -fi
1.20497 -# AC_CACHE_VAL
1.20498 -case "x$ac_cv_prog_cc_c89" in
1.20499 - x)
1.20500 - { echo "$as_me:$LINENO: result: none needed" >&5
1.20501 -echo "${ECHO_T}none needed" >&6; } ;;
1.20502 - xno)
1.20503 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.20504 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20505 - *)
1.20506 - CC="$CC $ac_cv_prog_cc_c89"
1.20507 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.20508 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.20509 -esac
1.20510 -
1.20511 -
1.20512 -ac_ext=c
1.20513 -ac_cpp='$CPP $CPPFLAGS'
1.20514 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.20515 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.20516 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.20517 -
1.20518 -depcc="$CC" am_compiler_list=
1.20519 -
1.20520 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.20521 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.20522 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.20523 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20524 -else
1.20525 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.20526 - # We make a subdir and do the tests there. Otherwise we can end up
1.20527 - # making bogus files that we don't know about and never remove. For
1.20528 - # instance it was reported that on HP-UX the gcc test will end up
1.20529 - # making a dummy file named `D' -- because `-MD' means `put the output
1.20530 - # in D'.
1.20531 - mkdir conftest.dir
1.20532 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.20533 - # using a relative directory.
1.20534 - cp "$am_depcomp" conftest.dir
1.20535 - cd conftest.dir
1.20536 - # We will build objects and dependencies in a subdirectory because
1.20537 - # it helps to detect inapplicable dependency modes. For instance
1.20538 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.20539 - # side effect of compilation, but ICC will put the dependencies in
1.20540 - # the current directory while Tru64 will put them in the object
1.20541 - # directory.
1.20542 - mkdir sub
1.20543 -
1.20544 - am_cv_CC_dependencies_compiler_type=none
1.20545 - if test "$am_compiler_list" = ""; then
1.20546 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.20547 - fi
1.20548 - for depmode in $am_compiler_list; do
1.20549 - # Setup a source with many dependencies, because some compilers
1.20550 - # like to wrap large dependency lists on column 80 (with \), and
1.20551 - # we should not choose a depcomp mode which is confused by this.
1.20552 - #
1.20553 - # We need to recreate these files for each test, as the compiler may
1.20554 - # overwrite some of them when testing with obscure command lines.
1.20555 - # This happens at least with the AIX C compiler.
1.20556 - : > sub/conftest.c
1.20557 - for i in 1 2 3 4 5 6; do
1.20558 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.20559 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.20560 - # Solaris 8's {/usr,}/bin/sh.
1.20561 - touch sub/conftst$i.h
1.20562 - done
1.20563 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.20564 -
1.20565 - case $depmode in
1.20566 - nosideeffect)
1.20567 - # after this tag, mechanisms are not by side-effect, so they'll
1.20568 - # only be used when explicitly requested
1.20569 - if test "x$enable_dependency_tracking" = xyes; then
1.20570 - continue
1.20571 - else
1.20572 - break
1.20573 - fi
1.20574 - ;;
1.20575 - none) break ;;
1.20576 - esac
1.20577 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.20578 - # mode. It turns out that the SunPro C++ compiler does not properly
1.20579 - # handle `-M -o', and we need to detect this.
1.20580 - if depmode=$depmode \
1.20581 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.20582 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.20583 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.20584 - >/dev/null 2>conftest.err &&
1.20585 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.20586 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.20587 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.20588 - # icc doesn't choke on unknown options, it will just issue warnings
1.20589 - # or remarks (even with -Werror). So we grep stderr for any message
1.20590 - # that says an option was ignored or not supported.
1.20591 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.20592 - # icc: Command line warning: ignoring option '-M'; no argument required
1.20593 - # The diagnosis changed in icc 8.0:
1.20594 - # icc: Command line remark: option '-MP' not supported
1.20595 - if (grep 'ignoring option' conftest.err ||
1.20596 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.20597 - am_cv_CC_dependencies_compiler_type=$depmode
1.20598 - break
1.20599 - fi
1.20600 - fi
1.20601 - done
1.20602 -
1.20603 - cd ..
1.20604 - rm -rf conftest.dir
1.20605 -else
1.20606 - am_cv_CC_dependencies_compiler_type=none
1.20607 -fi
1.20608 -
1.20609 -fi
1.20610 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.20611 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.20612 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.20613 -
1.20614 -
1.20615 -
1.20616 -if
1.20617 - test "x$enable_dependency_tracking" != xno \
1.20618 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.20619 - am__fastdepCC_TRUE=
1.20620 - am__fastdepCC_FALSE='#'
1.20621 -else
1.20622 - am__fastdepCC_TRUE='#'
1.20623 - am__fastdepCC_FALSE=
1.20624 -fi
1.20625 -
1.20626 -
1.20627 - case $ac_cv_prog_cc_stdc in
1.20628 - no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
1.20629 - *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
1.20630 -echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
1.20631 -if test "${ac_cv_prog_cc_c99+set}" = set; then
1.20632 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20633 -else
1.20634 - ac_cv_prog_cc_c99=no
1.20635 -ac_save_CC=$CC
1.20636 -cat >conftest.$ac_ext <<_ACEOF
1.20637 -/* confdefs.h. */
1.20638 -_ACEOF
1.20639 -cat confdefs.h >>conftest.$ac_ext
1.20640 -cat >>conftest.$ac_ext <<_ACEOF
1.20641 -/* end confdefs.h. */
1.20642 -#include <stdarg.h>
1.20643 -#include <stdbool.h>
1.20644 -#include <stdlib.h>
1.20645 -#include <wchar.h>
1.20646 -#include <stdio.h>
1.20647 -
1.20648 -// Check varargs macros. These examples are taken from C99 6.10.3.5.
1.20649 -#define debug(...) fprintf (stderr, __VA_ARGS__)
1.20650 -#define showlist(...) puts (#__VA_ARGS__)
1.20651 -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1.20652 -static void
1.20653 -test_varargs_macros (void)
1.20654 -{
1.20655 - int x = 1234;
1.20656 - int y = 5678;
1.20657 - debug ("Flag");
1.20658 - debug ("X = %d\n", x);
1.20659 - showlist (The first, second, and third items.);
1.20660 - report (x>y, "x is %d but y is %d", x, y);
1.20661 -}
1.20662 -
1.20663 -// Check long long types.
1.20664 -#define BIG64 18446744073709551615ull
1.20665 -#define BIG32 4294967295ul
1.20666 -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1.20667 -#if !BIG_OK
1.20668 - your preprocessor is broken;
1.20669 -#endif
1.20670 -#if BIG_OK
1.20671 -#else
1.20672 - your preprocessor is broken;
1.20673 -#endif
1.20674 -static long long int bignum = -9223372036854775807LL;
1.20675 -static unsigned long long int ubignum = BIG64;
1.20676 -
1.20677 -struct incomplete_array
1.20678 -{
1.20679 - int datasize;
1.20680 - double data[];
1.20681 -};
1.20682 -
1.20683 -struct named_init {
1.20684 - int number;
1.20685 - const wchar_t *name;
1.20686 - double average;
1.20687 -};
1.20688 -
1.20689 -typedef const char *ccp;
1.20690 -
1.20691 -static inline int
1.20692 -test_restrict (ccp restrict text)
1.20693 -{
1.20694 - // See if C++-style comments work.
1.20695 - // Iterate through items via the restricted pointer.
1.20696 - // Also check for declarations in for loops.
1.20697 - for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1.20698 - continue;
1.20699 - return 0;
1.20700 -}
1.20701 -
1.20702 -// Check varargs and va_copy.
1.20703 -static void
1.20704 -test_varargs (const char *format, ...)
1.20705 -{
1.20706 - va_list args;
1.20707 - va_start (args, format);
1.20708 - va_list args_copy;
1.20709 - va_copy (args_copy, args);
1.20710 -
1.20711 - const char *str;
1.20712 - int number;
1.20713 - float fnumber;
1.20714 -
1.20715 - while (*format)
1.20716 - {
1.20717 - switch (*format++)
1.20718 - {
1.20719 - case 's': // string
1.20720 - str = va_arg (args_copy, const char *);
1.20721 - break;
1.20722 - case 'd': // int
1.20723 - number = va_arg (args_copy, int);
1.20724 - break;
1.20725 - case 'f': // float
1.20726 - fnumber = va_arg (args_copy, double);
1.20727 - break;
1.20728 - default:
1.20729 - break;
1.20730 - }
1.20731 - }
1.20732 - va_end (args_copy);
1.20733 - va_end (args);
1.20734 -}
1.20735 -
1.20736 -int
1.20737 -main ()
1.20738 -{
1.20739 -
1.20740 - // Check bool.
1.20741 - _Bool success = false;
1.20742 -
1.20743 - // Check restrict.
1.20744 - if (test_restrict ("String literal") == 0)
1.20745 - success = true;
1.20746 - char *restrict newvar = "Another string";
1.20747 -
1.20748 - // Check varargs.
1.20749 - test_varargs ("s, d' f .", "string", 65, 34.234);
1.20750 - test_varargs_macros ();
1.20751 -
1.20752 - // Check flexible array members.
1.20753 - struct incomplete_array *ia =
1.20754 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1.20755 - ia->datasize = 10;
1.20756 - for (int i = 0; i < ia->datasize; ++i)
1.20757 - ia->data[i] = i * 1.234;
1.20758 -
1.20759 - // Check named initializers.
1.20760 - struct named_init ni = {
1.20761 - .number = 34,
1.20762 - .name = L"Test wide string",
1.20763 - .average = 543.34343,
1.20764 - };
1.20765 -
1.20766 - ni.number = 58;
1.20767 -
1.20768 - int dynamic_array[ni.number];
1.20769 - dynamic_array[ni.number - 1] = 543;
1.20770 -
1.20771 - // work around unused variable warnings
1.20772 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1.20773 - || dynamic_array[ni.number - 1] != 543);
1.20774 -
1.20775 - ;
1.20776 - return 0;
1.20777 -}
1.20778 -_ACEOF
1.20779 -for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
1.20780 -do
1.20781 - CC="$ac_save_CC $ac_arg"
1.20782 - rm -f conftest.$ac_objext
1.20783 -if { (ac_try="$ac_compile"
1.20784 -case "(($ac_try" in
1.20785 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20786 - *) ac_try_echo=$ac_try;;
1.20787 -esac
1.20788 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20789 - (eval "$ac_compile") 2>conftest.er1
1.20790 - ac_status=$?
1.20791 - grep -v '^ *+' conftest.er1 >conftest.err
1.20792 - rm -f conftest.er1
1.20793 - cat conftest.err >&5
1.20794 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20795 - (exit $ac_status); } && {
1.20796 - test -z "$ac_c_werror_flag" ||
1.20797 - test ! -s conftest.err
1.20798 - } && test -s conftest.$ac_objext; then
1.20799 - ac_cv_prog_cc_c99=$ac_arg
1.20800 -else
1.20801 - echo "$as_me: failed program was:" >&5
1.20802 -sed 's/^/| /' conftest.$ac_ext >&5
1.20803 -
1.20804 -
1.20805 -fi
1.20806 -
1.20807 -rm -f core conftest.err conftest.$ac_objext
1.20808 - test "x$ac_cv_prog_cc_c99" != "xno" && break
1.20809 -done
1.20810 -rm -f conftest.$ac_ext
1.20811 -CC=$ac_save_CC
1.20812 -
1.20813 -fi
1.20814 -# AC_CACHE_VAL
1.20815 -case "x$ac_cv_prog_cc_c99" in
1.20816 - x)
1.20817 - { echo "$as_me:$LINENO: result: none needed" >&5
1.20818 -echo "${ECHO_T}none needed" >&6; } ;;
1.20819 - xno)
1.20820 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.20821 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20822 - *)
1.20823 - CC="$CC $ac_cv_prog_cc_c99"
1.20824 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
1.20825 -echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
1.20826 -esac
1.20827 -if test "x$ac_cv_prog_cc_c99" != xno; then
1.20828 - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
1.20829 -else
1.20830 - { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.20831 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.20832 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.20833 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20834 -else
1.20835 - ac_cv_prog_cc_c89=no
1.20836 -ac_save_CC=$CC
1.20837 -cat >conftest.$ac_ext <<_ACEOF
1.20838 -/* confdefs.h. */
1.20839 -_ACEOF
1.20840 -cat confdefs.h >>conftest.$ac_ext
1.20841 -cat >>conftest.$ac_ext <<_ACEOF
1.20842 -/* end confdefs.h. */
1.20843 -#include <stdarg.h>
1.20844 -#include <stdio.h>
1.20845 -#include <sys/types.h>
1.20846 -#include <sys/stat.h>
1.20847 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.20848 -struct buf { int x; };
1.20849 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.20850 -static char *e (p, i)
1.20851 - char **p;
1.20852 - int i;
1.20853 -{
1.20854 - return p[i];
1.20855 -}
1.20856 -static char *f (char * (*g) (char **, int), char **p, ...)
1.20857 -{
1.20858 - char *s;
1.20859 - va_list v;
1.20860 - va_start (v,p);
1.20861 - s = g (p, va_arg (v,int));
1.20862 - va_end (v);
1.20863 - return s;
1.20864 -}
1.20865 -
1.20866 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.20867 - function prototypes and stuff, but not '\xHH' hex character constants.
1.20868 - These don't provoke an error unfortunately, instead are silently treated
1.20869 - as 'x'. The following induces an error, until -std is added to get
1.20870 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.20871 - array size at least. It's necessary to write '\x00'==0 to get something
1.20872 - that's true only with -std. */
1.20873 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.20874 -
1.20875 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.20876 - inside strings and character constants. */
1.20877 -#define FOO(x) 'x'
1.20878 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.20879 -
1.20880 -int test (int i, double x);
1.20881 -struct s1 {int (*f) (int a);};
1.20882 -struct s2 {int (*f) (double a);};
1.20883 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.20884 -int argc;
1.20885 -char **argv;
1.20886 -int
1.20887 -main ()
1.20888 -{
1.20889 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.20890 - ;
1.20891 - return 0;
1.20892 -}
1.20893 -_ACEOF
1.20894 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.20895 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.20896 -do
1.20897 - CC="$ac_save_CC $ac_arg"
1.20898 - rm -f conftest.$ac_objext
1.20899 -if { (ac_try="$ac_compile"
1.20900 -case "(($ac_try" in
1.20901 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20902 - *) ac_try_echo=$ac_try;;
1.20903 -esac
1.20904 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20905 - (eval "$ac_compile") 2>conftest.er1
1.20906 - ac_status=$?
1.20907 - grep -v '^ *+' conftest.er1 >conftest.err
1.20908 - rm -f conftest.er1
1.20909 - cat conftest.err >&5
1.20910 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20911 - (exit $ac_status); } && {
1.20912 - test -z "$ac_c_werror_flag" ||
1.20913 - test ! -s conftest.err
1.20914 - } && test -s conftest.$ac_objext; then
1.20915 - ac_cv_prog_cc_c89=$ac_arg
1.20916 -else
1.20917 - echo "$as_me: failed program was:" >&5
1.20918 -sed 's/^/| /' conftest.$ac_ext >&5
1.20919 -
1.20920 -
1.20921 -fi
1.20922 -
1.20923 -rm -f core conftest.err conftest.$ac_objext
1.20924 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.20925 -done
1.20926 -rm -f conftest.$ac_ext
1.20927 -CC=$ac_save_CC
1.20928 -
1.20929 -fi
1.20930 -# AC_CACHE_VAL
1.20931 -case "x$ac_cv_prog_cc_c89" in
1.20932 - x)
1.20933 - { echo "$as_me:$LINENO: result: none needed" >&5
1.20934 -echo "${ECHO_T}none needed" >&6; } ;;
1.20935 - xno)
1.20936 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.20937 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20938 - *)
1.20939 - CC="$CC $ac_cv_prog_cc_c89"
1.20940 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.20941 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.20942 -esac
1.20943 -if test "x$ac_cv_prog_cc_c89" != xno; then
1.20944 - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
1.20945 -else
1.20946 - ac_cv_prog_cc_stdc=no
1.20947 -fi
1.20948 -
1.20949 -
1.20950 -fi
1.20951 -
1.20952 - ;;
1.20953 -esac
1.20954 - { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
1.20955 -echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
1.20956 - if test "${ac_cv_prog_cc_stdc+set}" = set; then
1.20957 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20958 -fi
1.20959 -
1.20960 - case $ac_cv_prog_cc_stdc in
1.20961 - no) { echo "$as_me:$LINENO: result: unsupported" >&5
1.20962 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20963 - '') { echo "$as_me:$LINENO: result: none needed" >&5
1.20964 -echo "${ECHO_T}none needed" >&6; } ;;
1.20965 - *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1.20966 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
1.20967 -esac
1.20968 -
1.20969 -
1.20970 -# By default we simply use the C compiler to build assembly code.
1.20971 -
1.20972 -test "${CCAS+set}" = set || CCAS=$CC
1.20973 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
1.20974 -
1.20975 -
1.20976 -
1.20977 -
1.20978 -
1.20979 - { echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
1.20980 -echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6; }
1.20981 -
1.20982 - save_CFLAGS="$CFLAGS"
1.20983 - CFLAGS="$CFLAGS -Wall"
1.20984 -
1.20985 - cat >conftest.$ac_ext <<_ACEOF
1.20986 -/* confdefs.h. */
1.20987 -_ACEOF
1.20988 -cat confdefs.h >>conftest.$ac_ext
1.20989 -cat >>conftest.$ac_ext <<_ACEOF
1.20990 -/* end confdefs.h. */
1.20991 -
1.20992 -int
1.20993 -main ()
1.20994 -{
1.20995 -
1.20996 - ;
1.20997 - return 0;
1.20998 -}
1.20999 -_ACEOF
1.21000 -rm -f conftest.$ac_objext
1.21001 -if { (ac_try="$ac_compile"
1.21002 -case "(($ac_try" in
1.21003 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21004 - *) ac_try_echo=$ac_try;;
1.21005 -esac
1.21006 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21007 - (eval "$ac_compile") 2>conftest.er1
1.21008 - ac_status=$?
1.21009 - grep -v '^ *+' conftest.er1 >conftest.err
1.21010 - rm -f conftest.er1
1.21011 - cat conftest.err >&5
1.21012 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21013 - (exit $ac_status); } && {
1.21014 - test -z "$ac_c_werror_flag" ||
1.21015 - test ! -s conftest.err
1.21016 - } && test -s conftest.$ac_objext; then
1.21017 - flag_ok=yes
1.21018 -else
1.21019 - echo "$as_me: failed program was:" >&5
1.21020 -sed 's/^/| /' conftest.$ac_ext >&5
1.21021 -
1.21022 - flag_ok=no
1.21023 -fi
1.21024 -
1.21025 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21026 - CFLAGS="$save_CFLAGS"
1.21027 -
1.21028 - if test "X$flag_ok" = Xyes ; then
1.21029 - GST_WALL="yes"
1.21030 - true
1.21031 - else
1.21032 - GST_WALL="no"
1.21033 - true
1.21034 - fi
1.21035 - { echo "$as_me:$LINENO: result: $flag_ok" >&5
1.21036 -echo "${ECHO_T}$flag_ok" >&6; }
1.21037 -
1.21038 -
1.21039 -if test "x$GST_WALL" = "xyes"; then
1.21040 - ERROR_CFLAGS="$GST_ERROR -Wall"
1.21041 -
1.21042 - if test "x$GST_CVS" = "xyes"; then
1.21043 -
1.21044 - { echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
1.21045 -echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6; }
1.21046 -
1.21047 - save_CFLAGS="$CFLAGS"
1.21048 - CFLAGS="$CFLAGS -Werror"
1.21049 -
1.21050 - cat >conftest.$ac_ext <<_ACEOF
1.21051 -/* confdefs.h. */
1.21052 -_ACEOF
1.21053 -cat confdefs.h >>conftest.$ac_ext
1.21054 -cat >>conftest.$ac_ext <<_ACEOF
1.21055 -/* end confdefs.h. */
1.21056 -
1.21057 -int
1.21058 -main ()
1.21059 -{
1.21060 -
1.21061 - ;
1.21062 - return 0;
1.21063 -}
1.21064 -_ACEOF
1.21065 -rm -f conftest.$ac_objext
1.21066 -if { (ac_try="$ac_compile"
1.21067 -case "(($ac_try" in
1.21068 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21069 - *) ac_try_echo=$ac_try;;
1.21070 -esac
1.21071 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21072 - (eval "$ac_compile") 2>conftest.er1
1.21073 - ac_status=$?
1.21074 - grep -v '^ *+' conftest.er1 >conftest.err
1.21075 - rm -f conftest.er1
1.21076 - cat conftest.err >&5
1.21077 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21078 - (exit $ac_status); } && {
1.21079 - test -z "$ac_c_werror_flag" ||
1.21080 - test ! -s conftest.err
1.21081 - } && test -s conftest.$ac_objext; then
1.21082 - flag_ok=yes
1.21083 -else
1.21084 - echo "$as_me: failed program was:" >&5
1.21085 -sed 's/^/| /' conftest.$ac_ext >&5
1.21086 -
1.21087 - flag_ok=no
1.21088 -fi
1.21089 -
1.21090 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21091 - CFLAGS="$save_CFLAGS"
1.21092 -
1.21093 - if test "X$flag_ok" = Xyes ; then
1.21094 - ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
1.21095 - true
1.21096 - else
1.21097 - ERROR_CFLAGS="$ERROR_CFLAGS"
1.21098 - true
1.21099 - fi
1.21100 - { echo "$as_me:$LINENO: result: $flag_ok" >&5
1.21101 -echo "${ECHO_T}$flag_ok" >&6; }
1.21102 -
1.21103 - fi
1.21104 -fi
1.21105 -
1.21106 -
1.21107 -
1.21108 -ac_ext=cpp
1.21109 -ac_cpp='$CXXCPP $CPPFLAGS'
1.21110 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21111 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21112 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.21113 -if test -z "$CXX"; then
1.21114 - if test -n "$CCC"; then
1.21115 - CXX=$CCC
1.21116 - else
1.21117 - if test -n "$ac_tool_prefix"; then
1.21118 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.21119 - do
1.21120 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.21121 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.21122 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21123 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.21124 -if test "${ac_cv_prog_CXX+set}" = set; then
1.21125 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21126 -else
1.21127 - if test -n "$CXX"; then
1.21128 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.21129 -else
1.21130 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21131 -for as_dir in $PATH
1.21132 -do
1.21133 - IFS=$as_save_IFS
1.21134 - test -z "$as_dir" && as_dir=.
1.21135 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21136 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.21137 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.21138 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21139 - break 2
1.21140 - fi
1.21141 -done
1.21142 -done
1.21143 -IFS=$as_save_IFS
1.21144 -
1.21145 -fi
1.21146 -fi
1.21147 -CXX=$ac_cv_prog_CXX
1.21148 -if test -n "$CXX"; then
1.21149 - { echo "$as_me:$LINENO: result: $CXX" >&5
1.21150 -echo "${ECHO_T}$CXX" >&6; }
1.21151 -else
1.21152 - { echo "$as_me:$LINENO: result: no" >&5
1.21153 -echo "${ECHO_T}no" >&6; }
1.21154 -fi
1.21155 -
1.21156 -
1.21157 - test -n "$CXX" && break
1.21158 - done
1.21159 -fi
1.21160 -if test -z "$CXX"; then
1.21161 - ac_ct_CXX=$CXX
1.21162 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.21163 -do
1.21164 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.21165 -set dummy $ac_prog; ac_word=$2
1.21166 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21167 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.21168 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.21169 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21170 -else
1.21171 - if test -n "$ac_ct_CXX"; then
1.21172 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.21173 -else
1.21174 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21175 -for as_dir in $PATH
1.21176 -do
1.21177 - IFS=$as_save_IFS
1.21178 - test -z "$as_dir" && as_dir=.
1.21179 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21180 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.21181 - ac_cv_prog_ac_ct_CXX="$ac_prog"
1.21182 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21183 - break 2
1.21184 - fi
1.21185 -done
1.21186 -done
1.21187 -IFS=$as_save_IFS
1.21188 -
1.21189 -fi
1.21190 -fi
1.21191 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1.21192 -if test -n "$ac_ct_CXX"; then
1.21193 - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1.21194 -echo "${ECHO_T}$ac_ct_CXX" >&6; }
1.21195 -else
1.21196 - { echo "$as_me:$LINENO: result: no" >&5
1.21197 -echo "${ECHO_T}no" >&6; }
1.21198 -fi
1.21199 -
1.21200 -
1.21201 - test -n "$ac_ct_CXX" && break
1.21202 -done
1.21203 -
1.21204 - if test "x$ac_ct_CXX" = x; then
1.21205 - CXX="g++"
1.21206 - else
1.21207 - case $cross_compiling:$ac_tool_warned in
1.21208 -yes:)
1.21209 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.21210 -whose name does not start with the host triplet. If you think this
1.21211 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.21212 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.21213 -whose name does not start with the host triplet. If you think this
1.21214 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.21215 -ac_tool_warned=yes ;;
1.21216 -esac
1.21217 - CXX=$ac_ct_CXX
1.21218 - fi
1.21219 -fi
1.21220 -
1.21221 - fi
1.21222 -fi
1.21223 -# Provide some information about the compiler.
1.21224 -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
1.21225 -ac_compiler=`set X $ac_compile; echo $2`
1.21226 -{ (ac_try="$ac_compiler --version >&5"
1.21227 -case "(($ac_try" in
1.21228 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21229 - *) ac_try_echo=$ac_try;;
1.21230 -esac
1.21231 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21232 - (eval "$ac_compiler --version >&5") 2>&5
1.21233 - ac_status=$?
1.21234 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21235 - (exit $ac_status); }
1.21236 -{ (ac_try="$ac_compiler -v >&5"
1.21237 -case "(($ac_try" in
1.21238 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21239 - *) ac_try_echo=$ac_try;;
1.21240 -esac
1.21241 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21242 - (eval "$ac_compiler -v >&5") 2>&5
1.21243 - ac_status=$?
1.21244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21245 - (exit $ac_status); }
1.21246 -{ (ac_try="$ac_compiler -V >&5"
1.21247 -case "(($ac_try" in
1.21248 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21249 - *) ac_try_echo=$ac_try;;
1.21250 -esac
1.21251 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21252 - (eval "$ac_compiler -V >&5") 2>&5
1.21253 - ac_status=$?
1.21254 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21255 - (exit $ac_status); }
1.21256 -
1.21257 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1.21258 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
1.21259 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.21260 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21261 -else
1.21262 - cat >conftest.$ac_ext <<_ACEOF
1.21263 -/* confdefs.h. */
1.21264 -_ACEOF
1.21265 -cat confdefs.h >>conftest.$ac_ext
1.21266 -cat >>conftest.$ac_ext <<_ACEOF
1.21267 -/* end confdefs.h. */
1.21268 -
1.21269 -int
1.21270 -main ()
1.21271 -{
1.21272 -#ifndef __GNUC__
1.21273 - choke me
1.21274 -#endif
1.21275 -
1.21276 - ;
1.21277 - return 0;
1.21278 -}
1.21279 -_ACEOF
1.21280 -rm -f conftest.$ac_objext
1.21281 -if { (ac_try="$ac_compile"
1.21282 -case "(($ac_try" in
1.21283 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21284 - *) ac_try_echo=$ac_try;;
1.21285 -esac
1.21286 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21287 - (eval "$ac_compile") 2>conftest.er1
1.21288 - ac_status=$?
1.21289 - grep -v '^ *+' conftest.er1 >conftest.err
1.21290 - rm -f conftest.er1
1.21291 - cat conftest.err >&5
1.21292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21293 - (exit $ac_status); } && {
1.21294 - test -z "$ac_cxx_werror_flag" ||
1.21295 - test ! -s conftest.err
1.21296 - } && test -s conftest.$ac_objext; then
1.21297 - ac_compiler_gnu=yes
1.21298 -else
1.21299 - echo "$as_me: failed program was:" >&5
1.21300 -sed 's/^/| /' conftest.$ac_ext >&5
1.21301 -
1.21302 - ac_compiler_gnu=no
1.21303 -fi
1.21304 -
1.21305 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21306 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.21307 -
1.21308 -fi
1.21309 -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1.21310 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
1.21311 -GXX=`test $ac_compiler_gnu = yes && echo yes`
1.21312 -ac_test_CXXFLAGS=${CXXFLAGS+set}
1.21313 -ac_save_CXXFLAGS=$CXXFLAGS
1.21314 -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1.21315 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
1.21316 -if test "${ac_cv_prog_cxx_g+set}" = set; then
1.21317 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21318 -else
1.21319 - ac_save_cxx_werror_flag=$ac_cxx_werror_flag
1.21320 - ac_cxx_werror_flag=yes
1.21321 - ac_cv_prog_cxx_g=no
1.21322 - CXXFLAGS="-g"
1.21323 - cat >conftest.$ac_ext <<_ACEOF
1.21324 -/* confdefs.h. */
1.21325 -_ACEOF
1.21326 -cat confdefs.h >>conftest.$ac_ext
1.21327 -cat >>conftest.$ac_ext <<_ACEOF
1.21328 -/* end confdefs.h. */
1.21329 -
1.21330 -int
1.21331 -main ()
1.21332 -{
1.21333 -
1.21334 - ;
1.21335 - return 0;
1.21336 -}
1.21337 -_ACEOF
1.21338 -rm -f conftest.$ac_objext
1.21339 -if { (ac_try="$ac_compile"
1.21340 -case "(($ac_try" in
1.21341 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21342 - *) ac_try_echo=$ac_try;;
1.21343 -esac
1.21344 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21345 - (eval "$ac_compile") 2>conftest.er1
1.21346 - ac_status=$?
1.21347 - grep -v '^ *+' conftest.er1 >conftest.err
1.21348 - rm -f conftest.er1
1.21349 - cat conftest.err >&5
1.21350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21351 - (exit $ac_status); } && {
1.21352 - test -z "$ac_cxx_werror_flag" ||
1.21353 - test ! -s conftest.err
1.21354 - } && test -s conftest.$ac_objext; then
1.21355 - ac_cv_prog_cxx_g=yes
1.21356 -else
1.21357 - echo "$as_me: failed program was:" >&5
1.21358 -sed 's/^/| /' conftest.$ac_ext >&5
1.21359 -
1.21360 - CXXFLAGS=""
1.21361 - cat >conftest.$ac_ext <<_ACEOF
1.21362 -/* confdefs.h. */
1.21363 -_ACEOF
1.21364 -cat confdefs.h >>conftest.$ac_ext
1.21365 -cat >>conftest.$ac_ext <<_ACEOF
1.21366 -/* end confdefs.h. */
1.21367 -
1.21368 -int
1.21369 -main ()
1.21370 -{
1.21371 -
1.21372 - ;
1.21373 - return 0;
1.21374 -}
1.21375 -_ACEOF
1.21376 -rm -f conftest.$ac_objext
1.21377 -if { (ac_try="$ac_compile"
1.21378 -case "(($ac_try" in
1.21379 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21380 - *) ac_try_echo=$ac_try;;
1.21381 -esac
1.21382 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21383 - (eval "$ac_compile") 2>conftest.er1
1.21384 - ac_status=$?
1.21385 - grep -v '^ *+' conftest.er1 >conftest.err
1.21386 - rm -f conftest.er1
1.21387 - cat conftest.err >&5
1.21388 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21389 - (exit $ac_status); } && {
1.21390 - test -z "$ac_cxx_werror_flag" ||
1.21391 - test ! -s conftest.err
1.21392 - } && test -s conftest.$ac_objext; then
1.21393 - :
1.21394 -else
1.21395 - echo "$as_me: failed program was:" >&5
1.21396 -sed 's/^/| /' conftest.$ac_ext >&5
1.21397 -
1.21398 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.21399 - CXXFLAGS="-g"
1.21400 - cat >conftest.$ac_ext <<_ACEOF
1.21401 -/* confdefs.h. */
1.21402 -_ACEOF
1.21403 -cat confdefs.h >>conftest.$ac_ext
1.21404 -cat >>conftest.$ac_ext <<_ACEOF
1.21405 -/* end confdefs.h. */
1.21406 -
1.21407 -int
1.21408 -main ()
1.21409 -{
1.21410 -
1.21411 - ;
1.21412 - return 0;
1.21413 -}
1.21414 -_ACEOF
1.21415 -rm -f conftest.$ac_objext
1.21416 -if { (ac_try="$ac_compile"
1.21417 -case "(($ac_try" in
1.21418 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21419 - *) ac_try_echo=$ac_try;;
1.21420 -esac
1.21421 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21422 - (eval "$ac_compile") 2>conftest.er1
1.21423 - ac_status=$?
1.21424 - grep -v '^ *+' conftest.er1 >conftest.err
1.21425 - rm -f conftest.er1
1.21426 - cat conftest.err >&5
1.21427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21428 - (exit $ac_status); } && {
1.21429 - test -z "$ac_cxx_werror_flag" ||
1.21430 - test ! -s conftest.err
1.21431 - } && test -s conftest.$ac_objext; then
1.21432 - ac_cv_prog_cxx_g=yes
1.21433 -else
1.21434 - echo "$as_me: failed program was:" >&5
1.21435 -sed 's/^/| /' conftest.$ac_ext >&5
1.21436 -
1.21437 -
1.21438 -fi
1.21439 -
1.21440 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21441 -fi
1.21442 -
1.21443 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21444 -fi
1.21445 -
1.21446 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21447 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.21448 -fi
1.21449 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1.21450 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
1.21451 -if test "$ac_test_CXXFLAGS" = set; then
1.21452 - CXXFLAGS=$ac_save_CXXFLAGS
1.21453 -elif test $ac_cv_prog_cxx_g = yes; then
1.21454 - if test "$GXX" = yes; then
1.21455 - CXXFLAGS="-g -O2"
1.21456 - else
1.21457 - CXXFLAGS="-g"
1.21458 - fi
1.21459 -else
1.21460 - if test "$GXX" = yes; then
1.21461 - CXXFLAGS="-O2"
1.21462 - else
1.21463 - CXXFLAGS=
1.21464 - fi
1.21465 -fi
1.21466 -ac_ext=c
1.21467 -ac_cpp='$CPP $CPPFLAGS'
1.21468 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21469 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21470 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.21471 -
1.21472 -depcc="$CXX" am_compiler_list=
1.21473 -
1.21474 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.21475 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.21476 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.21477 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21478 -else
1.21479 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.21480 - # We make a subdir and do the tests there. Otherwise we can end up
1.21481 - # making bogus files that we don't know about and never remove. For
1.21482 - # instance it was reported that on HP-UX the gcc test will end up
1.21483 - # making a dummy file named `D' -- because `-MD' means `put the output
1.21484 - # in D'.
1.21485 - mkdir conftest.dir
1.21486 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.21487 - # using a relative directory.
1.21488 - cp "$am_depcomp" conftest.dir
1.21489 - cd conftest.dir
1.21490 - # We will build objects and dependencies in a subdirectory because
1.21491 - # it helps to detect inapplicable dependency modes. For instance
1.21492 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.21493 - # side effect of compilation, but ICC will put the dependencies in
1.21494 - # the current directory while Tru64 will put them in the object
1.21495 - # directory.
1.21496 - mkdir sub
1.21497 -
1.21498 - am_cv_CXX_dependencies_compiler_type=none
1.21499 - if test "$am_compiler_list" = ""; then
1.21500 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.21501 - fi
1.21502 - for depmode in $am_compiler_list; do
1.21503 - # Setup a source with many dependencies, because some compilers
1.21504 - # like to wrap large dependency lists on column 80 (with \), and
1.21505 - # we should not choose a depcomp mode which is confused by this.
1.21506 - #
1.21507 - # We need to recreate these files for each test, as the compiler may
1.21508 - # overwrite some of them when testing with obscure command lines.
1.21509 - # This happens at least with the AIX C compiler.
1.21510 - : > sub/conftest.c
1.21511 - for i in 1 2 3 4 5 6; do
1.21512 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.21513 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.21514 - # Solaris 8's {/usr,}/bin/sh.
1.21515 - touch sub/conftst$i.h
1.21516 - done
1.21517 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.21518 -
1.21519 - case $depmode in
1.21520 - nosideeffect)
1.21521 - # after this tag, mechanisms are not by side-effect, so they'll
1.21522 - # only be used when explicitly requested
1.21523 - if test "x$enable_dependency_tracking" = xyes; then
1.21524 - continue
1.21525 - else
1.21526 - break
1.21527 - fi
1.21528 - ;;
1.21529 - none) break ;;
1.21530 - esac
1.21531 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.21532 - # mode. It turns out that the SunPro C++ compiler does not properly
1.21533 - # handle `-M -o', and we need to detect this.
1.21534 - if depmode=$depmode \
1.21535 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.21536 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.21537 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.21538 - >/dev/null 2>conftest.err &&
1.21539 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.21540 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.21541 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.21542 - # icc doesn't choke on unknown options, it will just issue warnings
1.21543 - # or remarks (even with -Werror). So we grep stderr for any message
1.21544 - # that says an option was ignored or not supported.
1.21545 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.21546 - # icc: Command line warning: ignoring option '-M'; no argument required
1.21547 - # The diagnosis changed in icc 8.0:
1.21548 - # icc: Command line remark: option '-MP' not supported
1.21549 - if (grep 'ignoring option' conftest.err ||
1.21550 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.21551 - am_cv_CXX_dependencies_compiler_type=$depmode
1.21552 - break
1.21553 - fi
1.21554 - fi
1.21555 - done
1.21556 -
1.21557 - cd ..
1.21558 - rm -rf conftest.dir
1.21559 -else
1.21560 - am_cv_CXX_dependencies_compiler_type=none
1.21561 -fi
1.21562 -
1.21563 -fi
1.21564 -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
1.21565 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
1.21566 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1.21567 -
1.21568 -
1.21569 -
1.21570 -if
1.21571 - test "x$enable_dependency_tracking" != xno \
1.21572 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
1.21573 - am__fastdepCXX_TRUE=
1.21574 - am__fastdepCXX_FALSE='#'
1.21575 -else
1.21576 - am__fastdepCXX_TRUE='#'
1.21577 - am__fastdepCXX_FALSE=
1.21578 -fi
1.21579 -
1.21580 -
1.21581 -# Extract the first word of "$CXX", so it can be a program name with args.
1.21582 -set dummy $CXX; ac_word=$2
1.21583 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21584 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.21585 -if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
1.21586 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21587 -else
1.21588 - if test -n "$HAVE_CXX"; then
1.21589 - ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
1.21590 -else
1.21591 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21592 -for as_dir in $PATH
1.21593 -do
1.21594 - IFS=$as_save_IFS
1.21595 - test -z "$as_dir" && as_dir=.
1.21596 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21597 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.21598 - ac_cv_prog_HAVE_CXX="yes"
1.21599 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21600 - break 2
1.21601 - fi
1.21602 -done
1.21603 -done
1.21604 -IFS=$as_save_IFS
1.21605 -
1.21606 - test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
1.21607 -fi
1.21608 -fi
1.21609 -HAVE_CXX=$ac_cv_prog_HAVE_CXX
1.21610 -if test -n "$HAVE_CXX"; then
1.21611 - { echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
1.21612 -echo "${ECHO_T}$HAVE_CXX" >&6; }
1.21613 -else
1.21614 - { echo "$as_me:$LINENO: result: no" >&5
1.21615 -echo "${ECHO_T}no" >&6; }
1.21616 -fi
1.21617 -
1.21618 -
1.21619 -ac_ext=cpp
1.21620 -ac_cpp='$CXXCPP $CPPFLAGS'
1.21621 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21622 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21623 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.21624 -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
1.21625 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
1.21626 -if test -z "$CXXCPP"; then
1.21627 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
1.21628 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21629 -else
1.21630 - # Double quotes because CXXCPP needs to be expanded
1.21631 - for CXXCPP in "$CXX -E" "/lib/cpp"
1.21632 - do
1.21633 - ac_preproc_ok=false
1.21634 -for ac_cxx_preproc_warn_flag in '' yes
1.21635 -do
1.21636 - # Use a header file that comes with gcc, so configuring glibc
1.21637 - # with a fresh cross-compiler works.
1.21638 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.21639 - # <limits.h> exists even on freestanding compilers.
1.21640 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.21641 - # not just through cpp. "Syntax error" is here to catch this case.
1.21642 - cat >conftest.$ac_ext <<_ACEOF
1.21643 -/* confdefs.h. */
1.21644 -_ACEOF
1.21645 -cat confdefs.h >>conftest.$ac_ext
1.21646 -cat >>conftest.$ac_ext <<_ACEOF
1.21647 -/* end confdefs.h. */
1.21648 -@%:@ifdef __STDC__
1.21649 -@%:@ include <limits.h>
1.21650 -@%:@else
1.21651 -@%:@ include <assert.h>
1.21652 -@%:@endif
1.21653 - Syntax error
1.21654 -_ACEOF
1.21655 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21656 -case "(($ac_try" in
1.21657 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21658 - *) ac_try_echo=$ac_try;;
1.21659 -esac
1.21660 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21661 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21662 - ac_status=$?
1.21663 - grep -v '^ *+' conftest.er1 >conftest.err
1.21664 - rm -f conftest.er1
1.21665 - cat conftest.err >&5
1.21666 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21667 - (exit $ac_status); } >/dev/null && {
1.21668 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21669 - test ! -s conftest.err
1.21670 - }; then
1.21671 - :
1.21672 -else
1.21673 - echo "$as_me: failed program was:" >&5
1.21674 -sed 's/^/| /' conftest.$ac_ext >&5
1.21675 -
1.21676 - # Broken: fails on valid input.
1.21677 -continue
1.21678 -fi
1.21679 -
1.21680 -rm -f conftest.err conftest.$ac_ext
1.21681 -
1.21682 - # OK, works on sane cases. Now check whether nonexistent headers
1.21683 - # can be detected and how.
1.21684 - cat >conftest.$ac_ext <<_ACEOF
1.21685 -/* confdefs.h. */
1.21686 -_ACEOF
1.21687 -cat confdefs.h >>conftest.$ac_ext
1.21688 -cat >>conftest.$ac_ext <<_ACEOF
1.21689 -/* end confdefs.h. */
1.21690 -@%:@include <ac_nonexistent.h>
1.21691 -_ACEOF
1.21692 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21693 -case "(($ac_try" in
1.21694 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21695 - *) ac_try_echo=$ac_try;;
1.21696 -esac
1.21697 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21698 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21699 - ac_status=$?
1.21700 - grep -v '^ *+' conftest.er1 >conftest.err
1.21701 - rm -f conftest.er1
1.21702 - cat conftest.err >&5
1.21703 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21704 - (exit $ac_status); } >/dev/null && {
1.21705 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21706 - test ! -s conftest.err
1.21707 - }; then
1.21708 - # Broken: success on invalid input.
1.21709 -continue
1.21710 -else
1.21711 - echo "$as_me: failed program was:" >&5
1.21712 -sed 's/^/| /' conftest.$ac_ext >&5
1.21713 -
1.21714 - # Passes both tests.
1.21715 -ac_preproc_ok=:
1.21716 -break
1.21717 -fi
1.21718 -
1.21719 -rm -f conftest.err conftest.$ac_ext
1.21720 -
1.21721 -done
1.21722 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.21723 -rm -f conftest.err conftest.$ac_ext
1.21724 -if $ac_preproc_ok; then
1.21725 - break
1.21726 -fi
1.21727 -
1.21728 - done
1.21729 - ac_cv_prog_CXXCPP=$CXXCPP
1.21730 -
1.21731 -fi
1.21732 - CXXCPP=$ac_cv_prog_CXXCPP
1.21733 -else
1.21734 - ac_cv_prog_CXXCPP=$CXXCPP
1.21735 -fi
1.21736 -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
1.21737 -echo "${ECHO_T}$CXXCPP" >&6; }
1.21738 -ac_preproc_ok=false
1.21739 -for ac_cxx_preproc_warn_flag in '' yes
1.21740 -do
1.21741 - # Use a header file that comes with gcc, so configuring glibc
1.21742 - # with a fresh cross-compiler works.
1.21743 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.21744 - # <limits.h> exists even on freestanding compilers.
1.21745 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.21746 - # not just through cpp. "Syntax error" is here to catch this case.
1.21747 - cat >conftest.$ac_ext <<_ACEOF
1.21748 -/* confdefs.h. */
1.21749 -_ACEOF
1.21750 -cat confdefs.h >>conftest.$ac_ext
1.21751 -cat >>conftest.$ac_ext <<_ACEOF
1.21752 -/* end confdefs.h. */
1.21753 -@%:@ifdef __STDC__
1.21754 -@%:@ include <limits.h>
1.21755 -@%:@else
1.21756 -@%:@ include <assert.h>
1.21757 -@%:@endif
1.21758 - Syntax error
1.21759 -_ACEOF
1.21760 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21761 -case "(($ac_try" in
1.21762 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21763 - *) ac_try_echo=$ac_try;;
1.21764 -esac
1.21765 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21766 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21767 - ac_status=$?
1.21768 - grep -v '^ *+' conftest.er1 >conftest.err
1.21769 - rm -f conftest.er1
1.21770 - cat conftest.err >&5
1.21771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21772 - (exit $ac_status); } >/dev/null && {
1.21773 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21774 - test ! -s conftest.err
1.21775 - }; then
1.21776 - :
1.21777 -else
1.21778 - echo "$as_me: failed program was:" >&5
1.21779 -sed 's/^/| /' conftest.$ac_ext >&5
1.21780 -
1.21781 - # Broken: fails on valid input.
1.21782 -continue
1.21783 -fi
1.21784 -
1.21785 -rm -f conftest.err conftest.$ac_ext
1.21786 -
1.21787 - # OK, works on sane cases. Now check whether nonexistent headers
1.21788 - # can be detected and how.
1.21789 - cat >conftest.$ac_ext <<_ACEOF
1.21790 -/* confdefs.h. */
1.21791 -_ACEOF
1.21792 -cat confdefs.h >>conftest.$ac_ext
1.21793 -cat >>conftest.$ac_ext <<_ACEOF
1.21794 -/* end confdefs.h. */
1.21795 -@%:@include <ac_nonexistent.h>
1.21796 -_ACEOF
1.21797 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21798 -case "(($ac_try" in
1.21799 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21800 - *) ac_try_echo=$ac_try;;
1.21801 -esac
1.21802 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21803 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21804 - ac_status=$?
1.21805 - grep -v '^ *+' conftest.er1 >conftest.err
1.21806 - rm -f conftest.er1
1.21807 - cat conftest.err >&5
1.21808 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21809 - (exit $ac_status); } >/dev/null && {
1.21810 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21811 - test ! -s conftest.err
1.21812 - }; then
1.21813 - # Broken: success on invalid input.
1.21814 -continue
1.21815 -else
1.21816 - echo "$as_me: failed program was:" >&5
1.21817 -sed 's/^/| /' conftest.$ac_ext >&5
1.21818 -
1.21819 - # Passes both tests.
1.21820 -ac_preproc_ok=:
1.21821 -break
1.21822 -fi
1.21823 -
1.21824 -rm -f conftest.err conftest.$ac_ext
1.21825 -
1.21826 -done
1.21827 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.21828 -rm -f conftest.err conftest.$ac_ext
1.21829 -if $ac_preproc_ok; then
1.21830 - :
1.21831 -else
1.21832 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.21833 -See \`config.log' for more details." >&5
1.21834 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.21835 -See \`config.log' for more details." >&2;}
1.21836 - { (exit 1); exit 1; }; }
1.21837 -fi
1.21838 -
1.21839 -ac_ext=c
1.21840 -ac_cpp='$CPP $CPPFLAGS'
1.21841 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21842 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21843 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.21844 -
1.21845 -{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
1.21846 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
1.21847 -if test "${ac_cv_search_strerror+set}" = set; then
1.21848 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21849 -else
1.21850 - ac_func_search_save_LIBS=$LIBS
1.21851 -cat >conftest.$ac_ext <<_ACEOF
1.21852 -/* confdefs.h. */
1.21853 -_ACEOF
1.21854 -cat confdefs.h >>conftest.$ac_ext
1.21855 -cat >>conftest.$ac_ext <<_ACEOF
1.21856 -/* end confdefs.h. */
1.21857 -
1.21858 -/* Override any GCC internal prototype to avoid an error.
1.21859 - Use char because int might match the return type of a GCC
1.21860 - builtin and then its argument prototype would still apply. */
1.21861 -#ifdef __cplusplus
1.21862 -extern "C"
1.21863 -#endif
1.21864 -char strerror ();
1.21865 -int
1.21866 -main ()
1.21867 -{
1.21868 -return strerror ();
1.21869 - ;
1.21870 - return 0;
1.21871 -}
1.21872 -_ACEOF
1.21873 -for ac_lib in '' cposix; do
1.21874 - if test -z "$ac_lib"; then
1.21875 - ac_res="none required"
1.21876 - else
1.21877 - ac_res=-l$ac_lib
1.21878 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1.21879 - fi
1.21880 - rm -f conftest.$ac_objext conftest$ac_exeext
1.21881 -if { (ac_try="$ac_link"
1.21882 -case "(($ac_try" in
1.21883 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21884 - *) ac_try_echo=$ac_try;;
1.21885 -esac
1.21886 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21887 - (eval "$ac_link") 2>conftest.er1
1.21888 - ac_status=$?
1.21889 - grep -v '^ *+' conftest.er1 >conftest.err
1.21890 - rm -f conftest.er1
1.21891 - cat conftest.err >&5
1.21892 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21893 - (exit $ac_status); } && {
1.21894 - test -z "$ac_c_werror_flag" ||
1.21895 - test ! -s conftest.err
1.21896 - } && test -s conftest$ac_exeext &&
1.21897 - $as_test_x conftest$ac_exeext; then
1.21898 - ac_cv_search_strerror=$ac_res
1.21899 -else
1.21900 - echo "$as_me: failed program was:" >&5
1.21901 -sed 's/^/| /' conftest.$ac_ext >&5
1.21902 -
1.21903 -
1.21904 -fi
1.21905 -
1.21906 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.21907 - conftest$ac_exeext
1.21908 - if test "${ac_cv_search_strerror+set}" = set; then
1.21909 - break
1.21910 -fi
1.21911 -done
1.21912 -if test "${ac_cv_search_strerror+set}" = set; then
1.21913 - :
1.21914 -else
1.21915 - ac_cv_search_strerror=no
1.21916 -fi
1.21917 -rm conftest.$ac_ext
1.21918 -LIBS=$ac_func_search_save_LIBS
1.21919 -fi
1.21920 -{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
1.21921 -echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
1.21922 -ac_res=$ac_cv_search_strerror
1.21923 -if test "$ac_res" != no; then
1.21924 - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.21925 -
1.21926 -fi
1.21927 -
1.21928 -
1.21929 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.21930 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.21931 -if test "${ac_cv_header_stdc+set}" = set; then
1.21932 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21933 -else
1.21934 - cat >conftest.$ac_ext <<_ACEOF
1.21935 -/* confdefs.h. */
1.21936 -_ACEOF
1.21937 -cat confdefs.h >>conftest.$ac_ext
1.21938 -cat >>conftest.$ac_ext <<_ACEOF
1.21939 -/* end confdefs.h. */
1.21940 -#include <stdlib.h>
1.21941 -#include <stdarg.h>
1.21942 -#include <string.h>
1.21943 -#include <float.h>
1.21944 -
1.21945 -int
1.21946 -main ()
1.21947 -{
1.21948 -
1.21949 - ;
1.21950 - return 0;
1.21951 -}
1.21952 -_ACEOF
1.21953 -rm -f conftest.$ac_objext
1.21954 -if { (ac_try="$ac_compile"
1.21955 -case "(($ac_try" in
1.21956 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21957 - *) ac_try_echo=$ac_try;;
1.21958 -esac
1.21959 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21960 - (eval "$ac_compile") 2>conftest.er1
1.21961 - ac_status=$?
1.21962 - grep -v '^ *+' conftest.er1 >conftest.err
1.21963 - rm -f conftest.er1
1.21964 - cat conftest.err >&5
1.21965 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21966 - (exit $ac_status); } && {
1.21967 - test -z "$ac_c_werror_flag" ||
1.21968 - test ! -s conftest.err
1.21969 - } && test -s conftest.$ac_objext; then
1.21970 - ac_cv_header_stdc=yes
1.21971 -else
1.21972 - echo "$as_me: failed program was:" >&5
1.21973 -sed 's/^/| /' conftest.$ac_ext >&5
1.21974 -
1.21975 - ac_cv_header_stdc=no
1.21976 -fi
1.21977 -
1.21978 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21979 -
1.21980 -if test $ac_cv_header_stdc = yes; then
1.21981 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.21982 - cat >conftest.$ac_ext <<_ACEOF
1.21983 -/* confdefs.h. */
1.21984 -_ACEOF
1.21985 -cat confdefs.h >>conftest.$ac_ext
1.21986 -cat >>conftest.$ac_ext <<_ACEOF
1.21987 -/* end confdefs.h. */
1.21988 -#include <string.h>
1.21989 -
1.21990 -_ACEOF
1.21991 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.21992 - $EGREP "memchr" >/dev/null 2>&1; then
1.21993 - :
1.21994 -else
1.21995 - ac_cv_header_stdc=no
1.21996 -fi
1.21997 -rm -f conftest*
1.21998 -
1.21999 -fi
1.22000 -
1.22001 -if test $ac_cv_header_stdc = yes; then
1.22002 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.22003 - cat >conftest.$ac_ext <<_ACEOF
1.22004 -/* confdefs.h. */
1.22005 -_ACEOF
1.22006 -cat confdefs.h >>conftest.$ac_ext
1.22007 -cat >>conftest.$ac_ext <<_ACEOF
1.22008 -/* end confdefs.h. */
1.22009 -#include <stdlib.h>
1.22010 -
1.22011 -_ACEOF
1.22012 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.22013 - $EGREP "free" >/dev/null 2>&1; then
1.22014 - :
1.22015 -else
1.22016 - ac_cv_header_stdc=no
1.22017 -fi
1.22018 -rm -f conftest*
1.22019 -
1.22020 -fi
1.22021 -
1.22022 -if test $ac_cv_header_stdc = yes; then
1.22023 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.22024 - if test "$cross_compiling" = yes; then
1.22025 - :
1.22026 -else
1.22027 - cat >conftest.$ac_ext <<_ACEOF
1.22028 -/* confdefs.h. */
1.22029 -_ACEOF
1.22030 -cat confdefs.h >>conftest.$ac_ext
1.22031 -cat >>conftest.$ac_ext <<_ACEOF
1.22032 -/* end confdefs.h. */
1.22033 -#include <ctype.h>
1.22034 -#include <stdlib.h>
1.22035 -#if ((' ' & 0x0FF) == 0x020)
1.22036 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.22037 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.22038 -#else
1.22039 -# define ISLOWER(c) \
1.22040 - (('a' <= (c) && (c) <= 'i') \
1.22041 - || ('j' <= (c) && (c) <= 'r') \
1.22042 - || ('s' <= (c) && (c) <= 'z'))
1.22043 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.22044 -#endif
1.22045 -
1.22046 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.22047 -int
1.22048 -main ()
1.22049 -{
1.22050 - int i;
1.22051 - for (i = 0; i < 256; i++)
1.22052 - if (XOR (islower (i), ISLOWER (i))
1.22053 - || toupper (i) != TOUPPER (i))
1.22054 - return 2;
1.22055 - return 0;
1.22056 -}
1.22057 -_ACEOF
1.22058 -rm -f conftest$ac_exeext
1.22059 -if { (ac_try="$ac_link"
1.22060 -case "(($ac_try" in
1.22061 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22062 - *) ac_try_echo=$ac_try;;
1.22063 -esac
1.22064 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22065 - (eval "$ac_link") 2>&5
1.22066 - ac_status=$?
1.22067 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22068 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.22069 - { (case "(($ac_try" in
1.22070 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22071 - *) ac_try_echo=$ac_try;;
1.22072 -esac
1.22073 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22074 - (eval "$ac_try") 2>&5
1.22075 - ac_status=$?
1.22076 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22077 - (exit $ac_status); }; }; then
1.22078 - :
1.22079 -else
1.22080 - echo "$as_me: program exited with status $ac_status" >&5
1.22081 -echo "$as_me: failed program was:" >&5
1.22082 -sed 's/^/| /' conftest.$ac_ext >&5
1.22083 -
1.22084 -( exit $ac_status )
1.22085 -ac_cv_header_stdc=no
1.22086 -fi
1.22087 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.22088 -fi
1.22089 -
1.22090 -
1.22091 -fi
1.22092 -fi
1.22093 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.22094 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.22095 -if test $ac_cv_header_stdc = yes; then
1.22096 -
1.22097 -cat >>confdefs.h <<\_ACEOF
1.22098 -@%:@define STDC_HEADERS 1
1.22099 -_ACEOF
1.22100 -
1.22101 -fi
1.22102 -
1.22103 -{ echo "$as_me:$LINENO: checking for inline" >&5
1.22104 -echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
1.22105 -if test "${ac_cv_c_inline+set}" = set; then
1.22106 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22107 -else
1.22108 - ac_cv_c_inline=no
1.22109 -for ac_kw in inline __inline__ __inline; do
1.22110 - cat >conftest.$ac_ext <<_ACEOF
1.22111 -/* confdefs.h. */
1.22112 -_ACEOF
1.22113 -cat confdefs.h >>conftest.$ac_ext
1.22114 -cat >>conftest.$ac_ext <<_ACEOF
1.22115 -/* end confdefs.h. */
1.22116 -#ifndef __cplusplus
1.22117 -typedef int foo_t;
1.22118 -static $ac_kw foo_t static_foo () {return 0; }
1.22119 -$ac_kw foo_t foo () {return 0; }
1.22120 -#endif
1.22121 -
1.22122 -_ACEOF
1.22123 -rm -f conftest.$ac_objext
1.22124 -if { (ac_try="$ac_compile"
1.22125 -case "(($ac_try" in
1.22126 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22127 - *) ac_try_echo=$ac_try;;
1.22128 -esac
1.22129 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22130 - (eval "$ac_compile") 2>conftest.er1
1.22131 - ac_status=$?
1.22132 - grep -v '^ *+' conftest.er1 >conftest.err
1.22133 - rm -f conftest.er1
1.22134 - cat conftest.err >&5
1.22135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22136 - (exit $ac_status); } && {
1.22137 - test -z "$ac_c_werror_flag" ||
1.22138 - test ! -s conftest.err
1.22139 - } && test -s conftest.$ac_objext; then
1.22140 - ac_cv_c_inline=$ac_kw
1.22141 -else
1.22142 - echo "$as_me: failed program was:" >&5
1.22143 -sed 's/^/| /' conftest.$ac_ext >&5
1.22144 -
1.22145 -
1.22146 -fi
1.22147 -
1.22148 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.22149 - test "$ac_cv_c_inline" != no && break
1.22150 -done
1.22151 -
1.22152 -fi
1.22153 -{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
1.22154 -echo "${ECHO_T}$ac_cv_c_inline" >&6; }
1.22155 -
1.22156 -
1.22157 -case $ac_cv_c_inline in
1.22158 - inline | yes) ;;
1.22159 - *)
1.22160 - case $ac_cv_c_inline in
1.22161 - no) ac_val=;;
1.22162 - *) ac_val=$ac_cv_c_inline;;
1.22163 - esac
1.22164 - cat >>confdefs.h <<_ACEOF
1.22165 -#ifndef __cplusplus
1.22166 -#define inline $ac_val
1.22167 -#endif
1.22168 -_ACEOF
1.22169 - ;;
1.22170 -esac
1.22171 -
1.22172 -
1.22173 -# Extract the first word of "pkg-config", so it can be a program name with args.
1.22174 -set dummy pkg-config; ac_word=$2
1.22175 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.22176 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.22177 -if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
1.22178 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22179 -else
1.22180 - if test -n "$HAVE_PKGCONFIG"; then
1.22181 - ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
1.22182 -else
1.22183 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22184 -for as_dir in $PATH
1.22185 -do
1.22186 - IFS=$as_save_IFS
1.22187 - test -z "$as_dir" && as_dir=.
1.22188 - for ac_exec_ext in '' $ac_executable_extensions; do
1.22189 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.22190 - ac_cv_prog_HAVE_PKGCONFIG="yes"
1.22191 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.22192 - break 2
1.22193 - fi
1.22194 -done
1.22195 -done
1.22196 -IFS=$as_save_IFS
1.22197 -
1.22198 - test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
1.22199 -fi
1.22200 -fi
1.22201 -HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
1.22202 -if test -n "$HAVE_PKGCONFIG"; then
1.22203 - { echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
1.22204 -echo "${ECHO_T}$HAVE_PKGCONFIG" >&6; }
1.22205 -else
1.22206 - { echo "$as_me:$LINENO: result: no" >&5
1.22207 -echo "${ECHO_T}no" >&6; }
1.22208 -fi
1.22209 -
1.22210 -
1.22211 -
1.22212 -if test "x$HAVE_PKGCONFIG" = "xno"; then
1.22213 - { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
1.22214 -echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
1.22215 - { (exit 1); exit 1; }; }
1.22216 -fi
1.22217 -
1.22218 -
1.22219 -GST_REQUIRED=0.10.14
1.22220 -GST_MAJORMINOR=0.10
1.22221 -
1.22222 -
1.22223 -
1.22224 -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1.22225 - if test -n "$ac_tool_prefix"; then
1.22226 - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1.22227 -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1.22228 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.22229 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.22230 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.22231 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22232 -else
1.22233 - case $PKG_CONFIG in
1.22234 - [\\/]* | ?:[\\/]*)
1.22235 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.22236 - ;;
1.22237 - *)
1.22238 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22239 -for as_dir in $PATH
1.22240 -do
1.22241 - IFS=$as_save_IFS
1.22242 - test -z "$as_dir" && as_dir=.
1.22243 - for ac_exec_ext in '' $ac_executable_extensions; do
1.22244 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.22245 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.22246 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.22247 - break 2
1.22248 - fi
1.22249 -done
1.22250 -done
1.22251 -IFS=$as_save_IFS
1.22252 -
1.22253 - ;;
1.22254 -esac
1.22255 -fi
1.22256 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.22257 -if test -n "$PKG_CONFIG"; then
1.22258 - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1.22259 -echo "${ECHO_T}$PKG_CONFIG" >&6; }
1.22260 -else
1.22261 - { echo "$as_me:$LINENO: result: no" >&5
1.22262 -echo "${ECHO_T}no" >&6; }
1.22263 -fi
1.22264 -
1.22265 -
1.22266 -fi
1.22267 -if test -z "$ac_cv_path_PKG_CONFIG"; then
1.22268 - ac_pt_PKG_CONFIG=$PKG_CONFIG
1.22269 - # Extract the first word of "pkg-config", so it can be a program name with args.
1.22270 -set dummy pkg-config; ac_word=$2
1.22271 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.22272 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.22273 -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
1.22274 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22275 -else
1.22276 - case $ac_pt_PKG_CONFIG in
1.22277 - [\\/]* | ?:[\\/]*)
1.22278 - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1.22279 - ;;
1.22280 - *)
1.22281 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22282 -for as_dir in $PATH
1.22283 -do
1.22284 - IFS=$as_save_IFS
1.22285 - test -z "$as_dir" && as_dir=.
1.22286 - for ac_exec_ext in '' $ac_executable_extensions; do
1.22287 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.22288 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.22289 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.22290 - break 2
1.22291 - fi
1.22292 -done
1.22293 -done
1.22294 -IFS=$as_save_IFS
1.22295 -
1.22296 - ;;
1.22297 -esac
1.22298 -fi
1.22299 -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1.22300 -if test -n "$ac_pt_PKG_CONFIG"; then
1.22301 - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
1.22302 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
1.22303 -else
1.22304 - { echo "$as_me:$LINENO: result: no" >&5
1.22305 -echo "${ECHO_T}no" >&6; }
1.22306 -fi
1.22307 -
1.22308 - if test "x$ac_pt_PKG_CONFIG" = x; then
1.22309 - PKG_CONFIG=""
1.22310 - else
1.22311 - case $cross_compiling:$ac_tool_warned in
1.22312 -yes:)
1.22313 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.22314 -whose name does not start with the host triplet. If you think this
1.22315 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.22316 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.22317 -whose name does not start with the host triplet. If you think this
1.22318 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.22319 -ac_tool_warned=yes ;;
1.22320 -esac
1.22321 - PKG_CONFIG=$ac_pt_PKG_CONFIG
1.22322 - fi
1.22323 -else
1.22324 - PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
1.22325 -fi
1.22326 -
1.22327 -fi
1.22328 -if test -n "$PKG_CONFIG"; then
1.22329 - _pkg_min_version=0.9.0
1.22330 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
1.22331 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
1.22332 - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1.22333 - { echo "$as_me:$LINENO: result: yes" >&5
1.22334 -echo "${ECHO_T}yes" >&6; }
1.22335 - else
1.22336 - { echo "$as_me:$LINENO: result: no" >&5
1.22337 -echo "${ECHO_T}no" >&6; }
1.22338 - PKG_CONFIG=""
1.22339 - fi
1.22340 -
1.22341 -fi
1.22342 -
1.22343 -pkg_failed=no
1.22344 -{ echo "$as_me:$LINENO: checking for GST_CFLAGS" >&5
1.22345 -echo $ECHO_N "checking for GST_CFLAGS... $ECHO_C" >&6; }
1.22346 -if test "${pkg_cv_GST_CFLAGS+set}" = set; then
1.22347 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22348 -else
1.22349 - if test "x$ac_cv_env_GST_CFLAGS_set" = "xset"; then
1.22350 - pkg_cv_GST_CFLAGS=$ac_cv_env_GST_CFLAGS_value
1.22351 -elif test -n "$PKG_CONFIG"; then
1.22352 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
1.22353 - gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22354 - ($PKG_CONFIG --exists "\
1.22355 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22356 - ac_status=$?
1.22357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22358 - (exit $ac_status); }; then
1.22359 - pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
1.22360 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22361 - else
1.22362 - pkg_failed=yes
1.22363 - fi
1.22364 -else
1.22365 - pkg_failed=untried
1.22366 -fi
1.22367 -fi
1.22368 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_CFLAGS" >&5
1.22369 -echo "${ECHO_T}$pkg_cv_GST_CFLAGS" >&6; }
1.22370 -{ echo "$as_me:$LINENO: checking for GST_LIBS" >&5
1.22371 -echo $ECHO_N "checking for GST_LIBS... $ECHO_C" >&6; }
1.22372 -if test "${pkg_cv_GST_LIBS+set}" = set; then
1.22373 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22374 -else
1.22375 - if test "x$ac_cv_env_GST_LIBS_set" = "xset"; then
1.22376 - pkg_cv_GST_LIBS=$ac_cv_env_GST_LIBS_value
1.22377 -elif test -n "$PKG_CONFIG"; then
1.22378 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
1.22379 - gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22380 - ($PKG_CONFIG --exists "\
1.22381 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22382 - ac_status=$?
1.22383 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22384 - (exit $ac_status); }; then
1.22385 - pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
1.22386 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22387 - else
1.22388 - pkg_failed=yes
1.22389 - fi
1.22390 -else
1.22391 - pkg_failed=untried
1.22392 -fi
1.22393 -fi
1.22394 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_LIBS" >&5
1.22395 -echo "${ECHO_T}$pkg_cv_GST_LIBS" >&6; }
1.22396 -
1.22397 -if test $pkg_failed = yes; then
1.22398 - GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
1.22399 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22400 - # Put the nasty error message in config.log where it belongs
1.22401 - echo "$GST_PKG_ERRORS" 1>&5
1.22402 -
1.22403 - HAVE_GST=no
1.22404 -elif test $pkg_failed = untried; then
1.22405 - HAVE_GST=no
1.22406 -else
1.22407 - GST_CFLAGS=$pkg_cv_GST_CFLAGS
1.22408 - GST_LIBS=$pkg_cv_GST_LIBS
1.22409 - HAVE_GST=yes
1.22410 -fi
1.22411 -
1.22412 -if test "x$HAVE_GST" = "xno"; then
1.22413 - { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
1.22414 -echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
1.22415 - { (exit 1); exit 1; }; }
1.22416 -fi
1.22417 -
1.22418 -if test "x$USE_DEBUG" = xyes; then
1.22419 - GST_CFLAGS="$GST_CFLAGS -g"
1.22420 -fi
1.22421 -
1.22422 -GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS"
1.22423 -
1.22424 -
1.22425 -
1.22426 -
1.22427 -
1.22428 -
1.22429 -
1.22430 -pkg_failed=no
1.22431 -{ echo "$as_me:$LINENO: checking for GST_BASE_CFLAGS" >&5
1.22432 -echo $ECHO_N "checking for GST_BASE_CFLAGS... $ECHO_C" >&6; }
1.22433 -if test "${pkg_cv_GST_BASE_CFLAGS+set}" = set; then
1.22434 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22435 -else
1.22436 - if test "x$ac_cv_env_GST_BASE_CFLAGS_set" = "xset"; then
1.22437 - pkg_cv_GST_BASE_CFLAGS=$ac_cv_env_GST_BASE_CFLAGS_value
1.22438 -elif test -n "$PKG_CONFIG"; then
1.22439 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22440 - ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22441 - ac_status=$?
1.22442 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22443 - (exit $ac_status); }; then
1.22444 - pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22445 - else
1.22446 - pkg_failed=yes
1.22447 - fi
1.22448 -else
1.22449 - pkg_failed=untried
1.22450 -fi
1.22451 -fi
1.22452 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_CFLAGS" >&5
1.22453 -echo "${ECHO_T}$pkg_cv_GST_BASE_CFLAGS" >&6; }
1.22454 -{ echo "$as_me:$LINENO: checking for GST_BASE_LIBS" >&5
1.22455 -echo $ECHO_N "checking for GST_BASE_LIBS... $ECHO_C" >&6; }
1.22456 -if test "${pkg_cv_GST_BASE_LIBS+set}" = set; then
1.22457 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22458 -else
1.22459 - if test "x$ac_cv_env_GST_BASE_LIBS_set" = "xset"; then
1.22460 - pkg_cv_GST_BASE_LIBS=$ac_cv_env_GST_BASE_LIBS_value
1.22461 -elif test -n "$PKG_CONFIG"; then
1.22462 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22463 - ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22464 - ac_status=$?
1.22465 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22466 - (exit $ac_status); }; then
1.22467 - pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22468 - else
1.22469 - pkg_failed=yes
1.22470 - fi
1.22471 -else
1.22472 - pkg_failed=untried
1.22473 -fi
1.22474 -fi
1.22475 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_LIBS" >&5
1.22476 -echo "${ECHO_T}$pkg_cv_GST_BASE_LIBS" >&6; }
1.22477 -
1.22478 -if test $pkg_failed = yes; then
1.22479 - GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22480 - # Put the nasty error message in config.log where it belongs
1.22481 - echo "$GST_BASE_PKG_ERRORS" 1>&5
1.22482 -
1.22483 - HAVE_GST_BASE="no"
1.22484 -elif test $pkg_failed = untried; then
1.22485 - HAVE_GST_BASE="no"
1.22486 -else
1.22487 - GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
1.22488 - GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
1.22489 - HAVE_GST_BASE="yes"
1.22490 -fi
1.22491 -
1.22492 -if test "x$HAVE_GST_BASE" = "xno"; then
1.22493 - { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
1.22494 -echo "$as_me: error: no GStreamer Base Libs found" >&2;}
1.22495 - { (exit 1); exit 1; }; }
1.22496 -fi
1.22497 -
1.22498 -
1.22499 -
1.22500 -
1.22501 -
1.22502 -pkg_failed=no
1.22503 -{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_CFLAGS" >&5
1.22504 -echo $ECHO_N "checking for GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6; }
1.22505 -if test "${pkg_cv_GST_PLUGINS_BASE_CFLAGS+set}" = set; then
1.22506 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22507 -else
1.22508 - if test "x$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_set" = "xset"; then
1.22509 - pkg_cv_GST_PLUGINS_BASE_CFLAGS=$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_value
1.22510 -elif test -n "$PKG_CONFIG"; then
1.22511 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22512 - ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22513 - ac_status=$?
1.22514 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22515 - (exit $ac_status); }; then
1.22516 - pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22517 - else
1.22518 - pkg_failed=yes
1.22519 - fi
1.22520 -else
1.22521 - pkg_failed=untried
1.22522 -fi
1.22523 -fi
1.22524 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&5
1.22525 -echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&6; }
1.22526 -{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_LIBS" >&5
1.22527 -echo $ECHO_N "checking for GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6; }
1.22528 -if test "${pkg_cv_GST_PLUGINS_BASE_LIBS+set}" = set; then
1.22529 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22530 -else
1.22531 - if test "x$ac_cv_env_GST_PLUGINS_BASE_LIBS_set" = "xset"; then
1.22532 - pkg_cv_GST_PLUGINS_BASE_LIBS=$ac_cv_env_GST_PLUGINS_BASE_LIBS_value
1.22533 -elif test -n "$PKG_CONFIG"; then
1.22534 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22535 - ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22536 - ac_status=$?
1.22537 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22538 - (exit $ac_status); }; then
1.22539 - pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22540 - else
1.22541 - pkg_failed=yes
1.22542 - fi
1.22543 -else
1.22544 - pkg_failed=untried
1.22545 -fi
1.22546 -fi
1.22547 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_LIBS" >&5
1.22548 -echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_LIBS" >&6; }
1.22549 -
1.22550 -if test $pkg_failed = yes; then
1.22551 - GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22552 - # Put the nasty error message in config.log where it belongs
1.22553 - echo "$GST_PLUGINS_BASE_PKG_ERRORS" 1>&5
1.22554 -
1.22555 - HAVE_GST_PLUGINS="no"
1.22556 -elif test $pkg_failed = untried; then
1.22557 - HAVE_GST_PLUGINS="no"
1.22558 -else
1.22559 - GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
1.22560 - GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
1.22561 - HAVE_GST_PLUGINS="yes"
1.22562 -fi
1.22563 -
1.22564 -if test "x$HAVE_GST_PLUGINS" = "xno"; then
1.22565 - { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
1.22566 -echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
1.22567 - { (exit 1); exit 1; }; }
1.22568 -fi
1.22569 -
1.22570 -
1.22571 -
1.22572 -
1.22573 -plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
1.22574 -
1.22575 -
1.22576 -GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
1.22577 -
1.22578 -
1.22579 -
1.22580 -cat >>confdefs.h <<\_ACEOF
1.22581 -@%:@define GST_LICENSE "LGPL"
1.22582 -_ACEOF
1.22583 -
1.22584 -
1.22585 -cat >>confdefs.h <<\_ACEOF
1.22586 -@%:@define GST_PACKAGE_NAME "INdT plugins to Gstreamer "
1.22587 -_ACEOF
1.22588 -
1.22589 -
1.22590 -cat >>confdefs.h <<\_ACEOF
1.22591 -@%:@define GST_PACKAGE_ORIGIN "https://svn.sourceforge.net/svnroot/gmyth/gst-gpac"
1.22592 -_ACEOF
1.22593 -
1.22594 -
1.22595 -ac_config_files="$ac_config_files Makefile src/Makefile"
1.22596 -
1.22597 -cat >confcache <<\_ACEOF
1.22598 -# This file is a shell script that caches the results of configure
1.22599 -# tests run on this system so they can be shared between configure
1.22600 -# scripts and configure runs, see configure's option --config-cache.
1.22601 -# It is not useful on other systems. If it contains results you don't
1.22602 -# want to keep, you may remove or edit it.
1.22603 -#
1.22604 -# config.status only pays attention to the cache file if you give it
1.22605 -# the --recheck option to rerun configure.
1.22606 -#
1.22607 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
1.22608 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
1.22609 -# following values.
1.22610 -
1.22611 -_ACEOF
1.22612 -
1.22613 -# The following way of writing the cache mishandles newlines in values,
1.22614 -# but we know of no workaround that is simple, portable, and efficient.
1.22615 -# So, we kill variables containing newlines.
1.22616 -# Ultrix sh set writes to stderr and can't be redirected directly,
1.22617 -# and sets the high bit in the cache file unless we assign to the vars.
1.22618 -(
1.22619 - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1.22620 - eval ac_val=\$$ac_var
1.22621 - case $ac_val in #(
1.22622 - *${as_nl}*)
1.22623 - case $ac_var in #(
1.22624 - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1.22625 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1.22626 - esac
1.22627 - case $ac_var in #(
1.22628 - _ | IFS | as_nl) ;; #(
1.22629 - *) $as_unset $ac_var ;;
1.22630 - esac ;;
1.22631 - esac
1.22632 - done
1.22633 -
1.22634 - (set) 2>&1 |
1.22635 - case $as_nl`(ac_space=' '; set) 2>&1` in #(
1.22636 - *${as_nl}ac_space=\ *)
1.22637 - # `set' does not quote correctly, so add quotes (double-quote
1.22638 - # substitution turns \\\\ into \\, and sed turns \\ into \).
1.22639 - sed -n \
1.22640 - "s/'/'\\\\''/g;
1.22641 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.22642 - ;; #(
1.22643 - *)
1.22644 - # `set' quotes correctly as required by POSIX, so do not add quotes.
1.22645 - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.22646 - ;;
1.22647 - esac |
1.22648 - sort
1.22649 -) |
1.22650 - sed '
1.22651 - /^ac_cv_env_/b end
1.22652 - t clear
1.22653 - :clear
1.22654 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1.22655 - t end
1.22656 - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1.22657 - :end' >>confcache
1.22658 -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1.22659 - if test -w "$cache_file"; then
1.22660 - test "x$cache_file" != "x/dev/null" &&
1.22661 - { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1.22662 -echo "$as_me: updating cache $cache_file" >&6;}
1.22663 - cat confcache >$cache_file
1.22664 - else
1.22665 - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1.22666 -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.22667 - fi
1.22668 -fi
1.22669 -rm -f confcache
1.22670 -
1.22671 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
1.22672 -# Let make expand exec_prefix.
1.22673 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1.22674 -
1.22675 -DEFS=-DHAVE_CONFIG_H
1.22676 -
1.22677 -ac_libobjs=
1.22678 -ac_ltlibobjs=
1.22679 -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
1.22680 - # 1. Remove the extension, and $U if already installed.
1.22681 - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.22682 - ac_i=`echo "$ac_i" | sed "$ac_script"`
1.22683 - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1.22684 - # will be set to the directory where LIBOBJS objects are built.
1.22685 - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1.22686 - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1.22687 -done
1.22688 -LIB@&t@OBJS=$ac_libobjs
1.22689 -
1.22690 -LTLIBOBJS=$ac_ltlibobjs
1.22691 -
1.22692 -
1.22693 -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.22694 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
1.22695 -Usually this means the macro was only invoked conditionally." >&5
1.22696 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1.22697 -Usually this means the macro was only invoked conditionally." >&2;}
1.22698 - { (exit 1); exit 1; }; }
1.22699 -fi
1.22700 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.22701 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
1.22702 -Usually this means the macro was only invoked conditionally." >&5
1.22703 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
1.22704 -Usually this means the macro was only invoked conditionally." >&2;}
1.22705 - { (exit 1); exit 1; }; }
1.22706 -fi
1.22707 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.22708 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.22709 -Usually this means the macro was only invoked conditionally." >&5
1.22710 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.22711 -Usually this means the macro was only invoked conditionally." >&2;}
1.22712 - { (exit 1); exit 1; }; }
1.22713 -fi
1.22714 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.22715 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.22716 -Usually this means the macro was only invoked conditionally." >&5
1.22717 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.22718 -Usually this means the macro was only invoked conditionally." >&2;}
1.22719 - { (exit 1); exit 1; }; }
1.22720 -fi
1.22721 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.22722 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.22723 -Usually this means the macro was only invoked conditionally." >&5
1.22724 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.22725 -Usually this means the macro was only invoked conditionally." >&2;}
1.22726 - { (exit 1); exit 1; }; }
1.22727 -fi
1.22728 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.22729 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.22730 -Usually this means the macro was only invoked conditionally." >&5
1.22731 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.22732 -Usually this means the macro was only invoked conditionally." >&2;}
1.22733 - { (exit 1); exit 1; }; }
1.22734 -fi
1.22735 -
1.22736 -: ${CONFIG_STATUS=./config.status}
1.22737 -ac_clean_files_save=$ac_clean_files
1.22738 -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.22739 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1.22740 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.22741 -cat >$CONFIG_STATUS <<_ACEOF
1.22742 -#! $SHELL
1.22743 -# Generated by $as_me.
1.22744 -# Run this file to recreate the current configuration.
1.22745 -# Compiler output produced by configure, useful for debugging
1.22746 -# configure, is in config.log if it exists.
1.22747 -
1.22748 -debug=false
1.22749 -ac_cs_recheck=false
1.22750 -ac_cs_silent=false
1.22751 -SHELL=\${CONFIG_SHELL-$SHELL}
1.22752 -_ACEOF
1.22753 -
1.22754 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22755 -## --------------------- ##
1.22756 -## M4sh Initialization. ##
1.22757 -## --------------------- ##
1.22758 -
1.22759 -# Be more Bourne compatible
1.22760 -DUALCASE=1; export DUALCASE # for MKS sh
1.22761 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.22762 - emulate sh
1.22763 - NULLCMD=:
1.22764 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.22765 - # is contrary to our usage. Disable this feature.
1.22766 - alias -g '${1+"$@"}'='"$@"'
1.22767 - setopt NO_GLOB_SUBST
1.22768 -else
1.22769 - case `(set -o) 2>/dev/null` in
1.22770 - *posix*) set -o posix ;;
1.22771 -esac
1.22772 -
1.22773 -fi
1.22774 -
1.22775 -
1.22776 -
1.22777 -
1.22778 -# PATH needs CR
1.22779 -# Avoid depending upon Character Ranges.
1.22780 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1.22781 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1.22782 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1.22783 -as_cr_digits='0123456789'
1.22784 -as_cr_alnum=$as_cr_Letters$as_cr_digits
1.22785 -
1.22786 -# The user is always right.
1.22787 -if test "${PATH_SEPARATOR+set}" != set; then
1.22788 - echo "#! /bin/sh" >conf$$.sh
1.22789 - echo "exit 0" >>conf$$.sh
1.22790 - chmod +x conf$$.sh
1.22791 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.22792 - PATH_SEPARATOR=';'
1.22793 - else
1.22794 - PATH_SEPARATOR=:
1.22795 - fi
1.22796 - rm -f conf$$.sh
1.22797 -fi
1.22798 -
1.22799 -# Support unset when possible.
1.22800 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.22801 - as_unset=unset
1.22802 -else
1.22803 - as_unset=false
1.22804 -fi
1.22805 -
1.22806 -
1.22807 -# IFS
1.22808 -# We need space, tab and new line, in precisely that order. Quoting is
1.22809 -# there to prevent editors from complaining about space-tab.
1.22810 -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1.22811 -# splitting by setting IFS to empty value.)
1.22812 -as_nl='
1.22813 -'
1.22814 -IFS=" "" $as_nl"
1.22815 -
1.22816 -# Find who we are. Look in the path if we contain no directory separator.
1.22817 -case $0 in
1.22818 - *[\\/]* ) as_myself=$0 ;;
1.22819 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22820 -for as_dir in $PATH
1.22821 -do
1.22822 - IFS=$as_save_IFS
1.22823 - test -z "$as_dir" && as_dir=.
1.22824 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.22825 -done
1.22826 -IFS=$as_save_IFS
1.22827 -
1.22828 - ;;
1.22829 -esac
1.22830 -# We did not find ourselves, most probably we were run as `sh COMMAND'
1.22831 -# in which case we are not to be found in the path.
1.22832 -if test "x$as_myself" = x; then
1.22833 - as_myself=$0
1.22834 -fi
1.22835 -if test ! -f "$as_myself"; then
1.22836 - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.22837 - { (exit 1); exit 1; }
1.22838 -fi
1.22839 -
1.22840 -# Work around bugs in pre-3.0 UWIN ksh.
1.22841 -for as_var in ENV MAIL MAILPATH
1.22842 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.22843 -done
1.22844 -PS1='$ '
1.22845 -PS2='> '
1.22846 -PS4='+ '
1.22847 -
1.22848 -# NLS nuisances.
1.22849 -for as_var in \
1.22850 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1.22851 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1.22852 - LC_TELEPHONE LC_TIME
1.22853 -do
1.22854 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.22855 - eval $as_var=C; export $as_var
1.22856 - else
1.22857 - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.22858 - fi
1.22859 -done
1.22860 -
1.22861 -# Required to use basename.
1.22862 -if expr a : '\(a\)' >/dev/null 2>&1 &&
1.22863 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.22864 - as_expr=expr
1.22865 -else
1.22866 - as_expr=false
1.22867 -fi
1.22868 -
1.22869 -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.22870 - as_basename=basename
1.22871 -else
1.22872 - as_basename=false
1.22873 -fi
1.22874 -
1.22875 -
1.22876 -# Name of the executable.
1.22877 -as_me=`$as_basename -- "$0" ||
1.22878 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1.22879 - X"$0" : 'X\(//\)$' \| \
1.22880 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.22881 -echo X/"$0" |
1.22882 - sed '/^.*\/\([^/][^/]*\)\/*$/{
1.22883 - s//\1/
1.22884 - q
1.22885 - }
1.22886 - /^X\/\(\/\/\)$/{
1.22887 - s//\1/
1.22888 - q
1.22889 - }
1.22890 - /^X\/\(\/\).*/{
1.22891 - s//\1/
1.22892 - q
1.22893 - }
1.22894 - s/.*/./; q'`
1.22895 -
1.22896 -# CDPATH.
1.22897 -$as_unset CDPATH
1.22898 -
1.22899 -
1.22900 -
1.22901 - as_lineno_1=$LINENO
1.22902 - as_lineno_2=$LINENO
1.22903 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.22904 - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.22905 -
1.22906 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1.22907 - # uniformly replaced by the line number. The first 'sed' inserts a
1.22908 - # line-number line after each line using $LINENO; the second 'sed'
1.22909 - # does the real work. The second script uses 'N' to pair each
1.22910 - # line-number line with the line containing $LINENO, and appends
1.22911 - # trailing '-' during substitution so that $LINENO is not a special
1.22912 - # case at line end.
1.22913 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.22914 - # scripts with optimization help from Paolo Bonzini. Blame Lee
1.22915 - # E. McMahon (1931-1989) for sed's syntax. :-)
1.22916 - sed -n '
1.22917 - p
1.22918 - /[$]LINENO/=
1.22919 - ' <$as_myself |
1.22920 - sed '
1.22921 - s/[$]LINENO.*/&-/
1.22922 - t lineno
1.22923 - b
1.22924 - :lineno
1.22925 - N
1.22926 - :loop
1.22927 - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.22928 - t loop
1.22929 - s/-\n.*//
1.22930 - ' >$as_me.lineno &&
1.22931 - chmod +x "$as_me.lineno" ||
1.22932 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.22933 - { (exit 1); exit 1; }; }
1.22934 -
1.22935 - # Don't try to exec as it changes $[0], causing all sort of problems
1.22936 - # (the dirname of $[0] is not the place where we might find the
1.22937 - # original and so on. Autoconf is especially sensitive to this).
1.22938 - . "./$as_me.lineno"
1.22939 - # Exit status is that of the last command.
1.22940 - exit
1.22941 -}
1.22942 -
1.22943 -
1.22944 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1.22945 - as_dirname=dirname
1.22946 -else
1.22947 - as_dirname=false
1.22948 -fi
1.22949 -
1.22950 -ECHO_C= ECHO_N= ECHO_T=
1.22951 -case `echo -n x` in
1.22952 --n*)
1.22953 - case `echo 'x\c'` in
1.22954 - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1.22955 - *) ECHO_C='\c';;
1.22956 - esac;;
1.22957 -*)
1.22958 - ECHO_N='-n';;
1.22959 -esac
1.22960 -
1.22961 -if expr a : '\(a\)' >/dev/null 2>&1 &&
1.22962 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.22963 - as_expr=expr
1.22964 -else
1.22965 - as_expr=false
1.22966 -fi
1.22967 -
1.22968 -rm -f conf$$ conf$$.exe conf$$.file
1.22969 -if test -d conf$$.dir; then
1.22970 - rm -f conf$$.dir/conf$$.file
1.22971 -else
1.22972 - rm -f conf$$.dir
1.22973 - mkdir conf$$.dir
1.22974 -fi
1.22975 -echo >conf$$.file
1.22976 -if ln -s conf$$.file conf$$ 2>/dev/null; then
1.22977 - as_ln_s='ln -s'
1.22978 - # ... but there are two gotchas:
1.22979 - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1.22980 - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.22981 - # In both cases, we have to default to `cp -p'.
1.22982 - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.22983 - as_ln_s='cp -p'
1.22984 -elif ln conf$$.file conf$$ 2>/dev/null; then
1.22985 - as_ln_s=ln
1.22986 -else
1.22987 - as_ln_s='cp -p'
1.22988 -fi
1.22989 -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1.22990 -rmdir conf$$.dir 2>/dev/null
1.22991 -
1.22992 -if mkdir -p . 2>/dev/null; then
1.22993 - as_mkdir_p=:
1.22994 -else
1.22995 - test -d ./-p && rmdir ./-p
1.22996 - as_mkdir_p=false
1.22997 -fi
1.22998 -
1.22999 -if test -x / >/dev/null 2>&1; then
1.23000 - as_test_x='test -x'
1.23001 -else
1.23002 - if ls -dL / >/dev/null 2>&1; then
1.23003 - as_ls_L_option=L
1.23004 - else
1.23005 - as_ls_L_option=
1.23006 - fi
1.23007 - as_test_x='
1.23008 - eval sh -c '\''
1.23009 - if test -d "$1"; then
1.23010 - test -d "$1/.";
1.23011 - else
1.23012 - case $1 in
1.23013 - -*)set "./$1";;
1.23014 - esac;
1.23015 - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
1.23016 - ???[sx]*):;;*)false;;esac;fi
1.23017 - '\'' sh
1.23018 - '
1.23019 -fi
1.23020 -as_executable_p=$as_test_x
1.23021 -
1.23022 -# Sed expression to map a string onto a valid CPP name.
1.23023 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.23024 -
1.23025 -# Sed expression to map a string onto a valid variable name.
1.23026 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.23027 -
1.23028 -
1.23029 -exec 6>&1
1.23030 -
1.23031 -# Save the log message, to keep $[0] and so on meaningful, and to
1.23032 -# report actual input values of CONFIG_FILES etc. instead of their
1.23033 -# values after options handling.
1.23034 -ac_log="
1.23035 -This file was extended by $as_me, which was
1.23036 -generated by GNU Autoconf 2.61. Invocation command line was
1.23037 -
1.23038 - CONFIG_FILES = $CONFIG_FILES
1.23039 - CONFIG_HEADERS = $CONFIG_HEADERS
1.23040 - CONFIG_LINKS = $CONFIG_LINKS
1.23041 - CONFIG_COMMANDS = $CONFIG_COMMANDS
1.23042 - $ $0 $@
1.23043 -
1.23044 -on `(hostname || uname -n) 2>/dev/null | sed 1q`
1.23045 -"
1.23046 -
1.23047 -_ACEOF
1.23048 -
1.23049 -cat >>$CONFIG_STATUS <<_ACEOF
1.23050 -# Files that config.status was made for.
1.23051 -config_files="$ac_config_files"
1.23052 -config_headers="$ac_config_headers"
1.23053 -config_commands="$ac_config_commands"
1.23054 -
1.23055 -_ACEOF
1.23056 -
1.23057 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23058 -ac_cs_usage="\
1.23059 -\`$as_me' instantiates files from templates according to the
1.23060 -current configuration.
1.23061 -
1.23062 -Usage: $0 [OPTIONS] [FILE]...
1.23063 -
1.23064 - -h, --help print this help, then exit
1.23065 - -V, --version print version number and configuration settings, then exit
1.23066 - -q, --quiet do not print progress messages
1.23067 - -d, --debug don't remove temporary files
1.23068 - --recheck update $as_me by reconfiguring in the same conditions
1.23069 - --file=FILE[:TEMPLATE]
1.23070 - instantiate the configuration file FILE
1.23071 - --header=FILE[:TEMPLATE]
1.23072 - instantiate the configuration header FILE
1.23073 -
1.23074 -Configuration files:
1.23075 -$config_files
1.23076 -
1.23077 -Configuration headers:
1.23078 -$config_headers
1.23079 -
1.23080 -Configuration commands:
1.23081 -$config_commands
1.23082 -
1.23083 -Report bugs to <bug-autoconf@gnu.org>."
1.23084 -
1.23085 -_ACEOF
1.23086 -cat >>$CONFIG_STATUS <<_ACEOF
1.23087 -ac_cs_version="\\
1.23088 -config.status
1.23089 -configured by $0, generated by GNU Autoconf 2.61,
1.23090 - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.23091 -
1.23092 -Copyright (C) 2006 Free Software Foundation, Inc.
1.23093 -This config.status script is free software; the Free Software Foundation
1.23094 -gives unlimited permission to copy, distribute and modify it."
1.23095 -
1.23096 -ac_pwd='$ac_pwd'
1.23097 -srcdir='$srcdir'
1.23098 -INSTALL='$INSTALL'
1.23099 -_ACEOF
1.23100 -
1.23101 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23102 -# If no file are specified by the user, then we need to provide default
1.23103 -# value. By we need to know if files were specified by the user.
1.23104 -ac_need_defaults=:
1.23105 -while test $# != 0
1.23106 -do
1.23107 - case $1 in
1.23108 - --*=*)
1.23109 - ac_option=`expr "X$1" : 'X\([^=]*\)='`
1.23110 - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.23111 - ac_shift=:
1.23112 - ;;
1.23113 - *)
1.23114 - ac_option=$1
1.23115 - ac_optarg=$2
1.23116 - ac_shift=shift
1.23117 - ;;
1.23118 - esac
1.23119 -
1.23120 - case $ac_option in
1.23121 - # Handling of the options.
1.23122 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.23123 - ac_cs_recheck=: ;;
1.23124 - --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.23125 - echo "$ac_cs_version"; exit ;;
1.23126 - --debug | --debu | --deb | --de | --d | -d )
1.23127 - debug=: ;;
1.23128 - --file | --fil | --fi | --f )
1.23129 - $ac_shift
1.23130 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.23131 - ac_need_defaults=false;;
1.23132 - --header | --heade | --head | --hea )
1.23133 - $ac_shift
1.23134 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1.23135 - ac_need_defaults=false;;
1.23136 - --he | --h)
1.23137 - # Conflict between --help and --header
1.23138 - { echo "$as_me: error: ambiguous option: $1
1.23139 -Try \`$0 --help' for more information." >&2
1.23140 - { (exit 1); exit 1; }; };;
1.23141 - --help | --hel | -h )
1.23142 - echo "$ac_cs_usage"; exit ;;
1.23143 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.23144 - | -silent | --silent | --silen | --sile | --sil | --si | --s)
1.23145 - ac_cs_silent=: ;;
1.23146 -
1.23147 - # This is an error.
1.23148 - -*) { echo "$as_me: error: unrecognized option: $1
1.23149 -Try \`$0 --help' for more information." >&2
1.23150 - { (exit 1); exit 1; }; } ;;
1.23151 -
1.23152 - *) ac_config_targets="$ac_config_targets $1"
1.23153 - ac_need_defaults=false ;;
1.23154 -
1.23155 - esac
1.23156 - shift
1.23157 -done
1.23158 -
1.23159 -ac_configure_extra_args=
1.23160 -
1.23161 -if $ac_cs_silent; then
1.23162 - exec 6>/dev/null
1.23163 - ac_configure_extra_args="$ac_configure_extra_args --silent"
1.23164 -fi
1.23165 -
1.23166 -_ACEOF
1.23167 -cat >>$CONFIG_STATUS <<_ACEOF
1.23168 -if \$ac_cs_recheck; then
1.23169 - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1.23170 - CONFIG_SHELL=$SHELL
1.23171 - export CONFIG_SHELL
1.23172 - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.23173 -fi
1.23174 -
1.23175 -_ACEOF
1.23176 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23177 -exec 5>>config.log
1.23178 -{
1.23179 - echo
1.23180 - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
1.23181 -@%:@@%:@ Running $as_me. @%:@@%:@
1.23182 -_ASBOX
1.23183 - echo "$ac_log"
1.23184 -} >&5
1.23185 -
1.23186 -_ACEOF
1.23187 -cat >>$CONFIG_STATUS <<_ACEOF
1.23188 -#
1.23189 -# INIT-COMMANDS
1.23190 -#
1.23191 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.23192 -
1.23193 -_ACEOF
1.23194 -
1.23195 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23196 -
1.23197 -# Handling of arguments.
1.23198 -for ac_config_target in $ac_config_targets
1.23199 -do
1.23200 - case $ac_config_target in
1.23201 - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.23202 - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1.23203 - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.23204 - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
1.23205 -
1.23206 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1.23207 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.23208 - { (exit 1); exit 1; }; };;
1.23209 - esac
1.23210 -done
1.23211 -
1.23212 -
1.23213 -# If the user did not use the arguments to specify the items to instantiate,
1.23214 -# then the envvar interface is used. Set only those that are not.
1.23215 -# We use the long form for the default assignment because of an extremely
1.23216 -# bizarre bug on SunOS 4.1.3.
1.23217 -if $ac_need_defaults; then
1.23218 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1.23219 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1.23220 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1.23221 -fi
1.23222 -
1.23223 -# Have a temporary directory for convenience. Make it in the build tree
1.23224 -# simply because there is no reason against having it here, and in addition,
1.23225 -# creating and moving files from /tmp can sometimes cause problems.
1.23226 -# Hook for its removal unless debugging.
1.23227 -# Note that there is a small window in which the directory will not be cleaned:
1.23228 -# after its creation but before its name has been assigned to `$tmp'.
1.23229 -$debug ||
1.23230 -{
1.23231 - tmp=
1.23232 - trap 'exit_status=$?
1.23233 - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
1.23234 -' 0
1.23235 - trap '{ (exit 1); exit 1; }' 1 2 13 15
1.23236 -}
1.23237 -# Create a (secure) tmp directory for tmp files.
1.23238 -
1.23239 -{
1.23240 - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.23241 - test -n "$tmp" && test -d "$tmp"
1.23242 -} ||
1.23243 -{
1.23244 - tmp=./conf$$-$RANDOM
1.23245 - (umask 077 && mkdir "$tmp")
1.23246 -} ||
1.23247 -{
1.23248 - echo "$me: cannot create a temporary directory in ." >&2
1.23249 - { (exit 1); exit 1; }
1.23250 -}
1.23251 -
1.23252 -#
1.23253 -# Set up the sed scripts for CONFIG_FILES section.
1.23254 -#
1.23255 -
1.23256 -# No need to generate the scripts if there are no CONFIG_FILES.
1.23257 -# This happens for instance when ./config.status config.h
1.23258 -if test -n "$CONFIG_FILES"; then
1.23259 -
1.23260 -_ACEOF
1.23261 -
1.23262 -
1.23263 -
1.23264 -ac_delim='%!_!# '
1.23265 -for ac_last_try in false false false false false :; do
1.23266 - cat >conf$$subs.sed <<_ACEOF
1.23267 -SHELL!$SHELL$ac_delim
1.23268 -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
1.23269 -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
1.23270 -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
1.23271 -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
1.23272 -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
1.23273 -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
1.23274 -exec_prefix!$exec_prefix$ac_delim
1.23275 -prefix!$prefix$ac_delim
1.23276 -program_transform_name!$program_transform_name$ac_delim
1.23277 -bindir!$bindir$ac_delim
1.23278 -sbindir!$sbindir$ac_delim
1.23279 -libexecdir!$libexecdir$ac_delim
1.23280 -datarootdir!$datarootdir$ac_delim
1.23281 -datadir!$datadir$ac_delim
1.23282 -sysconfdir!$sysconfdir$ac_delim
1.23283 -sharedstatedir!$sharedstatedir$ac_delim
1.23284 -localstatedir!$localstatedir$ac_delim
1.23285 -includedir!$includedir$ac_delim
1.23286 -oldincludedir!$oldincludedir$ac_delim
1.23287 -docdir!$docdir$ac_delim
1.23288 -infodir!$infodir$ac_delim
1.23289 -htmldir!$htmldir$ac_delim
1.23290 -dvidir!$dvidir$ac_delim
1.23291 -pdfdir!$pdfdir$ac_delim
1.23292 -psdir!$psdir$ac_delim
1.23293 -libdir!$libdir$ac_delim
1.23294 -localedir!$localedir$ac_delim
1.23295 -mandir!$mandir$ac_delim
1.23296 -DEFS!$DEFS$ac_delim
1.23297 -ECHO_C!$ECHO_C$ac_delim
1.23298 -ECHO_N!$ECHO_N$ac_delim
1.23299 -ECHO_T!$ECHO_T$ac_delim
1.23300 -LIBS!$LIBS$ac_delim
1.23301 -build_alias!$build_alias$ac_delim
1.23302 -host_alias!$host_alias$ac_delim
1.23303 -target_alias!$target_alias$ac_delim
1.23304 -build!$build$ac_delim
1.23305 -build_cpu!$build_cpu$ac_delim
1.23306 -build_vendor!$build_vendor$ac_delim
1.23307 -build_os!$build_os$ac_delim
1.23308 -host!$host$ac_delim
1.23309 -host_cpu!$host_cpu$ac_delim
1.23310 -host_vendor!$host_vendor$ac_delim
1.23311 -host_os!$host_os$ac_delim
1.23312 -target!$target$ac_delim
1.23313 -target_cpu!$target_cpu$ac_delim
1.23314 -target_vendor!$target_vendor$ac_delim
1.23315 -target_os!$target_os$ac_delim
1.23316 -MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
1.23317 -MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
1.23318 -MAINT!$MAINT$ac_delim
1.23319 -GST_PLUGINS_VERSION!$GST_PLUGINS_VERSION$ac_delim
1.23320 -GST_PLUGINS_VERSION_RELEASE!$GST_PLUGINS_VERSION_RELEASE$ac_delim
1.23321 -GST_PLUGINS_VERSION_MAJOR!$GST_PLUGINS_VERSION_MAJOR$ac_delim
1.23322 -GST_PLUGINS_VERSION_MINOR!$GST_PLUGINS_VERSION_MINOR$ac_delim
1.23323 -GST_PLUGINS_VERSION_MICRO!$GST_PLUGINS_VERSION_MICRO$ac_delim
1.23324 -GST_PLUGINS_VERSION_NANO!$GST_PLUGINS_VERSION_NANO$ac_delim
1.23325 -PACKAGE!$PACKAGE$ac_delim
1.23326 -VERSION!$VERSION$ac_delim
1.23327 -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
1.23328 -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
1.23329 -INSTALL_DATA!$INSTALL_DATA$ac_delim
1.23330 -CYGPATH_W!$CYGPATH_W$ac_delim
1.23331 -ACLOCAL!$ACLOCAL$ac_delim
1.23332 -AUTOCONF!$AUTOCONF$ac_delim
1.23333 -AUTOMAKE!$AUTOMAKE$ac_delim
1.23334 -AUTOHEADER!$AUTOHEADER$ac_delim
1.23335 -MAKEINFO!$MAKEINFO$ac_delim
1.23336 -install_sh!$install_sh$ac_delim
1.23337 -STRIP!$STRIP$ac_delim
1.23338 -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
1.23339 -mkdir_p!$mkdir_p$ac_delim
1.23340 -AWK!$AWK$ac_delim
1.23341 -SET_MAKE!$SET_MAKE$ac_delim
1.23342 -am__leading_dot!$am__leading_dot$ac_delim
1.23343 -AMTAR!$AMTAR$ac_delim
1.23344 -am__tar!$am__tar$ac_delim
1.23345 -am__untar!$am__untar$ac_delim
1.23346 -CC!$CC$ac_delim
1.23347 -CFLAGS!$CFLAGS$ac_delim
1.23348 -LDFLAGS!$LDFLAGS$ac_delim
1.23349 -CPPFLAGS!$CPPFLAGS$ac_delim
1.23350 -ac_ct_CC!$ac_ct_CC$ac_delim
1.23351 -EXEEXT!$EXEEXT$ac_delim
1.23352 -OBJEXT!$OBJEXT$ac_delim
1.23353 -DEPDIR!$DEPDIR$ac_delim
1.23354 -am__include!$am__include$ac_delim
1.23355 -am__quote!$am__quote$ac_delim
1.23356 -AMDEP_TRUE!$AMDEP_TRUE$ac_delim
1.23357 -AMDEP_FALSE!$AMDEP_FALSE$ac_delim
1.23358 -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
1.23359 -CCDEPMODE!$CCDEPMODE$ac_delim
1.23360 -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
1.23361 -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
1.23362 -GREP!$GREP$ac_delim
1.23363 -EGREP!$EGREP$ac_delim
1.23364 -_ACEOF
1.23365 -
1.23366 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1.23367 - break
1.23368 - elif $ac_last_try; then
1.23369 - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1.23370 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
1.23371 - { (exit 1); exit 1; }; }
1.23372 - else
1.23373 - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.23374 - fi
1.23375 -done
1.23376 -
1.23377 -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
1.23378 -if test -n "$ac_eof"; then
1.23379 - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
1.23380 - ac_eof=`expr $ac_eof + 1`
1.23381 -fi
1.23382 -
1.23383 -cat >>$CONFIG_STATUS <<_ACEOF
1.23384 -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
1.23385 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.23386 -_ACEOF
1.23387 -sed '
1.23388 -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
1.23389 -s/^/s,@/; s/!/@,|#_!!_#|/
1.23390 -:n
1.23391 -t n
1.23392 -s/'"$ac_delim"'$/,g/; t
1.23393 -s/$/\\/; p
1.23394 -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
1.23395 -' >>$CONFIG_STATUS <conf$$subs.sed
1.23396 -rm -f conf$$subs.sed
1.23397 -cat >>$CONFIG_STATUS <<_ACEOF
1.23398 -CEOF$ac_eof
1.23399 -_ACEOF
1.23400 -
1.23401 -
1.23402 -ac_delim='%!_!# '
1.23403 -for ac_last_try in false false false false false :; do
1.23404 - cat >conf$$subs.sed <<_ACEOF
1.23405 -LN_S!$LN_S$ac_delim
1.23406 -ECHO!$ECHO$ac_delim
1.23407 -AR!$AR$ac_delim
1.23408 -RANLIB!$RANLIB$ac_delim
1.23409 -CPP!$CPP$ac_delim
1.23410 -CXX!$CXX$ac_delim
1.23411 -CXXFLAGS!$CXXFLAGS$ac_delim
1.23412 -ac_ct_CXX!$ac_ct_CXX$ac_delim
1.23413 -CXXDEPMODE!$CXXDEPMODE$ac_delim
1.23414 -am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
1.23415 -am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
1.23416 -CXXCPP!$CXXCPP$ac_delim
1.23417 -F77!$F77$ac_delim
1.23418 -FFLAGS!$FFLAGS$ac_delim
1.23419 -ac_ct_F77!$ac_ct_F77$ac_delim
1.23420 -LIBTOOL!$LIBTOOL$ac_delim
1.23421 -ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
1.23422 -CCAS!$CCAS$ac_delim
1.23423 -CCASFLAGS!$CCASFLAGS$ac_delim
1.23424 -ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
1.23425 -HAVE_CXX!$HAVE_CXX$ac_delim
1.23426 -HAVE_PKGCONFIG!$HAVE_PKGCONFIG$ac_delim
1.23427 -PKG_CONFIG!$PKG_CONFIG$ac_delim
1.23428 -GST_CFLAGS!$GST_CFLAGS$ac_delim
1.23429 -GST_LIBS!$GST_LIBS$ac_delim
1.23430 -GST_MAJORMINOR!$GST_MAJORMINOR$ac_delim
1.23431 -GST_BASE_CFLAGS!$GST_BASE_CFLAGS$ac_delim
1.23432 -GST_BASE_LIBS!$GST_BASE_LIBS$ac_delim
1.23433 -GST_PLUGINS_BASE_CFLAGS!$GST_PLUGINS_BASE_CFLAGS$ac_delim
1.23434 -GST_PLUGINS_BASE_LIBS!$GST_PLUGINS_BASE_LIBS$ac_delim
1.23435 -plugindir!$plugindir$ac_delim
1.23436 -GST_PLUGIN_LDFLAGS!$GST_PLUGIN_LDFLAGS$ac_delim
1.23437 -LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
1.23438 -LTLIBOBJS!$LTLIBOBJS$ac_delim
1.23439 -_ACEOF
1.23440 -
1.23441 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
1.23442 - break
1.23443 - elif $ac_last_try; then
1.23444 - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1.23445 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
1.23446 - { (exit 1); exit 1; }; }
1.23447 - else
1.23448 - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.23449 - fi
1.23450 -done
1.23451 -
1.23452 -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
1.23453 -if test -n "$ac_eof"; then
1.23454 - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
1.23455 - ac_eof=`expr $ac_eof + 1`
1.23456 -fi
1.23457 -
1.23458 -cat >>$CONFIG_STATUS <<_ACEOF
1.23459 -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
1.23460 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
1.23461 -_ACEOF
1.23462 -sed '
1.23463 -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
1.23464 -s/^/s,@/; s/!/@,|#_!!_#|/
1.23465 -:n
1.23466 -t n
1.23467 -s/'"$ac_delim"'$/,g/; t
1.23468 -s/$/\\/; p
1.23469 -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
1.23470 -' >>$CONFIG_STATUS <conf$$subs.sed
1.23471 -rm -f conf$$subs.sed
1.23472 -cat >>$CONFIG_STATUS <<_ACEOF
1.23473 -:end
1.23474 -s/|#_!!_#|//g
1.23475 -CEOF$ac_eof
1.23476 -_ACEOF
1.23477 -
1.23478 -
1.23479 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
1.23480 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1.23481 -# trailing colons and then remove the whole line if VPATH becomes empty
1.23482 -# (actually we leave an empty line to preserve line numbers).
1.23483 -if test "x$srcdir" = x.; then
1.23484 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
1.23485 -s/:*\$(srcdir):*/:/
1.23486 -s/:*\${srcdir}:*/:/
1.23487 -s/:*@srcdir@:*/:/
1.23488 -s/^\([^=]*=[ ]*\):*/\1/
1.23489 -s/:*$//
1.23490 -s/^[^=]*=[ ]*$//
1.23491 -}'
1.23492 -fi
1.23493 -
1.23494 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23495 -fi # test -n "$CONFIG_FILES"
1.23496 -
1.23497 -
1.23498 -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
1.23499 -do
1.23500 - case $ac_tag in
1.23501 - :[FHLC]) ac_mode=$ac_tag; continue;;
1.23502 - esac
1.23503 - case $ac_mode$ac_tag in
1.23504 - :[FHL]*:*);;
1.23505 - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
1.23506 -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
1.23507 - { (exit 1); exit 1; }; };;
1.23508 - :[FH]-) ac_tag=-:-;;
1.23509 - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1.23510 - esac
1.23511 - ac_save_IFS=$IFS
1.23512 - IFS=:
1.23513 - set x $ac_tag
1.23514 - IFS=$ac_save_IFS
1.23515 - shift
1.23516 - ac_file=$1
1.23517 - shift
1.23518 -
1.23519 - case $ac_mode in
1.23520 - :L) ac_source=$1;;
1.23521 - :[FH])
1.23522 - ac_file_inputs=
1.23523 - for ac_f
1.23524 - do
1.23525 - case $ac_f in
1.23526 - -) ac_f="$tmp/stdin";;
1.23527 - *) # Look for the file first in the build tree, then in the source tree
1.23528 - # (if the path is not absolute). The absolute path cannot be DOS-style,
1.23529 - # because $ac_f cannot contain `:'.
1.23530 - test -f "$ac_f" ||
1.23531 - case $ac_f in
1.23532 - [\\/$]*) false;;
1.23533 - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1.23534 - esac ||
1.23535 - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
1.23536 -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
1.23537 - { (exit 1); exit 1; }; };;
1.23538 - esac
1.23539 - ac_file_inputs="$ac_file_inputs $ac_f"
1.23540 - done
1.23541 -
1.23542 - # Let's still pretend it is `configure' which instantiates (i.e., don't
1.23543 - # use $as_me), people would be surprised to read:
1.23544 - # /* config.h. Generated by config.status. */
1.23545 - configure_input="Generated from "`IFS=:
1.23546 - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
1.23547 - if test x"$ac_file" != x-; then
1.23548 - configure_input="$ac_file. $configure_input"
1.23549 - { echo "$as_me:$LINENO: creating $ac_file" >&5
1.23550 -echo "$as_me: creating $ac_file" >&6;}
1.23551 - fi
1.23552 -
1.23553 - case $ac_tag in
1.23554 - *:-:* | *:-) cat >"$tmp/stdin";;
1.23555 - esac
1.23556 - ;;
1.23557 - esac
1.23558 -
1.23559 - ac_dir=`$as_dirname -- "$ac_file" ||
1.23560 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23561 - X"$ac_file" : 'X\(//\)[^/]' \| \
1.23562 - X"$ac_file" : 'X\(//\)$' \| \
1.23563 - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.23564 -echo X"$ac_file" |
1.23565 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23566 - s//\1/
1.23567 - q
1.23568 - }
1.23569 - /^X\(\/\/\)[^/].*/{
1.23570 - s//\1/
1.23571 - q
1.23572 - }
1.23573 - /^X\(\/\/\)$/{
1.23574 - s//\1/
1.23575 - q
1.23576 - }
1.23577 - /^X\(\/\).*/{
1.23578 - s//\1/
1.23579 - q
1.23580 - }
1.23581 - s/.*/./; q'`
1.23582 - { as_dir="$ac_dir"
1.23583 - case $as_dir in #(
1.23584 - -*) as_dir=./$as_dir;;
1.23585 - esac
1.23586 - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.23587 - as_dirs=
1.23588 - while :; do
1.23589 - case $as_dir in #(
1.23590 - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
1.23591 - *) as_qdir=$as_dir;;
1.23592 - esac
1.23593 - as_dirs="'$as_qdir' $as_dirs"
1.23594 - as_dir=`$as_dirname -- "$as_dir" ||
1.23595 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23596 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.23597 - X"$as_dir" : 'X\(//\)$' \| \
1.23598 - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.23599 -echo X"$as_dir" |
1.23600 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23601 - s//\1/
1.23602 - q
1.23603 - }
1.23604 - /^X\(\/\/\)[^/].*/{
1.23605 - s//\1/
1.23606 - q
1.23607 - }
1.23608 - /^X\(\/\/\)$/{
1.23609 - s//\1/
1.23610 - q
1.23611 - }
1.23612 - /^X\(\/\).*/{
1.23613 - s//\1/
1.23614 - q
1.23615 - }
1.23616 - s/.*/./; q'`
1.23617 - test -d "$as_dir" && break
1.23618 - done
1.23619 - test -z "$as_dirs" || eval "mkdir $as_dirs"
1.23620 - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1.23621 -echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.23622 - { (exit 1); exit 1; }; }; }
1.23623 - ac_builddir=.
1.23624 -
1.23625 -case "$ac_dir" in
1.23626 -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.23627 -*)
1.23628 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.23629 - # A ".." for each directory in $ac_dir_suffix.
1.23630 - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1.23631 - case $ac_top_builddir_sub in
1.23632 - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.23633 - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1.23634 - esac ;;
1.23635 -esac
1.23636 -ac_abs_top_builddir=$ac_pwd
1.23637 -ac_abs_builddir=$ac_pwd$ac_dir_suffix
1.23638 -# for backward compatibility:
1.23639 -ac_top_builddir=$ac_top_build_prefix
1.23640 -
1.23641 -case $srcdir in
1.23642 - .) # We are building in place.
1.23643 - ac_srcdir=.
1.23644 - ac_top_srcdir=$ac_top_builddir_sub
1.23645 - ac_abs_top_srcdir=$ac_pwd ;;
1.23646 - [\\/]* | ?:[\\/]* ) # Absolute name.
1.23647 - ac_srcdir=$srcdir$ac_dir_suffix;
1.23648 - ac_top_srcdir=$srcdir
1.23649 - ac_abs_top_srcdir=$srcdir ;;
1.23650 - *) # Relative name.
1.23651 - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1.23652 - ac_top_srcdir=$ac_top_build_prefix$srcdir
1.23653 - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.23654 -esac
1.23655 -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.23656 -
1.23657 -
1.23658 - case $ac_mode in
1.23659 - :F)
1.23660 - #
1.23661 - # CONFIG_FILE
1.23662 - #
1.23663 -
1.23664 - case $INSTALL in
1.23665 - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.23666 - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.23667 - esac
1.23668 -_ACEOF
1.23669 -
1.23670 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23671 -# If the template does not know about datarootdir, expand it.
1.23672 -# FIXME: This hack should be removed a few years after 2.60.
1.23673 -ac_datarootdir_hack=; ac_datarootdir_seen=
1.23674 -
1.23675 -case `sed -n '/datarootdir/ {
1.23676 - p
1.23677 - q
1.23678 -}
1.23679 -/@datadir@/p
1.23680 -/@docdir@/p
1.23681 -/@infodir@/p
1.23682 -/@localedir@/p
1.23683 -/@mandir@/p
1.23684 -' $ac_file_inputs` in
1.23685 -*datarootdir*) ac_datarootdir_seen=yes;;
1.23686 -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.23687 - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.23688 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.23689 -_ACEOF
1.23690 -cat >>$CONFIG_STATUS <<_ACEOF
1.23691 - ac_datarootdir_hack='
1.23692 - s&@datadir@&$datadir&g
1.23693 - s&@docdir@&$docdir&g
1.23694 - s&@infodir@&$infodir&g
1.23695 - s&@localedir@&$localedir&g
1.23696 - s&@mandir@&$mandir&g
1.23697 - s&\\\${datarootdir}&$datarootdir&g' ;;
1.23698 -esac
1.23699 -_ACEOF
1.23700 -
1.23701 -# Neutralize VPATH when `$srcdir' = `.'.
1.23702 -# Shell code in configure.ac might set extrasub.
1.23703 -# FIXME: do we really want to maintain this feature?
1.23704 -cat >>$CONFIG_STATUS <<_ACEOF
1.23705 - sed "$ac_vpsub
1.23706 -$extrasub
1.23707 -_ACEOF
1.23708 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23709 -:t
1.23710 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.23711 -s&@configure_input@&$configure_input&;t t
1.23712 -s&@top_builddir@&$ac_top_builddir_sub&;t t
1.23713 -s&@srcdir@&$ac_srcdir&;t t
1.23714 -s&@abs_srcdir@&$ac_abs_srcdir&;t t
1.23715 -s&@top_srcdir@&$ac_top_srcdir&;t t
1.23716 -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1.23717 -s&@builddir@&$ac_builddir&;t t
1.23718 -s&@abs_builddir@&$ac_abs_builddir&;t t
1.23719 -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.23720 -s&@INSTALL@&$ac_INSTALL&;t t
1.23721 -$ac_datarootdir_hack
1.23722 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
1.23723 -
1.23724 -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.23725 - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1.23726 - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1.23727 - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.23728 -which seems to be undefined. Please make sure it is defined." >&5
1.23729 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.23730 -which seems to be undefined. Please make sure it is defined." >&2;}
1.23731 -
1.23732 - rm -f "$tmp/stdin"
1.23733 - case $ac_file in
1.23734 - -) cat "$tmp/out"; rm -f "$tmp/out";;
1.23735 - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
1.23736 - esac
1.23737 - ;;
1.23738 - :H)
1.23739 - #
1.23740 - # CONFIG_HEADER
1.23741 - #
1.23742 -_ACEOF
1.23743 -
1.23744 -# Transform confdefs.h into a sed script `conftest.defines', that
1.23745 -# substitutes the proper values into config.h.in to produce config.h.
1.23746 -rm -f conftest.defines conftest.tail
1.23747 -# First, append a space to every undef/define line, to ease matching.
1.23748 -echo 's/$/ /' >conftest.defines
1.23749 -# Then, protect against being on the right side of a sed subst, or in
1.23750 -# an unquoted here document, in config.status. If some macros were
1.23751 -# called several times there might be several #defines for the same
1.23752 -# symbol, which is useless. But do not sort them, since the last
1.23753 -# AC_DEFINE must be honored.
1.23754 -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
1.23755 -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
1.23756 -# NAME is the cpp macro being defined, VALUE is the value it is being given.
1.23757 -# PARAMS is the parameter list in the macro definition--in most cases, it's
1.23758 -# just an empty string.
1.23759 -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
1.23760 -ac_dB='\\)[ (].*,\\1define\\2'
1.23761 -ac_dC=' '
1.23762 -ac_dD=' ,'
1.23763 -
1.23764 -uniq confdefs.h |
1.23765 - sed -n '
1.23766 - t rset
1.23767 - :rset
1.23768 - s/^[ ]*#[ ]*define[ ][ ]*//
1.23769 - t ok
1.23770 - d
1.23771 - :ok
1.23772 - s/[\\&,]/\\&/g
1.23773 - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
1.23774 - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
1.23775 - ' >>conftest.defines
1.23776 -
1.23777 -# Remove the space that was appended to ease matching.
1.23778 -# Then replace #undef with comments. This is necessary, for
1.23779 -# example, in the case of _POSIX_SOURCE, which is predefined and required
1.23780 -# on some systems where configure will not decide to define it.
1.23781 -# (The regexp can be short, since the line contains either #define or #undef.)
1.23782 -echo 's/ $//
1.23783 -s,^[ #]*u.*,/* & */,' >>conftest.defines
1.23784 -
1.23785 -# Break up conftest.defines:
1.23786 -ac_max_sed_lines=50
1.23787 -
1.23788 -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
1.23789 -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
1.23790 -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
1.23791 -# et cetera.
1.23792 -ac_in='$ac_file_inputs'
1.23793 -ac_out='"$tmp/out1"'
1.23794 -ac_nxt='"$tmp/out2"'
1.23795 -
1.23796 -while :
1.23797 -do
1.23798 - # Write a here document:
1.23799 - cat >>$CONFIG_STATUS <<_ACEOF
1.23800 - # First, check the format of the line:
1.23801 - cat >"\$tmp/defines.sed" <<\\CEOF
1.23802 -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
1.23803 -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
1.23804 -b
1.23805 -:def
1.23806 -_ACEOF
1.23807 - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
1.23808 - echo 'CEOF
1.23809 - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
1.23810 - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
1.23811 - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
1.23812 - grep . conftest.tail >/dev/null || break
1.23813 - rm -f conftest.defines
1.23814 - mv conftest.tail conftest.defines
1.23815 -done
1.23816 -rm -f conftest.defines conftest.tail
1.23817 -
1.23818 -echo "ac_result=$ac_in" >>$CONFIG_STATUS
1.23819 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23820 - if test x"$ac_file" != x-; then
1.23821 - echo "/* $configure_input */" >"$tmp/config.h"
1.23822 - cat "$ac_result" >>"$tmp/config.h"
1.23823 - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
1.23824 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1.23825 -echo "$as_me: $ac_file is unchanged" >&6;}
1.23826 - else
1.23827 - rm -f $ac_file
1.23828 - mv "$tmp/config.h" $ac_file
1.23829 - fi
1.23830 - else
1.23831 - echo "/* $configure_input */"
1.23832 - cat "$ac_result"
1.23833 - fi
1.23834 - rm -f "$tmp/out12"
1.23835 -# Compute $ac_file's index in $config_headers.
1.23836 -_am_stamp_count=1
1.23837 -for _am_header in $config_headers :; do
1.23838 - case $_am_header in
1.23839 - $ac_file | $ac_file:* )
1.23840 - break ;;
1.23841 - * )
1.23842 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1.23843 - esac
1.23844 -done
1.23845 -echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
1.23846 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23847 - X$ac_file : 'X\(//\)[^/]' \| \
1.23848 - X$ac_file : 'X\(//\)$' \| \
1.23849 - X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
1.23850 -echo X$ac_file |
1.23851 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23852 - s//\1/
1.23853 - q
1.23854 - }
1.23855 - /^X\(\/\/\)[^/].*/{
1.23856 - s//\1/
1.23857 - q
1.23858 - }
1.23859 - /^X\(\/\/\)$/{
1.23860 - s//\1/
1.23861 - q
1.23862 - }
1.23863 - /^X\(\/\).*/{
1.23864 - s//\1/
1.23865 - q
1.23866 - }
1.23867 - s/.*/./; q'`/stamp-h$_am_stamp_count
1.23868 - ;;
1.23869 -
1.23870 - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
1.23871 -echo "$as_me: executing $ac_file commands" >&6;}
1.23872 - ;;
1.23873 - esac
1.23874 -
1.23875 -
1.23876 - case $ac_file$ac_mode in
1.23877 - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1.23878 - # Strip MF so we end up with the name of the file.
1.23879 - mf=`echo "$mf" | sed -e 's/:.*$//'`
1.23880 - # Check whether this is an Automake generated Makefile or not.
1.23881 - # We used to match only the files named `Makefile.in', but
1.23882 - # some people rename them; so instead we look at the file content.
1.23883 - # Grep'ing the first line is not enough: some people post-process
1.23884 - # each Makefile.in and add a new line on top of each file to say so.
1.23885 - # So let's grep whole file.
1.23886 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1.23887 - dirpart=`$as_dirname -- "$mf" ||
1.23888 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23889 - X"$mf" : 'X\(//\)[^/]' \| \
1.23890 - X"$mf" : 'X\(//\)$' \| \
1.23891 - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.23892 -echo X"$mf" |
1.23893 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23894 - s//\1/
1.23895 - q
1.23896 - }
1.23897 - /^X\(\/\/\)[^/].*/{
1.23898 - s//\1/
1.23899 - q
1.23900 - }
1.23901 - /^X\(\/\/\)$/{
1.23902 - s//\1/
1.23903 - q
1.23904 - }
1.23905 - /^X\(\/\).*/{
1.23906 - s//\1/
1.23907 - q
1.23908 - }
1.23909 - s/.*/./; q'`
1.23910 - else
1.23911 - continue
1.23912 - fi
1.23913 - # Extract the definition of DEPDIR, am__include, and am__quote
1.23914 - # from the Makefile without running `make'.
1.23915 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.23916 - test -z "$DEPDIR" && continue
1.23917 - am__include=`sed -n 's/^am__include = //p' < "$mf"`
1.23918 - test -z "am__include" && continue
1.23919 - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.23920 - # When using ansi2knr, U may be empty or an underscore; expand it
1.23921 - U=`sed -n 's/^U = //p' < "$mf"`
1.23922 - # Find all dependency output files, they are included files with
1.23923 - # $(DEPDIR) in their names. We invoke sed twice because it is the
1.23924 - # simplest approach to changing $(DEPDIR) to its actual value in the
1.23925 - # expansion.
1.23926 - for file in `sed -n "
1.23927 - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.23928 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1.23929 - # Make sure the directory exists.
1.23930 - test -f "$dirpart/$file" && continue
1.23931 - fdir=`$as_dirname -- "$file" ||
1.23932 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23933 - X"$file" : 'X\(//\)[^/]' \| \
1.23934 - X"$file" : 'X\(//\)$' \| \
1.23935 - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.23936 -echo X"$file" |
1.23937 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23938 - s//\1/
1.23939 - q
1.23940 - }
1.23941 - /^X\(\/\/\)[^/].*/{
1.23942 - s//\1/
1.23943 - q
1.23944 - }
1.23945 - /^X\(\/\/\)$/{
1.23946 - s//\1/
1.23947 - q
1.23948 - }
1.23949 - /^X\(\/\).*/{
1.23950 - s//\1/
1.23951 - q
1.23952 - }
1.23953 - s/.*/./; q'`
1.23954 - { as_dir=$dirpart/$fdir
1.23955 - case $as_dir in #(
1.23956 - -*) as_dir=./$as_dir;;
1.23957 - esac
1.23958 - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.23959 - as_dirs=
1.23960 - while :; do
1.23961 - case $as_dir in #(
1.23962 - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
1.23963 - *) as_qdir=$as_dir;;
1.23964 - esac
1.23965 - as_dirs="'$as_qdir' $as_dirs"
1.23966 - as_dir=`$as_dirname -- "$as_dir" ||
1.23967 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23968 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.23969 - X"$as_dir" : 'X\(//\)$' \| \
1.23970 - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.23971 -echo X"$as_dir" |
1.23972 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23973 - s//\1/
1.23974 - q
1.23975 - }
1.23976 - /^X\(\/\/\)[^/].*/{
1.23977 - s//\1/
1.23978 - q
1.23979 - }
1.23980 - /^X\(\/\/\)$/{
1.23981 - s//\1/
1.23982 - q
1.23983 - }
1.23984 - /^X\(\/\).*/{
1.23985 - s//\1/
1.23986 - q
1.23987 - }
1.23988 - s/.*/./; q'`
1.23989 - test -d "$as_dir" && break
1.23990 - done
1.23991 - test -z "$as_dirs" || eval "mkdir $as_dirs"
1.23992 - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1.23993 -echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.23994 - { (exit 1); exit 1; }; }; }
1.23995 - # echo "creating $dirpart/$file"
1.23996 - echo '# dummy' > "$dirpart/$file"
1.23997 - done
1.23998 -done
1.23999 - ;;
1.24000 -
1.24001 - esac
1.24002 -done # for ac_tag
1.24003 -
1.24004 -
1.24005 -{ (exit 0); exit 0; }
1.24006 -_ACEOF
1.24007 -chmod +x $CONFIG_STATUS
1.24008 -ac_clean_files=$ac_clean_files_save
1.24009 -
1.24010 -
1.24011 -# configure is writing to config.log, and then calls config.status.
1.24012 -# config.status does its own redirection, appending to config.log.
1.24013 -# Unfortunately, on DOS this fails, as config.log is still kept open
1.24014 -# by configure, so config.status won't be able to write to it; its
1.24015 -# output is simply discarded. So we exec the FD to /dev/null,
1.24016 -# effectively closing config.log, so it can be properly (re)opened and
1.24017 -# appended to by config.status. When coming back to configure, we
1.24018 -# need to make the FD available again.
1.24019 -if test "$no_create" != yes; then
1.24020 - ac_cs_success=:
1.24021 - ac_config_status_args=
1.24022 - test "$silent" = yes &&
1.24023 - ac_config_status_args="$ac_config_status_args --quiet"
1.24024 - exec 5>/dev/null
1.24025 - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.24026 - exec 5>>config.log
1.24027 - # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1.24028 - # would make configure fail if this is the last instruction.
1.24029 - $ac_cs_success || { (exit 1); exit 1; }
1.24030 -fi
1.24031 -
1.24032 -