1.1 --- a/gst-gpac/autom4te.cache/output.0 Thu Feb 21 17:44:16 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,24171 +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 -am__isrc
1.836 -CYGPATH_W
1.837 -ACLOCAL
1.838 -AUTOCONF
1.839 -AUTOMAKE
1.840 -AUTOHEADER
1.841 -MAKEINFO
1.842 -install_sh
1.843 -STRIP
1.844 -INSTALL_STRIP_PROGRAM
1.845 -mkdir_p
1.846 -AWK
1.847 -SET_MAKE
1.848 -am__leading_dot
1.849 -AMTAR
1.850 -am__tar
1.851 -am__untar
1.852 -CC
1.853 -CFLAGS
1.854 -LDFLAGS
1.855 -CPPFLAGS
1.856 -ac_ct_CC
1.857 -EXEEXT
1.858 -OBJEXT
1.859 -DEPDIR
1.860 -am__include
1.861 -am__quote
1.862 -AMDEP_TRUE
1.863 -AMDEP_FALSE
1.864 -AMDEPBACKSLASH
1.865 -CCDEPMODE
1.866 -am__fastdepCC_TRUE
1.867 -am__fastdepCC_FALSE
1.868 -GREP
1.869 -EGREP
1.870 -LN_S
1.871 -ECHO
1.872 -AR
1.873 -RANLIB
1.874 -CPP
1.875 -CXX
1.876 -CXXFLAGS
1.877 -ac_ct_CXX
1.878 -CXXDEPMODE
1.879 -am__fastdepCXX_TRUE
1.880 -am__fastdepCXX_FALSE
1.881 -CXXCPP
1.882 -F77
1.883 -FFLAGS
1.884 -ac_ct_F77
1.885 -LIBTOOL
1.886 -ACLOCAL_AMFLAGS
1.887 -CCAS
1.888 -CCASFLAGS
1.889 -CCASDEPMODE
1.890 -am__fastdepCCAS_TRUE
1.891 -am__fastdepCCAS_FALSE
1.892 -ERROR_CFLAGS
1.893 -HAVE_CXX
1.894 -HAVE_PKGCONFIG
1.895 -PKG_CONFIG
1.896 -GST_CFLAGS
1.897 -GST_LIBS
1.898 -GST_MAJORMINOR
1.899 -GST_BASE_CFLAGS
1.900 -GST_BASE_LIBS
1.901 -GST_PLUGINS_BASE_CFLAGS
1.902 -GST_PLUGINS_BASE_LIBS
1.903 -plugindir
1.904 -GST_PLUGIN_LDFLAGS
1.905 -LIB@&t@OBJS
1.906 -LTLIBOBJS'
1.907 -ac_subst_files=''
1.908 - ac_precious_vars='build_alias
1.909 -host_alias
1.910 -target_alias
1.911 -CC
1.912 -CFLAGS
1.913 -LDFLAGS
1.914 -LIBS
1.915 -CPPFLAGS
1.916 -CPP
1.917 -CXX
1.918 -CXXFLAGS
1.919 -CCC
1.920 -CXXCPP
1.921 -F77
1.922 -FFLAGS
1.923 -CCAS
1.924 -CCASFLAGS
1.925 -PKG_CONFIG
1.926 -GST_CFLAGS
1.927 -GST_LIBS
1.928 -GST_BASE_CFLAGS
1.929 -GST_BASE_LIBS
1.930 -GST_PLUGINS_BASE_CFLAGS
1.931 -GST_PLUGINS_BASE_LIBS'
1.932 -
1.933 -
1.934 -# Initialize some variables set by options.
1.935 -ac_init_help=
1.936 -ac_init_version=false
1.937 -# The variables have the same names as the options, with
1.938 -# dashes changed to underlines.
1.939 -cache_file=/dev/null
1.940 -exec_prefix=NONE
1.941 -no_create=
1.942 -no_recursion=
1.943 -prefix=NONE
1.944 -program_prefix=NONE
1.945 -program_suffix=NONE
1.946 -program_transform_name=s,x,x,
1.947 -silent=
1.948 -site=
1.949 -srcdir=
1.950 -verbose=
1.951 -x_includes=NONE
1.952 -x_libraries=NONE
1.953 -
1.954 -# Installation directory options.
1.955 -# These are left unexpanded so users can "make install exec_prefix=/foo"
1.956 -# and all the variables that are supposed to be based on exec_prefix
1.957 -# by default will actually change.
1.958 -# Use braces instead of parens because sh, perl, etc. also accept them.
1.959 -# (The list follows the same order as the GNU Coding Standards.)
1.960 -bindir='${exec_prefix}/bin'
1.961 -sbindir='${exec_prefix}/sbin'
1.962 -libexecdir='${exec_prefix}/libexec'
1.963 -datarootdir='${prefix}/share'
1.964 -datadir='${datarootdir}'
1.965 -sysconfdir='${prefix}/etc'
1.966 -sharedstatedir='${prefix}/com'
1.967 -localstatedir='${prefix}/var'
1.968 -includedir='${prefix}/include'
1.969 -oldincludedir='/usr/include'
1.970 -docdir='${datarootdir}/doc/${PACKAGE}'
1.971 -infodir='${datarootdir}/info'
1.972 -htmldir='${docdir}'
1.973 -dvidir='${docdir}'
1.974 -pdfdir='${docdir}'
1.975 -psdir='${docdir}'
1.976 -libdir='${exec_prefix}/lib'
1.977 -localedir='${datarootdir}/locale'
1.978 -mandir='${datarootdir}/man'
1.979 -
1.980 -ac_prev=
1.981 -ac_dashdash=
1.982 -for ac_option
1.983 -do
1.984 - # If the previous option needs an argument, assign it.
1.985 - if test -n "$ac_prev"; then
1.986 - eval $ac_prev=\$ac_option
1.987 - ac_prev=
1.988 - continue
1.989 - fi
1.990 -
1.991 - case $ac_option in
1.992 - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1.993 - *) ac_optarg=yes ;;
1.994 - esac
1.995 -
1.996 - # Accept the important Cygnus configure options, so we can diagnose typos.
1.997 -
1.998 - case $ac_dashdash$ac_option in
1.999 - --)
1.1000 - ac_dashdash=yes ;;
1.1001 -
1.1002 - -bindir | --bindir | --bindi | --bind | --bin | --bi)
1.1003 - ac_prev=bindir ;;
1.1004 - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.1005 - bindir=$ac_optarg ;;
1.1006 -
1.1007 - -build | --build | --buil | --bui | --bu)
1.1008 - ac_prev=build_alias ;;
1.1009 - -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.1010 - build_alias=$ac_optarg ;;
1.1011 -
1.1012 - -cache-file | --cache-file | --cache-fil | --cache-fi \
1.1013 - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1.1014 - ac_prev=cache_file ;;
1.1015 - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.1016 - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.1017 - cache_file=$ac_optarg ;;
1.1018 -
1.1019 - --config-cache | -C)
1.1020 - cache_file=config.cache ;;
1.1021 -
1.1022 - -datadir | --datadir | --datadi | --datad)
1.1023 - ac_prev=datadir ;;
1.1024 - -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1025 - datadir=$ac_optarg ;;
1.1026 -
1.1027 - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1.1028 - | --dataroo | --dataro | --datar)
1.1029 - ac_prev=datarootdir ;;
1.1030 - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1.1031 - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1.1032 - datarootdir=$ac_optarg ;;
1.1033 -
1.1034 - -disable-* | --disable-*)
1.1035 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1036 - # Reject names that are not valid shell variable names.
1.1037 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1038 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.1039 - { (exit 1); exit 1; }; }
1.1040 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1.1041 - eval enable_$ac_feature=no ;;
1.1042 -
1.1043 - -docdir | --docdir | --docdi | --doc | --do)
1.1044 - ac_prev=docdir ;;
1.1045 - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1.1046 - docdir=$ac_optarg ;;
1.1047 -
1.1048 - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1.1049 - ac_prev=dvidir ;;
1.1050 - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1.1051 - dvidir=$ac_optarg ;;
1.1052 -
1.1053 - -enable-* | --enable-*)
1.1054 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1055 - # Reject names that are not valid shell variable names.
1.1056 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1057 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.1058 - { (exit 1); exit 1; }; }
1.1059 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1.1060 - eval enable_$ac_feature=\$ac_optarg ;;
1.1061 -
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 - ac_prev=exec_prefix ;;
1.1066 - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1.1067 - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1.1068 - | --exec=* | --exe=* | --ex=*)
1.1069 - exec_prefix=$ac_optarg ;;
1.1070 -
1.1071 - -gas | --gas | --ga | --g)
1.1072 - # Obsolete; use --with-gas.
1.1073 - with_gas=yes ;;
1.1074 -
1.1075 - -help | --help | --hel | --he | -h)
1.1076 - ac_init_help=long ;;
1.1077 - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1.1078 - ac_init_help=recursive ;;
1.1079 - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1.1080 - ac_init_help=short ;;
1.1081 -
1.1082 - -host | --host | --hos | --ho)
1.1083 - ac_prev=host_alias ;;
1.1084 - -host=* | --host=* | --hos=* | --ho=*)
1.1085 - host_alias=$ac_optarg ;;
1.1086 -
1.1087 - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1.1088 - ac_prev=htmldir ;;
1.1089 - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1.1090 - | --ht=*)
1.1091 - htmldir=$ac_optarg ;;
1.1092 -
1.1093 - -includedir | --includedir | --includedi | --included | --include \
1.1094 - | --includ | --inclu | --incl | --inc)
1.1095 - ac_prev=includedir ;;
1.1096 - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1.1097 - | --includ=* | --inclu=* | --incl=* | --inc=*)
1.1098 - includedir=$ac_optarg ;;
1.1099 -
1.1100 - -infodir | --infodir | --infodi | --infod | --info | --inf)
1.1101 - ac_prev=infodir ;;
1.1102 - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.1103 - infodir=$ac_optarg ;;
1.1104 -
1.1105 - -libdir | --libdir | --libdi | --libd)
1.1106 - ac_prev=libdir ;;
1.1107 - -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.1108 - libdir=$ac_optarg ;;
1.1109 -
1.1110 - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1.1111 - | --libexe | --libex | --libe)
1.1112 - ac_prev=libexecdir ;;
1.1113 - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1.1114 - | --libexe=* | --libex=* | --libe=*)
1.1115 - libexecdir=$ac_optarg ;;
1.1116 -
1.1117 - -localedir | --localedir | --localedi | --localed | --locale)
1.1118 - ac_prev=localedir ;;
1.1119 - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1.1120 - localedir=$ac_optarg ;;
1.1121 -
1.1122 - -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1123 - | --localstate | --localstat | --localsta | --localst | --locals)
1.1124 - ac_prev=localstatedir ;;
1.1125 - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1126 - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1127 - localstatedir=$ac_optarg ;;
1.1128 -
1.1129 - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1.1130 - ac_prev=mandir ;;
1.1131 - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.1132 - mandir=$ac_optarg ;;
1.1133 -
1.1134 - -nfp | --nfp | --nf)
1.1135 - # Obsolete; use --without-fp.
1.1136 - with_fp=no ;;
1.1137 -
1.1138 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.1139 - | --no-cr | --no-c | -n)
1.1140 - no_create=yes ;;
1.1141 -
1.1142 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1.1143 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1.1144 - no_recursion=yes ;;
1.1145 -
1.1146 - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1.1147 - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1.1148 - | --oldin | --oldi | --old | --ol | --o)
1.1149 - ac_prev=oldincludedir ;;
1.1150 - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1.1151 - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1.1152 - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.1153 - oldincludedir=$ac_optarg ;;
1.1154 -
1.1155 - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1.1156 - ac_prev=prefix ;;
1.1157 - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.1158 - prefix=$ac_optarg ;;
1.1159 -
1.1160 - -program-prefix | --program-prefix | --program-prefi | --program-pref \
1.1161 - | --program-pre | --program-pr | --program-p)
1.1162 - ac_prev=program_prefix ;;
1.1163 - -program-prefix=* | --program-prefix=* | --program-prefi=* \
1.1164 - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.1165 - program_prefix=$ac_optarg ;;
1.1166 -
1.1167 - -program-suffix | --program-suffix | --program-suffi | --program-suff \
1.1168 - | --program-suf | --program-su | --program-s)
1.1169 - ac_prev=program_suffix ;;
1.1170 - -program-suffix=* | --program-suffix=* | --program-suffi=* \
1.1171 - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.1172 - program_suffix=$ac_optarg ;;
1.1173 -
1.1174 - -program-transform-name | --program-transform-name \
1.1175 - | --program-transform-nam | --program-transform-na \
1.1176 - | --program-transform-n | --program-transform- \
1.1177 - | --program-transform | --program-transfor \
1.1178 - | --program-transfo | --program-transf \
1.1179 - | --program-trans | --program-tran \
1.1180 - | --progr-tra | --program-tr | --program-t)
1.1181 - ac_prev=program_transform_name ;;
1.1182 - -program-transform-name=* | --program-transform-name=* \
1.1183 - | --program-transform-nam=* | --program-transform-na=* \
1.1184 - | --program-transform-n=* | --program-transform-=* \
1.1185 - | --program-transform=* | --program-transfor=* \
1.1186 - | --program-transfo=* | --program-transf=* \
1.1187 - | --program-trans=* | --program-tran=* \
1.1188 - | --progr-tra=* | --program-tr=* | --program-t=*)
1.1189 - program_transform_name=$ac_optarg ;;
1.1190 -
1.1191 - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1.1192 - ac_prev=pdfdir ;;
1.1193 - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1.1194 - pdfdir=$ac_optarg ;;
1.1195 -
1.1196 - -psdir | --psdir | --psdi | --psd | --ps)
1.1197 - ac_prev=psdir ;;
1.1198 - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1.1199 - psdir=$ac_optarg ;;
1.1200 -
1.1201 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.1202 - | -silent | --silent | --silen | --sile | --sil)
1.1203 - silent=yes ;;
1.1204 -
1.1205 - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1.1206 - ac_prev=sbindir ;;
1.1207 - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1.1208 - | --sbi=* | --sb=*)
1.1209 - sbindir=$ac_optarg ;;
1.1210 -
1.1211 - -sharedstatedir | --sharedstatedir | --sharedstatedi \
1.1212 - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1.1213 - | --sharedst | --shareds | --shared | --share | --shar \
1.1214 - | --sha | --sh)
1.1215 - ac_prev=sharedstatedir ;;
1.1216 - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1.1217 - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1.1218 - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1.1219 - | --sha=* | --sh=*)
1.1220 - sharedstatedir=$ac_optarg ;;
1.1221 -
1.1222 - -site | --site | --sit)
1.1223 - ac_prev=site ;;
1.1224 - -site=* | --site=* | --sit=*)
1.1225 - site=$ac_optarg ;;
1.1226 -
1.1227 - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1.1228 - ac_prev=srcdir ;;
1.1229 - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.1230 - srcdir=$ac_optarg ;;
1.1231 -
1.1232 - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1.1233 - | --syscon | --sysco | --sysc | --sys | --sy)
1.1234 - ac_prev=sysconfdir ;;
1.1235 - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1.1236 - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.1237 - sysconfdir=$ac_optarg ;;
1.1238 -
1.1239 - -target | --target | --targe | --targ | --tar | --ta | --t)
1.1240 - ac_prev=target_alias ;;
1.1241 - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.1242 - target_alias=$ac_optarg ;;
1.1243 -
1.1244 - -v | -verbose | --verbose | --verbos | --verbo | --verb)
1.1245 - verbose=yes ;;
1.1246 -
1.1247 - -version | --version | --versio | --versi | --vers | -V)
1.1248 - ac_init_version=: ;;
1.1249 -
1.1250 - -with-* | --with-*)
1.1251 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1252 - # Reject names that are not valid shell variable names.
1.1253 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1254 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1.1255 - { (exit 1); exit 1; }; }
1.1256 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1.1257 - eval with_$ac_package=\$ac_optarg ;;
1.1258 -
1.1259 - -without-* | --without-*)
1.1260 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1261 - # Reject names that are not valid shell variable names.
1.1262 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1263 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1.1264 - { (exit 1); exit 1; }; }
1.1265 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1.1266 - eval with_$ac_package=no ;;
1.1267 -
1.1268 - --x)
1.1269 - # Obsolete; use --with-x.
1.1270 - with_x=yes ;;
1.1271 -
1.1272 - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1.1273 - | --x-incl | --x-inc | --x-in | --x-i)
1.1274 - ac_prev=x_includes ;;
1.1275 - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1.1276 - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.1277 - x_includes=$ac_optarg ;;
1.1278 -
1.1279 - -x-libraries | --x-libraries | --x-librarie | --x-librari \
1.1280 - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1.1281 - ac_prev=x_libraries ;;
1.1282 - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1.1283 - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.1284 - x_libraries=$ac_optarg ;;
1.1285 -
1.1286 - -*) { echo "$as_me: error: unrecognized option: $ac_option
1.1287 -Try \`$0 --help' for more information." >&2
1.1288 - { (exit 1); exit 1; }; }
1.1289 - ;;
1.1290 -
1.1291 - *=*)
1.1292 - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1.1293 - # Reject names that are not valid shell variable names.
1.1294 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.1295 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.1296 - { (exit 1); exit 1; }; }
1.1297 - eval $ac_envvar=\$ac_optarg
1.1298 - export $ac_envvar ;;
1.1299 -
1.1300 - *)
1.1301 - # FIXME: should be removed in autoconf 3.0.
1.1302 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1303 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1304 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1305 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1306 - ;;
1.1307 -
1.1308 - esac
1.1309 -done
1.1310 -
1.1311 -if test -n "$ac_prev"; then
1.1312 - ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1313 - { echo "$as_me: error: missing argument to $ac_option" >&2
1.1314 - { (exit 1); exit 1; }; }
1.1315 -fi
1.1316 -
1.1317 -# Be sure to have absolute directory names.
1.1318 -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1.1319 - datadir sysconfdir sharedstatedir localstatedir includedir \
1.1320 - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1321 - libdir localedir mandir
1.1322 -do
1.1323 - eval ac_val=\$$ac_var
1.1324 - case $ac_val in
1.1325 - [\\/$]* | ?:[\\/]* ) continue;;
1.1326 - NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1327 - esac
1.1328 - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.1329 - { (exit 1); exit 1; }; }
1.1330 -done
1.1331 -
1.1332 -# There might be people who depend on the old broken behavior: `$host'
1.1333 -# used to hold the argument of --host etc.
1.1334 -# FIXME: To remove some day.
1.1335 -build=$build_alias
1.1336 -host=$host_alias
1.1337 -target=$target_alias
1.1338 -
1.1339 -# FIXME: To remove some day.
1.1340 -if test "x$host_alias" != x; then
1.1341 - if test "x$build_alias" = x; then
1.1342 - cross_compiling=maybe
1.1343 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.1344 - If a cross compiler is detected then cross compile mode will be used." >&2
1.1345 - elif test "x$build_alias" != "x$host_alias"; then
1.1346 - cross_compiling=yes
1.1347 - fi
1.1348 -fi
1.1349 -
1.1350 -ac_tool_prefix=
1.1351 -test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1352 -
1.1353 -test "$silent" = yes && exec 6>/dev/null
1.1354 -
1.1355 -
1.1356 -ac_pwd=`pwd` && test -n "$ac_pwd" &&
1.1357 -ac_ls_di=`ls -di .` &&
1.1358 -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.1359 - { echo "$as_me: error: Working directory cannot be determined" >&2
1.1360 - { (exit 1); exit 1; }; }
1.1361 -test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.1362 - { echo "$as_me: error: pwd does not report name of working directory" >&2
1.1363 - { (exit 1); exit 1; }; }
1.1364 -
1.1365 -
1.1366 -# Find the source files, if location was not specified.
1.1367 -if test -z "$srcdir"; then
1.1368 - ac_srcdir_defaulted=yes
1.1369 - # Try the directory containing this script, then the parent directory.
1.1370 - ac_confdir=`$as_dirname -- "$0" ||
1.1371 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.1372 - X"$0" : 'X\(//\)[^/]' \| \
1.1373 - X"$0" : 'X\(//\)$' \| \
1.1374 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1375 -echo X"$0" |
1.1376 - sed '/^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 - /^X\(\/\).*/{
1.1389 - s//\1/
1.1390 - q
1.1391 - }
1.1392 - s/.*/./; q'`
1.1393 - srcdir=$ac_confdir
1.1394 - if test ! -r "$srcdir/$ac_unique_file"; then
1.1395 - srcdir=..
1.1396 - fi
1.1397 -else
1.1398 - ac_srcdir_defaulted=no
1.1399 -fi
1.1400 -if test ! -r "$srcdir/$ac_unique_file"; then
1.1401 - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.1402 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.1403 - { (exit 1); exit 1; }; }
1.1404 -fi
1.1405 -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1.1406 -ac_abs_confdir=`(
1.1407 - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1.1408 - { (exit 1); exit 1; }; }
1.1409 - pwd)`
1.1410 -# When building in place, set srcdir=.
1.1411 -if test "$ac_abs_confdir" = "$ac_pwd"; then
1.1412 - srcdir=.
1.1413 -fi
1.1414 -# Remove unnecessary trailing slashes from srcdir.
1.1415 -# Double slashes in file names in object file debugging info
1.1416 -# mess up M-x gdb in Emacs.
1.1417 -case $srcdir in
1.1418 -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1.1419 -esac
1.1420 -for ac_var in $ac_precious_vars; do
1.1421 - eval ac_env_${ac_var}_set=\${${ac_var}+set}
1.1422 - eval ac_env_${ac_var}_value=\$${ac_var}
1.1423 - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1.1424 - eval ac_cv_env_${ac_var}_value=\$${ac_var}
1.1425 -done
1.1426 -
1.1427 -#
1.1428 -# Report the --help message.
1.1429 -#
1.1430 -if test "$ac_init_help" = "long"; then
1.1431 - # Omit some internal or obsolete options to make the list less imposing.
1.1432 - # This message is too long to be a string in the A/UX 3.1 sh.
1.1433 - cat <<_ACEOF
1.1434 -\`configure' configures this package to adapt to many kinds of systems.
1.1435 -
1.1436 -Usage: $0 [OPTION]... [VAR=VALUE]...
1.1437 -
1.1438 -To assign environment variables (e.g., CC, CFLAGS...), specify them as
1.1439 -VAR=VALUE. See below for descriptions of some of the useful variables.
1.1440 -
1.1441 -Defaults for the options are specified in brackets.
1.1442 -
1.1443 -Configuration:
1.1444 - -h, --help display this help and exit
1.1445 - --help=short display options specific to this package
1.1446 - --help=recursive display the short help of all the included packages
1.1447 - -V, --version display version information and exit
1.1448 - -q, --quiet, --silent do not print \`checking...' messages
1.1449 - --cache-file=FILE cache test results in FILE [disabled]
1.1450 - -C, --config-cache alias for \`--cache-file=config.cache'
1.1451 - -n, --no-create do not create output files
1.1452 - --srcdir=DIR find the sources in DIR [configure dir or \`..']
1.1453 -
1.1454 -Installation directories:
1.1455 - --prefix=PREFIX install architecture-independent files in PREFIX
1.1456 - [$ac_default_prefix]
1.1457 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.1458 - [PREFIX]
1.1459 -
1.1460 -By default, \`make install' will install all the files in
1.1461 -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1.1462 -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1.1463 -for instance \`--prefix=\$HOME'.
1.1464 -
1.1465 -For better control, use the options below.
1.1466 -
1.1467 -Fine tuning of the installation directories:
1.1468 - --bindir=DIR user executables [EPREFIX/bin]
1.1469 - --sbindir=DIR system admin executables [EPREFIX/sbin]
1.1470 - --libexecdir=DIR program executables [EPREFIX/libexec]
1.1471 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1.1472 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1.1473 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1.1474 - --libdir=DIR object code libraries [EPREFIX/lib]
1.1475 - --includedir=DIR C header files [PREFIX/include]
1.1476 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
1.1477 - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1.1478 - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1.1479 - --infodir=DIR info documentation [DATAROOTDIR/info]
1.1480 - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1.1481 - --mandir=DIR man documentation [DATAROOTDIR/man]
1.1482 - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1.1483 - --htmldir=DIR html documentation [DOCDIR]
1.1484 - --dvidir=DIR dvi documentation [DOCDIR]
1.1485 - --pdfdir=DIR pdf documentation [DOCDIR]
1.1486 - --psdir=DIR ps documentation [DOCDIR]
1.1487 -_ACEOF
1.1488 -
1.1489 - cat <<\_ACEOF
1.1490 -
1.1491 -Program names:
1.1492 - --program-prefix=PREFIX prepend PREFIX to installed program names
1.1493 - --program-suffix=SUFFIX append SUFFIX to installed program names
1.1494 - --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1.1495 -
1.1496 -System types:
1.1497 - --build=BUILD configure for building on BUILD [guessed]
1.1498 - --host=HOST cross-compile to build programs to run on HOST [BUILD]
1.1499 - --target=TARGET configure for building compilers for TARGET [HOST]
1.1500 -_ACEOF
1.1501 -fi
1.1502 -
1.1503 -if test -n "$ac_init_help"; then
1.1504 -
1.1505 - cat <<\_ACEOF
1.1506 -
1.1507 -Optional Features:
1.1508 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1.1509 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.1510 - --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1.1511 - --enable-maintainer-mode enable make rules and dependencies not useful
1.1512 - (and sometimes confusing) to the casual installer
1.1513 - --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1.1514 - --enable-fast-install@<:@=PKGS@:>@
1.1515 - optimize for fast installation @<:@default=yes@:>@
1.1516 - --disable-dependency-tracking speeds up one-time build
1.1517 - --enable-dependency-tracking do not reject slow dependency extractors
1.1518 - --disable-libtool-lock avoid locking (might break parallel builds)
1.1519 -
1.1520 -Optional Packages:
1.1521 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1.1522 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1.1523 - --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1.1524 - --with-pic try to use only PIC/non-PIC objects @<:@default=use
1.1525 - both@:>@
1.1526 - --with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1.1527 -
1.1528 -Some influential environment variables:
1.1529 - CC C compiler command
1.1530 - CFLAGS C compiler flags
1.1531 - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1.1532 - nonstandard directory <lib dir>
1.1533 - LIBS libraries to pass to the linker, e.g. -l<library>
1.1534 - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1.1535 - you have headers in a nonstandard directory <include dir>
1.1536 - CPP C preprocessor
1.1537 - CXX C++ compiler command
1.1538 - CXXFLAGS C++ compiler flags
1.1539 - CXXCPP C++ preprocessor
1.1540 - F77 Fortran 77 compiler command
1.1541 - FFLAGS Fortran 77 compiler flags
1.1542 - CCAS assembler compiler command (defaults to CC)
1.1543 - CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1.1544 - PKG_CONFIG path to pkg-config utility
1.1545 - GST_CFLAGS C compiler flags for GST, overriding pkg-config
1.1546 - GST_LIBS linker flags for GST, overriding pkg-config
1.1547 - GST_BASE_CFLAGS
1.1548 - C compiler flags for GST_BASE, overriding pkg-config
1.1549 - GST_BASE_LIBS
1.1550 - linker flags for GST_BASE, overriding pkg-config
1.1551 - GST_PLUGINS_BASE_CFLAGS
1.1552 - C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1.1553 - GST_PLUGINS_BASE_LIBS
1.1554 - linker flags for GST_PLUGINS_BASE, overriding pkg-config
1.1555 -
1.1556 -Use these variables to override the choices made by `configure' or to help
1.1557 -it to find libraries and programs with nonstandard names/locations.
1.1558 -
1.1559 -_ACEOF
1.1560 -ac_status=$?
1.1561 -fi
1.1562 -
1.1563 -if test "$ac_init_help" = "recursive"; then
1.1564 - # If there are subdirs, report their specific --help.
1.1565 - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1566 - test -d "$ac_dir" || continue
1.1567 - ac_builddir=.
1.1568 -
1.1569 -case "$ac_dir" in
1.1570 -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.1571 -*)
1.1572 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1573 - # A ".." for each directory in $ac_dir_suffix.
1.1574 - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1.1575 - case $ac_top_builddir_sub in
1.1576 - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.1577 - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1.1578 - esac ;;
1.1579 -esac
1.1580 -ac_abs_top_builddir=$ac_pwd
1.1581 -ac_abs_builddir=$ac_pwd$ac_dir_suffix
1.1582 -# for backward compatibility:
1.1583 -ac_top_builddir=$ac_top_build_prefix
1.1584 -
1.1585 -case $srcdir in
1.1586 - .) # We are building in place.
1.1587 - ac_srcdir=.
1.1588 - ac_top_srcdir=$ac_top_builddir_sub
1.1589 - ac_abs_top_srcdir=$ac_pwd ;;
1.1590 - [\\/]* | ?:[\\/]* ) # Absolute name.
1.1591 - ac_srcdir=$srcdir$ac_dir_suffix;
1.1592 - ac_top_srcdir=$srcdir
1.1593 - ac_abs_top_srcdir=$srcdir ;;
1.1594 - *) # Relative name.
1.1595 - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1.1596 - ac_top_srcdir=$ac_top_build_prefix$srcdir
1.1597 - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.1598 -esac
1.1599 -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1600 -
1.1601 - cd "$ac_dir" || { ac_status=$?; continue; }
1.1602 - # Check for guested configure.
1.1603 - if test -f "$ac_srcdir/configure.gnu"; then
1.1604 - echo &&
1.1605 - $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1.1606 - elif test -f "$ac_srcdir/configure"; then
1.1607 - echo &&
1.1608 - $SHELL "$ac_srcdir/configure" --help=recursive
1.1609 - else
1.1610 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1611 - fi || ac_status=$?
1.1612 - cd "$ac_pwd" || { ac_status=$?; break; }
1.1613 - done
1.1614 -fi
1.1615 -
1.1616 -test -n "$ac_init_help" && exit $ac_status
1.1617 -if $ac_init_version; then
1.1618 - cat <<\_ACEOF
1.1619 -configure
1.1620 -generated by GNU Autoconf 2.61
1.1621 -
1.1622 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.1623 -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.1624 -This configure script is free software; the Free Software Foundation
1.1625 -gives unlimited permission to copy, distribute and modify it.
1.1626 -_ACEOF
1.1627 - exit
1.1628 -fi
1.1629 -cat >config.log <<_ACEOF
1.1630 -This file contains any messages produced by compilers while
1.1631 -running configure, to aid debugging if configure makes a mistake.
1.1632 -
1.1633 -It was created by $as_me, which was
1.1634 -generated by GNU Autoconf 2.61. Invocation command line was
1.1635 -
1.1636 - $ $0 $@
1.1637 -
1.1638 -_ACEOF
1.1639 -exec 5>>config.log
1.1640 -{
1.1641 -cat <<_ASUNAME
1.1642 -@%:@@%:@ --------- @%:@@%:@
1.1643 -@%:@@%:@ Platform. @%:@@%:@
1.1644 -@%:@@%:@ --------- @%:@@%:@
1.1645 -
1.1646 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1.1647 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
1.1648 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
1.1649 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
1.1650 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1651 -
1.1652 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1.1653 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1.1654 -
1.1655 -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1.1656 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1.1657 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1658 -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1.1659 -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1.1660 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1.1661 -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1.1662 -
1.1663 -_ASUNAME
1.1664 -
1.1665 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1666 -for as_dir in $PATH
1.1667 -do
1.1668 - IFS=$as_save_IFS
1.1669 - test -z "$as_dir" && as_dir=.
1.1670 - echo "PATH: $as_dir"
1.1671 -done
1.1672 -IFS=$as_save_IFS
1.1673 -
1.1674 -} >&5
1.1675 -
1.1676 -cat >&5 <<_ACEOF
1.1677 -
1.1678 -
1.1679 -@%:@@%:@ ----------- @%:@@%:@
1.1680 -@%:@@%:@ Core tests. @%:@@%:@
1.1681 -@%:@@%:@ ----------- @%:@@%:@
1.1682 -
1.1683 -_ACEOF
1.1684 -
1.1685 -
1.1686 -# Keep a trace of the command line.
1.1687 -# Strip out --no-create and --no-recursion so they do not pile up.
1.1688 -# Strip out --silent because we don't want to record it for future runs.
1.1689 -# Also quote any args containing shell meta-characters.
1.1690 -# Make two passes to allow for proper duplicate-argument suppression.
1.1691 -ac_configure_args=
1.1692 -ac_configure_args0=
1.1693 -ac_configure_args1=
1.1694 -ac_must_keep_next=false
1.1695 -for ac_pass in 1 2
1.1696 -do
1.1697 - for ac_arg
1.1698 - do
1.1699 - case $ac_arg in
1.1700 - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1.1701 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.1702 - | -silent | --silent | --silen | --sile | --sil)
1.1703 - continue ;;
1.1704 - *\'*)
1.1705 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1706 - esac
1.1707 - case $ac_pass in
1.1708 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1.1709 - 2)
1.1710 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1.1711 - if test $ac_must_keep_next = true; then
1.1712 - ac_must_keep_next=false # Got value, back to normal.
1.1713 - else
1.1714 - case $ac_arg in
1.1715 - *=* | --config-cache | -C | -disable-* | --disable-* \
1.1716 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1.1717 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1.1718 - | -with-* | --with-* | -without-* | --without-* | --x)
1.1719 - case "$ac_configure_args0 " in
1.1720 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1.1721 - esac
1.1722 - ;;
1.1723 - -* ) ac_must_keep_next=true ;;
1.1724 - esac
1.1725 - fi
1.1726 - ac_configure_args="$ac_configure_args '$ac_arg'"
1.1727 - ;;
1.1728 - esac
1.1729 - done
1.1730 -done
1.1731 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1.1732 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1733 -
1.1734 -# When interrupted or exit'd, cleanup temporary files, and complete
1.1735 -# config.log. We remove comments because anyway the quotes in there
1.1736 -# would cause problems or look ugly.
1.1737 -# WARNING: Use '\'' to represent an apostrophe within the trap.
1.1738 -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1739 -trap 'exit_status=$?
1.1740 - # Save into config.log some information that might help in debugging.
1.1741 - {
1.1742 - echo
1.1743 -
1.1744 - cat <<\_ASBOX
1.1745 -@%:@@%:@ ---------------- @%:@@%:@
1.1746 -@%:@@%:@ Cache variables. @%:@@%:@
1.1747 -@%:@@%:@ ---------------- @%:@@%:@
1.1748 -_ASBOX
1.1749 - echo
1.1750 - # The following way of writing the cache mishandles newlines in values,
1.1751 -(
1.1752 - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1.1753 - eval ac_val=\$$ac_var
1.1754 - case $ac_val in #(
1.1755 - *${as_nl}*)
1.1756 - case $ac_var in #(
1.1757 - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1.1758 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1.1759 - esac
1.1760 - case $ac_var in #(
1.1761 - _ | IFS | as_nl) ;; #(
1.1762 - *) $as_unset $ac_var ;;
1.1763 - esac ;;
1.1764 - esac
1.1765 - done
1.1766 - (set) 2>&1 |
1.1767 - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1.1768 - *${as_nl}ac_space=\ *)
1.1769 - sed -n \
1.1770 - "s/'\''/'\''\\\\'\'''\''/g;
1.1771 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1.1772 - ;; #(
1.1773 - *)
1.1774 - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1775 - ;;
1.1776 - esac |
1.1777 - sort
1.1778 -)
1.1779 - echo
1.1780 -
1.1781 - cat <<\_ASBOX
1.1782 -@%:@@%:@ ----------------- @%:@@%:@
1.1783 -@%:@@%:@ Output variables. @%:@@%:@
1.1784 -@%:@@%:@ ----------------- @%:@@%:@
1.1785 -_ASBOX
1.1786 - echo
1.1787 - for ac_var in $ac_subst_vars
1.1788 - do
1.1789 - eval ac_val=\$$ac_var
1.1790 - case $ac_val in
1.1791 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1792 - esac
1.1793 - echo "$ac_var='\''$ac_val'\''"
1.1794 - done | sort
1.1795 - echo
1.1796 -
1.1797 - if test -n "$ac_subst_files"; then
1.1798 - cat <<\_ASBOX
1.1799 -@%:@@%:@ ------------------- @%:@@%:@
1.1800 -@%:@@%:@ File substitutions. @%:@@%:@
1.1801 -@%:@@%:@ ------------------- @%:@@%:@
1.1802 -_ASBOX
1.1803 - echo
1.1804 - for ac_var in $ac_subst_files
1.1805 - do
1.1806 - eval ac_val=\$$ac_var
1.1807 - case $ac_val in
1.1808 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1809 - esac
1.1810 - echo "$ac_var='\''$ac_val'\''"
1.1811 - done | sort
1.1812 - echo
1.1813 - fi
1.1814 -
1.1815 - if test -s confdefs.h; then
1.1816 - cat <<\_ASBOX
1.1817 -@%:@@%:@ ----------- @%:@@%:@
1.1818 -@%:@@%:@ confdefs.h. @%:@@%:@
1.1819 -@%:@@%:@ ----------- @%:@@%:@
1.1820 -_ASBOX
1.1821 - echo
1.1822 - cat confdefs.h
1.1823 - echo
1.1824 - fi
1.1825 - test "$ac_signal" != 0 &&
1.1826 - echo "$as_me: caught signal $ac_signal"
1.1827 - echo "$as_me: exit $exit_status"
1.1828 - } >&5
1.1829 - rm -f core *.core core.conftest.* &&
1.1830 - rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1831 - exit $exit_status
1.1832 -' 0
1.1833 -for ac_signal in 1 2 13 15; do
1.1834 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1.1835 -done
1.1836 -ac_signal=0
1.1837 -
1.1838 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1839 -rm -f -r conftest* confdefs.h
1.1840 -
1.1841 -# Predefined preprocessor variables.
1.1842 -
1.1843 -cat >>confdefs.h <<_ACEOF
1.1844 -@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1.1845 -_ACEOF
1.1846 -
1.1847 -
1.1848 -cat >>confdefs.h <<_ACEOF
1.1849 -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.1850 -_ACEOF
1.1851 -
1.1852 -
1.1853 -cat >>confdefs.h <<_ACEOF
1.1854 -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1.1855 -_ACEOF
1.1856 -
1.1857 -
1.1858 -cat >>confdefs.h <<_ACEOF
1.1859 -@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1.1860 -_ACEOF
1.1861 -
1.1862 -
1.1863 -cat >>confdefs.h <<_ACEOF
1.1864 -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1.1865 -_ACEOF
1.1866 -
1.1867 -
1.1868 -# Let the site file select an alternate cache file if it wants to.
1.1869 -# Prefer explicitly selected file to automatically selected ones.
1.1870 -if test -n "$CONFIG_SITE"; then
1.1871 - set x "$CONFIG_SITE"
1.1872 -elif test "x$prefix" != xNONE; then
1.1873 - set x "$prefix/share/config.site" "$prefix/etc/config.site"
1.1874 -else
1.1875 - set x "$ac_default_prefix/share/config.site" \
1.1876 - "$ac_default_prefix/etc/config.site"
1.1877 -fi
1.1878 -shift
1.1879 -for ac_site_file
1.1880 -do
1.1881 - if test -r "$ac_site_file"; then
1.1882 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1.1883 -echo "$as_me: loading site script $ac_site_file" >&6;}
1.1884 - sed 's/^/| /' "$ac_site_file" >&5
1.1885 - . "$ac_site_file"
1.1886 - fi
1.1887 -done
1.1888 -
1.1889 -if test -r "$cache_file"; then
1.1890 - # Some versions of bash will fail to source /dev/null (special
1.1891 - # files actually), so we avoid doing that.
1.1892 - if test -f "$cache_file"; then
1.1893 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1.1894 -echo "$as_me: loading cache $cache_file" >&6;}
1.1895 - case $cache_file in
1.1896 - [\\/]* | ?:[\\/]* ) . "$cache_file";;
1.1897 - *) . "./$cache_file";;
1.1898 - esac
1.1899 - fi
1.1900 -else
1.1901 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1.1902 -echo "$as_me: creating cache $cache_file" >&6;}
1.1903 - >$cache_file
1.1904 -fi
1.1905 -
1.1906 -# Check that the precious variables saved in the cache have kept the same
1.1907 -# value.
1.1908 -ac_cache_corrupted=false
1.1909 -for ac_var in $ac_precious_vars; do
1.1910 - eval ac_old_set=\$ac_cv_env_${ac_var}_set
1.1911 - eval ac_new_set=\$ac_env_${ac_var}_set
1.1912 - eval ac_old_val=\$ac_cv_env_${ac_var}_value
1.1913 - eval ac_new_val=\$ac_env_${ac_var}_value
1.1914 - case $ac_old_set,$ac_new_set in
1.1915 - set,)
1.1916 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1917 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1918 - ac_cache_corrupted=: ;;
1.1919 - ,set)
1.1920 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1.1921 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1922 - ac_cache_corrupted=: ;;
1.1923 - ,);;
1.1924 - *)
1.1925 - if test "x$ac_old_val" != "x$ac_new_val"; then
1.1926 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.1927 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.1928 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.1929 -echo "$as_me: former value: $ac_old_val" >&2;}
1.1930 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.1931 -echo "$as_me: current value: $ac_new_val" >&2;}
1.1932 - ac_cache_corrupted=:
1.1933 - fi;;
1.1934 - esac
1.1935 - # Pass precious variables to config.status.
1.1936 - if test "$ac_new_set" = set; then
1.1937 - case $ac_new_val in
1.1938 - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1939 - *) ac_arg=$ac_var=$ac_new_val ;;
1.1940 - esac
1.1941 - case " $ac_configure_args " in
1.1942 - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1.1943 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1.1944 - esac
1.1945 - fi
1.1946 -done
1.1947 -if $ac_cache_corrupted; then
1.1948 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1.1949 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1950 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1.1951 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.1952 - { (exit 1); exit 1; }; }
1.1953 -fi
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 -
1.1968 -
1.1969 -
1.1970 -
1.1971 -ac_ext=c
1.1972 -ac_cpp='$CPP $CPPFLAGS'
1.1973 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1974 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1975 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1976 -
1.1977 -
1.1978 -ac_aux_dir=
1.1979 -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.1980 - if 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/install.sh"; then
1.1985 - ac_aux_dir=$ac_dir
1.1986 - ac_install_sh="$ac_aux_dir/install.sh -c"
1.1987 - break
1.1988 - elif test -f "$ac_dir/shtool"; then
1.1989 - ac_aux_dir=$ac_dir
1.1990 - ac_install_sh="$ac_aux_dir/shtool install -c"
1.1991 - break
1.1992 - fi
1.1993 -done
1.1994 -if test -z "$ac_aux_dir"; then
1.1995 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1.1996 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1.1997 - { (exit 1); exit 1; }; }
1.1998 -fi
1.1999 -
1.2000 -# These three variables are undocumented and unsupported,
1.2001 -# and are intended to be withdrawn in a future Autoconf release.
1.2002 -# They can cause serious problems if a builder's source tree is in a directory
1.2003 -# whose full name contains unusual characters.
1.2004 -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1.2005 -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1.2006 -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1.2007 -
1.2008 -
1.2009 -# Make sure we can run config.sub.
1.2010 -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.2011 - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1.2012 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1.2013 - { (exit 1); exit 1; }; }
1.2014 -
1.2015 -{ echo "$as_me:$LINENO: checking build system type" >&5
1.2016 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1.2017 -if test "${ac_cv_build+set}" = set; then
1.2018 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2019 -else
1.2020 - ac_build_alias=$build_alias
1.2021 -test "x$ac_build_alias" = x &&
1.2022 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1.2023 -test "x$ac_build_alias" = x &&
1.2024 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1.2025 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1.2026 - { (exit 1); exit 1; }; }
1.2027 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.2028 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1.2029 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1.2030 - { (exit 1); exit 1; }; }
1.2031 -
1.2032 -fi
1.2033 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1.2034 -echo "${ECHO_T}$ac_cv_build" >&6; }
1.2035 -case $ac_cv_build in
1.2036 -*-*-*) ;;
1.2037 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1.2038 -echo "$as_me: error: invalid value of canonical build" >&2;}
1.2039 - { (exit 1); exit 1; }; };;
1.2040 -esac
1.2041 -build=$ac_cv_build
1.2042 -ac_save_IFS=$IFS; IFS='-'
1.2043 -set x $ac_cv_build
1.2044 -shift
1.2045 -build_cpu=$1
1.2046 -build_vendor=$2
1.2047 -shift; shift
1.2048 -# Remember, the first character of IFS is used to create $*,
1.2049 -# except with old shells:
1.2050 -build_os=$*
1.2051 -IFS=$ac_save_IFS
1.2052 -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.2053 -
1.2054 -
1.2055 -{ echo "$as_me:$LINENO: checking host system type" >&5
1.2056 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1.2057 -if test "${ac_cv_host+set}" = set; then
1.2058 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2059 -else
1.2060 - if test "x$host_alias" = x; then
1.2061 - ac_cv_host=$ac_cv_build
1.2062 -else
1.2063 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.2064 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1.2065 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1.2066 - { (exit 1); exit 1; }; }
1.2067 -fi
1.2068 -
1.2069 -fi
1.2070 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1.2071 -echo "${ECHO_T}$ac_cv_host" >&6; }
1.2072 -case $ac_cv_host in
1.2073 -*-*-*) ;;
1.2074 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1.2075 -echo "$as_me: error: invalid value of canonical host" >&2;}
1.2076 - { (exit 1); exit 1; }; };;
1.2077 -esac
1.2078 -host=$ac_cv_host
1.2079 -ac_save_IFS=$IFS; IFS='-'
1.2080 -set x $ac_cv_host
1.2081 -shift
1.2082 -host_cpu=$1
1.2083 -host_vendor=$2
1.2084 -shift; shift
1.2085 -# Remember, the first character of IFS is used to create $*,
1.2086 -# except with old shells:
1.2087 -host_os=$*
1.2088 -IFS=$ac_save_IFS
1.2089 -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.2090 -
1.2091 -
1.2092 -{ echo "$as_me:$LINENO: checking target system type" >&5
1.2093 -echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1.2094 -if test "${ac_cv_target+set}" = set; then
1.2095 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2096 -else
1.2097 - if test "x$target_alias" = x; then
1.2098 - ac_cv_target=$ac_cv_host
1.2099 -else
1.2100 - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.2101 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1.2102 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1.2103 - { (exit 1); exit 1; }; }
1.2104 -fi
1.2105 -
1.2106 -fi
1.2107 -{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1.2108 -echo "${ECHO_T}$ac_cv_target" >&6; }
1.2109 -case $ac_cv_target in
1.2110 -*-*-*) ;;
1.2111 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1.2112 -echo "$as_me: error: invalid value of canonical target" >&2;}
1.2113 - { (exit 1); exit 1; }; };;
1.2114 -esac
1.2115 -target=$ac_cv_target
1.2116 -ac_save_IFS=$IFS; IFS='-'
1.2117 -set x $ac_cv_target
1.2118 -shift
1.2119 -target_cpu=$1
1.2120 -target_vendor=$2
1.2121 -shift; shift
1.2122 -# Remember, the first character of IFS is used to create $*,
1.2123 -# except with old shells:
1.2124 -target_os=$*
1.2125 -IFS=$ac_save_IFS
1.2126 -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1.2127 -
1.2128 -
1.2129 -# The aliases save the names the user supplied, while $host etc.
1.2130 -# will get canonicalized.
1.2131 -test -n "$target_alias" &&
1.2132 - test "$program_prefix$program_suffix$program_transform_name" = \
1.2133 - NONENONEs,x,x, &&
1.2134 - program_prefix=${target_alias}-
1.2135 -
1.2136 -
1.2137 -# Check whether --enable-static was given.
1.2138 -if test "${enable_static+set}" = set; then
1.2139 - enableval=$enable_static; p=${PACKAGE-default}
1.2140 - case $enableval in
1.2141 - yes) enable_static=yes ;;
1.2142 - no) enable_static=no ;;
1.2143 - *)
1.2144 - enable_static=no
1.2145 - # Look at the argument we got. We use all the common list separators.
1.2146 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2147 - for pkg in $enableval; do
1.2148 - IFS="$lt_save_ifs"
1.2149 - if test "X$pkg" = "X$p"; then
1.2150 - enable_static=yes
1.2151 - fi
1.2152 - done
1.2153 - IFS="$lt_save_ifs"
1.2154 - ;;
1.2155 - esac
1.2156 -else
1.2157 - enable_static=no
1.2158 -fi
1.2159 -
1.2160 -
1.2161 -
1.2162 -
1.2163 -{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1.2164 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
1.2165 - # Check whether --enable-maintainer-mode was given.
1.2166 -if test "${enable_maintainer_mode+set}" = set; then
1.2167 - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1.2168 -else
1.2169 - USE_MAINTAINER_MODE=no
1.2170 -fi
1.2171 -
1.2172 - { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1.2173 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1.2174 - if test $USE_MAINTAINER_MODE = yes; then
1.2175 - MAINTAINER_MODE_TRUE=
1.2176 - MAINTAINER_MODE_FALSE='#'
1.2177 -else
1.2178 - MAINTAINER_MODE_TRUE='#'
1.2179 - MAINTAINER_MODE_FALSE=
1.2180 -fi
1.2181 -
1.2182 - MAINT=$MAINTAINER_MODE_TRUE
1.2183 -
1.2184 -
1.2185 -
1.2186 -
1.2187 - PACKAGE=gst-indt-plugins
1.2188 - GST_PLUGINS_VERSION_MAJOR=0
1.2189 - GST_PLUGINS_VERSION_MINOR=10
1.2190 - GST_PLUGINS_VERSION_MICRO=0
1.2191 - NANO=1
1.2192 - GST_PLUGINS_VERSION_NANO=$NANO
1.2193 - if test "x$NANO" = "x" || test "x$NANO" = "x0";
1.2194 - then
1.2195 - { echo "$as_me:$LINENO: configuring gst-indt-plugins for release" >&5
1.2196 -echo "$as_me: configuring gst-indt-plugins for release" >&6;}
1.2197 - VERSION=0.10.0
1.2198 - GST_PLUGINS_VERSION_RELEASE=1
1.2199 - GST_CVS="no"
1.2200 - else
1.2201 - { echo "$as_me:$LINENO: configuring gst-indt-plugins for development with nano $NANO" >&5
1.2202 -echo "$as_me: configuring gst-indt-plugins for development with nano $NANO" >&6;}
1.2203 - VERSION=0.10.0.$NANO
1.2204 - GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
1.2205 - GST_CVS="yes"
1.2206 - fi
1.2207 -
1.2208 - GST_PLUGINS_VERSION=$VERSION
1.2209 -
1.2210 -cat >>confdefs.h <<_ACEOF
1.2211 -@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
1.2212 -_ACEOF
1.2213 -
1.2214 -
1.2215 -
1.2216 -cat >>confdefs.h <<_ACEOF
1.2217 -@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
1.2218 -_ACEOF
1.2219 -
1.2220 -
1.2221 -
1.2222 -
1.2223 -
1.2224 -
1.2225 -
1.2226 -
1.2227 -cat >>confdefs.h <<_ACEOF
1.2228 -@%:@define PACKAGE "$PACKAGE"
1.2229 -_ACEOF
1.2230 -
1.2231 -
1.2232 -
1.2233 -cat >>confdefs.h <<_ACEOF
1.2234 -@%:@define VERSION "$VERSION"
1.2235 -_ACEOF
1.2236 -
1.2237 -
1.2238 -
1.2239 -
1.2240 -am__api_version='1.10'
1.2241 -
1.2242 -# Find a good install program. We prefer a C program (faster),
1.2243 -# so one script is as good as another. But avoid the broken or
1.2244 -# incompatible versions:
1.2245 -# SysV /etc/install, /usr/sbin/install
1.2246 -# SunOS /usr/etc/install
1.2247 -# IRIX /sbin/install
1.2248 -# AIX /bin/install
1.2249 -# AmigaOS /C/install, which installs bootblocks on floppy discs
1.2250 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1.2251 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1.2252 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.2253 -# OS/2's system install, which has a completely different semantic
1.2254 -# ./install, which can be erroneously created by make from ./install.sh.
1.2255 -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1.2256 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1.2257 -if test -z "$INSTALL"; then
1.2258 -if test "${ac_cv_path_install+set}" = set; then
1.2259 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2260 -else
1.2261 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2262 -for as_dir in $PATH
1.2263 -do
1.2264 - IFS=$as_save_IFS
1.2265 - test -z "$as_dir" && as_dir=.
1.2266 - # Account for people who put trailing slashes in PATH elements.
1.2267 -case $as_dir/ in
1.2268 - ./ | .// | /cC/* | \
1.2269 - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.2270 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.2271 - /usr/ucb/* ) ;;
1.2272 - *)
1.2273 - # OSF1 and SCO ODT 3.0 have their own names for install.
1.2274 - # Don't use installbsd from OSF since it installs stuff as root
1.2275 - # by default.
1.2276 - for ac_prog in ginstall scoinst install; do
1.2277 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2278 - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.2279 - if test $ac_prog = install &&
1.2280 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.2281 - # AIX install. It has an incompatible calling convention.
1.2282 - :
1.2283 - elif test $ac_prog = install &&
1.2284 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.2285 - # program-specific install script used by HP pwplus--don't use.
1.2286 - :
1.2287 - else
1.2288 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1.2289 - break 3
1.2290 - fi
1.2291 - fi
1.2292 - done
1.2293 - done
1.2294 - ;;
1.2295 -esac
1.2296 -done
1.2297 -IFS=$as_save_IFS
1.2298 -
1.2299 -
1.2300 -fi
1.2301 - if test "${ac_cv_path_install+set}" = set; then
1.2302 - INSTALL=$ac_cv_path_install
1.2303 - else
1.2304 - # As a last resort, use the slow shell script. Don't cache a
1.2305 - # value for INSTALL within a source directory, because that will
1.2306 - # break other packages using the cache if that directory is
1.2307 - # removed, or if the value is a relative name.
1.2308 - INSTALL=$ac_install_sh
1.2309 - fi
1.2310 -fi
1.2311 -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1.2312 -echo "${ECHO_T}$INSTALL" >&6; }
1.2313 -
1.2314 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1.2315 -# It thinks the first close brace ends the variable substitution.
1.2316 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.2317 -
1.2318 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.2319 -
1.2320 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.2321 -
1.2322 -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1.2323 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1.2324 -# Just in case
1.2325 -sleep 1
1.2326 -echo timestamp > conftest.file
1.2327 -# Do `set' in a subshell so we don't clobber the current shell's
1.2328 -# arguments. Must try -L first in case configure is actually a
1.2329 -# symlink; some systems play weird games with the mod time of symlinks
1.2330 -# (eg FreeBSD returns the mod time of the symlink's containing
1.2331 -# directory).
1.2332 -if (
1.2333 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.2334 - if test "$*" = "X"; then
1.2335 - # -L didn't work.
1.2336 - set X `ls -t $srcdir/configure conftest.file`
1.2337 - fi
1.2338 - rm -f conftest.file
1.2339 - if test "$*" != "X $srcdir/configure conftest.file" \
1.2340 - && test "$*" != "X conftest.file $srcdir/configure"; then
1.2341 -
1.2342 - # If neither matched, then we have a broken ls. This can happen
1.2343 - # if, for instance, CONFIG_SHELL is bash and it inherits a
1.2344 - # broken ls alias from the environment. This has actually
1.2345 - # happened. Such a system could not be considered "sane".
1.2346 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1.2347 -alias in your environment" >&5
1.2348 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1.2349 -alias in your environment" >&2;}
1.2350 - { (exit 1); exit 1; }; }
1.2351 - fi
1.2352 -
1.2353 - test "$2" = conftest.file
1.2354 - )
1.2355 -then
1.2356 - # Ok.
1.2357 - :
1.2358 -else
1.2359 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1.2360 -Check your system clock" >&5
1.2361 -echo "$as_me: error: newly created file is older than distributed files!
1.2362 -Check your system clock" >&2;}
1.2363 - { (exit 1); exit 1; }; }
1.2364 -fi
1.2365 -{ echo "$as_me:$LINENO: result: yes" >&5
1.2366 -echo "${ECHO_T}yes" >&6; }
1.2367 -test "$program_prefix" != NONE &&
1.2368 - program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.2369 -# Use a double $ so make ignores it.
1.2370 -test "$program_suffix" != NONE &&
1.2371 - program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1.2372 -# Double any \ or $. echo might interpret backslashes.
1.2373 -# By default was `s,x,x', remove it if useless.
1.2374 -cat <<\_ACEOF >conftest.sed
1.2375 -s/[\\$]/&&/g;s/;s,x,x,$//
1.2376 -_ACEOF
1.2377 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1.2378 -rm -f conftest.sed
1.2379 -
1.2380 -# expand $ac_aux_dir to an absolute path
1.2381 -am_aux_dir=`cd $ac_aux_dir && pwd`
1.2382 -
1.2383 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1.2384 -# Use eval to expand $SHELL
1.2385 -if eval "$MISSING --run true"; then
1.2386 - am_missing_run="$MISSING --run "
1.2387 -else
1.2388 - am_missing_run=
1.2389 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1.2390 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.2391 -fi
1.2392 -
1.2393 -{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1.2394 -echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1.2395 -if test -z "$MKDIR_P"; then
1.2396 - if test "${ac_cv_path_mkdir+set}" = set; then
1.2397 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2398 -else
1.2399 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2400 -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1.2401 -do
1.2402 - IFS=$as_save_IFS
1.2403 - test -z "$as_dir" && as_dir=.
1.2404 - for ac_prog in mkdir gmkdir; do
1.2405 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2406 - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1.2407 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1.2408 - 'mkdir (GNU coreutils) '* | \
1.2409 - 'mkdir (coreutils) '* | \
1.2410 - 'mkdir (fileutils) '4.1*)
1.2411 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1.2412 - break 3;;
1.2413 - esac
1.2414 - done
1.2415 - done
1.2416 -done
1.2417 -IFS=$as_save_IFS
1.2418 -
1.2419 -fi
1.2420 -
1.2421 - if test "${ac_cv_path_mkdir+set}" = set; then
1.2422 - MKDIR_P="$ac_cv_path_mkdir -p"
1.2423 - else
1.2424 - # As a last resort, use the slow shell script. Don't cache a
1.2425 - # value for MKDIR_P within a source directory, because that will
1.2426 - # break other packages using the cache if that directory is
1.2427 - # removed, or if the value is a relative name.
1.2428 - test -d ./--version && rmdir ./--version
1.2429 - MKDIR_P="$ac_install_sh -d"
1.2430 - fi
1.2431 -fi
1.2432 -{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1.2433 -echo "${ECHO_T}$MKDIR_P" >&6; }
1.2434 -
1.2435 -mkdir_p="$MKDIR_P"
1.2436 -case $mkdir_p in
1.2437 - [\\/$]* | ?:[\\/]*) ;;
1.2438 - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1.2439 -esac
1.2440 -
1.2441 -for ac_prog in gawk mawk nawk awk
1.2442 -do
1.2443 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.2444 -set dummy $ac_prog; ac_word=$2
1.2445 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2446 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2447 -if test "${ac_cv_prog_AWK+set}" = set; then
1.2448 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2449 -else
1.2450 - if test -n "$AWK"; then
1.2451 - ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.2452 -else
1.2453 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2454 -for as_dir in $PATH
1.2455 -do
1.2456 - IFS=$as_save_IFS
1.2457 - test -z "$as_dir" && as_dir=.
1.2458 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2459 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2460 - ac_cv_prog_AWK="$ac_prog"
1.2461 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2462 - break 2
1.2463 - fi
1.2464 -done
1.2465 -done
1.2466 -IFS=$as_save_IFS
1.2467 -
1.2468 -fi
1.2469 -fi
1.2470 -AWK=$ac_cv_prog_AWK
1.2471 -if test -n "$AWK"; then
1.2472 - { echo "$as_me:$LINENO: result: $AWK" >&5
1.2473 -echo "${ECHO_T}$AWK" >&6; }
1.2474 -else
1.2475 - { echo "$as_me:$LINENO: result: no" >&5
1.2476 -echo "${ECHO_T}no" >&6; }
1.2477 -fi
1.2478 -
1.2479 -
1.2480 - test -n "$AWK" && break
1.2481 -done
1.2482 -
1.2483 -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.2484 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1.2485 -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.2486 -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1.2487 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2488 -else
1.2489 - cat >conftest.make <<\_ACEOF
1.2490 -SHELL = /bin/sh
1.2491 -all:
1.2492 - @echo '@@@%%%=$(MAKE)=@@@%%%'
1.2493 -_ACEOF
1.2494 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.2495 -case `${MAKE-make} -f conftest.make 2>/dev/null` in
1.2496 - *@@@%%%=?*=@@@%%%*)
1.2497 - eval ac_cv_prog_make_${ac_make}_set=yes;;
1.2498 - *)
1.2499 - eval ac_cv_prog_make_${ac_make}_set=no;;
1.2500 -esac
1.2501 -rm -f conftest.make
1.2502 -fi
1.2503 -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.2504 - { echo "$as_me:$LINENO: result: yes" >&5
1.2505 -echo "${ECHO_T}yes" >&6; }
1.2506 - SET_MAKE=
1.2507 -else
1.2508 - { echo "$as_me:$LINENO: result: no" >&5
1.2509 -echo "${ECHO_T}no" >&6; }
1.2510 - SET_MAKE="MAKE=${MAKE-make}"
1.2511 -fi
1.2512 -
1.2513 -rm -rf .tst 2>/dev/null
1.2514 -mkdir .tst 2>/dev/null
1.2515 -if test -d .tst; then
1.2516 - am__leading_dot=.
1.2517 -else
1.2518 - am__leading_dot=_
1.2519 -fi
1.2520 -rmdir .tst 2>/dev/null
1.2521 -
1.2522 -if test "`cd $srcdir && pwd`" != "`pwd`"; then
1.2523 - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1.2524 - # is not polluted with repeated "-I."
1.2525 - am__isrc=' -I$(srcdir)'
1.2526 - # test to see if srcdir already configured
1.2527 - if test -f $srcdir/config.status; then
1.2528 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1.2529 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1.2530 - { (exit 1); exit 1; }; }
1.2531 - fi
1.2532 -fi
1.2533 -
1.2534 -# test whether we have cygpath
1.2535 -if test -z "$CYGPATH_W"; then
1.2536 - if (cygpath --version) >/dev/null 2>/dev/null; then
1.2537 - CYGPATH_W='cygpath -w'
1.2538 - else
1.2539 - CYGPATH_W=echo
1.2540 - fi
1.2541 -fi
1.2542 -
1.2543 -
1.2544 -# Define the identity of the package.
1.2545 - PACKAGE=$PACKAGE
1.2546 - VERSION=$VERSION
1.2547 -
1.2548 -
1.2549 -cat >>confdefs.h <<_ACEOF
1.2550 -@%:@define PACKAGE "$PACKAGE"
1.2551 -_ACEOF
1.2552 -
1.2553 -
1.2554 -cat >>confdefs.h <<_ACEOF
1.2555 -@%:@define VERSION "$VERSION"
1.2556 -_ACEOF
1.2557 -
1.2558 -# Some tools Automake needs.
1.2559 -
1.2560 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1.2561 -
1.2562 -
1.2563 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.2564 -
1.2565 -
1.2566 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.2567 -
1.2568 -
1.2569 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.2570 -
1.2571 -
1.2572 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.2573 -
1.2574 -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1.2575 -
1.2576 -# Installed binaries are usually stripped using `strip' when the user
1.2577 -# run `make install-strip'. However `strip' might not be the right
1.2578 -# tool to use in cross-compilation environments, therefore Automake
1.2579 -# will honor the `STRIP' environment variable to overrule this program.
1.2580 -if test "$cross_compiling" != no; then
1.2581 - if test -n "$ac_tool_prefix"; then
1.2582 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1.2583 -set dummy ${ac_tool_prefix}strip; ac_word=$2
1.2584 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2585 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2586 -if test "${ac_cv_prog_STRIP+set}" = set; then
1.2587 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2588 -else
1.2589 - if test -n "$STRIP"; then
1.2590 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.2591 -else
1.2592 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2593 -for as_dir in $PATH
1.2594 -do
1.2595 - IFS=$as_save_IFS
1.2596 - test -z "$as_dir" && as_dir=.
1.2597 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2598 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2599 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.2600 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2601 - break 2
1.2602 - fi
1.2603 -done
1.2604 -done
1.2605 -IFS=$as_save_IFS
1.2606 -
1.2607 -fi
1.2608 -fi
1.2609 -STRIP=$ac_cv_prog_STRIP
1.2610 -if test -n "$STRIP"; then
1.2611 - { echo "$as_me:$LINENO: result: $STRIP" >&5
1.2612 -echo "${ECHO_T}$STRIP" >&6; }
1.2613 -else
1.2614 - { echo "$as_me:$LINENO: result: no" >&5
1.2615 -echo "${ECHO_T}no" >&6; }
1.2616 -fi
1.2617 -
1.2618 -
1.2619 -fi
1.2620 -if test -z "$ac_cv_prog_STRIP"; then
1.2621 - ac_ct_STRIP=$STRIP
1.2622 - # Extract the first word of "strip", so it can be a program name with args.
1.2623 -set dummy strip; ac_word=$2
1.2624 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2625 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2626 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.2627 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2628 -else
1.2629 - if test -n "$ac_ct_STRIP"; then
1.2630 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.2631 -else
1.2632 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2633 -for as_dir in $PATH
1.2634 -do
1.2635 - IFS=$as_save_IFS
1.2636 - test -z "$as_dir" && as_dir=.
1.2637 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2638 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2639 - ac_cv_prog_ac_ct_STRIP="strip"
1.2640 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2641 - break 2
1.2642 - fi
1.2643 -done
1.2644 -done
1.2645 -IFS=$as_save_IFS
1.2646 -
1.2647 -fi
1.2648 -fi
1.2649 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1.2650 -if test -n "$ac_ct_STRIP"; then
1.2651 - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1.2652 -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1.2653 -else
1.2654 - { echo "$as_me:$LINENO: result: no" >&5
1.2655 -echo "${ECHO_T}no" >&6; }
1.2656 -fi
1.2657 -
1.2658 - if test "x$ac_ct_STRIP" = x; then
1.2659 - STRIP=":"
1.2660 - else
1.2661 - case $cross_compiling:$ac_tool_warned in
1.2662 -yes:)
1.2663 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.2664 -whose name does not start with the host triplet. If you think this
1.2665 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.2666 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.2667 -whose name does not start with the host triplet. If you think this
1.2668 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.2669 -ac_tool_warned=yes ;;
1.2670 -esac
1.2671 - STRIP=$ac_ct_STRIP
1.2672 - fi
1.2673 -else
1.2674 - STRIP="$ac_cv_prog_STRIP"
1.2675 -fi
1.2676 -
1.2677 -fi
1.2678 -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.2679 -
1.2680 -# We need awk for the "check" target. The system "awk" is bad on
1.2681 -# some platforms.
1.2682 -# Always define AMTAR for backward compatibility.
1.2683 -
1.2684 -AMTAR=${AMTAR-"${am_missing_run}tar"}
1.2685 -
1.2686 -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1.2687 -
1.2688 -
1.2689 -
1.2690 -
1.2691 -
1.2692 -
1.2693 -# Check whether --enable-shared was given.
1.2694 -if test "${enable_shared+set}" = set; then
1.2695 - enableval=$enable_shared; p=${PACKAGE-default}
1.2696 - case $enableval in
1.2697 - yes) enable_shared=yes ;;
1.2698 - no) enable_shared=no ;;
1.2699 - *)
1.2700 - enable_shared=no
1.2701 - # Look at the argument we got. We use all the common list separators.
1.2702 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2703 - for pkg in $enableval; do
1.2704 - IFS="$lt_save_ifs"
1.2705 - if test "X$pkg" = "X$p"; then
1.2706 - enable_shared=yes
1.2707 - fi
1.2708 - done
1.2709 - IFS="$lt_save_ifs"
1.2710 - ;;
1.2711 - esac
1.2712 -else
1.2713 - enable_shared=yes
1.2714 -fi
1.2715 -
1.2716 -
1.2717 -# Check whether --enable-fast-install was given.
1.2718 -if test "${enable_fast_install+set}" = set; then
1.2719 - enableval=$enable_fast_install; p=${PACKAGE-default}
1.2720 - case $enableval in
1.2721 - yes) enable_fast_install=yes ;;
1.2722 - no) enable_fast_install=no ;;
1.2723 - *)
1.2724 - enable_fast_install=no
1.2725 - # Look at the argument we got. We use all the common list separators.
1.2726 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2727 - for pkg in $enableval; do
1.2728 - IFS="$lt_save_ifs"
1.2729 - if test "X$pkg" = "X$p"; then
1.2730 - enable_fast_install=yes
1.2731 - fi
1.2732 - done
1.2733 - IFS="$lt_save_ifs"
1.2734 - ;;
1.2735 - esac
1.2736 -else
1.2737 - enable_fast_install=yes
1.2738 -fi
1.2739 -
1.2740 -
1.2741 -DEPDIR="${am__leading_dot}deps"
1.2742 -
1.2743 -ac_config_commands="$ac_config_commands depfiles"
1.2744 -
1.2745 -
1.2746 -am_make=${MAKE-make}
1.2747 -cat > confinc << 'END'
1.2748 -am__doit:
1.2749 - @echo done
1.2750 -.PHONY: am__doit
1.2751 -END
1.2752 -# If we don't find an include directive, just comment out the code.
1.2753 -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1.2754 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
1.2755 -am__include="#"
1.2756 -am__quote=
1.2757 -_am_result=none
1.2758 -# First try GNU make style include.
1.2759 -echo "include confinc" > confmf
1.2760 -# We grep out `Entering directory' and `Leaving directory'
1.2761 -# messages which can occur if `w' ends up in MAKEFLAGS.
1.2762 -# In particular we don't look at `^make:' because GNU make might
1.2763 -# be invoked under some other name (usually "gmake"), in which
1.2764 -# case it prints its new name instead of `make'.
1.2765 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1.2766 - am__include=include
1.2767 - am__quote=
1.2768 - _am_result=GNU
1.2769 -fi
1.2770 -# Now try BSD make style include.
1.2771 -if test "$am__include" = "#"; then
1.2772 - echo '.include "confinc"' > confmf
1.2773 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1.2774 - am__include=.include
1.2775 - am__quote="\""
1.2776 - _am_result=BSD
1.2777 - fi
1.2778 -fi
1.2779 -
1.2780 -
1.2781 -{ echo "$as_me:$LINENO: result: $_am_result" >&5
1.2782 -echo "${ECHO_T}$_am_result" >&6; }
1.2783 -rm -f confinc confmf
1.2784 -
1.2785 -# Check whether --enable-dependency-tracking was given.
1.2786 -if test "${enable_dependency_tracking+set}" = set; then
1.2787 - enableval=$enable_dependency_tracking;
1.2788 -fi
1.2789 -
1.2790 -if test "x$enable_dependency_tracking" != xno; then
1.2791 - am_depcomp="$ac_aux_dir/depcomp"
1.2792 - AMDEPBACKSLASH='\'
1.2793 -fi
1.2794 - if test "x$enable_dependency_tracking" != xno; then
1.2795 - AMDEP_TRUE=
1.2796 - AMDEP_FALSE='#'
1.2797 -else
1.2798 - AMDEP_TRUE='#'
1.2799 - AMDEP_FALSE=
1.2800 -fi
1.2801 -
1.2802 -
1.2803 -ac_ext=c
1.2804 -ac_cpp='$CPP $CPPFLAGS'
1.2805 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2806 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2807 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2808 -if test -n "$ac_tool_prefix"; then
1.2809 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.2810 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.2811 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2812 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2813 -if test "${ac_cv_prog_CC+set}" = set; then
1.2814 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2815 -else
1.2816 - if test -n "$CC"; then
1.2817 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2818 -else
1.2819 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2820 -for as_dir in $PATH
1.2821 -do
1.2822 - IFS=$as_save_IFS
1.2823 - test -z "$as_dir" && as_dir=.
1.2824 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2825 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2826 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.2827 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2828 - break 2
1.2829 - fi
1.2830 -done
1.2831 -done
1.2832 -IFS=$as_save_IFS
1.2833 -
1.2834 -fi
1.2835 -fi
1.2836 -CC=$ac_cv_prog_CC
1.2837 -if test -n "$CC"; then
1.2838 - { echo "$as_me:$LINENO: result: $CC" >&5
1.2839 -echo "${ECHO_T}$CC" >&6; }
1.2840 -else
1.2841 - { echo "$as_me:$LINENO: result: no" >&5
1.2842 -echo "${ECHO_T}no" >&6; }
1.2843 -fi
1.2844 -
1.2845 -
1.2846 -fi
1.2847 -if test -z "$ac_cv_prog_CC"; then
1.2848 - ac_ct_CC=$CC
1.2849 - # Extract the first word of "gcc", so it can be a program name with args.
1.2850 -set dummy gcc; ac_word=$2
1.2851 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2852 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2853 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2854 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2855 -else
1.2856 - if test -n "$ac_ct_CC"; then
1.2857 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2858 -else
1.2859 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2860 -for as_dir in $PATH
1.2861 -do
1.2862 - IFS=$as_save_IFS
1.2863 - test -z "$as_dir" && as_dir=.
1.2864 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2865 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2866 - ac_cv_prog_ac_ct_CC="gcc"
1.2867 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2868 - break 2
1.2869 - fi
1.2870 -done
1.2871 -done
1.2872 -IFS=$as_save_IFS
1.2873 -
1.2874 -fi
1.2875 -fi
1.2876 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2877 -if test -n "$ac_ct_CC"; then
1.2878 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2879 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.2880 -else
1.2881 - { echo "$as_me:$LINENO: result: no" >&5
1.2882 -echo "${ECHO_T}no" >&6; }
1.2883 -fi
1.2884 -
1.2885 - if test "x$ac_ct_CC" = x; then
1.2886 - CC=""
1.2887 - else
1.2888 - case $cross_compiling:$ac_tool_warned in
1.2889 -yes:)
1.2890 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.2891 -whose name does not start with the host triplet. If you think this
1.2892 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.2893 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.2894 -whose name does not start with the host triplet. If you think this
1.2895 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.2896 -ac_tool_warned=yes ;;
1.2897 -esac
1.2898 - CC=$ac_ct_CC
1.2899 - fi
1.2900 -else
1.2901 - CC="$ac_cv_prog_CC"
1.2902 -fi
1.2903 -
1.2904 -if test -z "$CC"; then
1.2905 - if test -n "$ac_tool_prefix"; then
1.2906 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.2907 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.2908 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2909 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2910 -if test "${ac_cv_prog_CC+set}" = set; then
1.2911 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2912 -else
1.2913 - if test -n "$CC"; then
1.2914 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2915 -else
1.2916 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2917 -for as_dir in $PATH
1.2918 -do
1.2919 - IFS=$as_save_IFS
1.2920 - test -z "$as_dir" && as_dir=.
1.2921 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2922 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2923 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.2924 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2925 - break 2
1.2926 - fi
1.2927 -done
1.2928 -done
1.2929 -IFS=$as_save_IFS
1.2930 -
1.2931 -fi
1.2932 -fi
1.2933 -CC=$ac_cv_prog_CC
1.2934 -if test -n "$CC"; then
1.2935 - { echo "$as_me:$LINENO: result: $CC" >&5
1.2936 -echo "${ECHO_T}$CC" >&6; }
1.2937 -else
1.2938 - { echo "$as_me:$LINENO: result: no" >&5
1.2939 -echo "${ECHO_T}no" >&6; }
1.2940 -fi
1.2941 -
1.2942 -
1.2943 - fi
1.2944 -fi
1.2945 -if test -z "$CC"; then
1.2946 - # Extract the first word of "cc", so it can be a program name with args.
1.2947 -set dummy cc; ac_word=$2
1.2948 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2949 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2950 -if test "${ac_cv_prog_CC+set}" = set; then
1.2951 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2952 -else
1.2953 - if test -n "$CC"; then
1.2954 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2955 -else
1.2956 - ac_prog_rejected=no
1.2957 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2958 -for as_dir in $PATH
1.2959 -do
1.2960 - IFS=$as_save_IFS
1.2961 - test -z "$as_dir" && as_dir=.
1.2962 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2963 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2964 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.2965 - ac_prog_rejected=yes
1.2966 - continue
1.2967 - fi
1.2968 - ac_cv_prog_CC="cc"
1.2969 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2970 - break 2
1.2971 - fi
1.2972 -done
1.2973 -done
1.2974 -IFS=$as_save_IFS
1.2975 -
1.2976 -if test $ac_prog_rejected = yes; then
1.2977 - # We found a bogon in the path, so make sure we never use it.
1.2978 - set dummy $ac_cv_prog_CC
1.2979 - shift
1.2980 - if test $@%:@ != 0; then
1.2981 - # We chose a different compiler from the bogus one.
1.2982 - # However, it has the same basename, so the bogon will be chosen
1.2983 - # first if we set CC to just the basename; use the full file name.
1.2984 - shift
1.2985 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.2986 - fi
1.2987 -fi
1.2988 -fi
1.2989 -fi
1.2990 -CC=$ac_cv_prog_CC
1.2991 -if test -n "$CC"; then
1.2992 - { echo "$as_me:$LINENO: result: $CC" >&5
1.2993 -echo "${ECHO_T}$CC" >&6; }
1.2994 -else
1.2995 - { echo "$as_me:$LINENO: result: no" >&5
1.2996 -echo "${ECHO_T}no" >&6; }
1.2997 -fi
1.2998 -
1.2999 -
1.3000 -fi
1.3001 -if test -z "$CC"; then
1.3002 - if test -n "$ac_tool_prefix"; then
1.3003 - for ac_prog in cl.exe
1.3004 - do
1.3005 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.3006 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.3007 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3008 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3009 -if test "${ac_cv_prog_CC+set}" = set; then
1.3010 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3011 -else
1.3012 - if test -n "$CC"; then
1.3013 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.3014 -else
1.3015 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3016 -for as_dir in $PATH
1.3017 -do
1.3018 - IFS=$as_save_IFS
1.3019 - test -z "$as_dir" && as_dir=.
1.3020 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3021 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3022 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.3023 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3024 - break 2
1.3025 - fi
1.3026 -done
1.3027 -done
1.3028 -IFS=$as_save_IFS
1.3029 -
1.3030 -fi
1.3031 -fi
1.3032 -CC=$ac_cv_prog_CC
1.3033 -if test -n "$CC"; then
1.3034 - { echo "$as_me:$LINENO: result: $CC" >&5
1.3035 -echo "${ECHO_T}$CC" >&6; }
1.3036 -else
1.3037 - { echo "$as_me:$LINENO: result: no" >&5
1.3038 -echo "${ECHO_T}no" >&6; }
1.3039 -fi
1.3040 -
1.3041 -
1.3042 - test -n "$CC" && break
1.3043 - done
1.3044 -fi
1.3045 -if test -z "$CC"; then
1.3046 - ac_ct_CC=$CC
1.3047 - for ac_prog in cl.exe
1.3048 -do
1.3049 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.3050 -set dummy $ac_prog; ac_word=$2
1.3051 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3052 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3053 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.3054 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3055 -else
1.3056 - if test -n "$ac_ct_CC"; then
1.3057 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.3058 -else
1.3059 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3060 -for as_dir in $PATH
1.3061 -do
1.3062 - IFS=$as_save_IFS
1.3063 - test -z "$as_dir" && as_dir=.
1.3064 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3065 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3066 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.3067 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3068 - break 2
1.3069 - fi
1.3070 -done
1.3071 -done
1.3072 -IFS=$as_save_IFS
1.3073 -
1.3074 -fi
1.3075 -fi
1.3076 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.3077 -if test -n "$ac_ct_CC"; then
1.3078 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.3079 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.3080 -else
1.3081 - { echo "$as_me:$LINENO: result: no" >&5
1.3082 -echo "${ECHO_T}no" >&6; }
1.3083 -fi
1.3084 -
1.3085 -
1.3086 - test -n "$ac_ct_CC" && break
1.3087 -done
1.3088 -
1.3089 - if test "x$ac_ct_CC" = x; then
1.3090 - CC=""
1.3091 - else
1.3092 - case $cross_compiling:$ac_tool_warned in
1.3093 -yes:)
1.3094 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.3095 -whose name does not start with the host triplet. If you think this
1.3096 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.3097 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.3098 -whose name does not start with the host triplet. If you think this
1.3099 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.3100 -ac_tool_warned=yes ;;
1.3101 -esac
1.3102 - CC=$ac_ct_CC
1.3103 - fi
1.3104 -fi
1.3105 -
1.3106 -fi
1.3107 -
1.3108 -
1.3109 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.3110 -See \`config.log' for more details." >&5
1.3111 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.3112 -See \`config.log' for more details." >&2;}
1.3113 - { (exit 1); exit 1; }; }
1.3114 -
1.3115 -# Provide some information about the compiler.
1.3116 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.3117 -ac_compiler=`set X $ac_compile; echo $2`
1.3118 -{ (ac_try="$ac_compiler --version >&5"
1.3119 -case "(($ac_try" in
1.3120 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3121 - *) ac_try_echo=$ac_try;;
1.3122 -esac
1.3123 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3124 - (eval "$ac_compiler --version >&5") 2>&5
1.3125 - ac_status=$?
1.3126 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3127 - (exit $ac_status); }
1.3128 -{ (ac_try="$ac_compiler -v >&5"
1.3129 -case "(($ac_try" in
1.3130 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3131 - *) ac_try_echo=$ac_try;;
1.3132 -esac
1.3133 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3134 - (eval "$ac_compiler -v >&5") 2>&5
1.3135 - ac_status=$?
1.3136 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3137 - (exit $ac_status); }
1.3138 -{ (ac_try="$ac_compiler -V >&5"
1.3139 -case "(($ac_try" in
1.3140 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3141 - *) ac_try_echo=$ac_try;;
1.3142 -esac
1.3143 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3144 - (eval "$ac_compiler -V >&5") 2>&5
1.3145 - ac_status=$?
1.3146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3147 - (exit $ac_status); }
1.3148 -
1.3149 -cat >conftest.$ac_ext <<_ACEOF
1.3150 -/* confdefs.h. */
1.3151 -_ACEOF
1.3152 -cat confdefs.h >>conftest.$ac_ext
1.3153 -cat >>conftest.$ac_ext <<_ACEOF
1.3154 -/* end confdefs.h. */
1.3155 -
1.3156 -int
1.3157 -main ()
1.3158 -{
1.3159 -
1.3160 - ;
1.3161 - return 0;
1.3162 -}
1.3163 -_ACEOF
1.3164 -ac_clean_files_save=$ac_clean_files
1.3165 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.3166 -# Try to create an executable without -o first, disregard a.out.
1.3167 -# It will help us diagnose broken compilers, and finding out an intuition
1.3168 -# of exeext.
1.3169 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1.3170 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1.3171 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.3172 -#
1.3173 -# List of possible output files, starting from the most likely.
1.3174 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
1.3175 -# only as a last resort. b.out is created by i960 compilers.
1.3176 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
1.3177 -#
1.3178 -# The IRIX 6 linker writes into existing files which may not be
1.3179 -# executable, retaining their permissions. Remove them first so a
1.3180 -# subsequent execution test works.
1.3181 -ac_rmfiles=
1.3182 -for ac_file in $ac_files
1.3183 -do
1.3184 - case $ac_file in
1.3185 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.3186 - * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1.3187 - esac
1.3188 -done
1.3189 -rm -f $ac_rmfiles
1.3190 -
1.3191 -if { (ac_try="$ac_link_default"
1.3192 -case "(($ac_try" in
1.3193 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3194 - *) ac_try_echo=$ac_try;;
1.3195 -esac
1.3196 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3197 - (eval "$ac_link_default") 2>&5
1.3198 - ac_status=$?
1.3199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3200 - (exit $ac_status); }; then
1.3201 - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1.3202 -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1.3203 -# in a Makefile. We should not override ac_cv_exeext if it was cached,
1.3204 -# so that the user can short-circuit this test for compilers unknown to
1.3205 -# Autoconf.
1.3206 -for ac_file in $ac_files ''
1.3207 -do
1.3208 - test -f "$ac_file" || continue
1.3209 - case $ac_file in
1.3210 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1.3211 - ;;
1.3212 - [ab].out )
1.3213 - # We found the default executable, but exeext='' is most
1.3214 - # certainly right.
1.3215 - break;;
1.3216 - *.* )
1.3217 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.3218 - then :; else
1.3219 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.3220 - fi
1.3221 - # We set ac_cv_exeext here because the later test for it is not
1.3222 - # safe: cross compilers may not add the suffix if given an `-o'
1.3223 - # argument, so we may need to know it at that point already.
1.3224 - # Even if this section looks crufty: it has the advantage of
1.3225 - # actually working.
1.3226 - break;;
1.3227 - * )
1.3228 - break;;
1.3229 - esac
1.3230 -done
1.3231 -test "$ac_cv_exeext" = no && ac_cv_exeext=
1.3232 -
1.3233 -else
1.3234 - ac_file=''
1.3235 -fi
1.3236 -
1.3237 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
1.3238 -echo "${ECHO_T}$ac_file" >&6; }
1.3239 -if test -z "$ac_file"; then
1.3240 - echo "$as_me: failed program was:" >&5
1.3241 -sed 's/^/| /' conftest.$ac_ext >&5
1.3242 -
1.3243 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1.3244 -See \`config.log' for more details." >&5
1.3245 -echo "$as_me: error: C compiler cannot create executables
1.3246 -See \`config.log' for more details." >&2;}
1.3247 - { (exit 77); exit 77; }; }
1.3248 -fi
1.3249 -
1.3250 -ac_exeext=$ac_cv_exeext
1.3251 -
1.3252 -# Check that the compiler produces executables we can run. If not, either
1.3253 -# the compiler is broken, or we cross compile.
1.3254 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1.3255 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1.3256 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1.3257 -# If not cross compiling, check that we can run a simple program.
1.3258 -if test "$cross_compiling" != yes; then
1.3259 - if { ac_try='./$ac_file'
1.3260 - { (case "(($ac_try" in
1.3261 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3262 - *) ac_try_echo=$ac_try;;
1.3263 -esac
1.3264 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3265 - (eval "$ac_try") 2>&5
1.3266 - ac_status=$?
1.3267 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3268 - (exit $ac_status); }; }; then
1.3269 - cross_compiling=no
1.3270 - else
1.3271 - if test "$cross_compiling" = maybe; then
1.3272 - cross_compiling=yes
1.3273 - else
1.3274 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.3275 -If you meant to cross compile, use \`--host'.
1.3276 -See \`config.log' for more details." >&5
1.3277 -echo "$as_me: error: cannot run C compiled programs.
1.3278 -If you meant to cross compile, use \`--host'.
1.3279 -See \`config.log' for more details." >&2;}
1.3280 - { (exit 1); exit 1; }; }
1.3281 - fi
1.3282 - fi
1.3283 -fi
1.3284 -{ echo "$as_me:$LINENO: result: yes" >&5
1.3285 -echo "${ECHO_T}yes" >&6; }
1.3286 -
1.3287 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.3288 -ac_clean_files=$ac_clean_files_save
1.3289 -# Check that the compiler produces executables we can run. If not, either
1.3290 -# the compiler is broken, or we cross compile.
1.3291 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1.3292 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
1.3293 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
1.3294 -echo "${ECHO_T}$cross_compiling" >&6; }
1.3295 -
1.3296 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
1.3297 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
1.3298 -if { (ac_try="$ac_link"
1.3299 -case "(($ac_try" in
1.3300 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3301 - *) ac_try_echo=$ac_try;;
1.3302 -esac
1.3303 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3304 - (eval "$ac_link") 2>&5
1.3305 - ac_status=$?
1.3306 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3307 - (exit $ac_status); }; then
1.3308 - # If both `conftest.exe' and `conftest' are `present' (well, observable)
1.3309 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1.3310 -# work properly (i.e., refer to `conftest.exe'), while it won't with
1.3311 -# `rm'.
1.3312 -for ac_file in conftest.exe conftest conftest.*; do
1.3313 - test -f "$ac_file" || continue
1.3314 - case $ac_file in
1.3315 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.3316 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.3317 - break;;
1.3318 - * ) break;;
1.3319 - esac
1.3320 -done
1.3321 -else
1.3322 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1.3323 -See \`config.log' for more details." >&5
1.3324 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1.3325 -See \`config.log' for more details." >&2;}
1.3326 - { (exit 1); exit 1; }; }
1.3327 -fi
1.3328 -
1.3329 -rm -f conftest$ac_cv_exeext
1.3330 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.3331 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
1.3332 -
1.3333 -rm -f conftest.$ac_ext
1.3334 -EXEEXT=$ac_cv_exeext
1.3335 -ac_exeext=$EXEEXT
1.3336 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
1.3337 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
1.3338 -if test "${ac_cv_objext+set}" = set; then
1.3339 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3340 -else
1.3341 - cat >conftest.$ac_ext <<_ACEOF
1.3342 -/* confdefs.h. */
1.3343 -_ACEOF
1.3344 -cat confdefs.h >>conftest.$ac_ext
1.3345 -cat >>conftest.$ac_ext <<_ACEOF
1.3346 -/* end confdefs.h. */
1.3347 -
1.3348 -int
1.3349 -main ()
1.3350 -{
1.3351 -
1.3352 - ;
1.3353 - return 0;
1.3354 -}
1.3355 -_ACEOF
1.3356 -rm -f conftest.o conftest.obj
1.3357 -if { (ac_try="$ac_compile"
1.3358 -case "(($ac_try" in
1.3359 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3360 - *) ac_try_echo=$ac_try;;
1.3361 -esac
1.3362 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3363 - (eval "$ac_compile") 2>&5
1.3364 - ac_status=$?
1.3365 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3366 - (exit $ac_status); }; then
1.3367 - for ac_file in conftest.o conftest.obj conftest.*; do
1.3368 - test -f "$ac_file" || continue;
1.3369 - case $ac_file in
1.3370 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
1.3371 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1.3372 - break;;
1.3373 - esac
1.3374 -done
1.3375 -else
1.3376 - echo "$as_me: failed program was:" >&5
1.3377 -sed 's/^/| /' conftest.$ac_ext >&5
1.3378 -
1.3379 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1.3380 -See \`config.log' for more details." >&5
1.3381 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
1.3382 -See \`config.log' for more details." >&2;}
1.3383 - { (exit 1); exit 1; }; }
1.3384 -fi
1.3385 -
1.3386 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.3387 -fi
1.3388 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.3389 -echo "${ECHO_T}$ac_cv_objext" >&6; }
1.3390 -OBJEXT=$ac_cv_objext
1.3391 -ac_objext=$OBJEXT
1.3392 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.3393 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.3394 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.3395 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3396 -else
1.3397 - cat >conftest.$ac_ext <<_ACEOF
1.3398 -/* confdefs.h. */
1.3399 -_ACEOF
1.3400 -cat confdefs.h >>conftest.$ac_ext
1.3401 -cat >>conftest.$ac_ext <<_ACEOF
1.3402 -/* end confdefs.h. */
1.3403 -
1.3404 -int
1.3405 -main ()
1.3406 -{
1.3407 -#ifndef __GNUC__
1.3408 - choke me
1.3409 -#endif
1.3410 -
1.3411 - ;
1.3412 - return 0;
1.3413 -}
1.3414 -_ACEOF
1.3415 -rm -f conftest.$ac_objext
1.3416 -if { (ac_try="$ac_compile"
1.3417 -case "(($ac_try" in
1.3418 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3419 - *) ac_try_echo=$ac_try;;
1.3420 -esac
1.3421 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3422 - (eval "$ac_compile") 2>conftest.er1
1.3423 - ac_status=$?
1.3424 - grep -v '^ *+' conftest.er1 >conftest.err
1.3425 - rm -f conftest.er1
1.3426 - cat conftest.err >&5
1.3427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3428 - (exit $ac_status); } && {
1.3429 - test -z "$ac_c_werror_flag" ||
1.3430 - test ! -s conftest.err
1.3431 - } && test -s conftest.$ac_objext; then
1.3432 - ac_compiler_gnu=yes
1.3433 -else
1.3434 - echo "$as_me: failed program was:" >&5
1.3435 -sed 's/^/| /' conftest.$ac_ext >&5
1.3436 -
1.3437 - ac_compiler_gnu=no
1.3438 -fi
1.3439 -
1.3440 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3441 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.3442 -
1.3443 -fi
1.3444 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.3445 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.3446 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.3447 -ac_test_CFLAGS=${CFLAGS+set}
1.3448 -ac_save_CFLAGS=$CFLAGS
1.3449 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.3450 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.3451 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.3452 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3453 -else
1.3454 - ac_save_c_werror_flag=$ac_c_werror_flag
1.3455 - ac_c_werror_flag=yes
1.3456 - ac_cv_prog_cc_g=no
1.3457 - CFLAGS="-g"
1.3458 - cat >conftest.$ac_ext <<_ACEOF
1.3459 -/* confdefs.h. */
1.3460 -_ACEOF
1.3461 -cat confdefs.h >>conftest.$ac_ext
1.3462 -cat >>conftest.$ac_ext <<_ACEOF
1.3463 -/* end confdefs.h. */
1.3464 -
1.3465 -int
1.3466 -main ()
1.3467 -{
1.3468 -
1.3469 - ;
1.3470 - return 0;
1.3471 -}
1.3472 -_ACEOF
1.3473 -rm -f conftest.$ac_objext
1.3474 -if { (ac_try="$ac_compile"
1.3475 -case "(($ac_try" in
1.3476 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3477 - *) ac_try_echo=$ac_try;;
1.3478 -esac
1.3479 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3480 - (eval "$ac_compile") 2>conftest.er1
1.3481 - ac_status=$?
1.3482 - grep -v '^ *+' conftest.er1 >conftest.err
1.3483 - rm -f conftest.er1
1.3484 - cat conftest.err >&5
1.3485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3486 - (exit $ac_status); } && {
1.3487 - test -z "$ac_c_werror_flag" ||
1.3488 - test ! -s conftest.err
1.3489 - } && test -s conftest.$ac_objext; then
1.3490 - ac_cv_prog_cc_g=yes
1.3491 -else
1.3492 - echo "$as_me: failed program was:" >&5
1.3493 -sed 's/^/| /' conftest.$ac_ext >&5
1.3494 -
1.3495 - CFLAGS=""
1.3496 - cat >conftest.$ac_ext <<_ACEOF
1.3497 -/* confdefs.h. */
1.3498 -_ACEOF
1.3499 -cat confdefs.h >>conftest.$ac_ext
1.3500 -cat >>conftest.$ac_ext <<_ACEOF
1.3501 -/* end confdefs.h. */
1.3502 -
1.3503 -int
1.3504 -main ()
1.3505 -{
1.3506 -
1.3507 - ;
1.3508 - return 0;
1.3509 -}
1.3510 -_ACEOF
1.3511 -rm -f conftest.$ac_objext
1.3512 -if { (ac_try="$ac_compile"
1.3513 -case "(($ac_try" in
1.3514 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3515 - *) ac_try_echo=$ac_try;;
1.3516 -esac
1.3517 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3518 - (eval "$ac_compile") 2>conftest.er1
1.3519 - ac_status=$?
1.3520 - grep -v '^ *+' conftest.er1 >conftest.err
1.3521 - rm -f conftest.er1
1.3522 - cat conftest.err >&5
1.3523 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3524 - (exit $ac_status); } && {
1.3525 - test -z "$ac_c_werror_flag" ||
1.3526 - test ! -s conftest.err
1.3527 - } && test -s conftest.$ac_objext; then
1.3528 - :
1.3529 -else
1.3530 - echo "$as_me: failed program was:" >&5
1.3531 -sed 's/^/| /' conftest.$ac_ext >&5
1.3532 -
1.3533 - ac_c_werror_flag=$ac_save_c_werror_flag
1.3534 - CFLAGS="-g"
1.3535 - cat >conftest.$ac_ext <<_ACEOF
1.3536 -/* confdefs.h. */
1.3537 -_ACEOF
1.3538 -cat confdefs.h >>conftest.$ac_ext
1.3539 -cat >>conftest.$ac_ext <<_ACEOF
1.3540 -/* end confdefs.h. */
1.3541 -
1.3542 -int
1.3543 -main ()
1.3544 -{
1.3545 -
1.3546 - ;
1.3547 - return 0;
1.3548 -}
1.3549 -_ACEOF
1.3550 -rm -f conftest.$ac_objext
1.3551 -if { (ac_try="$ac_compile"
1.3552 -case "(($ac_try" in
1.3553 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3554 - *) ac_try_echo=$ac_try;;
1.3555 -esac
1.3556 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3557 - (eval "$ac_compile") 2>conftest.er1
1.3558 - ac_status=$?
1.3559 - grep -v '^ *+' conftest.er1 >conftest.err
1.3560 - rm -f conftest.er1
1.3561 - cat conftest.err >&5
1.3562 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3563 - (exit $ac_status); } && {
1.3564 - test -z "$ac_c_werror_flag" ||
1.3565 - test ! -s conftest.err
1.3566 - } && test -s conftest.$ac_objext; then
1.3567 - ac_cv_prog_cc_g=yes
1.3568 -else
1.3569 - echo "$as_me: failed program was:" >&5
1.3570 -sed 's/^/| /' conftest.$ac_ext >&5
1.3571 -
1.3572 -
1.3573 -fi
1.3574 -
1.3575 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3576 -fi
1.3577 -
1.3578 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3579 -fi
1.3580 -
1.3581 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.3582 - ac_c_werror_flag=$ac_save_c_werror_flag
1.3583 -fi
1.3584 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.3585 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.3586 -if test "$ac_test_CFLAGS" = set; then
1.3587 - CFLAGS=$ac_save_CFLAGS
1.3588 -elif test $ac_cv_prog_cc_g = yes; then
1.3589 - if test "$GCC" = yes; then
1.3590 - CFLAGS="-g -O2"
1.3591 - else
1.3592 - CFLAGS="-g"
1.3593 - fi
1.3594 -else
1.3595 - if test "$GCC" = yes; then
1.3596 - CFLAGS="-O2"
1.3597 - else
1.3598 - CFLAGS=
1.3599 - fi
1.3600 -fi
1.3601 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.3602 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.3603 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.3604 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3605 -else
1.3606 - ac_cv_prog_cc_c89=no
1.3607 -ac_save_CC=$CC
1.3608 -cat >conftest.$ac_ext <<_ACEOF
1.3609 -/* confdefs.h. */
1.3610 -_ACEOF
1.3611 -cat confdefs.h >>conftest.$ac_ext
1.3612 -cat >>conftest.$ac_ext <<_ACEOF
1.3613 -/* end confdefs.h. */
1.3614 -#include <stdarg.h>
1.3615 -#include <stdio.h>
1.3616 -#include <sys/types.h>
1.3617 -#include <sys/stat.h>
1.3618 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.3619 -struct buf { int x; };
1.3620 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.3621 -static char *e (p, i)
1.3622 - char **p;
1.3623 - int i;
1.3624 -{
1.3625 - return p[i];
1.3626 -}
1.3627 -static char *f (char * (*g) (char **, int), char **p, ...)
1.3628 -{
1.3629 - char *s;
1.3630 - va_list v;
1.3631 - va_start (v,p);
1.3632 - s = g (p, va_arg (v,int));
1.3633 - va_end (v);
1.3634 - return s;
1.3635 -}
1.3636 -
1.3637 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.3638 - function prototypes and stuff, but not '\xHH' hex character constants.
1.3639 - These don't provoke an error unfortunately, instead are silently treated
1.3640 - as 'x'. The following induces an error, until -std is added to get
1.3641 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.3642 - array size at least. It's necessary to write '\x00'==0 to get something
1.3643 - that's true only with -std. */
1.3644 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.3645 -
1.3646 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.3647 - inside strings and character constants. */
1.3648 -#define FOO(x) 'x'
1.3649 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.3650 -
1.3651 -int test (int i, double x);
1.3652 -struct s1 {int (*f) (int a);};
1.3653 -struct s2 {int (*f) (double a);};
1.3654 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.3655 -int argc;
1.3656 -char **argv;
1.3657 -int
1.3658 -main ()
1.3659 -{
1.3660 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.3661 - ;
1.3662 - return 0;
1.3663 -}
1.3664 -_ACEOF
1.3665 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.3666 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.3667 -do
1.3668 - CC="$ac_save_CC $ac_arg"
1.3669 - rm -f conftest.$ac_objext
1.3670 -if { (ac_try="$ac_compile"
1.3671 -case "(($ac_try" in
1.3672 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3673 - *) ac_try_echo=$ac_try;;
1.3674 -esac
1.3675 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3676 - (eval "$ac_compile") 2>conftest.er1
1.3677 - ac_status=$?
1.3678 - grep -v '^ *+' conftest.er1 >conftest.err
1.3679 - rm -f conftest.er1
1.3680 - cat conftest.err >&5
1.3681 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3682 - (exit $ac_status); } && {
1.3683 - test -z "$ac_c_werror_flag" ||
1.3684 - test ! -s conftest.err
1.3685 - } && test -s conftest.$ac_objext; then
1.3686 - ac_cv_prog_cc_c89=$ac_arg
1.3687 -else
1.3688 - echo "$as_me: failed program was:" >&5
1.3689 -sed 's/^/| /' conftest.$ac_ext >&5
1.3690 -
1.3691 -
1.3692 -fi
1.3693 -
1.3694 -rm -f core conftest.err conftest.$ac_objext
1.3695 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.3696 -done
1.3697 -rm -f conftest.$ac_ext
1.3698 -CC=$ac_save_CC
1.3699 -
1.3700 -fi
1.3701 -# AC_CACHE_VAL
1.3702 -case "x$ac_cv_prog_cc_c89" in
1.3703 - x)
1.3704 - { echo "$as_me:$LINENO: result: none needed" >&5
1.3705 -echo "${ECHO_T}none needed" >&6; } ;;
1.3706 - xno)
1.3707 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.3708 -echo "${ECHO_T}unsupported" >&6; } ;;
1.3709 - *)
1.3710 - CC="$CC $ac_cv_prog_cc_c89"
1.3711 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.3712 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.3713 -esac
1.3714 -
1.3715 -
1.3716 -ac_ext=c
1.3717 -ac_cpp='$CPP $CPPFLAGS'
1.3718 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3719 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3720 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3721 -
1.3722 -depcc="$CC" am_compiler_list=
1.3723 -
1.3724 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.3725 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.3726 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.3727 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3728 -else
1.3729 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.3730 - # We make a subdir and do the tests there. Otherwise we can end up
1.3731 - # making bogus files that we don't know about and never remove. For
1.3732 - # instance it was reported that on HP-UX the gcc test will end up
1.3733 - # making a dummy file named `D' -- because `-MD' means `put the output
1.3734 - # in D'.
1.3735 - mkdir conftest.dir
1.3736 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.3737 - # using a relative directory.
1.3738 - cp "$am_depcomp" conftest.dir
1.3739 - cd conftest.dir
1.3740 - # We will build objects and dependencies in a subdirectory because
1.3741 - # it helps to detect inapplicable dependency modes. For instance
1.3742 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.3743 - # side effect of compilation, but ICC will put the dependencies in
1.3744 - # the current directory while Tru64 will put them in the object
1.3745 - # directory.
1.3746 - mkdir sub
1.3747 -
1.3748 - am_cv_CC_dependencies_compiler_type=none
1.3749 - if test "$am_compiler_list" = ""; then
1.3750 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.3751 - fi
1.3752 - for depmode in $am_compiler_list; do
1.3753 - # Setup a source with many dependencies, because some compilers
1.3754 - # like to wrap large dependency lists on column 80 (with \), and
1.3755 - # we should not choose a depcomp mode which is confused by this.
1.3756 - #
1.3757 - # We need to recreate these files for each test, as the compiler may
1.3758 - # overwrite some of them when testing with obscure command lines.
1.3759 - # This happens at least with the AIX C compiler.
1.3760 - : > sub/conftest.c
1.3761 - for i in 1 2 3 4 5 6; do
1.3762 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.3763 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.3764 - # Solaris 8's {/usr,}/bin/sh.
1.3765 - touch sub/conftst$i.h
1.3766 - done
1.3767 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.3768 -
1.3769 - case $depmode in
1.3770 - nosideeffect)
1.3771 - # after this tag, mechanisms are not by side-effect, so they'll
1.3772 - # only be used when explicitly requested
1.3773 - if test "x$enable_dependency_tracking" = xyes; then
1.3774 - continue
1.3775 - else
1.3776 - break
1.3777 - fi
1.3778 - ;;
1.3779 - none) break ;;
1.3780 - esac
1.3781 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.3782 - # mode. It turns out that the SunPro C++ compiler does not properly
1.3783 - # handle `-M -o', and we need to detect this.
1.3784 - if depmode=$depmode \
1.3785 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.3786 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.3787 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.3788 - >/dev/null 2>conftest.err &&
1.3789 - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.3790 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.3791 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.3792 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.3793 - # icc doesn't choke on unknown options, it will just issue warnings
1.3794 - # or remarks (even with -Werror). So we grep stderr for any message
1.3795 - # that says an option was ignored or not supported.
1.3796 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.3797 - # icc: Command line warning: ignoring option '-M'; no argument required
1.3798 - # The diagnosis changed in icc 8.0:
1.3799 - # icc: Command line remark: option '-MP' not supported
1.3800 - if (grep 'ignoring option' conftest.err ||
1.3801 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.3802 - am_cv_CC_dependencies_compiler_type=$depmode
1.3803 - break
1.3804 - fi
1.3805 - fi
1.3806 - done
1.3807 -
1.3808 - cd ..
1.3809 - rm -rf conftest.dir
1.3810 -else
1.3811 - am_cv_CC_dependencies_compiler_type=none
1.3812 -fi
1.3813 -
1.3814 -fi
1.3815 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.3816 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.3817 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.3818 -
1.3819 - if
1.3820 - test "x$enable_dependency_tracking" != xno \
1.3821 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.3822 - am__fastdepCC_TRUE=
1.3823 - am__fastdepCC_FALSE='#'
1.3824 -else
1.3825 - am__fastdepCC_TRUE='#'
1.3826 - am__fastdepCC_FALSE=
1.3827 -fi
1.3828 -
1.3829 -
1.3830 -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
1.3831 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
1.3832 -if test "${lt_cv_path_SED+set}" = set; then
1.3833 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3834 -else
1.3835 - # Loop through the user's path and test for sed and gsed.
1.3836 -# Then use that list of sed's as ones to test for truncation.
1.3837 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3838 -for as_dir in $PATH
1.3839 -do
1.3840 - IFS=$as_save_IFS
1.3841 - test -z "$as_dir" && as_dir=.
1.3842 - for lt_ac_prog in sed gsed; do
1.3843 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3844 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
1.3845 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
1.3846 - fi
1.3847 - done
1.3848 - done
1.3849 -done
1.3850 -lt_ac_max=0
1.3851 -lt_ac_count=0
1.3852 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
1.3853 -# along with /bin/sed that truncates output.
1.3854 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
1.3855 - test ! -f $lt_ac_sed && break
1.3856 - cat /dev/null > conftest.in
1.3857 - lt_ac_count=0
1.3858 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
1.3859 - # Check for GNU sed and select it if it is found.
1.3860 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
1.3861 - lt_cv_path_SED=$lt_ac_sed
1.3862 - break
1.3863 - fi
1.3864 - while true; do
1.3865 - cat conftest.in conftest.in >conftest.tmp
1.3866 - mv conftest.tmp conftest.in
1.3867 - cp conftest.in conftest.nl
1.3868 - echo >>conftest.nl
1.3869 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
1.3870 - cmp -s conftest.out conftest.nl || break
1.3871 - # 10000 chars as input seems more than enough
1.3872 - test $lt_ac_count -gt 10 && break
1.3873 - lt_ac_count=`expr $lt_ac_count + 1`
1.3874 - if test $lt_ac_count -gt $lt_ac_max; then
1.3875 - lt_ac_max=$lt_ac_count
1.3876 - lt_cv_path_SED=$lt_ac_sed
1.3877 - fi
1.3878 - done
1.3879 -done
1.3880 -SED=$lt_cv_path_SED
1.3881 -
1.3882 -fi
1.3883 -
1.3884 -{ echo "$as_me:$LINENO: result: $SED" >&5
1.3885 -echo "${ECHO_T}$SED" >&6; }
1.3886 -
1.3887 -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1.3888 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
1.3889 -if test "${ac_cv_path_GREP+set}" = set; then
1.3890 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3891 -else
1.3892 - # Extract the first word of "grep ggrep" to use in msg output
1.3893 -if test -z "$GREP"; then
1.3894 -set dummy grep ggrep; ac_prog_name=$2
1.3895 -if test "${ac_cv_path_GREP+set}" = set; then
1.3896 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3897 -else
1.3898 - ac_path_GREP_found=false
1.3899 -# Loop through the user's path and test for each of PROGNAME-LIST
1.3900 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3901 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.3902 -do
1.3903 - IFS=$as_save_IFS
1.3904 - test -z "$as_dir" && as_dir=.
1.3905 - for ac_prog in grep ggrep; do
1.3906 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3907 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.3908 - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1.3909 - # Check for GNU ac_path_GREP and select it if it is found.
1.3910 - # Check for GNU $ac_path_GREP
1.3911 -case `"$ac_path_GREP" --version 2>&1` in
1.3912 -*GNU*)
1.3913 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1.3914 -*)
1.3915 - ac_count=0
1.3916 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.3917 - while :
1.3918 - do
1.3919 - cat "conftest.in" "conftest.in" >"conftest.tmp"
1.3920 - mv "conftest.tmp" "conftest.in"
1.3921 - cp "conftest.in" "conftest.nl"
1.3922 - echo 'GREP' >> "conftest.nl"
1.3923 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.3924 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.3925 - ac_count=`expr $ac_count + 1`
1.3926 - if test $ac_count -gt ${ac_path_GREP_max-0}; then
1.3927 - # Best one so far, save it but keep looking for a better one
1.3928 - ac_cv_path_GREP="$ac_path_GREP"
1.3929 - ac_path_GREP_max=$ac_count
1.3930 - fi
1.3931 - # 10*(2^10) chars as input seems more than enough
1.3932 - test $ac_count -gt 10 && break
1.3933 - done
1.3934 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.3935 -esac
1.3936 -
1.3937 -
1.3938 - $ac_path_GREP_found && break 3
1.3939 - done
1.3940 -done
1.3941 -
1.3942 -done
1.3943 -IFS=$as_save_IFS
1.3944 -
1.3945 -
1.3946 -fi
1.3947 -
1.3948 -GREP="$ac_cv_path_GREP"
1.3949 -if test -z "$GREP"; then
1.3950 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.3951 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.3952 - { (exit 1); exit 1; }; }
1.3953 -fi
1.3954 -
1.3955 -else
1.3956 - ac_cv_path_GREP=$GREP
1.3957 -fi
1.3958 -
1.3959 -
1.3960 -fi
1.3961 -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
1.3962 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
1.3963 - GREP="$ac_cv_path_GREP"
1.3964 -
1.3965 -
1.3966 -{ echo "$as_me:$LINENO: checking for egrep" >&5
1.3967 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
1.3968 -if test "${ac_cv_path_EGREP+set}" = set; then
1.3969 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3970 -else
1.3971 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1.3972 - then ac_cv_path_EGREP="$GREP -E"
1.3973 - else
1.3974 - # Extract the first word of "egrep" to use in msg output
1.3975 -if test -z "$EGREP"; then
1.3976 -set dummy egrep; ac_prog_name=$2
1.3977 -if test "${ac_cv_path_EGREP+set}" = set; then
1.3978 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3979 -else
1.3980 - ac_path_EGREP_found=false
1.3981 -# Loop through the user's path and test for each of PROGNAME-LIST
1.3982 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3983 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.3984 -do
1.3985 - IFS=$as_save_IFS
1.3986 - test -z "$as_dir" && as_dir=.
1.3987 - for ac_prog in egrep; do
1.3988 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3989 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.3990 - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
1.3991 - # Check for GNU ac_path_EGREP and select it if it is found.
1.3992 - # Check for GNU $ac_path_EGREP
1.3993 -case `"$ac_path_EGREP" --version 2>&1` in
1.3994 -*GNU*)
1.3995 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
1.3996 -*)
1.3997 - ac_count=0
1.3998 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.3999 - while :
1.4000 - do
1.4001 - cat "conftest.in" "conftest.in" >"conftest.tmp"
1.4002 - mv "conftest.tmp" "conftest.in"
1.4003 - cp "conftest.in" "conftest.nl"
1.4004 - echo 'EGREP' >> "conftest.nl"
1.4005 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.4006 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.4007 - ac_count=`expr $ac_count + 1`
1.4008 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
1.4009 - # Best one so far, save it but keep looking for a better one
1.4010 - ac_cv_path_EGREP="$ac_path_EGREP"
1.4011 - ac_path_EGREP_max=$ac_count
1.4012 - fi
1.4013 - # 10*(2^10) chars as input seems more than enough
1.4014 - test $ac_count -gt 10 && break
1.4015 - done
1.4016 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.4017 -esac
1.4018 -
1.4019 -
1.4020 - $ac_path_EGREP_found && break 3
1.4021 - done
1.4022 -done
1.4023 -
1.4024 -done
1.4025 -IFS=$as_save_IFS
1.4026 -
1.4027 -
1.4028 -fi
1.4029 -
1.4030 -EGREP="$ac_cv_path_EGREP"
1.4031 -if test -z "$EGREP"; then
1.4032 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.4033 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.4034 - { (exit 1); exit 1; }; }
1.4035 -fi
1.4036 -
1.4037 -else
1.4038 - ac_cv_path_EGREP=$EGREP
1.4039 -fi
1.4040 -
1.4041 -
1.4042 - fi
1.4043 -fi
1.4044 -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
1.4045 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
1.4046 - EGREP="$ac_cv_path_EGREP"
1.4047 -
1.4048 -
1.4049 -
1.4050 -# Check whether --with-gnu-ld was given.
1.4051 -if test "${with_gnu_ld+set}" = set; then
1.4052 - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.4053 -else
1.4054 - with_gnu_ld=no
1.4055 -fi
1.4056 -
1.4057 -ac_prog=ld
1.4058 -if test "$GCC" = yes; then
1.4059 - # Check if gcc -print-prog-name=ld gives a path.
1.4060 - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
1.4061 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
1.4062 - case $host in
1.4063 - *-*-mingw*)
1.4064 - # gcc leaves a trailing carriage return which upsets mingw
1.4065 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1.4066 - *)
1.4067 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1.4068 - esac
1.4069 - case $ac_prog in
1.4070 - # Accept absolute paths.
1.4071 - [\\/]* | ?:[\\/]*)
1.4072 - re_direlt='/[^/][^/]*/\.\./'
1.4073 - # Canonicalize the pathname of ld
1.4074 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
1.4075 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1.4076 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
1.4077 - done
1.4078 - test -z "$LD" && LD="$ac_prog"
1.4079 - ;;
1.4080 - "")
1.4081 - # If it fails, then pretend we aren't using GCC.
1.4082 - ac_prog=ld
1.4083 - ;;
1.4084 - *)
1.4085 - # If it is relative, then search for the first ld in PATH.
1.4086 - with_gnu_ld=unknown
1.4087 - ;;
1.4088 - esac
1.4089 -elif test "$with_gnu_ld" = yes; then
1.4090 - { echo "$as_me:$LINENO: checking for GNU ld" >&5
1.4091 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
1.4092 -else
1.4093 - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
1.4094 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
1.4095 -fi
1.4096 -if test "${lt_cv_path_LD+set}" = set; then
1.4097 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4098 -else
1.4099 - if test -z "$LD"; then
1.4100 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.4101 - for ac_dir in $PATH; do
1.4102 - IFS="$lt_save_ifs"
1.4103 - test -z "$ac_dir" && ac_dir=.
1.4104 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.4105 - lt_cv_path_LD="$ac_dir/$ac_prog"
1.4106 - # Check to see if the program is GNU ld. I'd rather use --version,
1.4107 - # but apparently some GNU ld's only accept -v.
1.4108 - # Break only if it was the GNU/non-GNU ld that we prefer.
1.4109 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1.4110 - *GNU* | *'with BFD'*)
1.4111 - test "$with_gnu_ld" != no && break
1.4112 - ;;
1.4113 - *)
1.4114 - test "$with_gnu_ld" != yes && break
1.4115 - ;;
1.4116 - esac
1.4117 - fi
1.4118 - done
1.4119 - IFS="$lt_save_ifs"
1.4120 -else
1.4121 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.4122 -fi
1.4123 -fi
1.4124 -
1.4125 -LD="$lt_cv_path_LD"
1.4126 -if test -n "$LD"; then
1.4127 - { echo "$as_me:$LINENO: result: $LD" >&5
1.4128 -echo "${ECHO_T}$LD" >&6; }
1.4129 -else
1.4130 - { echo "$as_me:$LINENO: result: no" >&5
1.4131 -echo "${ECHO_T}no" >&6; }
1.4132 -fi
1.4133 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
1.4134 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
1.4135 - { (exit 1); exit 1; }; }
1.4136 -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
1.4137 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
1.4138 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
1.4139 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4140 -else
1.4141 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1.4142 -case `$LD -v 2>&1 </dev/null` in
1.4143 -*GNU* | *'with BFD'*)
1.4144 - lt_cv_prog_gnu_ld=yes
1.4145 - ;;
1.4146 -*)
1.4147 - lt_cv_prog_gnu_ld=no
1.4148 - ;;
1.4149 -esac
1.4150 -fi
1.4151 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
1.4152 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
1.4153 -with_gnu_ld=$lt_cv_prog_gnu_ld
1.4154 -
1.4155 -
1.4156 -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
1.4157 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
1.4158 -if test "${lt_cv_ld_reload_flag+set}" = set; then
1.4159 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4160 -else
1.4161 - lt_cv_ld_reload_flag='-r'
1.4162 -fi
1.4163 -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
1.4164 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
1.4165 -reload_flag=$lt_cv_ld_reload_flag
1.4166 -case $reload_flag in
1.4167 -"" | " "*) ;;
1.4168 -*) reload_flag=" $reload_flag" ;;
1.4169 -esac
1.4170 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
1.4171 -
1.4172 -{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
1.4173 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
1.4174 -if test "${lt_cv_path_NM+set}" = set; then
1.4175 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4176 -else
1.4177 - if test -n "$NM"; then
1.4178 - # Let the user override the test.
1.4179 - lt_cv_path_NM="$NM"
1.4180 -else
1.4181 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.4182 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1.4183 - IFS="$lt_save_ifs"
1.4184 - test -z "$ac_dir" && ac_dir=.
1.4185 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1.4186 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1.4187 - # Check to see if the nm accepts a BSD-compat flag.
1.4188 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1.4189 - # nm: unknown option "B" ignored
1.4190 - # Tru64's nm complains that /dev/null is an invalid object file
1.4191 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1.4192 - */dev/null* | *'Invalid file or object type'*)
1.4193 - lt_cv_path_NM="$tmp_nm -B"
1.4194 - break
1.4195 - ;;
1.4196 - *)
1.4197 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1.4198 - */dev/null*)
1.4199 - lt_cv_path_NM="$tmp_nm -p"
1.4200 - break
1.4201 - ;;
1.4202 - *)
1.4203 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1.4204 - continue # so that we can try to find one that supports BSD flags
1.4205 - ;;
1.4206 - esac
1.4207 - esac
1.4208 - fi
1.4209 - done
1.4210 - IFS="$lt_save_ifs"
1.4211 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1.4212 -fi
1.4213 -fi
1.4214 -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
1.4215 -echo "${ECHO_T}$lt_cv_path_NM" >&6; }
1.4216 -NM="$lt_cv_path_NM"
1.4217 -
1.4218 -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
1.4219 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
1.4220 -LN_S=$as_ln_s
1.4221 -if test "$LN_S" = "ln -s"; then
1.4222 - { echo "$as_me:$LINENO: result: yes" >&5
1.4223 -echo "${ECHO_T}yes" >&6; }
1.4224 -else
1.4225 - { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1.4226 -echo "${ECHO_T}no, using $LN_S" >&6; }
1.4227 -fi
1.4228 -
1.4229 -{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
1.4230 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
1.4231 -if test "${lt_cv_deplibs_check_method+set}" = set; then
1.4232 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4233 -else
1.4234 - lt_cv_file_magic_cmd='$MAGIC_CMD'
1.4235 -lt_cv_file_magic_test_file=
1.4236 -lt_cv_deplibs_check_method='unknown'
1.4237 -# Need to set the preceding variable on all platforms that support
1.4238 -# interlibrary dependencies.
1.4239 -# 'none' -- dependencies not supported.
1.4240 -# `unknown' -- same as none, but documents that we really don't know.
1.4241 -# 'pass_all' -- all dependencies passed with no checks.
1.4242 -# 'test_compile' -- check by making test program.
1.4243 -# 'file_magic [[regex]]' -- check by looking for files in library path
1.4244 -# which responds to the $file_magic_cmd with a given extended regex.
1.4245 -# If you have `file' or equivalent on your system and you're not sure
1.4246 -# whether `pass_all' will *always* work, you probably want this one.
1.4247 -
1.4248 -case $host_os in
1.4249 -aix4* | aix5*)
1.4250 - lt_cv_deplibs_check_method=pass_all
1.4251 - ;;
1.4252 -
1.4253 -beos*)
1.4254 - lt_cv_deplibs_check_method=pass_all
1.4255 - ;;
1.4256 -
1.4257 -bsdi4*)
1.4258 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1.4259 - lt_cv_file_magic_cmd='/usr/bin/file -L'
1.4260 - lt_cv_file_magic_test_file=/shlib/libc.so
1.4261 - ;;
1.4262 -
1.4263 -cygwin*)
1.4264 - # func_win32_libid is a shell function defined in ltmain.sh
1.4265 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
1.4266 - lt_cv_file_magic_cmd='func_win32_libid'
1.4267 - ;;
1.4268 -
1.4269 -mingw* | pw32*)
1.4270 - # Base MSYS/MinGW do not provide the 'file' command needed by
1.4271 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
1.4272 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1.4273 - lt_cv_file_magic_cmd='$OBJDUMP -f'
1.4274 - ;;
1.4275 -
1.4276 -darwin* | rhapsody*)
1.4277 - lt_cv_deplibs_check_method=pass_all
1.4278 - ;;
1.4279 -
1.4280 -freebsd* | kfreebsd*-gnu)
1.4281 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.4282 - case $host_cpu in
1.4283 - i*86 )
1.4284 - # Not sure whether the presence of OpenBSD here was a mistake.
1.4285 - # Let's accept both of them until this is cleared up.
1.4286 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1.4287 - lt_cv_file_magic_cmd=/usr/bin/file
1.4288 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.4289 - ;;
1.4290 - esac
1.4291 - else
1.4292 - lt_cv_deplibs_check_method=pass_all
1.4293 - fi
1.4294 - ;;
1.4295 -
1.4296 -gnu*)
1.4297 - lt_cv_deplibs_check_method=pass_all
1.4298 - ;;
1.4299 -
1.4300 -hpux10.20* | hpux11*)
1.4301 - lt_cv_file_magic_cmd=/usr/bin/file
1.4302 - case "$host_cpu" in
1.4303 - ia64*)
1.4304 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1.4305 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1.4306 - ;;
1.4307 - hppa*64*)
1.4308 - 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.4309 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.4310 - ;;
1.4311 - *)
1.4312 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1.4313 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.4314 - ;;
1.4315 - esac
1.4316 - ;;
1.4317 -
1.4318 -irix5* | irix6* | nonstopux*)
1.4319 - case $LD in
1.4320 - *-32|*"-32 ") libmagic=32-bit;;
1.4321 - *-n32|*"-n32 ") libmagic=N32;;
1.4322 - *-64|*"-64 ") libmagic=64-bit;;
1.4323 - *) libmagic=never-match;;
1.4324 - esac
1.4325 - lt_cv_deplibs_check_method=pass_all
1.4326 - ;;
1.4327 -
1.4328 -# This must be Linux ELF.
1.4329 -linux*)
1.4330 - lt_cv_deplibs_check_method=pass_all
1.4331 - ;;
1.4332 -
1.4333 -netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.4334 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.4335 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.4336 - else
1.4337 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.4338 - fi
1.4339 - ;;
1.4340 -
1.4341 -newos6*)
1.4342 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1.4343 - lt_cv_file_magic_cmd=/usr/bin/file
1.4344 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
1.4345 - ;;
1.4346 -
1.4347 -nto-qnx*)
1.4348 - lt_cv_deplibs_check_method=unknown
1.4349 - ;;
1.4350 -
1.4351 -openbsd*)
1.4352 - lt_cv_file_magic_cmd=/usr/bin/file
1.4353 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.4354 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.4355 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1.4356 - else
1.4357 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1.4358 - fi
1.4359 - ;;
1.4360 -
1.4361 -osf3* | osf4* | osf5*)
1.4362 - lt_cv_deplibs_check_method=pass_all
1.4363 - ;;
1.4364 -
1.4365 -sco3.2v5*)
1.4366 - lt_cv_deplibs_check_method=pass_all
1.4367 - ;;
1.4368 -
1.4369 -solaris*)
1.4370 - lt_cv_deplibs_check_method=pass_all
1.4371 - ;;
1.4372 -
1.4373 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.4374 - case $host_vendor in
1.4375 - motorola)
1.4376 - 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.4377 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1.4378 - ;;
1.4379 - ncr)
1.4380 - lt_cv_deplibs_check_method=pass_all
1.4381 - ;;
1.4382 - sequent)
1.4383 - lt_cv_file_magic_cmd='/bin/file'
1.4384 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
1.4385 - ;;
1.4386 - sni)
1.4387 - lt_cv_file_magic_cmd='/bin/file'
1.4388 - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
1.4389 - lt_cv_file_magic_test_file=/lib/libc.so
1.4390 - ;;
1.4391 - siemens)
1.4392 - lt_cv_deplibs_check_method=pass_all
1.4393 - ;;
1.4394 - esac
1.4395 - ;;
1.4396 -
1.4397 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
1.4398 - lt_cv_deplibs_check_method=pass_all
1.4399 - ;;
1.4400 -esac
1.4401 -
1.4402 -fi
1.4403 -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
1.4404 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
1.4405 -file_magic_cmd=$lt_cv_file_magic_cmd
1.4406 -deplibs_check_method=$lt_cv_deplibs_check_method
1.4407 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
1.4408 -
1.4409 -
1.4410 -
1.4411 -
1.4412 -# If no C compiler was specified, use CC.
1.4413 -LTCC=${LTCC-"$CC"}
1.4414 -
1.4415 -# Allow CC to be a program name with arguments.
1.4416 -compiler=$CC
1.4417 -
1.4418 -
1.4419 -# Check whether --enable-libtool-lock was given.
1.4420 -if test "${enable_libtool_lock+set}" = set; then
1.4421 - enableval=$enable_libtool_lock;
1.4422 -fi
1.4423 -
1.4424 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.4425 -
1.4426 -# Some flags need to be propagated to the compiler or linker for good
1.4427 -# libtool support.
1.4428 -case $host in
1.4429 -ia64-*-hpux*)
1.4430 - # Find out which ABI we are using.
1.4431 - echo 'int i;' > conftest.$ac_ext
1.4432 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4433 - (eval $ac_compile) 2>&5
1.4434 - ac_status=$?
1.4435 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4436 - (exit $ac_status); }; then
1.4437 - case `/usr/bin/file conftest.$ac_objext` in
1.4438 - *ELF-32*)
1.4439 - HPUX_IA64_MODE="32"
1.4440 - ;;
1.4441 - *ELF-64*)
1.4442 - HPUX_IA64_MODE="64"
1.4443 - ;;
1.4444 - esac
1.4445 - fi
1.4446 - rm -rf conftest*
1.4447 - ;;
1.4448 -*-*-irix6*)
1.4449 - # Find out which ABI we are using.
1.4450 - echo '#line __oline__ "configure"' > conftest.$ac_ext
1.4451 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4452 - (eval $ac_compile) 2>&5
1.4453 - ac_status=$?
1.4454 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4455 - (exit $ac_status); }; then
1.4456 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.4457 - case `/usr/bin/file conftest.$ac_objext` in
1.4458 - *32-bit*)
1.4459 - LD="${LD-ld} -melf32bsmip"
1.4460 - ;;
1.4461 - *N32*)
1.4462 - LD="${LD-ld} -melf32bmipn32"
1.4463 - ;;
1.4464 - *64-bit*)
1.4465 - LD="${LD-ld} -melf64bmip"
1.4466 - ;;
1.4467 - esac
1.4468 - else
1.4469 - case `/usr/bin/file conftest.$ac_objext` in
1.4470 - *32-bit*)
1.4471 - LD="${LD-ld} -32"
1.4472 - ;;
1.4473 - *N32*)
1.4474 - LD="${LD-ld} -n32"
1.4475 - ;;
1.4476 - *64-bit*)
1.4477 - LD="${LD-ld} -64"
1.4478 - ;;
1.4479 - esac
1.4480 - fi
1.4481 - fi
1.4482 - rm -rf conftest*
1.4483 - ;;
1.4484 -
1.4485 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1.4486 - # Find out which ABI we are using.
1.4487 - echo 'int i;' > conftest.$ac_ext
1.4488 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4489 - (eval $ac_compile) 2>&5
1.4490 - ac_status=$?
1.4491 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4492 - (exit $ac_status); }; then
1.4493 - case "`/usr/bin/file conftest.o`" in
1.4494 - *32-bit*)
1.4495 - case $host in
1.4496 - x86_64-*linux*)
1.4497 - LD="${LD-ld} -m elf_i386"
1.4498 - ;;
1.4499 - ppc64-*linux*|powerpc64-*linux*)
1.4500 - LD="${LD-ld} -m elf32ppclinux"
1.4501 - ;;
1.4502 - s390x-*linux*)
1.4503 - LD="${LD-ld} -m elf_s390"
1.4504 - ;;
1.4505 - sparc64-*linux*)
1.4506 - LD="${LD-ld} -m elf32_sparc"
1.4507 - ;;
1.4508 - esac
1.4509 - ;;
1.4510 - *64-bit*)
1.4511 - case $host in
1.4512 - x86_64-*linux*)
1.4513 - LD="${LD-ld} -m elf_x86_64"
1.4514 - ;;
1.4515 - ppc*-*linux*|powerpc*-*linux*)
1.4516 - LD="${LD-ld} -m elf64ppc"
1.4517 - ;;
1.4518 - s390*-*linux*)
1.4519 - LD="${LD-ld} -m elf64_s390"
1.4520 - ;;
1.4521 - sparc*-*linux*)
1.4522 - LD="${LD-ld} -m elf64_sparc"
1.4523 - ;;
1.4524 - esac
1.4525 - ;;
1.4526 - esac
1.4527 - fi
1.4528 - rm -rf conftest*
1.4529 - ;;
1.4530 -
1.4531 -*-*-sco3.2v5*)
1.4532 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.4533 - SAVE_CFLAGS="$CFLAGS"
1.4534 - CFLAGS="$CFLAGS -belf"
1.4535 - { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
1.4536 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
1.4537 -if test "${lt_cv_cc_needs_belf+set}" = set; then
1.4538 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4539 -else
1.4540 - ac_ext=c
1.4541 -ac_cpp='$CPP $CPPFLAGS'
1.4542 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4543 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4544 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4545 -
1.4546 - cat >conftest.$ac_ext <<_ACEOF
1.4547 -/* confdefs.h. */
1.4548 -_ACEOF
1.4549 -cat confdefs.h >>conftest.$ac_ext
1.4550 -cat >>conftest.$ac_ext <<_ACEOF
1.4551 -/* end confdefs.h. */
1.4552 -
1.4553 -int
1.4554 -main ()
1.4555 -{
1.4556 -
1.4557 - ;
1.4558 - return 0;
1.4559 -}
1.4560 -_ACEOF
1.4561 -rm -f conftest.$ac_objext conftest$ac_exeext
1.4562 -if { (ac_try="$ac_link"
1.4563 -case "(($ac_try" in
1.4564 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4565 - *) ac_try_echo=$ac_try;;
1.4566 -esac
1.4567 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4568 - (eval "$ac_link") 2>conftest.er1
1.4569 - ac_status=$?
1.4570 - grep -v '^ *+' conftest.er1 >conftest.err
1.4571 - rm -f conftest.er1
1.4572 - cat conftest.err >&5
1.4573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4574 - (exit $ac_status); } && {
1.4575 - test -z "$ac_c_werror_flag" ||
1.4576 - test ! -s conftest.err
1.4577 - } && test -s conftest$ac_exeext &&
1.4578 - $as_test_x conftest$ac_exeext; then
1.4579 - lt_cv_cc_needs_belf=yes
1.4580 -else
1.4581 - echo "$as_me: failed program was:" >&5
1.4582 -sed 's/^/| /' conftest.$ac_ext >&5
1.4583 -
1.4584 - lt_cv_cc_needs_belf=no
1.4585 -fi
1.4586 -
1.4587 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.4588 - conftest$ac_exeext conftest.$ac_ext
1.4589 - ac_ext=c
1.4590 -ac_cpp='$CPP $CPPFLAGS'
1.4591 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4592 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4593 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4594 -
1.4595 -fi
1.4596 -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
1.4597 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
1.4598 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1.4599 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.4600 - CFLAGS="$SAVE_CFLAGS"
1.4601 - fi
1.4602 - ;;
1.4603 -
1.4604 -esac
1.4605 -
1.4606 -need_locks="$enable_libtool_lock"
1.4607 -
1.4608 -
1.4609 -ac_ext=c
1.4610 -ac_cpp='$CPP $CPPFLAGS'
1.4611 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4612 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4613 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4614 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.4615 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1.4616 -# On Suns, sometimes $CPP names a directory.
1.4617 -if test -n "$CPP" && test -d "$CPP"; then
1.4618 - CPP=
1.4619 -fi
1.4620 -if test -z "$CPP"; then
1.4621 - if test "${ac_cv_prog_CPP+set}" = set; then
1.4622 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4623 -else
1.4624 - # Double quotes because CPP needs to be expanded
1.4625 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.4626 - do
1.4627 - ac_preproc_ok=false
1.4628 -for ac_c_preproc_warn_flag in '' yes
1.4629 -do
1.4630 - # Use a header file that comes with gcc, so configuring glibc
1.4631 - # with a fresh cross-compiler works.
1.4632 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4633 - # <limits.h> exists even on freestanding compilers.
1.4634 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.4635 - # not just through cpp. "Syntax error" is here to catch this case.
1.4636 - cat >conftest.$ac_ext <<_ACEOF
1.4637 -/* confdefs.h. */
1.4638 -_ACEOF
1.4639 -cat confdefs.h >>conftest.$ac_ext
1.4640 -cat >>conftest.$ac_ext <<_ACEOF
1.4641 -/* end confdefs.h. */
1.4642 -@%:@ifdef __STDC__
1.4643 -@%:@ include <limits.h>
1.4644 -@%:@else
1.4645 -@%:@ include <assert.h>
1.4646 -@%:@endif
1.4647 - Syntax error
1.4648 -_ACEOF
1.4649 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4650 -case "(($ac_try" in
1.4651 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4652 - *) ac_try_echo=$ac_try;;
1.4653 -esac
1.4654 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4655 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4656 - ac_status=$?
1.4657 - grep -v '^ *+' conftest.er1 >conftest.err
1.4658 - rm -f conftest.er1
1.4659 - cat conftest.err >&5
1.4660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4661 - (exit $ac_status); } >/dev/null && {
1.4662 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4663 - test ! -s conftest.err
1.4664 - }; then
1.4665 - :
1.4666 -else
1.4667 - echo "$as_me: failed program was:" >&5
1.4668 -sed 's/^/| /' conftest.$ac_ext >&5
1.4669 -
1.4670 - # Broken: fails on valid input.
1.4671 -continue
1.4672 -fi
1.4673 -
1.4674 -rm -f conftest.err conftest.$ac_ext
1.4675 -
1.4676 - # OK, works on sane cases. Now check whether nonexistent headers
1.4677 - # can be detected and how.
1.4678 - cat >conftest.$ac_ext <<_ACEOF
1.4679 -/* confdefs.h. */
1.4680 -_ACEOF
1.4681 -cat confdefs.h >>conftest.$ac_ext
1.4682 -cat >>conftest.$ac_ext <<_ACEOF
1.4683 -/* end confdefs.h. */
1.4684 -@%:@include <ac_nonexistent.h>
1.4685 -_ACEOF
1.4686 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4687 -case "(($ac_try" in
1.4688 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4689 - *) ac_try_echo=$ac_try;;
1.4690 -esac
1.4691 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4692 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4693 - ac_status=$?
1.4694 - grep -v '^ *+' conftest.er1 >conftest.err
1.4695 - rm -f conftest.er1
1.4696 - cat conftest.err >&5
1.4697 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4698 - (exit $ac_status); } >/dev/null && {
1.4699 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4700 - test ! -s conftest.err
1.4701 - }; then
1.4702 - # Broken: success on invalid input.
1.4703 -continue
1.4704 -else
1.4705 - echo "$as_me: failed program was:" >&5
1.4706 -sed 's/^/| /' conftest.$ac_ext >&5
1.4707 -
1.4708 - # Passes both tests.
1.4709 -ac_preproc_ok=:
1.4710 -break
1.4711 -fi
1.4712 -
1.4713 -rm -f conftest.err conftest.$ac_ext
1.4714 -
1.4715 -done
1.4716 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4717 -rm -f conftest.err conftest.$ac_ext
1.4718 -if $ac_preproc_ok; then
1.4719 - break
1.4720 -fi
1.4721 -
1.4722 - done
1.4723 - ac_cv_prog_CPP=$CPP
1.4724 -
1.4725 -fi
1.4726 - CPP=$ac_cv_prog_CPP
1.4727 -else
1.4728 - ac_cv_prog_CPP=$CPP
1.4729 -fi
1.4730 -{ echo "$as_me:$LINENO: result: $CPP" >&5
1.4731 -echo "${ECHO_T}$CPP" >&6; }
1.4732 -ac_preproc_ok=false
1.4733 -for ac_c_preproc_warn_flag in '' yes
1.4734 -do
1.4735 - # Use a header file that comes with gcc, so configuring glibc
1.4736 - # with a fresh cross-compiler works.
1.4737 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4738 - # <limits.h> exists even on freestanding compilers.
1.4739 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.4740 - # not just through cpp. "Syntax error" is here to catch this case.
1.4741 - cat >conftest.$ac_ext <<_ACEOF
1.4742 -/* confdefs.h. */
1.4743 -_ACEOF
1.4744 -cat confdefs.h >>conftest.$ac_ext
1.4745 -cat >>conftest.$ac_ext <<_ACEOF
1.4746 -/* end confdefs.h. */
1.4747 -@%:@ifdef __STDC__
1.4748 -@%:@ include <limits.h>
1.4749 -@%:@else
1.4750 -@%:@ include <assert.h>
1.4751 -@%:@endif
1.4752 - Syntax error
1.4753 -_ACEOF
1.4754 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4755 -case "(($ac_try" in
1.4756 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4757 - *) ac_try_echo=$ac_try;;
1.4758 -esac
1.4759 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4760 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4761 - ac_status=$?
1.4762 - grep -v '^ *+' conftest.er1 >conftest.err
1.4763 - rm -f conftest.er1
1.4764 - cat conftest.err >&5
1.4765 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4766 - (exit $ac_status); } >/dev/null && {
1.4767 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4768 - test ! -s conftest.err
1.4769 - }; then
1.4770 - :
1.4771 -else
1.4772 - echo "$as_me: failed program was:" >&5
1.4773 -sed 's/^/| /' conftest.$ac_ext >&5
1.4774 -
1.4775 - # Broken: fails on valid input.
1.4776 -continue
1.4777 -fi
1.4778 -
1.4779 -rm -f conftest.err conftest.$ac_ext
1.4780 -
1.4781 - # OK, works on sane cases. Now check whether nonexistent headers
1.4782 - # can be detected and how.
1.4783 - cat >conftest.$ac_ext <<_ACEOF
1.4784 -/* confdefs.h. */
1.4785 -_ACEOF
1.4786 -cat confdefs.h >>conftest.$ac_ext
1.4787 -cat >>conftest.$ac_ext <<_ACEOF
1.4788 -/* end confdefs.h. */
1.4789 -@%:@include <ac_nonexistent.h>
1.4790 -_ACEOF
1.4791 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.4792 -case "(($ac_try" in
1.4793 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4794 - *) ac_try_echo=$ac_try;;
1.4795 -esac
1.4796 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4797 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.4798 - ac_status=$?
1.4799 - grep -v '^ *+' conftest.er1 >conftest.err
1.4800 - rm -f conftest.er1
1.4801 - cat conftest.err >&5
1.4802 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4803 - (exit $ac_status); } >/dev/null && {
1.4804 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4805 - test ! -s conftest.err
1.4806 - }; then
1.4807 - # Broken: success on invalid input.
1.4808 -continue
1.4809 -else
1.4810 - echo "$as_me: failed program was:" >&5
1.4811 -sed 's/^/| /' conftest.$ac_ext >&5
1.4812 -
1.4813 - # Passes both tests.
1.4814 -ac_preproc_ok=:
1.4815 -break
1.4816 -fi
1.4817 -
1.4818 -rm -f conftest.err conftest.$ac_ext
1.4819 -
1.4820 -done
1.4821 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4822 -rm -f conftest.err conftest.$ac_ext
1.4823 -if $ac_preproc_ok; then
1.4824 - :
1.4825 -else
1.4826 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.4827 -See \`config.log' for more details." >&5
1.4828 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.4829 -See \`config.log' for more details." >&2;}
1.4830 - { (exit 1); exit 1; }; }
1.4831 -fi
1.4832 -
1.4833 -ac_ext=c
1.4834 -ac_cpp='$CPP $CPPFLAGS'
1.4835 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4836 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4837 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4838 -
1.4839 -
1.4840 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.4841 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.4842 -if test "${ac_cv_header_stdc+set}" = set; then
1.4843 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4844 -else
1.4845 - cat >conftest.$ac_ext <<_ACEOF
1.4846 -/* confdefs.h. */
1.4847 -_ACEOF
1.4848 -cat confdefs.h >>conftest.$ac_ext
1.4849 -cat >>conftest.$ac_ext <<_ACEOF
1.4850 -/* end confdefs.h. */
1.4851 -#include <stdlib.h>
1.4852 -#include <stdarg.h>
1.4853 -#include <string.h>
1.4854 -#include <float.h>
1.4855 -
1.4856 -int
1.4857 -main ()
1.4858 -{
1.4859 -
1.4860 - ;
1.4861 - return 0;
1.4862 -}
1.4863 -_ACEOF
1.4864 -rm -f conftest.$ac_objext
1.4865 -if { (ac_try="$ac_compile"
1.4866 -case "(($ac_try" in
1.4867 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4868 - *) ac_try_echo=$ac_try;;
1.4869 -esac
1.4870 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4871 - (eval "$ac_compile") 2>conftest.er1
1.4872 - ac_status=$?
1.4873 - grep -v '^ *+' conftest.er1 >conftest.err
1.4874 - rm -f conftest.er1
1.4875 - cat conftest.err >&5
1.4876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4877 - (exit $ac_status); } && {
1.4878 - test -z "$ac_c_werror_flag" ||
1.4879 - test ! -s conftest.err
1.4880 - } && test -s conftest.$ac_objext; then
1.4881 - ac_cv_header_stdc=yes
1.4882 -else
1.4883 - echo "$as_me: failed program was:" >&5
1.4884 -sed 's/^/| /' conftest.$ac_ext >&5
1.4885 -
1.4886 - ac_cv_header_stdc=no
1.4887 -fi
1.4888 -
1.4889 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.4890 -
1.4891 -if test $ac_cv_header_stdc = yes; then
1.4892 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.4893 - cat >conftest.$ac_ext <<_ACEOF
1.4894 -/* confdefs.h. */
1.4895 -_ACEOF
1.4896 -cat confdefs.h >>conftest.$ac_ext
1.4897 -cat >>conftest.$ac_ext <<_ACEOF
1.4898 -/* end confdefs.h. */
1.4899 -#include <string.h>
1.4900 -
1.4901 -_ACEOF
1.4902 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4903 - $EGREP "memchr" >/dev/null 2>&1; then
1.4904 - :
1.4905 -else
1.4906 - ac_cv_header_stdc=no
1.4907 -fi
1.4908 -rm -f conftest*
1.4909 -
1.4910 -fi
1.4911 -
1.4912 -if test $ac_cv_header_stdc = yes; then
1.4913 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.4914 - cat >conftest.$ac_ext <<_ACEOF
1.4915 -/* confdefs.h. */
1.4916 -_ACEOF
1.4917 -cat confdefs.h >>conftest.$ac_ext
1.4918 -cat >>conftest.$ac_ext <<_ACEOF
1.4919 -/* end confdefs.h. */
1.4920 -#include <stdlib.h>
1.4921 -
1.4922 -_ACEOF
1.4923 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4924 - $EGREP "free" >/dev/null 2>&1; then
1.4925 - :
1.4926 -else
1.4927 - ac_cv_header_stdc=no
1.4928 -fi
1.4929 -rm -f conftest*
1.4930 -
1.4931 -fi
1.4932 -
1.4933 -if test $ac_cv_header_stdc = yes; then
1.4934 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.4935 - if test "$cross_compiling" = yes; then
1.4936 - :
1.4937 -else
1.4938 - cat >conftest.$ac_ext <<_ACEOF
1.4939 -/* confdefs.h. */
1.4940 -_ACEOF
1.4941 -cat confdefs.h >>conftest.$ac_ext
1.4942 -cat >>conftest.$ac_ext <<_ACEOF
1.4943 -/* end confdefs.h. */
1.4944 -#include <ctype.h>
1.4945 -#include <stdlib.h>
1.4946 -#if ((' ' & 0x0FF) == 0x020)
1.4947 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.4948 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.4949 -#else
1.4950 -# define ISLOWER(c) \
1.4951 - (('a' <= (c) && (c) <= 'i') \
1.4952 - || ('j' <= (c) && (c) <= 'r') \
1.4953 - || ('s' <= (c) && (c) <= 'z'))
1.4954 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.4955 -#endif
1.4956 -
1.4957 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.4958 -int
1.4959 -main ()
1.4960 -{
1.4961 - int i;
1.4962 - for (i = 0; i < 256; i++)
1.4963 - if (XOR (islower (i), ISLOWER (i))
1.4964 - || toupper (i) != TOUPPER (i))
1.4965 - return 2;
1.4966 - return 0;
1.4967 -}
1.4968 -_ACEOF
1.4969 -rm -f conftest$ac_exeext
1.4970 -if { (ac_try="$ac_link"
1.4971 -case "(($ac_try" in
1.4972 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4973 - *) ac_try_echo=$ac_try;;
1.4974 -esac
1.4975 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4976 - (eval "$ac_link") 2>&5
1.4977 - ac_status=$?
1.4978 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4979 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.4980 - { (case "(($ac_try" in
1.4981 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4982 - *) ac_try_echo=$ac_try;;
1.4983 -esac
1.4984 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4985 - (eval "$ac_try") 2>&5
1.4986 - ac_status=$?
1.4987 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4988 - (exit $ac_status); }; }; then
1.4989 - :
1.4990 -else
1.4991 - echo "$as_me: program exited with status $ac_status" >&5
1.4992 -echo "$as_me: failed program was:" >&5
1.4993 -sed 's/^/| /' conftest.$ac_ext >&5
1.4994 -
1.4995 -( exit $ac_status )
1.4996 -ac_cv_header_stdc=no
1.4997 -fi
1.4998 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.4999 -fi
1.5000 -
1.5001 -
1.5002 -fi
1.5003 -fi
1.5004 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.5005 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.5006 -if test $ac_cv_header_stdc = yes; then
1.5007 -
1.5008 -cat >>confdefs.h <<\_ACEOF
1.5009 -@%:@define STDC_HEADERS 1
1.5010 -_ACEOF
1.5011 -
1.5012 -fi
1.5013 -
1.5014 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.5015 -
1.5016 -
1.5017 -
1.5018 -
1.5019 -
1.5020 -
1.5021 -
1.5022 -
1.5023 -
1.5024 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.5025 - inttypes.h stdint.h unistd.h
1.5026 -do
1.5027 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.5028 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
1.5029 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.5030 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5031 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5032 -else
1.5033 - cat >conftest.$ac_ext <<_ACEOF
1.5034 -/* confdefs.h. */
1.5035 -_ACEOF
1.5036 -cat confdefs.h >>conftest.$ac_ext
1.5037 -cat >>conftest.$ac_ext <<_ACEOF
1.5038 -/* end confdefs.h. */
1.5039 -$ac_includes_default
1.5040 -
1.5041 -@%:@include <$ac_header>
1.5042 -_ACEOF
1.5043 -rm -f conftest.$ac_objext
1.5044 -if { (ac_try="$ac_compile"
1.5045 -case "(($ac_try" in
1.5046 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5047 - *) ac_try_echo=$ac_try;;
1.5048 -esac
1.5049 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5050 - (eval "$ac_compile") 2>conftest.er1
1.5051 - ac_status=$?
1.5052 - grep -v '^ *+' conftest.er1 >conftest.err
1.5053 - rm -f conftest.er1
1.5054 - cat conftest.err >&5
1.5055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5056 - (exit $ac_status); } && {
1.5057 - test -z "$ac_c_werror_flag" ||
1.5058 - test ! -s conftest.err
1.5059 - } && test -s conftest.$ac_objext; then
1.5060 - eval "$as_ac_Header=yes"
1.5061 -else
1.5062 - echo "$as_me: failed program was:" >&5
1.5063 -sed 's/^/| /' conftest.$ac_ext >&5
1.5064 -
1.5065 - eval "$as_ac_Header=no"
1.5066 -fi
1.5067 -
1.5068 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5069 -fi
1.5070 -ac_res=`eval echo '${'$as_ac_Header'}'`
1.5071 - { echo "$as_me:$LINENO: result: $ac_res" >&5
1.5072 -echo "${ECHO_T}$ac_res" >&6; }
1.5073 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.5074 - cat >>confdefs.h <<_ACEOF
1.5075 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.5076 -_ACEOF
1.5077 -
1.5078 -fi
1.5079 -
1.5080 -done
1.5081 -
1.5082 -
1.5083 -
1.5084 -for ac_header in dlfcn.h
1.5085 -do
1.5086 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.5087 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5088 - { echo "$as_me:$LINENO: checking for $ac_header" >&5
1.5089 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.5090 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5091 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5092 -fi
1.5093 -ac_res=`eval echo '${'$as_ac_Header'}'`
1.5094 - { echo "$as_me:$LINENO: result: $ac_res" >&5
1.5095 -echo "${ECHO_T}$ac_res" >&6; }
1.5096 -else
1.5097 - # Is the header compilable?
1.5098 -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
1.5099 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.5100 -cat >conftest.$ac_ext <<_ACEOF
1.5101 -/* confdefs.h. */
1.5102 -_ACEOF
1.5103 -cat confdefs.h >>conftest.$ac_ext
1.5104 -cat >>conftest.$ac_ext <<_ACEOF
1.5105 -/* end confdefs.h. */
1.5106 -$ac_includes_default
1.5107 -@%:@include <$ac_header>
1.5108 -_ACEOF
1.5109 -rm -f conftest.$ac_objext
1.5110 -if { (ac_try="$ac_compile"
1.5111 -case "(($ac_try" in
1.5112 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5113 - *) ac_try_echo=$ac_try;;
1.5114 -esac
1.5115 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5116 - (eval "$ac_compile") 2>conftest.er1
1.5117 - ac_status=$?
1.5118 - grep -v '^ *+' conftest.er1 >conftest.err
1.5119 - rm -f conftest.er1
1.5120 - cat conftest.err >&5
1.5121 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5122 - (exit $ac_status); } && {
1.5123 - test -z "$ac_c_werror_flag" ||
1.5124 - test ! -s conftest.err
1.5125 - } && test -s conftest.$ac_objext; then
1.5126 - ac_header_compiler=yes
1.5127 -else
1.5128 - echo "$as_me: failed program was:" >&5
1.5129 -sed 's/^/| /' conftest.$ac_ext >&5
1.5130 -
1.5131 - ac_header_compiler=no
1.5132 -fi
1.5133 -
1.5134 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5135 -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
1.5136 -echo "${ECHO_T}$ac_header_compiler" >&6; }
1.5137 -
1.5138 -# Is the header present?
1.5139 -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
1.5140 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.5141 -cat >conftest.$ac_ext <<_ACEOF
1.5142 -/* confdefs.h. */
1.5143 -_ACEOF
1.5144 -cat confdefs.h >>conftest.$ac_ext
1.5145 -cat >>conftest.$ac_ext <<_ACEOF
1.5146 -/* end confdefs.h. */
1.5147 -@%:@include <$ac_header>
1.5148 -_ACEOF
1.5149 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5150 -case "(($ac_try" in
1.5151 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5152 - *) ac_try_echo=$ac_try;;
1.5153 -esac
1.5154 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5155 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5156 - ac_status=$?
1.5157 - grep -v '^ *+' conftest.er1 >conftest.err
1.5158 - rm -f conftest.er1
1.5159 - cat conftest.err >&5
1.5160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5161 - (exit $ac_status); } >/dev/null && {
1.5162 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.5163 - test ! -s conftest.err
1.5164 - }; then
1.5165 - ac_header_preproc=yes
1.5166 -else
1.5167 - echo "$as_me: failed program was:" >&5
1.5168 -sed 's/^/| /' conftest.$ac_ext >&5
1.5169 -
1.5170 - ac_header_preproc=no
1.5171 -fi
1.5172 -
1.5173 -rm -f conftest.err conftest.$ac_ext
1.5174 -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
1.5175 -echo "${ECHO_T}$ac_header_preproc" >&6; }
1.5176 -
1.5177 -# So? What about this header?
1.5178 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.5179 - yes:no: )
1.5180 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
1.5181 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.5182 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
1.5183 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
1.5184 - ac_header_preproc=yes
1.5185 - ;;
1.5186 - no:yes:* )
1.5187 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
1.5188 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.5189 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
1.5190 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
1.5191 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
1.5192 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
1.5193 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
1.5194 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
1.5195 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
1.5196 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.5197 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
1.5198 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.5199 -
1.5200 - ;;
1.5201 -esac
1.5202 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
1.5203 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.5204 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5205 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5206 -else
1.5207 - eval "$as_ac_Header=\$ac_header_preproc"
1.5208 -fi
1.5209 -ac_res=`eval echo '${'$as_ac_Header'}'`
1.5210 - { echo "$as_me:$LINENO: result: $ac_res" >&5
1.5211 -echo "${ECHO_T}$ac_res" >&6; }
1.5212 -
1.5213 -fi
1.5214 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.5215 - cat >>confdefs.h <<_ACEOF
1.5216 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.5217 -_ACEOF
1.5218 -
1.5219 -fi
1.5220 -
1.5221 -done
1.5222 -
1.5223 -ac_ext=cpp
1.5224 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5225 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5226 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5227 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5228 -if test -z "$CXX"; then
1.5229 - if test -n "$CCC"; then
1.5230 - CXX=$CCC
1.5231 - else
1.5232 - if test -n "$ac_tool_prefix"; then
1.5233 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.5234 - do
1.5235 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.5236 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.5237 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5238 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5239 -if test "${ac_cv_prog_CXX+set}" = set; then
1.5240 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5241 -else
1.5242 - if test -n "$CXX"; then
1.5243 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.5244 -else
1.5245 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5246 -for as_dir in $PATH
1.5247 -do
1.5248 - IFS=$as_save_IFS
1.5249 - test -z "$as_dir" && as_dir=.
1.5250 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5251 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5252 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.5253 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5254 - break 2
1.5255 - fi
1.5256 -done
1.5257 -done
1.5258 -IFS=$as_save_IFS
1.5259 -
1.5260 -fi
1.5261 -fi
1.5262 -CXX=$ac_cv_prog_CXX
1.5263 -if test -n "$CXX"; then
1.5264 - { echo "$as_me:$LINENO: result: $CXX" >&5
1.5265 -echo "${ECHO_T}$CXX" >&6; }
1.5266 -else
1.5267 - { echo "$as_me:$LINENO: result: no" >&5
1.5268 -echo "${ECHO_T}no" >&6; }
1.5269 -fi
1.5270 -
1.5271 -
1.5272 - test -n "$CXX" && break
1.5273 - done
1.5274 -fi
1.5275 -if test -z "$CXX"; then
1.5276 - ac_ct_CXX=$CXX
1.5277 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.5278 -do
1.5279 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.5280 -set dummy $ac_prog; ac_word=$2
1.5281 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5282 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5283 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.5284 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5285 -else
1.5286 - if test -n "$ac_ct_CXX"; then
1.5287 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.5288 -else
1.5289 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5290 -for as_dir in $PATH
1.5291 -do
1.5292 - IFS=$as_save_IFS
1.5293 - test -z "$as_dir" && as_dir=.
1.5294 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5295 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5296 - ac_cv_prog_ac_ct_CXX="$ac_prog"
1.5297 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5298 - break 2
1.5299 - fi
1.5300 -done
1.5301 -done
1.5302 -IFS=$as_save_IFS
1.5303 -
1.5304 -fi
1.5305 -fi
1.5306 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1.5307 -if test -n "$ac_ct_CXX"; then
1.5308 - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1.5309 -echo "${ECHO_T}$ac_ct_CXX" >&6; }
1.5310 -else
1.5311 - { echo "$as_me:$LINENO: result: no" >&5
1.5312 -echo "${ECHO_T}no" >&6; }
1.5313 -fi
1.5314 -
1.5315 -
1.5316 - test -n "$ac_ct_CXX" && break
1.5317 -done
1.5318 -
1.5319 - if test "x$ac_ct_CXX" = x; then
1.5320 - CXX="g++"
1.5321 - else
1.5322 - case $cross_compiling:$ac_tool_warned in
1.5323 -yes:)
1.5324 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.5325 -whose name does not start with the host triplet. If you think this
1.5326 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.5327 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.5328 -whose name does not start with the host triplet. If you think this
1.5329 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.5330 -ac_tool_warned=yes ;;
1.5331 -esac
1.5332 - CXX=$ac_ct_CXX
1.5333 - fi
1.5334 -fi
1.5335 -
1.5336 - fi
1.5337 -fi
1.5338 -# Provide some information about the compiler.
1.5339 -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
1.5340 -ac_compiler=`set X $ac_compile; echo $2`
1.5341 -{ (ac_try="$ac_compiler --version >&5"
1.5342 -case "(($ac_try" in
1.5343 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5344 - *) ac_try_echo=$ac_try;;
1.5345 -esac
1.5346 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5347 - (eval "$ac_compiler --version >&5") 2>&5
1.5348 - ac_status=$?
1.5349 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5350 - (exit $ac_status); }
1.5351 -{ (ac_try="$ac_compiler -v >&5"
1.5352 -case "(($ac_try" in
1.5353 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5354 - *) ac_try_echo=$ac_try;;
1.5355 -esac
1.5356 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5357 - (eval "$ac_compiler -v >&5") 2>&5
1.5358 - ac_status=$?
1.5359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5360 - (exit $ac_status); }
1.5361 -{ (ac_try="$ac_compiler -V >&5"
1.5362 -case "(($ac_try" in
1.5363 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5364 - *) ac_try_echo=$ac_try;;
1.5365 -esac
1.5366 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5367 - (eval "$ac_compiler -V >&5") 2>&5
1.5368 - ac_status=$?
1.5369 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5370 - (exit $ac_status); }
1.5371 -
1.5372 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1.5373 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
1.5374 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.5375 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5376 -else
1.5377 - cat >conftest.$ac_ext <<_ACEOF
1.5378 -/* confdefs.h. */
1.5379 -_ACEOF
1.5380 -cat confdefs.h >>conftest.$ac_ext
1.5381 -cat >>conftest.$ac_ext <<_ACEOF
1.5382 -/* end confdefs.h. */
1.5383 -
1.5384 -int
1.5385 -main ()
1.5386 -{
1.5387 -#ifndef __GNUC__
1.5388 - choke me
1.5389 -#endif
1.5390 -
1.5391 - ;
1.5392 - return 0;
1.5393 -}
1.5394 -_ACEOF
1.5395 -rm -f conftest.$ac_objext
1.5396 -if { (ac_try="$ac_compile"
1.5397 -case "(($ac_try" in
1.5398 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5399 - *) ac_try_echo=$ac_try;;
1.5400 -esac
1.5401 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5402 - (eval "$ac_compile") 2>conftest.er1
1.5403 - ac_status=$?
1.5404 - grep -v '^ *+' conftest.er1 >conftest.err
1.5405 - rm -f conftest.er1
1.5406 - cat conftest.err >&5
1.5407 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5408 - (exit $ac_status); } && {
1.5409 - test -z "$ac_cxx_werror_flag" ||
1.5410 - test ! -s conftest.err
1.5411 - } && test -s conftest.$ac_objext; then
1.5412 - ac_compiler_gnu=yes
1.5413 -else
1.5414 - echo "$as_me: failed program was:" >&5
1.5415 -sed 's/^/| /' conftest.$ac_ext >&5
1.5416 -
1.5417 - ac_compiler_gnu=no
1.5418 -fi
1.5419 -
1.5420 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5421 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.5422 -
1.5423 -fi
1.5424 -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1.5425 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
1.5426 -GXX=`test $ac_compiler_gnu = yes && echo yes`
1.5427 -ac_test_CXXFLAGS=${CXXFLAGS+set}
1.5428 -ac_save_CXXFLAGS=$CXXFLAGS
1.5429 -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1.5430 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
1.5431 -if test "${ac_cv_prog_cxx_g+set}" = set; then
1.5432 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5433 -else
1.5434 - ac_save_cxx_werror_flag=$ac_cxx_werror_flag
1.5435 - ac_cxx_werror_flag=yes
1.5436 - ac_cv_prog_cxx_g=no
1.5437 - CXXFLAGS="-g"
1.5438 - cat >conftest.$ac_ext <<_ACEOF
1.5439 -/* confdefs.h. */
1.5440 -_ACEOF
1.5441 -cat confdefs.h >>conftest.$ac_ext
1.5442 -cat >>conftest.$ac_ext <<_ACEOF
1.5443 -/* end confdefs.h. */
1.5444 -
1.5445 -int
1.5446 -main ()
1.5447 -{
1.5448 -
1.5449 - ;
1.5450 - return 0;
1.5451 -}
1.5452 -_ACEOF
1.5453 -rm -f conftest.$ac_objext
1.5454 -if { (ac_try="$ac_compile"
1.5455 -case "(($ac_try" in
1.5456 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5457 - *) ac_try_echo=$ac_try;;
1.5458 -esac
1.5459 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5460 - (eval "$ac_compile") 2>conftest.er1
1.5461 - ac_status=$?
1.5462 - grep -v '^ *+' conftest.er1 >conftest.err
1.5463 - rm -f conftest.er1
1.5464 - cat conftest.err >&5
1.5465 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5466 - (exit $ac_status); } && {
1.5467 - test -z "$ac_cxx_werror_flag" ||
1.5468 - test ! -s conftest.err
1.5469 - } && test -s conftest.$ac_objext; then
1.5470 - ac_cv_prog_cxx_g=yes
1.5471 -else
1.5472 - echo "$as_me: failed program was:" >&5
1.5473 -sed 's/^/| /' conftest.$ac_ext >&5
1.5474 -
1.5475 - CXXFLAGS=""
1.5476 - cat >conftest.$ac_ext <<_ACEOF
1.5477 -/* confdefs.h. */
1.5478 -_ACEOF
1.5479 -cat confdefs.h >>conftest.$ac_ext
1.5480 -cat >>conftest.$ac_ext <<_ACEOF
1.5481 -/* end confdefs.h. */
1.5482 -
1.5483 -int
1.5484 -main ()
1.5485 -{
1.5486 -
1.5487 - ;
1.5488 - return 0;
1.5489 -}
1.5490 -_ACEOF
1.5491 -rm -f conftest.$ac_objext
1.5492 -if { (ac_try="$ac_compile"
1.5493 -case "(($ac_try" in
1.5494 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5495 - *) ac_try_echo=$ac_try;;
1.5496 -esac
1.5497 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5498 - (eval "$ac_compile") 2>conftest.er1
1.5499 - ac_status=$?
1.5500 - grep -v '^ *+' conftest.er1 >conftest.err
1.5501 - rm -f conftest.er1
1.5502 - cat conftest.err >&5
1.5503 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5504 - (exit $ac_status); } && {
1.5505 - test -z "$ac_cxx_werror_flag" ||
1.5506 - test ! -s conftest.err
1.5507 - } && test -s conftest.$ac_objext; then
1.5508 - :
1.5509 -else
1.5510 - echo "$as_me: failed program was:" >&5
1.5511 -sed 's/^/| /' conftest.$ac_ext >&5
1.5512 -
1.5513 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.5514 - CXXFLAGS="-g"
1.5515 - cat >conftest.$ac_ext <<_ACEOF
1.5516 -/* confdefs.h. */
1.5517 -_ACEOF
1.5518 -cat confdefs.h >>conftest.$ac_ext
1.5519 -cat >>conftest.$ac_ext <<_ACEOF
1.5520 -/* end confdefs.h. */
1.5521 -
1.5522 -int
1.5523 -main ()
1.5524 -{
1.5525 -
1.5526 - ;
1.5527 - return 0;
1.5528 -}
1.5529 -_ACEOF
1.5530 -rm -f conftest.$ac_objext
1.5531 -if { (ac_try="$ac_compile"
1.5532 -case "(($ac_try" in
1.5533 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5534 - *) ac_try_echo=$ac_try;;
1.5535 -esac
1.5536 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5537 - (eval "$ac_compile") 2>conftest.er1
1.5538 - ac_status=$?
1.5539 - grep -v '^ *+' conftest.er1 >conftest.err
1.5540 - rm -f conftest.er1
1.5541 - cat conftest.err >&5
1.5542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5543 - (exit $ac_status); } && {
1.5544 - test -z "$ac_cxx_werror_flag" ||
1.5545 - test ! -s conftest.err
1.5546 - } && test -s conftest.$ac_objext; then
1.5547 - ac_cv_prog_cxx_g=yes
1.5548 -else
1.5549 - echo "$as_me: failed program was:" >&5
1.5550 -sed 's/^/| /' conftest.$ac_ext >&5
1.5551 -
1.5552 -
1.5553 -fi
1.5554 -
1.5555 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5556 -fi
1.5557 -
1.5558 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5559 -fi
1.5560 -
1.5561 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5562 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.5563 -fi
1.5564 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1.5565 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
1.5566 -if test "$ac_test_CXXFLAGS" = set; then
1.5567 - CXXFLAGS=$ac_save_CXXFLAGS
1.5568 -elif test $ac_cv_prog_cxx_g = yes; then
1.5569 - if test "$GXX" = yes; then
1.5570 - CXXFLAGS="-g -O2"
1.5571 - else
1.5572 - CXXFLAGS="-g"
1.5573 - fi
1.5574 -else
1.5575 - if test "$GXX" = yes; then
1.5576 - CXXFLAGS="-O2"
1.5577 - else
1.5578 - CXXFLAGS=
1.5579 - fi
1.5580 -fi
1.5581 -ac_ext=cpp
1.5582 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5583 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5584 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5585 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5586 -
1.5587 -depcc="$CXX" am_compiler_list=
1.5588 -
1.5589 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.5590 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.5591 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.5592 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5593 -else
1.5594 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.5595 - # We make a subdir and do the tests there. Otherwise we can end up
1.5596 - # making bogus files that we don't know about and never remove. For
1.5597 - # instance it was reported that on HP-UX the gcc test will end up
1.5598 - # making a dummy file named `D' -- because `-MD' means `put the output
1.5599 - # in D'.
1.5600 - mkdir conftest.dir
1.5601 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.5602 - # using a relative directory.
1.5603 - cp "$am_depcomp" conftest.dir
1.5604 - cd conftest.dir
1.5605 - # We will build objects and dependencies in a subdirectory because
1.5606 - # it helps to detect inapplicable dependency modes. For instance
1.5607 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.5608 - # side effect of compilation, but ICC will put the dependencies in
1.5609 - # the current directory while Tru64 will put them in the object
1.5610 - # directory.
1.5611 - mkdir sub
1.5612 -
1.5613 - am_cv_CXX_dependencies_compiler_type=none
1.5614 - if test "$am_compiler_list" = ""; then
1.5615 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.5616 - fi
1.5617 - for depmode in $am_compiler_list; do
1.5618 - # Setup a source with many dependencies, because some compilers
1.5619 - # like to wrap large dependency lists on column 80 (with \), and
1.5620 - # we should not choose a depcomp mode which is confused by this.
1.5621 - #
1.5622 - # We need to recreate these files for each test, as the compiler may
1.5623 - # overwrite some of them when testing with obscure command lines.
1.5624 - # This happens at least with the AIX C compiler.
1.5625 - : > sub/conftest.c
1.5626 - for i in 1 2 3 4 5 6; do
1.5627 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.5628 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.5629 - # Solaris 8's {/usr,}/bin/sh.
1.5630 - touch sub/conftst$i.h
1.5631 - done
1.5632 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.5633 -
1.5634 - case $depmode in
1.5635 - nosideeffect)
1.5636 - # after this tag, mechanisms are not by side-effect, so they'll
1.5637 - # only be used when explicitly requested
1.5638 - if test "x$enable_dependency_tracking" = xyes; then
1.5639 - continue
1.5640 - else
1.5641 - break
1.5642 - fi
1.5643 - ;;
1.5644 - none) break ;;
1.5645 - esac
1.5646 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.5647 - # mode. It turns out that the SunPro C++ compiler does not properly
1.5648 - # handle `-M -o', and we need to detect this.
1.5649 - if depmode=$depmode \
1.5650 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.5651 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.5652 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.5653 - >/dev/null 2>conftest.err &&
1.5654 - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.5655 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.5656 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.5657 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.5658 - # icc doesn't choke on unknown options, it will just issue warnings
1.5659 - # or remarks (even with -Werror). So we grep stderr for any message
1.5660 - # that says an option was ignored or not supported.
1.5661 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.5662 - # icc: Command line warning: ignoring option '-M'; no argument required
1.5663 - # The diagnosis changed in icc 8.0:
1.5664 - # icc: Command line remark: option '-MP' not supported
1.5665 - if (grep 'ignoring option' conftest.err ||
1.5666 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.5667 - am_cv_CXX_dependencies_compiler_type=$depmode
1.5668 - break
1.5669 - fi
1.5670 - fi
1.5671 - done
1.5672 -
1.5673 - cd ..
1.5674 - rm -rf conftest.dir
1.5675 -else
1.5676 - am_cv_CXX_dependencies_compiler_type=none
1.5677 -fi
1.5678 -
1.5679 -fi
1.5680 -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
1.5681 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
1.5682 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1.5683 -
1.5684 - if
1.5685 - test "x$enable_dependency_tracking" != xno \
1.5686 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
1.5687 - am__fastdepCXX_TRUE=
1.5688 - am__fastdepCXX_FALSE='#'
1.5689 -else
1.5690 - am__fastdepCXX_TRUE='#'
1.5691 - am__fastdepCXX_FALSE=
1.5692 -fi
1.5693 -
1.5694 -
1.5695 -ac_ext=cpp
1.5696 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5697 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5698 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5699 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5700 -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
1.5701 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
1.5702 -if test -z "$CXXCPP"; then
1.5703 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
1.5704 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5705 -else
1.5706 - # Double quotes because CXXCPP needs to be expanded
1.5707 - for CXXCPP in "$CXX -E" "/lib/cpp"
1.5708 - do
1.5709 - ac_preproc_ok=false
1.5710 -for ac_cxx_preproc_warn_flag in '' yes
1.5711 -do
1.5712 - # Use a header file that comes with gcc, so configuring glibc
1.5713 - # with a fresh cross-compiler works.
1.5714 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5715 - # <limits.h> exists even on freestanding compilers.
1.5716 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.5717 - # not just through cpp. "Syntax error" is here to catch this case.
1.5718 - cat >conftest.$ac_ext <<_ACEOF
1.5719 -/* confdefs.h. */
1.5720 -_ACEOF
1.5721 -cat confdefs.h >>conftest.$ac_ext
1.5722 -cat >>conftest.$ac_ext <<_ACEOF
1.5723 -/* end confdefs.h. */
1.5724 -@%:@ifdef __STDC__
1.5725 -@%:@ include <limits.h>
1.5726 -@%:@else
1.5727 -@%:@ include <assert.h>
1.5728 -@%:@endif
1.5729 - Syntax error
1.5730 -_ACEOF
1.5731 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5732 -case "(($ac_try" in
1.5733 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5734 - *) ac_try_echo=$ac_try;;
1.5735 -esac
1.5736 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5737 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5738 - ac_status=$?
1.5739 - grep -v '^ *+' conftest.er1 >conftest.err
1.5740 - rm -f conftest.er1
1.5741 - cat conftest.err >&5
1.5742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5743 - (exit $ac_status); } >/dev/null && {
1.5744 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5745 - test ! -s conftest.err
1.5746 - }; then
1.5747 - :
1.5748 -else
1.5749 - echo "$as_me: failed program was:" >&5
1.5750 -sed 's/^/| /' conftest.$ac_ext >&5
1.5751 -
1.5752 - # Broken: fails on valid input.
1.5753 -continue
1.5754 -fi
1.5755 -
1.5756 -rm -f conftest.err conftest.$ac_ext
1.5757 -
1.5758 - # OK, works on sane cases. Now check whether nonexistent headers
1.5759 - # can be detected and how.
1.5760 - cat >conftest.$ac_ext <<_ACEOF
1.5761 -/* confdefs.h. */
1.5762 -_ACEOF
1.5763 -cat confdefs.h >>conftest.$ac_ext
1.5764 -cat >>conftest.$ac_ext <<_ACEOF
1.5765 -/* end confdefs.h. */
1.5766 -@%:@include <ac_nonexistent.h>
1.5767 -_ACEOF
1.5768 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5769 -case "(($ac_try" in
1.5770 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5771 - *) ac_try_echo=$ac_try;;
1.5772 -esac
1.5773 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5774 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5775 - ac_status=$?
1.5776 - grep -v '^ *+' conftest.er1 >conftest.err
1.5777 - rm -f conftest.er1
1.5778 - cat conftest.err >&5
1.5779 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5780 - (exit $ac_status); } >/dev/null && {
1.5781 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5782 - test ! -s conftest.err
1.5783 - }; then
1.5784 - # Broken: success on invalid input.
1.5785 -continue
1.5786 -else
1.5787 - echo "$as_me: failed program was:" >&5
1.5788 -sed 's/^/| /' conftest.$ac_ext >&5
1.5789 -
1.5790 - # Passes both tests.
1.5791 -ac_preproc_ok=:
1.5792 -break
1.5793 -fi
1.5794 -
1.5795 -rm -f conftest.err conftest.$ac_ext
1.5796 -
1.5797 -done
1.5798 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.5799 -rm -f conftest.err conftest.$ac_ext
1.5800 -if $ac_preproc_ok; then
1.5801 - break
1.5802 -fi
1.5803 -
1.5804 - done
1.5805 - ac_cv_prog_CXXCPP=$CXXCPP
1.5806 -
1.5807 -fi
1.5808 - CXXCPP=$ac_cv_prog_CXXCPP
1.5809 -else
1.5810 - ac_cv_prog_CXXCPP=$CXXCPP
1.5811 -fi
1.5812 -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
1.5813 -echo "${ECHO_T}$CXXCPP" >&6; }
1.5814 -ac_preproc_ok=false
1.5815 -for ac_cxx_preproc_warn_flag in '' yes
1.5816 -do
1.5817 - # Use a header file that comes with gcc, so configuring glibc
1.5818 - # with a fresh cross-compiler works.
1.5819 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5820 - # <limits.h> exists even on freestanding compilers.
1.5821 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.5822 - # not just through cpp. "Syntax error" is here to catch this case.
1.5823 - cat >conftest.$ac_ext <<_ACEOF
1.5824 -/* confdefs.h. */
1.5825 -_ACEOF
1.5826 -cat confdefs.h >>conftest.$ac_ext
1.5827 -cat >>conftest.$ac_ext <<_ACEOF
1.5828 -/* end confdefs.h. */
1.5829 -@%:@ifdef __STDC__
1.5830 -@%:@ include <limits.h>
1.5831 -@%:@else
1.5832 -@%:@ include <assert.h>
1.5833 -@%:@endif
1.5834 - Syntax error
1.5835 -_ACEOF
1.5836 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5837 -case "(($ac_try" in
1.5838 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5839 - *) ac_try_echo=$ac_try;;
1.5840 -esac
1.5841 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5842 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5843 - ac_status=$?
1.5844 - grep -v '^ *+' conftest.er1 >conftest.err
1.5845 - rm -f conftest.er1
1.5846 - cat conftest.err >&5
1.5847 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5848 - (exit $ac_status); } >/dev/null && {
1.5849 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5850 - test ! -s conftest.err
1.5851 - }; then
1.5852 - :
1.5853 -else
1.5854 - echo "$as_me: failed program was:" >&5
1.5855 -sed 's/^/| /' conftest.$ac_ext >&5
1.5856 -
1.5857 - # Broken: fails on valid input.
1.5858 -continue
1.5859 -fi
1.5860 -
1.5861 -rm -f conftest.err conftest.$ac_ext
1.5862 -
1.5863 - # OK, works on sane cases. Now check whether nonexistent headers
1.5864 - # can be detected and how.
1.5865 - cat >conftest.$ac_ext <<_ACEOF
1.5866 -/* confdefs.h. */
1.5867 -_ACEOF
1.5868 -cat confdefs.h >>conftest.$ac_ext
1.5869 -cat >>conftest.$ac_ext <<_ACEOF
1.5870 -/* end confdefs.h. */
1.5871 -@%:@include <ac_nonexistent.h>
1.5872 -_ACEOF
1.5873 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.5874 -case "(($ac_try" in
1.5875 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5876 - *) ac_try_echo=$ac_try;;
1.5877 -esac
1.5878 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5879 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.5880 - ac_status=$?
1.5881 - grep -v '^ *+' conftest.er1 >conftest.err
1.5882 - rm -f conftest.er1
1.5883 - cat conftest.err >&5
1.5884 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5885 - (exit $ac_status); } >/dev/null && {
1.5886 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.5887 - test ! -s conftest.err
1.5888 - }; then
1.5889 - # Broken: success on invalid input.
1.5890 -continue
1.5891 -else
1.5892 - echo "$as_me: failed program was:" >&5
1.5893 -sed 's/^/| /' conftest.$ac_ext >&5
1.5894 -
1.5895 - # Passes both tests.
1.5896 -ac_preproc_ok=:
1.5897 -break
1.5898 -fi
1.5899 -
1.5900 -rm -f conftest.err conftest.$ac_ext
1.5901 -
1.5902 -done
1.5903 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.5904 -rm -f conftest.err conftest.$ac_ext
1.5905 -if $ac_preproc_ok; then
1.5906 - :
1.5907 -else
1.5908 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.5909 -See \`config.log' for more details." >&5
1.5910 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.5911 -See \`config.log' for more details." >&2;}
1.5912 - { (exit 1); exit 1; }; }
1.5913 -fi
1.5914 -
1.5915 -ac_ext=cpp
1.5916 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5917 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5918 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5919 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5920 -
1.5921 -
1.5922 -ac_ext=f
1.5923 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
1.5924 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5925 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1.5926 -if test -n "$ac_tool_prefix"; then
1.5927 - 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.5928 - do
1.5929 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.5930 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.5931 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5932 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5933 -if test "${ac_cv_prog_F77+set}" = set; then
1.5934 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5935 -else
1.5936 - if test -n "$F77"; then
1.5937 - ac_cv_prog_F77="$F77" # Let the user override the test.
1.5938 -else
1.5939 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5940 -for as_dir in $PATH
1.5941 -do
1.5942 - IFS=$as_save_IFS
1.5943 - test -z "$as_dir" && as_dir=.
1.5944 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5945 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5946 - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
1.5947 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5948 - break 2
1.5949 - fi
1.5950 -done
1.5951 -done
1.5952 -IFS=$as_save_IFS
1.5953 -
1.5954 -fi
1.5955 -fi
1.5956 -F77=$ac_cv_prog_F77
1.5957 -if test -n "$F77"; then
1.5958 - { echo "$as_me:$LINENO: result: $F77" >&5
1.5959 -echo "${ECHO_T}$F77" >&6; }
1.5960 -else
1.5961 - { echo "$as_me:$LINENO: result: no" >&5
1.5962 -echo "${ECHO_T}no" >&6; }
1.5963 -fi
1.5964 -
1.5965 -
1.5966 - test -n "$F77" && break
1.5967 - done
1.5968 -fi
1.5969 -if test -z "$F77"; then
1.5970 - ac_ct_F77=$F77
1.5971 - 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.5972 -do
1.5973 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.5974 -set dummy $ac_prog; ac_word=$2
1.5975 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5976 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.5977 -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
1.5978 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5979 -else
1.5980 - if test -n "$ac_ct_F77"; then
1.5981 - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
1.5982 -else
1.5983 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5984 -for as_dir in $PATH
1.5985 -do
1.5986 - IFS=$as_save_IFS
1.5987 - test -z "$as_dir" && as_dir=.
1.5988 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5989 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.5990 - ac_cv_prog_ac_ct_F77="$ac_prog"
1.5991 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5992 - break 2
1.5993 - fi
1.5994 -done
1.5995 -done
1.5996 -IFS=$as_save_IFS
1.5997 -
1.5998 -fi
1.5999 -fi
1.6000 -ac_ct_F77=$ac_cv_prog_ac_ct_F77
1.6001 -if test -n "$ac_ct_F77"; then
1.6002 - { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
1.6003 -echo "${ECHO_T}$ac_ct_F77" >&6; }
1.6004 -else
1.6005 - { echo "$as_me:$LINENO: result: no" >&5
1.6006 -echo "${ECHO_T}no" >&6; }
1.6007 -fi
1.6008 -
1.6009 -
1.6010 - test -n "$ac_ct_F77" && break
1.6011 -done
1.6012 -
1.6013 - if test "x$ac_ct_F77" = x; then
1.6014 - F77=""
1.6015 - else
1.6016 - case $cross_compiling:$ac_tool_warned in
1.6017 -yes:)
1.6018 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6019 -whose name does not start with the host triplet. If you think this
1.6020 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6021 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6022 -whose name does not start with the host triplet. If you think this
1.6023 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6024 -ac_tool_warned=yes ;;
1.6025 -esac
1.6026 - F77=$ac_ct_F77
1.6027 - fi
1.6028 -fi
1.6029 -
1.6030 -
1.6031 -# Provide some information about the compiler.
1.6032 -echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
1.6033 -ac_compiler=`set X $ac_compile; echo $2`
1.6034 -{ (ac_try="$ac_compiler --version >&5"
1.6035 -case "(($ac_try" in
1.6036 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6037 - *) ac_try_echo=$ac_try;;
1.6038 -esac
1.6039 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6040 - (eval "$ac_compiler --version >&5") 2>&5
1.6041 - ac_status=$?
1.6042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6043 - (exit $ac_status); }
1.6044 -{ (ac_try="$ac_compiler -v >&5"
1.6045 -case "(($ac_try" in
1.6046 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6047 - *) ac_try_echo=$ac_try;;
1.6048 -esac
1.6049 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6050 - (eval "$ac_compiler -v >&5") 2>&5
1.6051 - ac_status=$?
1.6052 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6053 - (exit $ac_status); }
1.6054 -{ (ac_try="$ac_compiler -V >&5"
1.6055 -case "(($ac_try" in
1.6056 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6057 - *) ac_try_echo=$ac_try;;
1.6058 -esac
1.6059 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6060 - (eval "$ac_compiler -V >&5") 2>&5
1.6061 - ac_status=$?
1.6062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6063 - (exit $ac_status); }
1.6064 -rm -f a.out
1.6065 -
1.6066 -# If we don't use `.F' as extension, the preprocessor is not run on the
1.6067 -# input file. (Note that this only needs to work for GNU compilers.)
1.6068 -ac_save_ext=$ac_ext
1.6069 -ac_ext=F
1.6070 -{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
1.6071 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
1.6072 -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
1.6073 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6074 -else
1.6075 - cat >conftest.$ac_ext <<_ACEOF
1.6076 - program main
1.6077 -#ifndef __GNUC__
1.6078 - choke me
1.6079 -#endif
1.6080 -
1.6081 - end
1.6082 -_ACEOF
1.6083 -rm -f conftest.$ac_objext
1.6084 -if { (ac_try="$ac_compile"
1.6085 -case "(($ac_try" in
1.6086 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6087 - *) ac_try_echo=$ac_try;;
1.6088 -esac
1.6089 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6090 - (eval "$ac_compile") 2>conftest.er1
1.6091 - ac_status=$?
1.6092 - grep -v '^ *+' conftest.er1 >conftest.err
1.6093 - rm -f conftest.er1
1.6094 - cat conftest.err >&5
1.6095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6096 - (exit $ac_status); } && {
1.6097 - test -z "$ac_f77_werror_flag" ||
1.6098 - test ! -s conftest.err
1.6099 - } && test -s conftest.$ac_objext; then
1.6100 - ac_compiler_gnu=yes
1.6101 -else
1.6102 - echo "$as_me: failed program was:" >&5
1.6103 -sed 's/^/| /' conftest.$ac_ext >&5
1.6104 -
1.6105 - ac_compiler_gnu=no
1.6106 -fi
1.6107 -
1.6108 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.6109 -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
1.6110 -
1.6111 -fi
1.6112 -{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
1.6113 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
1.6114 -ac_ext=$ac_save_ext
1.6115 -ac_test_FFLAGS=${FFLAGS+set}
1.6116 -ac_save_FFLAGS=$FFLAGS
1.6117 -FFLAGS=
1.6118 -{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
1.6119 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
1.6120 -if test "${ac_cv_prog_f77_g+set}" = set; then
1.6121 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6122 -else
1.6123 - FFLAGS=-g
1.6124 -cat >conftest.$ac_ext <<_ACEOF
1.6125 - program main
1.6126 -
1.6127 - end
1.6128 -_ACEOF
1.6129 -rm -f conftest.$ac_objext
1.6130 -if { (ac_try="$ac_compile"
1.6131 -case "(($ac_try" in
1.6132 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6133 - *) ac_try_echo=$ac_try;;
1.6134 -esac
1.6135 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6136 - (eval "$ac_compile") 2>conftest.er1
1.6137 - ac_status=$?
1.6138 - grep -v '^ *+' conftest.er1 >conftest.err
1.6139 - rm -f conftest.er1
1.6140 - cat conftest.err >&5
1.6141 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6142 - (exit $ac_status); } && {
1.6143 - test -z "$ac_f77_werror_flag" ||
1.6144 - test ! -s conftest.err
1.6145 - } && test -s conftest.$ac_objext; then
1.6146 - ac_cv_prog_f77_g=yes
1.6147 -else
1.6148 - echo "$as_me: failed program was:" >&5
1.6149 -sed 's/^/| /' conftest.$ac_ext >&5
1.6150 -
1.6151 - ac_cv_prog_f77_g=no
1.6152 -fi
1.6153 -
1.6154 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.6155 -
1.6156 -fi
1.6157 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
1.6158 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
1.6159 -if test "$ac_test_FFLAGS" = set; then
1.6160 - FFLAGS=$ac_save_FFLAGS
1.6161 -elif test $ac_cv_prog_f77_g = yes; then
1.6162 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
1.6163 - FFLAGS="-g -O2"
1.6164 - else
1.6165 - FFLAGS="-g"
1.6166 - fi
1.6167 -else
1.6168 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
1.6169 - FFLAGS="-O2"
1.6170 - else
1.6171 - FFLAGS=
1.6172 - fi
1.6173 -fi
1.6174 -
1.6175 -G77=`test $ac_compiler_gnu = yes && echo yes`
1.6176 -ac_ext=c
1.6177 -ac_cpp='$CPP $CPPFLAGS'
1.6178 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.6179 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.6180 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.6181 -
1.6182 -
1.6183 -
1.6184 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1.6185 -
1.6186 -# find the maximum length of command line arguments
1.6187 -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
1.6188 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
1.6189 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
1.6190 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6191 -else
1.6192 - i=0
1.6193 - teststring="ABCD"
1.6194 -
1.6195 - case $build_os in
1.6196 - msdosdjgpp*)
1.6197 - # On DJGPP, this test can blow up pretty badly due to problems in libc
1.6198 - # (any single argument exceeding 2000 bytes causes a buffer overrun
1.6199 - # during glob expansion). Even if it were fixed, the result of this
1.6200 - # check would be larger than it should be.
1.6201 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
1.6202 - ;;
1.6203 -
1.6204 - gnu*)
1.6205 - # Under GNU Hurd, this test is not required because there is
1.6206 - # no limit to the length of command line arguments.
1.6207 - # Libtool will interpret -1 as no limit whatsoever
1.6208 - lt_cv_sys_max_cmd_len=-1;
1.6209 - ;;
1.6210 -
1.6211 - cygwin* | mingw*)
1.6212 - # On Win9x/ME, this test blows up -- it succeeds, but takes
1.6213 - # about 5 minutes as the teststring grows exponentially.
1.6214 - # Worse, since 9x/ME are not pre-emptively multitasking,
1.6215 - # you end up with a "frozen" computer, even though with patience
1.6216 - # the test eventually succeeds (with a max line length of 256k).
1.6217 - # Instead, let's just punt: use the minimum linelength reported by
1.6218 - # all of the supported platforms: 8192 (on NT/2K/XP).
1.6219 - lt_cv_sys_max_cmd_len=8192;
1.6220 - ;;
1.6221 -
1.6222 - amigaos*)
1.6223 - # On AmigaOS with pdksh, this test takes hours, literally.
1.6224 - # So we just punt and use a minimum line length of 8192.
1.6225 - lt_cv_sys_max_cmd_len=8192;
1.6226 - ;;
1.6227 -
1.6228 - *)
1.6229 - # If test is not a shell built-in, we'll probably end up computing a
1.6230 - # maximum length that is only half of the actual maximum length, but
1.6231 - # we can't tell.
1.6232 - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
1.6233 - = "XX$teststring") >/dev/null 2>&1 &&
1.6234 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
1.6235 - lt_cv_sys_max_cmd_len=$new_result &&
1.6236 - test $i != 17 # 1/2 MB should be enough
1.6237 - do
1.6238 - i=`expr $i + 1`
1.6239 - teststring=$teststring$teststring
1.6240 - done
1.6241 - teststring=
1.6242 - # Add a significant safety factor because C++ compilers can tack on massive
1.6243 - # amounts of additional arguments before passing them to the linker.
1.6244 - # It appears as though 1/2 is a usable value.
1.6245 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1.6246 - ;;
1.6247 - esac
1.6248 -
1.6249 -fi
1.6250 -
1.6251 -if test -n $lt_cv_sys_max_cmd_len ; then
1.6252 - { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
1.6253 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
1.6254 -else
1.6255 - { echo "$as_me:$LINENO: result: none" >&5
1.6256 -echo "${ECHO_T}none" >&6; }
1.6257 -fi
1.6258 -
1.6259 -
1.6260 -
1.6261 -
1.6262 -# Check for command to grab the raw symbol name followed by C symbol from nm.
1.6263 -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
1.6264 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
1.6265 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
1.6266 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6267 -else
1.6268 -
1.6269 -# These are sane defaults that work on at least a few old systems.
1.6270 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
1.6271 -
1.6272 -# Character class describing NM global symbol codes.
1.6273 -symcode='[BCDEGRST]'
1.6274 -
1.6275 -# Regexp to match symbols that can be accessed directly from C.
1.6276 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.6277 -
1.6278 -# Transform the above into a raw symbol and a C symbol.
1.6279 -symxfrm='\1 \2\3 \3'
1.6280 -
1.6281 -# Transform an extracted symbol line into a proper C declaration
1.6282 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
1.6283 -
1.6284 -# Transform an extracted symbol line into symbol name and symbol address
1.6285 -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.6286 -
1.6287 -# Define system-specific variables.
1.6288 -case $host_os in
1.6289 -aix*)
1.6290 - symcode='[BCDT]'
1.6291 - ;;
1.6292 -cygwin* | mingw* | pw32*)
1.6293 - symcode='[ABCDGISTW]'
1.6294 - ;;
1.6295 -hpux*) # Its linker distinguishes data from code symbols
1.6296 - if test "$host_cpu" = ia64; then
1.6297 - symcode='[ABCDEGRST]'
1.6298 - fi
1.6299 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.6300 - 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.6301 - ;;
1.6302 -irix* | nonstopux*)
1.6303 - symcode='[BCDEGRST]'
1.6304 - ;;
1.6305 -osf*)
1.6306 - symcode='[BCDEGQRST]'
1.6307 - ;;
1.6308 -solaris* | sysv5*)
1.6309 - symcode='[BDRT]'
1.6310 - ;;
1.6311 -sysv4)
1.6312 - symcode='[DFNSTU]'
1.6313 - ;;
1.6314 -esac
1.6315 -
1.6316 -# Handle CRLF in mingw tool chain
1.6317 -opt_cr=
1.6318 -case $build_os in
1.6319 -mingw*)
1.6320 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1.6321 - ;;
1.6322 -esac
1.6323 -
1.6324 -# If we're using GNU nm, then use its standard symbol codes.
1.6325 -case `$NM -V 2>&1` in
1.6326 -*GNU* | *'with BFD'*)
1.6327 - symcode='[ABCDGIRSTW]' ;;
1.6328 -esac
1.6329 -
1.6330 -# Try without a prefix undercore, then with it.
1.6331 -for ac_symprfx in "" "_"; do
1.6332 -
1.6333 - # Write the raw and C identifiers.
1.6334 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
1.6335 -
1.6336 - # Check to see that the pipe works correctly.
1.6337 - pipe_works=no
1.6338 -
1.6339 - rm -f conftest*
1.6340 - cat > conftest.$ac_ext <<EOF
1.6341 -#ifdef __cplusplus
1.6342 -extern "C" {
1.6343 -#endif
1.6344 -char nm_test_var;
1.6345 -void nm_test_func(){}
1.6346 -#ifdef __cplusplus
1.6347 -}
1.6348 -#endif
1.6349 -int main(){nm_test_var='a';nm_test_func();return(0);}
1.6350 -EOF
1.6351 -
1.6352 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.6353 - (eval $ac_compile) 2>&5
1.6354 - ac_status=$?
1.6355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6356 - (exit $ac_status); }; then
1.6357 - # Now try to grab the symbols.
1.6358 - nlist=conftest.nm
1.6359 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
1.6360 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
1.6361 - ac_status=$?
1.6362 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6363 - (exit $ac_status); } && test -s "$nlist"; then
1.6364 - # Try sorting and uniquifying the output.
1.6365 - if sort "$nlist" | uniq > "$nlist"T; then
1.6366 - mv -f "$nlist"T "$nlist"
1.6367 - else
1.6368 - rm -f "$nlist"T
1.6369 - fi
1.6370 -
1.6371 - # Make sure that we snagged all the symbols we need.
1.6372 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
1.6373 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
1.6374 - cat <<EOF > conftest.$ac_ext
1.6375 -#ifdef __cplusplus
1.6376 -extern "C" {
1.6377 -#endif
1.6378 -
1.6379 -EOF
1.6380 - # Now generate the symbol file.
1.6381 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
1.6382 -
1.6383 - cat <<EOF >> conftest.$ac_ext
1.6384 -#if defined (__STDC__) && __STDC__
1.6385 -# define lt_ptr_t void *
1.6386 -#else
1.6387 -# define lt_ptr_t char *
1.6388 -# define const
1.6389 -#endif
1.6390 -
1.6391 -/* The mapping between symbol names and symbols. */
1.6392 -const struct {
1.6393 - const char *name;
1.6394 - lt_ptr_t address;
1.6395 -}
1.6396 -lt_preloaded_symbols[] =
1.6397 -{
1.6398 -EOF
1.6399 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
1.6400 - cat <<\EOF >> conftest.$ac_ext
1.6401 - {0, (lt_ptr_t) 0}
1.6402 -};
1.6403 -
1.6404 -#ifdef __cplusplus
1.6405 -}
1.6406 -#endif
1.6407 -EOF
1.6408 - # Now try linking the two files.
1.6409 - mv conftest.$ac_objext conftstm.$ac_objext
1.6410 - lt_save_LIBS="$LIBS"
1.6411 - lt_save_CFLAGS="$CFLAGS"
1.6412 - LIBS="conftstm.$ac_objext"
1.6413 - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.6414 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.6415 - (eval $ac_link) 2>&5
1.6416 - ac_status=$?
1.6417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6418 - (exit $ac_status); } && test -s conftest${ac_exeext}; then
1.6419 - pipe_works=yes
1.6420 - fi
1.6421 - LIBS="$lt_save_LIBS"
1.6422 - CFLAGS="$lt_save_CFLAGS"
1.6423 - else
1.6424 - echo "cannot find nm_test_func in $nlist" >&5
1.6425 - fi
1.6426 - else
1.6427 - echo "cannot find nm_test_var in $nlist" >&5
1.6428 - fi
1.6429 - else
1.6430 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
1.6431 - fi
1.6432 - else
1.6433 - echo "$progname: failed program was:" >&5
1.6434 - cat conftest.$ac_ext >&5
1.6435 - fi
1.6436 - rm -f conftest* conftst*
1.6437 -
1.6438 - # Do not use the global_symbol_pipe unless it works.
1.6439 - if test "$pipe_works" = yes; then
1.6440 - break
1.6441 - else
1.6442 - lt_cv_sys_global_symbol_pipe=
1.6443 - fi
1.6444 -done
1.6445 -
1.6446 -fi
1.6447 -
1.6448 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
1.6449 - lt_cv_sys_global_symbol_to_cdecl=
1.6450 -fi
1.6451 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.6452 - { echo "$as_me:$LINENO: result: failed" >&5
1.6453 -echo "${ECHO_T}failed" >&6; }
1.6454 -else
1.6455 - { echo "$as_me:$LINENO: result: ok" >&5
1.6456 -echo "${ECHO_T}ok" >&6; }
1.6457 -fi
1.6458 -
1.6459 -{ echo "$as_me:$LINENO: checking for objdir" >&5
1.6460 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
1.6461 -if test "${lt_cv_objdir+set}" = set; then
1.6462 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6463 -else
1.6464 - rm -f .libs 2>/dev/null
1.6465 -mkdir .libs 2>/dev/null
1.6466 -if test -d .libs; then
1.6467 - lt_cv_objdir=.libs
1.6468 -else
1.6469 - # MS-DOS does not allow filenames that begin with a dot.
1.6470 - lt_cv_objdir=_libs
1.6471 -fi
1.6472 -rmdir .libs 2>/dev/null
1.6473 -fi
1.6474 -{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
1.6475 -echo "${ECHO_T}$lt_cv_objdir" >&6; }
1.6476 -objdir=$lt_cv_objdir
1.6477 -
1.6478 -
1.6479 -
1.6480 -
1.6481 -
1.6482 -case $host_os in
1.6483 -aix3*)
1.6484 - # AIX sometimes has problems with the GCC collect2 program. For some
1.6485 - # reason, if we set the COLLECT_NAMES environment variable, the problems
1.6486 - # vanish in a puff of smoke.
1.6487 - if test "X${COLLECT_NAMES+set}" != Xset; then
1.6488 - COLLECT_NAMES=
1.6489 - export COLLECT_NAMES
1.6490 - fi
1.6491 - ;;
1.6492 -esac
1.6493 -
1.6494 -# Sed substitution that helps us do robust quoting. It backslashifies
1.6495 -# metacharacters that are still active within double-quoted strings.
1.6496 -Xsed='sed -e s/^X//'
1.6497 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
1.6498 -
1.6499 -# Same as above, but do not quote variable references.
1.6500 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
1.6501 -
1.6502 -# Sed substitution to delay expansion of an escaped shell variable in a
1.6503 -# double_quote_subst'ed string.
1.6504 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.6505 -
1.6506 -# Sed substitution to avoid accidental globbing in evaled expressions
1.6507 -no_glob_subst='s/\*/\\\*/g'
1.6508 -
1.6509 -# Constants:
1.6510 -rm="rm -f"
1.6511 -
1.6512 -# Global variables:
1.6513 -default_ofile=libtool
1.6514 -can_build_shared=yes
1.6515 -
1.6516 -# All known linkers require a `.a' archive for static linking (except M$VC,
1.6517 -# which needs '.lib').
1.6518 -libext=a
1.6519 -ltmain="$ac_aux_dir/ltmain.sh"
1.6520 -ofile="$default_ofile"
1.6521 -with_gnu_ld="$lt_cv_prog_gnu_ld"
1.6522 -
1.6523 -if test -n "$ac_tool_prefix"; then
1.6524 - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1.6525 -set dummy ${ac_tool_prefix}ar; ac_word=$2
1.6526 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6527 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6528 -if test "${ac_cv_prog_AR+set}" = set; then
1.6529 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6530 -else
1.6531 - if test -n "$AR"; then
1.6532 - ac_cv_prog_AR="$AR" # Let the user override the test.
1.6533 -else
1.6534 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6535 -for as_dir in $PATH
1.6536 -do
1.6537 - IFS=$as_save_IFS
1.6538 - test -z "$as_dir" && as_dir=.
1.6539 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6540 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6541 - ac_cv_prog_AR="${ac_tool_prefix}ar"
1.6542 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6543 - break 2
1.6544 - fi
1.6545 -done
1.6546 -done
1.6547 -IFS=$as_save_IFS
1.6548 -
1.6549 -fi
1.6550 -fi
1.6551 -AR=$ac_cv_prog_AR
1.6552 -if test -n "$AR"; then
1.6553 - { echo "$as_me:$LINENO: result: $AR" >&5
1.6554 -echo "${ECHO_T}$AR" >&6; }
1.6555 -else
1.6556 - { echo "$as_me:$LINENO: result: no" >&5
1.6557 -echo "${ECHO_T}no" >&6; }
1.6558 -fi
1.6559 -
1.6560 -
1.6561 -fi
1.6562 -if test -z "$ac_cv_prog_AR"; then
1.6563 - ac_ct_AR=$AR
1.6564 - # Extract the first word of "ar", so it can be a program name with args.
1.6565 -set dummy ar; ac_word=$2
1.6566 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6567 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6568 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.6569 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6570 -else
1.6571 - if test -n "$ac_ct_AR"; then
1.6572 - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.6573 -else
1.6574 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6575 -for as_dir in $PATH
1.6576 -do
1.6577 - IFS=$as_save_IFS
1.6578 - test -z "$as_dir" && as_dir=.
1.6579 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6580 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6581 - ac_cv_prog_ac_ct_AR="ar"
1.6582 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6583 - break 2
1.6584 - fi
1.6585 -done
1.6586 -done
1.6587 -IFS=$as_save_IFS
1.6588 -
1.6589 -fi
1.6590 -fi
1.6591 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
1.6592 -if test -n "$ac_ct_AR"; then
1.6593 - { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1.6594 -echo "${ECHO_T}$ac_ct_AR" >&6; }
1.6595 -else
1.6596 - { echo "$as_me:$LINENO: result: no" >&5
1.6597 -echo "${ECHO_T}no" >&6; }
1.6598 -fi
1.6599 -
1.6600 - if test "x$ac_ct_AR" = x; then
1.6601 - AR="false"
1.6602 - else
1.6603 - case $cross_compiling:$ac_tool_warned in
1.6604 -yes:)
1.6605 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6606 -whose name does not start with the host triplet. If you think this
1.6607 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6608 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6609 -whose name does not start with the host triplet. If you think this
1.6610 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6611 -ac_tool_warned=yes ;;
1.6612 -esac
1.6613 - AR=$ac_ct_AR
1.6614 - fi
1.6615 -else
1.6616 - AR="$ac_cv_prog_AR"
1.6617 -fi
1.6618 -
1.6619 -if test -n "$ac_tool_prefix"; then
1.6620 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1.6621 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.6622 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6623 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6624 -if test "${ac_cv_prog_RANLIB+set}" = set; then
1.6625 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6626 -else
1.6627 - if test -n "$RANLIB"; then
1.6628 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.6629 -else
1.6630 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6631 -for as_dir in $PATH
1.6632 -do
1.6633 - IFS=$as_save_IFS
1.6634 - test -z "$as_dir" && as_dir=.
1.6635 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6636 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6637 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.6638 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6639 - break 2
1.6640 - fi
1.6641 -done
1.6642 -done
1.6643 -IFS=$as_save_IFS
1.6644 -
1.6645 -fi
1.6646 -fi
1.6647 -RANLIB=$ac_cv_prog_RANLIB
1.6648 -if test -n "$RANLIB"; then
1.6649 - { echo "$as_me:$LINENO: result: $RANLIB" >&5
1.6650 -echo "${ECHO_T}$RANLIB" >&6; }
1.6651 -else
1.6652 - { echo "$as_me:$LINENO: result: no" >&5
1.6653 -echo "${ECHO_T}no" >&6; }
1.6654 -fi
1.6655 -
1.6656 -
1.6657 -fi
1.6658 -if test -z "$ac_cv_prog_RANLIB"; then
1.6659 - ac_ct_RANLIB=$RANLIB
1.6660 - # Extract the first word of "ranlib", so it can be a program name with args.
1.6661 -set dummy ranlib; ac_word=$2
1.6662 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6663 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6664 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1.6665 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6666 -else
1.6667 - if test -n "$ac_ct_RANLIB"; then
1.6668 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.6669 -else
1.6670 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6671 -for as_dir in $PATH
1.6672 -do
1.6673 - IFS=$as_save_IFS
1.6674 - test -z "$as_dir" && as_dir=.
1.6675 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6676 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6677 - ac_cv_prog_ac_ct_RANLIB="ranlib"
1.6678 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6679 - break 2
1.6680 - fi
1.6681 -done
1.6682 -done
1.6683 -IFS=$as_save_IFS
1.6684 -
1.6685 -fi
1.6686 -fi
1.6687 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1.6688 -if test -n "$ac_ct_RANLIB"; then
1.6689 - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1.6690 -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
1.6691 -else
1.6692 - { echo "$as_me:$LINENO: result: no" >&5
1.6693 -echo "${ECHO_T}no" >&6; }
1.6694 -fi
1.6695 -
1.6696 - if test "x$ac_ct_RANLIB" = x; then
1.6697 - RANLIB=":"
1.6698 - else
1.6699 - case $cross_compiling:$ac_tool_warned in
1.6700 -yes:)
1.6701 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6702 -whose name does not start with the host triplet. If you think this
1.6703 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6704 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6705 -whose name does not start with the host triplet. If you think this
1.6706 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6707 -ac_tool_warned=yes ;;
1.6708 -esac
1.6709 - RANLIB=$ac_ct_RANLIB
1.6710 - fi
1.6711 -else
1.6712 - RANLIB="$ac_cv_prog_RANLIB"
1.6713 -fi
1.6714 -
1.6715 -if test -n "$ac_tool_prefix"; then
1.6716 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1.6717 -set dummy ${ac_tool_prefix}strip; ac_word=$2
1.6718 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6719 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6720 -if test "${ac_cv_prog_STRIP+set}" = set; then
1.6721 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6722 -else
1.6723 - if test -n "$STRIP"; then
1.6724 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.6725 -else
1.6726 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6727 -for as_dir in $PATH
1.6728 -do
1.6729 - IFS=$as_save_IFS
1.6730 - test -z "$as_dir" && as_dir=.
1.6731 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6732 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6733 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.6734 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6735 - break 2
1.6736 - fi
1.6737 -done
1.6738 -done
1.6739 -IFS=$as_save_IFS
1.6740 -
1.6741 -fi
1.6742 -fi
1.6743 -STRIP=$ac_cv_prog_STRIP
1.6744 -if test -n "$STRIP"; then
1.6745 - { echo "$as_me:$LINENO: result: $STRIP" >&5
1.6746 -echo "${ECHO_T}$STRIP" >&6; }
1.6747 -else
1.6748 - { echo "$as_me:$LINENO: result: no" >&5
1.6749 -echo "${ECHO_T}no" >&6; }
1.6750 -fi
1.6751 -
1.6752 -
1.6753 -fi
1.6754 -if test -z "$ac_cv_prog_STRIP"; then
1.6755 - ac_ct_STRIP=$STRIP
1.6756 - # Extract the first word of "strip", so it can be a program name with args.
1.6757 -set dummy strip; ac_word=$2
1.6758 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6759 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6760 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.6761 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6762 -else
1.6763 - if test -n "$ac_ct_STRIP"; then
1.6764 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.6765 -else
1.6766 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6767 -for as_dir in $PATH
1.6768 -do
1.6769 - IFS=$as_save_IFS
1.6770 - test -z "$as_dir" && as_dir=.
1.6771 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6772 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6773 - ac_cv_prog_ac_ct_STRIP="strip"
1.6774 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6775 - break 2
1.6776 - fi
1.6777 -done
1.6778 -done
1.6779 -IFS=$as_save_IFS
1.6780 -
1.6781 -fi
1.6782 -fi
1.6783 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1.6784 -if test -n "$ac_ct_STRIP"; then
1.6785 - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1.6786 -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1.6787 -else
1.6788 - { echo "$as_me:$LINENO: result: no" >&5
1.6789 -echo "${ECHO_T}no" >&6; }
1.6790 -fi
1.6791 -
1.6792 - if test "x$ac_ct_STRIP" = x; then
1.6793 - STRIP=":"
1.6794 - else
1.6795 - case $cross_compiling:$ac_tool_warned in
1.6796 -yes:)
1.6797 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6798 -whose name does not start with the host triplet. If you think this
1.6799 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6800 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6801 -whose name does not start with the host triplet. If you think this
1.6802 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6803 -ac_tool_warned=yes ;;
1.6804 -esac
1.6805 - STRIP=$ac_ct_STRIP
1.6806 - fi
1.6807 -else
1.6808 - STRIP="$ac_cv_prog_STRIP"
1.6809 -fi
1.6810 -
1.6811 -
1.6812 -old_CC="$CC"
1.6813 -old_CFLAGS="$CFLAGS"
1.6814 -
1.6815 -# Set sane defaults for various variables
1.6816 -test -z "$AR" && AR=ar
1.6817 -test -z "$AR_FLAGS" && AR_FLAGS=cru
1.6818 -test -z "$AS" && AS=as
1.6819 -test -z "$CC" && CC=cc
1.6820 -test -z "$LTCC" && LTCC=$CC
1.6821 -test -z "$DLLTOOL" && DLLTOOL=dlltool
1.6822 -test -z "$LD" && LD=ld
1.6823 -test -z "$LN_S" && LN_S="ln -s"
1.6824 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
1.6825 -test -z "$NM" && NM=nm
1.6826 -test -z "$SED" && SED=sed
1.6827 -test -z "$OBJDUMP" && OBJDUMP=objdump
1.6828 -test -z "$RANLIB" && RANLIB=:
1.6829 -test -z "$STRIP" && STRIP=:
1.6830 -test -z "$ac_objext" && ac_objext=o
1.6831 -
1.6832 -# Determine commands to create old-style static archives.
1.6833 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1.6834 -old_postinstall_cmds='chmod 644 $oldlib'
1.6835 -old_postuninstall_cmds=
1.6836 -
1.6837 -if test -n "$RANLIB"; then
1.6838 - case $host_os in
1.6839 - openbsd*)
1.6840 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1.6841 - ;;
1.6842 - *)
1.6843 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1.6844 - ;;
1.6845 - esac
1.6846 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1.6847 -fi
1.6848 -
1.6849 -# Only perform the check for file, if the check method requires it
1.6850 -case $deplibs_check_method in
1.6851 -file_magic*)
1.6852 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.6853 - { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
1.6854 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
1.6855 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
1.6856 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6857 -else
1.6858 - case $MAGIC_CMD in
1.6859 -[\\/*] | ?:[\\/]*)
1.6860 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1.6861 - ;;
1.6862 -*)
1.6863 - lt_save_MAGIC_CMD="$MAGIC_CMD"
1.6864 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.6865 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
1.6866 - for ac_dir in $ac_dummy; do
1.6867 - IFS="$lt_save_ifs"
1.6868 - test -z "$ac_dir" && ac_dir=.
1.6869 - if test -f $ac_dir/${ac_tool_prefix}file; then
1.6870 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1.6871 - if test -n "$file_magic_test_file"; then
1.6872 - case $deplibs_check_method in
1.6873 - "file_magic "*)
1.6874 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1.6875 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6876 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1.6877 - $EGREP "$file_magic_regex" > /dev/null; then
1.6878 - :
1.6879 - else
1.6880 - cat <<EOF 1>&2
1.6881 -
1.6882 -*** Warning: the command libtool uses to detect shared libraries,
1.6883 -*** $file_magic_cmd, produces output that libtool cannot recognize.
1.6884 -*** The result is that libtool may fail to recognize shared libraries
1.6885 -*** as such. This will affect the creation of libtool libraries that
1.6886 -*** depend on shared libraries, but programs linked with such libtool
1.6887 -*** libraries will work regardless of this problem. Nevertheless, you
1.6888 -*** may want to report the problem to your system manager and/or to
1.6889 -*** bug-libtool@gnu.org
1.6890 -
1.6891 -EOF
1.6892 - fi ;;
1.6893 - esac
1.6894 - fi
1.6895 - break
1.6896 - fi
1.6897 - done
1.6898 - IFS="$lt_save_ifs"
1.6899 - MAGIC_CMD="$lt_save_MAGIC_CMD"
1.6900 - ;;
1.6901 -esac
1.6902 -fi
1.6903 -
1.6904 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6905 -if test -n "$MAGIC_CMD"; then
1.6906 - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
1.6907 -echo "${ECHO_T}$MAGIC_CMD" >&6; }
1.6908 -else
1.6909 - { echo "$as_me:$LINENO: result: no" >&5
1.6910 -echo "${ECHO_T}no" >&6; }
1.6911 -fi
1.6912 -
1.6913 -if test -z "$lt_cv_path_MAGIC_CMD"; then
1.6914 - if test -n "$ac_tool_prefix"; then
1.6915 - { echo "$as_me:$LINENO: checking for file" >&5
1.6916 -echo $ECHO_N "checking for file... $ECHO_C" >&6; }
1.6917 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
1.6918 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6919 -else
1.6920 - case $MAGIC_CMD in
1.6921 -[\\/*] | ?:[\\/]*)
1.6922 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1.6923 - ;;
1.6924 -*)
1.6925 - lt_save_MAGIC_CMD="$MAGIC_CMD"
1.6926 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.6927 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
1.6928 - for ac_dir in $ac_dummy; do
1.6929 - IFS="$lt_save_ifs"
1.6930 - test -z "$ac_dir" && ac_dir=.
1.6931 - if test -f $ac_dir/file; then
1.6932 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
1.6933 - if test -n "$file_magic_test_file"; then
1.6934 - case $deplibs_check_method in
1.6935 - "file_magic "*)
1.6936 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1.6937 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6938 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1.6939 - $EGREP "$file_magic_regex" > /dev/null; then
1.6940 - :
1.6941 - else
1.6942 - cat <<EOF 1>&2
1.6943 -
1.6944 -*** Warning: the command libtool uses to detect shared libraries,
1.6945 -*** $file_magic_cmd, produces output that libtool cannot recognize.
1.6946 -*** The result is that libtool may fail to recognize shared libraries
1.6947 -*** as such. This will affect the creation of libtool libraries that
1.6948 -*** depend on shared libraries, but programs linked with such libtool
1.6949 -*** libraries will work regardless of this problem. Nevertheless, you
1.6950 -*** may want to report the problem to your system manager and/or to
1.6951 -*** bug-libtool@gnu.org
1.6952 -
1.6953 -EOF
1.6954 - fi ;;
1.6955 - esac
1.6956 - fi
1.6957 - break
1.6958 - fi
1.6959 - done
1.6960 - IFS="$lt_save_ifs"
1.6961 - MAGIC_CMD="$lt_save_MAGIC_CMD"
1.6962 - ;;
1.6963 -esac
1.6964 -fi
1.6965 -
1.6966 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6967 -if test -n "$MAGIC_CMD"; then
1.6968 - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
1.6969 -echo "${ECHO_T}$MAGIC_CMD" >&6; }
1.6970 -else
1.6971 - { echo "$as_me:$LINENO: result: no" >&5
1.6972 -echo "${ECHO_T}no" >&6; }
1.6973 -fi
1.6974 -
1.6975 - else
1.6976 - MAGIC_CMD=:
1.6977 - fi
1.6978 -fi
1.6979 -
1.6980 - fi
1.6981 - ;;
1.6982 -esac
1.6983 -
1.6984 -enable_dlopen=no
1.6985 -enable_win32_dll=no
1.6986 -
1.6987 -# Check whether --enable-libtool-lock was given.
1.6988 -if test "${enable_libtool_lock+set}" = set; then
1.6989 - enableval=$enable_libtool_lock;
1.6990 -fi
1.6991 -
1.6992 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.6993 -
1.6994 -
1.6995 -# Check whether --with-pic was given.
1.6996 -if test "${with_pic+set}" = set; then
1.6997 - withval=$with_pic; pic_mode="$withval"
1.6998 -else
1.6999 - pic_mode=default
1.7000 -fi
1.7001 -
1.7002 -test -z "$pic_mode" && pic_mode=default
1.7003 -
1.7004 -# Use C for the default configuration in the libtool script
1.7005 -tagname=
1.7006 -lt_save_CC="$CC"
1.7007 -ac_ext=c
1.7008 -ac_cpp='$CPP $CPPFLAGS'
1.7009 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.7010 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.7011 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.7012 -
1.7013 -
1.7014 -# Source file extension for C test sources.
1.7015 -ac_ext=c
1.7016 -
1.7017 -# Object file extension for compiled C test sources.
1.7018 -objext=o
1.7019 -objext=$objext
1.7020 -
1.7021 -# Code to be used in simple compile tests
1.7022 -lt_simple_compile_test_code="int some_variable = 0;\n"
1.7023 -
1.7024 -# Code to be used in simple link tests
1.7025 -lt_simple_link_test_code='int main(){return(0);}\n'
1.7026 -
1.7027 -
1.7028 -# If no C compiler was specified, use CC.
1.7029 -LTCC=${LTCC-"$CC"}
1.7030 -
1.7031 -# Allow CC to be a program name with arguments.
1.7032 -compiler=$CC
1.7033 -
1.7034 -
1.7035 -#
1.7036 -# Check for any special shared library compilation flags.
1.7037 -#
1.7038 -lt_prog_cc_shlib=
1.7039 -if test "$GCC" = no; then
1.7040 - case $host_os in
1.7041 - sco3.2v5*)
1.7042 - lt_prog_cc_shlib='-belf'
1.7043 - ;;
1.7044 - esac
1.7045 -fi
1.7046 -if test -n "$lt_prog_cc_shlib"; then
1.7047 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
1.7048 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
1.7049 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
1.7050 - else
1.7051 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
1.7052 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
1.7053 - lt_cv_prog_cc_can_build_shared=no
1.7054 - fi
1.7055 -fi
1.7056 -
1.7057 -
1.7058 -#
1.7059 -# Check to make sure the static flag actually works.
1.7060 -#
1.7061 -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
1.7062 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
1.7063 -if test "${lt_prog_compiler_static_works+set}" = set; then
1.7064 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7065 -else
1.7066 - lt_prog_compiler_static_works=no
1.7067 - save_LDFLAGS="$LDFLAGS"
1.7068 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
1.7069 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
1.7070 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1.7071 - # The compiler can only warn and ignore the option if not recognized
1.7072 - # So say no if there are warnings
1.7073 - if test -s conftest.err; then
1.7074 - # Append any errors to the config.log.
1.7075 - cat conftest.err 1>&5
1.7076 - else
1.7077 - lt_prog_compiler_static_works=yes
1.7078 - fi
1.7079 - fi
1.7080 - $rm conftest*
1.7081 - LDFLAGS="$save_LDFLAGS"
1.7082 -
1.7083 -fi
1.7084 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
1.7085 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
1.7086 -
1.7087 -if test x"$lt_prog_compiler_static_works" = xyes; then
1.7088 - :
1.7089 -else
1.7090 - lt_prog_compiler_static=
1.7091 -fi
1.7092 -
1.7093 -
1.7094 -
1.7095 -## CAVEAT EMPTOR:
1.7096 -## There is no encapsulation within the following macros, do not change
1.7097 -## the running order or otherwise move them around unless you know exactly
1.7098 -## what you are doing...
1.7099 -
1.7100 -lt_prog_compiler_no_builtin_flag=
1.7101 -
1.7102 -if test "$GCC" = yes; then
1.7103 - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
1.7104 -
1.7105 -
1.7106 -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.7107 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
1.7108 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.7109 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7110 -else
1.7111 - lt_cv_prog_compiler_rtti_exceptions=no
1.7112 - ac_outfile=conftest.$ac_objext
1.7113 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.7114 - lt_compiler_flag="-fno-rtti -fno-exceptions"
1.7115 - # Insert the option either (1) after the last *FLAGS variable, or
1.7116 - # (2) before a word containing "conftest.", or (3) at the end.
1.7117 - # Note that $ac_compile itself does not contain backslashes and begins
1.7118 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.7119 - # The option is referenced via a variable to avoid confusing sed.
1.7120 - lt_compile=`echo "$ac_compile" | $SED \
1.7121 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.7122 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.7123 - -e 's:$: $lt_compiler_flag:'`
1.7124 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.7125 - (eval "$lt_compile" 2>conftest.err)
1.7126 - ac_status=$?
1.7127 - cat conftest.err >&5
1.7128 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.7129 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.7130 - # The compiler can only warn and ignore the option if not recognized
1.7131 - # So say no if there are warnings
1.7132 - if test ! -s conftest.err; then
1.7133 - lt_cv_prog_compiler_rtti_exceptions=yes
1.7134 - fi
1.7135 - fi
1.7136 - $rm conftest*
1.7137 -
1.7138 -fi
1.7139 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.7140 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.7141 -
1.7142 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1.7143 - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.7144 -else
1.7145 - :
1.7146 -fi
1.7147 -
1.7148 -fi
1.7149 -
1.7150 -lt_prog_compiler_wl=
1.7151 -lt_prog_compiler_pic=
1.7152 -lt_prog_compiler_static=
1.7153 -
1.7154 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.7155 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.7156 -
1.7157 - if test "$GCC" = yes; then
1.7158 - lt_prog_compiler_wl='-Wl,'
1.7159 - lt_prog_compiler_static='-static'
1.7160 -
1.7161 - case $host_os in
1.7162 - aix*)
1.7163 - # All AIX code is PIC.
1.7164 - if test "$host_cpu" = ia64; then
1.7165 - # AIX 5 now supports IA64 processor
1.7166 - lt_prog_compiler_static='-Bstatic'
1.7167 - fi
1.7168 - ;;
1.7169 -
1.7170 - amigaos*)
1.7171 - # FIXME: we need at least 68020 code to build shared libraries, but
1.7172 - # adding the `-m68020' flag to GCC prevents building anything better,
1.7173 - # like `-m68040'.
1.7174 - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
1.7175 - ;;
1.7176 -
1.7177 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.7178 - # PIC is the default for these OSes.
1.7179 - ;;
1.7180 -
1.7181 - mingw* | pw32* | os2*)
1.7182 - # This hack is so that the source file can tell whether it is being
1.7183 - # built for inclusion in a dll (and should export symbols for example).
1.7184 - lt_prog_compiler_pic='-DDLL_EXPORT'
1.7185 - ;;
1.7186 -
1.7187 - darwin* | rhapsody*)
1.7188 - # PIC is the default on this platform
1.7189 - # Common symbols not allowed in MH_DYLIB files
1.7190 - lt_prog_compiler_pic='-fno-common'
1.7191 - ;;
1.7192 -
1.7193 - msdosdjgpp*)
1.7194 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.7195 - # on systems that don't support them.
1.7196 - lt_prog_compiler_can_build_shared=no
1.7197 - enable_shared=no
1.7198 - ;;
1.7199 -
1.7200 - sysv4*MP*)
1.7201 - if test -d /usr/nec; then
1.7202 - lt_prog_compiler_pic=-Kconform_pic
1.7203 - fi
1.7204 - ;;
1.7205 -
1.7206 - hpux*)
1.7207 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.7208 - # not for PA HP-UX.
1.7209 - case "$host_cpu" in
1.7210 - hppa*64*|ia64*)
1.7211 - # +Z the default
1.7212 - ;;
1.7213 - *)
1.7214 - lt_prog_compiler_pic='-fPIC'
1.7215 - ;;
1.7216 - esac
1.7217 - ;;
1.7218 -
1.7219 - *)
1.7220 - lt_prog_compiler_pic='-fPIC'
1.7221 - ;;
1.7222 - esac
1.7223 - else
1.7224 - # PORTME Check for flag to pass linker flags through the system compiler.
1.7225 - case $host_os in
1.7226 - aix*)
1.7227 - lt_prog_compiler_wl='-Wl,'
1.7228 - if test "$host_cpu" = ia64; then
1.7229 - # AIX 5 now supports IA64 processor
1.7230 - lt_prog_compiler_static='-Bstatic'
1.7231 - else
1.7232 - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
1.7233 - fi
1.7234 - ;;
1.7235 -
1.7236 - mingw* | pw32* | os2*)
1.7237 - # This hack is so that the source file can tell whether it is being
1.7238 - # built for inclusion in a dll (and should export symbols for example).
1.7239 - lt_prog_compiler_pic='-DDLL_EXPORT'
1.7240 - ;;
1.7241 -
1.7242 - hpux9* | hpux10* | hpux11*)
1.7243 - lt_prog_compiler_wl='-Wl,'
1.7244 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.7245 - # not for PA HP-UX.
1.7246 - case "$host_cpu" in
1.7247 - hppa*64*|ia64*)
1.7248 - # +Z the default
1.7249 - ;;
1.7250 - *)
1.7251 - lt_prog_compiler_pic='+Z'
1.7252 - ;;
1.7253 - esac
1.7254 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.7255 - lt_prog_compiler_static='${wl}-a ${wl}archive'
1.7256 - ;;
1.7257 -
1.7258 - irix5* | irix6* | nonstopux*)
1.7259 - lt_prog_compiler_wl='-Wl,'
1.7260 - # PIC (with -KPIC) is the default.
1.7261 - lt_prog_compiler_static='-non_shared'
1.7262 - ;;
1.7263 -
1.7264 - newsos6)
1.7265 - lt_prog_compiler_pic='-KPIC'
1.7266 - lt_prog_compiler_static='-Bstatic'
1.7267 - ;;
1.7268 -
1.7269 - linux*)
1.7270 - case $CC in
1.7271 - icc* | ecc*)
1.7272 - lt_prog_compiler_wl='-Wl,'
1.7273 - lt_prog_compiler_pic='-KPIC'
1.7274 - lt_prog_compiler_static='-static'
1.7275 - ;;
1.7276 - ccc*)
1.7277 - lt_prog_compiler_wl='-Wl,'
1.7278 - # All Alpha code is PIC.
1.7279 - lt_prog_compiler_static='-non_shared'
1.7280 - ;;
1.7281 - esac
1.7282 - ;;
1.7283 -
1.7284 - osf3* | osf4* | osf5*)
1.7285 - lt_prog_compiler_wl='-Wl,'
1.7286 - # All OSF/1 code is PIC.
1.7287 - lt_prog_compiler_static='-non_shared'
1.7288 - ;;
1.7289 -
1.7290 - sco3.2v5*)
1.7291 - lt_prog_compiler_pic='-Kpic'
1.7292 - lt_prog_compiler_static='-dn'
1.7293 - ;;
1.7294 -
1.7295 - solaris*)
1.7296 - lt_prog_compiler_wl='-Wl,'
1.7297 - lt_prog_compiler_pic='-KPIC'
1.7298 - lt_prog_compiler_static='-Bstatic'
1.7299 - ;;
1.7300 -
1.7301 - sunos4*)
1.7302 - lt_prog_compiler_wl='-Qoption ld '
1.7303 - lt_prog_compiler_pic='-PIC'
1.7304 - lt_prog_compiler_static='-Bstatic'
1.7305 - ;;
1.7306 -
1.7307 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.7308 - lt_prog_compiler_wl='-Wl,'
1.7309 - lt_prog_compiler_pic='-KPIC'
1.7310 - lt_prog_compiler_static='-Bstatic'
1.7311 - ;;
1.7312 -
1.7313 - sysv4*MP*)
1.7314 - if test -d /usr/nec ;then
1.7315 - lt_prog_compiler_pic='-Kconform_pic'
1.7316 - lt_prog_compiler_static='-Bstatic'
1.7317 - fi
1.7318 - ;;
1.7319 -
1.7320 - uts4*)
1.7321 - lt_prog_compiler_pic='-pic'
1.7322 - lt_prog_compiler_static='-Bstatic'
1.7323 - ;;
1.7324 -
1.7325 - *)
1.7326 - lt_prog_compiler_can_build_shared=no
1.7327 - ;;
1.7328 - esac
1.7329 - fi
1.7330 -
1.7331 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
1.7332 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
1.7333 -
1.7334 -#
1.7335 -# Check to make sure the PIC flag actually works.
1.7336 -#
1.7337 -if test -n "$lt_prog_compiler_pic"; then
1.7338 -
1.7339 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
1.7340 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
1.7341 -if test "${lt_prog_compiler_pic_works+set}" = set; then
1.7342 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7343 -else
1.7344 - lt_prog_compiler_pic_works=no
1.7345 - ac_outfile=conftest.$ac_objext
1.7346 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.7347 - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
1.7348 - # Insert the option either (1) after the last *FLAGS variable, or
1.7349 - # (2) before a word containing "conftest.", or (3) at the end.
1.7350 - # Note that $ac_compile itself does not contain backslashes and begins
1.7351 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.7352 - # The option is referenced via a variable to avoid confusing sed.
1.7353 - lt_compile=`echo "$ac_compile" | $SED \
1.7354 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.7355 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.7356 - -e 's:$: $lt_compiler_flag:'`
1.7357 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.7358 - (eval "$lt_compile" 2>conftest.err)
1.7359 - ac_status=$?
1.7360 - cat conftest.err >&5
1.7361 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.7362 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.7363 - # The compiler can only warn and ignore the option if not recognized
1.7364 - # So say no if there are warnings
1.7365 - if test ! -s conftest.err; then
1.7366 - lt_prog_compiler_pic_works=yes
1.7367 - fi
1.7368 - fi
1.7369 - $rm conftest*
1.7370 -
1.7371 -fi
1.7372 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
1.7373 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
1.7374 -
1.7375 -if test x"$lt_prog_compiler_pic_works" = xyes; then
1.7376 - case $lt_prog_compiler_pic in
1.7377 - "" | " "*) ;;
1.7378 - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
1.7379 - esac
1.7380 -else
1.7381 - lt_prog_compiler_pic=
1.7382 - lt_prog_compiler_can_build_shared=no
1.7383 -fi
1.7384 -
1.7385 -fi
1.7386 -case "$host_os" in
1.7387 - # For platforms which do not support PIC, -DPIC is meaningless:
1.7388 - *djgpp*)
1.7389 - lt_prog_compiler_pic=
1.7390 - ;;
1.7391 - *)
1.7392 - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.7393 - ;;
1.7394 -esac
1.7395 -
1.7396 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.7397 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.7398 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
1.7399 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7400 -else
1.7401 - lt_cv_prog_compiler_c_o=no
1.7402 - $rm -r conftest 2>/dev/null
1.7403 - mkdir conftest
1.7404 - cd conftest
1.7405 - mkdir out
1.7406 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.7407 -
1.7408 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.7409 - # Insert the option either (1) after the last *FLAGS variable, or
1.7410 - # (2) before a word containing "conftest.", or (3) at the end.
1.7411 - # Note that $ac_compile itself does not contain backslashes and begins
1.7412 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.7413 - lt_compile=`echo "$ac_compile" | $SED \
1.7414 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.7415 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.7416 - -e 's:$: $lt_compiler_flag:'`
1.7417 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.7418 - (eval "$lt_compile" 2>out/conftest.err)
1.7419 - ac_status=$?
1.7420 - cat out/conftest.err >&5
1.7421 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.7422 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.7423 - then
1.7424 - # The compiler can only warn and ignore the option if not recognized
1.7425 - # So say no if there are warnings
1.7426 - if test ! -s out/conftest.err; then
1.7427 - lt_cv_prog_compiler_c_o=yes
1.7428 - fi
1.7429 - fi
1.7430 - chmod u+w .
1.7431 - $rm conftest*
1.7432 - # SGI C++ compiler will create directory out/ii_files/ for
1.7433 - # template instantiation
1.7434 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.7435 - $rm out/* && rmdir out
1.7436 - cd ..
1.7437 - rmdir conftest
1.7438 - $rm conftest*
1.7439 -
1.7440 -fi
1.7441 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
1.7442 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
1.7443 -
1.7444 -
1.7445 -hard_links="nottested"
1.7446 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
1.7447 - # do not overwrite the value of need_locks provided by the user
1.7448 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.7449 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.7450 - hard_links=yes
1.7451 - $rm conftest*
1.7452 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.7453 - touch conftest.a
1.7454 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.7455 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.7456 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.7457 -echo "${ECHO_T}$hard_links" >&6; }
1.7458 - if test "$hard_links" = no; then
1.7459 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.7460 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.7461 - need_locks=warn
1.7462 - fi
1.7463 -else
1.7464 - need_locks=no
1.7465 -fi
1.7466 -
1.7467 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.7468 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.7469 -
1.7470 - runpath_var=
1.7471 - allow_undefined_flag=
1.7472 - enable_shared_with_static_runtimes=no
1.7473 - archive_cmds=
1.7474 - archive_expsym_cmds=
1.7475 - old_archive_From_new_cmds=
1.7476 - old_archive_from_expsyms_cmds=
1.7477 - export_dynamic_flag_spec=
1.7478 - whole_archive_flag_spec=
1.7479 - thread_safe_flag_spec=
1.7480 - hardcode_libdir_flag_spec=
1.7481 - hardcode_libdir_flag_spec_ld=
1.7482 - hardcode_libdir_separator=
1.7483 - hardcode_direct=no
1.7484 - hardcode_minus_L=no
1.7485 - hardcode_shlibpath_var=unsupported
1.7486 - link_all_deplibs=unknown
1.7487 - hardcode_automatic=no
1.7488 - module_cmds=
1.7489 - module_expsym_cmds=
1.7490 - always_export_symbols=no
1.7491 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.7492 - # include_expsyms should be a list of space-separated symbols to be *always*
1.7493 - # included in the symbol list
1.7494 - include_expsyms=
1.7495 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.7496 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.7497 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.7498 - # as well as any symbol that contains `d'.
1.7499 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
1.7500 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.7501 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.7502 - # the symbol is explicitly referenced. Since portable code cannot
1.7503 - # rely on this symbol name, it's probably fine to never include it in
1.7504 - # preloaded symbol tables.
1.7505 - extract_expsyms_cmds=
1.7506 -
1.7507 - case $host_os in
1.7508 - cygwin* | mingw* | pw32*)
1.7509 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.7510 - # When not using gcc, we currently assume that we are using
1.7511 - # Microsoft Visual C++.
1.7512 - if test "$GCC" != yes; then
1.7513 - with_gnu_ld=no
1.7514 - fi
1.7515 - ;;
1.7516 - openbsd*)
1.7517 - with_gnu_ld=no
1.7518 - ;;
1.7519 - esac
1.7520 -
1.7521 - ld_shlibs=yes
1.7522 - if test "$with_gnu_ld" = yes; then
1.7523 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.7524 - wlarc='${wl}'
1.7525 -
1.7526 - # See if GNU ld supports shared libraries.
1.7527 - case $host_os in
1.7528 - aix3* | aix4* | aix5*)
1.7529 - # On AIX/PPC, the GNU linker is very broken
1.7530 - if test "$host_cpu" != ia64; then
1.7531 - ld_shlibs=no
1.7532 - cat <<EOF 1>&2
1.7533 -
1.7534 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.7535 -*** to be unable to reliably create shared libraries on AIX.
1.7536 -*** Therefore, libtool is disabling shared libraries support. If you
1.7537 -*** really care for shared libraries, you may want to modify your PATH
1.7538 -*** so that a non-GNU linker is found, and then restart.
1.7539 -
1.7540 -EOF
1.7541 - fi
1.7542 - ;;
1.7543 -
1.7544 - amigaos*)
1.7545 - 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.7546 - hardcode_libdir_flag_spec='-L$libdir'
1.7547 - hardcode_minus_L=yes
1.7548 -
1.7549 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.7550 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.7551 - # to version 4, is to share data among multiple programs linked
1.7552 - # with the same dynamic library. Since this doesn't match the
1.7553 - # behavior of shared libraries on other platforms, we can't use
1.7554 - # them.
1.7555 - ld_shlibs=no
1.7556 - ;;
1.7557 -
1.7558 - beos*)
1.7559 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7560 - allow_undefined_flag=unsupported
1.7561 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.7562 - # support --undefined. This deserves some investigation. FIXME
1.7563 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7564 - else
1.7565 - ld_shlibs=no
1.7566 - fi
1.7567 - ;;
1.7568 -
1.7569 - cygwin* | mingw* | pw32*)
1.7570 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
1.7571 - # as there is no search path for DLLs.
1.7572 - hardcode_libdir_flag_spec='-L$libdir'
1.7573 - allow_undefined_flag=unsupported
1.7574 - always_export_symbols=no
1.7575 - enable_shared_with_static_runtimes=yes
1.7576 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.7577 -
1.7578 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.7579 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.7580 - # If the export-symbols file already is a .def file (1st line
1.7581 - # is EXPORTS), use it as is; otherwise, prepend...
1.7582 - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.7583 - cp $export_symbols $output_objdir/$soname.def;
1.7584 - else
1.7585 - echo EXPORTS > $output_objdir/$soname.def;
1.7586 - cat $export_symbols >> $output_objdir/$soname.def;
1.7587 - fi~
1.7588 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.7589 - else
1.7590 - ld_shlibs=no
1.7591 - fi
1.7592 - ;;
1.7593 -
1.7594 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.7595 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.7596 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.7597 - wlarc=
1.7598 - else
1.7599 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7600 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7601 - fi
1.7602 - ;;
1.7603 -
1.7604 - solaris* | sysv5*)
1.7605 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.7606 - ld_shlibs=no
1.7607 - cat <<EOF 1>&2
1.7608 -
1.7609 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.7610 -*** create shared libraries on Solaris systems. Therefore, libtool
1.7611 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.7612 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.7613 -*** your PATH or compiler configuration so that the native linker is
1.7614 -*** used, and then restart.
1.7615 -
1.7616 -EOF
1.7617 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7618 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7619 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7620 - else
1.7621 - ld_shlibs=no
1.7622 - fi
1.7623 - ;;
1.7624 -
1.7625 - sunos4*)
1.7626 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.7627 - wlarc=
1.7628 - hardcode_direct=yes
1.7629 - hardcode_shlibpath_var=no
1.7630 - ;;
1.7631 -
1.7632 - linux*)
1.7633 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7634 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7635 - archive_cmds="$tmp_archive_cmds"
1.7636 - supports_anon_versioning=no
1.7637 - case `$LD -v 2>/dev/null` in
1.7638 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.7639 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.7640 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.7641 - *\ 2.11.*) ;; # other 2.11 versions
1.7642 - *) supports_anon_versioning=yes ;;
1.7643 - esac
1.7644 - if test $supports_anon_versioning = yes; then
1.7645 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
1.7646 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.7647 -$echo "local: *; };" >> $output_objdir/$libname.ver~
1.7648 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.7649 - else
1.7650 - archive_expsym_cmds="$tmp_archive_cmds"
1.7651 - fi
1.7652 - link_all_deplibs=no
1.7653 - else
1.7654 - ld_shlibs=no
1.7655 - fi
1.7656 - ;;
1.7657 -
1.7658 - *)
1.7659 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7660 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7661 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7662 - else
1.7663 - ld_shlibs=no
1.7664 - fi
1.7665 - ;;
1.7666 - esac
1.7667 -
1.7668 - if test "$ld_shlibs" = yes; then
1.7669 - runpath_var=LD_RUN_PATH
1.7670 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
1.7671 - export_dynamic_flag_spec='${wl}--export-dynamic'
1.7672 - # ancient GNU ld didn't support --whole-archive et. al.
1.7673 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.7674 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.7675 - else
1.7676 - whole_archive_flag_spec=
1.7677 - fi
1.7678 - fi
1.7679 - else
1.7680 - # PORTME fill in a description of your system's linker (not GNU ld)
1.7681 - case $host_os in
1.7682 - aix3*)
1.7683 - allow_undefined_flag=unsupported
1.7684 - always_export_symbols=yes
1.7685 - 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.7686 - # Note: this linker hardcodes the directories in LIBPATH if there
1.7687 - # are no directories specified by -L.
1.7688 - hardcode_minus_L=yes
1.7689 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.7690 - # Neither direct hardcoding nor static linking is supported with a
1.7691 - # broken collect2.
1.7692 - hardcode_direct=unsupported
1.7693 - fi
1.7694 - ;;
1.7695 -
1.7696 - aix4* | aix5*)
1.7697 - if test "$host_cpu" = ia64; then
1.7698 - # On IA64, the linker does run time linking by default, so we don't
1.7699 - # have to do anything special.
1.7700 - aix_use_runtimelinking=no
1.7701 - exp_sym_flag='-Bexport'
1.7702 - no_entry_flag=""
1.7703 - else
1.7704 - # If we're using GNU nm, then we don't want the "-C" option.
1.7705 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.7706 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.7707 - 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.7708 - else
1.7709 - 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.7710 - fi
1.7711 - aix_use_runtimelinking=no
1.7712 -
1.7713 - # Test if we are trying to use run time linking or normal
1.7714 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.7715 - # need to do runtime linking.
1.7716 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.7717 - for ld_flag in $LDFLAGS; do
1.7718 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.7719 - aix_use_runtimelinking=yes
1.7720 - break
1.7721 - fi
1.7722 - done
1.7723 - esac
1.7724 -
1.7725 - exp_sym_flag='-bexport'
1.7726 - no_entry_flag='-bnoentry'
1.7727 - fi
1.7728 -
1.7729 - # When large executables or shared objects are built, AIX ld can
1.7730 - # have problems creating the table of contents. If linking a library
1.7731 - # or program results in "error TOC overflow" add -mminimal-toc to
1.7732 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.7733 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.7734 -
1.7735 - archive_cmds=''
1.7736 - hardcode_direct=yes
1.7737 - hardcode_libdir_separator=':'
1.7738 - link_all_deplibs=yes
1.7739 -
1.7740 - if test "$GCC" = yes; then
1.7741 - case $host_os in aix4.012|aix4.012.*)
1.7742 - # We only want to do this on AIX 4.2 and lower, the check
1.7743 - # below for broken collect2 doesn't work under 4.3+
1.7744 - collect2name=`${CC} -print-prog-name=collect2`
1.7745 - if test -f "$collect2name" && \
1.7746 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.7747 - then
1.7748 - # We have reworked collect2
1.7749 - hardcode_direct=yes
1.7750 - else
1.7751 - # We have old collect2
1.7752 - hardcode_direct=unsupported
1.7753 - # It fails to find uninstalled libraries when the uninstalled
1.7754 - # path is not listed in the libpath. Setting hardcode_minus_L
1.7755 - # to unsupported forces relinking
1.7756 - hardcode_minus_L=yes
1.7757 - hardcode_libdir_flag_spec='-L$libdir'
1.7758 - hardcode_libdir_separator=
1.7759 - fi
1.7760 - esac
1.7761 - shared_flag='-shared'
1.7762 - else
1.7763 - # not using gcc
1.7764 - if test "$host_cpu" = ia64; then
1.7765 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.7766 - # chokes on -Wl,-G. The following line is correct:
1.7767 - shared_flag='-G'
1.7768 - else
1.7769 - if test "$aix_use_runtimelinking" = yes; then
1.7770 - shared_flag='${wl}-G'
1.7771 - else
1.7772 - shared_flag='${wl}-bM:SRE'
1.7773 - fi
1.7774 - fi
1.7775 - fi
1.7776 -
1.7777 - # It seems that -bexpall does not export symbols beginning with
1.7778 - # underscore (_), so it is better to generate a list of symbols to export.
1.7779 - always_export_symbols=yes
1.7780 - if test "$aix_use_runtimelinking" = yes; then
1.7781 - # Warning - without using the other runtime loading flags (-brtl),
1.7782 - # -berok will link without error, but may produce a broken library.
1.7783 - allow_undefined_flag='-berok'
1.7784 - # Determine the default libpath from the value encoded in an empty executable.
1.7785 - cat >conftest.$ac_ext <<_ACEOF
1.7786 -/* confdefs.h. */
1.7787 -_ACEOF
1.7788 -cat confdefs.h >>conftest.$ac_ext
1.7789 -cat >>conftest.$ac_ext <<_ACEOF
1.7790 -/* end confdefs.h. */
1.7791 -
1.7792 -int
1.7793 -main ()
1.7794 -{
1.7795 -
1.7796 - ;
1.7797 - return 0;
1.7798 -}
1.7799 -_ACEOF
1.7800 -rm -f conftest.$ac_objext conftest$ac_exeext
1.7801 -if { (ac_try="$ac_link"
1.7802 -case "(($ac_try" in
1.7803 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7804 - *) ac_try_echo=$ac_try;;
1.7805 -esac
1.7806 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7807 - (eval "$ac_link") 2>conftest.er1
1.7808 - ac_status=$?
1.7809 - grep -v '^ *+' conftest.er1 >conftest.err
1.7810 - rm -f conftest.er1
1.7811 - cat conftest.err >&5
1.7812 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7813 - (exit $ac_status); } && {
1.7814 - test -z "$ac_c_werror_flag" ||
1.7815 - test ! -s conftest.err
1.7816 - } && test -s conftest$ac_exeext &&
1.7817 - $as_test_x conftest$ac_exeext; then
1.7818 -
1.7819 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.7820 -}'`
1.7821 -# Check for a 64-bit object if we didn't find anything.
1.7822 -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.7823 -}'`; fi
1.7824 -else
1.7825 - echo "$as_me: failed program was:" >&5
1.7826 -sed 's/^/| /' conftest.$ac_ext >&5
1.7827 -
1.7828 -
1.7829 -fi
1.7830 -
1.7831 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.7832 - conftest$ac_exeext conftest.$ac_ext
1.7833 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.7834 -
1.7835 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.7836 - 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.7837 - else
1.7838 - if test "$host_cpu" = ia64; then
1.7839 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
1.7840 - allow_undefined_flag="-z nodefs"
1.7841 - 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.7842 - else
1.7843 - # Determine the default libpath from the value encoded in an empty executable.
1.7844 - cat >conftest.$ac_ext <<_ACEOF
1.7845 -/* confdefs.h. */
1.7846 -_ACEOF
1.7847 -cat confdefs.h >>conftest.$ac_ext
1.7848 -cat >>conftest.$ac_ext <<_ACEOF
1.7849 -/* end confdefs.h. */
1.7850 -
1.7851 -int
1.7852 -main ()
1.7853 -{
1.7854 -
1.7855 - ;
1.7856 - return 0;
1.7857 -}
1.7858 -_ACEOF
1.7859 -rm -f conftest.$ac_objext conftest$ac_exeext
1.7860 -if { (ac_try="$ac_link"
1.7861 -case "(($ac_try" in
1.7862 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7863 - *) ac_try_echo=$ac_try;;
1.7864 -esac
1.7865 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7866 - (eval "$ac_link") 2>conftest.er1
1.7867 - ac_status=$?
1.7868 - grep -v '^ *+' conftest.er1 >conftest.err
1.7869 - rm -f conftest.er1
1.7870 - cat conftest.err >&5
1.7871 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7872 - (exit $ac_status); } && {
1.7873 - test -z "$ac_c_werror_flag" ||
1.7874 - test ! -s conftest.err
1.7875 - } && test -s conftest$ac_exeext &&
1.7876 - $as_test_x conftest$ac_exeext; then
1.7877 -
1.7878 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.7879 -}'`
1.7880 -# Check for a 64-bit object if we didn't find anything.
1.7881 -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.7882 -}'`; fi
1.7883 -else
1.7884 - echo "$as_me: failed program was:" >&5
1.7885 -sed 's/^/| /' conftest.$ac_ext >&5
1.7886 -
1.7887 -
1.7888 -fi
1.7889 -
1.7890 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.7891 - conftest$ac_exeext conftest.$ac_ext
1.7892 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.7893 -
1.7894 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.7895 - # Warning - without using the other run time loading flags,
1.7896 - # -berok will link without error, but may produce a broken library.
1.7897 - no_undefined_flag=' ${wl}-bernotok'
1.7898 - allow_undefined_flag=' ${wl}-berok'
1.7899 - # -bexpall does not export symbols beginning with underscore (_)
1.7900 - always_export_symbols=yes
1.7901 - # Exported symbols can be pulled into shared objects from archives
1.7902 - whole_archive_flag_spec=' '
1.7903 - archive_cmds_need_lc=yes
1.7904 - # This is similar to how AIX traditionally builds it's shared libraries.
1.7905 - 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.7906 - fi
1.7907 - fi
1.7908 - ;;
1.7909 -
1.7910 - amigaos*)
1.7911 - 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.7912 - hardcode_libdir_flag_spec='-L$libdir'
1.7913 - hardcode_minus_L=yes
1.7914 - # see comment about different semantics on the GNU ld section
1.7915 - ld_shlibs=no
1.7916 - ;;
1.7917 -
1.7918 - bsdi4*)
1.7919 - export_dynamic_flag_spec=-rdynamic
1.7920 - ;;
1.7921 -
1.7922 - cygwin* | mingw* | pw32*)
1.7923 - # When not using gcc, we currently assume that we are using
1.7924 - # Microsoft Visual C++.
1.7925 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.7926 - # no search path for DLLs.
1.7927 - hardcode_libdir_flag_spec=' '
1.7928 - allow_undefined_flag=unsupported
1.7929 - # Tell ltmain to make .lib files, not .a files.
1.7930 - libext=lib
1.7931 - # Tell ltmain to make .dll files, not .so files.
1.7932 - shrext_cmds=".dll"
1.7933 - # FIXME: Setting linknames here is a bad hack.
1.7934 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.7935 - # The linker will automatically build a .lib file if we build a DLL.
1.7936 - old_archive_From_new_cmds='true'
1.7937 - # FIXME: Should let the user specify the lib program.
1.7938 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.7939 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1.7940 - enable_shared_with_static_runtimes=yes
1.7941 - ;;
1.7942 -
1.7943 - darwin* | rhapsody*)
1.7944 - if test "$GXX" = yes ; then
1.7945 - archive_cmds_need_lc=no
1.7946 - case "$host_os" in
1.7947 - rhapsody* | darwin1.[012])
1.7948 - allow_undefined_flag='-undefined suppress'
1.7949 - ;;
1.7950 - *) # Darwin 1.3 on
1.7951 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.7952 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.7953 - else
1.7954 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.7955 - 10.[012])
1.7956 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.7957 - ;;
1.7958 - 10.*)
1.7959 - allow_undefined_flag='-undefined dynamic_lookup'
1.7960 - ;;
1.7961 - esac
1.7962 - fi
1.7963 - ;;
1.7964 - esac
1.7965 - lt_int_apple_cc_single_mod=no
1.7966 - output_verbose_link_cmd='echo'
1.7967 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.7968 - lt_int_apple_cc_single_mod=yes
1.7969 - fi
1.7970 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.7971 - archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.7972 - else
1.7973 - 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.7974 - fi
1.7975 - module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.7976 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.7977 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.7978 - 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.7979 - else
1.7980 - 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.7981 - fi
1.7982 - 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.7983 - hardcode_direct=no
1.7984 - hardcode_automatic=yes
1.7985 - hardcode_shlibpath_var=unsupported
1.7986 - whole_archive_flag_spec='-all_load $convenience'
1.7987 - link_all_deplibs=yes
1.7988 - else
1.7989 - ld_shlibs=no
1.7990 - fi
1.7991 - ;;
1.7992 -
1.7993 - dgux*)
1.7994 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7995 - hardcode_libdir_flag_spec='-L$libdir'
1.7996 - hardcode_shlibpath_var=no
1.7997 - ;;
1.7998 -
1.7999 - freebsd1*)
1.8000 - ld_shlibs=no
1.8001 - ;;
1.8002 -
1.8003 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.8004 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.8005 - # does not break anything, and helps significantly (at the cost of a little
1.8006 - # extra space).
1.8007 - freebsd2.2*)
1.8008 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.8009 - hardcode_libdir_flag_spec='-R$libdir'
1.8010 - hardcode_direct=yes
1.8011 - hardcode_shlibpath_var=no
1.8012 - ;;
1.8013 -
1.8014 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.8015 - freebsd2*)
1.8016 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.8017 - hardcode_direct=yes
1.8018 - hardcode_minus_L=yes
1.8019 - hardcode_shlibpath_var=no
1.8020 - ;;
1.8021 -
1.8022 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.8023 - freebsd* | kfreebsd*-gnu)
1.8024 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.8025 - hardcode_libdir_flag_spec='-R$libdir'
1.8026 - hardcode_direct=yes
1.8027 - hardcode_shlibpath_var=no
1.8028 - ;;
1.8029 -
1.8030 - hpux9*)
1.8031 - if test "$GCC" = yes; then
1.8032 - 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.8033 - else
1.8034 - 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.8035 - fi
1.8036 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.8037 - hardcode_libdir_separator=:
1.8038 - hardcode_direct=yes
1.8039 -
1.8040 - # hardcode_minus_L: Not really in the search PATH,
1.8041 - # but as the default location of the library.
1.8042 - hardcode_minus_L=yes
1.8043 - export_dynamic_flag_spec='${wl}-E'
1.8044 - ;;
1.8045 -
1.8046 - hpux10* | hpux11*)
1.8047 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.8048 - case "$host_cpu" in
1.8049 - hppa*64*|ia64*)
1.8050 - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8051 - ;;
1.8052 - *)
1.8053 - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.8054 - ;;
1.8055 - esac
1.8056 - else
1.8057 - case "$host_cpu" in
1.8058 - hppa*64*|ia64*)
1.8059 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8060 - ;;
1.8061 - *)
1.8062 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.8063 - ;;
1.8064 - esac
1.8065 - fi
1.8066 - if test "$with_gnu_ld" = no; then
1.8067 - case "$host_cpu" in
1.8068 - hppa*64*)
1.8069 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.8070 - hardcode_libdir_flag_spec_ld='+b $libdir'
1.8071 - hardcode_libdir_separator=:
1.8072 - hardcode_direct=no
1.8073 - hardcode_shlibpath_var=no
1.8074 - ;;
1.8075 - ia64*)
1.8076 - hardcode_libdir_flag_spec='-L$libdir'
1.8077 - hardcode_direct=no
1.8078 - hardcode_shlibpath_var=no
1.8079 -
1.8080 - # hardcode_minus_L: Not really in the search PATH,
1.8081 - # but as the default location of the library.
1.8082 - hardcode_minus_L=yes
1.8083 - ;;
1.8084 - *)
1.8085 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.8086 - hardcode_libdir_separator=:
1.8087 - hardcode_direct=yes
1.8088 - export_dynamic_flag_spec='${wl}-E'
1.8089 -
1.8090 - # hardcode_minus_L: Not really in the search PATH,
1.8091 - # but as the default location of the library.
1.8092 - hardcode_minus_L=yes
1.8093 - ;;
1.8094 - esac
1.8095 - fi
1.8096 - ;;
1.8097 -
1.8098 - irix5* | irix6* | nonstopux*)
1.8099 - if test "$GCC" = yes; then
1.8100 - 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.8101 - else
1.8102 - 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.8103 - hardcode_libdir_flag_spec_ld='-rpath $libdir'
1.8104 - fi
1.8105 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8106 - hardcode_libdir_separator=:
1.8107 - link_all_deplibs=yes
1.8108 - ;;
1.8109 -
1.8110 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.8111 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.8112 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.8113 - else
1.8114 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.8115 - fi
1.8116 - hardcode_libdir_flag_spec='-R$libdir'
1.8117 - hardcode_direct=yes
1.8118 - hardcode_shlibpath_var=no
1.8119 - ;;
1.8120 -
1.8121 - newsos6)
1.8122 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8123 - hardcode_direct=yes
1.8124 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8125 - hardcode_libdir_separator=:
1.8126 - hardcode_shlibpath_var=no
1.8127 - ;;
1.8128 -
1.8129 - openbsd*)
1.8130 - hardcode_direct=yes
1.8131 - hardcode_shlibpath_var=no
1.8132 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.8133 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.8134 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
1.8135 - export_dynamic_flag_spec='${wl}-E'
1.8136 - else
1.8137 - case $host_os in
1.8138 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.8139 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.8140 - hardcode_libdir_flag_spec='-R$libdir'
1.8141 - ;;
1.8142 - *)
1.8143 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.8144 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
1.8145 - ;;
1.8146 - esac
1.8147 - fi
1.8148 - ;;
1.8149 -
1.8150 - os2*)
1.8151 - hardcode_libdir_flag_spec='-L$libdir'
1.8152 - hardcode_minus_L=yes
1.8153 - allow_undefined_flag=unsupported
1.8154 - 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.8155 - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.8156 - ;;
1.8157 -
1.8158 - osf3*)
1.8159 - if test "$GCC" = yes; then
1.8160 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.8161 - 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.8162 - else
1.8163 - allow_undefined_flag=' -expect_unresolved \*'
1.8164 - 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.8165 - fi
1.8166 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8167 - hardcode_libdir_separator=:
1.8168 - ;;
1.8169 -
1.8170 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.8171 - if test "$GCC" = yes; then
1.8172 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.8173 - 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.8174 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.8175 - else
1.8176 - allow_undefined_flag=' -expect_unresolved \*'
1.8177 - 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.8178 - 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.8179 - $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.8180 -
1.8181 - # Both c and cxx compiler support -rpath directly
1.8182 - hardcode_libdir_flag_spec='-rpath $libdir'
1.8183 - fi
1.8184 - hardcode_libdir_separator=:
1.8185 - ;;
1.8186 -
1.8187 - sco3.2v5*)
1.8188 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8189 - hardcode_shlibpath_var=no
1.8190 - export_dynamic_flag_spec='${wl}-Bexport'
1.8191 - runpath_var=LD_RUN_PATH
1.8192 - hardcode_runpath_var=yes
1.8193 - ;;
1.8194 -
1.8195 - solaris*)
1.8196 - no_undefined_flag=' -z text'
1.8197 - if test "$GCC" = yes; then
1.8198 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8199 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.8200 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.8201 - else
1.8202 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8203 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.8204 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.8205 - fi
1.8206 - hardcode_libdir_flag_spec='-R$libdir'
1.8207 - hardcode_shlibpath_var=no
1.8208 - case $host_os in
1.8209 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.8210 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
1.8211 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
1.8212 - esac
1.8213 - link_all_deplibs=yes
1.8214 - ;;
1.8215 -
1.8216 - sunos4*)
1.8217 - if test "x$host_vendor" = xsequent; then
1.8218 - # Use $CC to link under sequent, because it throws in some extra .o
1.8219 - # files that make .init and .fini sections work.
1.8220 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.8221 - else
1.8222 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.8223 - fi
1.8224 - hardcode_libdir_flag_spec='-L$libdir'
1.8225 - hardcode_direct=yes
1.8226 - hardcode_minus_L=yes
1.8227 - hardcode_shlibpath_var=no
1.8228 - ;;
1.8229 -
1.8230 - sysv4)
1.8231 - case $host_vendor in
1.8232 - sni)
1.8233 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8234 - hardcode_direct=yes # is this really true???
1.8235 - ;;
1.8236 - siemens)
1.8237 - ## LD is ld it makes a PLAMLIB
1.8238 - ## CC just makes a GrossModule.
1.8239 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.8240 - reload_cmds='$CC -r -o $output$reload_objs'
1.8241 - hardcode_direct=no
1.8242 - ;;
1.8243 - motorola)
1.8244 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8245 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
1.8246 - ;;
1.8247 - esac
1.8248 - runpath_var='LD_RUN_PATH'
1.8249 - hardcode_shlibpath_var=no
1.8250 - ;;
1.8251 -
1.8252 - sysv4.3*)
1.8253 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8254 - hardcode_shlibpath_var=no
1.8255 - export_dynamic_flag_spec='-Bexport'
1.8256 - ;;
1.8257 -
1.8258 - sysv4*MP*)
1.8259 - if test -d /usr/nec; then
1.8260 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8261 - hardcode_shlibpath_var=no
1.8262 - runpath_var=LD_RUN_PATH
1.8263 - hardcode_runpath_var=yes
1.8264 - ld_shlibs=yes
1.8265 - fi
1.8266 - ;;
1.8267 -
1.8268 - sysv4.2uw2*)
1.8269 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.8270 - hardcode_direct=yes
1.8271 - hardcode_minus_L=no
1.8272 - hardcode_shlibpath_var=no
1.8273 - hardcode_runpath_var=yes
1.8274 - runpath_var=LD_RUN_PATH
1.8275 - ;;
1.8276 -
1.8277 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.8278 - no_undefined_flag='${wl}-z ${wl}text'
1.8279 - if test "$GCC" = yes; then
1.8280 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8281 - else
1.8282 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.8283 - fi
1.8284 - runpath_var='LD_RUN_PATH'
1.8285 - hardcode_shlibpath_var=no
1.8286 - ;;
1.8287 -
1.8288 - sysv5*)
1.8289 - no_undefined_flag=' -z text'
1.8290 - # $CC -shared without GNU ld will not create a library from C++
1.8291 - # object files and a static libstdc++, better avoid it by now
1.8292 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8293 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.8294 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.8295 - hardcode_libdir_flag_spec=
1.8296 - hardcode_shlibpath_var=no
1.8297 - runpath_var='LD_RUN_PATH'
1.8298 - ;;
1.8299 -
1.8300 - uts4*)
1.8301 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.8302 - hardcode_libdir_flag_spec='-L$libdir'
1.8303 - hardcode_shlibpath_var=no
1.8304 - ;;
1.8305 -
1.8306 - *)
1.8307 - ld_shlibs=no
1.8308 - ;;
1.8309 - esac
1.8310 - fi
1.8311 -
1.8312 -{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
1.8313 -echo "${ECHO_T}$ld_shlibs" >&6; }
1.8314 -test "$ld_shlibs" = no && can_build_shared=no
1.8315 -
1.8316 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.8317 -if test "$GCC" = yes; then
1.8318 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.8319 -fi
1.8320 -
1.8321 -#
1.8322 -# Do we need to explicitly link libc?
1.8323 -#
1.8324 -case "x$archive_cmds_need_lc" in
1.8325 -x|xyes)
1.8326 - # Assume -lc should be added
1.8327 - archive_cmds_need_lc=yes
1.8328 -
1.8329 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.8330 - case $archive_cmds in
1.8331 - *'~'*)
1.8332 - # FIXME: we may have to deal with multi-command sequences.
1.8333 - ;;
1.8334 - '$CC '*)
1.8335 - # Test whether the compiler implicitly links with -lc since on some
1.8336 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.8337 - # to ld, don't add -lc before -lgcc.
1.8338 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.8339 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.8340 - $rm conftest*
1.8341 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.8342 -
1.8343 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8344 - (eval $ac_compile) 2>&5
1.8345 - ac_status=$?
1.8346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8347 - (exit $ac_status); } 2>conftest.err; then
1.8348 - soname=conftest
1.8349 - lib=conftest
1.8350 - libobjs=conftest.$ac_objext
1.8351 - deplibs=
1.8352 - wl=$lt_prog_compiler_wl
1.8353 - compiler_flags=-v
1.8354 - linker_flags=-v
1.8355 - verstring=
1.8356 - output_objdir=.
1.8357 - libname=conftest
1.8358 - lt_save_allow_undefined_flag=$allow_undefined_flag
1.8359 - allow_undefined_flag=
1.8360 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.8361 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.8362 - ac_status=$?
1.8363 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8364 - (exit $ac_status); }
1.8365 - then
1.8366 - archive_cmds_need_lc=no
1.8367 - else
1.8368 - archive_cmds_need_lc=yes
1.8369 - fi
1.8370 - allow_undefined_flag=$lt_save_allow_undefined_flag
1.8371 - else
1.8372 - cat conftest.err 1>&5
1.8373 - fi
1.8374 - $rm conftest*
1.8375 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
1.8376 -echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
1.8377 - ;;
1.8378 - esac
1.8379 - fi
1.8380 - ;;
1.8381 -esac
1.8382 -
1.8383 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.8384 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.8385 -library_names_spec=
1.8386 -libname_spec='lib$name'
1.8387 -soname_spec=
1.8388 -shrext_cmds=".so"
1.8389 -postinstall_cmds=
1.8390 -postuninstall_cmds=
1.8391 -finish_cmds=
1.8392 -finish_eval=
1.8393 -shlibpath_var=
1.8394 -shlibpath_overrides_runpath=unknown
1.8395 -version_type=none
1.8396 -dynamic_linker="$host_os ld.so"
1.8397 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.8398 -if test "$GCC" = yes; then
1.8399 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.8400 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.8401 - # if the path contains ";" then we assume it to be the separator
1.8402 - # otherwise default to the standard path separator (i.e. ":") - it is
1.8403 - # assumed that no part of a normal pathname contains ";" but that should
1.8404 - # okay in the real world where ";" in dirpaths is itself problematic.
1.8405 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.8406 - else
1.8407 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.8408 - fi
1.8409 -else
1.8410 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.8411 -fi
1.8412 -need_lib_prefix=unknown
1.8413 -hardcode_into_libs=no
1.8414 -
1.8415 -# when you set need_version to no, make sure it does not cause -set_version
1.8416 -# flags to be left without arguments
1.8417 -need_version=unknown
1.8418 -
1.8419 -case $host_os in
1.8420 -aix3*)
1.8421 - version_type=linux
1.8422 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.8423 - shlibpath_var=LIBPATH
1.8424 -
1.8425 - # AIX 3 has no versioning support, so we append a major version to the name.
1.8426 - soname_spec='${libname}${release}${shared_ext}$major'
1.8427 - ;;
1.8428 -
1.8429 -aix4* | aix5*)
1.8430 - version_type=linux
1.8431 - need_lib_prefix=no
1.8432 - need_version=no
1.8433 - hardcode_into_libs=yes
1.8434 - if test "$host_cpu" = ia64; then
1.8435 - # AIX 5 supports IA64
1.8436 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.8437 - shlibpath_var=LD_LIBRARY_PATH
1.8438 - else
1.8439 - # With GCC up to 2.95.x, collect2 would create an import file
1.8440 - # for dependence libraries. The import file would start with
1.8441 - # the line `#! .'. This would cause the generated library to
1.8442 - # depend on `.', always an invalid library. This was fixed in
1.8443 - # development snapshots of GCC prior to 3.0.
1.8444 - case $host_os in
1.8445 - aix4 | aix4.[01] | aix4.[01].*)
1.8446 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.8447 - echo ' yes '
1.8448 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.8449 - :
1.8450 - else
1.8451 - can_build_shared=no
1.8452 - fi
1.8453 - ;;
1.8454 - esac
1.8455 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.8456 - # soname into executable. Probably we can add versioning support to
1.8457 - # collect2, so additional links can be useful in future.
1.8458 - if test "$aix_use_runtimelinking" = yes; then
1.8459 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.8460 - # instead of lib<name>.a to let people know that these are not
1.8461 - # typical AIX shared libraries.
1.8462 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8463 - else
1.8464 - # We preserve .a as extension for shared libraries through AIX4.2
1.8465 - # and later when we are not doing run time linking.
1.8466 - library_names_spec='${libname}${release}.a $libname.a'
1.8467 - soname_spec='${libname}${release}${shared_ext}$major'
1.8468 - fi
1.8469 - shlibpath_var=LIBPATH
1.8470 - fi
1.8471 - ;;
1.8472 -
1.8473 -amigaos*)
1.8474 - library_names_spec='$libname.ixlibrary $libname.a'
1.8475 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.8476 - 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.8477 - ;;
1.8478 -
1.8479 -beos*)
1.8480 - library_names_spec='${libname}${shared_ext}'
1.8481 - dynamic_linker="$host_os ld.so"
1.8482 - shlibpath_var=LIBRARY_PATH
1.8483 - ;;
1.8484 -
1.8485 -bsdi4*)
1.8486 - version_type=linux
1.8487 - need_version=no
1.8488 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8489 - soname_spec='${libname}${release}${shared_ext}$major'
1.8490 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.8491 - shlibpath_var=LD_LIBRARY_PATH
1.8492 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.8493 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.8494 - # the default ld.so.conf also contains /usr/contrib/lib and
1.8495 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.8496 - # libtool to hard-code these into programs
1.8497 - ;;
1.8498 -
1.8499 -cygwin* | mingw* | pw32*)
1.8500 - version_type=windows
1.8501 - shrext_cmds=".dll"
1.8502 - need_version=no
1.8503 - need_lib_prefix=no
1.8504 -
1.8505 - case $GCC,$host_os in
1.8506 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.8507 - library_names_spec='$libname.dll.a'
1.8508 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.8509 - postinstall_cmds='base_file=`basename \${file}`~
1.8510 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.8511 - dldir=$destdir/`dirname \$dlpath`~
1.8512 - test -d \$dldir || mkdir -p \$dldir~
1.8513 - $install_prog $dir/$dlname \$dldir/$dlname'
1.8514 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.8515 - dlpath=$dir/\$dldll~
1.8516 - $rm \$dlpath'
1.8517 - shlibpath_overrides_runpath=yes
1.8518 -
1.8519 - case $host_os in
1.8520 - cygwin*)
1.8521 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.8522 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.8523 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.8524 - ;;
1.8525 - mingw*)
1.8526 - # MinGW DLLs use traditional 'lib' prefix
1.8527 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.8528 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.8529 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.8530 - # It is most probably a Windows format PATH printed by
1.8531 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.8532 - # path with ; separators, and with drive letters. We can handle the
1.8533 - # drive letters (cygwin fileutils understands them), so leave them,
1.8534 - # especially as we might pass files found there to a mingw objdump,
1.8535 - # which wouldn't understand a cygwinified path. Ahh.
1.8536 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.8537 - else
1.8538 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.8539 - fi
1.8540 - ;;
1.8541 - pw32*)
1.8542 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.8543 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.8544 - ;;
1.8545 - esac
1.8546 - ;;
1.8547 -
1.8548 - *)
1.8549 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.8550 - ;;
1.8551 - esac
1.8552 - dynamic_linker='Win32 ld.exe'
1.8553 - # FIXME: first we should search . and the directory the executable is in
1.8554 - shlibpath_var=PATH
1.8555 - ;;
1.8556 -
1.8557 -darwin* | rhapsody*)
1.8558 - dynamic_linker="$host_os dyld"
1.8559 - version_type=darwin
1.8560 - need_lib_prefix=no
1.8561 - need_version=no
1.8562 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.8563 - soname_spec='${libname}${release}${major}$shared_ext'
1.8564 - shlibpath_overrides_runpath=yes
1.8565 - shlibpath_var=DYLD_LIBRARY_PATH
1.8566 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.8567 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.8568 - if test "$GCC" = yes; then
1.8569 - 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.8570 - else
1.8571 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.8572 - fi
1.8573 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.8574 - ;;
1.8575 -
1.8576 -dgux*)
1.8577 - version_type=linux
1.8578 - need_lib_prefix=no
1.8579 - need_version=no
1.8580 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.8581 - soname_spec='${libname}${release}${shared_ext}$major'
1.8582 - shlibpath_var=LD_LIBRARY_PATH
1.8583 - ;;
1.8584 -
1.8585 -freebsd1*)
1.8586 - dynamic_linker=no
1.8587 - ;;
1.8588 -
1.8589 -kfreebsd*-gnu)
1.8590 - version_type=linux
1.8591 - need_lib_prefix=no
1.8592 - need_version=no
1.8593 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8594 - soname_spec='${libname}${release}${shared_ext}$major'
1.8595 - shlibpath_var=LD_LIBRARY_PATH
1.8596 - shlibpath_overrides_runpath=no
1.8597 - hardcode_into_libs=yes
1.8598 - dynamic_linker='GNU ld.so'
1.8599 - ;;
1.8600 -
1.8601 -freebsd*)
1.8602 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.8603 - version_type=freebsd-$objformat
1.8604 - case $version_type in
1.8605 - freebsd-elf*)
1.8606 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.8607 - need_version=no
1.8608 - need_lib_prefix=no
1.8609 - ;;
1.8610 - freebsd-*)
1.8611 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.8612 - need_version=yes
1.8613 - ;;
1.8614 - esac
1.8615 - shlibpath_var=LD_LIBRARY_PATH
1.8616 - case $host_os in
1.8617 - freebsd2*)
1.8618 - shlibpath_overrides_runpath=yes
1.8619 - ;;
1.8620 - freebsd3.01* | freebsdelf3.01*)
1.8621 - shlibpath_overrides_runpath=yes
1.8622 - hardcode_into_libs=yes
1.8623 - ;;
1.8624 - *) # from 3.2 on
1.8625 - shlibpath_overrides_runpath=no
1.8626 - hardcode_into_libs=yes
1.8627 - ;;
1.8628 - esac
1.8629 - ;;
1.8630 -
1.8631 -gnu*)
1.8632 - version_type=linux
1.8633 - need_lib_prefix=no
1.8634 - need_version=no
1.8635 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.8636 - soname_spec='${libname}${release}${shared_ext}$major'
1.8637 - shlibpath_var=LD_LIBRARY_PATH
1.8638 - hardcode_into_libs=yes
1.8639 - ;;
1.8640 -
1.8641 -hpux9* | hpux10* | hpux11*)
1.8642 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.8643 - # link against other versions.
1.8644 - version_type=sunos
1.8645 - need_lib_prefix=no
1.8646 - need_version=no
1.8647 - case "$host_cpu" in
1.8648 - ia64*)
1.8649 - shrext_cmds='.so'
1.8650 - hardcode_into_libs=yes
1.8651 - dynamic_linker="$host_os dld.so"
1.8652 - shlibpath_var=LD_LIBRARY_PATH
1.8653 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.8654 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8655 - soname_spec='${libname}${release}${shared_ext}$major'
1.8656 - if test "X$HPUX_IA64_MODE" = X32; then
1.8657 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.8658 - else
1.8659 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.8660 - fi
1.8661 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.8662 - ;;
1.8663 - hppa*64*)
1.8664 - shrext_cmds='.sl'
1.8665 - hardcode_into_libs=yes
1.8666 - dynamic_linker="$host_os dld.sl"
1.8667 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.8668 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.8669 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8670 - soname_spec='${libname}${release}${shared_ext}$major'
1.8671 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.8672 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.8673 - ;;
1.8674 - *)
1.8675 - shrext_cmds='.sl'
1.8676 - dynamic_linker="$host_os dld.sl"
1.8677 - shlibpath_var=SHLIB_PATH
1.8678 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.8679 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8680 - soname_spec='${libname}${release}${shared_ext}$major'
1.8681 - ;;
1.8682 - esac
1.8683 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.8684 - postinstall_cmds='chmod 555 $lib'
1.8685 - ;;
1.8686 -
1.8687 -irix5* | irix6* | nonstopux*)
1.8688 - case $host_os in
1.8689 - nonstopux*) version_type=nonstopux ;;
1.8690 - *)
1.8691 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.8692 - version_type=linux
1.8693 - else
1.8694 - version_type=irix
1.8695 - fi ;;
1.8696 - esac
1.8697 - need_lib_prefix=no
1.8698 - need_version=no
1.8699 - soname_spec='${libname}${release}${shared_ext}$major'
1.8700 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.8701 - case $host_os in
1.8702 - irix5* | nonstopux*)
1.8703 - libsuff= shlibsuff=
1.8704 - ;;
1.8705 - *)
1.8706 - case $LD in # libtool.m4 will add one of these switches to LD
1.8707 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.8708 - libsuff= shlibsuff= libmagic=32-bit;;
1.8709 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.8710 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.8711 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.8712 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.8713 - *) libsuff= shlibsuff= libmagic=never-match;;
1.8714 - esac
1.8715 - ;;
1.8716 - esac
1.8717 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.8718 - shlibpath_overrides_runpath=no
1.8719 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.8720 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.8721 - hardcode_into_libs=yes
1.8722 - ;;
1.8723 -
1.8724 -# No shared lib support for Linux oldld, aout, or coff.
1.8725 -linux*oldld* | linux*aout* | linux*coff*)
1.8726 - dynamic_linker=no
1.8727 - ;;
1.8728 -
1.8729 -# This must be Linux ELF.
1.8730 -linux*)
1.8731 - version_type=linux
1.8732 - need_lib_prefix=no
1.8733 - need_version=no
1.8734 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8735 - soname_spec='${libname}${release}${shared_ext}$major'
1.8736 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.8737 - shlibpath_var=LD_LIBRARY_PATH
1.8738 - shlibpath_overrides_runpath=no
1.8739 - # This implies no fast_install, which is unacceptable.
1.8740 - # Some rework will be needed to allow for fast_install
1.8741 - # before this can be enabled.
1.8742 - hardcode_into_libs=yes
1.8743 -
1.8744 - # Append ld.so.conf contents to the search path
1.8745 - if test -f /etc/ld.so.conf; then
1.8746 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.8747 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.8748 - fi
1.8749 -
1.8750 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.8751 - # powerpc, because MkLinux only supported shared libraries with the
1.8752 - # GNU dynamic linker. Since this was broken with cross compilers,
1.8753 - # most powerpc-linux boxes support dynamic linking these days and
1.8754 - # people can always --disable-shared, the test was removed, and we
1.8755 - # assume the GNU/Linux dynamic linker is in use.
1.8756 - dynamic_linker='GNU/Linux ld.so'
1.8757 - ;;
1.8758 -
1.8759 -netbsdelf*-gnu)
1.8760 - version_type=linux
1.8761 - need_lib_prefix=no
1.8762 - need_version=no
1.8763 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8764 - soname_spec='${libname}${release}${shared_ext}$major'
1.8765 - shlibpath_var=LD_LIBRARY_PATH
1.8766 - shlibpath_overrides_runpath=no
1.8767 - hardcode_into_libs=yes
1.8768 - dynamic_linker='NetBSD ld.elf_so'
1.8769 - ;;
1.8770 -
1.8771 -knetbsd*-gnu)
1.8772 - version_type=linux
1.8773 - need_lib_prefix=no
1.8774 - need_version=no
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 - shlibpath_var=LD_LIBRARY_PATH
1.8778 - shlibpath_overrides_runpath=no
1.8779 - hardcode_into_libs=yes
1.8780 - dynamic_linker='GNU ld.so'
1.8781 - ;;
1.8782 -
1.8783 -netbsd*)
1.8784 - version_type=sunos
1.8785 - need_lib_prefix=no
1.8786 - need_version=no
1.8787 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.8788 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8789 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.8790 - dynamic_linker='NetBSD (a.out) ld.so'
1.8791 - else
1.8792 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8793 - soname_spec='${libname}${release}${shared_ext}$major'
1.8794 - dynamic_linker='NetBSD ld.elf_so'
1.8795 - fi
1.8796 - shlibpath_var=LD_LIBRARY_PATH
1.8797 - shlibpath_overrides_runpath=yes
1.8798 - hardcode_into_libs=yes
1.8799 - ;;
1.8800 -
1.8801 -newsos6)
1.8802 - version_type=linux
1.8803 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8804 - shlibpath_var=LD_LIBRARY_PATH
1.8805 - shlibpath_overrides_runpath=yes
1.8806 - ;;
1.8807 -
1.8808 -nto-qnx*)
1.8809 - version_type=linux
1.8810 - need_lib_prefix=no
1.8811 - need_version=no
1.8812 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8813 - soname_spec='${libname}${release}${shared_ext}$major'
1.8814 - shlibpath_var=LD_LIBRARY_PATH
1.8815 - shlibpath_overrides_runpath=yes
1.8816 - ;;
1.8817 -
1.8818 -openbsd*)
1.8819 - version_type=sunos
1.8820 - need_lib_prefix=no
1.8821 - need_version=yes
1.8822 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8823 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.8824 - shlibpath_var=LD_LIBRARY_PATH
1.8825 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.8826 - case $host_os in
1.8827 - openbsd2.[89] | openbsd2.[89].*)
1.8828 - shlibpath_overrides_runpath=no
1.8829 - ;;
1.8830 - *)
1.8831 - shlibpath_overrides_runpath=yes
1.8832 - ;;
1.8833 - esac
1.8834 - else
1.8835 - shlibpath_overrides_runpath=yes
1.8836 - fi
1.8837 - ;;
1.8838 -
1.8839 -os2*)
1.8840 - libname_spec='$name'
1.8841 - shrext_cmds=".dll"
1.8842 - need_lib_prefix=no
1.8843 - library_names_spec='$libname${shared_ext} $libname.a'
1.8844 - dynamic_linker='OS/2 ld.exe'
1.8845 - shlibpath_var=LIBPATH
1.8846 - ;;
1.8847 -
1.8848 -osf3* | osf4* | osf5*)
1.8849 - version_type=osf
1.8850 - need_lib_prefix=no
1.8851 - need_version=no
1.8852 - soname_spec='${libname}${release}${shared_ext}$major'
1.8853 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8854 - shlibpath_var=LD_LIBRARY_PATH
1.8855 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.8856 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.8857 - ;;
1.8858 -
1.8859 -sco3.2v5*)
1.8860 - version_type=osf
1.8861 - soname_spec='${libname}${release}${shared_ext}$major'
1.8862 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8863 - shlibpath_var=LD_LIBRARY_PATH
1.8864 - ;;
1.8865 -
1.8866 -solaris*)
1.8867 - version_type=linux
1.8868 - need_lib_prefix=no
1.8869 - need_version=no
1.8870 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8871 - soname_spec='${libname}${release}${shared_ext}$major'
1.8872 - shlibpath_var=LD_LIBRARY_PATH
1.8873 - shlibpath_overrides_runpath=yes
1.8874 - hardcode_into_libs=yes
1.8875 - # ldd complains unless libraries are executable
1.8876 - postinstall_cmds='chmod +x $lib'
1.8877 - ;;
1.8878 -
1.8879 -sunos4*)
1.8880 - version_type=sunos
1.8881 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8882 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.8883 - shlibpath_var=LD_LIBRARY_PATH
1.8884 - shlibpath_overrides_runpath=yes
1.8885 - if test "$with_gnu_ld" = yes; then
1.8886 - need_lib_prefix=no
1.8887 - fi
1.8888 - need_version=yes
1.8889 - ;;
1.8890 -
1.8891 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.8892 - version_type=linux
1.8893 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8894 - soname_spec='${libname}${release}${shared_ext}$major'
1.8895 - shlibpath_var=LD_LIBRARY_PATH
1.8896 - case $host_vendor in
1.8897 - sni)
1.8898 - shlibpath_overrides_runpath=no
1.8899 - need_lib_prefix=no
1.8900 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.8901 - runpath_var=LD_RUN_PATH
1.8902 - ;;
1.8903 - siemens)
1.8904 - need_lib_prefix=no
1.8905 - ;;
1.8906 - motorola)
1.8907 - need_lib_prefix=no
1.8908 - need_version=no
1.8909 - shlibpath_overrides_runpath=no
1.8910 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.8911 - ;;
1.8912 - esac
1.8913 - ;;
1.8914 -
1.8915 -sysv4*MP*)
1.8916 - if test -d /usr/nec ;then
1.8917 - version_type=linux
1.8918 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.8919 - soname_spec='$libname${shared_ext}.$major'
1.8920 - shlibpath_var=LD_LIBRARY_PATH
1.8921 - fi
1.8922 - ;;
1.8923 -
1.8924 -uts4*)
1.8925 - version_type=linux
1.8926 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8927 - soname_spec='${libname}${release}${shared_ext}$major'
1.8928 - shlibpath_var=LD_LIBRARY_PATH
1.8929 - ;;
1.8930 -
1.8931 -*)
1.8932 - dynamic_linker=no
1.8933 - ;;
1.8934 -esac
1.8935 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.8936 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.8937 -test "$dynamic_linker" = no && can_build_shared=no
1.8938 -
1.8939 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.8940 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.8941 -hardcode_action=
1.8942 -if test -n "$hardcode_libdir_flag_spec" || \
1.8943 - test -n "$runpath_var " || \
1.8944 - test "X$hardcode_automatic"="Xyes" ; then
1.8945 -
1.8946 - # We can hardcode non-existant directories.
1.8947 - if test "$hardcode_direct" != no &&
1.8948 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.8949 - # have to relink, otherwise we might link with an installed library
1.8950 - # when we should be linking with a yet-to-be-installed one
1.8951 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
1.8952 - test "$hardcode_minus_L" != no; then
1.8953 - # Linking always hardcodes the temporary library directory.
1.8954 - hardcode_action=relink
1.8955 - else
1.8956 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.8957 - hardcode_action=immediate
1.8958 - fi
1.8959 -else
1.8960 - # We cannot hardcode anything, or else we can only hardcode existing
1.8961 - # directories.
1.8962 - hardcode_action=unsupported
1.8963 -fi
1.8964 -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
1.8965 -echo "${ECHO_T}$hardcode_action" >&6; }
1.8966 -
1.8967 -if test "$hardcode_action" = relink; then
1.8968 - # Fast installation is not supported
1.8969 - enable_fast_install=no
1.8970 -elif test "$shlibpath_overrides_runpath" = yes ||
1.8971 - test "$enable_shared" = no; then
1.8972 - # Fast installation is not necessary
1.8973 - enable_fast_install=needless
1.8974 -fi
1.8975 -
1.8976 -striplib=
1.8977 -old_striplib=
1.8978 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.8979 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.8980 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.8981 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.8982 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.8983 - { echo "$as_me:$LINENO: result: yes" >&5
1.8984 -echo "${ECHO_T}yes" >&6; }
1.8985 -else
1.8986 -# FIXME - insert some real tests, host_os isn't really good enough
1.8987 - case $host_os in
1.8988 - darwin*)
1.8989 - if test -n "$STRIP" ; then
1.8990 - striplib="$STRIP -x"
1.8991 - { echo "$as_me:$LINENO: result: yes" >&5
1.8992 -echo "${ECHO_T}yes" >&6; }
1.8993 - else
1.8994 - { echo "$as_me:$LINENO: result: no" >&5
1.8995 -echo "${ECHO_T}no" >&6; }
1.8996 -fi
1.8997 - ;;
1.8998 - *)
1.8999 - { echo "$as_me:$LINENO: result: no" >&5
1.9000 -echo "${ECHO_T}no" >&6; }
1.9001 - ;;
1.9002 - esac
1.9003 -fi
1.9004 -
1.9005 -if test "x$enable_dlopen" != xyes; then
1.9006 - enable_dlopen=unknown
1.9007 - enable_dlopen_self=unknown
1.9008 - enable_dlopen_self_static=unknown
1.9009 -else
1.9010 - lt_cv_dlopen=no
1.9011 - lt_cv_dlopen_libs=
1.9012 -
1.9013 - case $host_os in
1.9014 - beos*)
1.9015 - lt_cv_dlopen="load_add_on"
1.9016 - lt_cv_dlopen_libs=
1.9017 - lt_cv_dlopen_self=yes
1.9018 - ;;
1.9019 -
1.9020 - mingw* | pw32*)
1.9021 - lt_cv_dlopen="LoadLibrary"
1.9022 - lt_cv_dlopen_libs=
1.9023 - ;;
1.9024 -
1.9025 - cygwin*)
1.9026 - lt_cv_dlopen="dlopen"
1.9027 - lt_cv_dlopen_libs=
1.9028 - ;;
1.9029 -
1.9030 - darwin*)
1.9031 - # if libdl is installed we need to link against it
1.9032 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.9033 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.9034 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.9035 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9036 -else
1.9037 - ac_check_lib_save_LIBS=$LIBS
1.9038 -LIBS="-ldl $LIBS"
1.9039 -cat >conftest.$ac_ext <<_ACEOF
1.9040 -/* confdefs.h. */
1.9041 -_ACEOF
1.9042 -cat confdefs.h >>conftest.$ac_ext
1.9043 -cat >>conftest.$ac_ext <<_ACEOF
1.9044 -/* end confdefs.h. */
1.9045 -
1.9046 -/* Override any GCC internal prototype to avoid an error.
1.9047 - Use char because int might match the return type of a GCC
1.9048 - builtin and then its argument prototype would still apply. */
1.9049 -#ifdef __cplusplus
1.9050 -extern "C"
1.9051 -#endif
1.9052 -char dlopen ();
1.9053 -int
1.9054 -main ()
1.9055 -{
1.9056 -return dlopen ();
1.9057 - ;
1.9058 - return 0;
1.9059 -}
1.9060 -_ACEOF
1.9061 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9062 -if { (ac_try="$ac_link"
1.9063 -case "(($ac_try" in
1.9064 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9065 - *) ac_try_echo=$ac_try;;
1.9066 -esac
1.9067 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9068 - (eval "$ac_link") 2>conftest.er1
1.9069 - ac_status=$?
1.9070 - grep -v '^ *+' conftest.er1 >conftest.err
1.9071 - rm -f conftest.er1
1.9072 - cat conftest.err >&5
1.9073 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9074 - (exit $ac_status); } && {
1.9075 - test -z "$ac_c_werror_flag" ||
1.9076 - test ! -s conftest.err
1.9077 - } && test -s conftest$ac_exeext &&
1.9078 - $as_test_x conftest$ac_exeext; then
1.9079 - ac_cv_lib_dl_dlopen=yes
1.9080 -else
1.9081 - echo "$as_me: failed program was:" >&5
1.9082 -sed 's/^/| /' conftest.$ac_ext >&5
1.9083 -
1.9084 - ac_cv_lib_dl_dlopen=no
1.9085 -fi
1.9086 -
1.9087 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9088 - conftest$ac_exeext conftest.$ac_ext
1.9089 -LIBS=$ac_check_lib_save_LIBS
1.9090 -fi
1.9091 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.9092 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.9093 -if test $ac_cv_lib_dl_dlopen = yes; then
1.9094 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.9095 -else
1.9096 -
1.9097 - lt_cv_dlopen="dyld"
1.9098 - lt_cv_dlopen_libs=
1.9099 - lt_cv_dlopen_self=yes
1.9100 -
1.9101 -fi
1.9102 -
1.9103 - ;;
1.9104 -
1.9105 - *)
1.9106 - { echo "$as_me:$LINENO: checking for shl_load" >&5
1.9107 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
1.9108 -if test "${ac_cv_func_shl_load+set}" = set; then
1.9109 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9110 -else
1.9111 - cat >conftest.$ac_ext <<_ACEOF
1.9112 -/* confdefs.h. */
1.9113 -_ACEOF
1.9114 -cat confdefs.h >>conftest.$ac_ext
1.9115 -cat >>conftest.$ac_ext <<_ACEOF
1.9116 -/* end confdefs.h. */
1.9117 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.9118 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.9119 -#define shl_load innocuous_shl_load
1.9120 -
1.9121 -/* System header to define __stub macros and hopefully few prototypes,
1.9122 - which can conflict with char shl_load (); below.
1.9123 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.9124 - <limits.h> exists even on freestanding compilers. */
1.9125 -
1.9126 -#ifdef __STDC__
1.9127 -# include <limits.h>
1.9128 -#else
1.9129 -# include <assert.h>
1.9130 -#endif
1.9131 -
1.9132 -#undef shl_load
1.9133 -
1.9134 -/* Override any GCC internal prototype to avoid an error.
1.9135 - Use char because int might match the return type of a GCC
1.9136 - builtin and then its argument prototype would still apply. */
1.9137 -#ifdef __cplusplus
1.9138 -extern "C"
1.9139 -#endif
1.9140 -char shl_load ();
1.9141 -/* The GNU C library defines this for functions which it implements
1.9142 - to always fail with ENOSYS. Some functions are actually named
1.9143 - something starting with __ and the normal name is an alias. */
1.9144 -#if defined __stub_shl_load || defined __stub___shl_load
1.9145 -choke me
1.9146 -#endif
1.9147 -
1.9148 -int
1.9149 -main ()
1.9150 -{
1.9151 -return shl_load ();
1.9152 - ;
1.9153 - return 0;
1.9154 -}
1.9155 -_ACEOF
1.9156 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9157 -if { (ac_try="$ac_link"
1.9158 -case "(($ac_try" in
1.9159 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9160 - *) ac_try_echo=$ac_try;;
1.9161 -esac
1.9162 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9163 - (eval "$ac_link") 2>conftest.er1
1.9164 - ac_status=$?
1.9165 - grep -v '^ *+' conftest.er1 >conftest.err
1.9166 - rm -f conftest.er1
1.9167 - cat conftest.err >&5
1.9168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9169 - (exit $ac_status); } && {
1.9170 - test -z "$ac_c_werror_flag" ||
1.9171 - test ! -s conftest.err
1.9172 - } && test -s conftest$ac_exeext &&
1.9173 - $as_test_x conftest$ac_exeext; then
1.9174 - ac_cv_func_shl_load=yes
1.9175 -else
1.9176 - echo "$as_me: failed program was:" >&5
1.9177 -sed 's/^/| /' conftest.$ac_ext >&5
1.9178 -
1.9179 - ac_cv_func_shl_load=no
1.9180 -fi
1.9181 -
1.9182 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9183 - conftest$ac_exeext conftest.$ac_ext
1.9184 -fi
1.9185 -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.9186 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
1.9187 -if test $ac_cv_func_shl_load = yes; then
1.9188 - lt_cv_dlopen="shl_load"
1.9189 -else
1.9190 - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.9191 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
1.9192 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.9193 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9194 -else
1.9195 - ac_check_lib_save_LIBS=$LIBS
1.9196 -LIBS="-ldld $LIBS"
1.9197 -cat >conftest.$ac_ext <<_ACEOF
1.9198 -/* confdefs.h. */
1.9199 -_ACEOF
1.9200 -cat confdefs.h >>conftest.$ac_ext
1.9201 -cat >>conftest.$ac_ext <<_ACEOF
1.9202 -/* end confdefs.h. */
1.9203 -
1.9204 -/* Override any GCC internal prototype to avoid an error.
1.9205 - Use char because int might match the return type of a GCC
1.9206 - builtin and then its argument prototype would still apply. */
1.9207 -#ifdef __cplusplus
1.9208 -extern "C"
1.9209 -#endif
1.9210 -char shl_load ();
1.9211 -int
1.9212 -main ()
1.9213 -{
1.9214 -return shl_load ();
1.9215 - ;
1.9216 - return 0;
1.9217 -}
1.9218 -_ACEOF
1.9219 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9220 -if { (ac_try="$ac_link"
1.9221 -case "(($ac_try" in
1.9222 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9223 - *) ac_try_echo=$ac_try;;
1.9224 -esac
1.9225 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9226 - (eval "$ac_link") 2>conftest.er1
1.9227 - ac_status=$?
1.9228 - grep -v '^ *+' conftest.er1 >conftest.err
1.9229 - rm -f conftest.er1
1.9230 - cat conftest.err >&5
1.9231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9232 - (exit $ac_status); } && {
1.9233 - test -z "$ac_c_werror_flag" ||
1.9234 - test ! -s conftest.err
1.9235 - } && test -s conftest$ac_exeext &&
1.9236 - $as_test_x conftest$ac_exeext; then
1.9237 - ac_cv_lib_dld_shl_load=yes
1.9238 -else
1.9239 - echo "$as_me: failed program was:" >&5
1.9240 -sed 's/^/| /' conftest.$ac_ext >&5
1.9241 -
1.9242 - ac_cv_lib_dld_shl_load=no
1.9243 -fi
1.9244 -
1.9245 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9246 - conftest$ac_exeext conftest.$ac_ext
1.9247 -LIBS=$ac_check_lib_save_LIBS
1.9248 -fi
1.9249 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.9250 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
1.9251 -if test $ac_cv_lib_dld_shl_load = yes; then
1.9252 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.9253 -else
1.9254 - { echo "$as_me:$LINENO: checking for dlopen" >&5
1.9255 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
1.9256 -if test "${ac_cv_func_dlopen+set}" = set; then
1.9257 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9258 -else
1.9259 - cat >conftest.$ac_ext <<_ACEOF
1.9260 -/* confdefs.h. */
1.9261 -_ACEOF
1.9262 -cat confdefs.h >>conftest.$ac_ext
1.9263 -cat >>conftest.$ac_ext <<_ACEOF
1.9264 -/* end confdefs.h. */
1.9265 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.9266 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.9267 -#define dlopen innocuous_dlopen
1.9268 -
1.9269 -/* System header to define __stub macros and hopefully few prototypes,
1.9270 - which can conflict with char dlopen (); below.
1.9271 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.9272 - <limits.h> exists even on freestanding compilers. */
1.9273 -
1.9274 -#ifdef __STDC__
1.9275 -# include <limits.h>
1.9276 -#else
1.9277 -# include <assert.h>
1.9278 -#endif
1.9279 -
1.9280 -#undef dlopen
1.9281 -
1.9282 -/* Override any GCC internal prototype to avoid an error.
1.9283 - Use char because int might match the return type of a GCC
1.9284 - builtin and then its argument prototype would still apply. */
1.9285 -#ifdef __cplusplus
1.9286 -extern "C"
1.9287 -#endif
1.9288 -char dlopen ();
1.9289 -/* The GNU C library defines this for functions which it implements
1.9290 - to always fail with ENOSYS. Some functions are actually named
1.9291 - something starting with __ and the normal name is an alias. */
1.9292 -#if defined __stub_dlopen || defined __stub___dlopen
1.9293 -choke me
1.9294 -#endif
1.9295 -
1.9296 -int
1.9297 -main ()
1.9298 -{
1.9299 -return dlopen ();
1.9300 - ;
1.9301 - return 0;
1.9302 -}
1.9303 -_ACEOF
1.9304 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9305 -if { (ac_try="$ac_link"
1.9306 -case "(($ac_try" in
1.9307 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9308 - *) ac_try_echo=$ac_try;;
1.9309 -esac
1.9310 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9311 - (eval "$ac_link") 2>conftest.er1
1.9312 - ac_status=$?
1.9313 - grep -v '^ *+' conftest.er1 >conftest.err
1.9314 - rm -f conftest.er1
1.9315 - cat conftest.err >&5
1.9316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9317 - (exit $ac_status); } && {
1.9318 - test -z "$ac_c_werror_flag" ||
1.9319 - test ! -s conftest.err
1.9320 - } && test -s conftest$ac_exeext &&
1.9321 - $as_test_x conftest$ac_exeext; then
1.9322 - ac_cv_func_dlopen=yes
1.9323 -else
1.9324 - echo "$as_me: failed program was:" >&5
1.9325 -sed 's/^/| /' conftest.$ac_ext >&5
1.9326 -
1.9327 - ac_cv_func_dlopen=no
1.9328 -fi
1.9329 -
1.9330 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9331 - conftest$ac_exeext conftest.$ac_ext
1.9332 -fi
1.9333 -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.9334 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
1.9335 -if test $ac_cv_func_dlopen = yes; then
1.9336 - lt_cv_dlopen="dlopen"
1.9337 -else
1.9338 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.9339 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.9340 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.9341 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9342 -else
1.9343 - ac_check_lib_save_LIBS=$LIBS
1.9344 -LIBS="-ldl $LIBS"
1.9345 -cat >conftest.$ac_ext <<_ACEOF
1.9346 -/* confdefs.h. */
1.9347 -_ACEOF
1.9348 -cat confdefs.h >>conftest.$ac_ext
1.9349 -cat >>conftest.$ac_ext <<_ACEOF
1.9350 -/* end confdefs.h. */
1.9351 -
1.9352 -/* Override any GCC internal prototype to avoid an error.
1.9353 - Use char because int might match the return type of a GCC
1.9354 - builtin and then its argument prototype would still apply. */
1.9355 -#ifdef __cplusplus
1.9356 -extern "C"
1.9357 -#endif
1.9358 -char dlopen ();
1.9359 -int
1.9360 -main ()
1.9361 -{
1.9362 -return dlopen ();
1.9363 - ;
1.9364 - return 0;
1.9365 -}
1.9366 -_ACEOF
1.9367 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9368 -if { (ac_try="$ac_link"
1.9369 -case "(($ac_try" in
1.9370 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9371 - *) ac_try_echo=$ac_try;;
1.9372 -esac
1.9373 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9374 - (eval "$ac_link") 2>conftest.er1
1.9375 - ac_status=$?
1.9376 - grep -v '^ *+' conftest.er1 >conftest.err
1.9377 - rm -f conftest.er1
1.9378 - cat conftest.err >&5
1.9379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9380 - (exit $ac_status); } && {
1.9381 - test -z "$ac_c_werror_flag" ||
1.9382 - test ! -s conftest.err
1.9383 - } && test -s conftest$ac_exeext &&
1.9384 - $as_test_x conftest$ac_exeext; then
1.9385 - ac_cv_lib_dl_dlopen=yes
1.9386 -else
1.9387 - echo "$as_me: failed program was:" >&5
1.9388 -sed 's/^/| /' conftest.$ac_ext >&5
1.9389 -
1.9390 - ac_cv_lib_dl_dlopen=no
1.9391 -fi
1.9392 -
1.9393 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9394 - conftest$ac_exeext conftest.$ac_ext
1.9395 -LIBS=$ac_check_lib_save_LIBS
1.9396 -fi
1.9397 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.9398 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.9399 -if test $ac_cv_lib_dl_dlopen = yes; then
1.9400 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.9401 -else
1.9402 - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.9403 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
1.9404 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.9405 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9406 -else
1.9407 - ac_check_lib_save_LIBS=$LIBS
1.9408 -LIBS="-lsvld $LIBS"
1.9409 -cat >conftest.$ac_ext <<_ACEOF
1.9410 -/* confdefs.h. */
1.9411 -_ACEOF
1.9412 -cat confdefs.h >>conftest.$ac_ext
1.9413 -cat >>conftest.$ac_ext <<_ACEOF
1.9414 -/* end confdefs.h. */
1.9415 -
1.9416 -/* Override any GCC internal prototype to avoid an error.
1.9417 - Use char because int might match the return type of a GCC
1.9418 - builtin and then its argument prototype would still apply. */
1.9419 -#ifdef __cplusplus
1.9420 -extern "C"
1.9421 -#endif
1.9422 -char dlopen ();
1.9423 -int
1.9424 -main ()
1.9425 -{
1.9426 -return dlopen ();
1.9427 - ;
1.9428 - return 0;
1.9429 -}
1.9430 -_ACEOF
1.9431 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9432 -if { (ac_try="$ac_link"
1.9433 -case "(($ac_try" in
1.9434 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9435 - *) ac_try_echo=$ac_try;;
1.9436 -esac
1.9437 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9438 - (eval "$ac_link") 2>conftest.er1
1.9439 - ac_status=$?
1.9440 - grep -v '^ *+' conftest.er1 >conftest.err
1.9441 - rm -f conftest.er1
1.9442 - cat conftest.err >&5
1.9443 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9444 - (exit $ac_status); } && {
1.9445 - test -z "$ac_c_werror_flag" ||
1.9446 - test ! -s conftest.err
1.9447 - } && test -s conftest$ac_exeext &&
1.9448 - $as_test_x conftest$ac_exeext; then
1.9449 - ac_cv_lib_svld_dlopen=yes
1.9450 -else
1.9451 - echo "$as_me: failed program was:" >&5
1.9452 -sed 's/^/| /' conftest.$ac_ext >&5
1.9453 -
1.9454 - ac_cv_lib_svld_dlopen=no
1.9455 -fi
1.9456 -
1.9457 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9458 - conftest$ac_exeext conftest.$ac_ext
1.9459 -LIBS=$ac_check_lib_save_LIBS
1.9460 -fi
1.9461 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.9462 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
1.9463 -if test $ac_cv_lib_svld_dlopen = yes; then
1.9464 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.9465 -else
1.9466 - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.9467 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
1.9468 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.9469 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9470 -else
1.9471 - ac_check_lib_save_LIBS=$LIBS
1.9472 -LIBS="-ldld $LIBS"
1.9473 -cat >conftest.$ac_ext <<_ACEOF
1.9474 -/* confdefs.h. */
1.9475 -_ACEOF
1.9476 -cat confdefs.h >>conftest.$ac_ext
1.9477 -cat >>conftest.$ac_ext <<_ACEOF
1.9478 -/* end confdefs.h. */
1.9479 -
1.9480 -/* Override any GCC internal prototype to avoid an error.
1.9481 - Use char because int might match the return type of a GCC
1.9482 - builtin and then its argument prototype would still apply. */
1.9483 -#ifdef __cplusplus
1.9484 -extern "C"
1.9485 -#endif
1.9486 -char dld_link ();
1.9487 -int
1.9488 -main ()
1.9489 -{
1.9490 -return dld_link ();
1.9491 - ;
1.9492 - return 0;
1.9493 -}
1.9494 -_ACEOF
1.9495 -rm -f conftest.$ac_objext conftest$ac_exeext
1.9496 -if { (ac_try="$ac_link"
1.9497 -case "(($ac_try" in
1.9498 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9499 - *) ac_try_echo=$ac_try;;
1.9500 -esac
1.9501 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9502 - (eval "$ac_link") 2>conftest.er1
1.9503 - ac_status=$?
1.9504 - grep -v '^ *+' conftest.er1 >conftest.err
1.9505 - rm -f conftest.er1
1.9506 - cat conftest.err >&5
1.9507 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9508 - (exit $ac_status); } && {
1.9509 - test -z "$ac_c_werror_flag" ||
1.9510 - test ! -s conftest.err
1.9511 - } && test -s conftest$ac_exeext &&
1.9512 - $as_test_x conftest$ac_exeext; then
1.9513 - ac_cv_lib_dld_dld_link=yes
1.9514 -else
1.9515 - echo "$as_me: failed program was:" >&5
1.9516 -sed 's/^/| /' conftest.$ac_ext >&5
1.9517 -
1.9518 - ac_cv_lib_dld_dld_link=no
1.9519 -fi
1.9520 -
1.9521 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.9522 - conftest$ac_exeext conftest.$ac_ext
1.9523 -LIBS=$ac_check_lib_save_LIBS
1.9524 -fi
1.9525 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.9526 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
1.9527 -if test $ac_cv_lib_dld_dld_link = yes; then
1.9528 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.9529 -fi
1.9530 -
1.9531 -
1.9532 -fi
1.9533 -
1.9534 -
1.9535 -fi
1.9536 -
1.9537 -
1.9538 -fi
1.9539 -
1.9540 -
1.9541 -fi
1.9542 -
1.9543 -
1.9544 -fi
1.9545 -
1.9546 - ;;
1.9547 - esac
1.9548 -
1.9549 - if test "x$lt_cv_dlopen" != xno; then
1.9550 - enable_dlopen=yes
1.9551 - else
1.9552 - enable_dlopen=no
1.9553 - fi
1.9554 -
1.9555 - case $lt_cv_dlopen in
1.9556 - dlopen)
1.9557 - save_CPPFLAGS="$CPPFLAGS"
1.9558 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.9559 -
1.9560 - save_LDFLAGS="$LDFLAGS"
1.9561 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.9562 -
1.9563 - save_LIBS="$LIBS"
1.9564 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.9565 -
1.9566 - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.9567 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
1.9568 -if test "${lt_cv_dlopen_self+set}" = set; then
1.9569 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9570 -else
1.9571 - if test "$cross_compiling" = yes; then :
1.9572 - lt_cv_dlopen_self=cross
1.9573 -else
1.9574 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.9575 - lt_status=$lt_dlunknown
1.9576 - cat > conftest.$ac_ext <<EOF
1.9577 -#line __oline__ "configure"
1.9578 -#include "confdefs.h"
1.9579 -
1.9580 -#if HAVE_DLFCN_H
1.9581 -#include <dlfcn.h>
1.9582 -#endif
1.9583 -
1.9584 -#include <stdio.h>
1.9585 -
1.9586 -#ifdef RTLD_GLOBAL
1.9587 -# define LT_DLGLOBAL RTLD_GLOBAL
1.9588 -#else
1.9589 -# ifdef DL_GLOBAL
1.9590 -# define LT_DLGLOBAL DL_GLOBAL
1.9591 -# else
1.9592 -# define LT_DLGLOBAL 0
1.9593 -# endif
1.9594 -#endif
1.9595 -
1.9596 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.9597 - find out it does not work in some platform. */
1.9598 -#ifndef LT_DLLAZY_OR_NOW
1.9599 -# ifdef RTLD_LAZY
1.9600 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.9601 -# else
1.9602 -# ifdef DL_LAZY
1.9603 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.9604 -# else
1.9605 -# ifdef RTLD_NOW
1.9606 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.9607 -# else
1.9608 -# ifdef DL_NOW
1.9609 -# define LT_DLLAZY_OR_NOW DL_NOW
1.9610 -# else
1.9611 -# define LT_DLLAZY_OR_NOW 0
1.9612 -# endif
1.9613 -# endif
1.9614 -# endif
1.9615 -# endif
1.9616 -#endif
1.9617 -
1.9618 -#ifdef __cplusplus
1.9619 -extern "C" void exit (int);
1.9620 -#endif
1.9621 -
1.9622 -void fnord() { int i=42;}
1.9623 -int main ()
1.9624 -{
1.9625 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.9626 - int status = $lt_dlunknown;
1.9627 -
1.9628 - if (self)
1.9629 - {
1.9630 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.9631 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.9632 - /* dlclose (self); */
1.9633 - }
1.9634 -
1.9635 - exit (status);
1.9636 -}
1.9637 -EOF
1.9638 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.9639 - (eval $ac_link) 2>&5
1.9640 - ac_status=$?
1.9641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9642 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.9643 - (./conftest; exit; ) 2>/dev/null
1.9644 - lt_status=$?
1.9645 - case x$lt_status in
1.9646 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.9647 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.9648 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.9649 - esac
1.9650 - else :
1.9651 - # compilation failed
1.9652 - lt_cv_dlopen_self=no
1.9653 - fi
1.9654 -fi
1.9655 -rm -fr conftest*
1.9656 -
1.9657 -
1.9658 -fi
1.9659 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.9660 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
1.9661 -
1.9662 - if test "x$lt_cv_dlopen_self" = xyes; then
1.9663 - LDFLAGS="$LDFLAGS $link_static_flag"
1.9664 - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.9665 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
1.9666 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.9667 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9668 -else
1.9669 - if test "$cross_compiling" = yes; then :
1.9670 - lt_cv_dlopen_self_static=cross
1.9671 -else
1.9672 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.9673 - lt_status=$lt_dlunknown
1.9674 - cat > conftest.$ac_ext <<EOF
1.9675 -#line __oline__ "configure"
1.9676 -#include "confdefs.h"
1.9677 -
1.9678 -#if HAVE_DLFCN_H
1.9679 -#include <dlfcn.h>
1.9680 -#endif
1.9681 -
1.9682 -#include <stdio.h>
1.9683 -
1.9684 -#ifdef RTLD_GLOBAL
1.9685 -# define LT_DLGLOBAL RTLD_GLOBAL
1.9686 -#else
1.9687 -# ifdef DL_GLOBAL
1.9688 -# define LT_DLGLOBAL DL_GLOBAL
1.9689 -# else
1.9690 -# define LT_DLGLOBAL 0
1.9691 -# endif
1.9692 -#endif
1.9693 -
1.9694 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.9695 - find out it does not work in some platform. */
1.9696 -#ifndef LT_DLLAZY_OR_NOW
1.9697 -# ifdef RTLD_LAZY
1.9698 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.9699 -# else
1.9700 -# ifdef DL_LAZY
1.9701 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.9702 -# else
1.9703 -# ifdef RTLD_NOW
1.9704 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.9705 -# else
1.9706 -# ifdef DL_NOW
1.9707 -# define LT_DLLAZY_OR_NOW DL_NOW
1.9708 -# else
1.9709 -# define LT_DLLAZY_OR_NOW 0
1.9710 -# endif
1.9711 -# endif
1.9712 -# endif
1.9713 -# endif
1.9714 -#endif
1.9715 -
1.9716 -#ifdef __cplusplus
1.9717 -extern "C" void exit (int);
1.9718 -#endif
1.9719 -
1.9720 -void fnord() { int i=42;}
1.9721 -int main ()
1.9722 -{
1.9723 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.9724 - int status = $lt_dlunknown;
1.9725 -
1.9726 - if (self)
1.9727 - {
1.9728 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.9729 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.9730 - /* dlclose (self); */
1.9731 - }
1.9732 -
1.9733 - exit (status);
1.9734 -}
1.9735 -EOF
1.9736 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.9737 - (eval $ac_link) 2>&5
1.9738 - ac_status=$?
1.9739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9740 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.9741 - (./conftest; exit; ) 2>/dev/null
1.9742 - lt_status=$?
1.9743 - case x$lt_status in
1.9744 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.9745 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.9746 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.9747 - esac
1.9748 - else :
1.9749 - # compilation failed
1.9750 - lt_cv_dlopen_self_static=no
1.9751 - fi
1.9752 -fi
1.9753 -rm -fr conftest*
1.9754 -
1.9755 -
1.9756 -fi
1.9757 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.9758 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
1.9759 - fi
1.9760 -
1.9761 - CPPFLAGS="$save_CPPFLAGS"
1.9762 - LDFLAGS="$save_LDFLAGS"
1.9763 - LIBS="$save_LIBS"
1.9764 - ;;
1.9765 - esac
1.9766 -
1.9767 - case $lt_cv_dlopen_self in
1.9768 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.9769 - *) enable_dlopen_self=unknown ;;
1.9770 - esac
1.9771 -
1.9772 - case $lt_cv_dlopen_self_static in
1.9773 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.9774 - *) enable_dlopen_self_static=unknown ;;
1.9775 - esac
1.9776 -fi
1.9777 -
1.9778 -
1.9779 -# Report which librarie types wil actually be built
1.9780 -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
1.9781 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
1.9782 -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
1.9783 -echo "${ECHO_T}$can_build_shared" >&6; }
1.9784 -
1.9785 -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
1.9786 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
1.9787 -test "$can_build_shared" = "no" && enable_shared=no
1.9788 -
1.9789 -# On AIX, shared libraries and static libraries use the same namespace, and
1.9790 -# are all built from PIC.
1.9791 -case "$host_os" in
1.9792 -aix3*)
1.9793 - test "$enable_shared" = yes && enable_static=no
1.9794 - if test -n "$RANLIB"; then
1.9795 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
1.9796 - postinstall_cmds='$RANLIB $lib'
1.9797 - fi
1.9798 - ;;
1.9799 -
1.9800 -aix4* | aix5*)
1.9801 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1.9802 - test "$enable_shared" = yes && enable_static=no
1.9803 - fi
1.9804 - ;;
1.9805 - darwin* | rhapsody*)
1.9806 - if test "$GCC" = yes; then
1.9807 - archive_cmds_need_lc=no
1.9808 - case "$host_os" in
1.9809 - rhapsody* | darwin1.[012])
1.9810 - allow_undefined_flag='-undefined suppress'
1.9811 - ;;
1.9812 - *) # Darwin 1.3 on
1.9813 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.9814 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.9815 - else
1.9816 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.9817 - 10.[012])
1.9818 - allow_undefined_flag='-flat_namespace -undefined suppress'
1.9819 - ;;
1.9820 - 10.*)
1.9821 - allow_undefined_flag='-undefined dynamic_lookup'
1.9822 - ;;
1.9823 - esac
1.9824 - fi
1.9825 - ;;
1.9826 - esac
1.9827 - output_verbose_link_cmd='echo'
1.9828 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
1.9829 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.9830 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.9831 - 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.9832 - 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.9833 - hardcode_direct=no
1.9834 - hardcode_automatic=yes
1.9835 - hardcode_shlibpath_var=unsupported
1.9836 - whole_archive_flag_spec='-all_load $convenience'
1.9837 - link_all_deplibs=yes
1.9838 - else
1.9839 - ld_shlibs=no
1.9840 - fi
1.9841 - ;;
1.9842 -esac
1.9843 -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
1.9844 -echo "${ECHO_T}$enable_shared" >&6; }
1.9845 -
1.9846 -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
1.9847 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
1.9848 -# Make sure either enable_shared or enable_static is yes.
1.9849 -test "$enable_shared" = yes || enable_static=yes
1.9850 -{ echo "$as_me:$LINENO: result: $enable_static" >&5
1.9851 -echo "${ECHO_T}$enable_static" >&6; }
1.9852 -
1.9853 -# The else clause should only fire when bootstrapping the
1.9854 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.9855 -# with your package, and you will get complaints that there are
1.9856 -# no rules to generate ltmain.sh.
1.9857 -if test -f "$ltmain"; then
1.9858 - # See if we are running on zsh, and set the options which allow our commands through
1.9859 - # without removal of \ escapes.
1.9860 - if test -n "${ZSH_VERSION+set}" ; then
1.9861 - setopt NO_GLOB_SUBST
1.9862 - fi
1.9863 - # Now quote all the things that may contain metacharacters while being
1.9864 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.9865 - # variables and quote the copies for generation of the libtool script.
1.9866 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.9867 - SED SHELL STRIP \
1.9868 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.9869 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.9870 - deplibs_check_method reload_flag reload_cmds need_locks \
1.9871 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.9872 - lt_cv_sys_global_symbol_to_c_name_address \
1.9873 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.9874 - old_postinstall_cmds old_postuninstall_cmds \
1.9875 - compiler \
1.9876 - CC \
1.9877 - LD \
1.9878 - lt_prog_compiler_wl \
1.9879 - lt_prog_compiler_pic \
1.9880 - lt_prog_compiler_static \
1.9881 - lt_prog_compiler_no_builtin_flag \
1.9882 - export_dynamic_flag_spec \
1.9883 - thread_safe_flag_spec \
1.9884 - whole_archive_flag_spec \
1.9885 - enable_shared_with_static_runtimes \
1.9886 - old_archive_cmds \
1.9887 - old_archive_from_new_cmds \
1.9888 - predep_objects \
1.9889 - postdep_objects \
1.9890 - predeps \
1.9891 - postdeps \
1.9892 - compiler_lib_search_path \
1.9893 - archive_cmds \
1.9894 - archive_expsym_cmds \
1.9895 - postinstall_cmds \
1.9896 - postuninstall_cmds \
1.9897 - old_archive_from_expsyms_cmds \
1.9898 - allow_undefined_flag \
1.9899 - no_undefined_flag \
1.9900 - export_symbols_cmds \
1.9901 - hardcode_libdir_flag_spec \
1.9902 - hardcode_libdir_flag_spec_ld \
1.9903 - hardcode_libdir_separator \
1.9904 - hardcode_automatic \
1.9905 - module_cmds \
1.9906 - module_expsym_cmds \
1.9907 - lt_cv_prog_compiler_c_o \
1.9908 - exclude_expsyms \
1.9909 - include_expsyms; do
1.9910 -
1.9911 - case $var in
1.9912 - old_archive_cmds | \
1.9913 - old_archive_from_new_cmds | \
1.9914 - archive_cmds | \
1.9915 - archive_expsym_cmds | \
1.9916 - module_cmds | \
1.9917 - module_expsym_cmds | \
1.9918 - old_archive_from_expsyms_cmds | \
1.9919 - export_symbols_cmds | \
1.9920 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.9921 - postinstall_cmds | postuninstall_cmds | \
1.9922 - old_postinstall_cmds | old_postuninstall_cmds | \
1.9923 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.9924 - # Double-quote double-evaled strings.
1.9925 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.9926 - ;;
1.9927 - *)
1.9928 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.9929 - ;;
1.9930 - esac
1.9931 - done
1.9932 -
1.9933 - case $lt_echo in
1.9934 - *'\$0 --fallback-echo"')
1.9935 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.9936 - ;;
1.9937 - esac
1.9938 -
1.9939 -cfgfile="${ofile}T"
1.9940 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
1.9941 - $rm -f "$cfgfile"
1.9942 - { echo "$as_me:$LINENO: creating $ofile" >&5
1.9943 -echo "$as_me: creating $ofile" >&6;}
1.9944 -
1.9945 - cat <<__EOF__ >> "$cfgfile"
1.9946 -#! $SHELL
1.9947 -
1.9948 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1.9949 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
1.9950 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1.9951 -#
1.9952 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
1.9953 -# Free Software Foundation, Inc.
1.9954 -#
1.9955 -# This file is part of GNU Libtool:
1.9956 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1.9957 -#
1.9958 -# This program is free software; you can redistribute it and/or modify
1.9959 -# it under the terms of the GNU General Public License as published by
1.9960 -# the Free Software Foundation; either version 2 of the License, or
1.9961 -# (at your option) any later version.
1.9962 -#
1.9963 -# This program is distributed in the hope that it will be useful, but
1.9964 -# WITHOUT ANY WARRANTY; without even the implied warranty of
1.9965 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.9966 -# General Public License for more details.
1.9967 -#
1.9968 -# You should have received a copy of the GNU General Public License
1.9969 -# along with this program; if not, write to the Free Software
1.9970 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1.9971 -#
1.9972 -# As a special exception to the GNU General Public License, if you
1.9973 -# distribute this file as part of a program that contains a
1.9974 -# configuration script generated by Autoconf, you may include it under
1.9975 -# the same distribution terms that you use for the rest of that program.
1.9976 -
1.9977 -# A sed program that does not truncate output.
1.9978 -SED=$lt_SED
1.9979 -
1.9980 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1.9981 -Xsed="$SED -e s/^X//"
1.9982 -
1.9983 -# The HP-UX ksh and POSIX shell print the target directory to stdout
1.9984 -# if CDPATH is set.
1.9985 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
1.9986 -
1.9987 -# The names of the tagged configurations supported by this script.
1.9988 -available_tags=
1.9989 -
1.9990 -# ### BEGIN LIBTOOL CONFIG
1.9991 -
1.9992 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.9993 -
1.9994 -# Shell to use when invoking shell scripts.
1.9995 -SHELL=$lt_SHELL
1.9996 -
1.9997 -# Whether or not to build shared libraries.
1.9998 -build_libtool_libs=$enable_shared
1.9999 -
1.10000 -# Whether or not to build static libraries.
1.10001 -build_old_libs=$enable_static
1.10002 -
1.10003 -# Whether or not to add -lc for building shared libraries.
1.10004 -build_libtool_need_lc=$archive_cmds_need_lc
1.10005 -
1.10006 -# Whether or not to disallow shared libs when runtime libs are static
1.10007 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.10008 -
1.10009 -# Whether or not to optimize for fast installation.
1.10010 -fast_install=$enable_fast_install
1.10011 -
1.10012 -# The host system.
1.10013 -host_alias=$host_alias
1.10014 -host=$host
1.10015 -
1.10016 -# An echo program that does not interpret backslashes.
1.10017 -echo=$lt_echo
1.10018 -
1.10019 -# The archiver.
1.10020 -AR=$lt_AR
1.10021 -AR_FLAGS=$lt_AR_FLAGS
1.10022 -
1.10023 -# A C compiler.
1.10024 -LTCC=$lt_LTCC
1.10025 -
1.10026 -# A language-specific compiler.
1.10027 -CC=$lt_compiler
1.10028 -
1.10029 -# Is the compiler the GNU C compiler?
1.10030 -with_gcc=$GCC
1.10031 -
1.10032 -# An ERE matcher.
1.10033 -EGREP=$lt_EGREP
1.10034 -
1.10035 -# The linker used to build libraries.
1.10036 -LD=$lt_LD
1.10037 -
1.10038 -# Whether we need hard or soft links.
1.10039 -LN_S=$lt_LN_S
1.10040 -
1.10041 -# A BSD-compatible nm program.
1.10042 -NM=$lt_NM
1.10043 -
1.10044 -# A symbol stripping program
1.10045 -STRIP=$lt_STRIP
1.10046 -
1.10047 -# Used to examine libraries when file_magic_cmd begins "file"
1.10048 -MAGIC_CMD=$MAGIC_CMD
1.10049 -
1.10050 -# Used on cygwin: DLL creation program.
1.10051 -DLLTOOL="$DLLTOOL"
1.10052 -
1.10053 -# Used on cygwin: object dumper.
1.10054 -OBJDUMP="$OBJDUMP"
1.10055 -
1.10056 -# Used on cygwin: assembler.
1.10057 -AS="$AS"
1.10058 -
1.10059 -# The name of the directory that contains temporary libtool files.
1.10060 -objdir=$objdir
1.10061 -
1.10062 -# How to create reloadable object files.
1.10063 -reload_flag=$lt_reload_flag
1.10064 -reload_cmds=$lt_reload_cmds
1.10065 -
1.10066 -# How to pass a linker flag through the compiler.
1.10067 -wl=$lt_lt_prog_compiler_wl
1.10068 -
1.10069 -# Object file suffix (normally "o").
1.10070 -objext="$ac_objext"
1.10071 -
1.10072 -# Old archive suffix (normally "a").
1.10073 -libext="$libext"
1.10074 -
1.10075 -# Shared library suffix (normally ".so").
1.10076 -shrext_cmds='$shrext_cmds'
1.10077 -
1.10078 -# Executable file suffix (normally "").
1.10079 -exeext="$exeext"
1.10080 -
1.10081 -# Additional compiler flags for building library objects.
1.10082 -pic_flag=$lt_lt_prog_compiler_pic
1.10083 -pic_mode=$pic_mode
1.10084 -
1.10085 -# What is the maximum length of a command?
1.10086 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.10087 -
1.10088 -# Does compiler simultaneously support -c and -o options?
1.10089 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.10090 -
1.10091 -# Must we lock files when doing compilation ?
1.10092 -need_locks=$lt_need_locks
1.10093 -
1.10094 -# Do we need the lib prefix for modules?
1.10095 -need_lib_prefix=$need_lib_prefix
1.10096 -
1.10097 -# Do we need a version for libraries?
1.10098 -need_version=$need_version
1.10099 -
1.10100 -# Whether dlopen is supported.
1.10101 -dlopen_support=$enable_dlopen
1.10102 -
1.10103 -# Whether dlopen of programs is supported.
1.10104 -dlopen_self=$enable_dlopen_self
1.10105 -
1.10106 -# Whether dlopen of statically linked programs is supported.
1.10107 -dlopen_self_static=$enable_dlopen_self_static
1.10108 -
1.10109 -# Compiler flag to prevent dynamic linking.
1.10110 -link_static_flag=$lt_lt_prog_compiler_static
1.10111 -
1.10112 -# Compiler flag to turn off builtin functions.
1.10113 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.10114 -
1.10115 -# Compiler flag to allow reflexive dlopens.
1.10116 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.10117 -
1.10118 -# Compiler flag to generate shared objects directly from archives.
1.10119 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.10120 -
1.10121 -# Compiler flag to generate thread-safe objects.
1.10122 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
1.10123 -
1.10124 -# Library versioning type.
1.10125 -version_type=$version_type
1.10126 -
1.10127 -# Format of library name prefix.
1.10128 -libname_spec=$lt_libname_spec
1.10129 -
1.10130 -# List of archive names. First name is the real one, the rest are links.
1.10131 -# The last name is the one that the linker finds with -lNAME.
1.10132 -library_names_spec=$lt_library_names_spec
1.10133 -
1.10134 -# The coded name of the library, if different from the real name.
1.10135 -soname_spec=$lt_soname_spec
1.10136 -
1.10137 -# Commands used to build and install an old-style archive.
1.10138 -RANLIB=$lt_RANLIB
1.10139 -old_archive_cmds=$lt_old_archive_cmds
1.10140 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.10141 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.10142 -
1.10143 -# Create an old-style archive from a shared archive.
1.10144 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.10145 -
1.10146 -# Create a temporary old-style archive to link instead of a shared archive.
1.10147 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.10148 -
1.10149 -# Commands used to build and install a shared archive.
1.10150 -archive_cmds=$lt_archive_cmds
1.10151 -archive_expsym_cmds=$lt_archive_expsym_cmds
1.10152 -postinstall_cmds=$lt_postinstall_cmds
1.10153 -postuninstall_cmds=$lt_postuninstall_cmds
1.10154 -
1.10155 -# Commands used to build a loadable module (assumed same as above if empty)
1.10156 -module_cmds=$lt_module_cmds
1.10157 -module_expsym_cmds=$lt_module_expsym_cmds
1.10158 -
1.10159 -# Commands to strip libraries.
1.10160 -old_striplib=$lt_old_striplib
1.10161 -striplib=$lt_striplib
1.10162 -
1.10163 -# Dependencies to place before the objects being linked to create a
1.10164 -# shared library.
1.10165 -predep_objects=$lt_predep_objects
1.10166 -
1.10167 -# Dependencies to place after the objects being linked to create a
1.10168 -# shared library.
1.10169 -postdep_objects=$lt_postdep_objects
1.10170 -
1.10171 -# Dependencies to place before the objects being linked to create a
1.10172 -# shared library.
1.10173 -predeps=$lt_predeps
1.10174 -
1.10175 -# Dependencies to place after the objects being linked to create a
1.10176 -# shared library.
1.10177 -postdeps=$lt_postdeps
1.10178 -
1.10179 -# The library search path used internally by the compiler when linking
1.10180 -# a shared library.
1.10181 -compiler_lib_search_path=$lt_compiler_lib_search_path
1.10182 -
1.10183 -# Method to check whether dependent libraries are shared objects.
1.10184 -deplibs_check_method=$lt_deplibs_check_method
1.10185 -
1.10186 -# Command to use when deplibs_check_method == file_magic.
1.10187 -file_magic_cmd=$lt_file_magic_cmd
1.10188 -
1.10189 -# Flag that allows shared libraries with undefined symbols to be built.
1.10190 -allow_undefined_flag=$lt_allow_undefined_flag
1.10191 -
1.10192 -# Flag that forces no undefined symbols.
1.10193 -no_undefined_flag=$lt_no_undefined_flag
1.10194 -
1.10195 -# Commands used to finish a libtool library installation in a directory.
1.10196 -finish_cmds=$lt_finish_cmds
1.10197 -
1.10198 -# Same as above, but a single script fragment to be evaled but not shown.
1.10199 -finish_eval=$lt_finish_eval
1.10200 -
1.10201 -# Take the output of nm and produce a listing of raw symbols and C names.
1.10202 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.10203 -
1.10204 -# Transform the output of nm in a proper C declaration
1.10205 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.10206 -
1.10207 -# Transform the output of nm in a C name address pair
1.10208 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.10209 -
1.10210 -# This is the shared library runtime path variable.
1.10211 -runpath_var=$runpath_var
1.10212 -
1.10213 -# This is the shared library path variable.
1.10214 -shlibpath_var=$shlibpath_var
1.10215 -
1.10216 -# Is shlibpath searched before the hard-coded library search path?
1.10217 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.10218 -
1.10219 -# How to hardcode a shared library path into an executable.
1.10220 -hardcode_action=$hardcode_action
1.10221 -
1.10222 -# Whether we should hardcode library paths into libraries.
1.10223 -hardcode_into_libs=$hardcode_into_libs
1.10224 -
1.10225 -# Flag to hardcode \$libdir into a binary during linking.
1.10226 -# This must work even if \$libdir does not exist.
1.10227 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.10228 -
1.10229 -# If ld is used when linking, flag to hardcode \$libdir into
1.10230 -# a binary during linking. This must work even if \$libdir does
1.10231 -# not exist.
1.10232 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1.10233 -
1.10234 -# Whether we need a single -rpath flag with a separated argument.
1.10235 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.10236 -
1.10237 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.10238 -# resulting binary.
1.10239 -hardcode_direct=$hardcode_direct
1.10240 -
1.10241 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.10242 -# resulting binary.
1.10243 -hardcode_minus_L=$hardcode_minus_L
1.10244 -
1.10245 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.10246 -# the resulting binary.
1.10247 -hardcode_shlibpath_var=$hardcode_shlibpath_var
1.10248 -
1.10249 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.10250 -# and all subsequent libraries and executables linked against it.
1.10251 -hardcode_automatic=$hardcode_automatic
1.10252 -
1.10253 -# Variables whose values should be saved in libtool wrapper scripts and
1.10254 -# restored at relink time.
1.10255 -variables_saved_for_relink="$variables_saved_for_relink"
1.10256 -
1.10257 -# Whether libtool must link a program against all its dependency libraries.
1.10258 -link_all_deplibs=$link_all_deplibs
1.10259 -
1.10260 -# Compile-time system search path for libraries
1.10261 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.10262 -
1.10263 -# Run-time system search path for libraries
1.10264 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.10265 -
1.10266 -# Fix the shell variable \$srcfile for the compiler.
1.10267 -fix_srcfile_path="$fix_srcfile_path"
1.10268 -
1.10269 -# Set to yes if exported symbols are required.
1.10270 -always_export_symbols=$always_export_symbols
1.10271 -
1.10272 -# The commands to list exported symbols.
1.10273 -export_symbols_cmds=$lt_export_symbols_cmds
1.10274 -
1.10275 -# The commands to extract the exported symbol list from a shared archive.
1.10276 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.10277 -
1.10278 -# Symbols that should not be listed in the preloaded symbols.
1.10279 -exclude_expsyms=$lt_exclude_expsyms
1.10280 -
1.10281 -# Symbols that must always be exported.
1.10282 -include_expsyms=$lt_include_expsyms
1.10283 -
1.10284 -# ### END LIBTOOL CONFIG
1.10285 -
1.10286 -__EOF__
1.10287 -
1.10288 -
1.10289 - case $host_os in
1.10290 - aix3*)
1.10291 - cat <<\EOF >> "$cfgfile"
1.10292 -
1.10293 -# AIX sometimes has problems with the GCC collect2 program. For some
1.10294 -# reason, if we set the COLLECT_NAMES environment variable, the problems
1.10295 -# vanish in a puff of smoke.
1.10296 -if test "X${COLLECT_NAMES+set}" != Xset; then
1.10297 - COLLECT_NAMES=
1.10298 - export COLLECT_NAMES
1.10299 -fi
1.10300 -EOF
1.10301 - ;;
1.10302 - esac
1.10303 -
1.10304 - # We use sed instead of cat because bash on DJGPP gets confused if
1.10305 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
1.10306 - # text mode, it properly converts lines to CR/LF. This bash problem
1.10307 - # is reportedly fixed, but why not run on old versions too?
1.10308 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
1.10309 -
1.10310 - mv -f "$cfgfile" "$ofile" || \
1.10311 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1.10312 - chmod +x "$ofile"
1.10313 -
1.10314 -else
1.10315 - # If there is no Makefile yet, we rely on a make rule to execute
1.10316 - # `config.status --recheck' to rerun these tests and create the
1.10317 - # libtool script then.
1.10318 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.10319 - if test -f "$ltmain_in"; then
1.10320 - test -f Makefile && make "$ltmain"
1.10321 - fi
1.10322 -fi
1.10323 -
1.10324 -
1.10325 -ac_ext=c
1.10326 -ac_cpp='$CPP $CPPFLAGS'
1.10327 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.10328 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10329 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10330 -
1.10331 -CC="$lt_save_CC"
1.10332 -
1.10333 -
1.10334 -# Check whether --with-tags was given.
1.10335 -if test "${with_tags+set}" = set; then
1.10336 - withval=$with_tags; tagnames="$withval"
1.10337 -fi
1.10338 -
1.10339 -
1.10340 -if test -f "$ltmain" && test -n "$tagnames"; then
1.10341 - if test ! -f "${ofile}"; then
1.10342 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
1.10343 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
1.10344 - fi
1.10345 -
1.10346 - if test -z "$LTCC"; then
1.10347 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1.10348 - if test -z "$LTCC"; then
1.10349 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
1.10350 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
1.10351 - else
1.10352 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
1.10353 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
1.10354 - fi
1.10355 - fi
1.10356 -
1.10357 - # Extract list of available tagged configurations in $ofile.
1.10358 - # Note that this assumes the entire list is on one line.
1.10359 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1.10360 -
1.10361 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.10362 - for tagname in $tagnames; do
1.10363 - IFS="$lt_save_ifs"
1.10364 - # Check whether tagname contains only valid characters
1.10365 - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
1.10366 - "") ;;
1.10367 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
1.10368 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
1.10369 - { (exit 1); exit 1; }; }
1.10370 - ;;
1.10371 - esac
1.10372 -
1.10373 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1.10374 - then
1.10375 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
1.10376 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
1.10377 - { (exit 1); exit 1; }; }
1.10378 - fi
1.10379 -
1.10380 - # Update the list of available tags.
1.10381 - if test -n "$tagname"; then
1.10382 - echo appending configuration tag \"$tagname\" to $ofile
1.10383 -
1.10384 - case $tagname in
1.10385 - CXX)
1.10386 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
1.10387 - ac_ext=cpp
1.10388 -ac_cpp='$CXXCPP $CPPFLAGS'
1.10389 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.10390 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10391 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.10392 -
1.10393 -
1.10394 -
1.10395 -
1.10396 -archive_cmds_need_lc_CXX=no
1.10397 -allow_undefined_flag_CXX=
1.10398 -always_export_symbols_CXX=no
1.10399 -archive_expsym_cmds_CXX=
1.10400 -export_dynamic_flag_spec_CXX=
1.10401 -hardcode_direct_CXX=no
1.10402 -hardcode_libdir_flag_spec_CXX=
1.10403 -hardcode_libdir_flag_spec_ld_CXX=
1.10404 -hardcode_libdir_separator_CXX=
1.10405 -hardcode_minus_L_CXX=no
1.10406 -hardcode_automatic_CXX=no
1.10407 -module_cmds_CXX=
1.10408 -module_expsym_cmds_CXX=
1.10409 -link_all_deplibs_CXX=unknown
1.10410 -old_archive_cmds_CXX=$old_archive_cmds
1.10411 -no_undefined_flag_CXX=
1.10412 -whole_archive_flag_spec_CXX=
1.10413 -enable_shared_with_static_runtimes_CXX=no
1.10414 -
1.10415 -# Dependencies to place before and after the object being linked:
1.10416 -predep_objects_CXX=
1.10417 -postdep_objects_CXX=
1.10418 -predeps_CXX=
1.10419 -postdeps_CXX=
1.10420 -compiler_lib_search_path_CXX=
1.10421 -
1.10422 -# Source file extension for C++ test sources.
1.10423 -ac_ext=cc
1.10424 -
1.10425 -# Object file extension for compiled C++ test sources.
1.10426 -objext=o
1.10427 -objext_CXX=$objext
1.10428 -
1.10429 -# Code to be used in simple compile tests
1.10430 -lt_simple_compile_test_code="int some_variable = 0;\n"
1.10431 -
1.10432 -# Code to be used in simple link tests
1.10433 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
1.10434 -
1.10435 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.10436 -
1.10437 -# If no C compiler was specified, use CC.
1.10438 -LTCC=${LTCC-"$CC"}
1.10439 -
1.10440 -# Allow CC to be a program name with arguments.
1.10441 -compiler=$CC
1.10442 -
1.10443 -
1.10444 -# Allow CC to be a program name with arguments.
1.10445 -lt_save_CC=$CC
1.10446 -lt_save_LD=$LD
1.10447 -lt_save_GCC=$GCC
1.10448 -GCC=$GXX
1.10449 -lt_save_with_gnu_ld=$with_gnu_ld
1.10450 -lt_save_path_LD=$lt_cv_path_LD
1.10451 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1.10452 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1.10453 -else
1.10454 - unset lt_cv_prog_gnu_ld
1.10455 -fi
1.10456 -if test -n "${lt_cv_path_LDCXX+set}"; then
1.10457 - lt_cv_path_LD=$lt_cv_path_LDCXX
1.10458 -else
1.10459 - unset lt_cv_path_LD
1.10460 -fi
1.10461 -test -z "${LDCXX+set}" || LD=$LDCXX
1.10462 -CC=${CXX-"c++"}
1.10463 -compiler=$CC
1.10464 -compiler_CXX=$CC
1.10465 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
1.10466 -
1.10467 -# We don't want -fno-exception wen compiling C++ code, so set the
1.10468 -# no_builtin_flag separately
1.10469 -if test "$GXX" = yes; then
1.10470 - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
1.10471 -else
1.10472 - lt_prog_compiler_no_builtin_flag_CXX=
1.10473 -fi
1.10474 -
1.10475 -if test "$GXX" = yes; then
1.10476 - # Set up default GNU C++ configuration
1.10477 -
1.10478 -
1.10479 -# Check whether --with-gnu-ld was given.
1.10480 -if test "${with_gnu_ld+set}" = set; then
1.10481 - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.10482 -else
1.10483 - with_gnu_ld=no
1.10484 -fi
1.10485 -
1.10486 -ac_prog=ld
1.10487 -if test "$GCC" = yes; then
1.10488 - # Check if gcc -print-prog-name=ld gives a path.
1.10489 - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
1.10490 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
1.10491 - case $host in
1.10492 - *-*-mingw*)
1.10493 - # gcc leaves a trailing carriage return which upsets mingw
1.10494 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1.10495 - *)
1.10496 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1.10497 - esac
1.10498 - case $ac_prog in
1.10499 - # Accept absolute paths.
1.10500 - [\\/]* | ?:[\\/]*)
1.10501 - re_direlt='/[^/][^/]*/\.\./'
1.10502 - # Canonicalize the pathname of ld
1.10503 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
1.10504 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1.10505 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
1.10506 - done
1.10507 - test -z "$LD" && LD="$ac_prog"
1.10508 - ;;
1.10509 - "")
1.10510 - # If it fails, then pretend we aren't using GCC.
1.10511 - ac_prog=ld
1.10512 - ;;
1.10513 - *)
1.10514 - # If it is relative, then search for the first ld in PATH.
1.10515 - with_gnu_ld=unknown
1.10516 - ;;
1.10517 - esac
1.10518 -elif test "$with_gnu_ld" = yes; then
1.10519 - { echo "$as_me:$LINENO: checking for GNU ld" >&5
1.10520 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
1.10521 -else
1.10522 - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
1.10523 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
1.10524 -fi
1.10525 -if test "${lt_cv_path_LD+set}" = set; then
1.10526 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10527 -else
1.10528 - if test -z "$LD"; then
1.10529 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.10530 - for ac_dir in $PATH; do
1.10531 - IFS="$lt_save_ifs"
1.10532 - test -z "$ac_dir" && ac_dir=.
1.10533 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.10534 - lt_cv_path_LD="$ac_dir/$ac_prog"
1.10535 - # Check to see if the program is GNU ld. I'd rather use --version,
1.10536 - # but apparently some GNU ld's only accept -v.
1.10537 - # Break only if it was the GNU/non-GNU ld that we prefer.
1.10538 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1.10539 - *GNU* | *'with BFD'*)
1.10540 - test "$with_gnu_ld" != no && break
1.10541 - ;;
1.10542 - *)
1.10543 - test "$with_gnu_ld" != yes && break
1.10544 - ;;
1.10545 - esac
1.10546 - fi
1.10547 - done
1.10548 - IFS="$lt_save_ifs"
1.10549 -else
1.10550 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.10551 -fi
1.10552 -fi
1.10553 -
1.10554 -LD="$lt_cv_path_LD"
1.10555 -if test -n "$LD"; then
1.10556 - { echo "$as_me:$LINENO: result: $LD" >&5
1.10557 -echo "${ECHO_T}$LD" >&6; }
1.10558 -else
1.10559 - { echo "$as_me:$LINENO: result: no" >&5
1.10560 -echo "${ECHO_T}no" >&6; }
1.10561 -fi
1.10562 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
1.10563 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
1.10564 - { (exit 1); exit 1; }; }
1.10565 -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
1.10566 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
1.10567 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
1.10568 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10569 -else
1.10570 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1.10571 -case `$LD -v 2>&1 </dev/null` in
1.10572 -*GNU* | *'with BFD'*)
1.10573 - lt_cv_prog_gnu_ld=yes
1.10574 - ;;
1.10575 -*)
1.10576 - lt_cv_prog_gnu_ld=no
1.10577 - ;;
1.10578 -esac
1.10579 -fi
1.10580 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
1.10581 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
1.10582 -with_gnu_ld=$lt_cv_prog_gnu_ld
1.10583 -
1.10584 -
1.10585 -
1.10586 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
1.10587 - # archiving commands below assume that GNU ld is being used.
1.10588 - if test "$with_gnu_ld" = yes; then
1.10589 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10590 - 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.10591 -
1.10592 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
1.10593 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.10594 -
1.10595 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.10596 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
1.10597 - # investigate it a little bit more. (MM)
1.10598 - wlarc='${wl}'
1.10599 -
1.10600 - # ancient GNU ld didn't support --whole-archive et. al.
1.10601 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
1.10602 - grep 'no-whole-archive' > /dev/null; then
1.10603 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.10604 - else
1.10605 - whole_archive_flag_spec_CXX=
1.10606 - fi
1.10607 - else
1.10608 - with_gnu_ld=no
1.10609 - wlarc=
1.10610 -
1.10611 - # A generic and very simple default shared library creation
1.10612 - # command for GNU C++ for the case where it uses the native
1.10613 - # linker, instead of GNU ld. If possible, this setting should
1.10614 - # overridden to take advantage of the native linker features on
1.10615 - # the platform it is being used on.
1.10616 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
1.10617 - fi
1.10618 -
1.10619 - # Commands to make compiler produce verbose output that lists
1.10620 - # what "hidden" libraries, object files and flags are used when
1.10621 - # linking a shared library.
1.10622 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.10623 -
1.10624 -else
1.10625 - GXX=no
1.10626 - with_gnu_ld=no
1.10627 - wlarc=
1.10628 -fi
1.10629 -
1.10630 -# PORTME: fill in a description of your system's C++ link characteristics
1.10631 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.10632 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.10633 -ld_shlibs_CXX=yes
1.10634 -case $host_os in
1.10635 - aix3*)
1.10636 - # FIXME: insert proper C++ library support
1.10637 - ld_shlibs_CXX=no
1.10638 - ;;
1.10639 - aix4* | aix5*)
1.10640 - if test "$host_cpu" = ia64; then
1.10641 - # On IA64, the linker does run time linking by default, so we don't
1.10642 - # have to do anything special.
1.10643 - aix_use_runtimelinking=no
1.10644 - exp_sym_flag='-Bexport'
1.10645 - no_entry_flag=""
1.10646 - else
1.10647 - aix_use_runtimelinking=no
1.10648 -
1.10649 - # Test if we are trying to use run time linking or normal
1.10650 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.10651 - # need to do runtime linking.
1.10652 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.10653 - for ld_flag in $LDFLAGS; do
1.10654 - case $ld_flag in
1.10655 - *-brtl*)
1.10656 - aix_use_runtimelinking=yes
1.10657 - break
1.10658 - ;;
1.10659 - esac
1.10660 - done
1.10661 - esac
1.10662 -
1.10663 - exp_sym_flag='-bexport'
1.10664 - no_entry_flag='-bnoentry'
1.10665 - fi
1.10666 -
1.10667 - # When large executables or shared objects are built, AIX ld can
1.10668 - # have problems creating the table of contents. If linking a library
1.10669 - # or program results in "error TOC overflow" add -mminimal-toc to
1.10670 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.10671 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.10672 -
1.10673 - archive_cmds_CXX=''
1.10674 - hardcode_direct_CXX=yes
1.10675 - hardcode_libdir_separator_CXX=':'
1.10676 - link_all_deplibs_CXX=yes
1.10677 -
1.10678 - if test "$GXX" = yes; then
1.10679 - case $host_os in aix4.012|aix4.012.*)
1.10680 - # We only want to do this on AIX 4.2 and lower, the check
1.10681 - # below for broken collect2 doesn't work under 4.3+
1.10682 - collect2name=`${CC} -print-prog-name=collect2`
1.10683 - if test -f "$collect2name" && \
1.10684 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.10685 - then
1.10686 - # We have reworked collect2
1.10687 - hardcode_direct_CXX=yes
1.10688 - else
1.10689 - # We have old collect2
1.10690 - hardcode_direct_CXX=unsupported
1.10691 - # It fails to find uninstalled libraries when the uninstalled
1.10692 - # path is not listed in the libpath. Setting hardcode_minus_L
1.10693 - # to unsupported forces relinking
1.10694 - hardcode_minus_L_CXX=yes
1.10695 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10696 - hardcode_libdir_separator_CXX=
1.10697 - fi
1.10698 - esac
1.10699 - shared_flag='-shared'
1.10700 - else
1.10701 - # not using gcc
1.10702 - if test "$host_cpu" = ia64; then
1.10703 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.10704 - # chokes on -Wl,-G. The following line is correct:
1.10705 - shared_flag='-G'
1.10706 - else
1.10707 - if test "$aix_use_runtimelinking" = yes; then
1.10708 - shared_flag='${wl}-G'
1.10709 - else
1.10710 - shared_flag='${wl}-bM:SRE'
1.10711 - fi
1.10712 - fi
1.10713 - fi
1.10714 -
1.10715 - # It seems that -bexpall does not export symbols beginning with
1.10716 - # underscore (_), so it is better to generate a list of symbols to export.
1.10717 - always_export_symbols_CXX=yes
1.10718 - if test "$aix_use_runtimelinking" = yes; then
1.10719 - # Warning - without using the other runtime loading flags (-brtl),
1.10720 - # -berok will link without error, but may produce a broken library.
1.10721 - allow_undefined_flag_CXX='-berok'
1.10722 - # Determine the default libpath from the value encoded in an empty executable.
1.10723 - cat >conftest.$ac_ext <<_ACEOF
1.10724 -/* confdefs.h. */
1.10725 -_ACEOF
1.10726 -cat confdefs.h >>conftest.$ac_ext
1.10727 -cat >>conftest.$ac_ext <<_ACEOF
1.10728 -/* end confdefs.h. */
1.10729 -
1.10730 -int
1.10731 -main ()
1.10732 -{
1.10733 -
1.10734 - ;
1.10735 - return 0;
1.10736 -}
1.10737 -_ACEOF
1.10738 -rm -f conftest.$ac_objext conftest$ac_exeext
1.10739 -if { (ac_try="$ac_link"
1.10740 -case "(($ac_try" in
1.10741 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10742 - *) ac_try_echo=$ac_try;;
1.10743 -esac
1.10744 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10745 - (eval "$ac_link") 2>conftest.er1
1.10746 - ac_status=$?
1.10747 - grep -v '^ *+' conftest.er1 >conftest.err
1.10748 - rm -f conftest.er1
1.10749 - cat conftest.err >&5
1.10750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10751 - (exit $ac_status); } && {
1.10752 - test -z "$ac_cxx_werror_flag" ||
1.10753 - test ! -s conftest.err
1.10754 - } && test -s conftest$ac_exeext &&
1.10755 - $as_test_x conftest$ac_exeext; then
1.10756 -
1.10757 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.10758 -}'`
1.10759 -# Check for a 64-bit object if we didn't find anything.
1.10760 -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.10761 -}'`; fi
1.10762 -else
1.10763 - echo "$as_me: failed program was:" >&5
1.10764 -sed 's/^/| /' conftest.$ac_ext >&5
1.10765 -
1.10766 -
1.10767 -fi
1.10768 -
1.10769 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.10770 - conftest$ac_exeext conftest.$ac_ext
1.10771 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.10772 -
1.10773 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1.10774 -
1.10775 - 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.10776 - else
1.10777 - if test "$host_cpu" = ia64; then
1.10778 - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
1.10779 - allow_undefined_flag_CXX="-z nodefs"
1.10780 - 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.10781 - else
1.10782 - # Determine the default libpath from the value encoded in an empty executable.
1.10783 - cat >conftest.$ac_ext <<_ACEOF
1.10784 -/* confdefs.h. */
1.10785 -_ACEOF
1.10786 -cat confdefs.h >>conftest.$ac_ext
1.10787 -cat >>conftest.$ac_ext <<_ACEOF
1.10788 -/* end confdefs.h. */
1.10789 -
1.10790 -int
1.10791 -main ()
1.10792 -{
1.10793 -
1.10794 - ;
1.10795 - return 0;
1.10796 -}
1.10797 -_ACEOF
1.10798 -rm -f conftest.$ac_objext conftest$ac_exeext
1.10799 -if { (ac_try="$ac_link"
1.10800 -case "(($ac_try" in
1.10801 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10802 - *) ac_try_echo=$ac_try;;
1.10803 -esac
1.10804 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10805 - (eval "$ac_link") 2>conftest.er1
1.10806 - ac_status=$?
1.10807 - grep -v '^ *+' conftest.er1 >conftest.err
1.10808 - rm -f conftest.er1
1.10809 - cat conftest.err >&5
1.10810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10811 - (exit $ac_status); } && {
1.10812 - test -z "$ac_cxx_werror_flag" ||
1.10813 - test ! -s conftest.err
1.10814 - } && test -s conftest$ac_exeext &&
1.10815 - $as_test_x conftest$ac_exeext; then
1.10816 -
1.10817 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.10818 -}'`
1.10819 -# Check for a 64-bit object if we didn't find anything.
1.10820 -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.10821 -}'`; fi
1.10822 -else
1.10823 - echo "$as_me: failed program was:" >&5
1.10824 -sed 's/^/| /' conftest.$ac_ext >&5
1.10825 -
1.10826 -
1.10827 -fi
1.10828 -
1.10829 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.10830 - conftest$ac_exeext conftest.$ac_ext
1.10831 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.10832 -
1.10833 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1.10834 - # Warning - without using the other run time loading flags,
1.10835 - # -berok will link without error, but may produce a broken library.
1.10836 - no_undefined_flag_CXX=' ${wl}-bernotok'
1.10837 - allow_undefined_flag_CXX=' ${wl}-berok'
1.10838 - # -bexpall does not export symbols beginning with underscore (_)
1.10839 - always_export_symbols_CXX=yes
1.10840 - # Exported symbols can be pulled into shared objects from archives
1.10841 - whole_archive_flag_spec_CXX=' '
1.10842 - archive_cmds_need_lc_CXX=yes
1.10843 - # This is similar to how AIX traditionally builds it's shared libraries.
1.10844 - 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.10845 - fi
1.10846 - fi
1.10847 - ;;
1.10848 - chorus*)
1.10849 - case $cc_basename in
1.10850 - *)
1.10851 - # FIXME: insert proper C++ library support
1.10852 - ld_shlibs_CXX=no
1.10853 - ;;
1.10854 - esac
1.10855 - ;;
1.10856 -
1.10857 - cygwin* | mingw* | pw32*)
1.10858 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
1.10859 - # as there is no search path for DLLs.
1.10860 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10861 - allow_undefined_flag_CXX=unsupported
1.10862 - always_export_symbols_CXX=no
1.10863 - enable_shared_with_static_runtimes_CXX=yes
1.10864 -
1.10865 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.10866 - 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.10867 - # If the export-symbols file already is a .def file (1st line
1.10868 - # is EXPORTS), use it as is; otherwise, prepend...
1.10869 - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.10870 - cp $export_symbols $output_objdir/$soname.def;
1.10871 - else
1.10872 - echo EXPORTS > $output_objdir/$soname.def;
1.10873 - cat $export_symbols >> $output_objdir/$soname.def;
1.10874 - fi~
1.10875 - $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.10876 - else
1.10877 - ld_shlibs_CXX=no
1.10878 - fi
1.10879 - ;;
1.10880 -
1.10881 - darwin* | rhapsody*)
1.10882 - if test "$GXX" = yes; then
1.10883 - archive_cmds_need_lc_CXX=no
1.10884 - case "$host_os" in
1.10885 - rhapsody* | darwin1.[012])
1.10886 - allow_undefined_flag_CXX='-undefined suppress'
1.10887 - ;;
1.10888 - *) # Darwin 1.3 on
1.10889 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.10890 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
1.10891 - else
1.10892 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.10893 - 10.[012])
1.10894 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
1.10895 - ;;
1.10896 - 10.*)
1.10897 - allow_undefined_flag_CXX='-undefined dynamic_lookup'
1.10898 - ;;
1.10899 - esac
1.10900 - fi
1.10901 - ;;
1.10902 - esac
1.10903 - lt_int_apple_cc_single_mod=no
1.10904 - output_verbose_link_cmd='echo'
1.10905 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.10906 - lt_int_apple_cc_single_mod=yes
1.10907 - fi
1.10908 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.10909 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.10910 - else
1.10911 - 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.10912 - fi
1.10913 - module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.10914 -
1.10915 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.10916 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.10917 - 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.10918 - else
1.10919 - 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.10920 - fi
1.10921 - 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.10922 - hardcode_direct_CXX=no
1.10923 - hardcode_automatic_CXX=yes
1.10924 - hardcode_shlibpath_var_CXX=unsupported
1.10925 - whole_archive_flag_spec_CXX='-all_load $convenience'
1.10926 - link_all_deplibs_CXX=yes
1.10927 - else
1.10928 - ld_shlibs_CXX=no
1.10929 - fi
1.10930 - ;;
1.10931 -
1.10932 - dgux*)
1.10933 - case $cc_basename in
1.10934 - ec++)
1.10935 - # FIXME: insert proper C++ library support
1.10936 - ld_shlibs_CXX=no
1.10937 - ;;
1.10938 - ghcx)
1.10939 - # Green Hills C++ Compiler
1.10940 - # FIXME: insert proper C++ library support
1.10941 - ld_shlibs_CXX=no
1.10942 - ;;
1.10943 - *)
1.10944 - # FIXME: insert proper C++ library support
1.10945 - ld_shlibs_CXX=no
1.10946 - ;;
1.10947 - esac
1.10948 - ;;
1.10949 - freebsd12*)
1.10950 - # C++ shared libraries reported to be fairly broken before switch to ELF
1.10951 - ld_shlibs_CXX=no
1.10952 - ;;
1.10953 - freebsd-elf*)
1.10954 - archive_cmds_need_lc_CXX=no
1.10955 - ;;
1.10956 - freebsd* | kfreebsd*-gnu)
1.10957 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1.10958 - # conventions
1.10959 - ld_shlibs_CXX=yes
1.10960 - ;;
1.10961 - gnu*)
1.10962 - ;;
1.10963 - hpux9*)
1.10964 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.10965 - hardcode_libdir_separator_CXX=:
1.10966 - export_dynamic_flag_spec_CXX='${wl}-E'
1.10967 - hardcode_direct_CXX=yes
1.10968 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.10969 - # but as the default
1.10970 - # location of the library.
1.10971 -
1.10972 - case $cc_basename in
1.10973 - CC)
1.10974 - # FIXME: insert proper C++ library support
1.10975 - ld_shlibs_CXX=no
1.10976 - ;;
1.10977 - aCC)
1.10978 - 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.10979 - # Commands to make compiler produce verbose output that lists
1.10980 - # what "hidden" libraries, object files and flags are used when
1.10981 - # linking a shared library.
1.10982 - #
1.10983 - # There doesn't appear to be a way to prevent this compiler from
1.10984 - # explicitly linking system object files so we need to strip them
1.10985 - # from the output so that they don't get included in the library
1.10986 - # dependencies.
1.10987 - 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.10988 - ;;
1.10989 - *)
1.10990 - if test "$GXX" = yes; then
1.10991 - 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.10992 - else
1.10993 - # FIXME: insert proper C++ library support
1.10994 - ld_shlibs_CXX=no
1.10995 - fi
1.10996 - ;;
1.10997 - esac
1.10998 - ;;
1.10999 - hpux10*|hpux11*)
1.11000 - if test $with_gnu_ld = no; then
1.11001 - case "$host_cpu" in
1.11002 - hppa*64*)
1.11003 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.11004 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
1.11005 - hardcode_libdir_separator_CXX=:
1.11006 - ;;
1.11007 - ia64*)
1.11008 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.11009 - ;;
1.11010 - *)
1.11011 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.11012 - hardcode_libdir_separator_CXX=:
1.11013 - export_dynamic_flag_spec_CXX='${wl}-E'
1.11014 - ;;
1.11015 - esac
1.11016 - fi
1.11017 - case "$host_cpu" in
1.11018 - hppa*64*)
1.11019 - hardcode_direct_CXX=no
1.11020 - hardcode_shlibpath_var_CXX=no
1.11021 - ;;
1.11022 - ia64*)
1.11023 - hardcode_direct_CXX=no
1.11024 - hardcode_shlibpath_var_CXX=no
1.11025 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.11026 - # but as the default
1.11027 - # location of the library.
1.11028 - ;;
1.11029 - *)
1.11030 - hardcode_direct_CXX=yes
1.11031 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.11032 - # but as the default
1.11033 - # location of the library.
1.11034 - ;;
1.11035 - esac
1.11036 -
1.11037 - case $cc_basename in
1.11038 - CC)
1.11039 - # FIXME: insert proper C++ library support
1.11040 - ld_shlibs_CXX=no
1.11041 - ;;
1.11042 - aCC)
1.11043 - case "$host_cpu" in
1.11044 - hppa*64*|ia64*)
1.11045 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1.11046 - ;;
1.11047 - *)
1.11048 - 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.11049 - ;;
1.11050 - esac
1.11051 - # Commands to make compiler produce verbose output that lists
1.11052 - # what "hidden" libraries, object files and flags are used when
1.11053 - # linking a shared library.
1.11054 - #
1.11055 - # There doesn't appear to be a way to prevent this compiler from
1.11056 - # explicitly linking system object files so we need to strip them
1.11057 - # from the output so that they don't get included in the library
1.11058 - # dependencies.
1.11059 - 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.11060 - ;;
1.11061 - *)
1.11062 - if test "$GXX" = yes; then
1.11063 - if test $with_gnu_ld = no; then
1.11064 - case "$host_cpu" in
1.11065 - ia64*|hppa*64*)
1.11066 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1.11067 - ;;
1.11068 - *)
1.11069 - 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.11070 - ;;
1.11071 - esac
1.11072 - fi
1.11073 - else
1.11074 - # FIXME: insert proper C++ library support
1.11075 - ld_shlibs_CXX=no
1.11076 - fi
1.11077 - ;;
1.11078 - esac
1.11079 - ;;
1.11080 - irix5* | irix6*)
1.11081 - case $cc_basename in
1.11082 - CC)
1.11083 - # SGI C++
1.11084 - 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.11085 -
1.11086 - # Archives containing C++ object files must be created using
1.11087 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
1.11088 - # necessary to make sure instantiated templates are included
1.11089 - # in the archive.
1.11090 - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
1.11091 - ;;
1.11092 - *)
1.11093 - if test "$GXX" = yes; then
1.11094 - if test "$with_gnu_ld" = no; then
1.11095 - 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.11096 - else
1.11097 - 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.11098 - fi
1.11099 - fi
1.11100 - link_all_deplibs_CXX=yes
1.11101 - ;;
1.11102 - esac
1.11103 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11104 - hardcode_libdir_separator_CXX=:
1.11105 - ;;
1.11106 - linux*)
1.11107 - case $cc_basename in
1.11108 - KCC)
1.11109 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.11110 -
1.11111 - # KCC will only create a shared library if the output file
1.11112 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.11113 - # to its proper name (with version) after linking.
1.11114 - 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.11115 - 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.11116 - # Commands to make compiler produce verbose output that lists
1.11117 - # what "hidden" libraries, object files and flags are used when
1.11118 - # linking a shared library.
1.11119 - #
1.11120 - # There doesn't appear to be a way to prevent this compiler from
1.11121 - # explicitly linking system object files so we need to strip them
1.11122 - # from the output so that they don't get included in the library
1.11123 - # dependencies.
1.11124 - 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.11125 -
1.11126 - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
1.11127 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.11128 -
1.11129 - # Archives containing C++ object files must be created using
1.11130 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1.11131 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1.11132 - ;;
1.11133 - icpc)
1.11134 - # Intel C++
1.11135 - with_gnu_ld=yes
1.11136 - archive_cmds_need_lc_CXX=no
1.11137 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.11138 - 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.11139 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.11140 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.11141 - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
1.11142 - ;;
1.11143 - cxx)
1.11144 - # Compaq C++
1.11145 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.11146 - 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.11147 -
1.11148 - runpath_var=LD_RUN_PATH
1.11149 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1.11150 - hardcode_libdir_separator_CXX=:
1.11151 -
1.11152 - # Commands to make compiler produce verbose output that lists
1.11153 - # what "hidden" libraries, object files and flags are used when
1.11154 - # linking a shared library.
1.11155 - #
1.11156 - # There doesn't appear to be a way to prevent this compiler from
1.11157 - # explicitly linking system object files so we need to strip them
1.11158 - # from the output so that they don't get included in the library
1.11159 - # dependencies.
1.11160 - 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.11161 - ;;
1.11162 - esac
1.11163 - ;;
1.11164 - lynxos*)
1.11165 - # FIXME: insert proper C++ library support
1.11166 - ld_shlibs_CXX=no
1.11167 - ;;
1.11168 - m88k*)
1.11169 - # FIXME: insert proper C++ library support
1.11170 - ld_shlibs_CXX=no
1.11171 - ;;
1.11172 - mvs*)
1.11173 - case $cc_basename in
1.11174 - cxx)
1.11175 - # FIXME: insert proper C++ library support
1.11176 - ld_shlibs_CXX=no
1.11177 - ;;
1.11178 - *)
1.11179 - # FIXME: insert proper C++ library support
1.11180 - ld_shlibs_CXX=no
1.11181 - ;;
1.11182 - esac
1.11183 - ;;
1.11184 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.11185 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.11186 - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1.11187 - wlarc=
1.11188 - hardcode_libdir_flag_spec_CXX='-R$libdir'
1.11189 - hardcode_direct_CXX=yes
1.11190 - hardcode_shlibpath_var_CXX=no
1.11191 - fi
1.11192 - # Workaround some broken pre-1.5 toolchains
1.11193 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
1.11194 - ;;
1.11195 - osf3*)
1.11196 - case $cc_basename in
1.11197 - KCC)
1.11198 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.11199 -
1.11200 - # KCC will only create a shared library if the output file
1.11201 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.11202 - # to its proper name (with version) after linking.
1.11203 - 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.11204 -
1.11205 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.11206 - hardcode_libdir_separator_CXX=:
1.11207 -
1.11208 - # Archives containing C++ object files must be created using
1.11209 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1.11210 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1.11211 -
1.11212 - ;;
1.11213 - RCC)
1.11214 - # Rational C++ 2.4.1
1.11215 - # FIXME: insert proper C++ library support
1.11216 - ld_shlibs_CXX=no
1.11217 - ;;
1.11218 - cxx)
1.11219 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.11220 - 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.11221 -
1.11222 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11223 - hardcode_libdir_separator_CXX=:
1.11224 -
1.11225 - # Commands to make compiler produce verbose output that lists
1.11226 - # what "hidden" libraries, object files and flags are used when
1.11227 - # linking a shared library.
1.11228 - #
1.11229 - # There doesn't appear to be a way to prevent this compiler from
1.11230 - # explicitly linking system object files so we need to strip them
1.11231 - # from the output so that they don't get included in the library
1.11232 - # dependencies.
1.11233 - 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.11234 - ;;
1.11235 - *)
1.11236 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.11237 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.11238 - 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.11239 -
1.11240 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11241 - hardcode_libdir_separator_CXX=:
1.11242 -
1.11243 - # Commands to make compiler produce verbose output that lists
1.11244 - # what "hidden" libraries, object files and flags are used when
1.11245 - # linking a shared library.
1.11246 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.11247 -
1.11248 - else
1.11249 - # FIXME: insert proper C++ library support
1.11250 - ld_shlibs_CXX=no
1.11251 - fi
1.11252 - ;;
1.11253 - esac
1.11254 - ;;
1.11255 - osf4* | osf5*)
1.11256 - case $cc_basename in
1.11257 - KCC)
1.11258 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.11259 -
1.11260 - # KCC will only create a shared library if the output file
1.11261 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.11262 - # to its proper name (with version) after linking.
1.11263 - 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.11264 -
1.11265 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.11266 - hardcode_libdir_separator_CXX=:
1.11267 -
1.11268 - # Archives containing C++ object files must be created using
1.11269 - # the KAI C++ compiler.
1.11270 - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
1.11271 - ;;
1.11272 - RCC)
1.11273 - # Rational C++ 2.4.1
1.11274 - # FIXME: insert proper C++ library support
1.11275 - ld_shlibs_CXX=no
1.11276 - ;;
1.11277 - cxx)
1.11278 - allow_undefined_flag_CXX=' -expect_unresolved \*'
1.11279 - 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.11280 - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1.11281 - echo "-hidden">> $lib.exp~
1.11282 - $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.11283 - $rm $lib.exp'
1.11284 -
1.11285 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1.11286 - hardcode_libdir_separator_CXX=:
1.11287 -
1.11288 - # Commands to make compiler produce verbose output that lists
1.11289 - # what "hidden" libraries, object files and flags are used when
1.11290 - # linking a shared library.
1.11291 - #
1.11292 - # There doesn't appear to be a way to prevent this compiler from
1.11293 - # explicitly linking system object files so we need to strip them
1.11294 - # from the output so that they don't get included in the library
1.11295 - # dependencies.
1.11296 - 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.11297 - ;;
1.11298 - *)
1.11299 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.11300 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.11301 - 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.11302 -
1.11303 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.11304 - hardcode_libdir_separator_CXX=:
1.11305 -
1.11306 - # Commands to make compiler produce verbose output that lists
1.11307 - # what "hidden" libraries, object files and flags are used when
1.11308 - # linking a shared library.
1.11309 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.11310 -
1.11311 - else
1.11312 - # FIXME: insert proper C++ library support
1.11313 - ld_shlibs_CXX=no
1.11314 - fi
1.11315 - ;;
1.11316 - esac
1.11317 - ;;
1.11318 - psos*)
1.11319 - # FIXME: insert proper C++ library support
1.11320 - ld_shlibs_CXX=no
1.11321 - ;;
1.11322 - sco*)
1.11323 - archive_cmds_need_lc_CXX=no
1.11324 - case $cc_basename in
1.11325 - CC)
1.11326 - # FIXME: insert proper C++ library support
1.11327 - ld_shlibs_CXX=no
1.11328 - ;;
1.11329 - *)
1.11330 - # FIXME: insert proper C++ library support
1.11331 - ld_shlibs_CXX=no
1.11332 - ;;
1.11333 - esac
1.11334 - ;;
1.11335 - sunos4*)
1.11336 - case $cc_basename in
1.11337 - CC)
1.11338 - # Sun C++ 4.x
1.11339 - # FIXME: insert proper C++ library support
1.11340 - ld_shlibs_CXX=no
1.11341 - ;;
1.11342 - lcc)
1.11343 - # Lucid
1.11344 - # FIXME: insert proper C++ library support
1.11345 - ld_shlibs_CXX=no
1.11346 - ;;
1.11347 - *)
1.11348 - # FIXME: insert proper C++ library support
1.11349 - ld_shlibs_CXX=no
1.11350 - ;;
1.11351 - esac
1.11352 - ;;
1.11353 - solaris*)
1.11354 - case $cc_basename in
1.11355 - CC)
1.11356 - # Sun C++ 4.2, 5.x and Centerline C++
1.11357 - no_undefined_flag_CXX=' -zdefs'
1.11358 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.11359 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.11360 - $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.11361 -
1.11362 - hardcode_libdir_flag_spec_CXX='-R$libdir'
1.11363 - hardcode_shlibpath_var_CXX=no
1.11364 - case $host_os in
1.11365 - solaris2.0-5 | solaris2.0-5.*) ;;
1.11366 - *)
1.11367 - # The C++ compiler is used as linker so we must use $wl
1.11368 - # flag to pass the commands to the underlying system
1.11369 - # linker.
1.11370 - # Supported since Solaris 2.6 (maybe 2.5.1?)
1.11371 - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
1.11372 - ;;
1.11373 - esac
1.11374 - link_all_deplibs_CXX=yes
1.11375 -
1.11376 - # Commands to make compiler produce verbose output that lists
1.11377 - # what "hidden" libraries, object files and flags are used when
1.11378 - # linking a shared library.
1.11379 - #
1.11380 - # There doesn't appear to be a way to prevent this compiler from
1.11381 - # explicitly linking system object files so we need to strip them
1.11382 - # from the output so that they don't get included in the library
1.11383 - # dependencies.
1.11384 - 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.11385 -
1.11386 - # Archives containing C++ object files must be created using
1.11387 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
1.11388 - # necessary to make sure instantiated templates are included
1.11389 - # in the archive.
1.11390 - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
1.11391 - ;;
1.11392 - gcx)
1.11393 - # Green Hills C++ Compiler
1.11394 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.11395 -
1.11396 - # The C++ compiler must be used to create the archive.
1.11397 - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
1.11398 - ;;
1.11399 - *)
1.11400 - # GNU C++ compiler with Solaris linker
1.11401 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.11402 - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
1.11403 - if $CC --version | grep -v '^2\.7' > /dev/null; then
1.11404 - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.11405 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.11406 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.11407 -
1.11408 - # Commands to make compiler produce verbose output that lists
1.11409 - # what "hidden" libraries, object files and flags are used when
1.11410 - # linking a shared library.
1.11411 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
1.11412 - else
1.11413 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
1.11414 - # platform.
1.11415 - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.11416 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.11417 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.11418 -
1.11419 - # Commands to make compiler produce verbose output that lists
1.11420 - # what "hidden" libraries, object files and flags are used when
1.11421 - # linking a shared library.
1.11422 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
1.11423 - fi
1.11424 -
1.11425 - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
1.11426 - fi
1.11427 - ;;
1.11428 - esac
1.11429 - ;;
1.11430 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.11431 - archive_cmds_need_lc_CXX=no
1.11432 - ;;
1.11433 - tandem*)
1.11434 - case $cc_basename in
1.11435 - NCC)
1.11436 - # NonStop-UX NCC 3.20
1.11437 - # FIXME: insert proper C++ library support
1.11438 - ld_shlibs_CXX=no
1.11439 - ;;
1.11440 - *)
1.11441 - # FIXME: insert proper C++ library support
1.11442 - ld_shlibs_CXX=no
1.11443 - ;;
1.11444 - esac
1.11445 - ;;
1.11446 - vxworks*)
1.11447 - # FIXME: insert proper C++ library support
1.11448 - ld_shlibs_CXX=no
1.11449 - ;;
1.11450 - *)
1.11451 - # FIXME: insert proper C++ library support
1.11452 - ld_shlibs_CXX=no
1.11453 - ;;
1.11454 -esac
1.11455 -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1.11456 -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
1.11457 -test "$ld_shlibs_CXX" = no && can_build_shared=no
1.11458 -
1.11459 -GCC_CXX="$GXX"
1.11460 -LD_CXX="$LD"
1.11461 -
1.11462 -## CAVEAT EMPTOR:
1.11463 -## There is no encapsulation within the following macros, do not change
1.11464 -## the running order or otherwise move them around unless you know exactly
1.11465 -## what you are doing...
1.11466 -
1.11467 -cat > conftest.$ac_ext <<EOF
1.11468 -class Foo
1.11469 -{
1.11470 -public:
1.11471 - Foo (void) { a = 0; }
1.11472 -private:
1.11473 - int a;
1.11474 -};
1.11475 -EOF
1.11476 -
1.11477 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.11478 - (eval $ac_compile) 2>&5
1.11479 - ac_status=$?
1.11480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11481 - (exit $ac_status); }; then
1.11482 - # Parse the compiler output and extract the necessary
1.11483 - # objects, libraries and library flags.
1.11484 -
1.11485 - # Sentinel used to keep track of whether or not we are before
1.11486 - # the conftest object file.
1.11487 - pre_test_object_deps_done=no
1.11488 -
1.11489 - # The `*' in the case matches for architectures that use `case' in
1.11490 - # $output_verbose_cmd can trigger glob expansion during the loop
1.11491 - # eval without this substitution.
1.11492 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
1.11493 -
1.11494 - for p in `eval $output_verbose_link_cmd`; do
1.11495 - case $p in
1.11496 -
1.11497 - -L* | -R* | -l*)
1.11498 - # Some compilers place space between "-{L,R}" and the path.
1.11499 - # Remove the space.
1.11500 - if test $p = "-L" \
1.11501 - || test $p = "-R"; then
1.11502 - prev=$p
1.11503 - continue
1.11504 - else
1.11505 - prev=
1.11506 - fi
1.11507 -
1.11508 - if test "$pre_test_object_deps_done" = no; then
1.11509 - case $p in
1.11510 - -L* | -R*)
1.11511 - # Internal compiler library paths should come after those
1.11512 - # provided the user. The postdeps already come after the
1.11513 - # user supplied libs so there is no need to process them.
1.11514 - if test -z "$compiler_lib_search_path_CXX"; then
1.11515 - compiler_lib_search_path_CXX="${prev}${p}"
1.11516 - else
1.11517 - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
1.11518 - fi
1.11519 - ;;
1.11520 - # The "-l" case would never come before the object being
1.11521 - # linked, so don't bother handling this case.
1.11522 - esac
1.11523 - else
1.11524 - if test -z "$postdeps_CXX"; then
1.11525 - postdeps_CXX="${prev}${p}"
1.11526 - else
1.11527 - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
1.11528 - fi
1.11529 - fi
1.11530 - ;;
1.11531 -
1.11532 - *.$objext)
1.11533 - # This assumes that the test object file only shows up
1.11534 - # once in the compiler output.
1.11535 - if test "$p" = "conftest.$objext"; then
1.11536 - pre_test_object_deps_done=yes
1.11537 - continue
1.11538 - fi
1.11539 -
1.11540 - if test "$pre_test_object_deps_done" = no; then
1.11541 - if test -z "$predep_objects_CXX"; then
1.11542 - predep_objects_CXX="$p"
1.11543 - else
1.11544 - predep_objects_CXX="$predep_objects_CXX $p"
1.11545 - fi
1.11546 - else
1.11547 - if test -z "$postdep_objects_CXX"; then
1.11548 - postdep_objects_CXX="$p"
1.11549 - else
1.11550 - postdep_objects_CXX="$postdep_objects_CXX $p"
1.11551 - fi
1.11552 - fi
1.11553 - ;;
1.11554 -
1.11555 - *) ;; # Ignore the rest.
1.11556 -
1.11557 - esac
1.11558 - done
1.11559 -
1.11560 - # Clean up.
1.11561 - rm -f a.out a.exe
1.11562 -else
1.11563 - echo "libtool.m4: error: problem compiling CXX test program"
1.11564 -fi
1.11565 -
1.11566 -$rm -f confest.$objext
1.11567 -
1.11568 -case " $postdeps_CXX " in
1.11569 -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
1.11570 -esac
1.11571 -
1.11572 -lt_prog_compiler_wl_CXX=
1.11573 -lt_prog_compiler_pic_CXX=
1.11574 -lt_prog_compiler_static_CXX=
1.11575 -
1.11576 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.11577 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.11578 -
1.11579 - # C++ specific cases for pic, static, wl, etc.
1.11580 - if test "$GXX" = yes; then
1.11581 - lt_prog_compiler_wl_CXX='-Wl,'
1.11582 - lt_prog_compiler_static_CXX='-static'
1.11583 -
1.11584 - case $host_os in
1.11585 - aix*)
1.11586 - # All AIX code is PIC.
1.11587 - if test "$host_cpu" = ia64; then
1.11588 - # AIX 5 now supports IA64 processor
1.11589 - lt_prog_compiler_static_CXX='-Bstatic'
1.11590 - fi
1.11591 - ;;
1.11592 - amigaos*)
1.11593 - # FIXME: we need at least 68020 code to build shared libraries, but
1.11594 - # adding the `-m68020' flag to GCC prevents building anything better,
1.11595 - # like `-m68040'.
1.11596 - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
1.11597 - ;;
1.11598 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.11599 - # PIC is the default for these OSes.
1.11600 - ;;
1.11601 - mingw* | os2* | pw32*)
1.11602 - # This hack is so that the source file can tell whether it is being
1.11603 - # built for inclusion in a dll (and should export symbols for example).
1.11604 - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
1.11605 - ;;
1.11606 - darwin* | rhapsody*)
1.11607 - # PIC is the default on this platform
1.11608 - # Common symbols not allowed in MH_DYLIB files
1.11609 - lt_prog_compiler_pic_CXX='-fno-common'
1.11610 - ;;
1.11611 - *djgpp*)
1.11612 - # DJGPP does not support shared libraries at all
1.11613 - lt_prog_compiler_pic_CXX=
1.11614 - ;;
1.11615 - sysv4*MP*)
1.11616 - if test -d /usr/nec; then
1.11617 - lt_prog_compiler_pic_CXX=-Kconform_pic
1.11618 - fi
1.11619 - ;;
1.11620 - hpux*)
1.11621 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.11622 - # not for PA HP-UX.
1.11623 - case "$host_cpu" in
1.11624 - hppa*64*|ia64*)
1.11625 - ;;
1.11626 - *)
1.11627 - lt_prog_compiler_pic_CXX='-fPIC'
1.11628 - ;;
1.11629 - esac
1.11630 - ;;
1.11631 - *)
1.11632 - lt_prog_compiler_pic_CXX='-fPIC'
1.11633 - ;;
1.11634 - esac
1.11635 - else
1.11636 - case $host_os in
1.11637 - aix4* | aix5*)
1.11638 - # All AIX code is PIC.
1.11639 - if test "$host_cpu" = ia64; then
1.11640 - # AIX 5 now supports IA64 processor
1.11641 - lt_prog_compiler_static_CXX='-Bstatic'
1.11642 - else
1.11643 - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
1.11644 - fi
1.11645 - ;;
1.11646 - chorus*)
1.11647 - case $cc_basename in
1.11648 - cxch68)
1.11649 - # Green Hills C++ Compiler
1.11650 - # _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.11651 - ;;
1.11652 - esac
1.11653 - ;;
1.11654 - dgux*)
1.11655 - case $cc_basename in
1.11656 - ec++)
1.11657 - lt_prog_compiler_pic_CXX='-KPIC'
1.11658 - ;;
1.11659 - ghcx)
1.11660 - # Green Hills C++ Compiler
1.11661 - lt_prog_compiler_pic_CXX='-pic'
1.11662 - ;;
1.11663 - *)
1.11664 - ;;
1.11665 - esac
1.11666 - ;;
1.11667 - freebsd* | kfreebsd*-gnu)
1.11668 - # FreeBSD uses GNU C++
1.11669 - ;;
1.11670 - hpux9* | hpux10* | hpux11*)
1.11671 - case $cc_basename in
1.11672 - CC)
1.11673 - lt_prog_compiler_wl_CXX='-Wl,'
1.11674 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1.11675 - if test "$host_cpu" != ia64; then
1.11676 - lt_prog_compiler_pic_CXX='+Z'
1.11677 - fi
1.11678 - ;;
1.11679 - aCC)
1.11680 - lt_prog_compiler_wl_CXX='-Wl,'
1.11681 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1.11682 - case "$host_cpu" in
1.11683 - hppa*64*|ia64*)
1.11684 - # +Z the default
1.11685 - ;;
1.11686 - *)
1.11687 - lt_prog_compiler_pic_CXX='+Z'
1.11688 - ;;
1.11689 - esac
1.11690 - ;;
1.11691 - *)
1.11692 - ;;
1.11693 - esac
1.11694 - ;;
1.11695 - irix5* | irix6* | nonstopux*)
1.11696 - case $cc_basename in
1.11697 - CC)
1.11698 - lt_prog_compiler_wl_CXX='-Wl,'
1.11699 - lt_prog_compiler_static_CXX='-non_shared'
1.11700 - # CC pic flag -KPIC is the default.
1.11701 - ;;
1.11702 - *)
1.11703 - ;;
1.11704 - esac
1.11705 - ;;
1.11706 - linux*)
1.11707 - case $cc_basename in
1.11708 - KCC)
1.11709 - # KAI C++ Compiler
1.11710 - lt_prog_compiler_wl_CXX='--backend -Wl,'
1.11711 - lt_prog_compiler_pic_CXX='-fPIC'
1.11712 - ;;
1.11713 - icpc)
1.11714 - # Intel C++
1.11715 - lt_prog_compiler_wl_CXX='-Wl,'
1.11716 - lt_prog_compiler_pic_CXX='-KPIC'
1.11717 - lt_prog_compiler_static_CXX='-static'
1.11718 - ;;
1.11719 - cxx)
1.11720 - # Compaq C++
1.11721 - # Make sure the PIC flag is empty. It appears that all Alpha
1.11722 - # Linux and Compaq Tru64 Unix objects are PIC.
1.11723 - lt_prog_compiler_pic_CXX=
1.11724 - lt_prog_compiler_static_CXX='-non_shared'
1.11725 - ;;
1.11726 - *)
1.11727 - ;;
1.11728 - esac
1.11729 - ;;
1.11730 - lynxos*)
1.11731 - ;;
1.11732 - m88k*)
1.11733 - ;;
1.11734 - mvs*)
1.11735 - case $cc_basename in
1.11736 - cxx)
1.11737 - lt_prog_compiler_pic_CXX='-W c,exportall'
1.11738 - ;;
1.11739 - *)
1.11740 - ;;
1.11741 - esac
1.11742 - ;;
1.11743 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.11744 - ;;
1.11745 - osf3* | osf4* | osf5*)
1.11746 - case $cc_basename in
1.11747 - KCC)
1.11748 - lt_prog_compiler_wl_CXX='--backend -Wl,'
1.11749 - ;;
1.11750 - RCC)
1.11751 - # Rational C++ 2.4.1
1.11752 - lt_prog_compiler_pic_CXX='-pic'
1.11753 - ;;
1.11754 - cxx)
1.11755 - # Digital/Compaq C++
1.11756 - lt_prog_compiler_wl_CXX='-Wl,'
1.11757 - # Make sure the PIC flag is empty. It appears that all Alpha
1.11758 - # Linux and Compaq Tru64 Unix objects are PIC.
1.11759 - lt_prog_compiler_pic_CXX=
1.11760 - lt_prog_compiler_static_CXX='-non_shared'
1.11761 - ;;
1.11762 - *)
1.11763 - ;;
1.11764 - esac
1.11765 - ;;
1.11766 - psos*)
1.11767 - ;;
1.11768 - sco*)
1.11769 - case $cc_basename in
1.11770 - CC)
1.11771 - lt_prog_compiler_pic_CXX='-fPIC'
1.11772 - ;;
1.11773 - *)
1.11774 - ;;
1.11775 - esac
1.11776 - ;;
1.11777 - solaris*)
1.11778 - case $cc_basename in
1.11779 - CC)
1.11780 - # Sun C++ 4.2, 5.x and Centerline C++
1.11781 - lt_prog_compiler_pic_CXX='-KPIC'
1.11782 - lt_prog_compiler_static_CXX='-Bstatic'
1.11783 - lt_prog_compiler_wl_CXX='-Qoption ld '
1.11784 - ;;
1.11785 - gcx)
1.11786 - # Green Hills C++ Compiler
1.11787 - lt_prog_compiler_pic_CXX='-PIC'
1.11788 - ;;
1.11789 - *)
1.11790 - ;;
1.11791 - esac
1.11792 - ;;
1.11793 - sunos4*)
1.11794 - case $cc_basename in
1.11795 - CC)
1.11796 - # Sun C++ 4.x
1.11797 - lt_prog_compiler_pic_CXX='-pic'
1.11798 - lt_prog_compiler_static_CXX='-Bstatic'
1.11799 - ;;
1.11800 - lcc)
1.11801 - # Lucid
1.11802 - lt_prog_compiler_pic_CXX='-pic'
1.11803 - ;;
1.11804 - *)
1.11805 - ;;
1.11806 - esac
1.11807 - ;;
1.11808 - tandem*)
1.11809 - case $cc_basename in
1.11810 - NCC)
1.11811 - # NonStop-UX NCC 3.20
1.11812 - lt_prog_compiler_pic_CXX='-KPIC'
1.11813 - ;;
1.11814 - *)
1.11815 - ;;
1.11816 - esac
1.11817 - ;;
1.11818 - unixware*)
1.11819 - ;;
1.11820 - vxworks*)
1.11821 - ;;
1.11822 - *)
1.11823 - lt_prog_compiler_can_build_shared_CXX=no
1.11824 - ;;
1.11825 - esac
1.11826 - fi
1.11827 -
1.11828 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
1.11829 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
1.11830 -
1.11831 -#
1.11832 -# Check to make sure the PIC flag actually works.
1.11833 -#
1.11834 -if test -n "$lt_prog_compiler_pic_CXX"; then
1.11835 -
1.11836 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
1.11837 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
1.11838 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
1.11839 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11840 -else
1.11841 - lt_prog_compiler_pic_works_CXX=no
1.11842 - ac_outfile=conftest.$ac_objext
1.11843 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.11844 - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
1.11845 - # Insert the option either (1) after the last *FLAGS variable, or
1.11846 - # (2) before a word containing "conftest.", or (3) at the end.
1.11847 - # Note that $ac_compile itself does not contain backslashes and begins
1.11848 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.11849 - # The option is referenced via a variable to avoid confusing sed.
1.11850 - lt_compile=`echo "$ac_compile" | $SED \
1.11851 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.11852 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.11853 - -e 's:$: $lt_compiler_flag:'`
1.11854 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.11855 - (eval "$lt_compile" 2>conftest.err)
1.11856 - ac_status=$?
1.11857 - cat conftest.err >&5
1.11858 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.11859 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.11860 - # The compiler can only warn and ignore the option if not recognized
1.11861 - # So say no if there are warnings
1.11862 - if test ! -s conftest.err; then
1.11863 - lt_prog_compiler_pic_works_CXX=yes
1.11864 - fi
1.11865 - fi
1.11866 - $rm conftest*
1.11867 -
1.11868 -fi
1.11869 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
1.11870 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
1.11871 -
1.11872 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1.11873 - case $lt_prog_compiler_pic_CXX in
1.11874 - "" | " "*) ;;
1.11875 - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
1.11876 - esac
1.11877 -else
1.11878 - lt_prog_compiler_pic_CXX=
1.11879 - lt_prog_compiler_can_build_shared_CXX=no
1.11880 -fi
1.11881 -
1.11882 -fi
1.11883 -case "$host_os" in
1.11884 - # For platforms which do not support PIC, -DPIC is meaningless:
1.11885 - *djgpp*)
1.11886 - lt_prog_compiler_pic_CXX=
1.11887 - ;;
1.11888 - *)
1.11889 - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
1.11890 - ;;
1.11891 -esac
1.11892 -
1.11893 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.11894 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.11895 -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
1.11896 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11897 -else
1.11898 - lt_cv_prog_compiler_c_o_CXX=no
1.11899 - $rm -r conftest 2>/dev/null
1.11900 - mkdir conftest
1.11901 - cd conftest
1.11902 - mkdir out
1.11903 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.11904 -
1.11905 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.11906 - # Insert the option either (1) after the last *FLAGS variable, or
1.11907 - # (2) before a word containing "conftest.", or (3) at the end.
1.11908 - # Note that $ac_compile itself does not contain backslashes and begins
1.11909 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.11910 - lt_compile=`echo "$ac_compile" | $SED \
1.11911 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.11912 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.11913 - -e 's:$: $lt_compiler_flag:'`
1.11914 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.11915 - (eval "$lt_compile" 2>out/conftest.err)
1.11916 - ac_status=$?
1.11917 - cat out/conftest.err >&5
1.11918 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.11919 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.11920 - then
1.11921 - # The compiler can only warn and ignore the option if not recognized
1.11922 - # So say no if there are warnings
1.11923 - if test ! -s out/conftest.err; then
1.11924 - lt_cv_prog_compiler_c_o_CXX=yes
1.11925 - fi
1.11926 - fi
1.11927 - chmod u+w .
1.11928 - $rm conftest*
1.11929 - # SGI C++ compiler will create directory out/ii_files/ for
1.11930 - # template instantiation
1.11931 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.11932 - $rm out/* && rmdir out
1.11933 - cd ..
1.11934 - rmdir conftest
1.11935 - $rm conftest*
1.11936 -
1.11937 -fi
1.11938 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
1.11939 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.11940 -
1.11941 -
1.11942 -hard_links="nottested"
1.11943 -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1.11944 - # do not overwrite the value of need_locks provided by the user
1.11945 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.11946 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.11947 - hard_links=yes
1.11948 - $rm conftest*
1.11949 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11950 - touch conftest.a
1.11951 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.11952 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11953 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.11954 -echo "${ECHO_T}$hard_links" >&6; }
1.11955 - if test "$hard_links" = no; then
1.11956 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.11957 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.11958 - need_locks=warn
1.11959 - fi
1.11960 -else
1.11961 - need_locks=no
1.11962 -fi
1.11963 -
1.11964 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.11965 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.11966 -
1.11967 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.11968 - case $host_os in
1.11969 - aix4* | aix5*)
1.11970 - # If we're using GNU nm, then we don't want the "-C" option.
1.11971 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.11972 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.11973 - 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.11974 - else
1.11975 - 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.11976 - fi
1.11977 - ;;
1.11978 - pw32*)
1.11979 - export_symbols_cmds_CXX="$ltdll_cmds"
1.11980 - ;;
1.11981 - cygwin* | mingw*)
1.11982 - 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.11983 - ;;
1.11984 - linux*)
1.11985 - link_all_deplibs_CXX=no
1.11986 - ;;
1.11987 - *)
1.11988 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.11989 - ;;
1.11990 - esac
1.11991 -
1.11992 -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1.11993 -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
1.11994 -test "$ld_shlibs_CXX" = no && can_build_shared=no
1.11995 -
1.11996 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.11997 -if test "$GCC" = yes; then
1.11998 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.11999 -fi
1.12000 -
1.12001 -#
1.12002 -# Do we need to explicitly link libc?
1.12003 -#
1.12004 -case "x$archive_cmds_need_lc_CXX" in
1.12005 -x|xyes)
1.12006 - # Assume -lc should be added
1.12007 - archive_cmds_need_lc_CXX=yes
1.12008 -
1.12009 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.12010 - case $archive_cmds_CXX in
1.12011 - *'~'*)
1.12012 - # FIXME: we may have to deal with multi-command sequences.
1.12013 - ;;
1.12014 - '$CC '*)
1.12015 - # Test whether the compiler implicitly links with -lc since on some
1.12016 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.12017 - # to ld, don't add -lc before -lgcc.
1.12018 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.12019 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.12020 - $rm conftest*
1.12021 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.12022 -
1.12023 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.12024 - (eval $ac_compile) 2>&5
1.12025 - ac_status=$?
1.12026 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12027 - (exit $ac_status); } 2>conftest.err; then
1.12028 - soname=conftest
1.12029 - lib=conftest
1.12030 - libobjs=conftest.$ac_objext
1.12031 - deplibs=
1.12032 - wl=$lt_prog_compiler_wl_CXX
1.12033 - compiler_flags=-v
1.12034 - linker_flags=-v
1.12035 - verstring=
1.12036 - output_objdir=.
1.12037 - libname=conftest
1.12038 - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1.12039 - allow_undefined_flag_CXX=
1.12040 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.12041 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.12042 - ac_status=$?
1.12043 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12044 - (exit $ac_status); }
1.12045 - then
1.12046 - archive_cmds_need_lc_CXX=no
1.12047 - else
1.12048 - archive_cmds_need_lc_CXX=yes
1.12049 - fi
1.12050 - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
1.12051 - else
1.12052 - cat conftest.err 1>&5
1.12053 - fi
1.12054 - $rm conftest*
1.12055 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
1.12056 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
1.12057 - ;;
1.12058 - esac
1.12059 - fi
1.12060 - ;;
1.12061 -esac
1.12062 -
1.12063 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.12064 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.12065 -library_names_spec=
1.12066 -libname_spec='lib$name'
1.12067 -soname_spec=
1.12068 -shrext_cmds=".so"
1.12069 -postinstall_cmds=
1.12070 -postuninstall_cmds=
1.12071 -finish_cmds=
1.12072 -finish_eval=
1.12073 -shlibpath_var=
1.12074 -shlibpath_overrides_runpath=unknown
1.12075 -version_type=none
1.12076 -dynamic_linker="$host_os ld.so"
1.12077 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.12078 -if test "$GCC" = yes; then
1.12079 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.12080 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.12081 - # if the path contains ";" then we assume it to be the separator
1.12082 - # otherwise default to the standard path separator (i.e. ":") - it is
1.12083 - # assumed that no part of a normal pathname contains ";" but that should
1.12084 - # okay in the real world where ";" in dirpaths is itself problematic.
1.12085 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.12086 - else
1.12087 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.12088 - fi
1.12089 -else
1.12090 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.12091 -fi
1.12092 -need_lib_prefix=unknown
1.12093 -hardcode_into_libs=no
1.12094 -
1.12095 -# when you set need_version to no, make sure it does not cause -set_version
1.12096 -# flags to be left without arguments
1.12097 -need_version=unknown
1.12098 -
1.12099 -case $host_os in
1.12100 -aix3*)
1.12101 - version_type=linux
1.12102 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.12103 - shlibpath_var=LIBPATH
1.12104 -
1.12105 - # AIX 3 has no versioning support, so we append a major version to the name.
1.12106 - soname_spec='${libname}${release}${shared_ext}$major'
1.12107 - ;;
1.12108 -
1.12109 -aix4* | aix5*)
1.12110 - version_type=linux
1.12111 - need_lib_prefix=no
1.12112 - need_version=no
1.12113 - hardcode_into_libs=yes
1.12114 - if test "$host_cpu" = ia64; then
1.12115 - # AIX 5 supports IA64
1.12116 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.12117 - shlibpath_var=LD_LIBRARY_PATH
1.12118 - else
1.12119 - # With GCC up to 2.95.x, collect2 would create an import file
1.12120 - # for dependence libraries. The import file would start with
1.12121 - # the line `#! .'. This would cause the generated library to
1.12122 - # depend on `.', always an invalid library. This was fixed in
1.12123 - # development snapshots of GCC prior to 3.0.
1.12124 - case $host_os in
1.12125 - aix4 | aix4.[01] | aix4.[01].*)
1.12126 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.12127 - echo ' yes '
1.12128 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.12129 - :
1.12130 - else
1.12131 - can_build_shared=no
1.12132 - fi
1.12133 - ;;
1.12134 - esac
1.12135 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.12136 - # soname into executable. Probably we can add versioning support to
1.12137 - # collect2, so additional links can be useful in future.
1.12138 - if test "$aix_use_runtimelinking" = yes; then
1.12139 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.12140 - # instead of lib<name>.a to let people know that these are not
1.12141 - # typical AIX shared libraries.
1.12142 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12143 - else
1.12144 - # We preserve .a as extension for shared libraries through AIX4.2
1.12145 - # and later when we are not doing run time linking.
1.12146 - library_names_spec='${libname}${release}.a $libname.a'
1.12147 - soname_spec='${libname}${release}${shared_ext}$major'
1.12148 - fi
1.12149 - shlibpath_var=LIBPATH
1.12150 - fi
1.12151 - ;;
1.12152 -
1.12153 -amigaos*)
1.12154 - library_names_spec='$libname.ixlibrary $libname.a'
1.12155 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.12156 - 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.12157 - ;;
1.12158 -
1.12159 -beos*)
1.12160 - library_names_spec='${libname}${shared_ext}'
1.12161 - dynamic_linker="$host_os ld.so"
1.12162 - shlibpath_var=LIBRARY_PATH
1.12163 - ;;
1.12164 -
1.12165 -bsdi4*)
1.12166 - version_type=linux
1.12167 - need_version=no
1.12168 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12169 - soname_spec='${libname}${release}${shared_ext}$major'
1.12170 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.12171 - shlibpath_var=LD_LIBRARY_PATH
1.12172 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.12173 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.12174 - # the default ld.so.conf also contains /usr/contrib/lib and
1.12175 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.12176 - # libtool to hard-code these into programs
1.12177 - ;;
1.12178 -
1.12179 -cygwin* | mingw* | pw32*)
1.12180 - version_type=windows
1.12181 - shrext_cmds=".dll"
1.12182 - need_version=no
1.12183 - need_lib_prefix=no
1.12184 -
1.12185 - case $GCC,$host_os in
1.12186 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.12187 - library_names_spec='$libname.dll.a'
1.12188 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.12189 - postinstall_cmds='base_file=`basename \${file}`~
1.12190 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.12191 - dldir=$destdir/`dirname \$dlpath`~
1.12192 - test -d \$dldir || mkdir -p \$dldir~
1.12193 - $install_prog $dir/$dlname \$dldir/$dlname'
1.12194 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.12195 - dlpath=$dir/\$dldll~
1.12196 - $rm \$dlpath'
1.12197 - shlibpath_overrides_runpath=yes
1.12198 -
1.12199 - case $host_os in
1.12200 - cygwin*)
1.12201 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.12202 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.12203 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.12204 - ;;
1.12205 - mingw*)
1.12206 - # MinGW DLLs use traditional 'lib' prefix
1.12207 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.12208 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.12209 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.12210 - # It is most probably a Windows format PATH printed by
1.12211 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.12212 - # path with ; separators, and with drive letters. We can handle the
1.12213 - # drive letters (cygwin fileutils understands them), so leave them,
1.12214 - # especially as we might pass files found there to a mingw objdump,
1.12215 - # which wouldn't understand a cygwinified path. Ahh.
1.12216 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.12217 - else
1.12218 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.12219 - fi
1.12220 - ;;
1.12221 - pw32*)
1.12222 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.12223 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.12224 - ;;
1.12225 - esac
1.12226 - ;;
1.12227 -
1.12228 - *)
1.12229 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.12230 - ;;
1.12231 - esac
1.12232 - dynamic_linker='Win32 ld.exe'
1.12233 - # FIXME: first we should search . and the directory the executable is in
1.12234 - shlibpath_var=PATH
1.12235 - ;;
1.12236 -
1.12237 -darwin* | rhapsody*)
1.12238 - dynamic_linker="$host_os dyld"
1.12239 - version_type=darwin
1.12240 - need_lib_prefix=no
1.12241 - need_version=no
1.12242 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.12243 - soname_spec='${libname}${release}${major}$shared_ext'
1.12244 - shlibpath_overrides_runpath=yes
1.12245 - shlibpath_var=DYLD_LIBRARY_PATH
1.12246 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.12247 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.12248 - if test "$GCC" = yes; then
1.12249 - 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.12250 - else
1.12251 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.12252 - fi
1.12253 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.12254 - ;;
1.12255 -
1.12256 -dgux*)
1.12257 - version_type=linux
1.12258 - need_lib_prefix=no
1.12259 - need_version=no
1.12260 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.12261 - soname_spec='${libname}${release}${shared_ext}$major'
1.12262 - shlibpath_var=LD_LIBRARY_PATH
1.12263 - ;;
1.12264 -
1.12265 -freebsd1*)
1.12266 - dynamic_linker=no
1.12267 - ;;
1.12268 -
1.12269 -kfreebsd*-gnu)
1.12270 - version_type=linux
1.12271 - need_lib_prefix=no
1.12272 - need_version=no
1.12273 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.12274 - soname_spec='${libname}${release}${shared_ext}$major'
1.12275 - shlibpath_var=LD_LIBRARY_PATH
1.12276 - shlibpath_overrides_runpath=no
1.12277 - hardcode_into_libs=yes
1.12278 - dynamic_linker='GNU ld.so'
1.12279 - ;;
1.12280 -
1.12281 -freebsd*)
1.12282 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.12283 - version_type=freebsd-$objformat
1.12284 - case $version_type in
1.12285 - freebsd-elf*)
1.12286 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.12287 - need_version=no
1.12288 - need_lib_prefix=no
1.12289 - ;;
1.12290 - freebsd-*)
1.12291 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.12292 - need_version=yes
1.12293 - ;;
1.12294 - esac
1.12295 - shlibpath_var=LD_LIBRARY_PATH
1.12296 - case $host_os in
1.12297 - freebsd2*)
1.12298 - shlibpath_overrides_runpath=yes
1.12299 - ;;
1.12300 - freebsd3.01* | freebsdelf3.01*)
1.12301 - shlibpath_overrides_runpath=yes
1.12302 - hardcode_into_libs=yes
1.12303 - ;;
1.12304 - *) # from 3.2 on
1.12305 - shlibpath_overrides_runpath=no
1.12306 - hardcode_into_libs=yes
1.12307 - ;;
1.12308 - esac
1.12309 - ;;
1.12310 -
1.12311 -gnu*)
1.12312 - version_type=linux
1.12313 - need_lib_prefix=no
1.12314 - need_version=no
1.12315 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.12316 - soname_spec='${libname}${release}${shared_ext}$major'
1.12317 - shlibpath_var=LD_LIBRARY_PATH
1.12318 - hardcode_into_libs=yes
1.12319 - ;;
1.12320 -
1.12321 -hpux9* | hpux10* | hpux11*)
1.12322 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.12323 - # link against other versions.
1.12324 - version_type=sunos
1.12325 - need_lib_prefix=no
1.12326 - need_version=no
1.12327 - case "$host_cpu" in
1.12328 - ia64*)
1.12329 - shrext_cmds='.so'
1.12330 - hardcode_into_libs=yes
1.12331 - dynamic_linker="$host_os dld.so"
1.12332 - shlibpath_var=LD_LIBRARY_PATH
1.12333 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.12334 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12335 - soname_spec='${libname}${release}${shared_ext}$major'
1.12336 - if test "X$HPUX_IA64_MODE" = X32; then
1.12337 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.12338 - else
1.12339 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.12340 - fi
1.12341 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.12342 - ;;
1.12343 - hppa*64*)
1.12344 - shrext_cmds='.sl'
1.12345 - hardcode_into_libs=yes
1.12346 - dynamic_linker="$host_os dld.sl"
1.12347 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.12348 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.12349 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12350 - soname_spec='${libname}${release}${shared_ext}$major'
1.12351 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.12352 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.12353 - ;;
1.12354 - *)
1.12355 - shrext_cmds='.sl'
1.12356 - dynamic_linker="$host_os dld.sl"
1.12357 - shlibpath_var=SHLIB_PATH
1.12358 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.12359 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12360 - soname_spec='${libname}${release}${shared_ext}$major'
1.12361 - ;;
1.12362 - esac
1.12363 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.12364 - postinstall_cmds='chmod 555 $lib'
1.12365 - ;;
1.12366 -
1.12367 -irix5* | irix6* | nonstopux*)
1.12368 - case $host_os in
1.12369 - nonstopux*) version_type=nonstopux ;;
1.12370 - *)
1.12371 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.12372 - version_type=linux
1.12373 - else
1.12374 - version_type=irix
1.12375 - fi ;;
1.12376 - esac
1.12377 - need_lib_prefix=no
1.12378 - need_version=no
1.12379 - soname_spec='${libname}${release}${shared_ext}$major'
1.12380 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.12381 - case $host_os in
1.12382 - irix5* | nonstopux*)
1.12383 - libsuff= shlibsuff=
1.12384 - ;;
1.12385 - *)
1.12386 - case $LD in # libtool.m4 will add one of these switches to LD
1.12387 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.12388 - libsuff= shlibsuff= libmagic=32-bit;;
1.12389 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.12390 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.12391 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.12392 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.12393 - *) libsuff= shlibsuff= libmagic=never-match;;
1.12394 - esac
1.12395 - ;;
1.12396 - esac
1.12397 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.12398 - shlibpath_overrides_runpath=no
1.12399 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.12400 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.12401 - hardcode_into_libs=yes
1.12402 - ;;
1.12403 -
1.12404 -# No shared lib support for Linux oldld, aout, or coff.
1.12405 -linux*oldld* | linux*aout* | linux*coff*)
1.12406 - dynamic_linker=no
1.12407 - ;;
1.12408 -
1.12409 -# This must be Linux ELF.
1.12410 -linux*)
1.12411 - version_type=linux
1.12412 - need_lib_prefix=no
1.12413 - need_version=no
1.12414 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12415 - soname_spec='${libname}${release}${shared_ext}$major'
1.12416 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.12417 - shlibpath_var=LD_LIBRARY_PATH
1.12418 - shlibpath_overrides_runpath=no
1.12419 - # This implies no fast_install, which is unacceptable.
1.12420 - # Some rework will be needed to allow for fast_install
1.12421 - # before this can be enabled.
1.12422 - hardcode_into_libs=yes
1.12423 -
1.12424 - # Append ld.so.conf contents to the search path
1.12425 - if test -f /etc/ld.so.conf; then
1.12426 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.12427 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.12428 - fi
1.12429 -
1.12430 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.12431 - # powerpc, because MkLinux only supported shared libraries with the
1.12432 - # GNU dynamic linker. Since this was broken with cross compilers,
1.12433 - # most powerpc-linux boxes support dynamic linking these days and
1.12434 - # people can always --disable-shared, the test was removed, and we
1.12435 - # assume the GNU/Linux dynamic linker is in use.
1.12436 - dynamic_linker='GNU/Linux ld.so'
1.12437 - ;;
1.12438 -
1.12439 -netbsdelf*-gnu)
1.12440 - version_type=linux
1.12441 - need_lib_prefix=no
1.12442 - need_version=no
1.12443 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.12444 - soname_spec='${libname}${release}${shared_ext}$major'
1.12445 - shlibpath_var=LD_LIBRARY_PATH
1.12446 - shlibpath_overrides_runpath=no
1.12447 - hardcode_into_libs=yes
1.12448 - dynamic_linker='NetBSD ld.elf_so'
1.12449 - ;;
1.12450 -
1.12451 -knetbsd*-gnu)
1.12452 - version_type=linux
1.12453 - need_lib_prefix=no
1.12454 - need_version=no
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 - shlibpath_var=LD_LIBRARY_PATH
1.12458 - shlibpath_overrides_runpath=no
1.12459 - hardcode_into_libs=yes
1.12460 - dynamic_linker='GNU ld.so'
1.12461 - ;;
1.12462 -
1.12463 -netbsd*)
1.12464 - version_type=sunos
1.12465 - need_lib_prefix=no
1.12466 - need_version=no
1.12467 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.12468 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12469 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.12470 - dynamic_linker='NetBSD (a.out) ld.so'
1.12471 - else
1.12472 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.12473 - soname_spec='${libname}${release}${shared_ext}$major'
1.12474 - dynamic_linker='NetBSD ld.elf_so'
1.12475 - fi
1.12476 - shlibpath_var=LD_LIBRARY_PATH
1.12477 - shlibpath_overrides_runpath=yes
1.12478 - hardcode_into_libs=yes
1.12479 - ;;
1.12480 -
1.12481 -newsos6)
1.12482 - version_type=linux
1.12483 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12484 - shlibpath_var=LD_LIBRARY_PATH
1.12485 - shlibpath_overrides_runpath=yes
1.12486 - ;;
1.12487 -
1.12488 -nto-qnx*)
1.12489 - version_type=linux
1.12490 - need_lib_prefix=no
1.12491 - need_version=no
1.12492 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12493 - soname_spec='${libname}${release}${shared_ext}$major'
1.12494 - shlibpath_var=LD_LIBRARY_PATH
1.12495 - shlibpath_overrides_runpath=yes
1.12496 - ;;
1.12497 -
1.12498 -openbsd*)
1.12499 - version_type=sunos
1.12500 - need_lib_prefix=no
1.12501 - need_version=yes
1.12502 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12503 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.12504 - shlibpath_var=LD_LIBRARY_PATH
1.12505 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.12506 - case $host_os in
1.12507 - openbsd2.[89] | openbsd2.[89].*)
1.12508 - shlibpath_overrides_runpath=no
1.12509 - ;;
1.12510 - *)
1.12511 - shlibpath_overrides_runpath=yes
1.12512 - ;;
1.12513 - esac
1.12514 - else
1.12515 - shlibpath_overrides_runpath=yes
1.12516 - fi
1.12517 - ;;
1.12518 -
1.12519 -os2*)
1.12520 - libname_spec='$name'
1.12521 - shrext_cmds=".dll"
1.12522 - need_lib_prefix=no
1.12523 - library_names_spec='$libname${shared_ext} $libname.a'
1.12524 - dynamic_linker='OS/2 ld.exe'
1.12525 - shlibpath_var=LIBPATH
1.12526 - ;;
1.12527 -
1.12528 -osf3* | osf4* | osf5*)
1.12529 - version_type=osf
1.12530 - need_lib_prefix=no
1.12531 - need_version=no
1.12532 - soname_spec='${libname}${release}${shared_ext}$major'
1.12533 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12534 - shlibpath_var=LD_LIBRARY_PATH
1.12535 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.12536 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.12537 - ;;
1.12538 -
1.12539 -sco3.2v5*)
1.12540 - version_type=osf
1.12541 - soname_spec='${libname}${release}${shared_ext}$major'
1.12542 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12543 - shlibpath_var=LD_LIBRARY_PATH
1.12544 - ;;
1.12545 -
1.12546 -solaris*)
1.12547 - version_type=linux
1.12548 - need_lib_prefix=no
1.12549 - need_version=no
1.12550 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12551 - soname_spec='${libname}${release}${shared_ext}$major'
1.12552 - shlibpath_var=LD_LIBRARY_PATH
1.12553 - shlibpath_overrides_runpath=yes
1.12554 - hardcode_into_libs=yes
1.12555 - # ldd complains unless libraries are executable
1.12556 - postinstall_cmds='chmod +x $lib'
1.12557 - ;;
1.12558 -
1.12559 -sunos4*)
1.12560 - version_type=sunos
1.12561 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12562 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.12563 - shlibpath_var=LD_LIBRARY_PATH
1.12564 - shlibpath_overrides_runpath=yes
1.12565 - if test "$with_gnu_ld" = yes; then
1.12566 - need_lib_prefix=no
1.12567 - fi
1.12568 - need_version=yes
1.12569 - ;;
1.12570 -
1.12571 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.12572 - version_type=linux
1.12573 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12574 - soname_spec='${libname}${release}${shared_ext}$major'
1.12575 - shlibpath_var=LD_LIBRARY_PATH
1.12576 - case $host_vendor in
1.12577 - sni)
1.12578 - shlibpath_overrides_runpath=no
1.12579 - need_lib_prefix=no
1.12580 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.12581 - runpath_var=LD_RUN_PATH
1.12582 - ;;
1.12583 - siemens)
1.12584 - need_lib_prefix=no
1.12585 - ;;
1.12586 - motorola)
1.12587 - need_lib_prefix=no
1.12588 - need_version=no
1.12589 - shlibpath_overrides_runpath=no
1.12590 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.12591 - ;;
1.12592 - esac
1.12593 - ;;
1.12594 -
1.12595 -sysv4*MP*)
1.12596 - if test -d /usr/nec ;then
1.12597 - version_type=linux
1.12598 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.12599 - soname_spec='$libname${shared_ext}.$major'
1.12600 - shlibpath_var=LD_LIBRARY_PATH
1.12601 - fi
1.12602 - ;;
1.12603 -
1.12604 -uts4*)
1.12605 - version_type=linux
1.12606 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12607 - soname_spec='${libname}${release}${shared_ext}$major'
1.12608 - shlibpath_var=LD_LIBRARY_PATH
1.12609 - ;;
1.12610 -
1.12611 -*)
1.12612 - dynamic_linker=no
1.12613 - ;;
1.12614 -esac
1.12615 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.12616 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.12617 -test "$dynamic_linker" = no && can_build_shared=no
1.12618 -
1.12619 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.12620 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.12621 -hardcode_action_CXX=
1.12622 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
1.12623 - test -n "$runpath_var CXX" || \
1.12624 - test "X$hardcode_automatic_CXX"="Xyes" ; then
1.12625 -
1.12626 - # We can hardcode non-existant directories.
1.12627 - if test "$hardcode_direct_CXX" != no &&
1.12628 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.12629 - # have to relink, otherwise we might link with an installed library
1.12630 - # when we should be linking with a yet-to-be-installed one
1.12631 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
1.12632 - test "$hardcode_minus_L_CXX" != no; then
1.12633 - # Linking always hardcodes the temporary library directory.
1.12634 - hardcode_action_CXX=relink
1.12635 - else
1.12636 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.12637 - hardcode_action_CXX=immediate
1.12638 - fi
1.12639 -else
1.12640 - # We cannot hardcode anything, or else we can only hardcode existing
1.12641 - # directories.
1.12642 - hardcode_action_CXX=unsupported
1.12643 -fi
1.12644 -{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
1.12645 -echo "${ECHO_T}$hardcode_action_CXX" >&6; }
1.12646 -
1.12647 -if test "$hardcode_action_CXX" = relink; then
1.12648 - # Fast installation is not supported
1.12649 - enable_fast_install=no
1.12650 -elif test "$shlibpath_overrides_runpath" = yes ||
1.12651 - test "$enable_shared" = no; then
1.12652 - # Fast installation is not necessary
1.12653 - enable_fast_install=needless
1.12654 -fi
1.12655 -
1.12656 -striplib=
1.12657 -old_striplib=
1.12658 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.12659 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.12660 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.12661 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.12662 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.12663 - { echo "$as_me:$LINENO: result: yes" >&5
1.12664 -echo "${ECHO_T}yes" >&6; }
1.12665 -else
1.12666 -# FIXME - insert some real tests, host_os isn't really good enough
1.12667 - case $host_os in
1.12668 - darwin*)
1.12669 - if test -n "$STRIP" ; then
1.12670 - striplib="$STRIP -x"
1.12671 - { echo "$as_me:$LINENO: result: yes" >&5
1.12672 -echo "${ECHO_T}yes" >&6; }
1.12673 - else
1.12674 - { echo "$as_me:$LINENO: result: no" >&5
1.12675 -echo "${ECHO_T}no" >&6; }
1.12676 -fi
1.12677 - ;;
1.12678 - *)
1.12679 - { echo "$as_me:$LINENO: result: no" >&5
1.12680 -echo "${ECHO_T}no" >&6; }
1.12681 - ;;
1.12682 - esac
1.12683 -fi
1.12684 -
1.12685 -if test "x$enable_dlopen" != xyes; then
1.12686 - enable_dlopen=unknown
1.12687 - enable_dlopen_self=unknown
1.12688 - enable_dlopen_self_static=unknown
1.12689 -else
1.12690 - lt_cv_dlopen=no
1.12691 - lt_cv_dlopen_libs=
1.12692 -
1.12693 - case $host_os in
1.12694 - beos*)
1.12695 - lt_cv_dlopen="load_add_on"
1.12696 - lt_cv_dlopen_libs=
1.12697 - lt_cv_dlopen_self=yes
1.12698 - ;;
1.12699 -
1.12700 - mingw* | pw32*)
1.12701 - lt_cv_dlopen="LoadLibrary"
1.12702 - lt_cv_dlopen_libs=
1.12703 - ;;
1.12704 -
1.12705 - cygwin*)
1.12706 - lt_cv_dlopen="dlopen"
1.12707 - lt_cv_dlopen_libs=
1.12708 - ;;
1.12709 -
1.12710 - darwin*)
1.12711 - # if libdl is installed we need to link against it
1.12712 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.12713 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.12714 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.12715 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12716 -else
1.12717 - ac_check_lib_save_LIBS=$LIBS
1.12718 -LIBS="-ldl $LIBS"
1.12719 -cat >conftest.$ac_ext <<_ACEOF
1.12720 -/* confdefs.h. */
1.12721 -_ACEOF
1.12722 -cat confdefs.h >>conftest.$ac_ext
1.12723 -cat >>conftest.$ac_ext <<_ACEOF
1.12724 -/* end confdefs.h. */
1.12725 -
1.12726 -/* Override any GCC internal prototype to avoid an error.
1.12727 - Use char because int might match the return type of a GCC
1.12728 - builtin and then its argument prototype would still apply. */
1.12729 -#ifdef __cplusplus
1.12730 -extern "C"
1.12731 -#endif
1.12732 -char dlopen ();
1.12733 -int
1.12734 -main ()
1.12735 -{
1.12736 -return dlopen ();
1.12737 - ;
1.12738 - return 0;
1.12739 -}
1.12740 -_ACEOF
1.12741 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12742 -if { (ac_try="$ac_link"
1.12743 -case "(($ac_try" in
1.12744 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12745 - *) ac_try_echo=$ac_try;;
1.12746 -esac
1.12747 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12748 - (eval "$ac_link") 2>conftest.er1
1.12749 - ac_status=$?
1.12750 - grep -v '^ *+' conftest.er1 >conftest.err
1.12751 - rm -f conftest.er1
1.12752 - cat conftest.err >&5
1.12753 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12754 - (exit $ac_status); } && {
1.12755 - test -z "$ac_cxx_werror_flag" ||
1.12756 - test ! -s conftest.err
1.12757 - } && test -s conftest$ac_exeext &&
1.12758 - $as_test_x conftest$ac_exeext; then
1.12759 - ac_cv_lib_dl_dlopen=yes
1.12760 -else
1.12761 - echo "$as_me: failed program was:" >&5
1.12762 -sed 's/^/| /' conftest.$ac_ext >&5
1.12763 -
1.12764 - ac_cv_lib_dl_dlopen=no
1.12765 -fi
1.12766 -
1.12767 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12768 - conftest$ac_exeext conftest.$ac_ext
1.12769 -LIBS=$ac_check_lib_save_LIBS
1.12770 -fi
1.12771 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.12772 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.12773 -if test $ac_cv_lib_dl_dlopen = yes; then
1.12774 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.12775 -else
1.12776 -
1.12777 - lt_cv_dlopen="dyld"
1.12778 - lt_cv_dlopen_libs=
1.12779 - lt_cv_dlopen_self=yes
1.12780 -
1.12781 -fi
1.12782 -
1.12783 - ;;
1.12784 -
1.12785 - *)
1.12786 - { echo "$as_me:$LINENO: checking for shl_load" >&5
1.12787 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
1.12788 -if test "${ac_cv_func_shl_load+set}" = set; then
1.12789 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12790 -else
1.12791 - cat >conftest.$ac_ext <<_ACEOF
1.12792 -/* confdefs.h. */
1.12793 -_ACEOF
1.12794 -cat confdefs.h >>conftest.$ac_ext
1.12795 -cat >>conftest.$ac_ext <<_ACEOF
1.12796 -/* end confdefs.h. */
1.12797 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.12798 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.12799 -#define shl_load innocuous_shl_load
1.12800 -
1.12801 -/* System header to define __stub macros and hopefully few prototypes,
1.12802 - which can conflict with char shl_load (); below.
1.12803 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.12804 - <limits.h> exists even on freestanding compilers. */
1.12805 -
1.12806 -#ifdef __STDC__
1.12807 -# include <limits.h>
1.12808 -#else
1.12809 -# include <assert.h>
1.12810 -#endif
1.12811 -
1.12812 -#undef shl_load
1.12813 -
1.12814 -/* Override any GCC internal prototype to avoid an error.
1.12815 - Use char because int might match the return type of a GCC
1.12816 - builtin and then its argument prototype would still apply. */
1.12817 -#ifdef __cplusplus
1.12818 -extern "C"
1.12819 -#endif
1.12820 -char shl_load ();
1.12821 -/* The GNU C library defines this for functions which it implements
1.12822 - to always fail with ENOSYS. Some functions are actually named
1.12823 - something starting with __ and the normal name is an alias. */
1.12824 -#if defined __stub_shl_load || defined __stub___shl_load
1.12825 -choke me
1.12826 -#endif
1.12827 -
1.12828 -int
1.12829 -main ()
1.12830 -{
1.12831 -return shl_load ();
1.12832 - ;
1.12833 - return 0;
1.12834 -}
1.12835 -_ACEOF
1.12836 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12837 -if { (ac_try="$ac_link"
1.12838 -case "(($ac_try" in
1.12839 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12840 - *) ac_try_echo=$ac_try;;
1.12841 -esac
1.12842 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12843 - (eval "$ac_link") 2>conftest.er1
1.12844 - ac_status=$?
1.12845 - grep -v '^ *+' conftest.er1 >conftest.err
1.12846 - rm -f conftest.er1
1.12847 - cat conftest.err >&5
1.12848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12849 - (exit $ac_status); } && {
1.12850 - test -z "$ac_cxx_werror_flag" ||
1.12851 - test ! -s conftest.err
1.12852 - } && test -s conftest$ac_exeext &&
1.12853 - $as_test_x conftest$ac_exeext; then
1.12854 - ac_cv_func_shl_load=yes
1.12855 -else
1.12856 - echo "$as_me: failed program was:" >&5
1.12857 -sed 's/^/| /' conftest.$ac_ext >&5
1.12858 -
1.12859 - ac_cv_func_shl_load=no
1.12860 -fi
1.12861 -
1.12862 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12863 - conftest$ac_exeext conftest.$ac_ext
1.12864 -fi
1.12865 -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.12866 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
1.12867 -if test $ac_cv_func_shl_load = yes; then
1.12868 - lt_cv_dlopen="shl_load"
1.12869 -else
1.12870 - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.12871 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
1.12872 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.12873 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12874 -else
1.12875 - ac_check_lib_save_LIBS=$LIBS
1.12876 -LIBS="-ldld $LIBS"
1.12877 -cat >conftest.$ac_ext <<_ACEOF
1.12878 -/* confdefs.h. */
1.12879 -_ACEOF
1.12880 -cat confdefs.h >>conftest.$ac_ext
1.12881 -cat >>conftest.$ac_ext <<_ACEOF
1.12882 -/* end confdefs.h. */
1.12883 -
1.12884 -/* Override any GCC internal prototype to avoid an error.
1.12885 - Use char because int might match the return type of a GCC
1.12886 - builtin and then its argument prototype would still apply. */
1.12887 -#ifdef __cplusplus
1.12888 -extern "C"
1.12889 -#endif
1.12890 -char shl_load ();
1.12891 -int
1.12892 -main ()
1.12893 -{
1.12894 -return shl_load ();
1.12895 - ;
1.12896 - return 0;
1.12897 -}
1.12898 -_ACEOF
1.12899 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12900 -if { (ac_try="$ac_link"
1.12901 -case "(($ac_try" in
1.12902 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12903 - *) ac_try_echo=$ac_try;;
1.12904 -esac
1.12905 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12906 - (eval "$ac_link") 2>conftest.er1
1.12907 - ac_status=$?
1.12908 - grep -v '^ *+' conftest.er1 >conftest.err
1.12909 - rm -f conftest.er1
1.12910 - cat conftest.err >&5
1.12911 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12912 - (exit $ac_status); } && {
1.12913 - test -z "$ac_cxx_werror_flag" ||
1.12914 - test ! -s conftest.err
1.12915 - } && test -s conftest$ac_exeext &&
1.12916 - $as_test_x conftest$ac_exeext; then
1.12917 - ac_cv_lib_dld_shl_load=yes
1.12918 -else
1.12919 - echo "$as_me: failed program was:" >&5
1.12920 -sed 's/^/| /' conftest.$ac_ext >&5
1.12921 -
1.12922 - ac_cv_lib_dld_shl_load=no
1.12923 -fi
1.12924 -
1.12925 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12926 - conftest$ac_exeext conftest.$ac_ext
1.12927 -LIBS=$ac_check_lib_save_LIBS
1.12928 -fi
1.12929 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.12930 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
1.12931 -if test $ac_cv_lib_dld_shl_load = yes; then
1.12932 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.12933 -else
1.12934 - { echo "$as_me:$LINENO: checking for dlopen" >&5
1.12935 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
1.12936 -if test "${ac_cv_func_dlopen+set}" = set; then
1.12937 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12938 -else
1.12939 - cat >conftest.$ac_ext <<_ACEOF
1.12940 -/* confdefs.h. */
1.12941 -_ACEOF
1.12942 -cat confdefs.h >>conftest.$ac_ext
1.12943 -cat >>conftest.$ac_ext <<_ACEOF
1.12944 -/* end confdefs.h. */
1.12945 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.12946 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.12947 -#define dlopen innocuous_dlopen
1.12948 -
1.12949 -/* System header to define __stub macros and hopefully few prototypes,
1.12950 - which can conflict with char dlopen (); below.
1.12951 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.12952 - <limits.h> exists even on freestanding compilers. */
1.12953 -
1.12954 -#ifdef __STDC__
1.12955 -# include <limits.h>
1.12956 -#else
1.12957 -# include <assert.h>
1.12958 -#endif
1.12959 -
1.12960 -#undef dlopen
1.12961 -
1.12962 -/* Override any GCC internal prototype to avoid an error.
1.12963 - Use char because int might match the return type of a GCC
1.12964 - builtin and then its argument prototype would still apply. */
1.12965 -#ifdef __cplusplus
1.12966 -extern "C"
1.12967 -#endif
1.12968 -char dlopen ();
1.12969 -/* The GNU C library defines this for functions which it implements
1.12970 - to always fail with ENOSYS. Some functions are actually named
1.12971 - something starting with __ and the normal name is an alias. */
1.12972 -#if defined __stub_dlopen || defined __stub___dlopen
1.12973 -choke me
1.12974 -#endif
1.12975 -
1.12976 -int
1.12977 -main ()
1.12978 -{
1.12979 -return dlopen ();
1.12980 - ;
1.12981 - return 0;
1.12982 -}
1.12983 -_ACEOF
1.12984 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12985 -if { (ac_try="$ac_link"
1.12986 -case "(($ac_try" in
1.12987 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12988 - *) ac_try_echo=$ac_try;;
1.12989 -esac
1.12990 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12991 - (eval "$ac_link") 2>conftest.er1
1.12992 - ac_status=$?
1.12993 - grep -v '^ *+' conftest.er1 >conftest.err
1.12994 - rm -f conftest.er1
1.12995 - cat conftest.err >&5
1.12996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12997 - (exit $ac_status); } && {
1.12998 - test -z "$ac_cxx_werror_flag" ||
1.12999 - test ! -s conftest.err
1.13000 - } && test -s conftest$ac_exeext &&
1.13001 - $as_test_x conftest$ac_exeext; then
1.13002 - ac_cv_func_dlopen=yes
1.13003 -else
1.13004 - echo "$as_me: failed program was:" >&5
1.13005 -sed 's/^/| /' conftest.$ac_ext >&5
1.13006 -
1.13007 - ac_cv_func_dlopen=no
1.13008 -fi
1.13009 -
1.13010 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.13011 - conftest$ac_exeext conftest.$ac_ext
1.13012 -fi
1.13013 -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.13014 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
1.13015 -if test $ac_cv_func_dlopen = yes; then
1.13016 - lt_cv_dlopen="dlopen"
1.13017 -else
1.13018 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.13019 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.13020 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.13021 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13022 -else
1.13023 - ac_check_lib_save_LIBS=$LIBS
1.13024 -LIBS="-ldl $LIBS"
1.13025 -cat >conftest.$ac_ext <<_ACEOF
1.13026 -/* confdefs.h. */
1.13027 -_ACEOF
1.13028 -cat confdefs.h >>conftest.$ac_ext
1.13029 -cat >>conftest.$ac_ext <<_ACEOF
1.13030 -/* end confdefs.h. */
1.13031 -
1.13032 -/* Override any GCC internal prototype to avoid an error.
1.13033 - Use char because int might match the return type of a GCC
1.13034 - builtin and then its argument prototype would still apply. */
1.13035 -#ifdef __cplusplus
1.13036 -extern "C"
1.13037 -#endif
1.13038 -char dlopen ();
1.13039 -int
1.13040 -main ()
1.13041 -{
1.13042 -return dlopen ();
1.13043 - ;
1.13044 - return 0;
1.13045 -}
1.13046 -_ACEOF
1.13047 -rm -f conftest.$ac_objext conftest$ac_exeext
1.13048 -if { (ac_try="$ac_link"
1.13049 -case "(($ac_try" in
1.13050 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.13051 - *) ac_try_echo=$ac_try;;
1.13052 -esac
1.13053 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.13054 - (eval "$ac_link") 2>conftest.er1
1.13055 - ac_status=$?
1.13056 - grep -v '^ *+' conftest.er1 >conftest.err
1.13057 - rm -f conftest.er1
1.13058 - cat conftest.err >&5
1.13059 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13060 - (exit $ac_status); } && {
1.13061 - test -z "$ac_cxx_werror_flag" ||
1.13062 - test ! -s conftest.err
1.13063 - } && test -s conftest$ac_exeext &&
1.13064 - $as_test_x conftest$ac_exeext; then
1.13065 - ac_cv_lib_dl_dlopen=yes
1.13066 -else
1.13067 - echo "$as_me: failed program was:" >&5
1.13068 -sed 's/^/| /' conftest.$ac_ext >&5
1.13069 -
1.13070 - ac_cv_lib_dl_dlopen=no
1.13071 -fi
1.13072 -
1.13073 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.13074 - conftest$ac_exeext conftest.$ac_ext
1.13075 -LIBS=$ac_check_lib_save_LIBS
1.13076 -fi
1.13077 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.13078 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.13079 -if test $ac_cv_lib_dl_dlopen = yes; then
1.13080 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.13081 -else
1.13082 - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.13083 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
1.13084 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.13085 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13086 -else
1.13087 - ac_check_lib_save_LIBS=$LIBS
1.13088 -LIBS="-lsvld $LIBS"
1.13089 -cat >conftest.$ac_ext <<_ACEOF
1.13090 -/* confdefs.h. */
1.13091 -_ACEOF
1.13092 -cat confdefs.h >>conftest.$ac_ext
1.13093 -cat >>conftest.$ac_ext <<_ACEOF
1.13094 -/* end confdefs.h. */
1.13095 -
1.13096 -/* Override any GCC internal prototype to avoid an error.
1.13097 - Use char because int might match the return type of a GCC
1.13098 - builtin and then its argument prototype would still apply. */
1.13099 -#ifdef __cplusplus
1.13100 -extern "C"
1.13101 -#endif
1.13102 -char dlopen ();
1.13103 -int
1.13104 -main ()
1.13105 -{
1.13106 -return dlopen ();
1.13107 - ;
1.13108 - return 0;
1.13109 -}
1.13110 -_ACEOF
1.13111 -rm -f conftest.$ac_objext conftest$ac_exeext
1.13112 -if { (ac_try="$ac_link"
1.13113 -case "(($ac_try" in
1.13114 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.13115 - *) ac_try_echo=$ac_try;;
1.13116 -esac
1.13117 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.13118 - (eval "$ac_link") 2>conftest.er1
1.13119 - ac_status=$?
1.13120 - grep -v '^ *+' conftest.er1 >conftest.err
1.13121 - rm -f conftest.er1
1.13122 - cat conftest.err >&5
1.13123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13124 - (exit $ac_status); } && {
1.13125 - test -z "$ac_cxx_werror_flag" ||
1.13126 - test ! -s conftest.err
1.13127 - } && test -s conftest$ac_exeext &&
1.13128 - $as_test_x conftest$ac_exeext; then
1.13129 - ac_cv_lib_svld_dlopen=yes
1.13130 -else
1.13131 - echo "$as_me: failed program was:" >&5
1.13132 -sed 's/^/| /' conftest.$ac_ext >&5
1.13133 -
1.13134 - ac_cv_lib_svld_dlopen=no
1.13135 -fi
1.13136 -
1.13137 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.13138 - conftest$ac_exeext conftest.$ac_ext
1.13139 -LIBS=$ac_check_lib_save_LIBS
1.13140 -fi
1.13141 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.13142 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
1.13143 -if test $ac_cv_lib_svld_dlopen = yes; then
1.13144 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.13145 -else
1.13146 - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.13147 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
1.13148 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.13149 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13150 -else
1.13151 - ac_check_lib_save_LIBS=$LIBS
1.13152 -LIBS="-ldld $LIBS"
1.13153 -cat >conftest.$ac_ext <<_ACEOF
1.13154 -/* confdefs.h. */
1.13155 -_ACEOF
1.13156 -cat confdefs.h >>conftest.$ac_ext
1.13157 -cat >>conftest.$ac_ext <<_ACEOF
1.13158 -/* end confdefs.h. */
1.13159 -
1.13160 -/* Override any GCC internal prototype to avoid an error.
1.13161 - Use char because int might match the return type of a GCC
1.13162 - builtin and then its argument prototype would still apply. */
1.13163 -#ifdef __cplusplus
1.13164 -extern "C"
1.13165 -#endif
1.13166 -char dld_link ();
1.13167 -int
1.13168 -main ()
1.13169 -{
1.13170 -return dld_link ();
1.13171 - ;
1.13172 - return 0;
1.13173 -}
1.13174 -_ACEOF
1.13175 -rm -f conftest.$ac_objext conftest$ac_exeext
1.13176 -if { (ac_try="$ac_link"
1.13177 -case "(($ac_try" in
1.13178 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.13179 - *) ac_try_echo=$ac_try;;
1.13180 -esac
1.13181 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.13182 - (eval "$ac_link") 2>conftest.er1
1.13183 - ac_status=$?
1.13184 - grep -v '^ *+' conftest.er1 >conftest.err
1.13185 - rm -f conftest.er1
1.13186 - cat conftest.err >&5
1.13187 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13188 - (exit $ac_status); } && {
1.13189 - test -z "$ac_cxx_werror_flag" ||
1.13190 - test ! -s conftest.err
1.13191 - } && test -s conftest$ac_exeext &&
1.13192 - $as_test_x conftest$ac_exeext; then
1.13193 - ac_cv_lib_dld_dld_link=yes
1.13194 -else
1.13195 - echo "$as_me: failed program was:" >&5
1.13196 -sed 's/^/| /' conftest.$ac_ext >&5
1.13197 -
1.13198 - ac_cv_lib_dld_dld_link=no
1.13199 -fi
1.13200 -
1.13201 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.13202 - conftest$ac_exeext conftest.$ac_ext
1.13203 -LIBS=$ac_check_lib_save_LIBS
1.13204 -fi
1.13205 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.13206 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
1.13207 -if test $ac_cv_lib_dld_dld_link = yes; then
1.13208 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.13209 -fi
1.13210 -
1.13211 -
1.13212 -fi
1.13213 -
1.13214 -
1.13215 -fi
1.13216 -
1.13217 -
1.13218 -fi
1.13219 -
1.13220 -
1.13221 -fi
1.13222 -
1.13223 -
1.13224 -fi
1.13225 -
1.13226 - ;;
1.13227 - esac
1.13228 -
1.13229 - if test "x$lt_cv_dlopen" != xno; then
1.13230 - enable_dlopen=yes
1.13231 - else
1.13232 - enable_dlopen=no
1.13233 - fi
1.13234 -
1.13235 - case $lt_cv_dlopen in
1.13236 - dlopen)
1.13237 - save_CPPFLAGS="$CPPFLAGS"
1.13238 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.13239 -
1.13240 - save_LDFLAGS="$LDFLAGS"
1.13241 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.13242 -
1.13243 - save_LIBS="$LIBS"
1.13244 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.13245 -
1.13246 - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.13247 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
1.13248 -if test "${lt_cv_dlopen_self+set}" = set; then
1.13249 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13250 -else
1.13251 - if test "$cross_compiling" = yes; then :
1.13252 - lt_cv_dlopen_self=cross
1.13253 -else
1.13254 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.13255 - lt_status=$lt_dlunknown
1.13256 - cat > conftest.$ac_ext <<EOF
1.13257 -#line __oline__ "configure"
1.13258 -#include "confdefs.h"
1.13259 -
1.13260 -#if HAVE_DLFCN_H
1.13261 -#include <dlfcn.h>
1.13262 -#endif
1.13263 -
1.13264 -#include <stdio.h>
1.13265 -
1.13266 -#ifdef RTLD_GLOBAL
1.13267 -# define LT_DLGLOBAL RTLD_GLOBAL
1.13268 -#else
1.13269 -# ifdef DL_GLOBAL
1.13270 -# define LT_DLGLOBAL DL_GLOBAL
1.13271 -# else
1.13272 -# define LT_DLGLOBAL 0
1.13273 -# endif
1.13274 -#endif
1.13275 -
1.13276 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.13277 - find out it does not work in some platform. */
1.13278 -#ifndef LT_DLLAZY_OR_NOW
1.13279 -# ifdef RTLD_LAZY
1.13280 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.13281 -# else
1.13282 -# ifdef DL_LAZY
1.13283 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.13284 -# else
1.13285 -# ifdef RTLD_NOW
1.13286 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.13287 -# else
1.13288 -# ifdef DL_NOW
1.13289 -# define LT_DLLAZY_OR_NOW DL_NOW
1.13290 -# else
1.13291 -# define LT_DLLAZY_OR_NOW 0
1.13292 -# endif
1.13293 -# endif
1.13294 -# endif
1.13295 -# endif
1.13296 -#endif
1.13297 -
1.13298 -#ifdef __cplusplus
1.13299 -extern "C" void exit (int);
1.13300 -#endif
1.13301 -
1.13302 -void fnord() { int i=42;}
1.13303 -int main ()
1.13304 -{
1.13305 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.13306 - int status = $lt_dlunknown;
1.13307 -
1.13308 - if (self)
1.13309 - {
1.13310 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.13311 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.13312 - /* dlclose (self); */
1.13313 - }
1.13314 -
1.13315 - exit (status);
1.13316 -}
1.13317 -EOF
1.13318 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.13319 - (eval $ac_link) 2>&5
1.13320 - ac_status=$?
1.13321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13322 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.13323 - (./conftest; exit; ) 2>/dev/null
1.13324 - lt_status=$?
1.13325 - case x$lt_status in
1.13326 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.13327 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.13328 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.13329 - esac
1.13330 - else :
1.13331 - # compilation failed
1.13332 - lt_cv_dlopen_self=no
1.13333 - fi
1.13334 -fi
1.13335 -rm -fr conftest*
1.13336 -
1.13337 -
1.13338 -fi
1.13339 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.13340 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
1.13341 -
1.13342 - if test "x$lt_cv_dlopen_self" = xyes; then
1.13343 - LDFLAGS="$LDFLAGS $link_static_flag"
1.13344 - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.13345 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
1.13346 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.13347 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13348 -else
1.13349 - if test "$cross_compiling" = yes; then :
1.13350 - lt_cv_dlopen_self_static=cross
1.13351 -else
1.13352 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.13353 - lt_status=$lt_dlunknown
1.13354 - cat > conftest.$ac_ext <<EOF
1.13355 -#line __oline__ "configure"
1.13356 -#include "confdefs.h"
1.13357 -
1.13358 -#if HAVE_DLFCN_H
1.13359 -#include <dlfcn.h>
1.13360 -#endif
1.13361 -
1.13362 -#include <stdio.h>
1.13363 -
1.13364 -#ifdef RTLD_GLOBAL
1.13365 -# define LT_DLGLOBAL RTLD_GLOBAL
1.13366 -#else
1.13367 -# ifdef DL_GLOBAL
1.13368 -# define LT_DLGLOBAL DL_GLOBAL
1.13369 -# else
1.13370 -# define LT_DLGLOBAL 0
1.13371 -# endif
1.13372 -#endif
1.13373 -
1.13374 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.13375 - find out it does not work in some platform. */
1.13376 -#ifndef LT_DLLAZY_OR_NOW
1.13377 -# ifdef RTLD_LAZY
1.13378 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.13379 -# else
1.13380 -# ifdef DL_LAZY
1.13381 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.13382 -# else
1.13383 -# ifdef RTLD_NOW
1.13384 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.13385 -# else
1.13386 -# ifdef DL_NOW
1.13387 -# define LT_DLLAZY_OR_NOW DL_NOW
1.13388 -# else
1.13389 -# define LT_DLLAZY_OR_NOW 0
1.13390 -# endif
1.13391 -# endif
1.13392 -# endif
1.13393 -# endif
1.13394 -#endif
1.13395 -
1.13396 -#ifdef __cplusplus
1.13397 -extern "C" void exit (int);
1.13398 -#endif
1.13399 -
1.13400 -void fnord() { int i=42;}
1.13401 -int main ()
1.13402 -{
1.13403 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.13404 - int status = $lt_dlunknown;
1.13405 -
1.13406 - if (self)
1.13407 - {
1.13408 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.13409 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.13410 - /* dlclose (self); */
1.13411 - }
1.13412 -
1.13413 - exit (status);
1.13414 -}
1.13415 -EOF
1.13416 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.13417 - (eval $ac_link) 2>&5
1.13418 - ac_status=$?
1.13419 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.13420 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.13421 - (./conftest; exit; ) 2>/dev/null
1.13422 - lt_status=$?
1.13423 - case x$lt_status in
1.13424 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.13425 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.13426 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.13427 - esac
1.13428 - else :
1.13429 - # compilation failed
1.13430 - lt_cv_dlopen_self_static=no
1.13431 - fi
1.13432 -fi
1.13433 -rm -fr conftest*
1.13434 -
1.13435 -
1.13436 -fi
1.13437 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.13438 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
1.13439 - fi
1.13440 -
1.13441 - CPPFLAGS="$save_CPPFLAGS"
1.13442 - LDFLAGS="$save_LDFLAGS"
1.13443 - LIBS="$save_LIBS"
1.13444 - ;;
1.13445 - esac
1.13446 -
1.13447 - case $lt_cv_dlopen_self in
1.13448 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.13449 - *) enable_dlopen_self=unknown ;;
1.13450 - esac
1.13451 -
1.13452 - case $lt_cv_dlopen_self_static in
1.13453 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.13454 - *) enable_dlopen_self_static=unknown ;;
1.13455 - esac
1.13456 -fi
1.13457 -
1.13458 -
1.13459 -# The else clause should only fire when bootstrapping the
1.13460 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.13461 -# with your package, and you will get complaints that there are
1.13462 -# no rules to generate ltmain.sh.
1.13463 -if test -f "$ltmain"; then
1.13464 - # See if we are running on zsh, and set the options which allow our commands through
1.13465 - # without removal of \ escapes.
1.13466 - if test -n "${ZSH_VERSION+set}" ; then
1.13467 - setopt NO_GLOB_SUBST
1.13468 - fi
1.13469 - # Now quote all the things that may contain metacharacters while being
1.13470 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.13471 - # variables and quote the copies for generation of the libtool script.
1.13472 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.13473 - SED SHELL STRIP \
1.13474 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.13475 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.13476 - deplibs_check_method reload_flag reload_cmds need_locks \
1.13477 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.13478 - lt_cv_sys_global_symbol_to_c_name_address \
1.13479 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.13480 - old_postinstall_cmds old_postuninstall_cmds \
1.13481 - compiler_CXX \
1.13482 - CC_CXX \
1.13483 - LD_CXX \
1.13484 - lt_prog_compiler_wl_CXX \
1.13485 - lt_prog_compiler_pic_CXX \
1.13486 - lt_prog_compiler_static_CXX \
1.13487 - lt_prog_compiler_no_builtin_flag_CXX \
1.13488 - export_dynamic_flag_spec_CXX \
1.13489 - thread_safe_flag_spec_CXX \
1.13490 - whole_archive_flag_spec_CXX \
1.13491 - enable_shared_with_static_runtimes_CXX \
1.13492 - old_archive_cmds_CXX \
1.13493 - old_archive_from_new_cmds_CXX \
1.13494 - predep_objects_CXX \
1.13495 - postdep_objects_CXX \
1.13496 - predeps_CXX \
1.13497 - postdeps_CXX \
1.13498 - compiler_lib_search_path_CXX \
1.13499 - archive_cmds_CXX \
1.13500 - archive_expsym_cmds_CXX \
1.13501 - postinstall_cmds_CXX \
1.13502 - postuninstall_cmds_CXX \
1.13503 - old_archive_from_expsyms_cmds_CXX \
1.13504 - allow_undefined_flag_CXX \
1.13505 - no_undefined_flag_CXX \
1.13506 - export_symbols_cmds_CXX \
1.13507 - hardcode_libdir_flag_spec_CXX \
1.13508 - hardcode_libdir_flag_spec_ld_CXX \
1.13509 - hardcode_libdir_separator_CXX \
1.13510 - hardcode_automatic_CXX \
1.13511 - module_cmds_CXX \
1.13512 - module_expsym_cmds_CXX \
1.13513 - lt_cv_prog_compiler_c_o_CXX \
1.13514 - exclude_expsyms_CXX \
1.13515 - include_expsyms_CXX; do
1.13516 -
1.13517 - case $var in
1.13518 - old_archive_cmds_CXX | \
1.13519 - old_archive_from_new_cmds_CXX | \
1.13520 - archive_cmds_CXX | \
1.13521 - archive_expsym_cmds_CXX | \
1.13522 - module_cmds_CXX | \
1.13523 - module_expsym_cmds_CXX | \
1.13524 - old_archive_from_expsyms_cmds_CXX | \
1.13525 - export_symbols_cmds_CXX | \
1.13526 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.13527 - postinstall_cmds | postuninstall_cmds | \
1.13528 - old_postinstall_cmds | old_postuninstall_cmds | \
1.13529 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.13530 - # Double-quote double-evaled strings.
1.13531 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.13532 - ;;
1.13533 - *)
1.13534 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.13535 - ;;
1.13536 - esac
1.13537 - done
1.13538 -
1.13539 - case $lt_echo in
1.13540 - *'\$0 --fallback-echo"')
1.13541 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.13542 - ;;
1.13543 - esac
1.13544 -
1.13545 -cfgfile="$ofile"
1.13546 -
1.13547 - cat <<__EOF__ >> "$cfgfile"
1.13548 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.13549 -
1.13550 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.13551 -
1.13552 -# Shell to use when invoking shell scripts.
1.13553 -SHELL=$lt_SHELL
1.13554 -
1.13555 -# Whether or not to build shared libraries.
1.13556 -build_libtool_libs=$enable_shared
1.13557 -
1.13558 -# Whether or not to build static libraries.
1.13559 -build_old_libs=$enable_static
1.13560 -
1.13561 -# Whether or not to add -lc for building shared libraries.
1.13562 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
1.13563 -
1.13564 -# Whether or not to disallow shared libs when runtime libs are static
1.13565 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
1.13566 -
1.13567 -# Whether or not to optimize for fast installation.
1.13568 -fast_install=$enable_fast_install
1.13569 -
1.13570 -# The host system.
1.13571 -host_alias=$host_alias
1.13572 -host=$host
1.13573 -
1.13574 -# An echo program that does not interpret backslashes.
1.13575 -echo=$lt_echo
1.13576 -
1.13577 -# The archiver.
1.13578 -AR=$lt_AR
1.13579 -AR_FLAGS=$lt_AR_FLAGS
1.13580 -
1.13581 -# A C compiler.
1.13582 -LTCC=$lt_LTCC
1.13583 -
1.13584 -# A language-specific compiler.
1.13585 -CC=$lt_compiler_CXX
1.13586 -
1.13587 -# Is the compiler the GNU C compiler?
1.13588 -with_gcc=$GCC_CXX
1.13589 -
1.13590 -# An ERE matcher.
1.13591 -EGREP=$lt_EGREP
1.13592 -
1.13593 -# The linker used to build libraries.
1.13594 -LD=$lt_LD_CXX
1.13595 -
1.13596 -# Whether we need hard or soft links.
1.13597 -LN_S=$lt_LN_S
1.13598 -
1.13599 -# A BSD-compatible nm program.
1.13600 -NM=$lt_NM
1.13601 -
1.13602 -# A symbol stripping program
1.13603 -STRIP=$lt_STRIP
1.13604 -
1.13605 -# Used to examine libraries when file_magic_cmd begins "file"
1.13606 -MAGIC_CMD=$MAGIC_CMD
1.13607 -
1.13608 -# Used on cygwin: DLL creation program.
1.13609 -DLLTOOL="$DLLTOOL"
1.13610 -
1.13611 -# Used on cygwin: object dumper.
1.13612 -OBJDUMP="$OBJDUMP"
1.13613 -
1.13614 -# Used on cygwin: assembler.
1.13615 -AS="$AS"
1.13616 -
1.13617 -# The name of the directory that contains temporary libtool files.
1.13618 -objdir=$objdir
1.13619 -
1.13620 -# How to create reloadable object files.
1.13621 -reload_flag=$lt_reload_flag
1.13622 -reload_cmds=$lt_reload_cmds
1.13623 -
1.13624 -# How to pass a linker flag through the compiler.
1.13625 -wl=$lt_lt_prog_compiler_wl_CXX
1.13626 -
1.13627 -# Object file suffix (normally "o").
1.13628 -objext="$ac_objext"
1.13629 -
1.13630 -# Old archive suffix (normally "a").
1.13631 -libext="$libext"
1.13632 -
1.13633 -# Shared library suffix (normally ".so").
1.13634 -shrext_cmds='$shrext_cmds'
1.13635 -
1.13636 -# Executable file suffix (normally "").
1.13637 -exeext="$exeext"
1.13638 -
1.13639 -# Additional compiler flags for building library objects.
1.13640 -pic_flag=$lt_lt_prog_compiler_pic_CXX
1.13641 -pic_mode=$pic_mode
1.13642 -
1.13643 -# What is the maximum length of a command?
1.13644 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.13645 -
1.13646 -# Does compiler simultaneously support -c and -o options?
1.13647 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
1.13648 -
1.13649 -# Must we lock files when doing compilation ?
1.13650 -need_locks=$lt_need_locks
1.13651 -
1.13652 -# Do we need the lib prefix for modules?
1.13653 -need_lib_prefix=$need_lib_prefix
1.13654 -
1.13655 -# Do we need a version for libraries?
1.13656 -need_version=$need_version
1.13657 -
1.13658 -# Whether dlopen is supported.
1.13659 -dlopen_support=$enable_dlopen
1.13660 -
1.13661 -# Whether dlopen of programs is supported.
1.13662 -dlopen_self=$enable_dlopen_self
1.13663 -
1.13664 -# Whether dlopen of statically linked programs is supported.
1.13665 -dlopen_self_static=$enable_dlopen_self_static
1.13666 -
1.13667 -# Compiler flag to prevent dynamic linking.
1.13668 -link_static_flag=$lt_lt_prog_compiler_static_CXX
1.13669 -
1.13670 -# Compiler flag to turn off builtin functions.
1.13671 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
1.13672 -
1.13673 -# Compiler flag to allow reflexive dlopens.
1.13674 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
1.13675 -
1.13676 -# Compiler flag to generate shared objects directly from archives.
1.13677 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
1.13678 -
1.13679 -# Compiler flag to generate thread-safe objects.
1.13680 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
1.13681 -
1.13682 -# Library versioning type.
1.13683 -version_type=$version_type
1.13684 -
1.13685 -# Format of library name prefix.
1.13686 -libname_spec=$lt_libname_spec
1.13687 -
1.13688 -# List of archive names. First name is the real one, the rest are links.
1.13689 -# The last name is the one that the linker finds with -lNAME.
1.13690 -library_names_spec=$lt_library_names_spec
1.13691 -
1.13692 -# The coded name of the library, if different from the real name.
1.13693 -soname_spec=$lt_soname_spec
1.13694 -
1.13695 -# Commands used to build and install an old-style archive.
1.13696 -RANLIB=$lt_RANLIB
1.13697 -old_archive_cmds=$lt_old_archive_cmds_CXX
1.13698 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.13699 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.13700 -
1.13701 -# Create an old-style archive from a shared archive.
1.13702 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
1.13703 -
1.13704 -# Create a temporary old-style archive to link instead of a shared archive.
1.13705 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
1.13706 -
1.13707 -# Commands used to build and install a shared archive.
1.13708 -archive_cmds=$lt_archive_cmds_CXX
1.13709 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
1.13710 -postinstall_cmds=$lt_postinstall_cmds
1.13711 -postuninstall_cmds=$lt_postuninstall_cmds
1.13712 -
1.13713 -# Commands used to build a loadable module (assumed same as above if empty)
1.13714 -module_cmds=$lt_module_cmds_CXX
1.13715 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
1.13716 -
1.13717 -# Commands to strip libraries.
1.13718 -old_striplib=$lt_old_striplib
1.13719 -striplib=$lt_striplib
1.13720 -
1.13721 -# Dependencies to place before the objects being linked to create a
1.13722 -# shared library.
1.13723 -predep_objects=$lt_predep_objects_CXX
1.13724 -
1.13725 -# Dependencies to place after the objects being linked to create a
1.13726 -# shared library.
1.13727 -postdep_objects=$lt_postdep_objects_CXX
1.13728 -
1.13729 -# Dependencies to place before the objects being linked to create a
1.13730 -# shared library.
1.13731 -predeps=$lt_predeps_CXX
1.13732 -
1.13733 -# Dependencies to place after the objects being linked to create a
1.13734 -# shared library.
1.13735 -postdeps=$lt_postdeps_CXX
1.13736 -
1.13737 -# The library search path used internally by the compiler when linking
1.13738 -# a shared library.
1.13739 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.13740 -
1.13741 -# Method to check whether dependent libraries are shared objects.
1.13742 -deplibs_check_method=$lt_deplibs_check_method
1.13743 -
1.13744 -# Command to use when deplibs_check_method == file_magic.
1.13745 -file_magic_cmd=$lt_file_magic_cmd
1.13746 -
1.13747 -# Flag that allows shared libraries with undefined symbols to be built.
1.13748 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
1.13749 -
1.13750 -# Flag that forces no undefined symbols.
1.13751 -no_undefined_flag=$lt_no_undefined_flag_CXX
1.13752 -
1.13753 -# Commands used to finish a libtool library installation in a directory.
1.13754 -finish_cmds=$lt_finish_cmds
1.13755 -
1.13756 -# Same as above, but a single script fragment to be evaled but not shown.
1.13757 -finish_eval=$lt_finish_eval
1.13758 -
1.13759 -# Take the output of nm and produce a listing of raw symbols and C names.
1.13760 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.13761 -
1.13762 -# Transform the output of nm in a proper C declaration
1.13763 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.13764 -
1.13765 -# Transform the output of nm in a C name address pair
1.13766 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.13767 -
1.13768 -# This is the shared library runtime path variable.
1.13769 -runpath_var=$runpath_var
1.13770 -
1.13771 -# This is the shared library path variable.
1.13772 -shlibpath_var=$shlibpath_var
1.13773 -
1.13774 -# Is shlibpath searched before the hard-coded library search path?
1.13775 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.13776 -
1.13777 -# How to hardcode a shared library path into an executable.
1.13778 -hardcode_action=$hardcode_action_CXX
1.13779 -
1.13780 -# Whether we should hardcode library paths into libraries.
1.13781 -hardcode_into_libs=$hardcode_into_libs
1.13782 -
1.13783 -# Flag to hardcode \$libdir into a binary during linking.
1.13784 -# This must work even if \$libdir does not exist.
1.13785 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
1.13786 -
1.13787 -# If ld is used when linking, flag to hardcode \$libdir into
1.13788 -# a binary during linking. This must work even if \$libdir does
1.13789 -# not exist.
1.13790 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
1.13791 -
1.13792 -# Whether we need a single -rpath flag with a separated argument.
1.13793 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
1.13794 -
1.13795 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.13796 -# resulting binary.
1.13797 -hardcode_direct=$hardcode_direct_CXX
1.13798 -
1.13799 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.13800 -# resulting binary.
1.13801 -hardcode_minus_L=$hardcode_minus_L_CXX
1.13802 -
1.13803 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.13804 -# the resulting binary.
1.13805 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
1.13806 -
1.13807 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.13808 -# and all subsequent libraries and executables linked against it.
1.13809 -hardcode_automatic=$hardcode_automatic_CXX
1.13810 -
1.13811 -# Variables whose values should be saved in libtool wrapper scripts and
1.13812 -# restored at relink time.
1.13813 -variables_saved_for_relink="$variables_saved_for_relink"
1.13814 -
1.13815 -# Whether libtool must link a program against all its dependency libraries.
1.13816 -link_all_deplibs=$link_all_deplibs_CXX
1.13817 -
1.13818 -# Compile-time system search path for libraries
1.13819 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.13820 -
1.13821 -# Run-time system search path for libraries
1.13822 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.13823 -
1.13824 -# Fix the shell variable \$srcfile for the compiler.
1.13825 -fix_srcfile_path="$fix_srcfile_path_CXX"
1.13826 -
1.13827 -# Set to yes if exported symbols are required.
1.13828 -always_export_symbols=$always_export_symbols_CXX
1.13829 -
1.13830 -# The commands to list exported symbols.
1.13831 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
1.13832 -
1.13833 -# The commands to extract the exported symbol list from a shared archive.
1.13834 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.13835 -
1.13836 -# Symbols that should not be listed in the preloaded symbols.
1.13837 -exclude_expsyms=$lt_exclude_expsyms_CXX
1.13838 -
1.13839 -# Symbols that must always be exported.
1.13840 -include_expsyms=$lt_include_expsyms_CXX
1.13841 -
1.13842 -# ### END LIBTOOL TAG CONFIG: $tagname
1.13843 -
1.13844 -__EOF__
1.13845 -
1.13846 -
1.13847 -else
1.13848 - # If there is no Makefile yet, we rely on a make rule to execute
1.13849 - # `config.status --recheck' to rerun these tests and create the
1.13850 - # libtool script then.
1.13851 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.13852 - if test -f "$ltmain_in"; then
1.13853 - test -f Makefile && make "$ltmain"
1.13854 - fi
1.13855 -fi
1.13856 -
1.13857 -
1.13858 -ac_ext=c
1.13859 -ac_cpp='$CPP $CPPFLAGS'
1.13860 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.13861 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.13862 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.13863 -
1.13864 -CC=$lt_save_CC
1.13865 -LDCXX=$LD
1.13866 -LD=$lt_save_LD
1.13867 -GCC=$lt_save_GCC
1.13868 -with_gnu_ldcxx=$with_gnu_ld
1.13869 -with_gnu_ld=$lt_save_with_gnu_ld
1.13870 -lt_cv_path_LDCXX=$lt_cv_path_LD
1.13871 -lt_cv_path_LD=$lt_save_path_LD
1.13872 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
1.13873 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
1.13874 -
1.13875 - else
1.13876 - tagname=""
1.13877 - fi
1.13878 - ;;
1.13879 -
1.13880 - F77)
1.13881 - if test -n "$F77" && test "X$F77" != "Xno"; then
1.13882 -
1.13883 -ac_ext=f
1.13884 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
1.13885 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.13886 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1.13887 -
1.13888 -
1.13889 -archive_cmds_need_lc_F77=no
1.13890 -allow_undefined_flag_F77=
1.13891 -always_export_symbols_F77=no
1.13892 -archive_expsym_cmds_F77=
1.13893 -export_dynamic_flag_spec_F77=
1.13894 -hardcode_direct_F77=no
1.13895 -hardcode_libdir_flag_spec_F77=
1.13896 -hardcode_libdir_flag_spec_ld_F77=
1.13897 -hardcode_libdir_separator_F77=
1.13898 -hardcode_minus_L_F77=no
1.13899 -hardcode_automatic_F77=no
1.13900 -module_cmds_F77=
1.13901 -module_expsym_cmds_F77=
1.13902 -link_all_deplibs_F77=unknown
1.13903 -old_archive_cmds_F77=$old_archive_cmds
1.13904 -no_undefined_flag_F77=
1.13905 -whole_archive_flag_spec_F77=
1.13906 -enable_shared_with_static_runtimes_F77=no
1.13907 -
1.13908 -# Source file extension for f77 test sources.
1.13909 -ac_ext=f
1.13910 -
1.13911 -# Object file extension for compiled f77 test sources.
1.13912 -objext=o
1.13913 -objext_F77=$objext
1.13914 -
1.13915 -# Code to be used in simple compile tests
1.13916 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
1.13917 -
1.13918 -# Code to be used in simple link tests
1.13919 -lt_simple_link_test_code=" program t\n end\n"
1.13920 -
1.13921 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.13922 -
1.13923 -# If no C compiler was specified, use CC.
1.13924 -LTCC=${LTCC-"$CC"}
1.13925 -
1.13926 -# Allow CC to be a program name with arguments.
1.13927 -compiler=$CC
1.13928 -
1.13929 -
1.13930 -# Allow CC to be a program name with arguments.
1.13931 -lt_save_CC="$CC"
1.13932 -CC=${F77-"f77"}
1.13933 -compiler=$CC
1.13934 -compiler_F77=$CC
1.13935 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
1.13936 -
1.13937 -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
1.13938 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
1.13939 -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
1.13940 -echo "${ECHO_T}$can_build_shared" >&6; }
1.13941 -
1.13942 -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
1.13943 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
1.13944 -test "$can_build_shared" = "no" && enable_shared=no
1.13945 -
1.13946 -# On AIX, shared libraries and static libraries use the same namespace, and
1.13947 -# are all built from PIC.
1.13948 -case "$host_os" in
1.13949 -aix3*)
1.13950 - test "$enable_shared" = yes && enable_static=no
1.13951 - if test -n "$RANLIB"; then
1.13952 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
1.13953 - postinstall_cmds='$RANLIB $lib'
1.13954 - fi
1.13955 - ;;
1.13956 -aix4* | aix5*)
1.13957 - test "$enable_shared" = yes && enable_static=no
1.13958 - ;;
1.13959 -esac
1.13960 -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
1.13961 -echo "${ECHO_T}$enable_shared" >&6; }
1.13962 -
1.13963 -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
1.13964 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
1.13965 -# Make sure either enable_shared or enable_static is yes.
1.13966 -test "$enable_shared" = yes || enable_static=yes
1.13967 -{ echo "$as_me:$LINENO: result: $enable_static" >&5
1.13968 -echo "${ECHO_T}$enable_static" >&6; }
1.13969 -
1.13970 -test "$ld_shlibs_F77" = no && can_build_shared=no
1.13971 -
1.13972 -GCC_F77="$G77"
1.13973 -LD_F77="$LD"
1.13974 -
1.13975 -lt_prog_compiler_wl_F77=
1.13976 -lt_prog_compiler_pic_F77=
1.13977 -lt_prog_compiler_static_F77=
1.13978 -
1.13979 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.13980 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.13981 -
1.13982 - if test "$GCC" = yes; then
1.13983 - lt_prog_compiler_wl_F77='-Wl,'
1.13984 - lt_prog_compiler_static_F77='-static'
1.13985 -
1.13986 - case $host_os in
1.13987 - aix*)
1.13988 - # All AIX code is PIC.
1.13989 - if test "$host_cpu" = ia64; then
1.13990 - # AIX 5 now supports IA64 processor
1.13991 - lt_prog_compiler_static_F77='-Bstatic'
1.13992 - fi
1.13993 - ;;
1.13994 -
1.13995 - amigaos*)
1.13996 - # FIXME: we need at least 68020 code to build shared libraries, but
1.13997 - # adding the `-m68020' flag to GCC prevents building anything better,
1.13998 - # like `-m68040'.
1.13999 - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
1.14000 - ;;
1.14001 -
1.14002 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.14003 - # PIC is the default for these OSes.
1.14004 - ;;
1.14005 -
1.14006 - mingw* | pw32* | os2*)
1.14007 - # This hack is so that the source file can tell whether it is being
1.14008 - # built for inclusion in a dll (and should export symbols for example).
1.14009 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
1.14010 - ;;
1.14011 -
1.14012 - darwin* | rhapsody*)
1.14013 - # PIC is the default on this platform
1.14014 - # Common symbols not allowed in MH_DYLIB files
1.14015 - lt_prog_compiler_pic_F77='-fno-common'
1.14016 - ;;
1.14017 -
1.14018 - msdosdjgpp*)
1.14019 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.14020 - # on systems that don't support them.
1.14021 - lt_prog_compiler_can_build_shared_F77=no
1.14022 - enable_shared=no
1.14023 - ;;
1.14024 -
1.14025 - sysv4*MP*)
1.14026 - if test -d /usr/nec; then
1.14027 - lt_prog_compiler_pic_F77=-Kconform_pic
1.14028 - fi
1.14029 - ;;
1.14030 -
1.14031 - hpux*)
1.14032 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.14033 - # not for PA HP-UX.
1.14034 - case "$host_cpu" in
1.14035 - hppa*64*|ia64*)
1.14036 - # +Z the default
1.14037 - ;;
1.14038 - *)
1.14039 - lt_prog_compiler_pic_F77='-fPIC'
1.14040 - ;;
1.14041 - esac
1.14042 - ;;
1.14043 -
1.14044 - *)
1.14045 - lt_prog_compiler_pic_F77='-fPIC'
1.14046 - ;;
1.14047 - esac
1.14048 - else
1.14049 - # PORTME Check for flag to pass linker flags through the system compiler.
1.14050 - case $host_os in
1.14051 - aix*)
1.14052 - lt_prog_compiler_wl_F77='-Wl,'
1.14053 - if test "$host_cpu" = ia64; then
1.14054 - # AIX 5 now supports IA64 processor
1.14055 - lt_prog_compiler_static_F77='-Bstatic'
1.14056 - else
1.14057 - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
1.14058 - fi
1.14059 - ;;
1.14060 -
1.14061 - mingw* | pw32* | os2*)
1.14062 - # This hack is so that the source file can tell whether it is being
1.14063 - # built for inclusion in a dll (and should export symbols for example).
1.14064 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
1.14065 - ;;
1.14066 -
1.14067 - hpux9* | hpux10* | hpux11*)
1.14068 - lt_prog_compiler_wl_F77='-Wl,'
1.14069 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.14070 - # not for PA HP-UX.
1.14071 - case "$host_cpu" in
1.14072 - hppa*64*|ia64*)
1.14073 - # +Z the default
1.14074 - ;;
1.14075 - *)
1.14076 - lt_prog_compiler_pic_F77='+Z'
1.14077 - ;;
1.14078 - esac
1.14079 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.14080 - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
1.14081 - ;;
1.14082 -
1.14083 - irix5* | irix6* | nonstopux*)
1.14084 - lt_prog_compiler_wl_F77='-Wl,'
1.14085 - # PIC (with -KPIC) is the default.
1.14086 - lt_prog_compiler_static_F77='-non_shared'
1.14087 - ;;
1.14088 -
1.14089 - newsos6)
1.14090 - lt_prog_compiler_pic_F77='-KPIC'
1.14091 - lt_prog_compiler_static_F77='-Bstatic'
1.14092 - ;;
1.14093 -
1.14094 - linux*)
1.14095 - case $CC in
1.14096 - icc* | ecc*)
1.14097 - lt_prog_compiler_wl_F77='-Wl,'
1.14098 - lt_prog_compiler_pic_F77='-KPIC'
1.14099 - lt_prog_compiler_static_F77='-static'
1.14100 - ;;
1.14101 - ccc*)
1.14102 - lt_prog_compiler_wl_F77='-Wl,'
1.14103 - # All Alpha code is PIC.
1.14104 - lt_prog_compiler_static_F77='-non_shared'
1.14105 - ;;
1.14106 - esac
1.14107 - ;;
1.14108 -
1.14109 - osf3* | osf4* | osf5*)
1.14110 - lt_prog_compiler_wl_F77='-Wl,'
1.14111 - # All OSF/1 code is PIC.
1.14112 - lt_prog_compiler_static_F77='-non_shared'
1.14113 - ;;
1.14114 -
1.14115 - sco3.2v5*)
1.14116 - lt_prog_compiler_pic_F77='-Kpic'
1.14117 - lt_prog_compiler_static_F77='-dn'
1.14118 - ;;
1.14119 -
1.14120 - solaris*)
1.14121 - lt_prog_compiler_wl_F77='-Wl,'
1.14122 - lt_prog_compiler_pic_F77='-KPIC'
1.14123 - lt_prog_compiler_static_F77='-Bstatic'
1.14124 - ;;
1.14125 -
1.14126 - sunos4*)
1.14127 - lt_prog_compiler_wl_F77='-Qoption ld '
1.14128 - lt_prog_compiler_pic_F77='-PIC'
1.14129 - lt_prog_compiler_static_F77='-Bstatic'
1.14130 - ;;
1.14131 -
1.14132 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.14133 - lt_prog_compiler_wl_F77='-Wl,'
1.14134 - lt_prog_compiler_pic_F77='-KPIC'
1.14135 - lt_prog_compiler_static_F77='-Bstatic'
1.14136 - ;;
1.14137 -
1.14138 - sysv4*MP*)
1.14139 - if test -d /usr/nec ;then
1.14140 - lt_prog_compiler_pic_F77='-Kconform_pic'
1.14141 - lt_prog_compiler_static_F77='-Bstatic'
1.14142 - fi
1.14143 - ;;
1.14144 -
1.14145 - uts4*)
1.14146 - lt_prog_compiler_pic_F77='-pic'
1.14147 - lt_prog_compiler_static_F77='-Bstatic'
1.14148 - ;;
1.14149 -
1.14150 - *)
1.14151 - lt_prog_compiler_can_build_shared_F77=no
1.14152 - ;;
1.14153 - esac
1.14154 - fi
1.14155 -
1.14156 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
1.14157 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
1.14158 -
1.14159 -#
1.14160 -# Check to make sure the PIC flag actually works.
1.14161 -#
1.14162 -if test -n "$lt_prog_compiler_pic_F77"; then
1.14163 -
1.14164 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
1.14165 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
1.14166 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
1.14167 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.14168 -else
1.14169 - lt_prog_compiler_pic_works_F77=no
1.14170 - ac_outfile=conftest.$ac_objext
1.14171 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.14172 - lt_compiler_flag="$lt_prog_compiler_pic_F77"
1.14173 - # Insert the option either (1) after the last *FLAGS variable, or
1.14174 - # (2) before a word containing "conftest.", or (3) at the end.
1.14175 - # Note that $ac_compile itself does not contain backslashes and begins
1.14176 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.14177 - # The option is referenced via a variable to avoid confusing sed.
1.14178 - lt_compile=`echo "$ac_compile" | $SED \
1.14179 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.14180 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.14181 - -e 's:$: $lt_compiler_flag:'`
1.14182 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.14183 - (eval "$lt_compile" 2>conftest.err)
1.14184 - ac_status=$?
1.14185 - cat conftest.err >&5
1.14186 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.14187 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.14188 - # The compiler can only warn and ignore the option if not recognized
1.14189 - # So say no if there are warnings
1.14190 - if test ! -s conftest.err; then
1.14191 - lt_prog_compiler_pic_works_F77=yes
1.14192 - fi
1.14193 - fi
1.14194 - $rm conftest*
1.14195 -
1.14196 -fi
1.14197 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
1.14198 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
1.14199 -
1.14200 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1.14201 - case $lt_prog_compiler_pic_F77 in
1.14202 - "" | " "*) ;;
1.14203 - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
1.14204 - esac
1.14205 -else
1.14206 - lt_prog_compiler_pic_F77=
1.14207 - lt_prog_compiler_can_build_shared_F77=no
1.14208 -fi
1.14209 -
1.14210 -fi
1.14211 -case "$host_os" in
1.14212 - # For platforms which do not support PIC, -DPIC is meaningless:
1.14213 - *djgpp*)
1.14214 - lt_prog_compiler_pic_F77=
1.14215 - ;;
1.14216 - *)
1.14217 - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
1.14218 - ;;
1.14219 -esac
1.14220 -
1.14221 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.14222 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.14223 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
1.14224 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.14225 -else
1.14226 - lt_cv_prog_compiler_c_o_F77=no
1.14227 - $rm -r conftest 2>/dev/null
1.14228 - mkdir conftest
1.14229 - cd conftest
1.14230 - mkdir out
1.14231 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.14232 -
1.14233 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.14234 - # Insert the option either (1) after the last *FLAGS variable, or
1.14235 - # (2) before a word containing "conftest.", or (3) at the end.
1.14236 - # Note that $ac_compile itself does not contain backslashes and begins
1.14237 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.14238 - lt_compile=`echo "$ac_compile" | $SED \
1.14239 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.14240 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.14241 - -e 's:$: $lt_compiler_flag:'`
1.14242 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.14243 - (eval "$lt_compile" 2>out/conftest.err)
1.14244 - ac_status=$?
1.14245 - cat out/conftest.err >&5
1.14246 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.14247 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.14248 - then
1.14249 - # The compiler can only warn and ignore the option if not recognized
1.14250 - # So say no if there are warnings
1.14251 - if test ! -s out/conftest.err; then
1.14252 - lt_cv_prog_compiler_c_o_F77=yes
1.14253 - fi
1.14254 - fi
1.14255 - chmod u+w .
1.14256 - $rm conftest*
1.14257 - # SGI C++ compiler will create directory out/ii_files/ for
1.14258 - # template instantiation
1.14259 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.14260 - $rm out/* && rmdir out
1.14261 - cd ..
1.14262 - rmdir conftest
1.14263 - $rm conftest*
1.14264 -
1.14265 -fi
1.14266 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
1.14267 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
1.14268 -
1.14269 -
1.14270 -hard_links="nottested"
1.14271 -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1.14272 - # do not overwrite the value of need_locks provided by the user
1.14273 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.14274 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.14275 - hard_links=yes
1.14276 - $rm conftest*
1.14277 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.14278 - touch conftest.a
1.14279 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.14280 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.14281 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.14282 -echo "${ECHO_T}$hard_links" >&6; }
1.14283 - if test "$hard_links" = no; then
1.14284 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.14285 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.14286 - need_locks=warn
1.14287 - fi
1.14288 -else
1.14289 - need_locks=no
1.14290 -fi
1.14291 -
1.14292 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.14293 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.14294 -
1.14295 - runpath_var=
1.14296 - allow_undefined_flag_F77=
1.14297 - enable_shared_with_static_runtimes_F77=no
1.14298 - archive_cmds_F77=
1.14299 - archive_expsym_cmds_F77=
1.14300 - old_archive_From_new_cmds_F77=
1.14301 - old_archive_from_expsyms_cmds_F77=
1.14302 - export_dynamic_flag_spec_F77=
1.14303 - whole_archive_flag_spec_F77=
1.14304 - thread_safe_flag_spec_F77=
1.14305 - hardcode_libdir_flag_spec_F77=
1.14306 - hardcode_libdir_flag_spec_ld_F77=
1.14307 - hardcode_libdir_separator_F77=
1.14308 - hardcode_direct_F77=no
1.14309 - hardcode_minus_L_F77=no
1.14310 - hardcode_shlibpath_var_F77=unsupported
1.14311 - link_all_deplibs_F77=unknown
1.14312 - hardcode_automatic_F77=no
1.14313 - module_cmds_F77=
1.14314 - module_expsym_cmds_F77=
1.14315 - always_export_symbols_F77=no
1.14316 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.14317 - # include_expsyms should be a list of space-separated symbols to be *always*
1.14318 - # included in the symbol list
1.14319 - include_expsyms_F77=
1.14320 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.14321 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.14322 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.14323 - # as well as any symbol that contains `d'.
1.14324 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
1.14325 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.14326 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.14327 - # the symbol is explicitly referenced. Since portable code cannot
1.14328 - # rely on this symbol name, it's probably fine to never include it in
1.14329 - # preloaded symbol tables.
1.14330 - extract_expsyms_cmds=
1.14331 -
1.14332 - case $host_os in
1.14333 - cygwin* | mingw* | pw32*)
1.14334 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.14335 - # When not using gcc, we currently assume that we are using
1.14336 - # Microsoft Visual C++.
1.14337 - if test "$GCC" != yes; then
1.14338 - with_gnu_ld=no
1.14339 - fi
1.14340 - ;;
1.14341 - openbsd*)
1.14342 - with_gnu_ld=no
1.14343 - ;;
1.14344 - esac
1.14345 -
1.14346 - ld_shlibs_F77=yes
1.14347 - if test "$with_gnu_ld" = yes; then
1.14348 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.14349 - wlarc='${wl}'
1.14350 -
1.14351 - # See if GNU ld supports shared libraries.
1.14352 - case $host_os in
1.14353 - aix3* | aix4* | aix5*)
1.14354 - # On AIX/PPC, the GNU linker is very broken
1.14355 - if test "$host_cpu" != ia64; then
1.14356 - ld_shlibs_F77=no
1.14357 - cat <<EOF 1>&2
1.14358 -
1.14359 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.14360 -*** to be unable to reliably create shared libraries on AIX.
1.14361 -*** Therefore, libtool is disabling shared libraries support. If you
1.14362 -*** really care for shared libraries, you may want to modify your PATH
1.14363 -*** so that a non-GNU linker is found, and then restart.
1.14364 -
1.14365 -EOF
1.14366 - fi
1.14367 - ;;
1.14368 -
1.14369 - amigaos*)
1.14370 - 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.14371 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14372 - hardcode_minus_L_F77=yes
1.14373 -
1.14374 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.14375 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.14376 - # to version 4, is to share data among multiple programs linked
1.14377 - # with the same dynamic library. Since this doesn't match the
1.14378 - # behavior of shared libraries on other platforms, we can't use
1.14379 - # them.
1.14380 - ld_shlibs_F77=no
1.14381 - ;;
1.14382 -
1.14383 - beos*)
1.14384 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14385 - allow_undefined_flag_F77=unsupported
1.14386 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.14387 - # support --undefined. This deserves some investigation. FIXME
1.14388 - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14389 - else
1.14390 - ld_shlibs_F77=no
1.14391 - fi
1.14392 - ;;
1.14393 -
1.14394 - cygwin* | mingw* | pw32*)
1.14395 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
1.14396 - # as there is no search path for DLLs.
1.14397 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14398 - allow_undefined_flag_F77=unsupported
1.14399 - always_export_symbols_F77=no
1.14400 - enable_shared_with_static_runtimes_F77=yes
1.14401 - 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.14402 -
1.14403 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.14404 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.14405 - # If the export-symbols file already is a .def file (1st line
1.14406 - # is EXPORTS), use it as is; otherwise, prepend...
1.14407 - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.14408 - cp $export_symbols $output_objdir/$soname.def;
1.14409 - else
1.14410 - echo EXPORTS > $output_objdir/$soname.def;
1.14411 - cat $export_symbols >> $output_objdir/$soname.def;
1.14412 - fi~
1.14413 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.14414 - else
1.14415 - ld_shlibs=no
1.14416 - fi
1.14417 - ;;
1.14418 -
1.14419 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.14420 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.14421 - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.14422 - wlarc=
1.14423 - else
1.14424 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14425 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14426 - fi
1.14427 - ;;
1.14428 -
1.14429 - solaris* | sysv5*)
1.14430 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.14431 - ld_shlibs_F77=no
1.14432 - cat <<EOF 1>&2
1.14433 -
1.14434 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.14435 -*** create shared libraries on Solaris systems. Therefore, libtool
1.14436 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.14437 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.14438 -*** your PATH or compiler configuration so that the native linker is
1.14439 -*** used, and then restart.
1.14440 -
1.14441 -EOF
1.14442 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14443 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14444 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14445 - else
1.14446 - ld_shlibs_F77=no
1.14447 - fi
1.14448 - ;;
1.14449 -
1.14450 - sunos4*)
1.14451 - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14452 - wlarc=
1.14453 - hardcode_direct_F77=yes
1.14454 - hardcode_shlibpath_var_F77=no
1.14455 - ;;
1.14456 -
1.14457 - linux*)
1.14458 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14459 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14460 - archive_cmds_F77="$tmp_archive_cmds"
1.14461 - supports_anon_versioning=no
1.14462 - case `$LD -v 2>/dev/null` in
1.14463 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.14464 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.14465 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.14466 - *\ 2.11.*) ;; # other 2.11 versions
1.14467 - *) supports_anon_versioning=yes ;;
1.14468 - esac
1.14469 - if test $supports_anon_versioning = yes; then
1.14470 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
1.14471 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.14472 -$echo "local: *; };" >> $output_objdir/$libname.ver~
1.14473 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.14474 - else
1.14475 - archive_expsym_cmds_F77="$tmp_archive_cmds"
1.14476 - fi
1.14477 - link_all_deplibs_F77=no
1.14478 - else
1.14479 - ld_shlibs_F77=no
1.14480 - fi
1.14481 - ;;
1.14482 -
1.14483 - *)
1.14484 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14485 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14486 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14487 - else
1.14488 - ld_shlibs_F77=no
1.14489 - fi
1.14490 - ;;
1.14491 - esac
1.14492 -
1.14493 - if test "$ld_shlibs_F77" = yes; then
1.14494 - runpath_var=LD_RUN_PATH
1.14495 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
1.14496 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
1.14497 - # ancient GNU ld didn't support --whole-archive et. al.
1.14498 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.14499 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.14500 - else
1.14501 - whole_archive_flag_spec_F77=
1.14502 - fi
1.14503 - fi
1.14504 - else
1.14505 - # PORTME fill in a description of your system's linker (not GNU ld)
1.14506 - case $host_os in
1.14507 - aix3*)
1.14508 - allow_undefined_flag_F77=unsupported
1.14509 - always_export_symbols_F77=yes
1.14510 - 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.14511 - # Note: this linker hardcodes the directories in LIBPATH if there
1.14512 - # are no directories specified by -L.
1.14513 - hardcode_minus_L_F77=yes
1.14514 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.14515 - # Neither direct hardcoding nor static linking is supported with a
1.14516 - # broken collect2.
1.14517 - hardcode_direct_F77=unsupported
1.14518 - fi
1.14519 - ;;
1.14520 -
1.14521 - aix4* | aix5*)
1.14522 - if test "$host_cpu" = ia64; then
1.14523 - # On IA64, the linker does run time linking by default, so we don't
1.14524 - # have to do anything special.
1.14525 - aix_use_runtimelinking=no
1.14526 - exp_sym_flag='-Bexport'
1.14527 - no_entry_flag=""
1.14528 - else
1.14529 - # If we're using GNU nm, then we don't want the "-C" option.
1.14530 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.14531 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.14532 - 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.14533 - else
1.14534 - 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.14535 - fi
1.14536 - aix_use_runtimelinking=no
1.14537 -
1.14538 - # Test if we are trying to use run time linking or normal
1.14539 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.14540 - # need to do runtime linking.
1.14541 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.14542 - for ld_flag in $LDFLAGS; do
1.14543 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.14544 - aix_use_runtimelinking=yes
1.14545 - break
1.14546 - fi
1.14547 - done
1.14548 - esac
1.14549 -
1.14550 - exp_sym_flag='-bexport'
1.14551 - no_entry_flag='-bnoentry'
1.14552 - fi
1.14553 -
1.14554 - # When large executables or shared objects are built, AIX ld can
1.14555 - # have problems creating the table of contents. If linking a library
1.14556 - # or program results in "error TOC overflow" add -mminimal-toc to
1.14557 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.14558 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.14559 -
1.14560 - archive_cmds_F77=''
1.14561 - hardcode_direct_F77=yes
1.14562 - hardcode_libdir_separator_F77=':'
1.14563 - link_all_deplibs_F77=yes
1.14564 -
1.14565 - if test "$GCC" = yes; then
1.14566 - case $host_os in aix4.012|aix4.012.*)
1.14567 - # We only want to do this on AIX 4.2 and lower, the check
1.14568 - # below for broken collect2 doesn't work under 4.3+
1.14569 - collect2name=`${CC} -print-prog-name=collect2`
1.14570 - if test -f "$collect2name" && \
1.14571 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.14572 - then
1.14573 - # We have reworked collect2
1.14574 - hardcode_direct_F77=yes
1.14575 - else
1.14576 - # We have old collect2
1.14577 - hardcode_direct_F77=unsupported
1.14578 - # It fails to find uninstalled libraries when the uninstalled
1.14579 - # path is not listed in the libpath. Setting hardcode_minus_L
1.14580 - # to unsupported forces relinking
1.14581 - hardcode_minus_L_F77=yes
1.14582 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14583 - hardcode_libdir_separator_F77=
1.14584 - fi
1.14585 - esac
1.14586 - shared_flag='-shared'
1.14587 - else
1.14588 - # not using gcc
1.14589 - if test "$host_cpu" = ia64; then
1.14590 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.14591 - # chokes on -Wl,-G. The following line is correct:
1.14592 - shared_flag='-G'
1.14593 - else
1.14594 - if test "$aix_use_runtimelinking" = yes; then
1.14595 - shared_flag='${wl}-G'
1.14596 - else
1.14597 - shared_flag='${wl}-bM:SRE'
1.14598 - fi
1.14599 - fi
1.14600 - fi
1.14601 -
1.14602 - # It seems that -bexpall does not export symbols beginning with
1.14603 - # underscore (_), so it is better to generate a list of symbols to export.
1.14604 - always_export_symbols_F77=yes
1.14605 - if test "$aix_use_runtimelinking" = yes; then
1.14606 - # Warning - without using the other runtime loading flags (-brtl),
1.14607 - # -berok will link without error, but may produce a broken library.
1.14608 - allow_undefined_flag_F77='-berok'
1.14609 - # Determine the default libpath from the value encoded in an empty executable.
1.14610 - cat >conftest.$ac_ext <<_ACEOF
1.14611 - program main
1.14612 -
1.14613 - end
1.14614 -_ACEOF
1.14615 -rm -f conftest.$ac_objext conftest$ac_exeext
1.14616 -if { (ac_try="$ac_link"
1.14617 -case "(($ac_try" in
1.14618 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.14619 - *) ac_try_echo=$ac_try;;
1.14620 -esac
1.14621 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.14622 - (eval "$ac_link") 2>conftest.er1
1.14623 - ac_status=$?
1.14624 - grep -v '^ *+' conftest.er1 >conftest.err
1.14625 - rm -f conftest.er1
1.14626 - cat conftest.err >&5
1.14627 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14628 - (exit $ac_status); } && {
1.14629 - test -z "$ac_f77_werror_flag" ||
1.14630 - test ! -s conftest.err
1.14631 - } && test -s conftest$ac_exeext &&
1.14632 - $as_test_x conftest$ac_exeext; then
1.14633 -
1.14634 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.14635 -}'`
1.14636 -# Check for a 64-bit object if we didn't find anything.
1.14637 -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.14638 -}'`; fi
1.14639 -else
1.14640 - echo "$as_me: failed program was:" >&5
1.14641 -sed 's/^/| /' conftest.$ac_ext >&5
1.14642 -
1.14643 -
1.14644 -fi
1.14645 -
1.14646 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.14647 - conftest$ac_exeext conftest.$ac_ext
1.14648 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.14649 -
1.14650 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1.14651 - 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.14652 - else
1.14653 - if test "$host_cpu" = ia64; then
1.14654 - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
1.14655 - allow_undefined_flag_F77="-z nodefs"
1.14656 - 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.14657 - else
1.14658 - # Determine the default libpath from the value encoded in an empty executable.
1.14659 - cat >conftest.$ac_ext <<_ACEOF
1.14660 - program main
1.14661 -
1.14662 - end
1.14663 -_ACEOF
1.14664 -rm -f conftest.$ac_objext conftest$ac_exeext
1.14665 -if { (ac_try="$ac_link"
1.14666 -case "(($ac_try" in
1.14667 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.14668 - *) ac_try_echo=$ac_try;;
1.14669 -esac
1.14670 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.14671 - (eval "$ac_link") 2>conftest.er1
1.14672 - ac_status=$?
1.14673 - grep -v '^ *+' conftest.er1 >conftest.err
1.14674 - rm -f conftest.er1
1.14675 - cat conftest.err >&5
1.14676 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14677 - (exit $ac_status); } && {
1.14678 - test -z "$ac_f77_werror_flag" ||
1.14679 - test ! -s conftest.err
1.14680 - } && test -s conftest$ac_exeext &&
1.14681 - $as_test_x conftest$ac_exeext; then
1.14682 -
1.14683 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.14684 -}'`
1.14685 -# Check for a 64-bit object if we didn't find anything.
1.14686 -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.14687 -}'`; fi
1.14688 -else
1.14689 - echo "$as_me: failed program was:" >&5
1.14690 -sed 's/^/| /' conftest.$ac_ext >&5
1.14691 -
1.14692 -
1.14693 -fi
1.14694 -
1.14695 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.14696 - conftest$ac_exeext conftest.$ac_ext
1.14697 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.14698 -
1.14699 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1.14700 - # Warning - without using the other run time loading flags,
1.14701 - # -berok will link without error, but may produce a broken library.
1.14702 - no_undefined_flag_F77=' ${wl}-bernotok'
1.14703 - allow_undefined_flag_F77=' ${wl}-berok'
1.14704 - # -bexpall does not export symbols beginning with underscore (_)
1.14705 - always_export_symbols_F77=yes
1.14706 - # Exported symbols can be pulled into shared objects from archives
1.14707 - whole_archive_flag_spec_F77=' '
1.14708 - archive_cmds_need_lc_F77=yes
1.14709 - # This is similar to how AIX traditionally builds it's shared libraries.
1.14710 - 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.14711 - fi
1.14712 - fi
1.14713 - ;;
1.14714 -
1.14715 - amigaos*)
1.14716 - 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.14717 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14718 - hardcode_minus_L_F77=yes
1.14719 - # see comment about different semantics on the GNU ld section
1.14720 - ld_shlibs_F77=no
1.14721 - ;;
1.14722 -
1.14723 - bsdi4*)
1.14724 - export_dynamic_flag_spec_F77=-rdynamic
1.14725 - ;;
1.14726 -
1.14727 - cygwin* | mingw* | pw32*)
1.14728 - # When not using gcc, we currently assume that we are using
1.14729 - # Microsoft Visual C++.
1.14730 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.14731 - # no search path for DLLs.
1.14732 - hardcode_libdir_flag_spec_F77=' '
1.14733 - allow_undefined_flag_F77=unsupported
1.14734 - # Tell ltmain to make .lib files, not .a files.
1.14735 - libext=lib
1.14736 - # Tell ltmain to make .dll files, not .so files.
1.14737 - shrext_cmds=".dll"
1.14738 - # FIXME: Setting linknames here is a bad hack.
1.14739 - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.14740 - # The linker will automatically build a .lib file if we build a DLL.
1.14741 - old_archive_From_new_cmds_F77='true'
1.14742 - # FIXME: Should let the user specify the lib program.
1.14743 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.14744 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1.14745 - enable_shared_with_static_runtimes_F77=yes
1.14746 - ;;
1.14747 -
1.14748 - darwin* | rhapsody*)
1.14749 - if test "$GXX" = yes ; then
1.14750 - archive_cmds_need_lc_F77=no
1.14751 - case "$host_os" in
1.14752 - rhapsody* | darwin1.[012])
1.14753 - allow_undefined_flag_F77='-undefined suppress'
1.14754 - ;;
1.14755 - *) # Darwin 1.3 on
1.14756 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.14757 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
1.14758 - else
1.14759 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.14760 - 10.[012])
1.14761 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
1.14762 - ;;
1.14763 - 10.*)
1.14764 - allow_undefined_flag_F77='-undefined dynamic_lookup'
1.14765 - ;;
1.14766 - esac
1.14767 - fi
1.14768 - ;;
1.14769 - esac
1.14770 - lt_int_apple_cc_single_mod=no
1.14771 - output_verbose_link_cmd='echo'
1.14772 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.14773 - lt_int_apple_cc_single_mod=yes
1.14774 - fi
1.14775 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.14776 - archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.14777 - else
1.14778 - 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.14779 - fi
1.14780 - module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.14781 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.14782 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.14783 - 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.14784 - else
1.14785 - 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.14786 - fi
1.14787 - 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.14788 - hardcode_direct_F77=no
1.14789 - hardcode_automatic_F77=yes
1.14790 - hardcode_shlibpath_var_F77=unsupported
1.14791 - whole_archive_flag_spec_F77='-all_load $convenience'
1.14792 - link_all_deplibs_F77=yes
1.14793 - else
1.14794 - ld_shlibs_F77=no
1.14795 - fi
1.14796 - ;;
1.14797 -
1.14798 - dgux*)
1.14799 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14800 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14801 - hardcode_shlibpath_var_F77=no
1.14802 - ;;
1.14803 -
1.14804 - freebsd1*)
1.14805 - ld_shlibs_F77=no
1.14806 - ;;
1.14807 -
1.14808 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.14809 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.14810 - # does not break anything, and helps significantly (at the cost of a little
1.14811 - # extra space).
1.14812 - freebsd2.2*)
1.14813 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.14814 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14815 - hardcode_direct_F77=yes
1.14816 - hardcode_shlibpath_var_F77=no
1.14817 - ;;
1.14818 -
1.14819 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.14820 - freebsd2*)
1.14821 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14822 - hardcode_direct_F77=yes
1.14823 - hardcode_minus_L_F77=yes
1.14824 - hardcode_shlibpath_var_F77=no
1.14825 - ;;
1.14826 -
1.14827 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.14828 - freebsd* | kfreebsd*-gnu)
1.14829 - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.14830 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14831 - hardcode_direct_F77=yes
1.14832 - hardcode_shlibpath_var_F77=no
1.14833 - ;;
1.14834 -
1.14835 - hpux9*)
1.14836 - if test "$GCC" = yes; then
1.14837 - 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.14838 - else
1.14839 - 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.14840 - fi
1.14841 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14842 - hardcode_libdir_separator_F77=:
1.14843 - hardcode_direct_F77=yes
1.14844 -
1.14845 - # hardcode_minus_L: Not really in the search PATH,
1.14846 - # but as the default location of the library.
1.14847 - hardcode_minus_L_F77=yes
1.14848 - export_dynamic_flag_spec_F77='${wl}-E'
1.14849 - ;;
1.14850 -
1.14851 - hpux10* | hpux11*)
1.14852 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.14853 - case "$host_cpu" in
1.14854 - hppa*64*|ia64*)
1.14855 - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.14856 - ;;
1.14857 - *)
1.14858 - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.14859 - ;;
1.14860 - esac
1.14861 - else
1.14862 - case "$host_cpu" in
1.14863 - hppa*64*|ia64*)
1.14864 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14865 - ;;
1.14866 - *)
1.14867 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.14868 - ;;
1.14869 - esac
1.14870 - fi
1.14871 - if test "$with_gnu_ld" = no; then
1.14872 - case "$host_cpu" in
1.14873 - hppa*64*)
1.14874 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14875 - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
1.14876 - hardcode_libdir_separator_F77=:
1.14877 - hardcode_direct_F77=no
1.14878 - hardcode_shlibpath_var_F77=no
1.14879 - ;;
1.14880 - ia64*)
1.14881 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14882 - hardcode_direct_F77=no
1.14883 - hardcode_shlibpath_var_F77=no
1.14884 -
1.14885 - # hardcode_minus_L: Not really in the search PATH,
1.14886 - # but as the default location of the library.
1.14887 - hardcode_minus_L_F77=yes
1.14888 - ;;
1.14889 - *)
1.14890 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14891 - hardcode_libdir_separator_F77=:
1.14892 - hardcode_direct_F77=yes
1.14893 - export_dynamic_flag_spec_F77='${wl}-E'
1.14894 -
1.14895 - # hardcode_minus_L: Not really in the search PATH,
1.14896 - # but as the default location of the library.
1.14897 - hardcode_minus_L_F77=yes
1.14898 - ;;
1.14899 - esac
1.14900 - fi
1.14901 - ;;
1.14902 -
1.14903 - irix5* | irix6* | nonstopux*)
1.14904 - if test "$GCC" = yes; then
1.14905 - 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.14906 - else
1.14907 - 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.14908 - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
1.14909 - fi
1.14910 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14911 - hardcode_libdir_separator_F77=:
1.14912 - link_all_deplibs_F77=yes
1.14913 - ;;
1.14914 -
1.14915 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.14916 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.14917 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.14918 - else
1.14919 - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.14920 - fi
1.14921 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14922 - hardcode_direct_F77=yes
1.14923 - hardcode_shlibpath_var_F77=no
1.14924 - ;;
1.14925 -
1.14926 - newsos6)
1.14927 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14928 - hardcode_direct_F77=yes
1.14929 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14930 - hardcode_libdir_separator_F77=:
1.14931 - hardcode_shlibpath_var_F77=no
1.14932 - ;;
1.14933 -
1.14934 - openbsd*)
1.14935 - hardcode_direct_F77=yes
1.14936 - hardcode_shlibpath_var_F77=no
1.14937 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.14938 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.14939 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
1.14940 - export_dynamic_flag_spec_F77='${wl}-E'
1.14941 - else
1.14942 - case $host_os in
1.14943 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.14944 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14945 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14946 - ;;
1.14947 - *)
1.14948 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.14949 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
1.14950 - ;;
1.14951 - esac
1.14952 - fi
1.14953 - ;;
1.14954 -
1.14955 - os2*)
1.14956 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14957 - hardcode_minus_L_F77=yes
1.14958 - allow_undefined_flag_F77=unsupported
1.14959 - 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.14960 - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.14961 - ;;
1.14962 -
1.14963 - osf3*)
1.14964 - if test "$GCC" = yes; then
1.14965 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
1.14966 - 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.14967 - else
1.14968 - allow_undefined_flag_F77=' -expect_unresolved \*'
1.14969 - 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.14970 - fi
1.14971 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14972 - hardcode_libdir_separator_F77=:
1.14973 - ;;
1.14974 -
1.14975 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.14976 - if test "$GCC" = yes; then
1.14977 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
1.14978 - 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.14979 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14980 - else
1.14981 - allow_undefined_flag_F77=' -expect_unresolved \*'
1.14982 - 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.14983 - 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.14984 - $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.14985 -
1.14986 - # Both c and cxx compiler support -rpath directly
1.14987 - hardcode_libdir_flag_spec_F77='-rpath $libdir'
1.14988 - fi
1.14989 - hardcode_libdir_separator_F77=:
1.14990 - ;;
1.14991 -
1.14992 - sco3.2v5*)
1.14993 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14994 - hardcode_shlibpath_var_F77=no
1.14995 - export_dynamic_flag_spec_F77='${wl}-Bexport'
1.14996 - runpath_var=LD_RUN_PATH
1.14997 - hardcode_runpath_var=yes
1.14998 - ;;
1.14999 -
1.15000 - solaris*)
1.15001 - no_undefined_flag_F77=' -z text'
1.15002 - if test "$GCC" = yes; then
1.15003 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.15004 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.15005 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.15006 - else
1.15007 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15008 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.15009 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.15010 - fi
1.15011 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.15012 - hardcode_shlibpath_var_F77=no
1.15013 - case $host_os in
1.15014 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.15015 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
1.15016 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
1.15017 - esac
1.15018 - link_all_deplibs_F77=yes
1.15019 - ;;
1.15020 -
1.15021 - sunos4*)
1.15022 - if test "x$host_vendor" = xsequent; then
1.15023 - # Use $CC to link under sequent, because it throws in some extra .o
1.15024 - # files that make .init and .fini sections work.
1.15025 - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.15026 - else
1.15027 - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.15028 - fi
1.15029 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.15030 - hardcode_direct_F77=yes
1.15031 - hardcode_minus_L_F77=yes
1.15032 - hardcode_shlibpath_var_F77=no
1.15033 - ;;
1.15034 -
1.15035 - sysv4)
1.15036 - case $host_vendor in
1.15037 - sni)
1.15038 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15039 - hardcode_direct_F77=yes # is this really true???
1.15040 - ;;
1.15041 - siemens)
1.15042 - ## LD is ld it makes a PLAMLIB
1.15043 - ## CC just makes a GrossModule.
1.15044 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.15045 - reload_cmds_F77='$CC -r -o $output$reload_objs'
1.15046 - hardcode_direct_F77=no
1.15047 - ;;
1.15048 - motorola)
1.15049 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15050 - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
1.15051 - ;;
1.15052 - esac
1.15053 - runpath_var='LD_RUN_PATH'
1.15054 - hardcode_shlibpath_var_F77=no
1.15055 - ;;
1.15056 -
1.15057 - sysv4.3*)
1.15058 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15059 - hardcode_shlibpath_var_F77=no
1.15060 - export_dynamic_flag_spec_F77='-Bexport'
1.15061 - ;;
1.15062 -
1.15063 - sysv4*MP*)
1.15064 - if test -d /usr/nec; then
1.15065 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15066 - hardcode_shlibpath_var_F77=no
1.15067 - runpath_var=LD_RUN_PATH
1.15068 - hardcode_runpath_var=yes
1.15069 - ld_shlibs_F77=yes
1.15070 - fi
1.15071 - ;;
1.15072 -
1.15073 - sysv4.2uw2*)
1.15074 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.15075 - hardcode_direct_F77=yes
1.15076 - hardcode_minus_L_F77=no
1.15077 - hardcode_shlibpath_var_F77=no
1.15078 - hardcode_runpath_var=yes
1.15079 - runpath_var=LD_RUN_PATH
1.15080 - ;;
1.15081 -
1.15082 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.15083 - no_undefined_flag_F77='${wl}-z ${wl}text'
1.15084 - if test "$GCC" = yes; then
1.15085 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.15086 - else
1.15087 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.15088 - fi
1.15089 - runpath_var='LD_RUN_PATH'
1.15090 - hardcode_shlibpath_var_F77=no
1.15091 - ;;
1.15092 -
1.15093 - sysv5*)
1.15094 - no_undefined_flag_F77=' -z text'
1.15095 - # $CC -shared without GNU ld will not create a library from C++
1.15096 - # object files and a static libstdc++, better avoid it by now
1.15097 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15098 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.15099 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.15100 - hardcode_libdir_flag_spec_F77=
1.15101 - hardcode_shlibpath_var_F77=no
1.15102 - runpath_var='LD_RUN_PATH'
1.15103 - ;;
1.15104 -
1.15105 - uts4*)
1.15106 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.15107 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.15108 - hardcode_shlibpath_var_F77=no
1.15109 - ;;
1.15110 -
1.15111 - *)
1.15112 - ld_shlibs_F77=no
1.15113 - ;;
1.15114 - esac
1.15115 - fi
1.15116 -
1.15117 -{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
1.15118 -echo "${ECHO_T}$ld_shlibs_F77" >&6; }
1.15119 -test "$ld_shlibs_F77" = no && can_build_shared=no
1.15120 -
1.15121 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.15122 -if test "$GCC" = yes; then
1.15123 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.15124 -fi
1.15125 -
1.15126 -#
1.15127 -# Do we need to explicitly link libc?
1.15128 -#
1.15129 -case "x$archive_cmds_need_lc_F77" in
1.15130 -x|xyes)
1.15131 - # Assume -lc should be added
1.15132 - archive_cmds_need_lc_F77=yes
1.15133 -
1.15134 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.15135 - case $archive_cmds_F77 in
1.15136 - *'~'*)
1.15137 - # FIXME: we may have to deal with multi-command sequences.
1.15138 - ;;
1.15139 - '$CC '*)
1.15140 - # Test whether the compiler implicitly links with -lc since on some
1.15141 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.15142 - # to ld, don't add -lc before -lgcc.
1.15143 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.15144 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.15145 - $rm conftest*
1.15146 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.15147 -
1.15148 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.15149 - (eval $ac_compile) 2>&5
1.15150 - ac_status=$?
1.15151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.15152 - (exit $ac_status); } 2>conftest.err; then
1.15153 - soname=conftest
1.15154 - lib=conftest
1.15155 - libobjs=conftest.$ac_objext
1.15156 - deplibs=
1.15157 - wl=$lt_prog_compiler_wl_F77
1.15158 - compiler_flags=-v
1.15159 - linker_flags=-v
1.15160 - verstring=
1.15161 - output_objdir=.
1.15162 - libname=conftest
1.15163 - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
1.15164 - allow_undefined_flag_F77=
1.15165 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.15166 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.15167 - ac_status=$?
1.15168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.15169 - (exit $ac_status); }
1.15170 - then
1.15171 - archive_cmds_need_lc_F77=no
1.15172 - else
1.15173 - archive_cmds_need_lc_F77=yes
1.15174 - fi
1.15175 - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
1.15176 - else
1.15177 - cat conftest.err 1>&5
1.15178 - fi
1.15179 - $rm conftest*
1.15180 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
1.15181 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
1.15182 - ;;
1.15183 - esac
1.15184 - fi
1.15185 - ;;
1.15186 -esac
1.15187 -
1.15188 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.15189 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.15190 -library_names_spec=
1.15191 -libname_spec='lib$name'
1.15192 -soname_spec=
1.15193 -shrext_cmds=".so"
1.15194 -postinstall_cmds=
1.15195 -postuninstall_cmds=
1.15196 -finish_cmds=
1.15197 -finish_eval=
1.15198 -shlibpath_var=
1.15199 -shlibpath_overrides_runpath=unknown
1.15200 -version_type=none
1.15201 -dynamic_linker="$host_os ld.so"
1.15202 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.15203 -if test "$GCC" = yes; then
1.15204 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.15205 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.15206 - # if the path contains ";" then we assume it to be the separator
1.15207 - # otherwise default to the standard path separator (i.e. ":") - it is
1.15208 - # assumed that no part of a normal pathname contains ";" but that should
1.15209 - # okay in the real world where ";" in dirpaths is itself problematic.
1.15210 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.15211 - else
1.15212 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.15213 - fi
1.15214 -else
1.15215 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.15216 -fi
1.15217 -need_lib_prefix=unknown
1.15218 -hardcode_into_libs=no
1.15219 -
1.15220 -# when you set need_version to no, make sure it does not cause -set_version
1.15221 -# flags to be left without arguments
1.15222 -need_version=unknown
1.15223 -
1.15224 -case $host_os in
1.15225 -aix3*)
1.15226 - version_type=linux
1.15227 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.15228 - shlibpath_var=LIBPATH
1.15229 -
1.15230 - # AIX 3 has no versioning support, so we append a major version to the name.
1.15231 - soname_spec='${libname}${release}${shared_ext}$major'
1.15232 - ;;
1.15233 -
1.15234 -aix4* | aix5*)
1.15235 - version_type=linux
1.15236 - need_lib_prefix=no
1.15237 - need_version=no
1.15238 - hardcode_into_libs=yes
1.15239 - if test "$host_cpu" = ia64; then
1.15240 - # AIX 5 supports IA64
1.15241 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.15242 - shlibpath_var=LD_LIBRARY_PATH
1.15243 - else
1.15244 - # With GCC up to 2.95.x, collect2 would create an import file
1.15245 - # for dependence libraries. The import file would start with
1.15246 - # the line `#! .'. This would cause the generated library to
1.15247 - # depend on `.', always an invalid library. This was fixed in
1.15248 - # development snapshots of GCC prior to 3.0.
1.15249 - case $host_os in
1.15250 - aix4 | aix4.[01] | aix4.[01].*)
1.15251 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.15252 - echo ' yes '
1.15253 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.15254 - :
1.15255 - else
1.15256 - can_build_shared=no
1.15257 - fi
1.15258 - ;;
1.15259 - esac
1.15260 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.15261 - # soname into executable. Probably we can add versioning support to
1.15262 - # collect2, so additional links can be useful in future.
1.15263 - if test "$aix_use_runtimelinking" = yes; then
1.15264 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.15265 - # instead of lib<name>.a to let people know that these are not
1.15266 - # typical AIX shared libraries.
1.15267 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15268 - else
1.15269 - # We preserve .a as extension for shared libraries through AIX4.2
1.15270 - # and later when we are not doing run time linking.
1.15271 - library_names_spec='${libname}${release}.a $libname.a'
1.15272 - soname_spec='${libname}${release}${shared_ext}$major'
1.15273 - fi
1.15274 - shlibpath_var=LIBPATH
1.15275 - fi
1.15276 - ;;
1.15277 -
1.15278 -amigaos*)
1.15279 - library_names_spec='$libname.ixlibrary $libname.a'
1.15280 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.15281 - 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.15282 - ;;
1.15283 -
1.15284 -beos*)
1.15285 - library_names_spec='${libname}${shared_ext}'
1.15286 - dynamic_linker="$host_os ld.so"
1.15287 - shlibpath_var=LIBRARY_PATH
1.15288 - ;;
1.15289 -
1.15290 -bsdi4*)
1.15291 - version_type=linux
1.15292 - need_version=no
1.15293 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15294 - soname_spec='${libname}${release}${shared_ext}$major'
1.15295 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.15296 - shlibpath_var=LD_LIBRARY_PATH
1.15297 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.15298 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.15299 - # the default ld.so.conf also contains /usr/contrib/lib and
1.15300 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.15301 - # libtool to hard-code these into programs
1.15302 - ;;
1.15303 -
1.15304 -cygwin* | mingw* | pw32*)
1.15305 - version_type=windows
1.15306 - shrext_cmds=".dll"
1.15307 - need_version=no
1.15308 - need_lib_prefix=no
1.15309 -
1.15310 - case $GCC,$host_os in
1.15311 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.15312 - library_names_spec='$libname.dll.a'
1.15313 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.15314 - postinstall_cmds='base_file=`basename \${file}`~
1.15315 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.15316 - dldir=$destdir/`dirname \$dlpath`~
1.15317 - test -d \$dldir || mkdir -p \$dldir~
1.15318 - $install_prog $dir/$dlname \$dldir/$dlname'
1.15319 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.15320 - dlpath=$dir/\$dldll~
1.15321 - $rm \$dlpath'
1.15322 - shlibpath_overrides_runpath=yes
1.15323 -
1.15324 - case $host_os in
1.15325 - cygwin*)
1.15326 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.15327 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.15328 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.15329 - ;;
1.15330 - mingw*)
1.15331 - # MinGW DLLs use traditional 'lib' prefix
1.15332 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.15333 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.15334 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.15335 - # It is most probably a Windows format PATH printed by
1.15336 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.15337 - # path with ; separators, and with drive letters. We can handle the
1.15338 - # drive letters (cygwin fileutils understands them), so leave them,
1.15339 - # especially as we might pass files found there to a mingw objdump,
1.15340 - # which wouldn't understand a cygwinified path. Ahh.
1.15341 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.15342 - else
1.15343 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.15344 - fi
1.15345 - ;;
1.15346 - pw32*)
1.15347 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.15348 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.15349 - ;;
1.15350 - esac
1.15351 - ;;
1.15352 -
1.15353 - *)
1.15354 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.15355 - ;;
1.15356 - esac
1.15357 - dynamic_linker='Win32 ld.exe'
1.15358 - # FIXME: first we should search . and the directory the executable is in
1.15359 - shlibpath_var=PATH
1.15360 - ;;
1.15361 -
1.15362 -darwin* | rhapsody*)
1.15363 - dynamic_linker="$host_os dyld"
1.15364 - version_type=darwin
1.15365 - need_lib_prefix=no
1.15366 - need_version=no
1.15367 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.15368 - soname_spec='${libname}${release}${major}$shared_ext'
1.15369 - shlibpath_overrides_runpath=yes
1.15370 - shlibpath_var=DYLD_LIBRARY_PATH
1.15371 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.15372 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.15373 - if test "$GCC" = yes; then
1.15374 - 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.15375 - else
1.15376 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.15377 - fi
1.15378 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.15379 - ;;
1.15380 -
1.15381 -dgux*)
1.15382 - version_type=linux
1.15383 - need_lib_prefix=no
1.15384 - need_version=no
1.15385 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.15386 - soname_spec='${libname}${release}${shared_ext}$major'
1.15387 - shlibpath_var=LD_LIBRARY_PATH
1.15388 - ;;
1.15389 -
1.15390 -freebsd1*)
1.15391 - dynamic_linker=no
1.15392 - ;;
1.15393 -
1.15394 -kfreebsd*-gnu)
1.15395 - version_type=linux
1.15396 - need_lib_prefix=no
1.15397 - need_version=no
1.15398 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15399 - soname_spec='${libname}${release}${shared_ext}$major'
1.15400 - shlibpath_var=LD_LIBRARY_PATH
1.15401 - shlibpath_overrides_runpath=no
1.15402 - hardcode_into_libs=yes
1.15403 - dynamic_linker='GNU ld.so'
1.15404 - ;;
1.15405 -
1.15406 -freebsd*)
1.15407 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.15408 - version_type=freebsd-$objformat
1.15409 - case $version_type in
1.15410 - freebsd-elf*)
1.15411 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.15412 - need_version=no
1.15413 - need_lib_prefix=no
1.15414 - ;;
1.15415 - freebsd-*)
1.15416 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.15417 - need_version=yes
1.15418 - ;;
1.15419 - esac
1.15420 - shlibpath_var=LD_LIBRARY_PATH
1.15421 - case $host_os in
1.15422 - freebsd2*)
1.15423 - shlibpath_overrides_runpath=yes
1.15424 - ;;
1.15425 - freebsd3.01* | freebsdelf3.01*)
1.15426 - shlibpath_overrides_runpath=yes
1.15427 - hardcode_into_libs=yes
1.15428 - ;;
1.15429 - *) # from 3.2 on
1.15430 - shlibpath_overrides_runpath=no
1.15431 - hardcode_into_libs=yes
1.15432 - ;;
1.15433 - esac
1.15434 - ;;
1.15435 -
1.15436 -gnu*)
1.15437 - version_type=linux
1.15438 - need_lib_prefix=no
1.15439 - need_version=no
1.15440 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.15441 - soname_spec='${libname}${release}${shared_ext}$major'
1.15442 - shlibpath_var=LD_LIBRARY_PATH
1.15443 - hardcode_into_libs=yes
1.15444 - ;;
1.15445 -
1.15446 -hpux9* | hpux10* | hpux11*)
1.15447 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.15448 - # link against other versions.
1.15449 - version_type=sunos
1.15450 - need_lib_prefix=no
1.15451 - need_version=no
1.15452 - case "$host_cpu" in
1.15453 - ia64*)
1.15454 - shrext_cmds='.so'
1.15455 - hardcode_into_libs=yes
1.15456 - dynamic_linker="$host_os dld.so"
1.15457 - shlibpath_var=LD_LIBRARY_PATH
1.15458 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.15459 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15460 - soname_spec='${libname}${release}${shared_ext}$major'
1.15461 - if test "X$HPUX_IA64_MODE" = X32; then
1.15462 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.15463 - else
1.15464 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.15465 - fi
1.15466 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.15467 - ;;
1.15468 - hppa*64*)
1.15469 - shrext_cmds='.sl'
1.15470 - hardcode_into_libs=yes
1.15471 - dynamic_linker="$host_os dld.sl"
1.15472 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.15473 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.15474 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15475 - soname_spec='${libname}${release}${shared_ext}$major'
1.15476 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.15477 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.15478 - ;;
1.15479 - *)
1.15480 - shrext_cmds='.sl'
1.15481 - dynamic_linker="$host_os dld.sl"
1.15482 - shlibpath_var=SHLIB_PATH
1.15483 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.15484 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15485 - soname_spec='${libname}${release}${shared_ext}$major'
1.15486 - ;;
1.15487 - esac
1.15488 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.15489 - postinstall_cmds='chmod 555 $lib'
1.15490 - ;;
1.15491 -
1.15492 -irix5* | irix6* | nonstopux*)
1.15493 - case $host_os in
1.15494 - nonstopux*) version_type=nonstopux ;;
1.15495 - *)
1.15496 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.15497 - version_type=linux
1.15498 - else
1.15499 - version_type=irix
1.15500 - fi ;;
1.15501 - esac
1.15502 - need_lib_prefix=no
1.15503 - need_version=no
1.15504 - soname_spec='${libname}${release}${shared_ext}$major'
1.15505 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.15506 - case $host_os in
1.15507 - irix5* | nonstopux*)
1.15508 - libsuff= shlibsuff=
1.15509 - ;;
1.15510 - *)
1.15511 - case $LD in # libtool.m4 will add one of these switches to LD
1.15512 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.15513 - libsuff= shlibsuff= libmagic=32-bit;;
1.15514 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.15515 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.15516 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.15517 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.15518 - *) libsuff= shlibsuff= libmagic=never-match;;
1.15519 - esac
1.15520 - ;;
1.15521 - esac
1.15522 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.15523 - shlibpath_overrides_runpath=no
1.15524 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.15525 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.15526 - hardcode_into_libs=yes
1.15527 - ;;
1.15528 -
1.15529 -# No shared lib support for Linux oldld, aout, or coff.
1.15530 -linux*oldld* | linux*aout* | linux*coff*)
1.15531 - dynamic_linker=no
1.15532 - ;;
1.15533 -
1.15534 -# This must be Linux ELF.
1.15535 -linux*)
1.15536 - version_type=linux
1.15537 - need_lib_prefix=no
1.15538 - need_version=no
1.15539 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15540 - soname_spec='${libname}${release}${shared_ext}$major'
1.15541 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.15542 - shlibpath_var=LD_LIBRARY_PATH
1.15543 - shlibpath_overrides_runpath=no
1.15544 - # This implies no fast_install, which is unacceptable.
1.15545 - # Some rework will be needed to allow for fast_install
1.15546 - # before this can be enabled.
1.15547 - hardcode_into_libs=yes
1.15548 -
1.15549 - # Append ld.so.conf contents to the search path
1.15550 - if test -f /etc/ld.so.conf; then
1.15551 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.15552 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.15553 - fi
1.15554 -
1.15555 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.15556 - # powerpc, because MkLinux only supported shared libraries with the
1.15557 - # GNU dynamic linker. Since this was broken with cross compilers,
1.15558 - # most powerpc-linux boxes support dynamic linking these days and
1.15559 - # people can always --disable-shared, the test was removed, and we
1.15560 - # assume the GNU/Linux dynamic linker is in use.
1.15561 - dynamic_linker='GNU/Linux ld.so'
1.15562 - ;;
1.15563 -
1.15564 -netbsdelf*-gnu)
1.15565 - version_type=linux
1.15566 - need_lib_prefix=no
1.15567 - need_version=no
1.15568 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15569 - soname_spec='${libname}${release}${shared_ext}$major'
1.15570 - shlibpath_var=LD_LIBRARY_PATH
1.15571 - shlibpath_overrides_runpath=no
1.15572 - hardcode_into_libs=yes
1.15573 - dynamic_linker='NetBSD ld.elf_so'
1.15574 - ;;
1.15575 -
1.15576 -knetbsd*-gnu)
1.15577 - version_type=linux
1.15578 - need_lib_prefix=no
1.15579 - need_version=no
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 - shlibpath_var=LD_LIBRARY_PATH
1.15583 - shlibpath_overrides_runpath=no
1.15584 - hardcode_into_libs=yes
1.15585 - dynamic_linker='GNU ld.so'
1.15586 - ;;
1.15587 -
1.15588 -netbsd*)
1.15589 - version_type=sunos
1.15590 - need_lib_prefix=no
1.15591 - need_version=no
1.15592 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.15593 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15594 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.15595 - dynamic_linker='NetBSD (a.out) ld.so'
1.15596 - else
1.15597 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15598 - soname_spec='${libname}${release}${shared_ext}$major'
1.15599 - dynamic_linker='NetBSD ld.elf_so'
1.15600 - fi
1.15601 - shlibpath_var=LD_LIBRARY_PATH
1.15602 - shlibpath_overrides_runpath=yes
1.15603 - hardcode_into_libs=yes
1.15604 - ;;
1.15605 -
1.15606 -newsos6)
1.15607 - version_type=linux
1.15608 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15609 - shlibpath_var=LD_LIBRARY_PATH
1.15610 - shlibpath_overrides_runpath=yes
1.15611 - ;;
1.15612 -
1.15613 -nto-qnx*)
1.15614 - version_type=linux
1.15615 - need_lib_prefix=no
1.15616 - need_version=no
1.15617 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15618 - soname_spec='${libname}${release}${shared_ext}$major'
1.15619 - shlibpath_var=LD_LIBRARY_PATH
1.15620 - shlibpath_overrides_runpath=yes
1.15621 - ;;
1.15622 -
1.15623 -openbsd*)
1.15624 - version_type=sunos
1.15625 - need_lib_prefix=no
1.15626 - need_version=yes
1.15627 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15628 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.15629 - shlibpath_var=LD_LIBRARY_PATH
1.15630 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.15631 - case $host_os in
1.15632 - openbsd2.[89] | openbsd2.[89].*)
1.15633 - shlibpath_overrides_runpath=no
1.15634 - ;;
1.15635 - *)
1.15636 - shlibpath_overrides_runpath=yes
1.15637 - ;;
1.15638 - esac
1.15639 - else
1.15640 - shlibpath_overrides_runpath=yes
1.15641 - fi
1.15642 - ;;
1.15643 -
1.15644 -os2*)
1.15645 - libname_spec='$name'
1.15646 - shrext_cmds=".dll"
1.15647 - need_lib_prefix=no
1.15648 - library_names_spec='$libname${shared_ext} $libname.a'
1.15649 - dynamic_linker='OS/2 ld.exe'
1.15650 - shlibpath_var=LIBPATH
1.15651 - ;;
1.15652 -
1.15653 -osf3* | osf4* | osf5*)
1.15654 - version_type=osf
1.15655 - need_lib_prefix=no
1.15656 - need_version=no
1.15657 - soname_spec='${libname}${release}${shared_ext}$major'
1.15658 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15659 - shlibpath_var=LD_LIBRARY_PATH
1.15660 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.15661 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.15662 - ;;
1.15663 -
1.15664 -sco3.2v5*)
1.15665 - version_type=osf
1.15666 - soname_spec='${libname}${release}${shared_ext}$major'
1.15667 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15668 - shlibpath_var=LD_LIBRARY_PATH
1.15669 - ;;
1.15670 -
1.15671 -solaris*)
1.15672 - version_type=linux
1.15673 - need_lib_prefix=no
1.15674 - need_version=no
1.15675 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15676 - soname_spec='${libname}${release}${shared_ext}$major'
1.15677 - shlibpath_var=LD_LIBRARY_PATH
1.15678 - shlibpath_overrides_runpath=yes
1.15679 - hardcode_into_libs=yes
1.15680 - # ldd complains unless libraries are executable
1.15681 - postinstall_cmds='chmod +x $lib'
1.15682 - ;;
1.15683 -
1.15684 -sunos4*)
1.15685 - version_type=sunos
1.15686 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15687 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.15688 - shlibpath_var=LD_LIBRARY_PATH
1.15689 - shlibpath_overrides_runpath=yes
1.15690 - if test "$with_gnu_ld" = yes; then
1.15691 - need_lib_prefix=no
1.15692 - fi
1.15693 - need_version=yes
1.15694 - ;;
1.15695 -
1.15696 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.15697 - version_type=linux
1.15698 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15699 - soname_spec='${libname}${release}${shared_ext}$major'
1.15700 - shlibpath_var=LD_LIBRARY_PATH
1.15701 - case $host_vendor in
1.15702 - sni)
1.15703 - shlibpath_overrides_runpath=no
1.15704 - need_lib_prefix=no
1.15705 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.15706 - runpath_var=LD_RUN_PATH
1.15707 - ;;
1.15708 - siemens)
1.15709 - need_lib_prefix=no
1.15710 - ;;
1.15711 - motorola)
1.15712 - need_lib_prefix=no
1.15713 - need_version=no
1.15714 - shlibpath_overrides_runpath=no
1.15715 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.15716 - ;;
1.15717 - esac
1.15718 - ;;
1.15719 -
1.15720 -sysv4*MP*)
1.15721 - if test -d /usr/nec ;then
1.15722 - version_type=linux
1.15723 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.15724 - soname_spec='$libname${shared_ext}.$major'
1.15725 - shlibpath_var=LD_LIBRARY_PATH
1.15726 - fi
1.15727 - ;;
1.15728 -
1.15729 -uts4*)
1.15730 - version_type=linux
1.15731 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15732 - soname_spec='${libname}${release}${shared_ext}$major'
1.15733 - shlibpath_var=LD_LIBRARY_PATH
1.15734 - ;;
1.15735 -
1.15736 -*)
1.15737 - dynamic_linker=no
1.15738 - ;;
1.15739 -esac
1.15740 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.15741 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.15742 -test "$dynamic_linker" = no && can_build_shared=no
1.15743 -
1.15744 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.15745 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.15746 -hardcode_action_F77=
1.15747 -if test -n "$hardcode_libdir_flag_spec_F77" || \
1.15748 - test -n "$runpath_var F77" || \
1.15749 - test "X$hardcode_automatic_F77"="Xyes" ; then
1.15750 -
1.15751 - # We can hardcode non-existant directories.
1.15752 - if test "$hardcode_direct_F77" != no &&
1.15753 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.15754 - # have to relink, otherwise we might link with an installed library
1.15755 - # when we should be linking with a yet-to-be-installed one
1.15756 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
1.15757 - test "$hardcode_minus_L_F77" != no; then
1.15758 - # Linking always hardcodes the temporary library directory.
1.15759 - hardcode_action_F77=relink
1.15760 - else
1.15761 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.15762 - hardcode_action_F77=immediate
1.15763 - fi
1.15764 -else
1.15765 - # We cannot hardcode anything, or else we can only hardcode existing
1.15766 - # directories.
1.15767 - hardcode_action_F77=unsupported
1.15768 -fi
1.15769 -{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
1.15770 -echo "${ECHO_T}$hardcode_action_F77" >&6; }
1.15771 -
1.15772 -if test "$hardcode_action_F77" = relink; then
1.15773 - # Fast installation is not supported
1.15774 - enable_fast_install=no
1.15775 -elif test "$shlibpath_overrides_runpath" = yes ||
1.15776 - test "$enable_shared" = no; then
1.15777 - # Fast installation is not necessary
1.15778 - enable_fast_install=needless
1.15779 -fi
1.15780 -
1.15781 -striplib=
1.15782 -old_striplib=
1.15783 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.15784 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.15785 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.15786 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.15787 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.15788 - { echo "$as_me:$LINENO: result: yes" >&5
1.15789 -echo "${ECHO_T}yes" >&6; }
1.15790 -else
1.15791 -# FIXME - insert some real tests, host_os isn't really good enough
1.15792 - case $host_os in
1.15793 - darwin*)
1.15794 - if test -n "$STRIP" ; then
1.15795 - striplib="$STRIP -x"
1.15796 - { echo "$as_me:$LINENO: result: yes" >&5
1.15797 -echo "${ECHO_T}yes" >&6; }
1.15798 - else
1.15799 - { echo "$as_me:$LINENO: result: no" >&5
1.15800 -echo "${ECHO_T}no" >&6; }
1.15801 -fi
1.15802 - ;;
1.15803 - *)
1.15804 - { echo "$as_me:$LINENO: result: no" >&5
1.15805 -echo "${ECHO_T}no" >&6; }
1.15806 - ;;
1.15807 - esac
1.15808 -fi
1.15809 -
1.15810 -
1.15811 -
1.15812 -# The else clause should only fire when bootstrapping the
1.15813 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.15814 -# with your package, and you will get complaints that there are
1.15815 -# no rules to generate ltmain.sh.
1.15816 -if test -f "$ltmain"; then
1.15817 - # See if we are running on zsh, and set the options which allow our commands through
1.15818 - # without removal of \ escapes.
1.15819 - if test -n "${ZSH_VERSION+set}" ; then
1.15820 - setopt NO_GLOB_SUBST
1.15821 - fi
1.15822 - # Now quote all the things that may contain metacharacters while being
1.15823 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.15824 - # variables and quote the copies for generation of the libtool script.
1.15825 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.15826 - SED SHELL STRIP \
1.15827 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.15828 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.15829 - deplibs_check_method reload_flag reload_cmds need_locks \
1.15830 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.15831 - lt_cv_sys_global_symbol_to_c_name_address \
1.15832 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.15833 - old_postinstall_cmds old_postuninstall_cmds \
1.15834 - compiler_F77 \
1.15835 - CC_F77 \
1.15836 - LD_F77 \
1.15837 - lt_prog_compiler_wl_F77 \
1.15838 - lt_prog_compiler_pic_F77 \
1.15839 - lt_prog_compiler_static_F77 \
1.15840 - lt_prog_compiler_no_builtin_flag_F77 \
1.15841 - export_dynamic_flag_spec_F77 \
1.15842 - thread_safe_flag_spec_F77 \
1.15843 - whole_archive_flag_spec_F77 \
1.15844 - enable_shared_with_static_runtimes_F77 \
1.15845 - old_archive_cmds_F77 \
1.15846 - old_archive_from_new_cmds_F77 \
1.15847 - predep_objects_F77 \
1.15848 - postdep_objects_F77 \
1.15849 - predeps_F77 \
1.15850 - postdeps_F77 \
1.15851 - compiler_lib_search_path_F77 \
1.15852 - archive_cmds_F77 \
1.15853 - archive_expsym_cmds_F77 \
1.15854 - postinstall_cmds_F77 \
1.15855 - postuninstall_cmds_F77 \
1.15856 - old_archive_from_expsyms_cmds_F77 \
1.15857 - allow_undefined_flag_F77 \
1.15858 - no_undefined_flag_F77 \
1.15859 - export_symbols_cmds_F77 \
1.15860 - hardcode_libdir_flag_spec_F77 \
1.15861 - hardcode_libdir_flag_spec_ld_F77 \
1.15862 - hardcode_libdir_separator_F77 \
1.15863 - hardcode_automatic_F77 \
1.15864 - module_cmds_F77 \
1.15865 - module_expsym_cmds_F77 \
1.15866 - lt_cv_prog_compiler_c_o_F77 \
1.15867 - exclude_expsyms_F77 \
1.15868 - include_expsyms_F77; do
1.15869 -
1.15870 - case $var in
1.15871 - old_archive_cmds_F77 | \
1.15872 - old_archive_from_new_cmds_F77 | \
1.15873 - archive_cmds_F77 | \
1.15874 - archive_expsym_cmds_F77 | \
1.15875 - module_cmds_F77 | \
1.15876 - module_expsym_cmds_F77 | \
1.15877 - old_archive_from_expsyms_cmds_F77 | \
1.15878 - export_symbols_cmds_F77 | \
1.15879 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.15880 - postinstall_cmds | postuninstall_cmds | \
1.15881 - old_postinstall_cmds | old_postuninstall_cmds | \
1.15882 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.15883 - # Double-quote double-evaled strings.
1.15884 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.15885 - ;;
1.15886 - *)
1.15887 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.15888 - ;;
1.15889 - esac
1.15890 - done
1.15891 -
1.15892 - case $lt_echo in
1.15893 - *'\$0 --fallback-echo"')
1.15894 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.15895 - ;;
1.15896 - esac
1.15897 -
1.15898 -cfgfile="$ofile"
1.15899 -
1.15900 - cat <<__EOF__ >> "$cfgfile"
1.15901 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.15902 -
1.15903 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.15904 -
1.15905 -# Shell to use when invoking shell scripts.
1.15906 -SHELL=$lt_SHELL
1.15907 -
1.15908 -# Whether or not to build shared libraries.
1.15909 -build_libtool_libs=$enable_shared
1.15910 -
1.15911 -# Whether or not to build static libraries.
1.15912 -build_old_libs=$enable_static
1.15913 -
1.15914 -# Whether or not to add -lc for building shared libraries.
1.15915 -build_libtool_need_lc=$archive_cmds_need_lc_F77
1.15916 -
1.15917 -# Whether or not to disallow shared libs when runtime libs are static
1.15918 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
1.15919 -
1.15920 -# Whether or not to optimize for fast installation.
1.15921 -fast_install=$enable_fast_install
1.15922 -
1.15923 -# The host system.
1.15924 -host_alias=$host_alias
1.15925 -host=$host
1.15926 -
1.15927 -# An echo program that does not interpret backslashes.
1.15928 -echo=$lt_echo
1.15929 -
1.15930 -# The archiver.
1.15931 -AR=$lt_AR
1.15932 -AR_FLAGS=$lt_AR_FLAGS
1.15933 -
1.15934 -# A C compiler.
1.15935 -LTCC=$lt_LTCC
1.15936 -
1.15937 -# A language-specific compiler.
1.15938 -CC=$lt_compiler_F77
1.15939 -
1.15940 -# Is the compiler the GNU C compiler?
1.15941 -with_gcc=$GCC_F77
1.15942 -
1.15943 -# An ERE matcher.
1.15944 -EGREP=$lt_EGREP
1.15945 -
1.15946 -# The linker used to build libraries.
1.15947 -LD=$lt_LD_F77
1.15948 -
1.15949 -# Whether we need hard or soft links.
1.15950 -LN_S=$lt_LN_S
1.15951 -
1.15952 -# A BSD-compatible nm program.
1.15953 -NM=$lt_NM
1.15954 -
1.15955 -# A symbol stripping program
1.15956 -STRIP=$lt_STRIP
1.15957 -
1.15958 -# Used to examine libraries when file_magic_cmd begins "file"
1.15959 -MAGIC_CMD=$MAGIC_CMD
1.15960 -
1.15961 -# Used on cygwin: DLL creation program.
1.15962 -DLLTOOL="$DLLTOOL"
1.15963 -
1.15964 -# Used on cygwin: object dumper.
1.15965 -OBJDUMP="$OBJDUMP"
1.15966 -
1.15967 -# Used on cygwin: assembler.
1.15968 -AS="$AS"
1.15969 -
1.15970 -# The name of the directory that contains temporary libtool files.
1.15971 -objdir=$objdir
1.15972 -
1.15973 -# How to create reloadable object files.
1.15974 -reload_flag=$lt_reload_flag
1.15975 -reload_cmds=$lt_reload_cmds
1.15976 -
1.15977 -# How to pass a linker flag through the compiler.
1.15978 -wl=$lt_lt_prog_compiler_wl_F77
1.15979 -
1.15980 -# Object file suffix (normally "o").
1.15981 -objext="$ac_objext"
1.15982 -
1.15983 -# Old archive suffix (normally "a").
1.15984 -libext="$libext"
1.15985 -
1.15986 -# Shared library suffix (normally ".so").
1.15987 -shrext_cmds='$shrext_cmds'
1.15988 -
1.15989 -# Executable file suffix (normally "").
1.15990 -exeext="$exeext"
1.15991 -
1.15992 -# Additional compiler flags for building library objects.
1.15993 -pic_flag=$lt_lt_prog_compiler_pic_F77
1.15994 -pic_mode=$pic_mode
1.15995 -
1.15996 -# What is the maximum length of a command?
1.15997 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.15998 -
1.15999 -# Does compiler simultaneously support -c and -o options?
1.16000 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
1.16001 -
1.16002 -# Must we lock files when doing compilation ?
1.16003 -need_locks=$lt_need_locks
1.16004 -
1.16005 -# Do we need the lib prefix for modules?
1.16006 -need_lib_prefix=$need_lib_prefix
1.16007 -
1.16008 -# Do we need a version for libraries?
1.16009 -need_version=$need_version
1.16010 -
1.16011 -# Whether dlopen is supported.
1.16012 -dlopen_support=$enable_dlopen
1.16013 -
1.16014 -# Whether dlopen of programs is supported.
1.16015 -dlopen_self=$enable_dlopen_self
1.16016 -
1.16017 -# Whether dlopen of statically linked programs is supported.
1.16018 -dlopen_self_static=$enable_dlopen_self_static
1.16019 -
1.16020 -# Compiler flag to prevent dynamic linking.
1.16021 -link_static_flag=$lt_lt_prog_compiler_static_F77
1.16022 -
1.16023 -# Compiler flag to turn off builtin functions.
1.16024 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
1.16025 -
1.16026 -# Compiler flag to allow reflexive dlopens.
1.16027 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
1.16028 -
1.16029 -# Compiler flag to generate shared objects directly from archives.
1.16030 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
1.16031 -
1.16032 -# Compiler flag to generate thread-safe objects.
1.16033 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
1.16034 -
1.16035 -# Library versioning type.
1.16036 -version_type=$version_type
1.16037 -
1.16038 -# Format of library name prefix.
1.16039 -libname_spec=$lt_libname_spec
1.16040 -
1.16041 -# List of archive names. First name is the real one, the rest are links.
1.16042 -# The last name is the one that the linker finds with -lNAME.
1.16043 -library_names_spec=$lt_library_names_spec
1.16044 -
1.16045 -# The coded name of the library, if different from the real name.
1.16046 -soname_spec=$lt_soname_spec
1.16047 -
1.16048 -# Commands used to build and install an old-style archive.
1.16049 -RANLIB=$lt_RANLIB
1.16050 -old_archive_cmds=$lt_old_archive_cmds_F77
1.16051 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.16052 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.16053 -
1.16054 -# Create an old-style archive from a shared archive.
1.16055 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
1.16056 -
1.16057 -# Create a temporary old-style archive to link instead of a shared archive.
1.16058 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
1.16059 -
1.16060 -# Commands used to build and install a shared archive.
1.16061 -archive_cmds=$lt_archive_cmds_F77
1.16062 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
1.16063 -postinstall_cmds=$lt_postinstall_cmds
1.16064 -postuninstall_cmds=$lt_postuninstall_cmds
1.16065 -
1.16066 -# Commands used to build a loadable module (assumed same as above if empty)
1.16067 -module_cmds=$lt_module_cmds_F77
1.16068 -module_expsym_cmds=$lt_module_expsym_cmds_F77
1.16069 -
1.16070 -# Commands to strip libraries.
1.16071 -old_striplib=$lt_old_striplib
1.16072 -striplib=$lt_striplib
1.16073 -
1.16074 -# Dependencies to place before the objects being linked to create a
1.16075 -# shared library.
1.16076 -predep_objects=$lt_predep_objects_F77
1.16077 -
1.16078 -# Dependencies to place after the objects being linked to create a
1.16079 -# shared library.
1.16080 -postdep_objects=$lt_postdep_objects_F77
1.16081 -
1.16082 -# Dependencies to place before the objects being linked to create a
1.16083 -# shared library.
1.16084 -predeps=$lt_predeps_F77
1.16085 -
1.16086 -# Dependencies to place after the objects being linked to create a
1.16087 -# shared library.
1.16088 -postdeps=$lt_postdeps_F77
1.16089 -
1.16090 -# The library search path used internally by the compiler when linking
1.16091 -# a shared library.
1.16092 -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
1.16093 -
1.16094 -# Method to check whether dependent libraries are shared objects.
1.16095 -deplibs_check_method=$lt_deplibs_check_method
1.16096 -
1.16097 -# Command to use when deplibs_check_method == file_magic.
1.16098 -file_magic_cmd=$lt_file_magic_cmd
1.16099 -
1.16100 -# Flag that allows shared libraries with undefined symbols to be built.
1.16101 -allow_undefined_flag=$lt_allow_undefined_flag_F77
1.16102 -
1.16103 -# Flag that forces no undefined symbols.
1.16104 -no_undefined_flag=$lt_no_undefined_flag_F77
1.16105 -
1.16106 -# Commands used to finish a libtool library installation in a directory.
1.16107 -finish_cmds=$lt_finish_cmds
1.16108 -
1.16109 -# Same as above, but a single script fragment to be evaled but not shown.
1.16110 -finish_eval=$lt_finish_eval
1.16111 -
1.16112 -# Take the output of nm and produce a listing of raw symbols and C names.
1.16113 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.16114 -
1.16115 -# Transform the output of nm in a proper C declaration
1.16116 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.16117 -
1.16118 -# Transform the output of nm in a C name address pair
1.16119 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.16120 -
1.16121 -# This is the shared library runtime path variable.
1.16122 -runpath_var=$runpath_var
1.16123 -
1.16124 -# This is the shared library path variable.
1.16125 -shlibpath_var=$shlibpath_var
1.16126 -
1.16127 -# Is shlibpath searched before the hard-coded library search path?
1.16128 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.16129 -
1.16130 -# How to hardcode a shared library path into an executable.
1.16131 -hardcode_action=$hardcode_action_F77
1.16132 -
1.16133 -# Whether we should hardcode library paths into libraries.
1.16134 -hardcode_into_libs=$hardcode_into_libs
1.16135 -
1.16136 -# Flag to hardcode \$libdir into a binary during linking.
1.16137 -# This must work even if \$libdir does not exist.
1.16138 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
1.16139 -
1.16140 -# If ld is used when linking, flag to hardcode \$libdir into
1.16141 -# a binary during linking. This must work even if \$libdir does
1.16142 -# not exist.
1.16143 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
1.16144 -
1.16145 -# Whether we need a single -rpath flag with a separated argument.
1.16146 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
1.16147 -
1.16148 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.16149 -# resulting binary.
1.16150 -hardcode_direct=$hardcode_direct_F77
1.16151 -
1.16152 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.16153 -# resulting binary.
1.16154 -hardcode_minus_L=$hardcode_minus_L_F77
1.16155 -
1.16156 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.16157 -# the resulting binary.
1.16158 -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
1.16159 -
1.16160 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.16161 -# and all subsequent libraries and executables linked against it.
1.16162 -hardcode_automatic=$hardcode_automatic_F77
1.16163 -
1.16164 -# Variables whose values should be saved in libtool wrapper scripts and
1.16165 -# restored at relink time.
1.16166 -variables_saved_for_relink="$variables_saved_for_relink"
1.16167 -
1.16168 -# Whether libtool must link a program against all its dependency libraries.
1.16169 -link_all_deplibs=$link_all_deplibs_F77
1.16170 -
1.16171 -# Compile-time system search path for libraries
1.16172 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.16173 -
1.16174 -# Run-time system search path for libraries
1.16175 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.16176 -
1.16177 -# Fix the shell variable \$srcfile for the compiler.
1.16178 -fix_srcfile_path="$fix_srcfile_path_F77"
1.16179 -
1.16180 -# Set to yes if exported symbols are required.
1.16181 -always_export_symbols=$always_export_symbols_F77
1.16182 -
1.16183 -# The commands to list exported symbols.
1.16184 -export_symbols_cmds=$lt_export_symbols_cmds_F77
1.16185 -
1.16186 -# The commands to extract the exported symbol list from a shared archive.
1.16187 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.16188 -
1.16189 -# Symbols that should not be listed in the preloaded symbols.
1.16190 -exclude_expsyms=$lt_exclude_expsyms_F77
1.16191 -
1.16192 -# Symbols that must always be exported.
1.16193 -include_expsyms=$lt_include_expsyms_F77
1.16194 -
1.16195 -# ### END LIBTOOL TAG CONFIG: $tagname
1.16196 -
1.16197 -__EOF__
1.16198 -
1.16199 -
1.16200 -else
1.16201 - # If there is no Makefile yet, we rely on a make rule to execute
1.16202 - # `config.status --recheck' to rerun these tests and create the
1.16203 - # libtool script then.
1.16204 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.16205 - if test -f "$ltmain_in"; then
1.16206 - test -f Makefile && make "$ltmain"
1.16207 - fi
1.16208 -fi
1.16209 -
1.16210 -
1.16211 -ac_ext=c
1.16212 -ac_cpp='$CPP $CPPFLAGS'
1.16213 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.16214 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.16215 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.16216 -
1.16217 -CC="$lt_save_CC"
1.16218 -
1.16219 - else
1.16220 - tagname=""
1.16221 - fi
1.16222 - ;;
1.16223 -
1.16224 - GCJ)
1.16225 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1.16226 -
1.16227 -
1.16228 -# Source file extension for Java test sources.
1.16229 -ac_ext=java
1.16230 -
1.16231 -# Object file extension for compiled Java test sources.
1.16232 -objext=o
1.16233 -objext_GCJ=$objext
1.16234 -
1.16235 -# Code to be used in simple compile tests
1.16236 -lt_simple_compile_test_code="class foo {}\n"
1.16237 -
1.16238 -# Code to be used in simple link tests
1.16239 -lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
1.16240 -
1.16241 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.16242 -
1.16243 -# If no C compiler was specified, use CC.
1.16244 -LTCC=${LTCC-"$CC"}
1.16245 -
1.16246 -# Allow CC to be a program name with arguments.
1.16247 -compiler=$CC
1.16248 -
1.16249 -
1.16250 -# Allow CC to be a program name with arguments.
1.16251 -lt_save_CC="$CC"
1.16252 -CC=${GCJ-"gcj"}
1.16253 -compiler=$CC
1.16254 -compiler_GCJ=$CC
1.16255 -
1.16256 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
1.16257 -archive_cmds_need_lc_GCJ=no
1.16258 -
1.16259 -## CAVEAT EMPTOR:
1.16260 -## There is no encapsulation within the following macros, do not change
1.16261 -## the running order or otherwise move them around unless you know exactly
1.16262 -## what you are doing...
1.16263 -
1.16264 -lt_prog_compiler_no_builtin_flag_GCJ=
1.16265 -
1.16266 -if test "$GCC" = yes; then
1.16267 - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1.16268 -
1.16269 -
1.16270 -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.16271 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
1.16272 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.16273 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16274 -else
1.16275 - lt_cv_prog_compiler_rtti_exceptions=no
1.16276 - ac_outfile=conftest.$ac_objext
1.16277 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16278 - lt_compiler_flag="-fno-rtti -fno-exceptions"
1.16279 - # Insert the option either (1) after the last *FLAGS variable, or
1.16280 - # (2) before a word containing "conftest.", or (3) at the end.
1.16281 - # Note that $ac_compile itself does not contain backslashes and begins
1.16282 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16283 - # The option is referenced via a variable to avoid confusing sed.
1.16284 - lt_compile=`echo "$ac_compile" | $SED \
1.16285 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.16286 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16287 - -e 's:$: $lt_compiler_flag:'`
1.16288 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16289 - (eval "$lt_compile" 2>conftest.err)
1.16290 - ac_status=$?
1.16291 - cat conftest.err >&5
1.16292 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16293 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.16294 - # The compiler can only warn and ignore the option if not recognized
1.16295 - # So say no if there are warnings
1.16296 - if test ! -s conftest.err; then
1.16297 - lt_cv_prog_compiler_rtti_exceptions=yes
1.16298 - fi
1.16299 - fi
1.16300 - $rm conftest*
1.16301 -
1.16302 -fi
1.16303 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.16304 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.16305 -
1.16306 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1.16307 - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
1.16308 -else
1.16309 - :
1.16310 -fi
1.16311 -
1.16312 -fi
1.16313 -
1.16314 -lt_prog_compiler_wl_GCJ=
1.16315 -lt_prog_compiler_pic_GCJ=
1.16316 -lt_prog_compiler_static_GCJ=
1.16317 -
1.16318 -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.16319 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1.16320 -
1.16321 - if test "$GCC" = yes; then
1.16322 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16323 - lt_prog_compiler_static_GCJ='-static'
1.16324 -
1.16325 - case $host_os in
1.16326 - aix*)
1.16327 - # All AIX code is PIC.
1.16328 - if test "$host_cpu" = ia64; then
1.16329 - # AIX 5 now supports IA64 processor
1.16330 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16331 - fi
1.16332 - ;;
1.16333 -
1.16334 - amigaos*)
1.16335 - # FIXME: we need at least 68020 code to build shared libraries, but
1.16336 - # adding the `-m68020' flag to GCC prevents building anything better,
1.16337 - # like `-m68040'.
1.16338 - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
1.16339 - ;;
1.16340 -
1.16341 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.16342 - # PIC is the default for these OSes.
1.16343 - ;;
1.16344 -
1.16345 - mingw* | pw32* | os2*)
1.16346 - # This hack is so that the source file can tell whether it is being
1.16347 - # built for inclusion in a dll (and should export symbols for example).
1.16348 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1.16349 - ;;
1.16350 -
1.16351 - darwin* | rhapsody*)
1.16352 - # PIC is the default on this platform
1.16353 - # Common symbols not allowed in MH_DYLIB files
1.16354 - lt_prog_compiler_pic_GCJ='-fno-common'
1.16355 - ;;
1.16356 -
1.16357 - msdosdjgpp*)
1.16358 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.16359 - # on systems that don't support them.
1.16360 - lt_prog_compiler_can_build_shared_GCJ=no
1.16361 - enable_shared=no
1.16362 - ;;
1.16363 -
1.16364 - sysv4*MP*)
1.16365 - if test -d /usr/nec; then
1.16366 - lt_prog_compiler_pic_GCJ=-Kconform_pic
1.16367 - fi
1.16368 - ;;
1.16369 -
1.16370 - hpux*)
1.16371 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.16372 - # not for PA HP-UX.
1.16373 - case "$host_cpu" in
1.16374 - hppa*64*|ia64*)
1.16375 - # +Z the default
1.16376 - ;;
1.16377 - *)
1.16378 - lt_prog_compiler_pic_GCJ='-fPIC'
1.16379 - ;;
1.16380 - esac
1.16381 - ;;
1.16382 -
1.16383 - *)
1.16384 - lt_prog_compiler_pic_GCJ='-fPIC'
1.16385 - ;;
1.16386 - esac
1.16387 - else
1.16388 - # PORTME Check for flag to pass linker flags through the system compiler.
1.16389 - case $host_os in
1.16390 - aix*)
1.16391 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16392 - if test "$host_cpu" = ia64; then
1.16393 - # AIX 5 now supports IA64 processor
1.16394 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16395 - else
1.16396 - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
1.16397 - fi
1.16398 - ;;
1.16399 -
1.16400 - mingw* | pw32* | os2*)
1.16401 - # This hack is so that the source file can tell whether it is being
1.16402 - # built for inclusion in a dll (and should export symbols for example).
1.16403 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1.16404 - ;;
1.16405 -
1.16406 - hpux9* | hpux10* | hpux11*)
1.16407 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16408 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.16409 - # not for PA HP-UX.
1.16410 - case "$host_cpu" in
1.16411 - hppa*64*|ia64*)
1.16412 - # +Z the default
1.16413 - ;;
1.16414 - *)
1.16415 - lt_prog_compiler_pic_GCJ='+Z'
1.16416 - ;;
1.16417 - esac
1.16418 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.16419 - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
1.16420 - ;;
1.16421 -
1.16422 - irix5* | irix6* | nonstopux*)
1.16423 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16424 - # PIC (with -KPIC) is the default.
1.16425 - lt_prog_compiler_static_GCJ='-non_shared'
1.16426 - ;;
1.16427 -
1.16428 - newsos6)
1.16429 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16430 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16431 - ;;
1.16432 -
1.16433 - linux*)
1.16434 - case $CC in
1.16435 - icc* | ecc*)
1.16436 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16437 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16438 - lt_prog_compiler_static_GCJ='-static'
1.16439 - ;;
1.16440 - ccc*)
1.16441 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16442 - # All Alpha code is PIC.
1.16443 - lt_prog_compiler_static_GCJ='-non_shared'
1.16444 - ;;
1.16445 - esac
1.16446 - ;;
1.16447 -
1.16448 - osf3* | osf4* | osf5*)
1.16449 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16450 - # All OSF/1 code is PIC.
1.16451 - lt_prog_compiler_static_GCJ='-non_shared'
1.16452 - ;;
1.16453 -
1.16454 - sco3.2v5*)
1.16455 - lt_prog_compiler_pic_GCJ='-Kpic'
1.16456 - lt_prog_compiler_static_GCJ='-dn'
1.16457 - ;;
1.16458 -
1.16459 - solaris*)
1.16460 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16461 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16462 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16463 - ;;
1.16464 -
1.16465 - sunos4*)
1.16466 - lt_prog_compiler_wl_GCJ='-Qoption ld '
1.16467 - lt_prog_compiler_pic_GCJ='-PIC'
1.16468 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16469 - ;;
1.16470 -
1.16471 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.16472 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16473 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16474 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16475 - ;;
1.16476 -
1.16477 - sysv4*MP*)
1.16478 - if test -d /usr/nec ;then
1.16479 - lt_prog_compiler_pic_GCJ='-Kconform_pic'
1.16480 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16481 - fi
1.16482 - ;;
1.16483 -
1.16484 - uts4*)
1.16485 - lt_prog_compiler_pic_GCJ='-pic'
1.16486 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16487 - ;;
1.16488 -
1.16489 - *)
1.16490 - lt_prog_compiler_can_build_shared_GCJ=no
1.16491 - ;;
1.16492 - esac
1.16493 - fi
1.16494 -
1.16495 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
1.16496 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
1.16497 -
1.16498 -#
1.16499 -# Check to make sure the PIC flag actually works.
1.16500 -#
1.16501 -if test -n "$lt_prog_compiler_pic_GCJ"; then
1.16502 -
1.16503 -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
1.16504 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
1.16505 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
1.16506 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16507 -else
1.16508 - lt_prog_compiler_pic_works_GCJ=no
1.16509 - ac_outfile=conftest.$ac_objext
1.16510 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16511 - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
1.16512 - # Insert the option either (1) after the last *FLAGS variable, or
1.16513 - # (2) before a word containing "conftest.", or (3) at the end.
1.16514 - # Note that $ac_compile itself does not contain backslashes and begins
1.16515 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16516 - # The option is referenced via a variable to avoid confusing sed.
1.16517 - lt_compile=`echo "$ac_compile" | $SED \
1.16518 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.16519 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16520 - -e 's:$: $lt_compiler_flag:'`
1.16521 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16522 - (eval "$lt_compile" 2>conftest.err)
1.16523 - ac_status=$?
1.16524 - cat conftest.err >&5
1.16525 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16526 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.16527 - # The compiler can only warn and ignore the option if not recognized
1.16528 - # So say no if there are warnings
1.16529 - if test ! -s conftest.err; then
1.16530 - lt_prog_compiler_pic_works_GCJ=yes
1.16531 - fi
1.16532 - fi
1.16533 - $rm conftest*
1.16534 -
1.16535 -fi
1.16536 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
1.16537 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
1.16538 -
1.16539 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1.16540 - case $lt_prog_compiler_pic_GCJ in
1.16541 - "" | " "*) ;;
1.16542 - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
1.16543 - esac
1.16544 -else
1.16545 - lt_prog_compiler_pic_GCJ=
1.16546 - lt_prog_compiler_can_build_shared_GCJ=no
1.16547 -fi
1.16548 -
1.16549 -fi
1.16550 -case "$host_os" in
1.16551 - # For platforms which do not support PIC, -DPIC is meaningless:
1.16552 - *djgpp*)
1.16553 - lt_prog_compiler_pic_GCJ=
1.16554 - ;;
1.16555 - *)
1.16556 - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
1.16557 - ;;
1.16558 -esac
1.16559 -
1.16560 -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.16561 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1.16562 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
1.16563 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16564 -else
1.16565 - lt_cv_prog_compiler_c_o_GCJ=no
1.16566 - $rm -r conftest 2>/dev/null
1.16567 - mkdir conftest
1.16568 - cd conftest
1.16569 - mkdir out
1.16570 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16571 -
1.16572 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.16573 - # Insert the option either (1) after the last *FLAGS variable, or
1.16574 - # (2) before a word containing "conftest.", or (3) at the end.
1.16575 - # Note that $ac_compile itself does not contain backslashes and begins
1.16576 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16577 - lt_compile=`echo "$ac_compile" | $SED \
1.16578 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1.16579 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16580 - -e 's:$: $lt_compiler_flag:'`
1.16581 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16582 - (eval "$lt_compile" 2>out/conftest.err)
1.16583 - ac_status=$?
1.16584 - cat out/conftest.err >&5
1.16585 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16586 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.16587 - then
1.16588 - # The compiler can only warn and ignore the option if not recognized
1.16589 - # So say no if there are warnings
1.16590 - if test ! -s out/conftest.err; then
1.16591 - lt_cv_prog_compiler_c_o_GCJ=yes
1.16592 - fi
1.16593 - fi
1.16594 - chmod u+w .
1.16595 - $rm conftest*
1.16596 - # SGI C++ compiler will create directory out/ii_files/ for
1.16597 - # template instantiation
1.16598 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.16599 - $rm out/* && rmdir out
1.16600 - cd ..
1.16601 - rmdir conftest
1.16602 - $rm conftest*
1.16603 -
1.16604 -fi
1.16605 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
1.16606 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
1.16607 -
1.16608 -
1.16609 -hard_links="nottested"
1.16610 -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1.16611 - # do not overwrite the value of need_locks provided by the user
1.16612 - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.16613 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1.16614 - hard_links=yes
1.16615 - $rm conftest*
1.16616 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.16617 - touch conftest.a
1.16618 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.16619 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.16620 - { echo "$as_me:$LINENO: result: $hard_links" >&5
1.16621 -echo "${ECHO_T}$hard_links" >&6; }
1.16622 - if test "$hard_links" = no; then
1.16623 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.16624 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.16625 - need_locks=warn
1.16626 - fi
1.16627 -else
1.16628 - need_locks=no
1.16629 -fi
1.16630 -
1.16631 -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.16632 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1.16633 -
1.16634 - runpath_var=
1.16635 - allow_undefined_flag_GCJ=
1.16636 - enable_shared_with_static_runtimes_GCJ=no
1.16637 - archive_cmds_GCJ=
1.16638 - archive_expsym_cmds_GCJ=
1.16639 - old_archive_From_new_cmds_GCJ=
1.16640 - old_archive_from_expsyms_cmds_GCJ=
1.16641 - export_dynamic_flag_spec_GCJ=
1.16642 - whole_archive_flag_spec_GCJ=
1.16643 - thread_safe_flag_spec_GCJ=
1.16644 - hardcode_libdir_flag_spec_GCJ=
1.16645 - hardcode_libdir_flag_spec_ld_GCJ=
1.16646 - hardcode_libdir_separator_GCJ=
1.16647 - hardcode_direct_GCJ=no
1.16648 - hardcode_minus_L_GCJ=no
1.16649 - hardcode_shlibpath_var_GCJ=unsupported
1.16650 - link_all_deplibs_GCJ=unknown
1.16651 - hardcode_automatic_GCJ=no
1.16652 - module_cmds_GCJ=
1.16653 - module_expsym_cmds_GCJ=
1.16654 - always_export_symbols_GCJ=no
1.16655 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.16656 - # include_expsyms should be a list of space-separated symbols to be *always*
1.16657 - # included in the symbol list
1.16658 - include_expsyms_GCJ=
1.16659 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.16660 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.16661 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.16662 - # as well as any symbol that contains `d'.
1.16663 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
1.16664 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.16665 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.16666 - # the symbol is explicitly referenced. Since portable code cannot
1.16667 - # rely on this symbol name, it's probably fine to never include it in
1.16668 - # preloaded symbol tables.
1.16669 - extract_expsyms_cmds=
1.16670 -
1.16671 - case $host_os in
1.16672 - cygwin* | mingw* | pw32*)
1.16673 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.16674 - # When not using gcc, we currently assume that we are using
1.16675 - # Microsoft Visual C++.
1.16676 - if test "$GCC" != yes; then
1.16677 - with_gnu_ld=no
1.16678 - fi
1.16679 - ;;
1.16680 - openbsd*)
1.16681 - with_gnu_ld=no
1.16682 - ;;
1.16683 - esac
1.16684 -
1.16685 - ld_shlibs_GCJ=yes
1.16686 - if test "$with_gnu_ld" = yes; then
1.16687 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.16688 - wlarc='${wl}'
1.16689 -
1.16690 - # See if GNU ld supports shared libraries.
1.16691 - case $host_os in
1.16692 - aix3* | aix4* | aix5*)
1.16693 - # On AIX/PPC, the GNU linker is very broken
1.16694 - if test "$host_cpu" != ia64; then
1.16695 - ld_shlibs_GCJ=no
1.16696 - cat <<EOF 1>&2
1.16697 -
1.16698 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.16699 -*** to be unable to reliably create shared libraries on AIX.
1.16700 -*** Therefore, libtool is disabling shared libraries support. If you
1.16701 -*** really care for shared libraries, you may want to modify your PATH
1.16702 -*** so that a non-GNU linker is found, and then restart.
1.16703 -
1.16704 -EOF
1.16705 - fi
1.16706 - ;;
1.16707 -
1.16708 - amigaos*)
1.16709 - 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.16710 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16711 - hardcode_minus_L_GCJ=yes
1.16712 -
1.16713 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.16714 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.16715 - # to version 4, is to share data among multiple programs linked
1.16716 - # with the same dynamic library. Since this doesn't match the
1.16717 - # behavior of shared libraries on other platforms, we can't use
1.16718 - # them.
1.16719 - ld_shlibs_GCJ=no
1.16720 - ;;
1.16721 -
1.16722 - beos*)
1.16723 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16724 - allow_undefined_flag_GCJ=unsupported
1.16725 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.16726 - # support --undefined. This deserves some investigation. FIXME
1.16727 - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16728 - else
1.16729 - ld_shlibs_GCJ=no
1.16730 - fi
1.16731 - ;;
1.16732 -
1.16733 - cygwin* | mingw* | pw32*)
1.16734 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
1.16735 - # as there is no search path for DLLs.
1.16736 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16737 - allow_undefined_flag_GCJ=unsupported
1.16738 - always_export_symbols_GCJ=no
1.16739 - enable_shared_with_static_runtimes_GCJ=yes
1.16740 - 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.16741 -
1.16742 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.16743 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.16744 - # If the export-symbols file already is a .def file (1st line
1.16745 - # is EXPORTS), use it as is; otherwise, prepend...
1.16746 - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.16747 - cp $export_symbols $output_objdir/$soname.def;
1.16748 - else
1.16749 - echo EXPORTS > $output_objdir/$soname.def;
1.16750 - cat $export_symbols >> $output_objdir/$soname.def;
1.16751 - fi~
1.16752 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.16753 - else
1.16754 - ld_shlibs=no
1.16755 - fi
1.16756 - ;;
1.16757 -
1.16758 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.16759 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.16760 - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.16761 - wlarc=
1.16762 - else
1.16763 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16764 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16765 - fi
1.16766 - ;;
1.16767 -
1.16768 - solaris* | sysv5*)
1.16769 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.16770 - ld_shlibs_GCJ=no
1.16771 - cat <<EOF 1>&2
1.16772 -
1.16773 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.16774 -*** create shared libraries on Solaris systems. Therefore, libtool
1.16775 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.16776 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.16777 -*** your PATH or compiler configuration so that the native linker is
1.16778 -*** used, and then restart.
1.16779 -
1.16780 -EOF
1.16781 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16782 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16783 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16784 - else
1.16785 - ld_shlibs_GCJ=no
1.16786 - fi
1.16787 - ;;
1.16788 -
1.16789 - sunos4*)
1.16790 - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.16791 - wlarc=
1.16792 - hardcode_direct_GCJ=yes
1.16793 - hardcode_shlibpath_var_GCJ=no
1.16794 - ;;
1.16795 -
1.16796 - linux*)
1.16797 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16798 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16799 - archive_cmds_GCJ="$tmp_archive_cmds"
1.16800 - supports_anon_versioning=no
1.16801 - case `$LD -v 2>/dev/null` in
1.16802 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.16803 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.16804 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.16805 - *\ 2.11.*) ;; # other 2.11 versions
1.16806 - *) supports_anon_versioning=yes ;;
1.16807 - esac
1.16808 - if test $supports_anon_versioning = yes; then
1.16809 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
1.16810 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.16811 -$echo "local: *; };" >> $output_objdir/$libname.ver~
1.16812 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.16813 - else
1.16814 - archive_expsym_cmds_GCJ="$tmp_archive_cmds"
1.16815 - fi
1.16816 - link_all_deplibs_GCJ=no
1.16817 - else
1.16818 - ld_shlibs_GCJ=no
1.16819 - fi
1.16820 - ;;
1.16821 -
1.16822 - *)
1.16823 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16824 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16825 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16826 - else
1.16827 - ld_shlibs_GCJ=no
1.16828 - fi
1.16829 - ;;
1.16830 - esac
1.16831 -
1.16832 - if test "$ld_shlibs_GCJ" = yes; then
1.16833 - runpath_var=LD_RUN_PATH
1.16834 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
1.16835 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
1.16836 - # ancient GNU ld didn't support --whole-archive et. al.
1.16837 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.16838 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.16839 - else
1.16840 - whole_archive_flag_spec_GCJ=
1.16841 - fi
1.16842 - fi
1.16843 - else
1.16844 - # PORTME fill in a description of your system's linker (not GNU ld)
1.16845 - case $host_os in
1.16846 - aix3*)
1.16847 - allow_undefined_flag_GCJ=unsupported
1.16848 - always_export_symbols_GCJ=yes
1.16849 - 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.16850 - # Note: this linker hardcodes the directories in LIBPATH if there
1.16851 - # are no directories specified by -L.
1.16852 - hardcode_minus_L_GCJ=yes
1.16853 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.16854 - # Neither direct hardcoding nor static linking is supported with a
1.16855 - # broken collect2.
1.16856 - hardcode_direct_GCJ=unsupported
1.16857 - fi
1.16858 - ;;
1.16859 -
1.16860 - aix4* | aix5*)
1.16861 - if test "$host_cpu" = ia64; then
1.16862 - # On IA64, the linker does run time linking by default, so we don't
1.16863 - # have to do anything special.
1.16864 - aix_use_runtimelinking=no
1.16865 - exp_sym_flag='-Bexport'
1.16866 - no_entry_flag=""
1.16867 - else
1.16868 - # If we're using GNU nm, then we don't want the "-C" option.
1.16869 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.16870 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.16871 - 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.16872 - else
1.16873 - 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.16874 - fi
1.16875 - aix_use_runtimelinking=no
1.16876 -
1.16877 - # Test if we are trying to use run time linking or normal
1.16878 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.16879 - # need to do runtime linking.
1.16880 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.16881 - for ld_flag in $LDFLAGS; do
1.16882 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.16883 - aix_use_runtimelinking=yes
1.16884 - break
1.16885 - fi
1.16886 - done
1.16887 - esac
1.16888 -
1.16889 - exp_sym_flag='-bexport'
1.16890 - no_entry_flag='-bnoentry'
1.16891 - fi
1.16892 -
1.16893 - # When large executables or shared objects are built, AIX ld can
1.16894 - # have problems creating the table of contents. If linking a library
1.16895 - # or program results in "error TOC overflow" add -mminimal-toc to
1.16896 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.16897 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.16898 -
1.16899 - archive_cmds_GCJ=''
1.16900 - hardcode_direct_GCJ=yes
1.16901 - hardcode_libdir_separator_GCJ=':'
1.16902 - link_all_deplibs_GCJ=yes
1.16903 -
1.16904 - if test "$GCC" = yes; then
1.16905 - case $host_os in aix4.012|aix4.012.*)
1.16906 - # We only want to do this on AIX 4.2 and lower, the check
1.16907 - # below for broken collect2 doesn't work under 4.3+
1.16908 - collect2name=`${CC} -print-prog-name=collect2`
1.16909 - if test -f "$collect2name" && \
1.16910 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.16911 - then
1.16912 - # We have reworked collect2
1.16913 - hardcode_direct_GCJ=yes
1.16914 - else
1.16915 - # We have old collect2
1.16916 - hardcode_direct_GCJ=unsupported
1.16917 - # It fails to find uninstalled libraries when the uninstalled
1.16918 - # path is not listed in the libpath. Setting hardcode_minus_L
1.16919 - # to unsupported forces relinking
1.16920 - hardcode_minus_L_GCJ=yes
1.16921 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16922 - hardcode_libdir_separator_GCJ=
1.16923 - fi
1.16924 - esac
1.16925 - shared_flag='-shared'
1.16926 - else
1.16927 - # not using gcc
1.16928 - if test "$host_cpu" = ia64; then
1.16929 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.16930 - # chokes on -Wl,-G. The following line is correct:
1.16931 - shared_flag='-G'
1.16932 - else
1.16933 - if test "$aix_use_runtimelinking" = yes; then
1.16934 - shared_flag='${wl}-G'
1.16935 - else
1.16936 - shared_flag='${wl}-bM:SRE'
1.16937 - fi
1.16938 - fi
1.16939 - fi
1.16940 -
1.16941 - # It seems that -bexpall does not export symbols beginning with
1.16942 - # underscore (_), so it is better to generate a list of symbols to export.
1.16943 - always_export_symbols_GCJ=yes
1.16944 - if test "$aix_use_runtimelinking" = yes; then
1.16945 - # Warning - without using the other runtime loading flags (-brtl),
1.16946 - # -berok will link without error, but may produce a broken library.
1.16947 - allow_undefined_flag_GCJ='-berok'
1.16948 - # Determine the default libpath from the value encoded in an empty executable.
1.16949 - cat >conftest.$ac_ext <<_ACEOF
1.16950 -/* confdefs.h. */
1.16951 -_ACEOF
1.16952 -cat confdefs.h >>conftest.$ac_ext
1.16953 -cat >>conftest.$ac_ext <<_ACEOF
1.16954 -/* end confdefs.h. */
1.16955 -
1.16956 -int
1.16957 -main ()
1.16958 -{
1.16959 -
1.16960 - ;
1.16961 - return 0;
1.16962 -}
1.16963 -_ACEOF
1.16964 -rm -f conftest.$ac_objext conftest$ac_exeext
1.16965 -if { (ac_try="$ac_link"
1.16966 -case "(($ac_try" in
1.16967 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.16968 - *) ac_try_echo=$ac_try;;
1.16969 -esac
1.16970 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.16971 - (eval "$ac_link") 2>conftest.er1
1.16972 - ac_status=$?
1.16973 - grep -v '^ *+' conftest.er1 >conftest.err
1.16974 - rm -f conftest.er1
1.16975 - cat conftest.err >&5
1.16976 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16977 - (exit $ac_status); } && {
1.16978 - test -z "$ac_c_werror_flag" ||
1.16979 - test ! -s conftest.err
1.16980 - } && test -s conftest$ac_exeext &&
1.16981 - $as_test_x conftest$ac_exeext; then
1.16982 -
1.16983 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.16984 -}'`
1.16985 -# Check for a 64-bit object if we didn't find anything.
1.16986 -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.16987 -}'`; fi
1.16988 -else
1.16989 - echo "$as_me: failed program was:" >&5
1.16990 -sed 's/^/| /' conftest.$ac_ext >&5
1.16991 -
1.16992 -
1.16993 -fi
1.16994 -
1.16995 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.16996 - conftest$ac_exeext conftest.$ac_ext
1.16997 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.16998 -
1.16999 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1.17000 - 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.17001 - else
1.17002 - if test "$host_cpu" = ia64; then
1.17003 - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
1.17004 - allow_undefined_flag_GCJ="-z nodefs"
1.17005 - 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.17006 - else
1.17007 - # Determine the default libpath from the value encoded in an empty executable.
1.17008 - cat >conftest.$ac_ext <<_ACEOF
1.17009 -/* confdefs.h. */
1.17010 -_ACEOF
1.17011 -cat confdefs.h >>conftest.$ac_ext
1.17012 -cat >>conftest.$ac_ext <<_ACEOF
1.17013 -/* end confdefs.h. */
1.17014 -
1.17015 -int
1.17016 -main ()
1.17017 -{
1.17018 -
1.17019 - ;
1.17020 - return 0;
1.17021 -}
1.17022 -_ACEOF
1.17023 -rm -f conftest.$ac_objext conftest$ac_exeext
1.17024 -if { (ac_try="$ac_link"
1.17025 -case "(($ac_try" in
1.17026 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.17027 - *) ac_try_echo=$ac_try;;
1.17028 -esac
1.17029 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.17030 - (eval "$ac_link") 2>conftest.er1
1.17031 - ac_status=$?
1.17032 - grep -v '^ *+' conftest.er1 >conftest.err
1.17033 - rm -f conftest.er1
1.17034 - cat conftest.err >&5
1.17035 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17036 - (exit $ac_status); } && {
1.17037 - test -z "$ac_c_werror_flag" ||
1.17038 - test ! -s conftest.err
1.17039 - } && test -s conftest$ac_exeext &&
1.17040 - $as_test_x conftest$ac_exeext; then
1.17041 -
1.17042 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.17043 -}'`
1.17044 -# Check for a 64-bit object if we didn't find anything.
1.17045 -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.17046 -}'`; fi
1.17047 -else
1.17048 - echo "$as_me: failed program was:" >&5
1.17049 -sed 's/^/| /' conftest.$ac_ext >&5
1.17050 -
1.17051 -
1.17052 -fi
1.17053 -
1.17054 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.17055 - conftest$ac_exeext conftest.$ac_ext
1.17056 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.17057 -
1.17058 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1.17059 - # Warning - without using the other run time loading flags,
1.17060 - # -berok will link without error, but may produce a broken library.
1.17061 - no_undefined_flag_GCJ=' ${wl}-bernotok'
1.17062 - allow_undefined_flag_GCJ=' ${wl}-berok'
1.17063 - # -bexpall does not export symbols beginning with underscore (_)
1.17064 - always_export_symbols_GCJ=yes
1.17065 - # Exported symbols can be pulled into shared objects from archives
1.17066 - whole_archive_flag_spec_GCJ=' '
1.17067 - archive_cmds_need_lc_GCJ=yes
1.17068 - # This is similar to how AIX traditionally builds it's shared libraries.
1.17069 - 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.17070 - fi
1.17071 - fi
1.17072 - ;;
1.17073 -
1.17074 - amigaos*)
1.17075 - 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.17076 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17077 - hardcode_minus_L_GCJ=yes
1.17078 - # see comment about different semantics on the GNU ld section
1.17079 - ld_shlibs_GCJ=no
1.17080 - ;;
1.17081 -
1.17082 - bsdi4*)
1.17083 - export_dynamic_flag_spec_GCJ=-rdynamic
1.17084 - ;;
1.17085 -
1.17086 - cygwin* | mingw* | pw32*)
1.17087 - # When not using gcc, we currently assume that we are using
1.17088 - # Microsoft Visual C++.
1.17089 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.17090 - # no search path for DLLs.
1.17091 - hardcode_libdir_flag_spec_GCJ=' '
1.17092 - allow_undefined_flag_GCJ=unsupported
1.17093 - # Tell ltmain to make .lib files, not .a files.
1.17094 - libext=lib
1.17095 - # Tell ltmain to make .dll files, not .so files.
1.17096 - shrext_cmds=".dll"
1.17097 - # FIXME: Setting linknames here is a bad hack.
1.17098 - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.17099 - # The linker will automatically build a .lib file if we build a DLL.
1.17100 - old_archive_From_new_cmds_GCJ='true'
1.17101 - # FIXME: Should let the user specify the lib program.
1.17102 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.17103 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1.17104 - enable_shared_with_static_runtimes_GCJ=yes
1.17105 - ;;
1.17106 -
1.17107 - darwin* | rhapsody*)
1.17108 - if test "$GXX" = yes ; then
1.17109 - archive_cmds_need_lc_GCJ=no
1.17110 - case "$host_os" in
1.17111 - rhapsody* | darwin1.[012])
1.17112 - allow_undefined_flag_GCJ='-undefined suppress'
1.17113 - ;;
1.17114 - *) # Darwin 1.3 on
1.17115 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.17116 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
1.17117 - else
1.17118 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.17119 - 10.[012])
1.17120 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
1.17121 - ;;
1.17122 - 10.*)
1.17123 - allow_undefined_flag_GCJ='-undefined dynamic_lookup'
1.17124 - ;;
1.17125 - esac
1.17126 - fi
1.17127 - ;;
1.17128 - esac
1.17129 - lt_int_apple_cc_single_mod=no
1.17130 - output_verbose_link_cmd='echo'
1.17131 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1.17132 - lt_int_apple_cc_single_mod=yes
1.17133 - fi
1.17134 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.17135 - archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.17136 - else
1.17137 - 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.17138 - fi
1.17139 - module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.17140 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1.17141 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.17142 - 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.17143 - else
1.17144 - 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.17145 - fi
1.17146 - 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.17147 - hardcode_direct_GCJ=no
1.17148 - hardcode_automatic_GCJ=yes
1.17149 - hardcode_shlibpath_var_GCJ=unsupported
1.17150 - whole_archive_flag_spec_GCJ='-all_load $convenience'
1.17151 - link_all_deplibs_GCJ=yes
1.17152 - else
1.17153 - ld_shlibs_GCJ=no
1.17154 - fi
1.17155 - ;;
1.17156 -
1.17157 - dgux*)
1.17158 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17159 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17160 - hardcode_shlibpath_var_GCJ=no
1.17161 - ;;
1.17162 -
1.17163 - freebsd1*)
1.17164 - ld_shlibs_GCJ=no
1.17165 - ;;
1.17166 -
1.17167 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.17168 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.17169 - # does not break anything, and helps significantly (at the cost of a little
1.17170 - # extra space).
1.17171 - freebsd2.2*)
1.17172 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.17173 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17174 - hardcode_direct_GCJ=yes
1.17175 - hardcode_shlibpath_var_GCJ=no
1.17176 - ;;
1.17177 -
1.17178 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.17179 - freebsd2*)
1.17180 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.17181 - hardcode_direct_GCJ=yes
1.17182 - hardcode_minus_L_GCJ=yes
1.17183 - hardcode_shlibpath_var_GCJ=no
1.17184 - ;;
1.17185 -
1.17186 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.17187 - freebsd* | kfreebsd*-gnu)
1.17188 - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.17189 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17190 - hardcode_direct_GCJ=yes
1.17191 - hardcode_shlibpath_var_GCJ=no
1.17192 - ;;
1.17193 -
1.17194 - hpux9*)
1.17195 - if test "$GCC" = yes; then
1.17196 - 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.17197 - else
1.17198 - 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.17199 - fi
1.17200 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.17201 - hardcode_libdir_separator_GCJ=:
1.17202 - hardcode_direct_GCJ=yes
1.17203 -
1.17204 - # hardcode_minus_L: Not really in the search PATH,
1.17205 - # but as the default location of the library.
1.17206 - hardcode_minus_L_GCJ=yes
1.17207 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.17208 - ;;
1.17209 -
1.17210 - hpux10* | hpux11*)
1.17211 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.17212 - case "$host_cpu" in
1.17213 - hppa*64*|ia64*)
1.17214 - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17215 - ;;
1.17216 - *)
1.17217 - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.17218 - ;;
1.17219 - esac
1.17220 - else
1.17221 - case "$host_cpu" in
1.17222 - hppa*64*|ia64*)
1.17223 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17224 - ;;
1.17225 - *)
1.17226 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.17227 - ;;
1.17228 - esac
1.17229 - fi
1.17230 - if test "$with_gnu_ld" = no; then
1.17231 - case "$host_cpu" in
1.17232 - hppa*64*)
1.17233 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.17234 - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
1.17235 - hardcode_libdir_separator_GCJ=:
1.17236 - hardcode_direct_GCJ=no
1.17237 - hardcode_shlibpath_var_GCJ=no
1.17238 - ;;
1.17239 - ia64*)
1.17240 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17241 - hardcode_direct_GCJ=no
1.17242 - hardcode_shlibpath_var_GCJ=no
1.17243 -
1.17244 - # hardcode_minus_L: Not really in the search PATH,
1.17245 - # but as the default location of the library.
1.17246 - hardcode_minus_L_GCJ=yes
1.17247 - ;;
1.17248 - *)
1.17249 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.17250 - hardcode_libdir_separator_GCJ=:
1.17251 - hardcode_direct_GCJ=yes
1.17252 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.17253 -
1.17254 - # hardcode_minus_L: Not really in the search PATH,
1.17255 - # but as the default location of the library.
1.17256 - hardcode_minus_L_GCJ=yes
1.17257 - ;;
1.17258 - esac
1.17259 - fi
1.17260 - ;;
1.17261 -
1.17262 - irix5* | irix6* | nonstopux*)
1.17263 - if test "$GCC" = yes; then
1.17264 - 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.17265 - else
1.17266 - 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.17267 - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
1.17268 - fi
1.17269 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17270 - hardcode_libdir_separator_GCJ=:
1.17271 - link_all_deplibs_GCJ=yes
1.17272 - ;;
1.17273 -
1.17274 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1.17275 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.17276 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.17277 - else
1.17278 - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.17279 - fi
1.17280 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17281 - hardcode_direct_GCJ=yes
1.17282 - hardcode_shlibpath_var_GCJ=no
1.17283 - ;;
1.17284 -
1.17285 - newsos6)
1.17286 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17287 - hardcode_direct_GCJ=yes
1.17288 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17289 - hardcode_libdir_separator_GCJ=:
1.17290 - hardcode_shlibpath_var_GCJ=no
1.17291 - ;;
1.17292 -
1.17293 - openbsd*)
1.17294 - hardcode_direct_GCJ=yes
1.17295 - hardcode_shlibpath_var_GCJ=no
1.17296 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.17297 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.17298 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1.17299 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.17300 - else
1.17301 - case $host_os in
1.17302 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.17303 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.17304 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17305 - ;;
1.17306 - *)
1.17307 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.17308 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1.17309 - ;;
1.17310 - esac
1.17311 - fi
1.17312 - ;;
1.17313 -
1.17314 - os2*)
1.17315 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17316 - hardcode_minus_L_GCJ=yes
1.17317 - allow_undefined_flag_GCJ=unsupported
1.17318 - 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.17319 - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.17320 - ;;
1.17321 -
1.17322 - osf3*)
1.17323 - if test "$GCC" = yes; then
1.17324 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
1.17325 - 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.17326 - else
1.17327 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
1.17328 - 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.17329 - fi
1.17330 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17331 - hardcode_libdir_separator_GCJ=:
1.17332 - ;;
1.17333 -
1.17334 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.17335 - if test "$GCC" = yes; then
1.17336 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
1.17337 - 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.17338 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17339 - else
1.17340 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
1.17341 - 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.17342 - 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.17343 - $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.17344 -
1.17345 - # Both c and cxx compiler support -rpath directly
1.17346 - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
1.17347 - fi
1.17348 - hardcode_libdir_separator_GCJ=:
1.17349 - ;;
1.17350 -
1.17351 - sco3.2v5*)
1.17352 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17353 - hardcode_shlibpath_var_GCJ=no
1.17354 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
1.17355 - runpath_var=LD_RUN_PATH
1.17356 - hardcode_runpath_var=yes
1.17357 - ;;
1.17358 -
1.17359 - solaris*)
1.17360 - no_undefined_flag_GCJ=' -z text'
1.17361 - if test "$GCC" = yes; then
1.17362 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17363 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17364 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.17365 - else
1.17366 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17367 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17368 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.17369 - fi
1.17370 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17371 - hardcode_shlibpath_var_GCJ=no
1.17372 - case $host_os in
1.17373 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.17374 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
1.17375 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
1.17376 - esac
1.17377 - link_all_deplibs_GCJ=yes
1.17378 - ;;
1.17379 -
1.17380 - sunos4*)
1.17381 - if test "x$host_vendor" = xsequent; then
1.17382 - # Use $CC to link under sequent, because it throws in some extra .o
1.17383 - # files that make .init and .fini sections work.
1.17384 - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.17385 - else
1.17386 - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.17387 - fi
1.17388 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17389 - hardcode_direct_GCJ=yes
1.17390 - hardcode_minus_L_GCJ=yes
1.17391 - hardcode_shlibpath_var_GCJ=no
1.17392 - ;;
1.17393 -
1.17394 - sysv4)
1.17395 - case $host_vendor in
1.17396 - sni)
1.17397 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17398 - hardcode_direct_GCJ=yes # is this really true???
1.17399 - ;;
1.17400 - siemens)
1.17401 - ## LD is ld it makes a PLAMLIB
1.17402 - ## CC just makes a GrossModule.
1.17403 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.17404 - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
1.17405 - hardcode_direct_GCJ=no
1.17406 - ;;
1.17407 - motorola)
1.17408 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17409 - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
1.17410 - ;;
1.17411 - esac
1.17412 - runpath_var='LD_RUN_PATH'
1.17413 - hardcode_shlibpath_var_GCJ=no
1.17414 - ;;
1.17415 -
1.17416 - sysv4.3*)
1.17417 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17418 - hardcode_shlibpath_var_GCJ=no
1.17419 - export_dynamic_flag_spec_GCJ='-Bexport'
1.17420 - ;;
1.17421 -
1.17422 - sysv4*MP*)
1.17423 - if test -d /usr/nec; then
1.17424 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17425 - hardcode_shlibpath_var_GCJ=no
1.17426 - runpath_var=LD_RUN_PATH
1.17427 - hardcode_runpath_var=yes
1.17428 - ld_shlibs_GCJ=yes
1.17429 - fi
1.17430 - ;;
1.17431 -
1.17432 - sysv4.2uw2*)
1.17433 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.17434 - hardcode_direct_GCJ=yes
1.17435 - hardcode_minus_L_GCJ=no
1.17436 - hardcode_shlibpath_var_GCJ=no
1.17437 - hardcode_runpath_var=yes
1.17438 - runpath_var=LD_RUN_PATH
1.17439 - ;;
1.17440 -
1.17441 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.17442 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
1.17443 - if test "$GCC" = yes; then
1.17444 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17445 - else
1.17446 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17447 - fi
1.17448 - runpath_var='LD_RUN_PATH'
1.17449 - hardcode_shlibpath_var_GCJ=no
1.17450 - ;;
1.17451 -
1.17452 - sysv5*)
1.17453 - no_undefined_flag_GCJ=' -z text'
1.17454 - # $CC -shared without GNU ld will not create a library from C++
1.17455 - # object files and a static libstdc++, better avoid it by now
1.17456 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17457 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17458 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.17459 - hardcode_libdir_flag_spec_GCJ=
1.17460 - hardcode_shlibpath_var_GCJ=no
1.17461 - runpath_var='LD_RUN_PATH'
1.17462 - ;;
1.17463 -
1.17464 - uts4*)
1.17465 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17466 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17467 - hardcode_shlibpath_var_GCJ=no
1.17468 - ;;
1.17469 -
1.17470 - *)
1.17471 - ld_shlibs_GCJ=no
1.17472 - ;;
1.17473 - esac
1.17474 - fi
1.17475 -
1.17476 -{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
1.17477 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
1.17478 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
1.17479 -
1.17480 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.17481 -if test "$GCC" = yes; then
1.17482 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.17483 -fi
1.17484 -
1.17485 -#
1.17486 -# Do we need to explicitly link libc?
1.17487 -#
1.17488 -case "x$archive_cmds_need_lc_GCJ" in
1.17489 -x|xyes)
1.17490 - # Assume -lc should be added
1.17491 - archive_cmds_need_lc_GCJ=yes
1.17492 -
1.17493 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.17494 - case $archive_cmds_GCJ in
1.17495 - *'~'*)
1.17496 - # FIXME: we may have to deal with multi-command sequences.
1.17497 - ;;
1.17498 - '$CC '*)
1.17499 - # Test whether the compiler implicitly links with -lc since on some
1.17500 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.17501 - # to ld, don't add -lc before -lgcc.
1.17502 - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.17503 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.17504 - $rm conftest*
1.17505 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.17506 -
1.17507 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.17508 - (eval $ac_compile) 2>&5
1.17509 - ac_status=$?
1.17510 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17511 - (exit $ac_status); } 2>conftest.err; then
1.17512 - soname=conftest
1.17513 - lib=conftest
1.17514 - libobjs=conftest.$ac_objext
1.17515 - deplibs=
1.17516 - wl=$lt_prog_compiler_wl_GCJ
1.17517 - compiler_flags=-v
1.17518 - linker_flags=-v
1.17519 - verstring=
1.17520 - output_objdir=.
1.17521 - libname=conftest
1.17522 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
1.17523 - allow_undefined_flag_GCJ=
1.17524 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.17525 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.17526 - ac_status=$?
1.17527 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17528 - (exit $ac_status); }
1.17529 - then
1.17530 - archive_cmds_need_lc_GCJ=no
1.17531 - else
1.17532 - archive_cmds_need_lc_GCJ=yes
1.17533 - fi
1.17534 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
1.17535 - else
1.17536 - cat conftest.err 1>&5
1.17537 - fi
1.17538 - $rm conftest*
1.17539 - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
1.17540 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
1.17541 - ;;
1.17542 - esac
1.17543 - fi
1.17544 - ;;
1.17545 -esac
1.17546 -
1.17547 -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.17548 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1.17549 -library_names_spec=
1.17550 -libname_spec='lib$name'
1.17551 -soname_spec=
1.17552 -shrext_cmds=".so"
1.17553 -postinstall_cmds=
1.17554 -postuninstall_cmds=
1.17555 -finish_cmds=
1.17556 -finish_eval=
1.17557 -shlibpath_var=
1.17558 -shlibpath_overrides_runpath=unknown
1.17559 -version_type=none
1.17560 -dynamic_linker="$host_os ld.so"
1.17561 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.17562 -if test "$GCC" = yes; then
1.17563 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.17564 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.17565 - # if the path contains ";" then we assume it to be the separator
1.17566 - # otherwise default to the standard path separator (i.e. ":") - it is
1.17567 - # assumed that no part of a normal pathname contains ";" but that should
1.17568 - # okay in the real world where ";" in dirpaths is itself problematic.
1.17569 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.17570 - else
1.17571 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.17572 - fi
1.17573 -else
1.17574 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.17575 -fi
1.17576 -need_lib_prefix=unknown
1.17577 -hardcode_into_libs=no
1.17578 -
1.17579 -# when you set need_version to no, make sure it does not cause -set_version
1.17580 -# flags to be left without arguments
1.17581 -need_version=unknown
1.17582 -
1.17583 -case $host_os in
1.17584 -aix3*)
1.17585 - version_type=linux
1.17586 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.17587 - shlibpath_var=LIBPATH
1.17588 -
1.17589 - # AIX 3 has no versioning support, so we append a major version to the name.
1.17590 - soname_spec='${libname}${release}${shared_ext}$major'
1.17591 - ;;
1.17592 -
1.17593 -aix4* | aix5*)
1.17594 - version_type=linux
1.17595 - need_lib_prefix=no
1.17596 - need_version=no
1.17597 - hardcode_into_libs=yes
1.17598 - if test "$host_cpu" = ia64; then
1.17599 - # AIX 5 supports IA64
1.17600 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.17601 - shlibpath_var=LD_LIBRARY_PATH
1.17602 - else
1.17603 - # With GCC up to 2.95.x, collect2 would create an import file
1.17604 - # for dependence libraries. The import file would start with
1.17605 - # the line `#! .'. This would cause the generated library to
1.17606 - # depend on `.', always an invalid library. This was fixed in
1.17607 - # development snapshots of GCC prior to 3.0.
1.17608 - case $host_os in
1.17609 - aix4 | aix4.[01] | aix4.[01].*)
1.17610 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.17611 - echo ' yes '
1.17612 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.17613 - :
1.17614 - else
1.17615 - can_build_shared=no
1.17616 - fi
1.17617 - ;;
1.17618 - esac
1.17619 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.17620 - # soname into executable. Probably we can add versioning support to
1.17621 - # collect2, so additional links can be useful in future.
1.17622 - if test "$aix_use_runtimelinking" = yes; then
1.17623 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.17624 - # instead of lib<name>.a to let people know that these are not
1.17625 - # typical AIX shared libraries.
1.17626 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17627 - else
1.17628 - # We preserve .a as extension for shared libraries through AIX4.2
1.17629 - # and later when we are not doing run time linking.
1.17630 - library_names_spec='${libname}${release}.a $libname.a'
1.17631 - soname_spec='${libname}${release}${shared_ext}$major'
1.17632 - fi
1.17633 - shlibpath_var=LIBPATH
1.17634 - fi
1.17635 - ;;
1.17636 -
1.17637 -amigaos*)
1.17638 - library_names_spec='$libname.ixlibrary $libname.a'
1.17639 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.17640 - 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.17641 - ;;
1.17642 -
1.17643 -beos*)
1.17644 - library_names_spec='${libname}${shared_ext}'
1.17645 - dynamic_linker="$host_os ld.so"
1.17646 - shlibpath_var=LIBRARY_PATH
1.17647 - ;;
1.17648 -
1.17649 -bsdi4*)
1.17650 - version_type=linux
1.17651 - need_version=no
1.17652 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17653 - soname_spec='${libname}${release}${shared_ext}$major'
1.17654 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.17655 - shlibpath_var=LD_LIBRARY_PATH
1.17656 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.17657 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.17658 - # the default ld.so.conf also contains /usr/contrib/lib and
1.17659 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.17660 - # libtool to hard-code these into programs
1.17661 - ;;
1.17662 -
1.17663 -cygwin* | mingw* | pw32*)
1.17664 - version_type=windows
1.17665 - shrext_cmds=".dll"
1.17666 - need_version=no
1.17667 - need_lib_prefix=no
1.17668 -
1.17669 - case $GCC,$host_os in
1.17670 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.17671 - library_names_spec='$libname.dll.a'
1.17672 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.17673 - postinstall_cmds='base_file=`basename \${file}`~
1.17674 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.17675 - dldir=$destdir/`dirname \$dlpath`~
1.17676 - test -d \$dldir || mkdir -p \$dldir~
1.17677 - $install_prog $dir/$dlname \$dldir/$dlname'
1.17678 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.17679 - dlpath=$dir/\$dldll~
1.17680 - $rm \$dlpath'
1.17681 - shlibpath_overrides_runpath=yes
1.17682 -
1.17683 - case $host_os in
1.17684 - cygwin*)
1.17685 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.17686 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.17687 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.17688 - ;;
1.17689 - mingw*)
1.17690 - # MinGW DLLs use traditional 'lib' prefix
1.17691 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.17692 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.17693 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.17694 - # It is most probably a Windows format PATH printed by
1.17695 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.17696 - # path with ; separators, and with drive letters. We can handle the
1.17697 - # drive letters (cygwin fileutils understands them), so leave them,
1.17698 - # especially as we might pass files found there to a mingw objdump,
1.17699 - # which wouldn't understand a cygwinified path. Ahh.
1.17700 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.17701 - else
1.17702 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.17703 - fi
1.17704 - ;;
1.17705 - pw32*)
1.17706 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.17707 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
1.17708 - ;;
1.17709 - esac
1.17710 - ;;
1.17711 -
1.17712 - *)
1.17713 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.17714 - ;;
1.17715 - esac
1.17716 - dynamic_linker='Win32 ld.exe'
1.17717 - # FIXME: first we should search . and the directory the executable is in
1.17718 - shlibpath_var=PATH
1.17719 - ;;
1.17720 -
1.17721 -darwin* | rhapsody*)
1.17722 - dynamic_linker="$host_os dyld"
1.17723 - version_type=darwin
1.17724 - need_lib_prefix=no
1.17725 - need_version=no
1.17726 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.17727 - soname_spec='${libname}${release}${major}$shared_ext'
1.17728 - shlibpath_overrides_runpath=yes
1.17729 - shlibpath_var=DYLD_LIBRARY_PATH
1.17730 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1.17731 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.17732 - if test "$GCC" = yes; then
1.17733 - 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.17734 - else
1.17735 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.17736 - fi
1.17737 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.17738 - ;;
1.17739 -
1.17740 -dgux*)
1.17741 - version_type=linux
1.17742 - need_lib_prefix=no
1.17743 - need_version=no
1.17744 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.17745 - soname_spec='${libname}${release}${shared_ext}$major'
1.17746 - shlibpath_var=LD_LIBRARY_PATH
1.17747 - ;;
1.17748 -
1.17749 -freebsd1*)
1.17750 - dynamic_linker=no
1.17751 - ;;
1.17752 -
1.17753 -kfreebsd*-gnu)
1.17754 - version_type=linux
1.17755 - need_lib_prefix=no
1.17756 - need_version=no
1.17757 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17758 - soname_spec='${libname}${release}${shared_ext}$major'
1.17759 - shlibpath_var=LD_LIBRARY_PATH
1.17760 - shlibpath_overrides_runpath=no
1.17761 - hardcode_into_libs=yes
1.17762 - dynamic_linker='GNU ld.so'
1.17763 - ;;
1.17764 -
1.17765 -freebsd*)
1.17766 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1.17767 - version_type=freebsd-$objformat
1.17768 - case $version_type in
1.17769 - freebsd-elf*)
1.17770 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.17771 - need_version=no
1.17772 - need_lib_prefix=no
1.17773 - ;;
1.17774 - freebsd-*)
1.17775 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.17776 - need_version=yes
1.17777 - ;;
1.17778 - esac
1.17779 - shlibpath_var=LD_LIBRARY_PATH
1.17780 - case $host_os in
1.17781 - freebsd2*)
1.17782 - shlibpath_overrides_runpath=yes
1.17783 - ;;
1.17784 - freebsd3.01* | freebsdelf3.01*)
1.17785 - shlibpath_overrides_runpath=yes
1.17786 - hardcode_into_libs=yes
1.17787 - ;;
1.17788 - *) # from 3.2 on
1.17789 - shlibpath_overrides_runpath=no
1.17790 - hardcode_into_libs=yes
1.17791 - ;;
1.17792 - esac
1.17793 - ;;
1.17794 -
1.17795 -gnu*)
1.17796 - version_type=linux
1.17797 - need_lib_prefix=no
1.17798 - need_version=no
1.17799 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.17800 - soname_spec='${libname}${release}${shared_ext}$major'
1.17801 - shlibpath_var=LD_LIBRARY_PATH
1.17802 - hardcode_into_libs=yes
1.17803 - ;;
1.17804 -
1.17805 -hpux9* | hpux10* | hpux11*)
1.17806 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.17807 - # link against other versions.
1.17808 - version_type=sunos
1.17809 - need_lib_prefix=no
1.17810 - need_version=no
1.17811 - case "$host_cpu" in
1.17812 - ia64*)
1.17813 - shrext_cmds='.so'
1.17814 - hardcode_into_libs=yes
1.17815 - dynamic_linker="$host_os dld.so"
1.17816 - shlibpath_var=LD_LIBRARY_PATH
1.17817 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.17818 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17819 - soname_spec='${libname}${release}${shared_ext}$major'
1.17820 - if test "X$HPUX_IA64_MODE" = X32; then
1.17821 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.17822 - else
1.17823 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.17824 - fi
1.17825 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.17826 - ;;
1.17827 - hppa*64*)
1.17828 - shrext_cmds='.sl'
1.17829 - hardcode_into_libs=yes
1.17830 - dynamic_linker="$host_os dld.sl"
1.17831 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.17832 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.17833 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17834 - soname_spec='${libname}${release}${shared_ext}$major'
1.17835 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.17836 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.17837 - ;;
1.17838 - *)
1.17839 - shrext_cmds='.sl'
1.17840 - dynamic_linker="$host_os dld.sl"
1.17841 - shlibpath_var=SHLIB_PATH
1.17842 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.17843 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17844 - soname_spec='${libname}${release}${shared_ext}$major'
1.17845 - ;;
1.17846 - esac
1.17847 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.17848 - postinstall_cmds='chmod 555 $lib'
1.17849 - ;;
1.17850 -
1.17851 -irix5* | irix6* | nonstopux*)
1.17852 - case $host_os in
1.17853 - nonstopux*) version_type=nonstopux ;;
1.17854 - *)
1.17855 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.17856 - version_type=linux
1.17857 - else
1.17858 - version_type=irix
1.17859 - fi ;;
1.17860 - esac
1.17861 - need_lib_prefix=no
1.17862 - need_version=no
1.17863 - soname_spec='${libname}${release}${shared_ext}$major'
1.17864 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.17865 - case $host_os in
1.17866 - irix5* | nonstopux*)
1.17867 - libsuff= shlibsuff=
1.17868 - ;;
1.17869 - *)
1.17870 - case $LD in # libtool.m4 will add one of these switches to LD
1.17871 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.17872 - libsuff= shlibsuff= libmagic=32-bit;;
1.17873 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.17874 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.17875 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.17876 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.17877 - *) libsuff= shlibsuff= libmagic=never-match;;
1.17878 - esac
1.17879 - ;;
1.17880 - esac
1.17881 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.17882 - shlibpath_overrides_runpath=no
1.17883 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.17884 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.17885 - hardcode_into_libs=yes
1.17886 - ;;
1.17887 -
1.17888 -# No shared lib support for Linux oldld, aout, or coff.
1.17889 -linux*oldld* | linux*aout* | linux*coff*)
1.17890 - dynamic_linker=no
1.17891 - ;;
1.17892 -
1.17893 -# This must be Linux ELF.
1.17894 -linux*)
1.17895 - version_type=linux
1.17896 - need_lib_prefix=no
1.17897 - need_version=no
1.17898 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17899 - soname_spec='${libname}${release}${shared_ext}$major'
1.17900 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.17901 - shlibpath_var=LD_LIBRARY_PATH
1.17902 - shlibpath_overrides_runpath=no
1.17903 - # This implies no fast_install, which is unacceptable.
1.17904 - # Some rework will be needed to allow for fast_install
1.17905 - # before this can be enabled.
1.17906 - hardcode_into_libs=yes
1.17907 -
1.17908 - # Append ld.so.conf contents to the search path
1.17909 - if test -f /etc/ld.so.conf; then
1.17910 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
1.17911 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.17912 - fi
1.17913 -
1.17914 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.17915 - # powerpc, because MkLinux only supported shared libraries with the
1.17916 - # GNU dynamic linker. Since this was broken with cross compilers,
1.17917 - # most powerpc-linux boxes support dynamic linking these days and
1.17918 - # people can always --disable-shared, the test was removed, and we
1.17919 - # assume the GNU/Linux dynamic linker is in use.
1.17920 - dynamic_linker='GNU/Linux ld.so'
1.17921 - ;;
1.17922 -
1.17923 -netbsdelf*-gnu)
1.17924 - version_type=linux
1.17925 - need_lib_prefix=no
1.17926 - need_version=no
1.17927 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17928 - soname_spec='${libname}${release}${shared_ext}$major'
1.17929 - shlibpath_var=LD_LIBRARY_PATH
1.17930 - shlibpath_overrides_runpath=no
1.17931 - hardcode_into_libs=yes
1.17932 - dynamic_linker='NetBSD ld.elf_so'
1.17933 - ;;
1.17934 -
1.17935 -knetbsd*-gnu)
1.17936 - version_type=linux
1.17937 - need_lib_prefix=no
1.17938 - need_version=no
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 - shlibpath_var=LD_LIBRARY_PATH
1.17942 - shlibpath_overrides_runpath=no
1.17943 - hardcode_into_libs=yes
1.17944 - dynamic_linker='GNU ld.so'
1.17945 - ;;
1.17946 -
1.17947 -netbsd*)
1.17948 - version_type=sunos
1.17949 - need_lib_prefix=no
1.17950 - need_version=no
1.17951 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.17952 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.17953 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.17954 - dynamic_linker='NetBSD (a.out) ld.so'
1.17955 - else
1.17956 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17957 - soname_spec='${libname}${release}${shared_ext}$major'
1.17958 - dynamic_linker='NetBSD ld.elf_so'
1.17959 - fi
1.17960 - shlibpath_var=LD_LIBRARY_PATH
1.17961 - shlibpath_overrides_runpath=yes
1.17962 - hardcode_into_libs=yes
1.17963 - ;;
1.17964 -
1.17965 -newsos6)
1.17966 - version_type=linux
1.17967 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17968 - shlibpath_var=LD_LIBRARY_PATH
1.17969 - shlibpath_overrides_runpath=yes
1.17970 - ;;
1.17971 -
1.17972 -nto-qnx*)
1.17973 - version_type=linux
1.17974 - need_lib_prefix=no
1.17975 - need_version=no
1.17976 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17977 - soname_spec='${libname}${release}${shared_ext}$major'
1.17978 - shlibpath_var=LD_LIBRARY_PATH
1.17979 - shlibpath_overrides_runpath=yes
1.17980 - ;;
1.17981 -
1.17982 -openbsd*)
1.17983 - version_type=sunos
1.17984 - need_lib_prefix=no
1.17985 - need_version=yes
1.17986 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.17987 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.17988 - shlibpath_var=LD_LIBRARY_PATH
1.17989 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.17990 - case $host_os in
1.17991 - openbsd2.[89] | openbsd2.[89].*)
1.17992 - shlibpath_overrides_runpath=no
1.17993 - ;;
1.17994 - *)
1.17995 - shlibpath_overrides_runpath=yes
1.17996 - ;;
1.17997 - esac
1.17998 - else
1.17999 - shlibpath_overrides_runpath=yes
1.18000 - fi
1.18001 - ;;
1.18002 -
1.18003 -os2*)
1.18004 - libname_spec='$name'
1.18005 - shrext_cmds=".dll"
1.18006 - need_lib_prefix=no
1.18007 - library_names_spec='$libname${shared_ext} $libname.a'
1.18008 - dynamic_linker='OS/2 ld.exe'
1.18009 - shlibpath_var=LIBPATH
1.18010 - ;;
1.18011 -
1.18012 -osf3* | osf4* | osf5*)
1.18013 - version_type=osf
1.18014 - need_lib_prefix=no
1.18015 - need_version=no
1.18016 - soname_spec='${libname}${release}${shared_ext}$major'
1.18017 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18018 - shlibpath_var=LD_LIBRARY_PATH
1.18019 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.18020 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.18021 - ;;
1.18022 -
1.18023 -sco3.2v5*)
1.18024 - version_type=osf
1.18025 - soname_spec='${libname}${release}${shared_ext}$major'
1.18026 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18027 - shlibpath_var=LD_LIBRARY_PATH
1.18028 - ;;
1.18029 -
1.18030 -solaris*)
1.18031 - version_type=linux
1.18032 - need_lib_prefix=no
1.18033 - need_version=no
1.18034 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18035 - soname_spec='${libname}${release}${shared_ext}$major'
1.18036 - shlibpath_var=LD_LIBRARY_PATH
1.18037 - shlibpath_overrides_runpath=yes
1.18038 - hardcode_into_libs=yes
1.18039 - # ldd complains unless libraries are executable
1.18040 - postinstall_cmds='chmod +x $lib'
1.18041 - ;;
1.18042 -
1.18043 -sunos4*)
1.18044 - version_type=sunos
1.18045 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.18046 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.18047 - shlibpath_var=LD_LIBRARY_PATH
1.18048 - shlibpath_overrides_runpath=yes
1.18049 - if test "$with_gnu_ld" = yes; then
1.18050 - need_lib_prefix=no
1.18051 - fi
1.18052 - need_version=yes
1.18053 - ;;
1.18054 -
1.18055 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.18056 - version_type=linux
1.18057 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18058 - soname_spec='${libname}${release}${shared_ext}$major'
1.18059 - shlibpath_var=LD_LIBRARY_PATH
1.18060 - case $host_vendor in
1.18061 - sni)
1.18062 - shlibpath_overrides_runpath=no
1.18063 - need_lib_prefix=no
1.18064 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.18065 - runpath_var=LD_RUN_PATH
1.18066 - ;;
1.18067 - siemens)
1.18068 - need_lib_prefix=no
1.18069 - ;;
1.18070 - motorola)
1.18071 - need_lib_prefix=no
1.18072 - need_version=no
1.18073 - shlibpath_overrides_runpath=no
1.18074 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.18075 - ;;
1.18076 - esac
1.18077 - ;;
1.18078 -
1.18079 -sysv4*MP*)
1.18080 - if test -d /usr/nec ;then
1.18081 - version_type=linux
1.18082 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.18083 - soname_spec='$libname${shared_ext}.$major'
1.18084 - shlibpath_var=LD_LIBRARY_PATH
1.18085 - fi
1.18086 - ;;
1.18087 -
1.18088 -uts4*)
1.18089 - version_type=linux
1.18090 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.18091 - soname_spec='${libname}${release}${shared_ext}$major'
1.18092 - shlibpath_var=LD_LIBRARY_PATH
1.18093 - ;;
1.18094 -
1.18095 -*)
1.18096 - dynamic_linker=no
1.18097 - ;;
1.18098 -esac
1.18099 -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.18100 -echo "${ECHO_T}$dynamic_linker" >&6; }
1.18101 -test "$dynamic_linker" = no && can_build_shared=no
1.18102 -
1.18103 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.18104 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1.18105 -hardcode_action_GCJ=
1.18106 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1.18107 - test -n "$runpath_var GCJ" || \
1.18108 - test "X$hardcode_automatic_GCJ"="Xyes" ; then
1.18109 -
1.18110 - # We can hardcode non-existant directories.
1.18111 - if test "$hardcode_direct_GCJ" != no &&
1.18112 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.18113 - # have to relink, otherwise we might link with an installed library
1.18114 - # when we should be linking with a yet-to-be-installed one
1.18115 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
1.18116 - test "$hardcode_minus_L_GCJ" != no; then
1.18117 - # Linking always hardcodes the temporary library directory.
1.18118 - hardcode_action_GCJ=relink
1.18119 - else
1.18120 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.18121 - hardcode_action_GCJ=immediate
1.18122 - fi
1.18123 -else
1.18124 - # We cannot hardcode anything, or else we can only hardcode existing
1.18125 - # directories.
1.18126 - hardcode_action_GCJ=unsupported
1.18127 -fi
1.18128 -{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
1.18129 -echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
1.18130 -
1.18131 -if test "$hardcode_action_GCJ" = relink; then
1.18132 - # Fast installation is not supported
1.18133 - enable_fast_install=no
1.18134 -elif test "$shlibpath_overrides_runpath" = yes ||
1.18135 - test "$enable_shared" = no; then
1.18136 - # Fast installation is not necessary
1.18137 - enable_fast_install=needless
1.18138 -fi
1.18139 -
1.18140 -striplib=
1.18141 -old_striplib=
1.18142 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.18143 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
1.18144 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.18145 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.18146 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.18147 - { echo "$as_me:$LINENO: result: yes" >&5
1.18148 -echo "${ECHO_T}yes" >&6; }
1.18149 -else
1.18150 -# FIXME - insert some real tests, host_os isn't really good enough
1.18151 - case $host_os in
1.18152 - darwin*)
1.18153 - if test -n "$STRIP" ; then
1.18154 - striplib="$STRIP -x"
1.18155 - { echo "$as_me:$LINENO: result: yes" >&5
1.18156 -echo "${ECHO_T}yes" >&6; }
1.18157 - else
1.18158 - { echo "$as_me:$LINENO: result: no" >&5
1.18159 -echo "${ECHO_T}no" >&6; }
1.18160 -fi
1.18161 - ;;
1.18162 - *)
1.18163 - { echo "$as_me:$LINENO: result: no" >&5
1.18164 -echo "${ECHO_T}no" >&6; }
1.18165 - ;;
1.18166 - esac
1.18167 -fi
1.18168 -
1.18169 -if test "x$enable_dlopen" != xyes; then
1.18170 - enable_dlopen=unknown
1.18171 - enable_dlopen_self=unknown
1.18172 - enable_dlopen_self_static=unknown
1.18173 -else
1.18174 - lt_cv_dlopen=no
1.18175 - lt_cv_dlopen_libs=
1.18176 -
1.18177 - case $host_os in
1.18178 - beos*)
1.18179 - lt_cv_dlopen="load_add_on"
1.18180 - lt_cv_dlopen_libs=
1.18181 - lt_cv_dlopen_self=yes
1.18182 - ;;
1.18183 -
1.18184 - mingw* | pw32*)
1.18185 - lt_cv_dlopen="LoadLibrary"
1.18186 - lt_cv_dlopen_libs=
1.18187 - ;;
1.18188 -
1.18189 - cygwin*)
1.18190 - lt_cv_dlopen="dlopen"
1.18191 - lt_cv_dlopen_libs=
1.18192 - ;;
1.18193 -
1.18194 - darwin*)
1.18195 - # if libdl is installed we need to link against it
1.18196 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.18197 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.18198 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.18199 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18200 -else
1.18201 - ac_check_lib_save_LIBS=$LIBS
1.18202 -LIBS="-ldl $LIBS"
1.18203 -cat >conftest.$ac_ext <<_ACEOF
1.18204 -/* confdefs.h. */
1.18205 -_ACEOF
1.18206 -cat confdefs.h >>conftest.$ac_ext
1.18207 -cat >>conftest.$ac_ext <<_ACEOF
1.18208 -/* end confdefs.h. */
1.18209 -
1.18210 -/* Override any GCC internal prototype to avoid an error.
1.18211 - Use char because int might match the return type of a GCC
1.18212 - builtin and then its argument prototype would still apply. */
1.18213 -#ifdef __cplusplus
1.18214 -extern "C"
1.18215 -#endif
1.18216 -char dlopen ();
1.18217 -int
1.18218 -main ()
1.18219 -{
1.18220 -return dlopen ();
1.18221 - ;
1.18222 - return 0;
1.18223 -}
1.18224 -_ACEOF
1.18225 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18226 -if { (ac_try="$ac_link"
1.18227 -case "(($ac_try" in
1.18228 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18229 - *) ac_try_echo=$ac_try;;
1.18230 -esac
1.18231 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18232 - (eval "$ac_link") 2>conftest.er1
1.18233 - ac_status=$?
1.18234 - grep -v '^ *+' conftest.er1 >conftest.err
1.18235 - rm -f conftest.er1
1.18236 - cat conftest.err >&5
1.18237 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18238 - (exit $ac_status); } && {
1.18239 - test -z "$ac_c_werror_flag" ||
1.18240 - test ! -s conftest.err
1.18241 - } && test -s conftest$ac_exeext &&
1.18242 - $as_test_x conftest$ac_exeext; then
1.18243 - ac_cv_lib_dl_dlopen=yes
1.18244 -else
1.18245 - echo "$as_me: failed program was:" >&5
1.18246 -sed 's/^/| /' conftest.$ac_ext >&5
1.18247 -
1.18248 - ac_cv_lib_dl_dlopen=no
1.18249 -fi
1.18250 -
1.18251 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18252 - conftest$ac_exeext conftest.$ac_ext
1.18253 -LIBS=$ac_check_lib_save_LIBS
1.18254 -fi
1.18255 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.18256 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.18257 -if test $ac_cv_lib_dl_dlopen = yes; then
1.18258 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.18259 -else
1.18260 -
1.18261 - lt_cv_dlopen="dyld"
1.18262 - lt_cv_dlopen_libs=
1.18263 - lt_cv_dlopen_self=yes
1.18264 -
1.18265 -fi
1.18266 -
1.18267 - ;;
1.18268 -
1.18269 - *)
1.18270 - { echo "$as_me:$LINENO: checking for shl_load" >&5
1.18271 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
1.18272 -if test "${ac_cv_func_shl_load+set}" = set; then
1.18273 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18274 -else
1.18275 - cat >conftest.$ac_ext <<_ACEOF
1.18276 -/* confdefs.h. */
1.18277 -_ACEOF
1.18278 -cat confdefs.h >>conftest.$ac_ext
1.18279 -cat >>conftest.$ac_ext <<_ACEOF
1.18280 -/* end confdefs.h. */
1.18281 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.18282 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.18283 -#define shl_load innocuous_shl_load
1.18284 -
1.18285 -/* System header to define __stub macros and hopefully few prototypes,
1.18286 - which can conflict with char shl_load (); below.
1.18287 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.18288 - <limits.h> exists even on freestanding compilers. */
1.18289 -
1.18290 -#ifdef __STDC__
1.18291 -# include <limits.h>
1.18292 -#else
1.18293 -# include <assert.h>
1.18294 -#endif
1.18295 -
1.18296 -#undef shl_load
1.18297 -
1.18298 -/* Override any GCC internal prototype to avoid an error.
1.18299 - Use char because int might match the return type of a GCC
1.18300 - builtin and then its argument prototype would still apply. */
1.18301 -#ifdef __cplusplus
1.18302 -extern "C"
1.18303 -#endif
1.18304 -char shl_load ();
1.18305 -/* The GNU C library defines this for functions which it implements
1.18306 - to always fail with ENOSYS. Some functions are actually named
1.18307 - something starting with __ and the normal name is an alias. */
1.18308 -#if defined __stub_shl_load || defined __stub___shl_load
1.18309 -choke me
1.18310 -#endif
1.18311 -
1.18312 -int
1.18313 -main ()
1.18314 -{
1.18315 -return shl_load ();
1.18316 - ;
1.18317 - return 0;
1.18318 -}
1.18319 -_ACEOF
1.18320 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18321 -if { (ac_try="$ac_link"
1.18322 -case "(($ac_try" in
1.18323 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18324 - *) ac_try_echo=$ac_try;;
1.18325 -esac
1.18326 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18327 - (eval "$ac_link") 2>conftest.er1
1.18328 - ac_status=$?
1.18329 - grep -v '^ *+' conftest.er1 >conftest.err
1.18330 - rm -f conftest.er1
1.18331 - cat conftest.err >&5
1.18332 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18333 - (exit $ac_status); } && {
1.18334 - test -z "$ac_c_werror_flag" ||
1.18335 - test ! -s conftest.err
1.18336 - } && test -s conftest$ac_exeext &&
1.18337 - $as_test_x conftest$ac_exeext; then
1.18338 - ac_cv_func_shl_load=yes
1.18339 -else
1.18340 - echo "$as_me: failed program was:" >&5
1.18341 -sed 's/^/| /' conftest.$ac_ext >&5
1.18342 -
1.18343 - ac_cv_func_shl_load=no
1.18344 -fi
1.18345 -
1.18346 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18347 - conftest$ac_exeext conftest.$ac_ext
1.18348 -fi
1.18349 -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.18350 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
1.18351 -if test $ac_cv_func_shl_load = yes; then
1.18352 - lt_cv_dlopen="shl_load"
1.18353 -else
1.18354 - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.18355 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
1.18356 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.18357 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18358 -else
1.18359 - ac_check_lib_save_LIBS=$LIBS
1.18360 -LIBS="-ldld $LIBS"
1.18361 -cat >conftest.$ac_ext <<_ACEOF
1.18362 -/* confdefs.h. */
1.18363 -_ACEOF
1.18364 -cat confdefs.h >>conftest.$ac_ext
1.18365 -cat >>conftest.$ac_ext <<_ACEOF
1.18366 -/* end confdefs.h. */
1.18367 -
1.18368 -/* Override any GCC internal prototype to avoid an error.
1.18369 - Use char because int might match the return type of a GCC
1.18370 - builtin and then its argument prototype would still apply. */
1.18371 -#ifdef __cplusplus
1.18372 -extern "C"
1.18373 -#endif
1.18374 -char shl_load ();
1.18375 -int
1.18376 -main ()
1.18377 -{
1.18378 -return shl_load ();
1.18379 - ;
1.18380 - return 0;
1.18381 -}
1.18382 -_ACEOF
1.18383 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18384 -if { (ac_try="$ac_link"
1.18385 -case "(($ac_try" in
1.18386 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18387 - *) ac_try_echo=$ac_try;;
1.18388 -esac
1.18389 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18390 - (eval "$ac_link") 2>conftest.er1
1.18391 - ac_status=$?
1.18392 - grep -v '^ *+' conftest.er1 >conftest.err
1.18393 - rm -f conftest.er1
1.18394 - cat conftest.err >&5
1.18395 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18396 - (exit $ac_status); } && {
1.18397 - test -z "$ac_c_werror_flag" ||
1.18398 - test ! -s conftest.err
1.18399 - } && test -s conftest$ac_exeext &&
1.18400 - $as_test_x conftest$ac_exeext; then
1.18401 - ac_cv_lib_dld_shl_load=yes
1.18402 -else
1.18403 - echo "$as_me: failed program was:" >&5
1.18404 -sed 's/^/| /' conftest.$ac_ext >&5
1.18405 -
1.18406 - ac_cv_lib_dld_shl_load=no
1.18407 -fi
1.18408 -
1.18409 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18410 - conftest$ac_exeext conftest.$ac_ext
1.18411 -LIBS=$ac_check_lib_save_LIBS
1.18412 -fi
1.18413 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.18414 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
1.18415 -if test $ac_cv_lib_dld_shl_load = yes; then
1.18416 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.18417 -else
1.18418 - { echo "$as_me:$LINENO: checking for dlopen" >&5
1.18419 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
1.18420 -if test "${ac_cv_func_dlopen+set}" = set; then
1.18421 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18422 -else
1.18423 - cat >conftest.$ac_ext <<_ACEOF
1.18424 -/* confdefs.h. */
1.18425 -_ACEOF
1.18426 -cat confdefs.h >>conftest.$ac_ext
1.18427 -cat >>conftest.$ac_ext <<_ACEOF
1.18428 -/* end confdefs.h. */
1.18429 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.18430 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.18431 -#define dlopen innocuous_dlopen
1.18432 -
1.18433 -/* System header to define __stub macros and hopefully few prototypes,
1.18434 - which can conflict with char dlopen (); below.
1.18435 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.18436 - <limits.h> exists even on freestanding compilers. */
1.18437 -
1.18438 -#ifdef __STDC__
1.18439 -# include <limits.h>
1.18440 -#else
1.18441 -# include <assert.h>
1.18442 -#endif
1.18443 -
1.18444 -#undef dlopen
1.18445 -
1.18446 -/* Override any GCC internal prototype to avoid an error.
1.18447 - Use char because int might match the return type of a GCC
1.18448 - builtin and then its argument prototype would still apply. */
1.18449 -#ifdef __cplusplus
1.18450 -extern "C"
1.18451 -#endif
1.18452 -char dlopen ();
1.18453 -/* The GNU C library defines this for functions which it implements
1.18454 - to always fail with ENOSYS. Some functions are actually named
1.18455 - something starting with __ and the normal name is an alias. */
1.18456 -#if defined __stub_dlopen || defined __stub___dlopen
1.18457 -choke me
1.18458 -#endif
1.18459 -
1.18460 -int
1.18461 -main ()
1.18462 -{
1.18463 -return dlopen ();
1.18464 - ;
1.18465 - return 0;
1.18466 -}
1.18467 -_ACEOF
1.18468 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18469 -if { (ac_try="$ac_link"
1.18470 -case "(($ac_try" in
1.18471 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18472 - *) ac_try_echo=$ac_try;;
1.18473 -esac
1.18474 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18475 - (eval "$ac_link") 2>conftest.er1
1.18476 - ac_status=$?
1.18477 - grep -v '^ *+' conftest.er1 >conftest.err
1.18478 - rm -f conftest.er1
1.18479 - cat conftest.err >&5
1.18480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18481 - (exit $ac_status); } && {
1.18482 - test -z "$ac_c_werror_flag" ||
1.18483 - test ! -s conftest.err
1.18484 - } && test -s conftest$ac_exeext &&
1.18485 - $as_test_x conftest$ac_exeext; then
1.18486 - ac_cv_func_dlopen=yes
1.18487 -else
1.18488 - echo "$as_me: failed program was:" >&5
1.18489 -sed 's/^/| /' conftest.$ac_ext >&5
1.18490 -
1.18491 - ac_cv_func_dlopen=no
1.18492 -fi
1.18493 -
1.18494 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18495 - conftest$ac_exeext conftest.$ac_ext
1.18496 -fi
1.18497 -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.18498 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
1.18499 -if test $ac_cv_func_dlopen = yes; then
1.18500 - lt_cv_dlopen="dlopen"
1.18501 -else
1.18502 - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.18503 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
1.18504 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.18505 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18506 -else
1.18507 - ac_check_lib_save_LIBS=$LIBS
1.18508 -LIBS="-ldl $LIBS"
1.18509 -cat >conftest.$ac_ext <<_ACEOF
1.18510 -/* confdefs.h. */
1.18511 -_ACEOF
1.18512 -cat confdefs.h >>conftest.$ac_ext
1.18513 -cat >>conftest.$ac_ext <<_ACEOF
1.18514 -/* end confdefs.h. */
1.18515 -
1.18516 -/* Override any GCC internal prototype to avoid an error.
1.18517 - Use char because int might match the return type of a GCC
1.18518 - builtin and then its argument prototype would still apply. */
1.18519 -#ifdef __cplusplus
1.18520 -extern "C"
1.18521 -#endif
1.18522 -char dlopen ();
1.18523 -int
1.18524 -main ()
1.18525 -{
1.18526 -return dlopen ();
1.18527 - ;
1.18528 - return 0;
1.18529 -}
1.18530 -_ACEOF
1.18531 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18532 -if { (ac_try="$ac_link"
1.18533 -case "(($ac_try" in
1.18534 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18535 - *) ac_try_echo=$ac_try;;
1.18536 -esac
1.18537 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18538 - (eval "$ac_link") 2>conftest.er1
1.18539 - ac_status=$?
1.18540 - grep -v '^ *+' conftest.er1 >conftest.err
1.18541 - rm -f conftest.er1
1.18542 - cat conftest.err >&5
1.18543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18544 - (exit $ac_status); } && {
1.18545 - test -z "$ac_c_werror_flag" ||
1.18546 - test ! -s conftest.err
1.18547 - } && test -s conftest$ac_exeext &&
1.18548 - $as_test_x conftest$ac_exeext; then
1.18549 - ac_cv_lib_dl_dlopen=yes
1.18550 -else
1.18551 - echo "$as_me: failed program was:" >&5
1.18552 -sed 's/^/| /' conftest.$ac_ext >&5
1.18553 -
1.18554 - ac_cv_lib_dl_dlopen=no
1.18555 -fi
1.18556 -
1.18557 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18558 - conftest$ac_exeext conftest.$ac_ext
1.18559 -LIBS=$ac_check_lib_save_LIBS
1.18560 -fi
1.18561 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.18562 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
1.18563 -if test $ac_cv_lib_dl_dlopen = yes; then
1.18564 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.18565 -else
1.18566 - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.18567 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
1.18568 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.18569 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18570 -else
1.18571 - ac_check_lib_save_LIBS=$LIBS
1.18572 -LIBS="-lsvld $LIBS"
1.18573 -cat >conftest.$ac_ext <<_ACEOF
1.18574 -/* confdefs.h. */
1.18575 -_ACEOF
1.18576 -cat confdefs.h >>conftest.$ac_ext
1.18577 -cat >>conftest.$ac_ext <<_ACEOF
1.18578 -/* end confdefs.h. */
1.18579 -
1.18580 -/* Override any GCC internal prototype to avoid an error.
1.18581 - Use char because int might match the return type of a GCC
1.18582 - builtin and then its argument prototype would still apply. */
1.18583 -#ifdef __cplusplus
1.18584 -extern "C"
1.18585 -#endif
1.18586 -char dlopen ();
1.18587 -int
1.18588 -main ()
1.18589 -{
1.18590 -return dlopen ();
1.18591 - ;
1.18592 - return 0;
1.18593 -}
1.18594 -_ACEOF
1.18595 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18596 -if { (ac_try="$ac_link"
1.18597 -case "(($ac_try" in
1.18598 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18599 - *) ac_try_echo=$ac_try;;
1.18600 -esac
1.18601 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18602 - (eval "$ac_link") 2>conftest.er1
1.18603 - ac_status=$?
1.18604 - grep -v '^ *+' conftest.er1 >conftest.err
1.18605 - rm -f conftest.er1
1.18606 - cat conftest.err >&5
1.18607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18608 - (exit $ac_status); } && {
1.18609 - test -z "$ac_c_werror_flag" ||
1.18610 - test ! -s conftest.err
1.18611 - } && test -s conftest$ac_exeext &&
1.18612 - $as_test_x conftest$ac_exeext; then
1.18613 - ac_cv_lib_svld_dlopen=yes
1.18614 -else
1.18615 - echo "$as_me: failed program was:" >&5
1.18616 -sed 's/^/| /' conftest.$ac_ext >&5
1.18617 -
1.18618 - ac_cv_lib_svld_dlopen=no
1.18619 -fi
1.18620 -
1.18621 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18622 - conftest$ac_exeext conftest.$ac_ext
1.18623 -LIBS=$ac_check_lib_save_LIBS
1.18624 -fi
1.18625 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.18626 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
1.18627 -if test $ac_cv_lib_svld_dlopen = yes; then
1.18628 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.18629 -else
1.18630 - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.18631 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
1.18632 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.18633 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18634 -else
1.18635 - ac_check_lib_save_LIBS=$LIBS
1.18636 -LIBS="-ldld $LIBS"
1.18637 -cat >conftest.$ac_ext <<_ACEOF
1.18638 -/* confdefs.h. */
1.18639 -_ACEOF
1.18640 -cat confdefs.h >>conftest.$ac_ext
1.18641 -cat >>conftest.$ac_ext <<_ACEOF
1.18642 -/* end confdefs.h. */
1.18643 -
1.18644 -/* Override any GCC internal prototype to avoid an error.
1.18645 - Use char because int might match the return type of a GCC
1.18646 - builtin and then its argument prototype would still apply. */
1.18647 -#ifdef __cplusplus
1.18648 -extern "C"
1.18649 -#endif
1.18650 -char dld_link ();
1.18651 -int
1.18652 -main ()
1.18653 -{
1.18654 -return dld_link ();
1.18655 - ;
1.18656 - return 0;
1.18657 -}
1.18658 -_ACEOF
1.18659 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18660 -if { (ac_try="$ac_link"
1.18661 -case "(($ac_try" in
1.18662 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.18663 - *) ac_try_echo=$ac_try;;
1.18664 -esac
1.18665 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.18666 - (eval "$ac_link") 2>conftest.er1
1.18667 - ac_status=$?
1.18668 - grep -v '^ *+' conftest.er1 >conftest.err
1.18669 - rm -f conftest.er1
1.18670 - cat conftest.err >&5
1.18671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18672 - (exit $ac_status); } && {
1.18673 - test -z "$ac_c_werror_flag" ||
1.18674 - test ! -s conftest.err
1.18675 - } && test -s conftest$ac_exeext &&
1.18676 - $as_test_x conftest$ac_exeext; then
1.18677 - ac_cv_lib_dld_dld_link=yes
1.18678 -else
1.18679 - echo "$as_me: failed program was:" >&5
1.18680 -sed 's/^/| /' conftest.$ac_ext >&5
1.18681 -
1.18682 - ac_cv_lib_dld_dld_link=no
1.18683 -fi
1.18684 -
1.18685 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.18686 - conftest$ac_exeext conftest.$ac_ext
1.18687 -LIBS=$ac_check_lib_save_LIBS
1.18688 -fi
1.18689 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.18690 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
1.18691 -if test $ac_cv_lib_dld_dld_link = yes; then
1.18692 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.18693 -fi
1.18694 -
1.18695 -
1.18696 -fi
1.18697 -
1.18698 -
1.18699 -fi
1.18700 -
1.18701 -
1.18702 -fi
1.18703 -
1.18704 -
1.18705 -fi
1.18706 -
1.18707 -
1.18708 -fi
1.18709 -
1.18710 - ;;
1.18711 - esac
1.18712 -
1.18713 - if test "x$lt_cv_dlopen" != xno; then
1.18714 - enable_dlopen=yes
1.18715 - else
1.18716 - enable_dlopen=no
1.18717 - fi
1.18718 -
1.18719 - case $lt_cv_dlopen in
1.18720 - dlopen)
1.18721 - save_CPPFLAGS="$CPPFLAGS"
1.18722 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.18723 -
1.18724 - save_LDFLAGS="$LDFLAGS"
1.18725 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.18726 -
1.18727 - save_LIBS="$LIBS"
1.18728 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.18729 -
1.18730 - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.18731 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
1.18732 -if test "${lt_cv_dlopen_self+set}" = set; then
1.18733 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18734 -else
1.18735 - if test "$cross_compiling" = yes; then :
1.18736 - lt_cv_dlopen_self=cross
1.18737 -else
1.18738 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.18739 - lt_status=$lt_dlunknown
1.18740 - cat > conftest.$ac_ext <<EOF
1.18741 -#line __oline__ "configure"
1.18742 -#include "confdefs.h"
1.18743 -
1.18744 -#if HAVE_DLFCN_H
1.18745 -#include <dlfcn.h>
1.18746 -#endif
1.18747 -
1.18748 -#include <stdio.h>
1.18749 -
1.18750 -#ifdef RTLD_GLOBAL
1.18751 -# define LT_DLGLOBAL RTLD_GLOBAL
1.18752 -#else
1.18753 -# ifdef DL_GLOBAL
1.18754 -# define LT_DLGLOBAL DL_GLOBAL
1.18755 -# else
1.18756 -# define LT_DLGLOBAL 0
1.18757 -# endif
1.18758 -#endif
1.18759 -
1.18760 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.18761 - find out it does not work in some platform. */
1.18762 -#ifndef LT_DLLAZY_OR_NOW
1.18763 -# ifdef RTLD_LAZY
1.18764 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.18765 -# else
1.18766 -# ifdef DL_LAZY
1.18767 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.18768 -# else
1.18769 -# ifdef RTLD_NOW
1.18770 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.18771 -# else
1.18772 -# ifdef DL_NOW
1.18773 -# define LT_DLLAZY_OR_NOW DL_NOW
1.18774 -# else
1.18775 -# define LT_DLLAZY_OR_NOW 0
1.18776 -# endif
1.18777 -# endif
1.18778 -# endif
1.18779 -# endif
1.18780 -#endif
1.18781 -
1.18782 -#ifdef __cplusplus
1.18783 -extern "C" void exit (int);
1.18784 -#endif
1.18785 -
1.18786 -void fnord() { int i=42;}
1.18787 -int main ()
1.18788 -{
1.18789 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.18790 - int status = $lt_dlunknown;
1.18791 -
1.18792 - if (self)
1.18793 - {
1.18794 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.18795 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.18796 - /* dlclose (self); */
1.18797 - }
1.18798 -
1.18799 - exit (status);
1.18800 -}
1.18801 -EOF
1.18802 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18803 - (eval $ac_link) 2>&5
1.18804 - ac_status=$?
1.18805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18806 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.18807 - (./conftest; exit; ) 2>/dev/null
1.18808 - lt_status=$?
1.18809 - case x$lt_status in
1.18810 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.18811 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.18812 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.18813 - esac
1.18814 - else :
1.18815 - # compilation failed
1.18816 - lt_cv_dlopen_self=no
1.18817 - fi
1.18818 -fi
1.18819 -rm -fr conftest*
1.18820 -
1.18821 -
1.18822 -fi
1.18823 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.18824 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
1.18825 -
1.18826 - if test "x$lt_cv_dlopen_self" = xyes; then
1.18827 - LDFLAGS="$LDFLAGS $link_static_flag"
1.18828 - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.18829 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
1.18830 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.18831 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18832 -else
1.18833 - if test "$cross_compiling" = yes; then :
1.18834 - lt_cv_dlopen_self_static=cross
1.18835 -else
1.18836 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.18837 - lt_status=$lt_dlunknown
1.18838 - cat > conftest.$ac_ext <<EOF
1.18839 -#line __oline__ "configure"
1.18840 -#include "confdefs.h"
1.18841 -
1.18842 -#if HAVE_DLFCN_H
1.18843 -#include <dlfcn.h>
1.18844 -#endif
1.18845 -
1.18846 -#include <stdio.h>
1.18847 -
1.18848 -#ifdef RTLD_GLOBAL
1.18849 -# define LT_DLGLOBAL RTLD_GLOBAL
1.18850 -#else
1.18851 -# ifdef DL_GLOBAL
1.18852 -# define LT_DLGLOBAL DL_GLOBAL
1.18853 -# else
1.18854 -# define LT_DLGLOBAL 0
1.18855 -# endif
1.18856 -#endif
1.18857 -
1.18858 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.18859 - find out it does not work in some platform. */
1.18860 -#ifndef LT_DLLAZY_OR_NOW
1.18861 -# ifdef RTLD_LAZY
1.18862 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.18863 -# else
1.18864 -# ifdef DL_LAZY
1.18865 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.18866 -# else
1.18867 -# ifdef RTLD_NOW
1.18868 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.18869 -# else
1.18870 -# ifdef DL_NOW
1.18871 -# define LT_DLLAZY_OR_NOW DL_NOW
1.18872 -# else
1.18873 -# define LT_DLLAZY_OR_NOW 0
1.18874 -# endif
1.18875 -# endif
1.18876 -# endif
1.18877 -# endif
1.18878 -#endif
1.18879 -
1.18880 -#ifdef __cplusplus
1.18881 -extern "C" void exit (int);
1.18882 -#endif
1.18883 -
1.18884 -void fnord() { int i=42;}
1.18885 -int main ()
1.18886 -{
1.18887 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.18888 - int status = $lt_dlunknown;
1.18889 -
1.18890 - if (self)
1.18891 - {
1.18892 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.18893 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.18894 - /* dlclose (self); */
1.18895 - }
1.18896 -
1.18897 - exit (status);
1.18898 -}
1.18899 -EOF
1.18900 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18901 - (eval $ac_link) 2>&5
1.18902 - ac_status=$?
1.18903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18904 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.18905 - (./conftest; exit; ) 2>/dev/null
1.18906 - lt_status=$?
1.18907 - case x$lt_status in
1.18908 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.18909 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.18910 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.18911 - esac
1.18912 - else :
1.18913 - # compilation failed
1.18914 - lt_cv_dlopen_self_static=no
1.18915 - fi
1.18916 -fi
1.18917 -rm -fr conftest*
1.18918 -
1.18919 -
1.18920 -fi
1.18921 -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.18922 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
1.18923 - fi
1.18924 -
1.18925 - CPPFLAGS="$save_CPPFLAGS"
1.18926 - LDFLAGS="$save_LDFLAGS"
1.18927 - LIBS="$save_LIBS"
1.18928 - ;;
1.18929 - esac
1.18930 -
1.18931 - case $lt_cv_dlopen_self in
1.18932 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.18933 - *) enable_dlopen_self=unknown ;;
1.18934 - esac
1.18935 -
1.18936 - case $lt_cv_dlopen_self_static in
1.18937 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.18938 - *) enable_dlopen_self_static=unknown ;;
1.18939 - esac
1.18940 -fi
1.18941 -
1.18942 -
1.18943 -# The else clause should only fire when bootstrapping the
1.18944 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.18945 -# with your package, and you will get complaints that there are
1.18946 -# no rules to generate ltmain.sh.
1.18947 -if test -f "$ltmain"; then
1.18948 - # See if we are running on zsh, and set the options which allow our commands through
1.18949 - # without removal of \ escapes.
1.18950 - if test -n "${ZSH_VERSION+set}" ; then
1.18951 - setopt NO_GLOB_SUBST
1.18952 - fi
1.18953 - # Now quote all the things that may contain metacharacters while being
1.18954 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.18955 - # variables and quote the copies for generation of the libtool script.
1.18956 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.18957 - SED SHELL STRIP \
1.18958 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.18959 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.18960 - deplibs_check_method reload_flag reload_cmds need_locks \
1.18961 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.18962 - lt_cv_sys_global_symbol_to_c_name_address \
1.18963 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.18964 - old_postinstall_cmds old_postuninstall_cmds \
1.18965 - compiler_GCJ \
1.18966 - CC_GCJ \
1.18967 - LD_GCJ \
1.18968 - lt_prog_compiler_wl_GCJ \
1.18969 - lt_prog_compiler_pic_GCJ \
1.18970 - lt_prog_compiler_static_GCJ \
1.18971 - lt_prog_compiler_no_builtin_flag_GCJ \
1.18972 - export_dynamic_flag_spec_GCJ \
1.18973 - thread_safe_flag_spec_GCJ \
1.18974 - whole_archive_flag_spec_GCJ \
1.18975 - enable_shared_with_static_runtimes_GCJ \
1.18976 - old_archive_cmds_GCJ \
1.18977 - old_archive_from_new_cmds_GCJ \
1.18978 - predep_objects_GCJ \
1.18979 - postdep_objects_GCJ \
1.18980 - predeps_GCJ \
1.18981 - postdeps_GCJ \
1.18982 - compiler_lib_search_path_GCJ \
1.18983 - archive_cmds_GCJ \
1.18984 - archive_expsym_cmds_GCJ \
1.18985 - postinstall_cmds_GCJ \
1.18986 - postuninstall_cmds_GCJ \
1.18987 - old_archive_from_expsyms_cmds_GCJ \
1.18988 - allow_undefined_flag_GCJ \
1.18989 - no_undefined_flag_GCJ \
1.18990 - export_symbols_cmds_GCJ \
1.18991 - hardcode_libdir_flag_spec_GCJ \
1.18992 - hardcode_libdir_flag_spec_ld_GCJ \
1.18993 - hardcode_libdir_separator_GCJ \
1.18994 - hardcode_automatic_GCJ \
1.18995 - module_cmds_GCJ \
1.18996 - module_expsym_cmds_GCJ \
1.18997 - lt_cv_prog_compiler_c_o_GCJ \
1.18998 - exclude_expsyms_GCJ \
1.18999 - include_expsyms_GCJ; do
1.19000 -
1.19001 - case $var in
1.19002 - old_archive_cmds_GCJ | \
1.19003 - old_archive_from_new_cmds_GCJ | \
1.19004 - archive_cmds_GCJ | \
1.19005 - archive_expsym_cmds_GCJ | \
1.19006 - module_cmds_GCJ | \
1.19007 - module_expsym_cmds_GCJ | \
1.19008 - old_archive_from_expsyms_cmds_GCJ | \
1.19009 - export_symbols_cmds_GCJ | \
1.19010 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.19011 - postinstall_cmds | postuninstall_cmds | \
1.19012 - old_postinstall_cmds | old_postuninstall_cmds | \
1.19013 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.19014 - # Double-quote double-evaled strings.
1.19015 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.19016 - ;;
1.19017 - *)
1.19018 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.19019 - ;;
1.19020 - esac
1.19021 - done
1.19022 -
1.19023 - case $lt_echo in
1.19024 - *'\$0 --fallback-echo"')
1.19025 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.19026 - ;;
1.19027 - esac
1.19028 -
1.19029 -cfgfile="$ofile"
1.19030 -
1.19031 - cat <<__EOF__ >> "$cfgfile"
1.19032 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.19033 -
1.19034 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.19035 -
1.19036 -# Shell to use when invoking shell scripts.
1.19037 -SHELL=$lt_SHELL
1.19038 -
1.19039 -# Whether or not to build shared libraries.
1.19040 -build_libtool_libs=$enable_shared
1.19041 -
1.19042 -# Whether or not to build static libraries.
1.19043 -build_old_libs=$enable_static
1.19044 -
1.19045 -# Whether or not to add -lc for building shared libraries.
1.19046 -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
1.19047 -
1.19048 -# Whether or not to disallow shared libs when runtime libs are static
1.19049 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
1.19050 -
1.19051 -# Whether or not to optimize for fast installation.
1.19052 -fast_install=$enable_fast_install
1.19053 -
1.19054 -# The host system.
1.19055 -host_alias=$host_alias
1.19056 -host=$host
1.19057 -
1.19058 -# An echo program that does not interpret backslashes.
1.19059 -echo=$lt_echo
1.19060 -
1.19061 -# The archiver.
1.19062 -AR=$lt_AR
1.19063 -AR_FLAGS=$lt_AR_FLAGS
1.19064 -
1.19065 -# A C compiler.
1.19066 -LTCC=$lt_LTCC
1.19067 -
1.19068 -# A language-specific compiler.
1.19069 -CC=$lt_compiler_GCJ
1.19070 -
1.19071 -# Is the compiler the GNU C compiler?
1.19072 -with_gcc=$GCC_GCJ
1.19073 -
1.19074 -# An ERE matcher.
1.19075 -EGREP=$lt_EGREP
1.19076 -
1.19077 -# The linker used to build libraries.
1.19078 -LD=$lt_LD_GCJ
1.19079 -
1.19080 -# Whether we need hard or soft links.
1.19081 -LN_S=$lt_LN_S
1.19082 -
1.19083 -# A BSD-compatible nm program.
1.19084 -NM=$lt_NM
1.19085 -
1.19086 -# A symbol stripping program
1.19087 -STRIP=$lt_STRIP
1.19088 -
1.19089 -# Used to examine libraries when file_magic_cmd begins "file"
1.19090 -MAGIC_CMD=$MAGIC_CMD
1.19091 -
1.19092 -# Used on cygwin: DLL creation program.
1.19093 -DLLTOOL="$DLLTOOL"
1.19094 -
1.19095 -# Used on cygwin: object dumper.
1.19096 -OBJDUMP="$OBJDUMP"
1.19097 -
1.19098 -# Used on cygwin: assembler.
1.19099 -AS="$AS"
1.19100 -
1.19101 -# The name of the directory that contains temporary libtool files.
1.19102 -objdir=$objdir
1.19103 -
1.19104 -# How to create reloadable object files.
1.19105 -reload_flag=$lt_reload_flag
1.19106 -reload_cmds=$lt_reload_cmds
1.19107 -
1.19108 -# How to pass a linker flag through the compiler.
1.19109 -wl=$lt_lt_prog_compiler_wl_GCJ
1.19110 -
1.19111 -# Object file suffix (normally "o").
1.19112 -objext="$ac_objext"
1.19113 -
1.19114 -# Old archive suffix (normally "a").
1.19115 -libext="$libext"
1.19116 -
1.19117 -# Shared library suffix (normally ".so").
1.19118 -shrext_cmds='$shrext_cmds'
1.19119 -
1.19120 -# Executable file suffix (normally "").
1.19121 -exeext="$exeext"
1.19122 -
1.19123 -# Additional compiler flags for building library objects.
1.19124 -pic_flag=$lt_lt_prog_compiler_pic_GCJ
1.19125 -pic_mode=$pic_mode
1.19126 -
1.19127 -# What is the maximum length of a command?
1.19128 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.19129 -
1.19130 -# Does compiler simultaneously support -c and -o options?
1.19131 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
1.19132 -
1.19133 -# Must we lock files when doing compilation ?
1.19134 -need_locks=$lt_need_locks
1.19135 -
1.19136 -# Do we need the lib prefix for modules?
1.19137 -need_lib_prefix=$need_lib_prefix
1.19138 -
1.19139 -# Do we need a version for libraries?
1.19140 -need_version=$need_version
1.19141 -
1.19142 -# Whether dlopen is supported.
1.19143 -dlopen_support=$enable_dlopen
1.19144 -
1.19145 -# Whether dlopen of programs is supported.
1.19146 -dlopen_self=$enable_dlopen_self
1.19147 -
1.19148 -# Whether dlopen of statically linked programs is supported.
1.19149 -dlopen_self_static=$enable_dlopen_self_static
1.19150 -
1.19151 -# Compiler flag to prevent dynamic linking.
1.19152 -link_static_flag=$lt_lt_prog_compiler_static_GCJ
1.19153 -
1.19154 -# Compiler flag to turn off builtin functions.
1.19155 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
1.19156 -
1.19157 -# Compiler flag to allow reflexive dlopens.
1.19158 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
1.19159 -
1.19160 -# Compiler flag to generate shared objects directly from archives.
1.19161 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
1.19162 -
1.19163 -# Compiler flag to generate thread-safe objects.
1.19164 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
1.19165 -
1.19166 -# Library versioning type.
1.19167 -version_type=$version_type
1.19168 -
1.19169 -# Format of library name prefix.
1.19170 -libname_spec=$lt_libname_spec
1.19171 -
1.19172 -# List of archive names. First name is the real one, the rest are links.
1.19173 -# The last name is the one that the linker finds with -lNAME.
1.19174 -library_names_spec=$lt_library_names_spec
1.19175 -
1.19176 -# The coded name of the library, if different from the real name.
1.19177 -soname_spec=$lt_soname_spec
1.19178 -
1.19179 -# Commands used to build and install an old-style archive.
1.19180 -RANLIB=$lt_RANLIB
1.19181 -old_archive_cmds=$lt_old_archive_cmds_GCJ
1.19182 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.19183 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.19184 -
1.19185 -# Create an old-style archive from a shared archive.
1.19186 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
1.19187 -
1.19188 -# Create a temporary old-style archive to link instead of a shared archive.
1.19189 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
1.19190 -
1.19191 -# Commands used to build and install a shared archive.
1.19192 -archive_cmds=$lt_archive_cmds_GCJ
1.19193 -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
1.19194 -postinstall_cmds=$lt_postinstall_cmds
1.19195 -postuninstall_cmds=$lt_postuninstall_cmds
1.19196 -
1.19197 -# Commands used to build a loadable module (assumed same as above if empty)
1.19198 -module_cmds=$lt_module_cmds_GCJ
1.19199 -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
1.19200 -
1.19201 -# Commands to strip libraries.
1.19202 -old_striplib=$lt_old_striplib
1.19203 -striplib=$lt_striplib
1.19204 -
1.19205 -# Dependencies to place before the objects being linked to create a
1.19206 -# shared library.
1.19207 -predep_objects=$lt_predep_objects_GCJ
1.19208 -
1.19209 -# Dependencies to place after the objects being linked to create a
1.19210 -# shared library.
1.19211 -postdep_objects=$lt_postdep_objects_GCJ
1.19212 -
1.19213 -# Dependencies to place before the objects being linked to create a
1.19214 -# shared library.
1.19215 -predeps=$lt_predeps_GCJ
1.19216 -
1.19217 -# Dependencies to place after the objects being linked to create a
1.19218 -# shared library.
1.19219 -postdeps=$lt_postdeps_GCJ
1.19220 -
1.19221 -# The library search path used internally by the compiler when linking
1.19222 -# a shared library.
1.19223 -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
1.19224 -
1.19225 -# Method to check whether dependent libraries are shared objects.
1.19226 -deplibs_check_method=$lt_deplibs_check_method
1.19227 -
1.19228 -# Command to use when deplibs_check_method == file_magic.
1.19229 -file_magic_cmd=$lt_file_magic_cmd
1.19230 -
1.19231 -# Flag that allows shared libraries with undefined symbols to be built.
1.19232 -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
1.19233 -
1.19234 -# Flag that forces no undefined symbols.
1.19235 -no_undefined_flag=$lt_no_undefined_flag_GCJ
1.19236 -
1.19237 -# Commands used to finish a libtool library installation in a directory.
1.19238 -finish_cmds=$lt_finish_cmds
1.19239 -
1.19240 -# Same as above, but a single script fragment to be evaled but not shown.
1.19241 -finish_eval=$lt_finish_eval
1.19242 -
1.19243 -# Take the output of nm and produce a listing of raw symbols and C names.
1.19244 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.19245 -
1.19246 -# Transform the output of nm in a proper C declaration
1.19247 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.19248 -
1.19249 -# Transform the output of nm in a C name address pair
1.19250 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.19251 -
1.19252 -# This is the shared library runtime path variable.
1.19253 -runpath_var=$runpath_var
1.19254 -
1.19255 -# This is the shared library path variable.
1.19256 -shlibpath_var=$shlibpath_var
1.19257 -
1.19258 -# Is shlibpath searched before the hard-coded library search path?
1.19259 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.19260 -
1.19261 -# How to hardcode a shared library path into an executable.
1.19262 -hardcode_action=$hardcode_action_GCJ
1.19263 -
1.19264 -# Whether we should hardcode library paths into libraries.
1.19265 -hardcode_into_libs=$hardcode_into_libs
1.19266 -
1.19267 -# Flag to hardcode \$libdir into a binary during linking.
1.19268 -# This must work even if \$libdir does not exist.
1.19269 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
1.19270 -
1.19271 -# If ld is used when linking, flag to hardcode \$libdir into
1.19272 -# a binary during linking. This must work even if \$libdir does
1.19273 -# not exist.
1.19274 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
1.19275 -
1.19276 -# Whether we need a single -rpath flag with a separated argument.
1.19277 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
1.19278 -
1.19279 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.19280 -# resulting binary.
1.19281 -hardcode_direct=$hardcode_direct_GCJ
1.19282 -
1.19283 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.19284 -# resulting binary.
1.19285 -hardcode_minus_L=$hardcode_minus_L_GCJ
1.19286 -
1.19287 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.19288 -# the resulting binary.
1.19289 -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
1.19290 -
1.19291 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.19292 -# and all subsequent libraries and executables linked against it.
1.19293 -hardcode_automatic=$hardcode_automatic_GCJ
1.19294 -
1.19295 -# Variables whose values should be saved in libtool wrapper scripts and
1.19296 -# restored at relink time.
1.19297 -variables_saved_for_relink="$variables_saved_for_relink"
1.19298 -
1.19299 -# Whether libtool must link a program against all its dependency libraries.
1.19300 -link_all_deplibs=$link_all_deplibs_GCJ
1.19301 -
1.19302 -# Compile-time system search path for libraries
1.19303 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.19304 -
1.19305 -# Run-time system search path for libraries
1.19306 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.19307 -
1.19308 -# Fix the shell variable \$srcfile for the compiler.
1.19309 -fix_srcfile_path="$fix_srcfile_path_GCJ"
1.19310 -
1.19311 -# Set to yes if exported symbols are required.
1.19312 -always_export_symbols=$always_export_symbols_GCJ
1.19313 -
1.19314 -# The commands to list exported symbols.
1.19315 -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
1.19316 -
1.19317 -# The commands to extract the exported symbol list from a shared archive.
1.19318 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.19319 -
1.19320 -# Symbols that should not be listed in the preloaded symbols.
1.19321 -exclude_expsyms=$lt_exclude_expsyms_GCJ
1.19322 -
1.19323 -# Symbols that must always be exported.
1.19324 -include_expsyms=$lt_include_expsyms_GCJ
1.19325 -
1.19326 -# ### END LIBTOOL TAG CONFIG: $tagname
1.19327 -
1.19328 -__EOF__
1.19329 -
1.19330 -
1.19331 -else
1.19332 - # If there is no Makefile yet, we rely on a make rule to execute
1.19333 - # `config.status --recheck' to rerun these tests and create the
1.19334 - # libtool script then.
1.19335 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.19336 - if test -f "$ltmain_in"; then
1.19337 - test -f Makefile && make "$ltmain"
1.19338 - fi
1.19339 -fi
1.19340 -
1.19341 -
1.19342 -ac_ext=c
1.19343 -ac_cpp='$CPP $CPPFLAGS'
1.19344 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19345 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19346 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19347 -
1.19348 -CC="$lt_save_CC"
1.19349 -
1.19350 - else
1.19351 - tagname=""
1.19352 - fi
1.19353 - ;;
1.19354 -
1.19355 - RC)
1.19356 -
1.19357 -
1.19358 -# Source file extension for RC test sources.
1.19359 -ac_ext=rc
1.19360 -
1.19361 -# Object file extension for compiled RC test sources.
1.19362 -objext=o
1.19363 -objext_RC=$objext
1.19364 -
1.19365 -# Code to be used in simple compile tests
1.19366 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
1.19367 -
1.19368 -# Code to be used in simple link tests
1.19369 -lt_simple_link_test_code="$lt_simple_compile_test_code"
1.19370 -
1.19371 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.19372 -
1.19373 -# If no C compiler was specified, use CC.
1.19374 -LTCC=${LTCC-"$CC"}
1.19375 -
1.19376 -# Allow CC to be a program name with arguments.
1.19377 -compiler=$CC
1.19378 -
1.19379 -
1.19380 -# Allow CC to be a program name with arguments.
1.19381 -lt_save_CC="$CC"
1.19382 -CC=${RC-"windres"}
1.19383 -compiler=$CC
1.19384 -compiler_RC=$CC
1.19385 -lt_cv_prog_compiler_c_o_RC=yes
1.19386 -
1.19387 -# The else clause should only fire when bootstrapping the
1.19388 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.19389 -# with your package, and you will get complaints that there are
1.19390 -# no rules to generate ltmain.sh.
1.19391 -if test -f "$ltmain"; then
1.19392 - # See if we are running on zsh, and set the options which allow our commands through
1.19393 - # without removal of \ escapes.
1.19394 - if test -n "${ZSH_VERSION+set}" ; then
1.19395 - setopt NO_GLOB_SUBST
1.19396 - fi
1.19397 - # Now quote all the things that may contain metacharacters while being
1.19398 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.19399 - # variables and quote the copies for generation of the libtool script.
1.19400 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.19401 - SED SHELL STRIP \
1.19402 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.19403 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.19404 - deplibs_check_method reload_flag reload_cmds need_locks \
1.19405 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.19406 - lt_cv_sys_global_symbol_to_c_name_address \
1.19407 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.19408 - old_postinstall_cmds old_postuninstall_cmds \
1.19409 - compiler_RC \
1.19410 - CC_RC \
1.19411 - LD_RC \
1.19412 - lt_prog_compiler_wl_RC \
1.19413 - lt_prog_compiler_pic_RC \
1.19414 - lt_prog_compiler_static_RC \
1.19415 - lt_prog_compiler_no_builtin_flag_RC \
1.19416 - export_dynamic_flag_spec_RC \
1.19417 - thread_safe_flag_spec_RC \
1.19418 - whole_archive_flag_spec_RC \
1.19419 - enable_shared_with_static_runtimes_RC \
1.19420 - old_archive_cmds_RC \
1.19421 - old_archive_from_new_cmds_RC \
1.19422 - predep_objects_RC \
1.19423 - postdep_objects_RC \
1.19424 - predeps_RC \
1.19425 - postdeps_RC \
1.19426 - compiler_lib_search_path_RC \
1.19427 - archive_cmds_RC \
1.19428 - archive_expsym_cmds_RC \
1.19429 - postinstall_cmds_RC \
1.19430 - postuninstall_cmds_RC \
1.19431 - old_archive_from_expsyms_cmds_RC \
1.19432 - allow_undefined_flag_RC \
1.19433 - no_undefined_flag_RC \
1.19434 - export_symbols_cmds_RC \
1.19435 - hardcode_libdir_flag_spec_RC \
1.19436 - hardcode_libdir_flag_spec_ld_RC \
1.19437 - hardcode_libdir_separator_RC \
1.19438 - hardcode_automatic_RC \
1.19439 - module_cmds_RC \
1.19440 - module_expsym_cmds_RC \
1.19441 - lt_cv_prog_compiler_c_o_RC \
1.19442 - exclude_expsyms_RC \
1.19443 - include_expsyms_RC; do
1.19444 -
1.19445 - case $var in
1.19446 - old_archive_cmds_RC | \
1.19447 - old_archive_from_new_cmds_RC | \
1.19448 - archive_cmds_RC | \
1.19449 - archive_expsym_cmds_RC | \
1.19450 - module_cmds_RC | \
1.19451 - module_expsym_cmds_RC | \
1.19452 - old_archive_from_expsyms_cmds_RC | \
1.19453 - export_symbols_cmds_RC | \
1.19454 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.19455 - postinstall_cmds | postuninstall_cmds | \
1.19456 - old_postinstall_cmds | old_postuninstall_cmds | \
1.19457 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.19458 - # Double-quote double-evaled strings.
1.19459 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.19460 - ;;
1.19461 - *)
1.19462 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.19463 - ;;
1.19464 - esac
1.19465 - done
1.19466 -
1.19467 - case $lt_echo in
1.19468 - *'\$0 --fallback-echo"')
1.19469 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.19470 - ;;
1.19471 - esac
1.19472 -
1.19473 -cfgfile="$ofile"
1.19474 -
1.19475 - cat <<__EOF__ >> "$cfgfile"
1.19476 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.19477 -
1.19478 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.19479 -
1.19480 -# Shell to use when invoking shell scripts.
1.19481 -SHELL=$lt_SHELL
1.19482 -
1.19483 -# Whether or not to build shared libraries.
1.19484 -build_libtool_libs=$enable_shared
1.19485 -
1.19486 -# Whether or not to build static libraries.
1.19487 -build_old_libs=$enable_static
1.19488 -
1.19489 -# Whether or not to add -lc for building shared libraries.
1.19490 -build_libtool_need_lc=$archive_cmds_need_lc_RC
1.19491 -
1.19492 -# Whether or not to disallow shared libs when runtime libs are static
1.19493 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
1.19494 -
1.19495 -# Whether or not to optimize for fast installation.
1.19496 -fast_install=$enable_fast_install
1.19497 -
1.19498 -# The host system.
1.19499 -host_alias=$host_alias
1.19500 -host=$host
1.19501 -
1.19502 -# An echo program that does not interpret backslashes.
1.19503 -echo=$lt_echo
1.19504 -
1.19505 -# The archiver.
1.19506 -AR=$lt_AR
1.19507 -AR_FLAGS=$lt_AR_FLAGS
1.19508 -
1.19509 -# A C compiler.
1.19510 -LTCC=$lt_LTCC
1.19511 -
1.19512 -# A language-specific compiler.
1.19513 -CC=$lt_compiler_RC
1.19514 -
1.19515 -# Is the compiler the GNU C compiler?
1.19516 -with_gcc=$GCC_RC
1.19517 -
1.19518 -# An ERE matcher.
1.19519 -EGREP=$lt_EGREP
1.19520 -
1.19521 -# The linker used to build libraries.
1.19522 -LD=$lt_LD_RC
1.19523 -
1.19524 -# Whether we need hard or soft links.
1.19525 -LN_S=$lt_LN_S
1.19526 -
1.19527 -# A BSD-compatible nm program.
1.19528 -NM=$lt_NM
1.19529 -
1.19530 -# A symbol stripping program
1.19531 -STRIP=$lt_STRIP
1.19532 -
1.19533 -# Used to examine libraries when file_magic_cmd begins "file"
1.19534 -MAGIC_CMD=$MAGIC_CMD
1.19535 -
1.19536 -# Used on cygwin: DLL creation program.
1.19537 -DLLTOOL="$DLLTOOL"
1.19538 -
1.19539 -# Used on cygwin: object dumper.
1.19540 -OBJDUMP="$OBJDUMP"
1.19541 -
1.19542 -# Used on cygwin: assembler.
1.19543 -AS="$AS"
1.19544 -
1.19545 -# The name of the directory that contains temporary libtool files.
1.19546 -objdir=$objdir
1.19547 -
1.19548 -# How to create reloadable object files.
1.19549 -reload_flag=$lt_reload_flag
1.19550 -reload_cmds=$lt_reload_cmds
1.19551 -
1.19552 -# How to pass a linker flag through the compiler.
1.19553 -wl=$lt_lt_prog_compiler_wl_RC
1.19554 -
1.19555 -# Object file suffix (normally "o").
1.19556 -objext="$ac_objext"
1.19557 -
1.19558 -# Old archive suffix (normally "a").
1.19559 -libext="$libext"
1.19560 -
1.19561 -# Shared library suffix (normally ".so").
1.19562 -shrext_cmds='$shrext_cmds'
1.19563 -
1.19564 -# Executable file suffix (normally "").
1.19565 -exeext="$exeext"
1.19566 -
1.19567 -# Additional compiler flags for building library objects.
1.19568 -pic_flag=$lt_lt_prog_compiler_pic_RC
1.19569 -pic_mode=$pic_mode
1.19570 -
1.19571 -# What is the maximum length of a command?
1.19572 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.19573 -
1.19574 -# Does compiler simultaneously support -c and -o options?
1.19575 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
1.19576 -
1.19577 -# Must we lock files when doing compilation ?
1.19578 -need_locks=$lt_need_locks
1.19579 -
1.19580 -# Do we need the lib prefix for modules?
1.19581 -need_lib_prefix=$need_lib_prefix
1.19582 -
1.19583 -# Do we need a version for libraries?
1.19584 -need_version=$need_version
1.19585 -
1.19586 -# Whether dlopen is supported.
1.19587 -dlopen_support=$enable_dlopen
1.19588 -
1.19589 -# Whether dlopen of programs is supported.
1.19590 -dlopen_self=$enable_dlopen_self
1.19591 -
1.19592 -# Whether dlopen of statically linked programs is supported.
1.19593 -dlopen_self_static=$enable_dlopen_self_static
1.19594 -
1.19595 -# Compiler flag to prevent dynamic linking.
1.19596 -link_static_flag=$lt_lt_prog_compiler_static_RC
1.19597 -
1.19598 -# Compiler flag to turn off builtin functions.
1.19599 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
1.19600 -
1.19601 -# Compiler flag to allow reflexive dlopens.
1.19602 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
1.19603 -
1.19604 -# Compiler flag to generate shared objects directly from archives.
1.19605 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
1.19606 -
1.19607 -# Compiler flag to generate thread-safe objects.
1.19608 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
1.19609 -
1.19610 -# Library versioning type.
1.19611 -version_type=$version_type
1.19612 -
1.19613 -# Format of library name prefix.
1.19614 -libname_spec=$lt_libname_spec
1.19615 -
1.19616 -# List of archive names. First name is the real one, the rest are links.
1.19617 -# The last name is the one that the linker finds with -lNAME.
1.19618 -library_names_spec=$lt_library_names_spec
1.19619 -
1.19620 -# The coded name of the library, if different from the real name.
1.19621 -soname_spec=$lt_soname_spec
1.19622 -
1.19623 -# Commands used to build and install an old-style archive.
1.19624 -RANLIB=$lt_RANLIB
1.19625 -old_archive_cmds=$lt_old_archive_cmds_RC
1.19626 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.19627 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.19628 -
1.19629 -# Create an old-style archive from a shared archive.
1.19630 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
1.19631 -
1.19632 -# Create a temporary old-style archive to link instead of a shared archive.
1.19633 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
1.19634 -
1.19635 -# Commands used to build and install a shared archive.
1.19636 -archive_cmds=$lt_archive_cmds_RC
1.19637 -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
1.19638 -postinstall_cmds=$lt_postinstall_cmds
1.19639 -postuninstall_cmds=$lt_postuninstall_cmds
1.19640 -
1.19641 -# Commands used to build a loadable module (assumed same as above if empty)
1.19642 -module_cmds=$lt_module_cmds_RC
1.19643 -module_expsym_cmds=$lt_module_expsym_cmds_RC
1.19644 -
1.19645 -# Commands to strip libraries.
1.19646 -old_striplib=$lt_old_striplib
1.19647 -striplib=$lt_striplib
1.19648 -
1.19649 -# Dependencies to place before the objects being linked to create a
1.19650 -# shared library.
1.19651 -predep_objects=$lt_predep_objects_RC
1.19652 -
1.19653 -# Dependencies to place after the objects being linked to create a
1.19654 -# shared library.
1.19655 -postdep_objects=$lt_postdep_objects_RC
1.19656 -
1.19657 -# Dependencies to place before the objects being linked to create a
1.19658 -# shared library.
1.19659 -predeps=$lt_predeps_RC
1.19660 -
1.19661 -# Dependencies to place after the objects being linked to create a
1.19662 -# shared library.
1.19663 -postdeps=$lt_postdeps_RC
1.19664 -
1.19665 -# The library search path used internally by the compiler when linking
1.19666 -# a shared library.
1.19667 -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
1.19668 -
1.19669 -# Method to check whether dependent libraries are shared objects.
1.19670 -deplibs_check_method=$lt_deplibs_check_method
1.19671 -
1.19672 -# Command to use when deplibs_check_method == file_magic.
1.19673 -file_magic_cmd=$lt_file_magic_cmd
1.19674 -
1.19675 -# Flag that allows shared libraries with undefined symbols to be built.
1.19676 -allow_undefined_flag=$lt_allow_undefined_flag_RC
1.19677 -
1.19678 -# Flag that forces no undefined symbols.
1.19679 -no_undefined_flag=$lt_no_undefined_flag_RC
1.19680 -
1.19681 -# Commands used to finish a libtool library installation in a directory.
1.19682 -finish_cmds=$lt_finish_cmds
1.19683 -
1.19684 -# Same as above, but a single script fragment to be evaled but not shown.
1.19685 -finish_eval=$lt_finish_eval
1.19686 -
1.19687 -# Take the output of nm and produce a listing of raw symbols and C names.
1.19688 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.19689 -
1.19690 -# Transform the output of nm in a proper C declaration
1.19691 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.19692 -
1.19693 -# Transform the output of nm in a C name address pair
1.19694 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.19695 -
1.19696 -# This is the shared library runtime path variable.
1.19697 -runpath_var=$runpath_var
1.19698 -
1.19699 -# This is the shared library path variable.
1.19700 -shlibpath_var=$shlibpath_var
1.19701 -
1.19702 -# Is shlibpath searched before the hard-coded library search path?
1.19703 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.19704 -
1.19705 -# How to hardcode a shared library path into an executable.
1.19706 -hardcode_action=$hardcode_action_RC
1.19707 -
1.19708 -# Whether we should hardcode library paths into libraries.
1.19709 -hardcode_into_libs=$hardcode_into_libs
1.19710 -
1.19711 -# Flag to hardcode \$libdir into a binary during linking.
1.19712 -# This must work even if \$libdir does not exist.
1.19713 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
1.19714 -
1.19715 -# If ld is used when linking, flag to hardcode \$libdir into
1.19716 -# a binary during linking. This must work even if \$libdir does
1.19717 -# not exist.
1.19718 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
1.19719 -
1.19720 -# Whether we need a single -rpath flag with a separated argument.
1.19721 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
1.19722 -
1.19723 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.19724 -# resulting binary.
1.19725 -hardcode_direct=$hardcode_direct_RC
1.19726 -
1.19727 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.19728 -# resulting binary.
1.19729 -hardcode_minus_L=$hardcode_minus_L_RC
1.19730 -
1.19731 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.19732 -# the resulting binary.
1.19733 -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
1.19734 -
1.19735 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.19736 -# and all subsequent libraries and executables linked against it.
1.19737 -hardcode_automatic=$hardcode_automatic_RC
1.19738 -
1.19739 -# Variables whose values should be saved in libtool wrapper scripts and
1.19740 -# restored at relink time.
1.19741 -variables_saved_for_relink="$variables_saved_for_relink"
1.19742 -
1.19743 -# Whether libtool must link a program against all its dependency libraries.
1.19744 -link_all_deplibs=$link_all_deplibs_RC
1.19745 -
1.19746 -# Compile-time system search path for libraries
1.19747 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.19748 -
1.19749 -# Run-time system search path for libraries
1.19750 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.19751 -
1.19752 -# Fix the shell variable \$srcfile for the compiler.
1.19753 -fix_srcfile_path="$fix_srcfile_path_RC"
1.19754 -
1.19755 -# Set to yes if exported symbols are required.
1.19756 -always_export_symbols=$always_export_symbols_RC
1.19757 -
1.19758 -# The commands to list exported symbols.
1.19759 -export_symbols_cmds=$lt_export_symbols_cmds_RC
1.19760 -
1.19761 -# The commands to extract the exported symbol list from a shared archive.
1.19762 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.19763 -
1.19764 -# Symbols that should not be listed in the preloaded symbols.
1.19765 -exclude_expsyms=$lt_exclude_expsyms_RC
1.19766 -
1.19767 -# Symbols that must always be exported.
1.19768 -include_expsyms=$lt_include_expsyms_RC
1.19769 -
1.19770 -# ### END LIBTOOL TAG CONFIG: $tagname
1.19771 -
1.19772 -__EOF__
1.19773 -
1.19774 -
1.19775 -else
1.19776 - # If there is no Makefile yet, we rely on a make rule to execute
1.19777 - # `config.status --recheck' to rerun these tests and create the
1.19778 - # libtool script then.
1.19779 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.19780 - if test -f "$ltmain_in"; then
1.19781 - test -f Makefile && make "$ltmain"
1.19782 - fi
1.19783 -fi
1.19784 -
1.19785 -
1.19786 -ac_ext=c
1.19787 -ac_cpp='$CPP $CPPFLAGS'
1.19788 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19789 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19790 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19791 -
1.19792 -CC="$lt_save_CC"
1.19793 -
1.19794 - ;;
1.19795 -
1.19796 - *)
1.19797 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
1.19798 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
1.19799 - { (exit 1); exit 1; }; }
1.19800 - ;;
1.19801 - esac
1.19802 -
1.19803 - # Append the new tag name to the list of available tags.
1.19804 - if test -n "$tagname" ; then
1.19805 - available_tags="$available_tags $tagname"
1.19806 - fi
1.19807 - fi
1.19808 - done
1.19809 - IFS="$lt_save_ifs"
1.19810 -
1.19811 - # Now substitute the updated list of available tags.
1.19812 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
1.19813 - mv "${ofile}T" "$ofile"
1.19814 - chmod +x "$ofile"
1.19815 - else
1.19816 - rm -f "${ofile}T"
1.19817 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
1.19818 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
1.19819 - { (exit 1); exit 1; }; }
1.19820 - fi
1.19821 -fi
1.19822 -
1.19823 -
1.19824 -
1.19825 -# This can be used to rebuild libtool when needed
1.19826 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
1.19827 -
1.19828 -# Always use our own libtool.
1.19829 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.19830 -
1.19831 -# Prevent multiple expansion
1.19832 -
1.19833 -
1.19834 -
1.19835 -
1.19836 -
1.19837 -
1.19838 -
1.19839 -
1.19840 -
1.19841 -
1.19842 -
1.19843 -
1.19844 -
1.19845 -
1.19846 -
1.19847 -
1.19848 -
1.19849 -
1.19850 -
1.19851 -
1.19852 -
1.19853 -ac_config_headers="$ac_config_headers config.h"
1.19854 -
1.19855 -
1.19856 -ACLOCAL_AMFLAGS="-I m4"
1.19857 -
1.19858 -
1.19859 -ac_ext=c
1.19860 -ac_cpp='$CPP $CPPFLAGS'
1.19861 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19862 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19863 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19864 -if test -n "$ac_tool_prefix"; then
1.19865 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.19866 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.19867 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19868 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.19869 -if test "${ac_cv_prog_CC+set}" = set; then
1.19870 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19871 -else
1.19872 - if test -n "$CC"; then
1.19873 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19874 -else
1.19875 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19876 -for as_dir in $PATH
1.19877 -do
1.19878 - IFS=$as_save_IFS
1.19879 - test -z "$as_dir" && as_dir=.
1.19880 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19881 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.19882 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.19883 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19884 - break 2
1.19885 - fi
1.19886 -done
1.19887 -done
1.19888 -IFS=$as_save_IFS
1.19889 -
1.19890 -fi
1.19891 -fi
1.19892 -CC=$ac_cv_prog_CC
1.19893 -if test -n "$CC"; then
1.19894 - { echo "$as_me:$LINENO: result: $CC" >&5
1.19895 -echo "${ECHO_T}$CC" >&6; }
1.19896 -else
1.19897 - { echo "$as_me:$LINENO: result: no" >&5
1.19898 -echo "${ECHO_T}no" >&6; }
1.19899 -fi
1.19900 -
1.19901 -
1.19902 -fi
1.19903 -if test -z "$ac_cv_prog_CC"; then
1.19904 - ac_ct_CC=$CC
1.19905 - # Extract the first word of "gcc", so it can be a program name with args.
1.19906 -set dummy gcc; ac_word=$2
1.19907 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19908 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.19909 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.19910 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19911 -else
1.19912 - if test -n "$ac_ct_CC"; then
1.19913 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.19914 -else
1.19915 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19916 -for as_dir in $PATH
1.19917 -do
1.19918 - IFS=$as_save_IFS
1.19919 - test -z "$as_dir" && as_dir=.
1.19920 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19921 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.19922 - ac_cv_prog_ac_ct_CC="gcc"
1.19923 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19924 - break 2
1.19925 - fi
1.19926 -done
1.19927 -done
1.19928 -IFS=$as_save_IFS
1.19929 -
1.19930 -fi
1.19931 -fi
1.19932 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.19933 -if test -n "$ac_ct_CC"; then
1.19934 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.19935 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.19936 -else
1.19937 - { echo "$as_me:$LINENO: result: no" >&5
1.19938 -echo "${ECHO_T}no" >&6; }
1.19939 -fi
1.19940 -
1.19941 - if test "x$ac_ct_CC" = x; then
1.19942 - CC=""
1.19943 - else
1.19944 - case $cross_compiling:$ac_tool_warned in
1.19945 -yes:)
1.19946 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.19947 -whose name does not start with the host triplet. If you think this
1.19948 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.19949 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.19950 -whose name does not start with the host triplet. If you think this
1.19951 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.19952 -ac_tool_warned=yes ;;
1.19953 -esac
1.19954 - CC=$ac_ct_CC
1.19955 - fi
1.19956 -else
1.19957 - CC="$ac_cv_prog_CC"
1.19958 -fi
1.19959 -
1.19960 -if test -z "$CC"; then
1.19961 - if test -n "$ac_tool_prefix"; then
1.19962 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.19963 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.19964 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19965 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.19966 -if test "${ac_cv_prog_CC+set}" = set; then
1.19967 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19968 -else
1.19969 - if test -n "$CC"; then
1.19970 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19971 -else
1.19972 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19973 -for as_dir in $PATH
1.19974 -do
1.19975 - IFS=$as_save_IFS
1.19976 - test -z "$as_dir" && as_dir=.
1.19977 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19978 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.19979 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.19980 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19981 - break 2
1.19982 - fi
1.19983 -done
1.19984 -done
1.19985 -IFS=$as_save_IFS
1.19986 -
1.19987 -fi
1.19988 -fi
1.19989 -CC=$ac_cv_prog_CC
1.19990 -if test -n "$CC"; then
1.19991 - { echo "$as_me:$LINENO: result: $CC" >&5
1.19992 -echo "${ECHO_T}$CC" >&6; }
1.19993 -else
1.19994 - { echo "$as_me:$LINENO: result: no" >&5
1.19995 -echo "${ECHO_T}no" >&6; }
1.19996 -fi
1.19997 -
1.19998 -
1.19999 - fi
1.20000 -fi
1.20001 -if test -z "$CC"; then
1.20002 - # Extract the first word of "cc", so it can be a program name with args.
1.20003 -set dummy cc; ac_word=$2
1.20004 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.20005 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.20006 -if test "${ac_cv_prog_CC+set}" = set; then
1.20007 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20008 -else
1.20009 - if test -n "$CC"; then
1.20010 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.20011 -else
1.20012 - ac_prog_rejected=no
1.20013 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.20014 -for as_dir in $PATH
1.20015 -do
1.20016 - IFS=$as_save_IFS
1.20017 - test -z "$as_dir" && as_dir=.
1.20018 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20019 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.20020 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.20021 - ac_prog_rejected=yes
1.20022 - continue
1.20023 - fi
1.20024 - ac_cv_prog_CC="cc"
1.20025 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20026 - break 2
1.20027 - fi
1.20028 -done
1.20029 -done
1.20030 -IFS=$as_save_IFS
1.20031 -
1.20032 -if test $ac_prog_rejected = yes; then
1.20033 - # We found a bogon in the path, so make sure we never use it.
1.20034 - set dummy $ac_cv_prog_CC
1.20035 - shift
1.20036 - if test $@%:@ != 0; then
1.20037 - # We chose a different compiler from the bogus one.
1.20038 - # However, it has the same basename, so the bogon will be chosen
1.20039 - # first if we set CC to just the basename; use the full file name.
1.20040 - shift
1.20041 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.20042 - fi
1.20043 -fi
1.20044 -fi
1.20045 -fi
1.20046 -CC=$ac_cv_prog_CC
1.20047 -if test -n "$CC"; then
1.20048 - { echo "$as_me:$LINENO: result: $CC" >&5
1.20049 -echo "${ECHO_T}$CC" >&6; }
1.20050 -else
1.20051 - { echo "$as_me:$LINENO: result: no" >&5
1.20052 -echo "${ECHO_T}no" >&6; }
1.20053 -fi
1.20054 -
1.20055 -
1.20056 -fi
1.20057 -if test -z "$CC"; then
1.20058 - if test -n "$ac_tool_prefix"; then
1.20059 - for ac_prog in cl.exe
1.20060 - do
1.20061 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.20062 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.20063 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.20064 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.20065 -if test "${ac_cv_prog_CC+set}" = set; then
1.20066 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20067 -else
1.20068 - if test -n "$CC"; then
1.20069 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.20070 -else
1.20071 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.20072 -for as_dir in $PATH
1.20073 -do
1.20074 - IFS=$as_save_IFS
1.20075 - test -z "$as_dir" && as_dir=.
1.20076 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20077 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.20078 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.20079 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20080 - break 2
1.20081 - fi
1.20082 -done
1.20083 -done
1.20084 -IFS=$as_save_IFS
1.20085 -
1.20086 -fi
1.20087 -fi
1.20088 -CC=$ac_cv_prog_CC
1.20089 -if test -n "$CC"; then
1.20090 - { echo "$as_me:$LINENO: result: $CC" >&5
1.20091 -echo "${ECHO_T}$CC" >&6; }
1.20092 -else
1.20093 - { echo "$as_me:$LINENO: result: no" >&5
1.20094 -echo "${ECHO_T}no" >&6; }
1.20095 -fi
1.20096 -
1.20097 -
1.20098 - test -n "$CC" && break
1.20099 - done
1.20100 -fi
1.20101 -if test -z "$CC"; then
1.20102 - ac_ct_CC=$CC
1.20103 - for ac_prog in cl.exe
1.20104 -do
1.20105 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.20106 -set dummy $ac_prog; ac_word=$2
1.20107 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.20108 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.20109 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.20110 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20111 -else
1.20112 - if test -n "$ac_ct_CC"; then
1.20113 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.20114 -else
1.20115 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.20116 -for as_dir in $PATH
1.20117 -do
1.20118 - IFS=$as_save_IFS
1.20119 - test -z "$as_dir" && as_dir=.
1.20120 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20121 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.20122 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.20123 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20124 - break 2
1.20125 - fi
1.20126 -done
1.20127 -done
1.20128 -IFS=$as_save_IFS
1.20129 -
1.20130 -fi
1.20131 -fi
1.20132 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.20133 -if test -n "$ac_ct_CC"; then
1.20134 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.20135 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.20136 -else
1.20137 - { echo "$as_me:$LINENO: result: no" >&5
1.20138 -echo "${ECHO_T}no" >&6; }
1.20139 -fi
1.20140 -
1.20141 -
1.20142 - test -n "$ac_ct_CC" && break
1.20143 -done
1.20144 -
1.20145 - if test "x$ac_ct_CC" = x; then
1.20146 - CC=""
1.20147 - else
1.20148 - case $cross_compiling:$ac_tool_warned in
1.20149 -yes:)
1.20150 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.20151 -whose name does not start with the host triplet. If you think this
1.20152 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.20153 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.20154 -whose name does not start with the host triplet. If you think this
1.20155 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.20156 -ac_tool_warned=yes ;;
1.20157 -esac
1.20158 - CC=$ac_ct_CC
1.20159 - fi
1.20160 -fi
1.20161 -
1.20162 -fi
1.20163 -
1.20164 -
1.20165 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.20166 -See \`config.log' for more details." >&5
1.20167 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.20168 -See \`config.log' for more details." >&2;}
1.20169 - { (exit 1); exit 1; }; }
1.20170 -
1.20171 -# Provide some information about the compiler.
1.20172 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.20173 -ac_compiler=`set X $ac_compile; echo $2`
1.20174 -{ (ac_try="$ac_compiler --version >&5"
1.20175 -case "(($ac_try" in
1.20176 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20177 - *) ac_try_echo=$ac_try;;
1.20178 -esac
1.20179 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20180 - (eval "$ac_compiler --version >&5") 2>&5
1.20181 - ac_status=$?
1.20182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20183 - (exit $ac_status); }
1.20184 -{ (ac_try="$ac_compiler -v >&5"
1.20185 -case "(($ac_try" in
1.20186 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20187 - *) ac_try_echo=$ac_try;;
1.20188 -esac
1.20189 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20190 - (eval "$ac_compiler -v >&5") 2>&5
1.20191 - ac_status=$?
1.20192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20193 - (exit $ac_status); }
1.20194 -{ (ac_try="$ac_compiler -V >&5"
1.20195 -case "(($ac_try" in
1.20196 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20197 - *) ac_try_echo=$ac_try;;
1.20198 -esac
1.20199 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20200 - (eval "$ac_compiler -V >&5") 2>&5
1.20201 - ac_status=$?
1.20202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20203 - (exit $ac_status); }
1.20204 -
1.20205 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.20206 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.20207 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.20208 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20209 -else
1.20210 - cat >conftest.$ac_ext <<_ACEOF
1.20211 -/* confdefs.h. */
1.20212 -_ACEOF
1.20213 -cat confdefs.h >>conftest.$ac_ext
1.20214 -cat >>conftest.$ac_ext <<_ACEOF
1.20215 -/* end confdefs.h. */
1.20216 -
1.20217 -int
1.20218 -main ()
1.20219 -{
1.20220 -#ifndef __GNUC__
1.20221 - choke me
1.20222 -#endif
1.20223 -
1.20224 - ;
1.20225 - return 0;
1.20226 -}
1.20227 -_ACEOF
1.20228 -rm -f conftest.$ac_objext
1.20229 -if { (ac_try="$ac_compile"
1.20230 -case "(($ac_try" in
1.20231 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20232 - *) ac_try_echo=$ac_try;;
1.20233 -esac
1.20234 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20235 - (eval "$ac_compile") 2>conftest.er1
1.20236 - ac_status=$?
1.20237 - grep -v '^ *+' conftest.er1 >conftest.err
1.20238 - rm -f conftest.er1
1.20239 - cat conftest.err >&5
1.20240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20241 - (exit $ac_status); } && {
1.20242 - test -z "$ac_c_werror_flag" ||
1.20243 - test ! -s conftest.err
1.20244 - } && test -s conftest.$ac_objext; then
1.20245 - ac_compiler_gnu=yes
1.20246 -else
1.20247 - echo "$as_me: failed program was:" >&5
1.20248 -sed 's/^/| /' conftest.$ac_ext >&5
1.20249 -
1.20250 - ac_compiler_gnu=no
1.20251 -fi
1.20252 -
1.20253 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20254 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.20255 -
1.20256 -fi
1.20257 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.20258 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.20259 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.20260 -ac_test_CFLAGS=${CFLAGS+set}
1.20261 -ac_save_CFLAGS=$CFLAGS
1.20262 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.20263 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.20264 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.20265 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20266 -else
1.20267 - ac_save_c_werror_flag=$ac_c_werror_flag
1.20268 - ac_c_werror_flag=yes
1.20269 - ac_cv_prog_cc_g=no
1.20270 - CFLAGS="-g"
1.20271 - cat >conftest.$ac_ext <<_ACEOF
1.20272 -/* confdefs.h. */
1.20273 -_ACEOF
1.20274 -cat confdefs.h >>conftest.$ac_ext
1.20275 -cat >>conftest.$ac_ext <<_ACEOF
1.20276 -/* end confdefs.h. */
1.20277 -
1.20278 -int
1.20279 -main ()
1.20280 -{
1.20281 -
1.20282 - ;
1.20283 - return 0;
1.20284 -}
1.20285 -_ACEOF
1.20286 -rm -f conftest.$ac_objext
1.20287 -if { (ac_try="$ac_compile"
1.20288 -case "(($ac_try" in
1.20289 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20290 - *) ac_try_echo=$ac_try;;
1.20291 -esac
1.20292 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20293 - (eval "$ac_compile") 2>conftest.er1
1.20294 - ac_status=$?
1.20295 - grep -v '^ *+' conftest.er1 >conftest.err
1.20296 - rm -f conftest.er1
1.20297 - cat conftest.err >&5
1.20298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20299 - (exit $ac_status); } && {
1.20300 - test -z "$ac_c_werror_flag" ||
1.20301 - test ! -s conftest.err
1.20302 - } && test -s conftest.$ac_objext; then
1.20303 - ac_cv_prog_cc_g=yes
1.20304 -else
1.20305 - echo "$as_me: failed program was:" >&5
1.20306 -sed 's/^/| /' conftest.$ac_ext >&5
1.20307 -
1.20308 - CFLAGS=""
1.20309 - cat >conftest.$ac_ext <<_ACEOF
1.20310 -/* confdefs.h. */
1.20311 -_ACEOF
1.20312 -cat confdefs.h >>conftest.$ac_ext
1.20313 -cat >>conftest.$ac_ext <<_ACEOF
1.20314 -/* end confdefs.h. */
1.20315 -
1.20316 -int
1.20317 -main ()
1.20318 -{
1.20319 -
1.20320 - ;
1.20321 - return 0;
1.20322 -}
1.20323 -_ACEOF
1.20324 -rm -f conftest.$ac_objext
1.20325 -if { (ac_try="$ac_compile"
1.20326 -case "(($ac_try" in
1.20327 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20328 - *) ac_try_echo=$ac_try;;
1.20329 -esac
1.20330 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20331 - (eval "$ac_compile") 2>conftest.er1
1.20332 - ac_status=$?
1.20333 - grep -v '^ *+' conftest.er1 >conftest.err
1.20334 - rm -f conftest.er1
1.20335 - cat conftest.err >&5
1.20336 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20337 - (exit $ac_status); } && {
1.20338 - test -z "$ac_c_werror_flag" ||
1.20339 - test ! -s conftest.err
1.20340 - } && test -s conftest.$ac_objext; then
1.20341 - :
1.20342 -else
1.20343 - echo "$as_me: failed program was:" >&5
1.20344 -sed 's/^/| /' conftest.$ac_ext >&5
1.20345 -
1.20346 - ac_c_werror_flag=$ac_save_c_werror_flag
1.20347 - CFLAGS="-g"
1.20348 - cat >conftest.$ac_ext <<_ACEOF
1.20349 -/* confdefs.h. */
1.20350 -_ACEOF
1.20351 -cat confdefs.h >>conftest.$ac_ext
1.20352 -cat >>conftest.$ac_ext <<_ACEOF
1.20353 -/* end confdefs.h. */
1.20354 -
1.20355 -int
1.20356 -main ()
1.20357 -{
1.20358 -
1.20359 - ;
1.20360 - return 0;
1.20361 -}
1.20362 -_ACEOF
1.20363 -rm -f conftest.$ac_objext
1.20364 -if { (ac_try="$ac_compile"
1.20365 -case "(($ac_try" in
1.20366 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20367 - *) ac_try_echo=$ac_try;;
1.20368 -esac
1.20369 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20370 - (eval "$ac_compile") 2>conftest.er1
1.20371 - ac_status=$?
1.20372 - grep -v '^ *+' conftest.er1 >conftest.err
1.20373 - rm -f conftest.er1
1.20374 - cat conftest.err >&5
1.20375 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20376 - (exit $ac_status); } && {
1.20377 - test -z "$ac_c_werror_flag" ||
1.20378 - test ! -s conftest.err
1.20379 - } && test -s conftest.$ac_objext; then
1.20380 - ac_cv_prog_cc_g=yes
1.20381 -else
1.20382 - echo "$as_me: failed program was:" >&5
1.20383 -sed 's/^/| /' conftest.$ac_ext >&5
1.20384 -
1.20385 -
1.20386 -fi
1.20387 -
1.20388 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20389 -fi
1.20390 -
1.20391 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20392 -fi
1.20393 -
1.20394 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.20395 - ac_c_werror_flag=$ac_save_c_werror_flag
1.20396 -fi
1.20397 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.20398 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.20399 -if test "$ac_test_CFLAGS" = set; then
1.20400 - CFLAGS=$ac_save_CFLAGS
1.20401 -elif test $ac_cv_prog_cc_g = yes; then
1.20402 - if test "$GCC" = yes; then
1.20403 - CFLAGS="-g -O2"
1.20404 - else
1.20405 - CFLAGS="-g"
1.20406 - fi
1.20407 -else
1.20408 - if test "$GCC" = yes; then
1.20409 - CFLAGS="-O2"
1.20410 - else
1.20411 - CFLAGS=
1.20412 - fi
1.20413 -fi
1.20414 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.20415 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.20416 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.20417 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20418 -else
1.20419 - ac_cv_prog_cc_c89=no
1.20420 -ac_save_CC=$CC
1.20421 -cat >conftest.$ac_ext <<_ACEOF
1.20422 -/* confdefs.h. */
1.20423 -_ACEOF
1.20424 -cat confdefs.h >>conftest.$ac_ext
1.20425 -cat >>conftest.$ac_ext <<_ACEOF
1.20426 -/* end confdefs.h. */
1.20427 -#include <stdarg.h>
1.20428 -#include <stdio.h>
1.20429 -#include <sys/types.h>
1.20430 -#include <sys/stat.h>
1.20431 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.20432 -struct buf { int x; };
1.20433 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.20434 -static char *e (p, i)
1.20435 - char **p;
1.20436 - int i;
1.20437 -{
1.20438 - return p[i];
1.20439 -}
1.20440 -static char *f (char * (*g) (char **, int), char **p, ...)
1.20441 -{
1.20442 - char *s;
1.20443 - va_list v;
1.20444 - va_start (v,p);
1.20445 - s = g (p, va_arg (v,int));
1.20446 - va_end (v);
1.20447 - return s;
1.20448 -}
1.20449 -
1.20450 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.20451 - function prototypes and stuff, but not '\xHH' hex character constants.
1.20452 - These don't provoke an error unfortunately, instead are silently treated
1.20453 - as 'x'. The following induces an error, until -std is added to get
1.20454 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.20455 - array size at least. It's necessary to write '\x00'==0 to get something
1.20456 - that's true only with -std. */
1.20457 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.20458 -
1.20459 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.20460 - inside strings and character constants. */
1.20461 -#define FOO(x) 'x'
1.20462 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.20463 -
1.20464 -int test (int i, double x);
1.20465 -struct s1 {int (*f) (int a);};
1.20466 -struct s2 {int (*f) (double a);};
1.20467 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.20468 -int argc;
1.20469 -char **argv;
1.20470 -int
1.20471 -main ()
1.20472 -{
1.20473 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.20474 - ;
1.20475 - return 0;
1.20476 -}
1.20477 -_ACEOF
1.20478 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.20479 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.20480 -do
1.20481 - CC="$ac_save_CC $ac_arg"
1.20482 - rm -f conftest.$ac_objext
1.20483 -if { (ac_try="$ac_compile"
1.20484 -case "(($ac_try" in
1.20485 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20486 - *) ac_try_echo=$ac_try;;
1.20487 -esac
1.20488 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20489 - (eval "$ac_compile") 2>conftest.er1
1.20490 - ac_status=$?
1.20491 - grep -v '^ *+' conftest.er1 >conftest.err
1.20492 - rm -f conftest.er1
1.20493 - cat conftest.err >&5
1.20494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20495 - (exit $ac_status); } && {
1.20496 - test -z "$ac_c_werror_flag" ||
1.20497 - test ! -s conftest.err
1.20498 - } && test -s conftest.$ac_objext; then
1.20499 - ac_cv_prog_cc_c89=$ac_arg
1.20500 -else
1.20501 - echo "$as_me: failed program was:" >&5
1.20502 -sed 's/^/| /' conftest.$ac_ext >&5
1.20503 -
1.20504 -
1.20505 -fi
1.20506 -
1.20507 -rm -f core conftest.err conftest.$ac_objext
1.20508 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.20509 -done
1.20510 -rm -f conftest.$ac_ext
1.20511 -CC=$ac_save_CC
1.20512 -
1.20513 -fi
1.20514 -# AC_CACHE_VAL
1.20515 -case "x$ac_cv_prog_cc_c89" in
1.20516 - x)
1.20517 - { echo "$as_me:$LINENO: result: none needed" >&5
1.20518 -echo "${ECHO_T}none needed" >&6; } ;;
1.20519 - xno)
1.20520 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.20521 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20522 - *)
1.20523 - CC="$CC $ac_cv_prog_cc_c89"
1.20524 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.20525 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.20526 -esac
1.20527 -
1.20528 -
1.20529 -ac_ext=c
1.20530 -ac_cpp='$CPP $CPPFLAGS'
1.20531 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.20532 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.20533 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.20534 -
1.20535 -depcc="$CC" am_compiler_list=
1.20536 -
1.20537 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.20538 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.20539 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.20540 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20541 -else
1.20542 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.20543 - # We make a subdir and do the tests there. Otherwise we can end up
1.20544 - # making bogus files that we don't know about and never remove. For
1.20545 - # instance it was reported that on HP-UX the gcc test will end up
1.20546 - # making a dummy file named `D' -- because `-MD' means `put the output
1.20547 - # in D'.
1.20548 - mkdir conftest.dir
1.20549 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.20550 - # using a relative directory.
1.20551 - cp "$am_depcomp" conftest.dir
1.20552 - cd conftest.dir
1.20553 - # We will build objects and dependencies in a subdirectory because
1.20554 - # it helps to detect inapplicable dependency modes. For instance
1.20555 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.20556 - # side effect of compilation, but ICC will put the dependencies in
1.20557 - # the current directory while Tru64 will put them in the object
1.20558 - # directory.
1.20559 - mkdir sub
1.20560 -
1.20561 - am_cv_CC_dependencies_compiler_type=none
1.20562 - if test "$am_compiler_list" = ""; then
1.20563 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.20564 - fi
1.20565 - for depmode in $am_compiler_list; do
1.20566 - # Setup a source with many dependencies, because some compilers
1.20567 - # like to wrap large dependency lists on column 80 (with \), and
1.20568 - # we should not choose a depcomp mode which is confused by this.
1.20569 - #
1.20570 - # We need to recreate these files for each test, as the compiler may
1.20571 - # overwrite some of them when testing with obscure command lines.
1.20572 - # This happens at least with the AIX C compiler.
1.20573 - : > sub/conftest.c
1.20574 - for i in 1 2 3 4 5 6; do
1.20575 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.20576 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.20577 - # Solaris 8's {/usr,}/bin/sh.
1.20578 - touch sub/conftst$i.h
1.20579 - done
1.20580 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.20581 -
1.20582 - case $depmode in
1.20583 - nosideeffect)
1.20584 - # after this tag, mechanisms are not by side-effect, so they'll
1.20585 - # only be used when explicitly requested
1.20586 - if test "x$enable_dependency_tracking" = xyes; then
1.20587 - continue
1.20588 - else
1.20589 - break
1.20590 - fi
1.20591 - ;;
1.20592 - none) break ;;
1.20593 - esac
1.20594 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.20595 - # mode. It turns out that the SunPro C++ compiler does not properly
1.20596 - # handle `-M -o', and we need to detect this.
1.20597 - if depmode=$depmode \
1.20598 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.20599 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.20600 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.20601 - >/dev/null 2>conftest.err &&
1.20602 - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.20603 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.20604 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.20605 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.20606 - # icc doesn't choke on unknown options, it will just issue warnings
1.20607 - # or remarks (even with -Werror). So we grep stderr for any message
1.20608 - # that says an option was ignored or not supported.
1.20609 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.20610 - # icc: Command line warning: ignoring option '-M'; no argument required
1.20611 - # The diagnosis changed in icc 8.0:
1.20612 - # icc: Command line remark: option '-MP' not supported
1.20613 - if (grep 'ignoring option' conftest.err ||
1.20614 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.20615 - am_cv_CC_dependencies_compiler_type=$depmode
1.20616 - break
1.20617 - fi
1.20618 - fi
1.20619 - done
1.20620 -
1.20621 - cd ..
1.20622 - rm -rf conftest.dir
1.20623 -else
1.20624 - am_cv_CC_dependencies_compiler_type=none
1.20625 -fi
1.20626 -
1.20627 -fi
1.20628 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.20629 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.20630 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.20631 -
1.20632 - if
1.20633 - test "x$enable_dependency_tracking" != xno \
1.20634 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.20635 - am__fastdepCC_TRUE=
1.20636 - am__fastdepCC_FALSE='#'
1.20637 -else
1.20638 - am__fastdepCC_TRUE='#'
1.20639 - am__fastdepCC_FALSE=
1.20640 -fi
1.20641 -
1.20642 -
1.20643 - case $ac_cv_prog_cc_stdc in
1.20644 - no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
1.20645 - *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
1.20646 -echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
1.20647 -if test "${ac_cv_prog_cc_c99+set}" = set; then
1.20648 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20649 -else
1.20650 - ac_cv_prog_cc_c99=no
1.20651 -ac_save_CC=$CC
1.20652 -cat >conftest.$ac_ext <<_ACEOF
1.20653 -/* confdefs.h. */
1.20654 -_ACEOF
1.20655 -cat confdefs.h >>conftest.$ac_ext
1.20656 -cat >>conftest.$ac_ext <<_ACEOF
1.20657 -/* end confdefs.h. */
1.20658 -#include <stdarg.h>
1.20659 -#include <stdbool.h>
1.20660 -#include <stdlib.h>
1.20661 -#include <wchar.h>
1.20662 -#include <stdio.h>
1.20663 -
1.20664 -// Check varargs macros. These examples are taken from C99 6.10.3.5.
1.20665 -#define debug(...) fprintf (stderr, __VA_ARGS__)
1.20666 -#define showlist(...) puts (#__VA_ARGS__)
1.20667 -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1.20668 -static void
1.20669 -test_varargs_macros (void)
1.20670 -{
1.20671 - int x = 1234;
1.20672 - int y = 5678;
1.20673 - debug ("Flag");
1.20674 - debug ("X = %d\n", x);
1.20675 - showlist (The first, second, and third items.);
1.20676 - report (x>y, "x is %d but y is %d", x, y);
1.20677 -}
1.20678 -
1.20679 -// Check long long types.
1.20680 -#define BIG64 18446744073709551615ull
1.20681 -#define BIG32 4294967295ul
1.20682 -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1.20683 -#if !BIG_OK
1.20684 - your preprocessor is broken;
1.20685 -#endif
1.20686 -#if BIG_OK
1.20687 -#else
1.20688 - your preprocessor is broken;
1.20689 -#endif
1.20690 -static long long int bignum = -9223372036854775807LL;
1.20691 -static unsigned long long int ubignum = BIG64;
1.20692 -
1.20693 -struct incomplete_array
1.20694 -{
1.20695 - int datasize;
1.20696 - double data[];
1.20697 -};
1.20698 -
1.20699 -struct named_init {
1.20700 - int number;
1.20701 - const wchar_t *name;
1.20702 - double average;
1.20703 -};
1.20704 -
1.20705 -typedef const char *ccp;
1.20706 -
1.20707 -static inline int
1.20708 -test_restrict (ccp restrict text)
1.20709 -{
1.20710 - // See if C++-style comments work.
1.20711 - // Iterate through items via the restricted pointer.
1.20712 - // Also check for declarations in for loops.
1.20713 - for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1.20714 - continue;
1.20715 - return 0;
1.20716 -}
1.20717 -
1.20718 -// Check varargs and va_copy.
1.20719 -static void
1.20720 -test_varargs (const char *format, ...)
1.20721 -{
1.20722 - va_list args;
1.20723 - va_start (args, format);
1.20724 - va_list args_copy;
1.20725 - va_copy (args_copy, args);
1.20726 -
1.20727 - const char *str;
1.20728 - int number;
1.20729 - float fnumber;
1.20730 -
1.20731 - while (*format)
1.20732 - {
1.20733 - switch (*format++)
1.20734 - {
1.20735 - case 's': // string
1.20736 - str = va_arg (args_copy, const char *);
1.20737 - break;
1.20738 - case 'd': // int
1.20739 - number = va_arg (args_copy, int);
1.20740 - break;
1.20741 - case 'f': // float
1.20742 - fnumber = va_arg (args_copy, double);
1.20743 - break;
1.20744 - default:
1.20745 - break;
1.20746 - }
1.20747 - }
1.20748 - va_end (args_copy);
1.20749 - va_end (args);
1.20750 -}
1.20751 -
1.20752 -int
1.20753 -main ()
1.20754 -{
1.20755 -
1.20756 - // Check bool.
1.20757 - _Bool success = false;
1.20758 -
1.20759 - // Check restrict.
1.20760 - if (test_restrict ("String literal") == 0)
1.20761 - success = true;
1.20762 - char *restrict newvar = "Another string";
1.20763 -
1.20764 - // Check varargs.
1.20765 - test_varargs ("s, d' f .", "string", 65, 34.234);
1.20766 - test_varargs_macros ();
1.20767 -
1.20768 - // Check flexible array members.
1.20769 - struct incomplete_array *ia =
1.20770 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1.20771 - ia->datasize = 10;
1.20772 - for (int i = 0; i < ia->datasize; ++i)
1.20773 - ia->data[i] = i * 1.234;
1.20774 -
1.20775 - // Check named initializers.
1.20776 - struct named_init ni = {
1.20777 - .number = 34,
1.20778 - .name = L"Test wide string",
1.20779 - .average = 543.34343,
1.20780 - };
1.20781 -
1.20782 - ni.number = 58;
1.20783 -
1.20784 - int dynamic_array[ni.number];
1.20785 - dynamic_array[ni.number - 1] = 543;
1.20786 -
1.20787 - // work around unused variable warnings
1.20788 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1.20789 - || dynamic_array[ni.number - 1] != 543);
1.20790 -
1.20791 - ;
1.20792 - return 0;
1.20793 -}
1.20794 -_ACEOF
1.20795 -for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
1.20796 -do
1.20797 - CC="$ac_save_CC $ac_arg"
1.20798 - rm -f conftest.$ac_objext
1.20799 -if { (ac_try="$ac_compile"
1.20800 -case "(($ac_try" in
1.20801 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20802 - *) ac_try_echo=$ac_try;;
1.20803 -esac
1.20804 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20805 - (eval "$ac_compile") 2>conftest.er1
1.20806 - ac_status=$?
1.20807 - grep -v '^ *+' conftest.er1 >conftest.err
1.20808 - rm -f conftest.er1
1.20809 - cat conftest.err >&5
1.20810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20811 - (exit $ac_status); } && {
1.20812 - test -z "$ac_c_werror_flag" ||
1.20813 - test ! -s conftest.err
1.20814 - } && test -s conftest.$ac_objext; then
1.20815 - ac_cv_prog_cc_c99=$ac_arg
1.20816 -else
1.20817 - echo "$as_me: failed program was:" >&5
1.20818 -sed 's/^/| /' conftest.$ac_ext >&5
1.20819 -
1.20820 -
1.20821 -fi
1.20822 -
1.20823 -rm -f core conftest.err conftest.$ac_objext
1.20824 - test "x$ac_cv_prog_cc_c99" != "xno" && break
1.20825 -done
1.20826 -rm -f conftest.$ac_ext
1.20827 -CC=$ac_save_CC
1.20828 -
1.20829 -fi
1.20830 -# AC_CACHE_VAL
1.20831 -case "x$ac_cv_prog_cc_c99" in
1.20832 - x)
1.20833 - { echo "$as_me:$LINENO: result: none needed" >&5
1.20834 -echo "${ECHO_T}none needed" >&6; } ;;
1.20835 - xno)
1.20836 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.20837 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20838 - *)
1.20839 - CC="$CC $ac_cv_prog_cc_c99"
1.20840 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
1.20841 -echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
1.20842 -esac
1.20843 -if test "x$ac_cv_prog_cc_c99" != xno; then
1.20844 - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
1.20845 -else
1.20846 - { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.20847 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.20848 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.20849 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20850 -else
1.20851 - ac_cv_prog_cc_c89=no
1.20852 -ac_save_CC=$CC
1.20853 -cat >conftest.$ac_ext <<_ACEOF
1.20854 -/* confdefs.h. */
1.20855 -_ACEOF
1.20856 -cat confdefs.h >>conftest.$ac_ext
1.20857 -cat >>conftest.$ac_ext <<_ACEOF
1.20858 -/* end confdefs.h. */
1.20859 -#include <stdarg.h>
1.20860 -#include <stdio.h>
1.20861 -#include <sys/types.h>
1.20862 -#include <sys/stat.h>
1.20863 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.20864 -struct buf { int x; };
1.20865 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.20866 -static char *e (p, i)
1.20867 - char **p;
1.20868 - int i;
1.20869 -{
1.20870 - return p[i];
1.20871 -}
1.20872 -static char *f (char * (*g) (char **, int), char **p, ...)
1.20873 -{
1.20874 - char *s;
1.20875 - va_list v;
1.20876 - va_start (v,p);
1.20877 - s = g (p, va_arg (v,int));
1.20878 - va_end (v);
1.20879 - return s;
1.20880 -}
1.20881 -
1.20882 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.20883 - function prototypes and stuff, but not '\xHH' hex character constants.
1.20884 - These don't provoke an error unfortunately, instead are silently treated
1.20885 - as 'x'. The following induces an error, until -std is added to get
1.20886 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.20887 - array size at least. It's necessary to write '\x00'==0 to get something
1.20888 - that's true only with -std. */
1.20889 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.20890 -
1.20891 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.20892 - inside strings and character constants. */
1.20893 -#define FOO(x) 'x'
1.20894 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.20895 -
1.20896 -int test (int i, double x);
1.20897 -struct s1 {int (*f) (int a);};
1.20898 -struct s2 {int (*f) (double a);};
1.20899 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.20900 -int argc;
1.20901 -char **argv;
1.20902 -int
1.20903 -main ()
1.20904 -{
1.20905 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.20906 - ;
1.20907 - return 0;
1.20908 -}
1.20909 -_ACEOF
1.20910 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.20911 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.20912 -do
1.20913 - CC="$ac_save_CC $ac_arg"
1.20914 - rm -f conftest.$ac_objext
1.20915 -if { (ac_try="$ac_compile"
1.20916 -case "(($ac_try" in
1.20917 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.20918 - *) ac_try_echo=$ac_try;;
1.20919 -esac
1.20920 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.20921 - (eval "$ac_compile") 2>conftest.er1
1.20922 - ac_status=$?
1.20923 - grep -v '^ *+' conftest.er1 >conftest.err
1.20924 - rm -f conftest.er1
1.20925 - cat conftest.err >&5
1.20926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20927 - (exit $ac_status); } && {
1.20928 - test -z "$ac_c_werror_flag" ||
1.20929 - test ! -s conftest.err
1.20930 - } && test -s conftest.$ac_objext; then
1.20931 - ac_cv_prog_cc_c89=$ac_arg
1.20932 -else
1.20933 - echo "$as_me: failed program was:" >&5
1.20934 -sed 's/^/| /' conftest.$ac_ext >&5
1.20935 -
1.20936 -
1.20937 -fi
1.20938 -
1.20939 -rm -f core conftest.err conftest.$ac_objext
1.20940 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.20941 -done
1.20942 -rm -f conftest.$ac_ext
1.20943 -CC=$ac_save_CC
1.20944 -
1.20945 -fi
1.20946 -# AC_CACHE_VAL
1.20947 -case "x$ac_cv_prog_cc_c89" in
1.20948 - x)
1.20949 - { echo "$as_me:$LINENO: result: none needed" >&5
1.20950 -echo "${ECHO_T}none needed" >&6; } ;;
1.20951 - xno)
1.20952 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.20953 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20954 - *)
1.20955 - CC="$CC $ac_cv_prog_cc_c89"
1.20956 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.20957 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.20958 -esac
1.20959 -if test "x$ac_cv_prog_cc_c89" != xno; then
1.20960 - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
1.20961 -else
1.20962 - ac_cv_prog_cc_stdc=no
1.20963 -fi
1.20964 -
1.20965 -
1.20966 -fi
1.20967 -
1.20968 - ;;
1.20969 -esac
1.20970 - { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
1.20971 -echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
1.20972 - if test "${ac_cv_prog_cc_stdc+set}" = set; then
1.20973 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20974 -fi
1.20975 -
1.20976 - case $ac_cv_prog_cc_stdc in
1.20977 - no) { echo "$as_me:$LINENO: result: unsupported" >&5
1.20978 -echo "${ECHO_T}unsupported" >&6; } ;;
1.20979 - '') { echo "$as_me:$LINENO: result: none needed" >&5
1.20980 -echo "${ECHO_T}none needed" >&6; } ;;
1.20981 - *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1.20982 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
1.20983 -esac
1.20984 -
1.20985 -
1.20986 -# By default we simply use the C compiler to build assembly code.
1.20987 -
1.20988 -test "${CCAS+set}" = set || CCAS=$CC
1.20989 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
1.20990 -
1.20991 -
1.20992 -
1.20993 -depcc="$CCAS" am_compiler_list=
1.20994 -
1.20995 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.20996 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.20997 -if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
1.20998 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20999 -else
1.21000 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.21001 - # We make a subdir and do the tests there. Otherwise we can end up
1.21002 - # making bogus files that we don't know about and never remove. For
1.21003 - # instance it was reported that on HP-UX the gcc test will end up
1.21004 - # making a dummy file named `D' -- because `-MD' means `put the output
1.21005 - # in D'.
1.21006 - mkdir conftest.dir
1.21007 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.21008 - # using a relative directory.
1.21009 - cp "$am_depcomp" conftest.dir
1.21010 - cd conftest.dir
1.21011 - # We will build objects and dependencies in a subdirectory because
1.21012 - # it helps to detect inapplicable dependency modes. For instance
1.21013 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.21014 - # side effect of compilation, but ICC will put the dependencies in
1.21015 - # the current directory while Tru64 will put them in the object
1.21016 - # directory.
1.21017 - mkdir sub
1.21018 -
1.21019 - am_cv_CCAS_dependencies_compiler_type=none
1.21020 - if test "$am_compiler_list" = ""; then
1.21021 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.21022 - fi
1.21023 - for depmode in $am_compiler_list; do
1.21024 - # Setup a source with many dependencies, because some compilers
1.21025 - # like to wrap large dependency lists on column 80 (with \), and
1.21026 - # we should not choose a depcomp mode which is confused by this.
1.21027 - #
1.21028 - # We need to recreate these files for each test, as the compiler may
1.21029 - # overwrite some of them when testing with obscure command lines.
1.21030 - # This happens at least with the AIX C compiler.
1.21031 - : > sub/conftest.c
1.21032 - for i in 1 2 3 4 5 6; do
1.21033 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.21034 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.21035 - # Solaris 8's {/usr,}/bin/sh.
1.21036 - touch sub/conftst$i.h
1.21037 - done
1.21038 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.21039 -
1.21040 - case $depmode in
1.21041 - nosideeffect)
1.21042 - # after this tag, mechanisms are not by side-effect, so they'll
1.21043 - # only be used when explicitly requested
1.21044 - if test "x$enable_dependency_tracking" = xyes; then
1.21045 - continue
1.21046 - else
1.21047 - break
1.21048 - fi
1.21049 - ;;
1.21050 - none) break ;;
1.21051 - esac
1.21052 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.21053 - # mode. It turns out that the SunPro C++ compiler does not properly
1.21054 - # handle `-M -o', and we need to detect this.
1.21055 - if depmode=$depmode \
1.21056 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.21057 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.21058 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.21059 - >/dev/null 2>conftest.err &&
1.21060 - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.21061 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.21062 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.21063 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.21064 - # icc doesn't choke on unknown options, it will just issue warnings
1.21065 - # or remarks (even with -Werror). So we grep stderr for any message
1.21066 - # that says an option was ignored or not supported.
1.21067 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.21068 - # icc: Command line warning: ignoring option '-M'; no argument required
1.21069 - # The diagnosis changed in icc 8.0:
1.21070 - # icc: Command line remark: option '-MP' not supported
1.21071 - if (grep 'ignoring option' conftest.err ||
1.21072 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.21073 - am_cv_CCAS_dependencies_compiler_type=$depmode
1.21074 - break
1.21075 - fi
1.21076 - fi
1.21077 - done
1.21078 -
1.21079 - cd ..
1.21080 - rm -rf conftest.dir
1.21081 -else
1.21082 - am_cv_CCAS_dependencies_compiler_type=none
1.21083 -fi
1.21084 -
1.21085 -fi
1.21086 -{ echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
1.21087 -echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
1.21088 -CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
1.21089 -
1.21090 - if
1.21091 - test "x$enable_dependency_tracking" != xno \
1.21092 - && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
1.21093 - am__fastdepCCAS_TRUE=
1.21094 - am__fastdepCCAS_FALSE='#'
1.21095 -else
1.21096 - am__fastdepCCAS_TRUE='#'
1.21097 - am__fastdepCCAS_FALSE=
1.21098 -fi
1.21099 -
1.21100 -
1.21101 -
1.21102 -
1.21103 - { echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
1.21104 -echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6; }
1.21105 -
1.21106 - save_CFLAGS="$CFLAGS"
1.21107 - CFLAGS="$CFLAGS -Wall"
1.21108 -
1.21109 - cat >conftest.$ac_ext <<_ACEOF
1.21110 -/* confdefs.h. */
1.21111 -_ACEOF
1.21112 -cat confdefs.h >>conftest.$ac_ext
1.21113 -cat >>conftest.$ac_ext <<_ACEOF
1.21114 -/* end confdefs.h. */
1.21115 -
1.21116 -int
1.21117 -main ()
1.21118 -{
1.21119 -
1.21120 - ;
1.21121 - return 0;
1.21122 -}
1.21123 -_ACEOF
1.21124 -rm -f conftest.$ac_objext
1.21125 -if { (ac_try="$ac_compile"
1.21126 -case "(($ac_try" in
1.21127 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21128 - *) ac_try_echo=$ac_try;;
1.21129 -esac
1.21130 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21131 - (eval "$ac_compile") 2>conftest.er1
1.21132 - ac_status=$?
1.21133 - grep -v '^ *+' conftest.er1 >conftest.err
1.21134 - rm -f conftest.er1
1.21135 - cat conftest.err >&5
1.21136 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21137 - (exit $ac_status); } && {
1.21138 - test -z "$ac_c_werror_flag" ||
1.21139 - test ! -s conftest.err
1.21140 - } && test -s conftest.$ac_objext; then
1.21141 - flag_ok=yes
1.21142 -else
1.21143 - echo "$as_me: failed program was:" >&5
1.21144 -sed 's/^/| /' conftest.$ac_ext >&5
1.21145 -
1.21146 - flag_ok=no
1.21147 -fi
1.21148 -
1.21149 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21150 - CFLAGS="$save_CFLAGS"
1.21151 -
1.21152 - if test "X$flag_ok" = Xyes ; then
1.21153 - GST_WALL="yes"
1.21154 - true
1.21155 - else
1.21156 - GST_WALL="no"
1.21157 - true
1.21158 - fi
1.21159 - { echo "$as_me:$LINENO: result: $flag_ok" >&5
1.21160 -echo "${ECHO_T}$flag_ok" >&6; }
1.21161 -
1.21162 -
1.21163 -if test "x$GST_WALL" = "xyes"; then
1.21164 - ERROR_CFLAGS="$GST_ERROR -Wall"
1.21165 -
1.21166 - if test "x$GST_CVS" = "xyes"; then
1.21167 -
1.21168 - { echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
1.21169 -echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6; }
1.21170 -
1.21171 - save_CFLAGS="$CFLAGS"
1.21172 - CFLAGS="$CFLAGS -Werror"
1.21173 -
1.21174 - cat >conftest.$ac_ext <<_ACEOF
1.21175 -/* confdefs.h. */
1.21176 -_ACEOF
1.21177 -cat confdefs.h >>conftest.$ac_ext
1.21178 -cat >>conftest.$ac_ext <<_ACEOF
1.21179 -/* end confdefs.h. */
1.21180 -
1.21181 -int
1.21182 -main ()
1.21183 -{
1.21184 -
1.21185 - ;
1.21186 - return 0;
1.21187 -}
1.21188 -_ACEOF
1.21189 -rm -f conftest.$ac_objext
1.21190 -if { (ac_try="$ac_compile"
1.21191 -case "(($ac_try" in
1.21192 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21193 - *) ac_try_echo=$ac_try;;
1.21194 -esac
1.21195 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21196 - (eval "$ac_compile") 2>conftest.er1
1.21197 - ac_status=$?
1.21198 - grep -v '^ *+' conftest.er1 >conftest.err
1.21199 - rm -f conftest.er1
1.21200 - cat conftest.err >&5
1.21201 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21202 - (exit $ac_status); } && {
1.21203 - test -z "$ac_c_werror_flag" ||
1.21204 - test ! -s conftest.err
1.21205 - } && test -s conftest.$ac_objext; then
1.21206 - flag_ok=yes
1.21207 -else
1.21208 - echo "$as_me: failed program was:" >&5
1.21209 -sed 's/^/| /' conftest.$ac_ext >&5
1.21210 -
1.21211 - flag_ok=no
1.21212 -fi
1.21213 -
1.21214 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21215 - CFLAGS="$save_CFLAGS"
1.21216 -
1.21217 - if test "X$flag_ok" = Xyes ; then
1.21218 - ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
1.21219 - true
1.21220 - else
1.21221 - ERROR_CFLAGS="$ERROR_CFLAGS"
1.21222 - true
1.21223 - fi
1.21224 - { echo "$as_me:$LINENO: result: $flag_ok" >&5
1.21225 -echo "${ECHO_T}$flag_ok" >&6; }
1.21226 -
1.21227 - fi
1.21228 -fi
1.21229 -
1.21230 -
1.21231 -
1.21232 -ac_ext=cpp
1.21233 -ac_cpp='$CXXCPP $CPPFLAGS'
1.21234 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21235 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21236 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.21237 -if test -z "$CXX"; then
1.21238 - if test -n "$CCC"; then
1.21239 - CXX=$CCC
1.21240 - else
1.21241 - if test -n "$ac_tool_prefix"; then
1.21242 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.21243 - do
1.21244 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.21245 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.21246 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21247 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.21248 -if test "${ac_cv_prog_CXX+set}" = set; then
1.21249 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21250 -else
1.21251 - if test -n "$CXX"; then
1.21252 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.21253 -else
1.21254 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21255 -for as_dir in $PATH
1.21256 -do
1.21257 - IFS=$as_save_IFS
1.21258 - test -z "$as_dir" && as_dir=.
1.21259 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21260 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.21261 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.21262 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21263 - break 2
1.21264 - fi
1.21265 -done
1.21266 -done
1.21267 -IFS=$as_save_IFS
1.21268 -
1.21269 -fi
1.21270 -fi
1.21271 -CXX=$ac_cv_prog_CXX
1.21272 -if test -n "$CXX"; then
1.21273 - { echo "$as_me:$LINENO: result: $CXX" >&5
1.21274 -echo "${ECHO_T}$CXX" >&6; }
1.21275 -else
1.21276 - { echo "$as_me:$LINENO: result: no" >&5
1.21277 -echo "${ECHO_T}no" >&6; }
1.21278 -fi
1.21279 -
1.21280 -
1.21281 - test -n "$CXX" && break
1.21282 - done
1.21283 -fi
1.21284 -if test -z "$CXX"; then
1.21285 - ac_ct_CXX=$CXX
1.21286 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.21287 -do
1.21288 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.21289 -set dummy $ac_prog; ac_word=$2
1.21290 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21291 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.21292 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.21293 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21294 -else
1.21295 - if test -n "$ac_ct_CXX"; then
1.21296 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.21297 -else
1.21298 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21299 -for as_dir in $PATH
1.21300 -do
1.21301 - IFS=$as_save_IFS
1.21302 - test -z "$as_dir" && as_dir=.
1.21303 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21304 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.21305 - ac_cv_prog_ac_ct_CXX="$ac_prog"
1.21306 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21307 - break 2
1.21308 - fi
1.21309 -done
1.21310 -done
1.21311 -IFS=$as_save_IFS
1.21312 -
1.21313 -fi
1.21314 -fi
1.21315 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1.21316 -if test -n "$ac_ct_CXX"; then
1.21317 - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1.21318 -echo "${ECHO_T}$ac_ct_CXX" >&6; }
1.21319 -else
1.21320 - { echo "$as_me:$LINENO: result: no" >&5
1.21321 -echo "${ECHO_T}no" >&6; }
1.21322 -fi
1.21323 -
1.21324 -
1.21325 - test -n "$ac_ct_CXX" && break
1.21326 -done
1.21327 -
1.21328 - if test "x$ac_ct_CXX" = x; then
1.21329 - CXX="g++"
1.21330 - else
1.21331 - case $cross_compiling:$ac_tool_warned in
1.21332 -yes:)
1.21333 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.21334 -whose name does not start with the host triplet. If you think this
1.21335 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.21336 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.21337 -whose name does not start with the host triplet. If you think this
1.21338 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.21339 -ac_tool_warned=yes ;;
1.21340 -esac
1.21341 - CXX=$ac_ct_CXX
1.21342 - fi
1.21343 -fi
1.21344 -
1.21345 - fi
1.21346 -fi
1.21347 -# Provide some information about the compiler.
1.21348 -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
1.21349 -ac_compiler=`set X $ac_compile; echo $2`
1.21350 -{ (ac_try="$ac_compiler --version >&5"
1.21351 -case "(($ac_try" in
1.21352 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21353 - *) ac_try_echo=$ac_try;;
1.21354 -esac
1.21355 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21356 - (eval "$ac_compiler --version >&5") 2>&5
1.21357 - ac_status=$?
1.21358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21359 - (exit $ac_status); }
1.21360 -{ (ac_try="$ac_compiler -v >&5"
1.21361 -case "(($ac_try" in
1.21362 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21363 - *) ac_try_echo=$ac_try;;
1.21364 -esac
1.21365 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21366 - (eval "$ac_compiler -v >&5") 2>&5
1.21367 - ac_status=$?
1.21368 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21369 - (exit $ac_status); }
1.21370 -{ (ac_try="$ac_compiler -V >&5"
1.21371 -case "(($ac_try" in
1.21372 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21373 - *) ac_try_echo=$ac_try;;
1.21374 -esac
1.21375 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21376 - (eval "$ac_compiler -V >&5") 2>&5
1.21377 - ac_status=$?
1.21378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21379 - (exit $ac_status); }
1.21380 -
1.21381 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1.21382 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
1.21383 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.21384 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21385 -else
1.21386 - cat >conftest.$ac_ext <<_ACEOF
1.21387 -/* confdefs.h. */
1.21388 -_ACEOF
1.21389 -cat confdefs.h >>conftest.$ac_ext
1.21390 -cat >>conftest.$ac_ext <<_ACEOF
1.21391 -/* end confdefs.h. */
1.21392 -
1.21393 -int
1.21394 -main ()
1.21395 -{
1.21396 -#ifndef __GNUC__
1.21397 - choke me
1.21398 -#endif
1.21399 -
1.21400 - ;
1.21401 - return 0;
1.21402 -}
1.21403 -_ACEOF
1.21404 -rm -f conftest.$ac_objext
1.21405 -if { (ac_try="$ac_compile"
1.21406 -case "(($ac_try" in
1.21407 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21408 - *) ac_try_echo=$ac_try;;
1.21409 -esac
1.21410 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21411 - (eval "$ac_compile") 2>conftest.er1
1.21412 - ac_status=$?
1.21413 - grep -v '^ *+' conftest.er1 >conftest.err
1.21414 - rm -f conftest.er1
1.21415 - cat conftest.err >&5
1.21416 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21417 - (exit $ac_status); } && {
1.21418 - test -z "$ac_cxx_werror_flag" ||
1.21419 - test ! -s conftest.err
1.21420 - } && test -s conftest.$ac_objext; then
1.21421 - ac_compiler_gnu=yes
1.21422 -else
1.21423 - echo "$as_me: failed program was:" >&5
1.21424 -sed 's/^/| /' conftest.$ac_ext >&5
1.21425 -
1.21426 - ac_compiler_gnu=no
1.21427 -fi
1.21428 -
1.21429 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21430 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.21431 -
1.21432 -fi
1.21433 -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1.21434 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
1.21435 -GXX=`test $ac_compiler_gnu = yes && echo yes`
1.21436 -ac_test_CXXFLAGS=${CXXFLAGS+set}
1.21437 -ac_save_CXXFLAGS=$CXXFLAGS
1.21438 -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1.21439 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
1.21440 -if test "${ac_cv_prog_cxx_g+set}" = set; then
1.21441 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21442 -else
1.21443 - ac_save_cxx_werror_flag=$ac_cxx_werror_flag
1.21444 - ac_cxx_werror_flag=yes
1.21445 - ac_cv_prog_cxx_g=no
1.21446 - CXXFLAGS="-g"
1.21447 - cat >conftest.$ac_ext <<_ACEOF
1.21448 -/* confdefs.h. */
1.21449 -_ACEOF
1.21450 -cat confdefs.h >>conftest.$ac_ext
1.21451 -cat >>conftest.$ac_ext <<_ACEOF
1.21452 -/* end confdefs.h. */
1.21453 -
1.21454 -int
1.21455 -main ()
1.21456 -{
1.21457 -
1.21458 - ;
1.21459 - return 0;
1.21460 -}
1.21461 -_ACEOF
1.21462 -rm -f conftest.$ac_objext
1.21463 -if { (ac_try="$ac_compile"
1.21464 -case "(($ac_try" in
1.21465 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21466 - *) ac_try_echo=$ac_try;;
1.21467 -esac
1.21468 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21469 - (eval "$ac_compile") 2>conftest.er1
1.21470 - ac_status=$?
1.21471 - grep -v '^ *+' conftest.er1 >conftest.err
1.21472 - rm -f conftest.er1
1.21473 - cat conftest.err >&5
1.21474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21475 - (exit $ac_status); } && {
1.21476 - test -z "$ac_cxx_werror_flag" ||
1.21477 - test ! -s conftest.err
1.21478 - } && test -s conftest.$ac_objext; then
1.21479 - ac_cv_prog_cxx_g=yes
1.21480 -else
1.21481 - echo "$as_me: failed program was:" >&5
1.21482 -sed 's/^/| /' conftest.$ac_ext >&5
1.21483 -
1.21484 - CXXFLAGS=""
1.21485 - cat >conftest.$ac_ext <<_ACEOF
1.21486 -/* confdefs.h. */
1.21487 -_ACEOF
1.21488 -cat confdefs.h >>conftest.$ac_ext
1.21489 -cat >>conftest.$ac_ext <<_ACEOF
1.21490 -/* end confdefs.h. */
1.21491 -
1.21492 -int
1.21493 -main ()
1.21494 -{
1.21495 -
1.21496 - ;
1.21497 - return 0;
1.21498 -}
1.21499 -_ACEOF
1.21500 -rm -f conftest.$ac_objext
1.21501 -if { (ac_try="$ac_compile"
1.21502 -case "(($ac_try" in
1.21503 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21504 - *) ac_try_echo=$ac_try;;
1.21505 -esac
1.21506 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21507 - (eval "$ac_compile") 2>conftest.er1
1.21508 - ac_status=$?
1.21509 - grep -v '^ *+' conftest.er1 >conftest.err
1.21510 - rm -f conftest.er1
1.21511 - cat conftest.err >&5
1.21512 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21513 - (exit $ac_status); } && {
1.21514 - test -z "$ac_cxx_werror_flag" ||
1.21515 - test ! -s conftest.err
1.21516 - } && test -s conftest.$ac_objext; then
1.21517 - :
1.21518 -else
1.21519 - echo "$as_me: failed program was:" >&5
1.21520 -sed 's/^/| /' conftest.$ac_ext >&5
1.21521 -
1.21522 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.21523 - CXXFLAGS="-g"
1.21524 - cat >conftest.$ac_ext <<_ACEOF
1.21525 -/* confdefs.h. */
1.21526 -_ACEOF
1.21527 -cat confdefs.h >>conftest.$ac_ext
1.21528 -cat >>conftest.$ac_ext <<_ACEOF
1.21529 -/* end confdefs.h. */
1.21530 -
1.21531 -int
1.21532 -main ()
1.21533 -{
1.21534 -
1.21535 - ;
1.21536 - return 0;
1.21537 -}
1.21538 -_ACEOF
1.21539 -rm -f conftest.$ac_objext
1.21540 -if { (ac_try="$ac_compile"
1.21541 -case "(($ac_try" in
1.21542 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21543 - *) ac_try_echo=$ac_try;;
1.21544 -esac
1.21545 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21546 - (eval "$ac_compile") 2>conftest.er1
1.21547 - ac_status=$?
1.21548 - grep -v '^ *+' conftest.er1 >conftest.err
1.21549 - rm -f conftest.er1
1.21550 - cat conftest.err >&5
1.21551 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21552 - (exit $ac_status); } && {
1.21553 - test -z "$ac_cxx_werror_flag" ||
1.21554 - test ! -s conftest.err
1.21555 - } && test -s conftest.$ac_objext; then
1.21556 - ac_cv_prog_cxx_g=yes
1.21557 -else
1.21558 - echo "$as_me: failed program was:" >&5
1.21559 -sed 's/^/| /' conftest.$ac_ext >&5
1.21560 -
1.21561 -
1.21562 -fi
1.21563 -
1.21564 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21565 -fi
1.21566 -
1.21567 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21568 -fi
1.21569 -
1.21570 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.21571 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.21572 -fi
1.21573 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1.21574 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
1.21575 -if test "$ac_test_CXXFLAGS" = set; then
1.21576 - CXXFLAGS=$ac_save_CXXFLAGS
1.21577 -elif test $ac_cv_prog_cxx_g = yes; then
1.21578 - if test "$GXX" = yes; then
1.21579 - CXXFLAGS="-g -O2"
1.21580 - else
1.21581 - CXXFLAGS="-g"
1.21582 - fi
1.21583 -else
1.21584 - if test "$GXX" = yes; then
1.21585 - CXXFLAGS="-O2"
1.21586 - else
1.21587 - CXXFLAGS=
1.21588 - fi
1.21589 -fi
1.21590 -ac_ext=c
1.21591 -ac_cpp='$CPP $CPPFLAGS'
1.21592 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21593 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21594 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.21595 -
1.21596 -depcc="$CXX" am_compiler_list=
1.21597 -
1.21598 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.21599 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.21600 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.21601 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21602 -else
1.21603 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.21604 - # We make a subdir and do the tests there. Otherwise we can end up
1.21605 - # making bogus files that we don't know about and never remove. For
1.21606 - # instance it was reported that on HP-UX the gcc test will end up
1.21607 - # making a dummy file named `D' -- because `-MD' means `put the output
1.21608 - # in D'.
1.21609 - mkdir conftest.dir
1.21610 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.21611 - # using a relative directory.
1.21612 - cp "$am_depcomp" conftest.dir
1.21613 - cd conftest.dir
1.21614 - # We will build objects and dependencies in a subdirectory because
1.21615 - # it helps to detect inapplicable dependency modes. For instance
1.21616 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.21617 - # side effect of compilation, but ICC will put the dependencies in
1.21618 - # the current directory while Tru64 will put them in the object
1.21619 - # directory.
1.21620 - mkdir sub
1.21621 -
1.21622 - am_cv_CXX_dependencies_compiler_type=none
1.21623 - if test "$am_compiler_list" = ""; then
1.21624 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.21625 - fi
1.21626 - for depmode in $am_compiler_list; do
1.21627 - # Setup a source with many dependencies, because some compilers
1.21628 - # like to wrap large dependency lists on column 80 (with \), and
1.21629 - # we should not choose a depcomp mode which is confused by this.
1.21630 - #
1.21631 - # We need to recreate these files for each test, as the compiler may
1.21632 - # overwrite some of them when testing with obscure command lines.
1.21633 - # This happens at least with the AIX C compiler.
1.21634 - : > sub/conftest.c
1.21635 - for i in 1 2 3 4 5 6; do
1.21636 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.21637 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.21638 - # Solaris 8's {/usr,}/bin/sh.
1.21639 - touch sub/conftst$i.h
1.21640 - done
1.21641 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.21642 -
1.21643 - case $depmode in
1.21644 - nosideeffect)
1.21645 - # after this tag, mechanisms are not by side-effect, so they'll
1.21646 - # only be used when explicitly requested
1.21647 - if test "x$enable_dependency_tracking" = xyes; then
1.21648 - continue
1.21649 - else
1.21650 - break
1.21651 - fi
1.21652 - ;;
1.21653 - none) break ;;
1.21654 - esac
1.21655 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.21656 - # mode. It turns out that the SunPro C++ compiler does not properly
1.21657 - # handle `-M -o', and we need to detect this.
1.21658 - if depmode=$depmode \
1.21659 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.21660 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.21661 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.21662 - >/dev/null 2>conftest.err &&
1.21663 - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.21664 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.21665 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.21666 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.21667 - # icc doesn't choke on unknown options, it will just issue warnings
1.21668 - # or remarks (even with -Werror). So we grep stderr for any message
1.21669 - # that says an option was ignored or not supported.
1.21670 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.21671 - # icc: Command line warning: ignoring option '-M'; no argument required
1.21672 - # The diagnosis changed in icc 8.0:
1.21673 - # icc: Command line remark: option '-MP' not supported
1.21674 - if (grep 'ignoring option' conftest.err ||
1.21675 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.21676 - am_cv_CXX_dependencies_compiler_type=$depmode
1.21677 - break
1.21678 - fi
1.21679 - fi
1.21680 - done
1.21681 -
1.21682 - cd ..
1.21683 - rm -rf conftest.dir
1.21684 -else
1.21685 - am_cv_CXX_dependencies_compiler_type=none
1.21686 -fi
1.21687 -
1.21688 -fi
1.21689 -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
1.21690 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
1.21691 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1.21692 -
1.21693 - if
1.21694 - test "x$enable_dependency_tracking" != xno \
1.21695 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
1.21696 - am__fastdepCXX_TRUE=
1.21697 - am__fastdepCXX_FALSE='#'
1.21698 -else
1.21699 - am__fastdepCXX_TRUE='#'
1.21700 - am__fastdepCXX_FALSE=
1.21701 -fi
1.21702 -
1.21703 -
1.21704 -# Extract the first word of "$CXX", so it can be a program name with args.
1.21705 -set dummy $CXX; ac_word=$2
1.21706 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21707 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.21708 -if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
1.21709 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21710 -else
1.21711 - if test -n "$HAVE_CXX"; then
1.21712 - ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
1.21713 -else
1.21714 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21715 -for as_dir in $PATH
1.21716 -do
1.21717 - IFS=$as_save_IFS
1.21718 - test -z "$as_dir" && as_dir=.
1.21719 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21720 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.21721 - ac_cv_prog_HAVE_CXX="yes"
1.21722 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21723 - break 2
1.21724 - fi
1.21725 -done
1.21726 -done
1.21727 -IFS=$as_save_IFS
1.21728 -
1.21729 - test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
1.21730 -fi
1.21731 -fi
1.21732 -HAVE_CXX=$ac_cv_prog_HAVE_CXX
1.21733 -if test -n "$HAVE_CXX"; then
1.21734 - { echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
1.21735 -echo "${ECHO_T}$HAVE_CXX" >&6; }
1.21736 -else
1.21737 - { echo "$as_me:$LINENO: result: no" >&5
1.21738 -echo "${ECHO_T}no" >&6; }
1.21739 -fi
1.21740 -
1.21741 -
1.21742 -ac_ext=cpp
1.21743 -ac_cpp='$CXXCPP $CPPFLAGS'
1.21744 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21745 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21746 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.21747 -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
1.21748 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
1.21749 -if test -z "$CXXCPP"; then
1.21750 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
1.21751 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21752 -else
1.21753 - # Double quotes because CXXCPP needs to be expanded
1.21754 - for CXXCPP in "$CXX -E" "/lib/cpp"
1.21755 - do
1.21756 - ac_preproc_ok=false
1.21757 -for ac_cxx_preproc_warn_flag in '' yes
1.21758 -do
1.21759 - # Use a header file that comes with gcc, so configuring glibc
1.21760 - # with a fresh cross-compiler works.
1.21761 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.21762 - # <limits.h> exists even on freestanding compilers.
1.21763 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.21764 - # not just through cpp. "Syntax error" is here to catch this case.
1.21765 - cat >conftest.$ac_ext <<_ACEOF
1.21766 -/* confdefs.h. */
1.21767 -_ACEOF
1.21768 -cat confdefs.h >>conftest.$ac_ext
1.21769 -cat >>conftest.$ac_ext <<_ACEOF
1.21770 -/* end confdefs.h. */
1.21771 -@%:@ifdef __STDC__
1.21772 -@%:@ include <limits.h>
1.21773 -@%:@else
1.21774 -@%:@ include <assert.h>
1.21775 -@%:@endif
1.21776 - Syntax error
1.21777 -_ACEOF
1.21778 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21779 -case "(($ac_try" in
1.21780 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21781 - *) ac_try_echo=$ac_try;;
1.21782 -esac
1.21783 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21784 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21785 - ac_status=$?
1.21786 - grep -v '^ *+' conftest.er1 >conftest.err
1.21787 - rm -f conftest.er1
1.21788 - cat conftest.err >&5
1.21789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21790 - (exit $ac_status); } >/dev/null && {
1.21791 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21792 - test ! -s conftest.err
1.21793 - }; then
1.21794 - :
1.21795 -else
1.21796 - echo "$as_me: failed program was:" >&5
1.21797 -sed 's/^/| /' conftest.$ac_ext >&5
1.21798 -
1.21799 - # Broken: fails on valid input.
1.21800 -continue
1.21801 -fi
1.21802 -
1.21803 -rm -f conftest.err conftest.$ac_ext
1.21804 -
1.21805 - # OK, works on sane cases. Now check whether nonexistent headers
1.21806 - # can be detected and how.
1.21807 - cat >conftest.$ac_ext <<_ACEOF
1.21808 -/* confdefs.h. */
1.21809 -_ACEOF
1.21810 -cat confdefs.h >>conftest.$ac_ext
1.21811 -cat >>conftest.$ac_ext <<_ACEOF
1.21812 -/* end confdefs.h. */
1.21813 -@%:@include <ac_nonexistent.h>
1.21814 -_ACEOF
1.21815 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21816 -case "(($ac_try" in
1.21817 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21818 - *) ac_try_echo=$ac_try;;
1.21819 -esac
1.21820 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21821 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21822 - ac_status=$?
1.21823 - grep -v '^ *+' conftest.er1 >conftest.err
1.21824 - rm -f conftest.er1
1.21825 - cat conftest.err >&5
1.21826 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21827 - (exit $ac_status); } >/dev/null && {
1.21828 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21829 - test ! -s conftest.err
1.21830 - }; then
1.21831 - # Broken: success on invalid input.
1.21832 -continue
1.21833 -else
1.21834 - echo "$as_me: failed program was:" >&5
1.21835 -sed 's/^/| /' conftest.$ac_ext >&5
1.21836 -
1.21837 - # Passes both tests.
1.21838 -ac_preproc_ok=:
1.21839 -break
1.21840 -fi
1.21841 -
1.21842 -rm -f conftest.err conftest.$ac_ext
1.21843 -
1.21844 -done
1.21845 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.21846 -rm -f conftest.err conftest.$ac_ext
1.21847 -if $ac_preproc_ok; then
1.21848 - break
1.21849 -fi
1.21850 -
1.21851 - done
1.21852 - ac_cv_prog_CXXCPP=$CXXCPP
1.21853 -
1.21854 -fi
1.21855 - CXXCPP=$ac_cv_prog_CXXCPP
1.21856 -else
1.21857 - ac_cv_prog_CXXCPP=$CXXCPP
1.21858 -fi
1.21859 -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
1.21860 -echo "${ECHO_T}$CXXCPP" >&6; }
1.21861 -ac_preproc_ok=false
1.21862 -for ac_cxx_preproc_warn_flag in '' yes
1.21863 -do
1.21864 - # Use a header file that comes with gcc, so configuring glibc
1.21865 - # with a fresh cross-compiler works.
1.21866 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.21867 - # <limits.h> exists even on freestanding compilers.
1.21868 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.21869 - # not just through cpp. "Syntax error" is here to catch this case.
1.21870 - cat >conftest.$ac_ext <<_ACEOF
1.21871 -/* confdefs.h. */
1.21872 -_ACEOF
1.21873 -cat confdefs.h >>conftest.$ac_ext
1.21874 -cat >>conftest.$ac_ext <<_ACEOF
1.21875 -/* end confdefs.h. */
1.21876 -@%:@ifdef __STDC__
1.21877 -@%:@ include <limits.h>
1.21878 -@%:@else
1.21879 -@%:@ include <assert.h>
1.21880 -@%:@endif
1.21881 - Syntax error
1.21882 -_ACEOF
1.21883 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21884 -case "(($ac_try" in
1.21885 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21886 - *) ac_try_echo=$ac_try;;
1.21887 -esac
1.21888 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21889 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21890 - ac_status=$?
1.21891 - grep -v '^ *+' conftest.er1 >conftest.err
1.21892 - rm -f conftest.er1
1.21893 - cat conftest.err >&5
1.21894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21895 - (exit $ac_status); } >/dev/null && {
1.21896 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21897 - test ! -s conftest.err
1.21898 - }; then
1.21899 - :
1.21900 -else
1.21901 - echo "$as_me: failed program was:" >&5
1.21902 -sed 's/^/| /' conftest.$ac_ext >&5
1.21903 -
1.21904 - # Broken: fails on valid input.
1.21905 -continue
1.21906 -fi
1.21907 -
1.21908 -rm -f conftest.err conftest.$ac_ext
1.21909 -
1.21910 - # OK, works on sane cases. Now check whether nonexistent headers
1.21911 - # can be detected and how.
1.21912 - cat >conftest.$ac_ext <<_ACEOF
1.21913 -/* confdefs.h. */
1.21914 -_ACEOF
1.21915 -cat confdefs.h >>conftest.$ac_ext
1.21916 -cat >>conftest.$ac_ext <<_ACEOF
1.21917 -/* end confdefs.h. */
1.21918 -@%:@include <ac_nonexistent.h>
1.21919 -_ACEOF
1.21920 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.21921 -case "(($ac_try" in
1.21922 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.21923 - *) ac_try_echo=$ac_try;;
1.21924 -esac
1.21925 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.21926 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.21927 - ac_status=$?
1.21928 - grep -v '^ *+' conftest.er1 >conftest.err
1.21929 - rm -f conftest.er1
1.21930 - cat conftest.err >&5
1.21931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21932 - (exit $ac_status); } >/dev/null && {
1.21933 - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1.21934 - test ! -s conftest.err
1.21935 - }; then
1.21936 - # Broken: success on invalid input.
1.21937 -continue
1.21938 -else
1.21939 - echo "$as_me: failed program was:" >&5
1.21940 -sed 's/^/| /' conftest.$ac_ext >&5
1.21941 -
1.21942 - # Passes both tests.
1.21943 -ac_preproc_ok=:
1.21944 -break
1.21945 -fi
1.21946 -
1.21947 -rm -f conftest.err conftest.$ac_ext
1.21948 -
1.21949 -done
1.21950 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.21951 -rm -f conftest.err conftest.$ac_ext
1.21952 -if $ac_preproc_ok; then
1.21953 - :
1.21954 -else
1.21955 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.21956 -See \`config.log' for more details." >&5
1.21957 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.21958 -See \`config.log' for more details." >&2;}
1.21959 - { (exit 1); exit 1; }; }
1.21960 -fi
1.21961 -
1.21962 -ac_ext=c
1.21963 -ac_cpp='$CPP $CPPFLAGS'
1.21964 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21965 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21966 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.21967 -
1.21968 -{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
1.21969 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
1.21970 -if test "${ac_cv_search_strerror+set}" = set; then
1.21971 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21972 -else
1.21973 - ac_func_search_save_LIBS=$LIBS
1.21974 -cat >conftest.$ac_ext <<_ACEOF
1.21975 -/* confdefs.h. */
1.21976 -_ACEOF
1.21977 -cat confdefs.h >>conftest.$ac_ext
1.21978 -cat >>conftest.$ac_ext <<_ACEOF
1.21979 -/* end confdefs.h. */
1.21980 -
1.21981 -/* Override any GCC internal prototype to avoid an error.
1.21982 - Use char because int might match the return type of a GCC
1.21983 - builtin and then its argument prototype would still apply. */
1.21984 -#ifdef __cplusplus
1.21985 -extern "C"
1.21986 -#endif
1.21987 -char strerror ();
1.21988 -int
1.21989 -main ()
1.21990 -{
1.21991 -return strerror ();
1.21992 - ;
1.21993 - return 0;
1.21994 -}
1.21995 -_ACEOF
1.21996 -for ac_lib in '' cposix; do
1.21997 - if test -z "$ac_lib"; then
1.21998 - ac_res="none required"
1.21999 - else
1.22000 - ac_res=-l$ac_lib
1.22001 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1.22002 - fi
1.22003 - rm -f conftest.$ac_objext conftest$ac_exeext
1.22004 -if { (ac_try="$ac_link"
1.22005 -case "(($ac_try" in
1.22006 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22007 - *) ac_try_echo=$ac_try;;
1.22008 -esac
1.22009 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22010 - (eval "$ac_link") 2>conftest.er1
1.22011 - ac_status=$?
1.22012 - grep -v '^ *+' conftest.er1 >conftest.err
1.22013 - rm -f conftest.er1
1.22014 - cat conftest.err >&5
1.22015 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22016 - (exit $ac_status); } && {
1.22017 - test -z "$ac_c_werror_flag" ||
1.22018 - test ! -s conftest.err
1.22019 - } && test -s conftest$ac_exeext &&
1.22020 - $as_test_x conftest$ac_exeext; then
1.22021 - ac_cv_search_strerror=$ac_res
1.22022 -else
1.22023 - echo "$as_me: failed program was:" >&5
1.22024 -sed 's/^/| /' conftest.$ac_ext >&5
1.22025 -
1.22026 -
1.22027 -fi
1.22028 -
1.22029 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.22030 - conftest$ac_exeext
1.22031 - if test "${ac_cv_search_strerror+set}" = set; then
1.22032 - break
1.22033 -fi
1.22034 -done
1.22035 -if test "${ac_cv_search_strerror+set}" = set; then
1.22036 - :
1.22037 -else
1.22038 - ac_cv_search_strerror=no
1.22039 -fi
1.22040 -rm conftest.$ac_ext
1.22041 -LIBS=$ac_func_search_save_LIBS
1.22042 -fi
1.22043 -{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
1.22044 -echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
1.22045 -ac_res=$ac_cv_search_strerror
1.22046 -if test "$ac_res" != no; then
1.22047 - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.22048 -
1.22049 -fi
1.22050 -
1.22051 -
1.22052 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.22053 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.22054 -if test "${ac_cv_header_stdc+set}" = set; then
1.22055 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22056 -else
1.22057 - cat >conftest.$ac_ext <<_ACEOF
1.22058 -/* confdefs.h. */
1.22059 -_ACEOF
1.22060 -cat confdefs.h >>conftest.$ac_ext
1.22061 -cat >>conftest.$ac_ext <<_ACEOF
1.22062 -/* end confdefs.h. */
1.22063 -#include <stdlib.h>
1.22064 -#include <stdarg.h>
1.22065 -#include <string.h>
1.22066 -#include <float.h>
1.22067 -
1.22068 -int
1.22069 -main ()
1.22070 -{
1.22071 -
1.22072 - ;
1.22073 - return 0;
1.22074 -}
1.22075 -_ACEOF
1.22076 -rm -f conftest.$ac_objext
1.22077 -if { (ac_try="$ac_compile"
1.22078 -case "(($ac_try" in
1.22079 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22080 - *) ac_try_echo=$ac_try;;
1.22081 -esac
1.22082 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22083 - (eval "$ac_compile") 2>conftest.er1
1.22084 - ac_status=$?
1.22085 - grep -v '^ *+' conftest.er1 >conftest.err
1.22086 - rm -f conftest.er1
1.22087 - cat conftest.err >&5
1.22088 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22089 - (exit $ac_status); } && {
1.22090 - test -z "$ac_c_werror_flag" ||
1.22091 - test ! -s conftest.err
1.22092 - } && test -s conftest.$ac_objext; then
1.22093 - ac_cv_header_stdc=yes
1.22094 -else
1.22095 - echo "$as_me: failed program was:" >&5
1.22096 -sed 's/^/| /' conftest.$ac_ext >&5
1.22097 -
1.22098 - ac_cv_header_stdc=no
1.22099 -fi
1.22100 -
1.22101 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.22102 -
1.22103 -if test $ac_cv_header_stdc = yes; then
1.22104 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.22105 - cat >conftest.$ac_ext <<_ACEOF
1.22106 -/* confdefs.h. */
1.22107 -_ACEOF
1.22108 -cat confdefs.h >>conftest.$ac_ext
1.22109 -cat >>conftest.$ac_ext <<_ACEOF
1.22110 -/* end confdefs.h. */
1.22111 -#include <string.h>
1.22112 -
1.22113 -_ACEOF
1.22114 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.22115 - $EGREP "memchr" >/dev/null 2>&1; then
1.22116 - :
1.22117 -else
1.22118 - ac_cv_header_stdc=no
1.22119 -fi
1.22120 -rm -f conftest*
1.22121 -
1.22122 -fi
1.22123 -
1.22124 -if test $ac_cv_header_stdc = yes; then
1.22125 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.22126 - cat >conftest.$ac_ext <<_ACEOF
1.22127 -/* confdefs.h. */
1.22128 -_ACEOF
1.22129 -cat confdefs.h >>conftest.$ac_ext
1.22130 -cat >>conftest.$ac_ext <<_ACEOF
1.22131 -/* end confdefs.h. */
1.22132 -#include <stdlib.h>
1.22133 -
1.22134 -_ACEOF
1.22135 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.22136 - $EGREP "free" >/dev/null 2>&1; then
1.22137 - :
1.22138 -else
1.22139 - ac_cv_header_stdc=no
1.22140 -fi
1.22141 -rm -f conftest*
1.22142 -
1.22143 -fi
1.22144 -
1.22145 -if test $ac_cv_header_stdc = yes; then
1.22146 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.22147 - if test "$cross_compiling" = yes; then
1.22148 - :
1.22149 -else
1.22150 - cat >conftest.$ac_ext <<_ACEOF
1.22151 -/* confdefs.h. */
1.22152 -_ACEOF
1.22153 -cat confdefs.h >>conftest.$ac_ext
1.22154 -cat >>conftest.$ac_ext <<_ACEOF
1.22155 -/* end confdefs.h. */
1.22156 -#include <ctype.h>
1.22157 -#include <stdlib.h>
1.22158 -#if ((' ' & 0x0FF) == 0x020)
1.22159 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.22160 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.22161 -#else
1.22162 -# define ISLOWER(c) \
1.22163 - (('a' <= (c) && (c) <= 'i') \
1.22164 - || ('j' <= (c) && (c) <= 'r') \
1.22165 - || ('s' <= (c) && (c) <= 'z'))
1.22166 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.22167 -#endif
1.22168 -
1.22169 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.22170 -int
1.22171 -main ()
1.22172 -{
1.22173 - int i;
1.22174 - for (i = 0; i < 256; i++)
1.22175 - if (XOR (islower (i), ISLOWER (i))
1.22176 - || toupper (i) != TOUPPER (i))
1.22177 - return 2;
1.22178 - return 0;
1.22179 -}
1.22180 -_ACEOF
1.22181 -rm -f conftest$ac_exeext
1.22182 -if { (ac_try="$ac_link"
1.22183 -case "(($ac_try" in
1.22184 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22185 - *) ac_try_echo=$ac_try;;
1.22186 -esac
1.22187 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22188 - (eval "$ac_link") 2>&5
1.22189 - ac_status=$?
1.22190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22191 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.22192 - { (case "(($ac_try" in
1.22193 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22194 - *) ac_try_echo=$ac_try;;
1.22195 -esac
1.22196 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22197 - (eval "$ac_try") 2>&5
1.22198 - ac_status=$?
1.22199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22200 - (exit $ac_status); }; }; then
1.22201 - :
1.22202 -else
1.22203 - echo "$as_me: program exited with status $ac_status" >&5
1.22204 -echo "$as_me: failed program was:" >&5
1.22205 -sed 's/^/| /' conftest.$ac_ext >&5
1.22206 -
1.22207 -( exit $ac_status )
1.22208 -ac_cv_header_stdc=no
1.22209 -fi
1.22210 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.22211 -fi
1.22212 -
1.22213 -
1.22214 -fi
1.22215 -fi
1.22216 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.22217 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.22218 -if test $ac_cv_header_stdc = yes; then
1.22219 -
1.22220 -cat >>confdefs.h <<\_ACEOF
1.22221 -@%:@define STDC_HEADERS 1
1.22222 -_ACEOF
1.22223 -
1.22224 -fi
1.22225 -
1.22226 -{ echo "$as_me:$LINENO: checking for inline" >&5
1.22227 -echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
1.22228 -if test "${ac_cv_c_inline+set}" = set; then
1.22229 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22230 -else
1.22231 - ac_cv_c_inline=no
1.22232 -for ac_kw in inline __inline__ __inline; do
1.22233 - cat >conftest.$ac_ext <<_ACEOF
1.22234 -/* confdefs.h. */
1.22235 -_ACEOF
1.22236 -cat confdefs.h >>conftest.$ac_ext
1.22237 -cat >>conftest.$ac_ext <<_ACEOF
1.22238 -/* end confdefs.h. */
1.22239 -#ifndef __cplusplus
1.22240 -typedef int foo_t;
1.22241 -static $ac_kw foo_t static_foo () {return 0; }
1.22242 -$ac_kw foo_t foo () {return 0; }
1.22243 -#endif
1.22244 -
1.22245 -_ACEOF
1.22246 -rm -f conftest.$ac_objext
1.22247 -if { (ac_try="$ac_compile"
1.22248 -case "(($ac_try" in
1.22249 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.22250 - *) ac_try_echo=$ac_try;;
1.22251 -esac
1.22252 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.22253 - (eval "$ac_compile") 2>conftest.er1
1.22254 - ac_status=$?
1.22255 - grep -v '^ *+' conftest.er1 >conftest.err
1.22256 - rm -f conftest.er1
1.22257 - cat conftest.err >&5
1.22258 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22259 - (exit $ac_status); } && {
1.22260 - test -z "$ac_c_werror_flag" ||
1.22261 - test ! -s conftest.err
1.22262 - } && test -s conftest.$ac_objext; then
1.22263 - ac_cv_c_inline=$ac_kw
1.22264 -else
1.22265 - echo "$as_me: failed program was:" >&5
1.22266 -sed 's/^/| /' conftest.$ac_ext >&5
1.22267 -
1.22268 -
1.22269 -fi
1.22270 -
1.22271 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.22272 - test "$ac_cv_c_inline" != no && break
1.22273 -done
1.22274 -
1.22275 -fi
1.22276 -{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
1.22277 -echo "${ECHO_T}$ac_cv_c_inline" >&6; }
1.22278 -
1.22279 -
1.22280 -case $ac_cv_c_inline in
1.22281 - inline | yes) ;;
1.22282 - *)
1.22283 - case $ac_cv_c_inline in
1.22284 - no) ac_val=;;
1.22285 - *) ac_val=$ac_cv_c_inline;;
1.22286 - esac
1.22287 - cat >>confdefs.h <<_ACEOF
1.22288 -#ifndef __cplusplus
1.22289 -#define inline $ac_val
1.22290 -#endif
1.22291 -_ACEOF
1.22292 - ;;
1.22293 -esac
1.22294 -
1.22295 -
1.22296 -# Extract the first word of "pkg-config", so it can be a program name with args.
1.22297 -set dummy pkg-config; ac_word=$2
1.22298 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.22299 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.22300 -if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
1.22301 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22302 -else
1.22303 - if test -n "$HAVE_PKGCONFIG"; then
1.22304 - ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
1.22305 -else
1.22306 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22307 -for as_dir in $PATH
1.22308 -do
1.22309 - IFS=$as_save_IFS
1.22310 - test -z "$as_dir" && as_dir=.
1.22311 - for ac_exec_ext in '' $ac_executable_extensions; do
1.22312 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.22313 - ac_cv_prog_HAVE_PKGCONFIG="yes"
1.22314 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.22315 - break 2
1.22316 - fi
1.22317 -done
1.22318 -done
1.22319 -IFS=$as_save_IFS
1.22320 -
1.22321 - test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
1.22322 -fi
1.22323 -fi
1.22324 -HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
1.22325 -if test -n "$HAVE_PKGCONFIG"; then
1.22326 - { echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
1.22327 -echo "${ECHO_T}$HAVE_PKGCONFIG" >&6; }
1.22328 -else
1.22329 - { echo "$as_me:$LINENO: result: no" >&5
1.22330 -echo "${ECHO_T}no" >&6; }
1.22331 -fi
1.22332 -
1.22333 -
1.22334 -
1.22335 -if test "x$HAVE_PKGCONFIG" = "xno"; then
1.22336 - { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
1.22337 -echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
1.22338 - { (exit 1); exit 1; }; }
1.22339 -fi
1.22340 -
1.22341 -
1.22342 -GST_REQUIRED=0.10.14
1.22343 -GST_MAJORMINOR=0.10
1.22344 -
1.22345 -
1.22346 -
1.22347 -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1.22348 - if test -n "$ac_tool_prefix"; then
1.22349 - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1.22350 -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1.22351 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.22352 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.22353 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.22354 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22355 -else
1.22356 - case $PKG_CONFIG in
1.22357 - [\\/]* | ?:[\\/]*)
1.22358 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.22359 - ;;
1.22360 - *)
1.22361 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22362 -for as_dir in $PATH
1.22363 -do
1.22364 - IFS=$as_save_IFS
1.22365 - test -z "$as_dir" && as_dir=.
1.22366 - for ac_exec_ext in '' $ac_executable_extensions; do
1.22367 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.22368 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.22369 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.22370 - break 2
1.22371 - fi
1.22372 -done
1.22373 -done
1.22374 -IFS=$as_save_IFS
1.22375 -
1.22376 - ;;
1.22377 -esac
1.22378 -fi
1.22379 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.22380 -if test -n "$PKG_CONFIG"; then
1.22381 - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1.22382 -echo "${ECHO_T}$PKG_CONFIG" >&6; }
1.22383 -else
1.22384 - { echo "$as_me:$LINENO: result: no" >&5
1.22385 -echo "${ECHO_T}no" >&6; }
1.22386 -fi
1.22387 -
1.22388 -
1.22389 -fi
1.22390 -if test -z "$ac_cv_path_PKG_CONFIG"; then
1.22391 - ac_pt_PKG_CONFIG=$PKG_CONFIG
1.22392 - # Extract the first word of "pkg-config", so it can be a program name with args.
1.22393 -set dummy pkg-config; ac_word=$2
1.22394 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.22395 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.22396 -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
1.22397 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22398 -else
1.22399 - case $ac_pt_PKG_CONFIG in
1.22400 - [\\/]* | ?:[\\/]*)
1.22401 - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1.22402 - ;;
1.22403 - *)
1.22404 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22405 -for as_dir in $PATH
1.22406 -do
1.22407 - IFS=$as_save_IFS
1.22408 - test -z "$as_dir" && as_dir=.
1.22409 - for ac_exec_ext in '' $ac_executable_extensions; do
1.22410 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.22411 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.22412 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.22413 - break 2
1.22414 - fi
1.22415 -done
1.22416 -done
1.22417 -IFS=$as_save_IFS
1.22418 -
1.22419 - ;;
1.22420 -esac
1.22421 -fi
1.22422 -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1.22423 -if test -n "$ac_pt_PKG_CONFIG"; then
1.22424 - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
1.22425 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
1.22426 -else
1.22427 - { echo "$as_me:$LINENO: result: no" >&5
1.22428 -echo "${ECHO_T}no" >&6; }
1.22429 -fi
1.22430 -
1.22431 - if test "x$ac_pt_PKG_CONFIG" = x; then
1.22432 - PKG_CONFIG=""
1.22433 - else
1.22434 - case $cross_compiling:$ac_tool_warned in
1.22435 -yes:)
1.22436 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.22437 -whose name does not start with the host triplet. If you think this
1.22438 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.22439 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.22440 -whose name does not start with the host triplet. If you think this
1.22441 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.22442 -ac_tool_warned=yes ;;
1.22443 -esac
1.22444 - PKG_CONFIG=$ac_pt_PKG_CONFIG
1.22445 - fi
1.22446 -else
1.22447 - PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
1.22448 -fi
1.22449 -
1.22450 -fi
1.22451 -if test -n "$PKG_CONFIG"; then
1.22452 - _pkg_min_version=0.9.0
1.22453 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
1.22454 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
1.22455 - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1.22456 - { echo "$as_me:$LINENO: result: yes" >&5
1.22457 -echo "${ECHO_T}yes" >&6; }
1.22458 - else
1.22459 - { echo "$as_me:$LINENO: result: no" >&5
1.22460 -echo "${ECHO_T}no" >&6; }
1.22461 - PKG_CONFIG=""
1.22462 - fi
1.22463 -
1.22464 -fi
1.22465 -
1.22466 -pkg_failed=no
1.22467 -{ echo "$as_me:$LINENO: checking for GST_CFLAGS" >&5
1.22468 -echo $ECHO_N "checking for GST_CFLAGS... $ECHO_C" >&6; }
1.22469 -if test "${pkg_cv_GST_CFLAGS+set}" = set; then
1.22470 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22471 -else
1.22472 - if test "x$ac_cv_env_GST_CFLAGS_set" = "xset"; then
1.22473 - pkg_cv_GST_CFLAGS=$ac_cv_env_GST_CFLAGS_value
1.22474 -elif test -n "$PKG_CONFIG"; then
1.22475 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
1.22476 - gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22477 - ($PKG_CONFIG --exists "\
1.22478 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22479 - ac_status=$?
1.22480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22481 - (exit $ac_status); }; then
1.22482 - pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
1.22483 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22484 - else
1.22485 - pkg_failed=yes
1.22486 - fi
1.22487 -else
1.22488 - pkg_failed=untried
1.22489 -fi
1.22490 -fi
1.22491 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_CFLAGS" >&5
1.22492 -echo "${ECHO_T}$pkg_cv_GST_CFLAGS" >&6; }
1.22493 -{ echo "$as_me:$LINENO: checking for GST_LIBS" >&5
1.22494 -echo $ECHO_N "checking for GST_LIBS... $ECHO_C" >&6; }
1.22495 -if test "${pkg_cv_GST_LIBS+set}" = set; then
1.22496 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22497 -else
1.22498 - if test "x$ac_cv_env_GST_LIBS_set" = "xset"; then
1.22499 - pkg_cv_GST_LIBS=$ac_cv_env_GST_LIBS_value
1.22500 -elif test -n "$PKG_CONFIG"; then
1.22501 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
1.22502 - gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22503 - ($PKG_CONFIG --exists "\
1.22504 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22505 - ac_status=$?
1.22506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22507 - (exit $ac_status); }; then
1.22508 - pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
1.22509 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22510 - else
1.22511 - pkg_failed=yes
1.22512 - fi
1.22513 -else
1.22514 - pkg_failed=untried
1.22515 -fi
1.22516 -fi
1.22517 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_LIBS" >&5
1.22518 -echo "${ECHO_T}$pkg_cv_GST_LIBS" >&6; }
1.22519 -
1.22520 -if test $pkg_failed = yes; then
1.22521 - GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
1.22522 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22523 - # Put the nasty error message in config.log where it belongs
1.22524 - echo "$GST_PKG_ERRORS" 1>&5
1.22525 -
1.22526 - HAVE_GST=no
1.22527 -elif test $pkg_failed = untried; then
1.22528 - HAVE_GST=no
1.22529 -else
1.22530 - GST_CFLAGS=$pkg_cv_GST_CFLAGS
1.22531 - GST_LIBS=$pkg_cv_GST_LIBS
1.22532 - HAVE_GST=yes
1.22533 -fi
1.22534 -
1.22535 -if test "x$HAVE_GST" = "xno"; then
1.22536 - { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
1.22537 -echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
1.22538 - { (exit 1); exit 1; }; }
1.22539 -fi
1.22540 -
1.22541 -if test "x$USE_DEBUG" = xyes; then
1.22542 - GST_CFLAGS="$GST_CFLAGS -g"
1.22543 -fi
1.22544 -
1.22545 -GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS"
1.22546 -
1.22547 -
1.22548 -
1.22549 -
1.22550 -
1.22551 -
1.22552 -
1.22553 -pkg_failed=no
1.22554 -{ echo "$as_me:$LINENO: checking for GST_BASE_CFLAGS" >&5
1.22555 -echo $ECHO_N "checking for GST_BASE_CFLAGS... $ECHO_C" >&6; }
1.22556 -if test "${pkg_cv_GST_BASE_CFLAGS+set}" = set; then
1.22557 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22558 -else
1.22559 - if test "x$ac_cv_env_GST_BASE_CFLAGS_set" = "xset"; then
1.22560 - pkg_cv_GST_BASE_CFLAGS=$ac_cv_env_GST_BASE_CFLAGS_value
1.22561 -elif test -n "$PKG_CONFIG"; then
1.22562 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22563 - ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22564 - ac_status=$?
1.22565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22566 - (exit $ac_status); }; then
1.22567 - pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22568 - else
1.22569 - pkg_failed=yes
1.22570 - fi
1.22571 -else
1.22572 - pkg_failed=untried
1.22573 -fi
1.22574 -fi
1.22575 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_CFLAGS" >&5
1.22576 -echo "${ECHO_T}$pkg_cv_GST_BASE_CFLAGS" >&6; }
1.22577 -{ echo "$as_me:$LINENO: checking for GST_BASE_LIBS" >&5
1.22578 -echo $ECHO_N "checking for GST_BASE_LIBS... $ECHO_C" >&6; }
1.22579 -if test "${pkg_cv_GST_BASE_LIBS+set}" = set; then
1.22580 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22581 -else
1.22582 - if test "x$ac_cv_env_GST_BASE_LIBS_set" = "xset"; then
1.22583 - pkg_cv_GST_BASE_LIBS=$ac_cv_env_GST_BASE_LIBS_value
1.22584 -elif test -n "$PKG_CONFIG"; then
1.22585 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22586 - ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22587 - ac_status=$?
1.22588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22589 - (exit $ac_status); }; then
1.22590 - pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22591 - else
1.22592 - pkg_failed=yes
1.22593 - fi
1.22594 -else
1.22595 - pkg_failed=untried
1.22596 -fi
1.22597 -fi
1.22598 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_LIBS" >&5
1.22599 -echo "${ECHO_T}$pkg_cv_GST_BASE_LIBS" >&6; }
1.22600 -
1.22601 -if test $pkg_failed = yes; then
1.22602 - GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22603 - # Put the nasty error message in config.log where it belongs
1.22604 - echo "$GST_BASE_PKG_ERRORS" 1>&5
1.22605 -
1.22606 - HAVE_GST_BASE="no"
1.22607 -elif test $pkg_failed = untried; then
1.22608 - HAVE_GST_BASE="no"
1.22609 -else
1.22610 - GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
1.22611 - GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
1.22612 - HAVE_GST_BASE="yes"
1.22613 -fi
1.22614 -
1.22615 -if test "x$HAVE_GST_BASE" = "xno"; then
1.22616 - { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
1.22617 -echo "$as_me: error: no GStreamer Base Libs found" >&2;}
1.22618 - { (exit 1); exit 1; }; }
1.22619 -fi
1.22620 -
1.22621 -
1.22622 -
1.22623 -
1.22624 -
1.22625 -pkg_failed=no
1.22626 -{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_CFLAGS" >&5
1.22627 -echo $ECHO_N "checking for GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6; }
1.22628 -if test "${pkg_cv_GST_PLUGINS_BASE_CFLAGS+set}" = set; then
1.22629 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22630 -else
1.22631 - if test "x$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_set" = "xset"; then
1.22632 - pkg_cv_GST_PLUGINS_BASE_CFLAGS=$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_value
1.22633 -elif test -n "$PKG_CONFIG"; then
1.22634 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22635 - ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22636 - ac_status=$?
1.22637 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22638 - (exit $ac_status); }; then
1.22639 - pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22640 - else
1.22641 - pkg_failed=yes
1.22642 - fi
1.22643 -else
1.22644 - pkg_failed=untried
1.22645 -fi
1.22646 -fi
1.22647 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&5
1.22648 -echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&6; }
1.22649 -{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_LIBS" >&5
1.22650 -echo $ECHO_N "checking for GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6; }
1.22651 -if test "${pkg_cv_GST_PLUGINS_BASE_LIBS+set}" = set; then
1.22652 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.22653 -else
1.22654 - if test "x$ac_cv_env_GST_PLUGINS_BASE_LIBS_set" = "xset"; then
1.22655 - pkg_cv_GST_PLUGINS_BASE_LIBS=$ac_cv_env_GST_PLUGINS_BASE_LIBS_value
1.22656 -elif test -n "$PKG_CONFIG"; then
1.22657 - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
1.22658 - ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
1.22659 - ac_status=$?
1.22660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.22661 - (exit $ac_status); }; then
1.22662 - pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
1.22663 - else
1.22664 - pkg_failed=yes
1.22665 - fi
1.22666 -else
1.22667 - pkg_failed=untried
1.22668 -fi
1.22669 -fi
1.22670 -{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_LIBS" >&5
1.22671 -echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_LIBS" >&6; }
1.22672 -
1.22673 -if test $pkg_failed = yes; then
1.22674 - GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22675 - # Put the nasty error message in config.log where it belongs
1.22676 - echo "$GST_PLUGINS_BASE_PKG_ERRORS" 1>&5
1.22677 -
1.22678 - HAVE_GST_PLUGINS="no"
1.22679 -elif test $pkg_failed = untried; then
1.22680 - HAVE_GST_PLUGINS="no"
1.22681 -else
1.22682 - GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
1.22683 - GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
1.22684 - HAVE_GST_PLUGINS="yes"
1.22685 -fi
1.22686 -
1.22687 -if test "x$HAVE_GST_PLUGINS" = "xno"; then
1.22688 - { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
1.22689 -echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
1.22690 - { (exit 1); exit 1; }; }
1.22691 -fi
1.22692 -
1.22693 -
1.22694 -
1.22695 -
1.22696 -plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
1.22697 -
1.22698 -
1.22699 -GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
1.22700 -
1.22701 -
1.22702 -
1.22703 -cat >>confdefs.h <<\_ACEOF
1.22704 -@%:@define GST_LICENSE "LGPL"
1.22705 -_ACEOF
1.22706 -
1.22707 -
1.22708 -cat >>confdefs.h <<\_ACEOF
1.22709 -@%:@define GST_PACKAGE_NAME "INdT plugins to Gstreamer "
1.22710 -_ACEOF
1.22711 -
1.22712 -
1.22713 -cat >>confdefs.h <<\_ACEOF
1.22714 -@%:@define GST_PACKAGE_ORIGIN "https://svn.sourceforge.net/svnroot/gmyth/gst-gpac"
1.22715 -_ACEOF
1.22716 -
1.22717 -
1.22718 -ac_config_files="$ac_config_files Makefile src/Makefile"
1.22719 -
1.22720 -cat >confcache <<\_ACEOF
1.22721 -# This file is a shell script that caches the results of configure
1.22722 -# tests run on this system so they can be shared between configure
1.22723 -# scripts and configure runs, see configure's option --config-cache.
1.22724 -# It is not useful on other systems. If it contains results you don't
1.22725 -# want to keep, you may remove or edit it.
1.22726 -#
1.22727 -# config.status only pays attention to the cache file if you give it
1.22728 -# the --recheck option to rerun configure.
1.22729 -#
1.22730 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
1.22731 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
1.22732 -# following values.
1.22733 -
1.22734 -_ACEOF
1.22735 -
1.22736 -# The following way of writing the cache mishandles newlines in values,
1.22737 -# but we know of no workaround that is simple, portable, and efficient.
1.22738 -# So, we kill variables containing newlines.
1.22739 -# Ultrix sh set writes to stderr and can't be redirected directly,
1.22740 -# and sets the high bit in the cache file unless we assign to the vars.
1.22741 -(
1.22742 - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1.22743 - eval ac_val=\$$ac_var
1.22744 - case $ac_val in #(
1.22745 - *${as_nl}*)
1.22746 - case $ac_var in #(
1.22747 - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1.22748 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1.22749 - esac
1.22750 - case $ac_var in #(
1.22751 - _ | IFS | as_nl) ;; #(
1.22752 - *) $as_unset $ac_var ;;
1.22753 - esac ;;
1.22754 - esac
1.22755 - done
1.22756 -
1.22757 - (set) 2>&1 |
1.22758 - case $as_nl`(ac_space=' '; set) 2>&1` in #(
1.22759 - *${as_nl}ac_space=\ *)
1.22760 - # `set' does not quote correctly, so add quotes (double-quote
1.22761 - # substitution turns \\\\ into \\, and sed turns \\ into \).
1.22762 - sed -n \
1.22763 - "s/'/'\\\\''/g;
1.22764 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.22765 - ;; #(
1.22766 - *)
1.22767 - # `set' quotes correctly as required by POSIX, so do not add quotes.
1.22768 - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.22769 - ;;
1.22770 - esac |
1.22771 - sort
1.22772 -) |
1.22773 - sed '
1.22774 - /^ac_cv_env_/b end
1.22775 - t clear
1.22776 - :clear
1.22777 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1.22778 - t end
1.22779 - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1.22780 - :end' >>confcache
1.22781 -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1.22782 - if test -w "$cache_file"; then
1.22783 - test "x$cache_file" != "x/dev/null" &&
1.22784 - { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1.22785 -echo "$as_me: updating cache $cache_file" >&6;}
1.22786 - cat confcache >$cache_file
1.22787 - else
1.22788 - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1.22789 -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.22790 - fi
1.22791 -fi
1.22792 -rm -f confcache
1.22793 -
1.22794 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
1.22795 -# Let make expand exec_prefix.
1.22796 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1.22797 -
1.22798 -DEFS=-DHAVE_CONFIG_H
1.22799 -
1.22800 -ac_libobjs=
1.22801 -ac_ltlibobjs=
1.22802 -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
1.22803 - # 1. Remove the extension, and $U if already installed.
1.22804 - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.22805 - ac_i=`echo "$ac_i" | sed "$ac_script"`
1.22806 - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1.22807 - # will be set to the directory where LIBOBJS objects are built.
1.22808 - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1.22809 - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1.22810 -done
1.22811 -LIB@&t@OBJS=$ac_libobjs
1.22812 -
1.22813 -LTLIBOBJS=$ac_ltlibobjs
1.22814 -
1.22815 -
1.22816 -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.22817 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
1.22818 -Usually this means the macro was only invoked conditionally." >&5
1.22819 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1.22820 -Usually this means the macro was only invoked conditionally." >&2;}
1.22821 - { (exit 1); exit 1; }; }
1.22822 -fi
1.22823 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.22824 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
1.22825 -Usually this means the macro was only invoked conditionally." >&5
1.22826 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
1.22827 -Usually this means the macro was only invoked conditionally." >&2;}
1.22828 - { (exit 1); exit 1; }; }
1.22829 -fi
1.22830 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.22831 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.22832 -Usually this means the macro was only invoked conditionally." >&5
1.22833 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.22834 -Usually this means the macro was only invoked conditionally." >&2;}
1.22835 - { (exit 1); exit 1; }; }
1.22836 -fi
1.22837 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.22838 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.22839 -Usually this means the macro was only invoked conditionally." >&5
1.22840 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.22841 -Usually this means the macro was only invoked conditionally." >&2;}
1.22842 - { (exit 1); exit 1; }; }
1.22843 -fi
1.22844 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.22845 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.22846 -Usually this means the macro was only invoked conditionally." >&5
1.22847 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.22848 -Usually this means the macro was only invoked conditionally." >&2;}
1.22849 - { (exit 1); exit 1; }; }
1.22850 -fi
1.22851 -if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
1.22852 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
1.22853 -Usually this means the macro was only invoked conditionally." >&5
1.22854 -echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
1.22855 -Usually this means the macro was only invoked conditionally." >&2;}
1.22856 - { (exit 1); exit 1; }; }
1.22857 -fi
1.22858 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.22859 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.22860 -Usually this means the macro was only invoked conditionally." >&5
1.22861 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.22862 -Usually this means the macro was only invoked conditionally." >&2;}
1.22863 - { (exit 1); exit 1; }; }
1.22864 -fi
1.22865 -
1.22866 -: ${CONFIG_STATUS=./config.status}
1.22867 -ac_clean_files_save=$ac_clean_files
1.22868 -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.22869 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1.22870 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.22871 -cat >$CONFIG_STATUS <<_ACEOF
1.22872 -#! $SHELL
1.22873 -# Generated by $as_me.
1.22874 -# Run this file to recreate the current configuration.
1.22875 -# Compiler output produced by configure, useful for debugging
1.22876 -# configure, is in config.log if it exists.
1.22877 -
1.22878 -debug=false
1.22879 -ac_cs_recheck=false
1.22880 -ac_cs_silent=false
1.22881 -SHELL=\${CONFIG_SHELL-$SHELL}
1.22882 -_ACEOF
1.22883 -
1.22884 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22885 -## --------------------- ##
1.22886 -## M4sh Initialization. ##
1.22887 -## --------------------- ##
1.22888 -
1.22889 -# Be more Bourne compatible
1.22890 -DUALCASE=1; export DUALCASE # for MKS sh
1.22891 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.22892 - emulate sh
1.22893 - NULLCMD=:
1.22894 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.22895 - # is contrary to our usage. Disable this feature.
1.22896 - alias -g '${1+"$@"}'='"$@"'
1.22897 - setopt NO_GLOB_SUBST
1.22898 -else
1.22899 - case `(set -o) 2>/dev/null` in
1.22900 - *posix*) set -o posix ;;
1.22901 -esac
1.22902 -
1.22903 -fi
1.22904 -
1.22905 -
1.22906 -
1.22907 -
1.22908 -# PATH needs CR
1.22909 -# Avoid depending upon Character Ranges.
1.22910 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1.22911 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1.22912 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1.22913 -as_cr_digits='0123456789'
1.22914 -as_cr_alnum=$as_cr_Letters$as_cr_digits
1.22915 -
1.22916 -# The user is always right.
1.22917 -if test "${PATH_SEPARATOR+set}" != set; then
1.22918 - echo "#! /bin/sh" >conf$$.sh
1.22919 - echo "exit 0" >>conf$$.sh
1.22920 - chmod +x conf$$.sh
1.22921 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.22922 - PATH_SEPARATOR=';'
1.22923 - else
1.22924 - PATH_SEPARATOR=:
1.22925 - fi
1.22926 - rm -f conf$$.sh
1.22927 -fi
1.22928 -
1.22929 -# Support unset when possible.
1.22930 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.22931 - as_unset=unset
1.22932 -else
1.22933 - as_unset=false
1.22934 -fi
1.22935 -
1.22936 -
1.22937 -# IFS
1.22938 -# We need space, tab and new line, in precisely that order. Quoting is
1.22939 -# there to prevent editors from complaining about space-tab.
1.22940 -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1.22941 -# splitting by setting IFS to empty value.)
1.22942 -as_nl='
1.22943 -'
1.22944 -IFS=" "" $as_nl"
1.22945 -
1.22946 -# Find who we are. Look in the path if we contain no directory separator.
1.22947 -case $0 in
1.22948 - *[\\/]* ) as_myself=$0 ;;
1.22949 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22950 -for as_dir in $PATH
1.22951 -do
1.22952 - IFS=$as_save_IFS
1.22953 - test -z "$as_dir" && as_dir=.
1.22954 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.22955 -done
1.22956 -IFS=$as_save_IFS
1.22957 -
1.22958 - ;;
1.22959 -esac
1.22960 -# We did not find ourselves, most probably we were run as `sh COMMAND'
1.22961 -# in which case we are not to be found in the path.
1.22962 -if test "x$as_myself" = x; then
1.22963 - as_myself=$0
1.22964 -fi
1.22965 -if test ! -f "$as_myself"; then
1.22966 - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.22967 - { (exit 1); exit 1; }
1.22968 -fi
1.22969 -
1.22970 -# Work around bugs in pre-3.0 UWIN ksh.
1.22971 -for as_var in ENV MAIL MAILPATH
1.22972 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.22973 -done
1.22974 -PS1='$ '
1.22975 -PS2='> '
1.22976 -PS4='+ '
1.22977 -
1.22978 -# NLS nuisances.
1.22979 -for as_var in \
1.22980 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1.22981 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1.22982 - LC_TELEPHONE LC_TIME
1.22983 -do
1.22984 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.22985 - eval $as_var=C; export $as_var
1.22986 - else
1.22987 - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.22988 - fi
1.22989 -done
1.22990 -
1.22991 -# Required to use basename.
1.22992 -if expr a : '\(a\)' >/dev/null 2>&1 &&
1.22993 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.22994 - as_expr=expr
1.22995 -else
1.22996 - as_expr=false
1.22997 -fi
1.22998 -
1.22999 -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.23000 - as_basename=basename
1.23001 -else
1.23002 - as_basename=false
1.23003 -fi
1.23004 -
1.23005 -
1.23006 -# Name of the executable.
1.23007 -as_me=`$as_basename -- "$0" ||
1.23008 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1.23009 - X"$0" : 'X\(//\)$' \| \
1.23010 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.23011 -echo X/"$0" |
1.23012 - sed '/^.*\/\([^/][^/]*\)\/*$/{
1.23013 - s//\1/
1.23014 - q
1.23015 - }
1.23016 - /^X\/\(\/\/\)$/{
1.23017 - s//\1/
1.23018 - q
1.23019 - }
1.23020 - /^X\/\(\/\).*/{
1.23021 - s//\1/
1.23022 - q
1.23023 - }
1.23024 - s/.*/./; q'`
1.23025 -
1.23026 -# CDPATH.
1.23027 -$as_unset CDPATH
1.23028 -
1.23029 -
1.23030 -
1.23031 - as_lineno_1=$LINENO
1.23032 - as_lineno_2=$LINENO
1.23033 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.23034 - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.23035 -
1.23036 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1.23037 - # uniformly replaced by the line number. The first 'sed' inserts a
1.23038 - # line-number line after each line using $LINENO; the second 'sed'
1.23039 - # does the real work. The second script uses 'N' to pair each
1.23040 - # line-number line with the line containing $LINENO, and appends
1.23041 - # trailing '-' during substitution so that $LINENO is not a special
1.23042 - # case at line end.
1.23043 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.23044 - # scripts with optimization help from Paolo Bonzini. Blame Lee
1.23045 - # E. McMahon (1931-1989) for sed's syntax. :-)
1.23046 - sed -n '
1.23047 - p
1.23048 - /[$]LINENO/=
1.23049 - ' <$as_myself |
1.23050 - sed '
1.23051 - s/[$]LINENO.*/&-/
1.23052 - t lineno
1.23053 - b
1.23054 - :lineno
1.23055 - N
1.23056 - :loop
1.23057 - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.23058 - t loop
1.23059 - s/-\n.*//
1.23060 - ' >$as_me.lineno &&
1.23061 - chmod +x "$as_me.lineno" ||
1.23062 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.23063 - { (exit 1); exit 1; }; }
1.23064 -
1.23065 - # Don't try to exec as it changes $[0], causing all sort of problems
1.23066 - # (the dirname of $[0] is not the place where we might find the
1.23067 - # original and so on. Autoconf is especially sensitive to this).
1.23068 - . "./$as_me.lineno"
1.23069 - # Exit status is that of the last command.
1.23070 - exit
1.23071 -}
1.23072 -
1.23073 -
1.23074 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1.23075 - as_dirname=dirname
1.23076 -else
1.23077 - as_dirname=false
1.23078 -fi
1.23079 -
1.23080 -ECHO_C= ECHO_N= ECHO_T=
1.23081 -case `echo -n x` in
1.23082 --n*)
1.23083 - case `echo 'x\c'` in
1.23084 - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1.23085 - *) ECHO_C='\c';;
1.23086 - esac;;
1.23087 -*)
1.23088 - ECHO_N='-n';;
1.23089 -esac
1.23090 -
1.23091 -if expr a : '\(a\)' >/dev/null 2>&1 &&
1.23092 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.23093 - as_expr=expr
1.23094 -else
1.23095 - as_expr=false
1.23096 -fi
1.23097 -
1.23098 -rm -f conf$$ conf$$.exe conf$$.file
1.23099 -if test -d conf$$.dir; then
1.23100 - rm -f conf$$.dir/conf$$.file
1.23101 -else
1.23102 - rm -f conf$$.dir
1.23103 - mkdir conf$$.dir
1.23104 -fi
1.23105 -echo >conf$$.file
1.23106 -if ln -s conf$$.file conf$$ 2>/dev/null; then
1.23107 - as_ln_s='ln -s'
1.23108 - # ... but there are two gotchas:
1.23109 - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1.23110 - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.23111 - # In both cases, we have to default to `cp -p'.
1.23112 - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.23113 - as_ln_s='cp -p'
1.23114 -elif ln conf$$.file conf$$ 2>/dev/null; then
1.23115 - as_ln_s=ln
1.23116 -else
1.23117 - as_ln_s='cp -p'
1.23118 -fi
1.23119 -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1.23120 -rmdir conf$$.dir 2>/dev/null
1.23121 -
1.23122 -if mkdir -p . 2>/dev/null; then
1.23123 - as_mkdir_p=:
1.23124 -else
1.23125 - test -d ./-p && rmdir ./-p
1.23126 - as_mkdir_p=false
1.23127 -fi
1.23128 -
1.23129 -if test -x / >/dev/null 2>&1; then
1.23130 - as_test_x='test -x'
1.23131 -else
1.23132 - if ls -dL / >/dev/null 2>&1; then
1.23133 - as_ls_L_option=L
1.23134 - else
1.23135 - as_ls_L_option=
1.23136 - fi
1.23137 - as_test_x='
1.23138 - eval sh -c '\''
1.23139 - if test -d "$1"; then
1.23140 - test -d "$1/.";
1.23141 - else
1.23142 - case $1 in
1.23143 - -*)set "./$1";;
1.23144 - esac;
1.23145 - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
1.23146 - ???[sx]*):;;*)false;;esac;fi
1.23147 - '\'' sh
1.23148 - '
1.23149 -fi
1.23150 -as_executable_p=$as_test_x
1.23151 -
1.23152 -# Sed expression to map a string onto a valid CPP name.
1.23153 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.23154 -
1.23155 -# Sed expression to map a string onto a valid variable name.
1.23156 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.23157 -
1.23158 -
1.23159 -exec 6>&1
1.23160 -
1.23161 -# Save the log message, to keep $[0] and so on meaningful, and to
1.23162 -# report actual input values of CONFIG_FILES etc. instead of their
1.23163 -# values after options handling.
1.23164 -ac_log="
1.23165 -This file was extended by $as_me, which was
1.23166 -generated by GNU Autoconf 2.61. Invocation command line was
1.23167 -
1.23168 - CONFIG_FILES = $CONFIG_FILES
1.23169 - CONFIG_HEADERS = $CONFIG_HEADERS
1.23170 - CONFIG_LINKS = $CONFIG_LINKS
1.23171 - CONFIG_COMMANDS = $CONFIG_COMMANDS
1.23172 - $ $0 $@
1.23173 -
1.23174 -on `(hostname || uname -n) 2>/dev/null | sed 1q`
1.23175 -"
1.23176 -
1.23177 -_ACEOF
1.23178 -
1.23179 -cat >>$CONFIG_STATUS <<_ACEOF
1.23180 -# Files that config.status was made for.
1.23181 -config_files="$ac_config_files"
1.23182 -config_headers="$ac_config_headers"
1.23183 -config_commands="$ac_config_commands"
1.23184 -
1.23185 -_ACEOF
1.23186 -
1.23187 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23188 -ac_cs_usage="\
1.23189 -\`$as_me' instantiates files from templates according to the
1.23190 -current configuration.
1.23191 -
1.23192 -Usage: $0 [OPTIONS] [FILE]...
1.23193 -
1.23194 - -h, --help print this help, then exit
1.23195 - -V, --version print version number and configuration settings, then exit
1.23196 - -q, --quiet do not print progress messages
1.23197 - -d, --debug don't remove temporary files
1.23198 - --recheck update $as_me by reconfiguring in the same conditions
1.23199 - --file=FILE[:TEMPLATE]
1.23200 - instantiate the configuration file FILE
1.23201 - --header=FILE[:TEMPLATE]
1.23202 - instantiate the configuration header FILE
1.23203 -
1.23204 -Configuration files:
1.23205 -$config_files
1.23206 -
1.23207 -Configuration headers:
1.23208 -$config_headers
1.23209 -
1.23210 -Configuration commands:
1.23211 -$config_commands
1.23212 -
1.23213 -Report bugs to <bug-autoconf@gnu.org>."
1.23214 -
1.23215 -_ACEOF
1.23216 -cat >>$CONFIG_STATUS <<_ACEOF
1.23217 -ac_cs_version="\\
1.23218 -config.status
1.23219 -configured by $0, generated by GNU Autoconf 2.61,
1.23220 - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.23221 -
1.23222 -Copyright (C) 2006 Free Software Foundation, Inc.
1.23223 -This config.status script is free software; the Free Software Foundation
1.23224 -gives unlimited permission to copy, distribute and modify it."
1.23225 -
1.23226 -ac_pwd='$ac_pwd'
1.23227 -srcdir='$srcdir'
1.23228 -INSTALL='$INSTALL'
1.23229 -MKDIR_P='$MKDIR_P'
1.23230 -_ACEOF
1.23231 -
1.23232 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23233 -# If no file are specified by the user, then we need to provide default
1.23234 -# value. By we need to know if files were specified by the user.
1.23235 -ac_need_defaults=:
1.23236 -while test $# != 0
1.23237 -do
1.23238 - case $1 in
1.23239 - --*=*)
1.23240 - ac_option=`expr "X$1" : 'X\([^=]*\)='`
1.23241 - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.23242 - ac_shift=:
1.23243 - ;;
1.23244 - *)
1.23245 - ac_option=$1
1.23246 - ac_optarg=$2
1.23247 - ac_shift=shift
1.23248 - ;;
1.23249 - esac
1.23250 -
1.23251 - case $ac_option in
1.23252 - # Handling of the options.
1.23253 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.23254 - ac_cs_recheck=: ;;
1.23255 - --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.23256 - echo "$ac_cs_version"; exit ;;
1.23257 - --debug | --debu | --deb | --de | --d | -d )
1.23258 - debug=: ;;
1.23259 - --file | --fil | --fi | --f )
1.23260 - $ac_shift
1.23261 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.23262 - ac_need_defaults=false;;
1.23263 - --header | --heade | --head | --hea )
1.23264 - $ac_shift
1.23265 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1.23266 - ac_need_defaults=false;;
1.23267 - --he | --h)
1.23268 - # Conflict between --help and --header
1.23269 - { echo "$as_me: error: ambiguous option: $1
1.23270 -Try \`$0 --help' for more information." >&2
1.23271 - { (exit 1); exit 1; }; };;
1.23272 - --help | --hel | -h )
1.23273 - echo "$ac_cs_usage"; exit ;;
1.23274 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.23275 - | -silent | --silent | --silen | --sile | --sil | --si | --s)
1.23276 - ac_cs_silent=: ;;
1.23277 -
1.23278 - # This is an error.
1.23279 - -*) { echo "$as_me: error: unrecognized option: $1
1.23280 -Try \`$0 --help' for more information." >&2
1.23281 - { (exit 1); exit 1; }; } ;;
1.23282 -
1.23283 - *) ac_config_targets="$ac_config_targets $1"
1.23284 - ac_need_defaults=false ;;
1.23285 -
1.23286 - esac
1.23287 - shift
1.23288 -done
1.23289 -
1.23290 -ac_configure_extra_args=
1.23291 -
1.23292 -if $ac_cs_silent; then
1.23293 - exec 6>/dev/null
1.23294 - ac_configure_extra_args="$ac_configure_extra_args --silent"
1.23295 -fi
1.23296 -
1.23297 -_ACEOF
1.23298 -cat >>$CONFIG_STATUS <<_ACEOF
1.23299 -if \$ac_cs_recheck; then
1.23300 - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1.23301 - CONFIG_SHELL=$SHELL
1.23302 - export CONFIG_SHELL
1.23303 - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.23304 -fi
1.23305 -
1.23306 -_ACEOF
1.23307 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23308 -exec 5>>config.log
1.23309 -{
1.23310 - echo
1.23311 - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
1.23312 -@%:@@%:@ Running $as_me. @%:@@%:@
1.23313 -_ASBOX
1.23314 - echo "$ac_log"
1.23315 -} >&5
1.23316 -
1.23317 -_ACEOF
1.23318 -cat >>$CONFIG_STATUS <<_ACEOF
1.23319 -#
1.23320 -# INIT-COMMANDS
1.23321 -#
1.23322 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.23323 -
1.23324 -_ACEOF
1.23325 -
1.23326 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23327 -
1.23328 -# Handling of arguments.
1.23329 -for ac_config_target in $ac_config_targets
1.23330 -do
1.23331 - case $ac_config_target in
1.23332 - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.23333 - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1.23334 - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.23335 - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
1.23336 -
1.23337 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1.23338 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.23339 - { (exit 1); exit 1; }; };;
1.23340 - esac
1.23341 -done
1.23342 -
1.23343 -
1.23344 -# If the user did not use the arguments to specify the items to instantiate,
1.23345 -# then the envvar interface is used. Set only those that are not.
1.23346 -# We use the long form for the default assignment because of an extremely
1.23347 -# bizarre bug on SunOS 4.1.3.
1.23348 -if $ac_need_defaults; then
1.23349 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1.23350 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1.23351 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1.23352 -fi
1.23353 -
1.23354 -# Have a temporary directory for convenience. Make it in the build tree
1.23355 -# simply because there is no reason against having it here, and in addition,
1.23356 -# creating and moving files from /tmp can sometimes cause problems.
1.23357 -# Hook for its removal unless debugging.
1.23358 -# Note that there is a small window in which the directory will not be cleaned:
1.23359 -# after its creation but before its name has been assigned to `$tmp'.
1.23360 -$debug ||
1.23361 -{
1.23362 - tmp=
1.23363 - trap 'exit_status=$?
1.23364 - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
1.23365 -' 0
1.23366 - trap '{ (exit 1); exit 1; }' 1 2 13 15
1.23367 -}
1.23368 -# Create a (secure) tmp directory for tmp files.
1.23369 -
1.23370 -{
1.23371 - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.23372 - test -n "$tmp" && test -d "$tmp"
1.23373 -} ||
1.23374 -{
1.23375 - tmp=./conf$$-$RANDOM
1.23376 - (umask 077 && mkdir "$tmp")
1.23377 -} ||
1.23378 -{
1.23379 - echo "$me: cannot create a temporary directory in ." >&2
1.23380 - { (exit 1); exit 1; }
1.23381 -}
1.23382 -
1.23383 -#
1.23384 -# Set up the sed scripts for CONFIG_FILES section.
1.23385 -#
1.23386 -
1.23387 -# No need to generate the scripts if there are no CONFIG_FILES.
1.23388 -# This happens for instance when ./config.status config.h
1.23389 -if test -n "$CONFIG_FILES"; then
1.23390 -
1.23391 -_ACEOF
1.23392 -
1.23393 -
1.23394 -
1.23395 -ac_delim='%!_!# '
1.23396 -for ac_last_try in false false false false false :; do
1.23397 - cat >conf$$subs.sed <<_ACEOF
1.23398 -SHELL!$SHELL$ac_delim
1.23399 -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
1.23400 -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
1.23401 -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
1.23402 -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
1.23403 -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
1.23404 -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
1.23405 -exec_prefix!$exec_prefix$ac_delim
1.23406 -prefix!$prefix$ac_delim
1.23407 -program_transform_name!$program_transform_name$ac_delim
1.23408 -bindir!$bindir$ac_delim
1.23409 -sbindir!$sbindir$ac_delim
1.23410 -libexecdir!$libexecdir$ac_delim
1.23411 -datarootdir!$datarootdir$ac_delim
1.23412 -datadir!$datadir$ac_delim
1.23413 -sysconfdir!$sysconfdir$ac_delim
1.23414 -sharedstatedir!$sharedstatedir$ac_delim
1.23415 -localstatedir!$localstatedir$ac_delim
1.23416 -includedir!$includedir$ac_delim
1.23417 -oldincludedir!$oldincludedir$ac_delim
1.23418 -docdir!$docdir$ac_delim
1.23419 -infodir!$infodir$ac_delim
1.23420 -htmldir!$htmldir$ac_delim
1.23421 -dvidir!$dvidir$ac_delim
1.23422 -pdfdir!$pdfdir$ac_delim
1.23423 -psdir!$psdir$ac_delim
1.23424 -libdir!$libdir$ac_delim
1.23425 -localedir!$localedir$ac_delim
1.23426 -mandir!$mandir$ac_delim
1.23427 -DEFS!$DEFS$ac_delim
1.23428 -ECHO_C!$ECHO_C$ac_delim
1.23429 -ECHO_N!$ECHO_N$ac_delim
1.23430 -ECHO_T!$ECHO_T$ac_delim
1.23431 -LIBS!$LIBS$ac_delim
1.23432 -build_alias!$build_alias$ac_delim
1.23433 -host_alias!$host_alias$ac_delim
1.23434 -target_alias!$target_alias$ac_delim
1.23435 -build!$build$ac_delim
1.23436 -build_cpu!$build_cpu$ac_delim
1.23437 -build_vendor!$build_vendor$ac_delim
1.23438 -build_os!$build_os$ac_delim
1.23439 -host!$host$ac_delim
1.23440 -host_cpu!$host_cpu$ac_delim
1.23441 -host_vendor!$host_vendor$ac_delim
1.23442 -host_os!$host_os$ac_delim
1.23443 -target!$target$ac_delim
1.23444 -target_cpu!$target_cpu$ac_delim
1.23445 -target_vendor!$target_vendor$ac_delim
1.23446 -target_os!$target_os$ac_delim
1.23447 -MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
1.23448 -MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
1.23449 -MAINT!$MAINT$ac_delim
1.23450 -GST_PLUGINS_VERSION!$GST_PLUGINS_VERSION$ac_delim
1.23451 -GST_PLUGINS_VERSION_RELEASE!$GST_PLUGINS_VERSION_RELEASE$ac_delim
1.23452 -GST_PLUGINS_VERSION_MAJOR!$GST_PLUGINS_VERSION_MAJOR$ac_delim
1.23453 -GST_PLUGINS_VERSION_MINOR!$GST_PLUGINS_VERSION_MINOR$ac_delim
1.23454 -GST_PLUGINS_VERSION_MICRO!$GST_PLUGINS_VERSION_MICRO$ac_delim
1.23455 -GST_PLUGINS_VERSION_NANO!$GST_PLUGINS_VERSION_NANO$ac_delim
1.23456 -PACKAGE!$PACKAGE$ac_delim
1.23457 -VERSION!$VERSION$ac_delim
1.23458 -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
1.23459 -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
1.23460 -INSTALL_DATA!$INSTALL_DATA$ac_delim
1.23461 -am__isrc!$am__isrc$ac_delim
1.23462 -CYGPATH_W!$CYGPATH_W$ac_delim
1.23463 -ACLOCAL!$ACLOCAL$ac_delim
1.23464 -AUTOCONF!$AUTOCONF$ac_delim
1.23465 -AUTOMAKE!$AUTOMAKE$ac_delim
1.23466 -AUTOHEADER!$AUTOHEADER$ac_delim
1.23467 -MAKEINFO!$MAKEINFO$ac_delim
1.23468 -install_sh!$install_sh$ac_delim
1.23469 -STRIP!$STRIP$ac_delim
1.23470 -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
1.23471 -mkdir_p!$mkdir_p$ac_delim
1.23472 -AWK!$AWK$ac_delim
1.23473 -SET_MAKE!$SET_MAKE$ac_delim
1.23474 -am__leading_dot!$am__leading_dot$ac_delim
1.23475 -AMTAR!$AMTAR$ac_delim
1.23476 -am__tar!$am__tar$ac_delim
1.23477 -am__untar!$am__untar$ac_delim
1.23478 -CC!$CC$ac_delim
1.23479 -CFLAGS!$CFLAGS$ac_delim
1.23480 -LDFLAGS!$LDFLAGS$ac_delim
1.23481 -CPPFLAGS!$CPPFLAGS$ac_delim
1.23482 -ac_ct_CC!$ac_ct_CC$ac_delim
1.23483 -EXEEXT!$EXEEXT$ac_delim
1.23484 -OBJEXT!$OBJEXT$ac_delim
1.23485 -DEPDIR!$DEPDIR$ac_delim
1.23486 -am__include!$am__include$ac_delim
1.23487 -am__quote!$am__quote$ac_delim
1.23488 -AMDEP_TRUE!$AMDEP_TRUE$ac_delim
1.23489 -AMDEP_FALSE!$AMDEP_FALSE$ac_delim
1.23490 -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
1.23491 -CCDEPMODE!$CCDEPMODE$ac_delim
1.23492 -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
1.23493 -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
1.23494 -GREP!$GREP$ac_delim
1.23495 -_ACEOF
1.23496 -
1.23497 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1.23498 - break
1.23499 - elif $ac_last_try; then
1.23500 - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1.23501 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
1.23502 - { (exit 1); exit 1; }; }
1.23503 - else
1.23504 - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.23505 - fi
1.23506 -done
1.23507 -
1.23508 -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
1.23509 -if test -n "$ac_eof"; then
1.23510 - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
1.23511 - ac_eof=`expr $ac_eof + 1`
1.23512 -fi
1.23513 -
1.23514 -cat >>$CONFIG_STATUS <<_ACEOF
1.23515 -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
1.23516 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.23517 -_ACEOF
1.23518 -sed '
1.23519 -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
1.23520 -s/^/s,@/; s/!/@,|#_!!_#|/
1.23521 -:n
1.23522 -t n
1.23523 -s/'"$ac_delim"'$/,g/; t
1.23524 -s/$/\\/; p
1.23525 -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
1.23526 -' >>$CONFIG_STATUS <conf$$subs.sed
1.23527 -rm -f conf$$subs.sed
1.23528 -cat >>$CONFIG_STATUS <<_ACEOF
1.23529 -CEOF$ac_eof
1.23530 -_ACEOF
1.23531 -
1.23532 -
1.23533 -ac_delim='%!_!# '
1.23534 -for ac_last_try in false false false false false :; do
1.23535 - cat >conf$$subs.sed <<_ACEOF
1.23536 -EGREP!$EGREP$ac_delim
1.23537 -LN_S!$LN_S$ac_delim
1.23538 -ECHO!$ECHO$ac_delim
1.23539 -AR!$AR$ac_delim
1.23540 -RANLIB!$RANLIB$ac_delim
1.23541 -CPP!$CPP$ac_delim
1.23542 -CXX!$CXX$ac_delim
1.23543 -CXXFLAGS!$CXXFLAGS$ac_delim
1.23544 -ac_ct_CXX!$ac_ct_CXX$ac_delim
1.23545 -CXXDEPMODE!$CXXDEPMODE$ac_delim
1.23546 -am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
1.23547 -am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
1.23548 -CXXCPP!$CXXCPP$ac_delim
1.23549 -F77!$F77$ac_delim
1.23550 -FFLAGS!$FFLAGS$ac_delim
1.23551 -ac_ct_F77!$ac_ct_F77$ac_delim
1.23552 -LIBTOOL!$LIBTOOL$ac_delim
1.23553 -ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
1.23554 -CCAS!$CCAS$ac_delim
1.23555 -CCASFLAGS!$CCASFLAGS$ac_delim
1.23556 -CCASDEPMODE!$CCASDEPMODE$ac_delim
1.23557 -am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
1.23558 -am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
1.23559 -ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
1.23560 -HAVE_CXX!$HAVE_CXX$ac_delim
1.23561 -HAVE_PKGCONFIG!$HAVE_PKGCONFIG$ac_delim
1.23562 -PKG_CONFIG!$PKG_CONFIG$ac_delim
1.23563 -GST_CFLAGS!$GST_CFLAGS$ac_delim
1.23564 -GST_LIBS!$GST_LIBS$ac_delim
1.23565 -GST_MAJORMINOR!$GST_MAJORMINOR$ac_delim
1.23566 -GST_BASE_CFLAGS!$GST_BASE_CFLAGS$ac_delim
1.23567 -GST_BASE_LIBS!$GST_BASE_LIBS$ac_delim
1.23568 -GST_PLUGINS_BASE_CFLAGS!$GST_PLUGINS_BASE_CFLAGS$ac_delim
1.23569 -GST_PLUGINS_BASE_LIBS!$GST_PLUGINS_BASE_LIBS$ac_delim
1.23570 -plugindir!$plugindir$ac_delim
1.23571 -GST_PLUGIN_LDFLAGS!$GST_PLUGIN_LDFLAGS$ac_delim
1.23572 -LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
1.23573 -LTLIBOBJS!$LTLIBOBJS$ac_delim
1.23574 -_ACEOF
1.23575 -
1.23576 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
1.23577 - break
1.23578 - elif $ac_last_try; then
1.23579 - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1.23580 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
1.23581 - { (exit 1); exit 1; }; }
1.23582 - else
1.23583 - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.23584 - fi
1.23585 -done
1.23586 -
1.23587 -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
1.23588 -if test -n "$ac_eof"; then
1.23589 - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
1.23590 - ac_eof=`expr $ac_eof + 1`
1.23591 -fi
1.23592 -
1.23593 -cat >>$CONFIG_STATUS <<_ACEOF
1.23594 -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
1.23595 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
1.23596 -_ACEOF
1.23597 -sed '
1.23598 -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
1.23599 -s/^/s,@/; s/!/@,|#_!!_#|/
1.23600 -:n
1.23601 -t n
1.23602 -s/'"$ac_delim"'$/,g/; t
1.23603 -s/$/\\/; p
1.23604 -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
1.23605 -' >>$CONFIG_STATUS <conf$$subs.sed
1.23606 -rm -f conf$$subs.sed
1.23607 -cat >>$CONFIG_STATUS <<_ACEOF
1.23608 -:end
1.23609 -s/|#_!!_#|//g
1.23610 -CEOF$ac_eof
1.23611 -_ACEOF
1.23612 -
1.23613 -
1.23614 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
1.23615 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1.23616 -# trailing colons and then remove the whole line if VPATH becomes empty
1.23617 -# (actually we leave an empty line to preserve line numbers).
1.23618 -if test "x$srcdir" = x.; then
1.23619 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
1.23620 -s/:*\$(srcdir):*/:/
1.23621 -s/:*\${srcdir}:*/:/
1.23622 -s/:*@srcdir@:*/:/
1.23623 -s/^\([^=]*=[ ]*\):*/\1/
1.23624 -s/:*$//
1.23625 -s/^[^=]*=[ ]*$//
1.23626 -}'
1.23627 -fi
1.23628 -
1.23629 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23630 -fi # test -n "$CONFIG_FILES"
1.23631 -
1.23632 -
1.23633 -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
1.23634 -do
1.23635 - case $ac_tag in
1.23636 - :[FHLC]) ac_mode=$ac_tag; continue;;
1.23637 - esac
1.23638 - case $ac_mode$ac_tag in
1.23639 - :[FHL]*:*);;
1.23640 - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
1.23641 -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
1.23642 - { (exit 1); exit 1; }; };;
1.23643 - :[FH]-) ac_tag=-:-;;
1.23644 - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1.23645 - esac
1.23646 - ac_save_IFS=$IFS
1.23647 - IFS=:
1.23648 - set x $ac_tag
1.23649 - IFS=$ac_save_IFS
1.23650 - shift
1.23651 - ac_file=$1
1.23652 - shift
1.23653 -
1.23654 - case $ac_mode in
1.23655 - :L) ac_source=$1;;
1.23656 - :[FH])
1.23657 - ac_file_inputs=
1.23658 - for ac_f
1.23659 - do
1.23660 - case $ac_f in
1.23661 - -) ac_f="$tmp/stdin";;
1.23662 - *) # Look for the file first in the build tree, then in the source tree
1.23663 - # (if the path is not absolute). The absolute path cannot be DOS-style,
1.23664 - # because $ac_f cannot contain `:'.
1.23665 - test -f "$ac_f" ||
1.23666 - case $ac_f in
1.23667 - [\\/$]*) false;;
1.23668 - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1.23669 - esac ||
1.23670 - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
1.23671 -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
1.23672 - { (exit 1); exit 1; }; };;
1.23673 - esac
1.23674 - ac_file_inputs="$ac_file_inputs $ac_f"
1.23675 - done
1.23676 -
1.23677 - # Let's still pretend it is `configure' which instantiates (i.e., don't
1.23678 - # use $as_me), people would be surprised to read:
1.23679 - # /* config.h. Generated by config.status. */
1.23680 - configure_input="Generated from "`IFS=:
1.23681 - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
1.23682 - if test x"$ac_file" != x-; then
1.23683 - configure_input="$ac_file. $configure_input"
1.23684 - { echo "$as_me:$LINENO: creating $ac_file" >&5
1.23685 -echo "$as_me: creating $ac_file" >&6;}
1.23686 - fi
1.23687 -
1.23688 - case $ac_tag in
1.23689 - *:-:* | *:-) cat >"$tmp/stdin";;
1.23690 - esac
1.23691 - ;;
1.23692 - esac
1.23693 -
1.23694 - ac_dir=`$as_dirname -- "$ac_file" ||
1.23695 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23696 - X"$ac_file" : 'X\(//\)[^/]' \| \
1.23697 - X"$ac_file" : 'X\(//\)$' \| \
1.23698 - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.23699 -echo X"$ac_file" |
1.23700 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23701 - s//\1/
1.23702 - q
1.23703 - }
1.23704 - /^X\(\/\/\)[^/].*/{
1.23705 - s//\1/
1.23706 - q
1.23707 - }
1.23708 - /^X\(\/\/\)$/{
1.23709 - s//\1/
1.23710 - q
1.23711 - }
1.23712 - /^X\(\/\).*/{
1.23713 - s//\1/
1.23714 - q
1.23715 - }
1.23716 - s/.*/./; q'`
1.23717 - { as_dir="$ac_dir"
1.23718 - case $as_dir in #(
1.23719 - -*) as_dir=./$as_dir;;
1.23720 - esac
1.23721 - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.23722 - as_dirs=
1.23723 - while :; do
1.23724 - case $as_dir in #(
1.23725 - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
1.23726 - *) as_qdir=$as_dir;;
1.23727 - esac
1.23728 - as_dirs="'$as_qdir' $as_dirs"
1.23729 - as_dir=`$as_dirname -- "$as_dir" ||
1.23730 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23731 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.23732 - X"$as_dir" : 'X\(//\)$' \| \
1.23733 - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.23734 -echo X"$as_dir" |
1.23735 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23736 - s//\1/
1.23737 - q
1.23738 - }
1.23739 - /^X\(\/\/\)[^/].*/{
1.23740 - s//\1/
1.23741 - q
1.23742 - }
1.23743 - /^X\(\/\/\)$/{
1.23744 - s//\1/
1.23745 - q
1.23746 - }
1.23747 - /^X\(\/\).*/{
1.23748 - s//\1/
1.23749 - q
1.23750 - }
1.23751 - s/.*/./; q'`
1.23752 - test -d "$as_dir" && break
1.23753 - done
1.23754 - test -z "$as_dirs" || eval "mkdir $as_dirs"
1.23755 - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1.23756 -echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.23757 - { (exit 1); exit 1; }; }; }
1.23758 - ac_builddir=.
1.23759 -
1.23760 -case "$ac_dir" in
1.23761 -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.23762 -*)
1.23763 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.23764 - # A ".." for each directory in $ac_dir_suffix.
1.23765 - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1.23766 - case $ac_top_builddir_sub in
1.23767 - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1.23768 - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1.23769 - esac ;;
1.23770 -esac
1.23771 -ac_abs_top_builddir=$ac_pwd
1.23772 -ac_abs_builddir=$ac_pwd$ac_dir_suffix
1.23773 -# for backward compatibility:
1.23774 -ac_top_builddir=$ac_top_build_prefix
1.23775 -
1.23776 -case $srcdir in
1.23777 - .) # We are building in place.
1.23778 - ac_srcdir=.
1.23779 - ac_top_srcdir=$ac_top_builddir_sub
1.23780 - ac_abs_top_srcdir=$ac_pwd ;;
1.23781 - [\\/]* | ?:[\\/]* ) # Absolute name.
1.23782 - ac_srcdir=$srcdir$ac_dir_suffix;
1.23783 - ac_top_srcdir=$srcdir
1.23784 - ac_abs_top_srcdir=$srcdir ;;
1.23785 - *) # Relative name.
1.23786 - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1.23787 - ac_top_srcdir=$ac_top_build_prefix$srcdir
1.23788 - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.23789 -esac
1.23790 -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.23791 -
1.23792 -
1.23793 - case $ac_mode in
1.23794 - :F)
1.23795 - #
1.23796 - # CONFIG_FILE
1.23797 - #
1.23798 -
1.23799 - case $INSTALL in
1.23800 - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.23801 - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.23802 - esac
1.23803 - ac_MKDIR_P=$MKDIR_P
1.23804 - case $MKDIR_P in
1.23805 - [\\/$]* | ?:[\\/]* ) ;;
1.23806 - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1.23807 - esac
1.23808 -_ACEOF
1.23809 -
1.23810 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23811 -# If the template does not know about datarootdir, expand it.
1.23812 -# FIXME: This hack should be removed a few years after 2.60.
1.23813 -ac_datarootdir_hack=; ac_datarootdir_seen=
1.23814 -
1.23815 -case `sed -n '/datarootdir/ {
1.23816 - p
1.23817 - q
1.23818 -}
1.23819 -/@datadir@/p
1.23820 -/@docdir@/p
1.23821 -/@infodir@/p
1.23822 -/@localedir@/p
1.23823 -/@mandir@/p
1.23824 -' $ac_file_inputs` in
1.23825 -*datarootdir*) ac_datarootdir_seen=yes;;
1.23826 -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.23827 - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.23828 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.23829 -_ACEOF
1.23830 -cat >>$CONFIG_STATUS <<_ACEOF
1.23831 - ac_datarootdir_hack='
1.23832 - s&@datadir@&$datadir&g
1.23833 - s&@docdir@&$docdir&g
1.23834 - s&@infodir@&$infodir&g
1.23835 - s&@localedir@&$localedir&g
1.23836 - s&@mandir@&$mandir&g
1.23837 - s&\\\${datarootdir}&$datarootdir&g' ;;
1.23838 -esac
1.23839 -_ACEOF
1.23840 -
1.23841 -# Neutralize VPATH when `$srcdir' = `.'.
1.23842 -# Shell code in configure.ac might set extrasub.
1.23843 -# FIXME: do we really want to maintain this feature?
1.23844 -cat >>$CONFIG_STATUS <<_ACEOF
1.23845 - sed "$ac_vpsub
1.23846 -$extrasub
1.23847 -_ACEOF
1.23848 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23849 -:t
1.23850 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.23851 -s&@configure_input@&$configure_input&;t t
1.23852 -s&@top_builddir@&$ac_top_builddir_sub&;t t
1.23853 -s&@srcdir@&$ac_srcdir&;t t
1.23854 -s&@abs_srcdir@&$ac_abs_srcdir&;t t
1.23855 -s&@top_srcdir@&$ac_top_srcdir&;t t
1.23856 -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1.23857 -s&@builddir@&$ac_builddir&;t t
1.23858 -s&@abs_builddir@&$ac_abs_builddir&;t t
1.23859 -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.23860 -s&@INSTALL@&$ac_INSTALL&;t t
1.23861 -s&@MKDIR_P@&$ac_MKDIR_P&;t t
1.23862 -$ac_datarootdir_hack
1.23863 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
1.23864 -
1.23865 -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.23866 - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1.23867 - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1.23868 - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.23869 -which seems to be undefined. Please make sure it is defined." >&5
1.23870 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.23871 -which seems to be undefined. Please make sure it is defined." >&2;}
1.23872 -
1.23873 - rm -f "$tmp/stdin"
1.23874 - case $ac_file in
1.23875 - -) cat "$tmp/out"; rm -f "$tmp/out";;
1.23876 - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
1.23877 - esac
1.23878 - ;;
1.23879 - :H)
1.23880 - #
1.23881 - # CONFIG_HEADER
1.23882 - #
1.23883 -_ACEOF
1.23884 -
1.23885 -# Transform confdefs.h into a sed script `conftest.defines', that
1.23886 -# substitutes the proper values into config.h.in to produce config.h.
1.23887 -rm -f conftest.defines conftest.tail
1.23888 -# First, append a space to every undef/define line, to ease matching.
1.23889 -echo 's/$/ /' >conftest.defines
1.23890 -# Then, protect against being on the right side of a sed subst, or in
1.23891 -# an unquoted here document, in config.status. If some macros were
1.23892 -# called several times there might be several #defines for the same
1.23893 -# symbol, which is useless. But do not sort them, since the last
1.23894 -# AC_DEFINE must be honored.
1.23895 -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
1.23896 -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
1.23897 -# NAME is the cpp macro being defined, VALUE is the value it is being given.
1.23898 -# PARAMS is the parameter list in the macro definition--in most cases, it's
1.23899 -# just an empty string.
1.23900 -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
1.23901 -ac_dB='\\)[ (].*,\\1define\\2'
1.23902 -ac_dC=' '
1.23903 -ac_dD=' ,'
1.23904 -
1.23905 -uniq confdefs.h |
1.23906 - sed -n '
1.23907 - t rset
1.23908 - :rset
1.23909 - s/^[ ]*#[ ]*define[ ][ ]*//
1.23910 - t ok
1.23911 - d
1.23912 - :ok
1.23913 - s/[\\&,]/\\&/g
1.23914 - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
1.23915 - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
1.23916 - ' >>conftest.defines
1.23917 -
1.23918 -# Remove the space that was appended to ease matching.
1.23919 -# Then replace #undef with comments. This is necessary, for
1.23920 -# example, in the case of _POSIX_SOURCE, which is predefined and required
1.23921 -# on some systems where configure will not decide to define it.
1.23922 -# (The regexp can be short, since the line contains either #define or #undef.)
1.23923 -echo 's/ $//
1.23924 -s,^[ #]*u.*,/* & */,' >>conftest.defines
1.23925 -
1.23926 -# Break up conftest.defines:
1.23927 -ac_max_sed_lines=50
1.23928 -
1.23929 -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
1.23930 -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
1.23931 -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
1.23932 -# et cetera.
1.23933 -ac_in='$ac_file_inputs'
1.23934 -ac_out='"$tmp/out1"'
1.23935 -ac_nxt='"$tmp/out2"'
1.23936 -
1.23937 -while :
1.23938 -do
1.23939 - # Write a here document:
1.23940 - cat >>$CONFIG_STATUS <<_ACEOF
1.23941 - # First, check the format of the line:
1.23942 - cat >"\$tmp/defines.sed" <<\\CEOF
1.23943 -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
1.23944 -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
1.23945 -b
1.23946 -:def
1.23947 -_ACEOF
1.23948 - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
1.23949 - echo 'CEOF
1.23950 - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
1.23951 - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
1.23952 - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
1.23953 - grep . conftest.tail >/dev/null || break
1.23954 - rm -f conftest.defines
1.23955 - mv conftest.tail conftest.defines
1.23956 -done
1.23957 -rm -f conftest.defines conftest.tail
1.23958 -
1.23959 -echo "ac_result=$ac_in" >>$CONFIG_STATUS
1.23960 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23961 - if test x"$ac_file" != x-; then
1.23962 - echo "/* $configure_input */" >"$tmp/config.h"
1.23963 - cat "$ac_result" >>"$tmp/config.h"
1.23964 - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
1.23965 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1.23966 -echo "$as_me: $ac_file is unchanged" >&6;}
1.23967 - else
1.23968 - rm -f $ac_file
1.23969 - mv "$tmp/config.h" $ac_file
1.23970 - fi
1.23971 - else
1.23972 - echo "/* $configure_input */"
1.23973 - cat "$ac_result"
1.23974 - fi
1.23975 - rm -f "$tmp/out12"
1.23976 -# Compute $ac_file's index in $config_headers.
1.23977 -_am_stamp_count=1
1.23978 -for _am_header in $config_headers :; do
1.23979 - case $_am_header in
1.23980 - $ac_file | $ac_file:* )
1.23981 - break ;;
1.23982 - * )
1.23983 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1.23984 - esac
1.23985 -done
1.23986 -echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
1.23987 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23988 - X$ac_file : 'X\(//\)[^/]' \| \
1.23989 - X$ac_file : 'X\(//\)$' \| \
1.23990 - X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
1.23991 -echo X$ac_file |
1.23992 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.23993 - s//\1/
1.23994 - q
1.23995 - }
1.23996 - /^X\(\/\/\)[^/].*/{
1.23997 - s//\1/
1.23998 - q
1.23999 - }
1.24000 - /^X\(\/\/\)$/{
1.24001 - s//\1/
1.24002 - q
1.24003 - }
1.24004 - /^X\(\/\).*/{
1.24005 - s//\1/
1.24006 - q
1.24007 - }
1.24008 - s/.*/./; q'`/stamp-h$_am_stamp_count
1.24009 - ;;
1.24010 -
1.24011 - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
1.24012 -echo "$as_me: executing $ac_file commands" >&6;}
1.24013 - ;;
1.24014 - esac
1.24015 -
1.24016 -
1.24017 - case $ac_file$ac_mode in
1.24018 - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1.24019 - # Strip MF so we end up with the name of the file.
1.24020 - mf=`echo "$mf" | sed -e 's/:.*$//'`
1.24021 - # Check whether this is an Automake generated Makefile or not.
1.24022 - # We used to match only the files named `Makefile.in', but
1.24023 - # some people rename them; so instead we look at the file content.
1.24024 - # Grep'ing the first line is not enough: some people post-process
1.24025 - # each Makefile.in and add a new line on top of each file to say so.
1.24026 - # Grep'ing the whole file is not good either: AIX grep has a line
1.24027 - # limit of 2048, but all sed's we know have understand at least 4000.
1.24028 - if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
1.24029 - dirpart=`$as_dirname -- "$mf" ||
1.24030 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.24031 - X"$mf" : 'X\(//\)[^/]' \| \
1.24032 - X"$mf" : 'X\(//\)$' \| \
1.24033 - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.24034 -echo X"$mf" |
1.24035 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.24036 - s//\1/
1.24037 - q
1.24038 - }
1.24039 - /^X\(\/\/\)[^/].*/{
1.24040 - s//\1/
1.24041 - q
1.24042 - }
1.24043 - /^X\(\/\/\)$/{
1.24044 - s//\1/
1.24045 - q
1.24046 - }
1.24047 - /^X\(\/\).*/{
1.24048 - s//\1/
1.24049 - q
1.24050 - }
1.24051 - s/.*/./; q'`
1.24052 - else
1.24053 - continue
1.24054 - fi
1.24055 - # Extract the definition of DEPDIR, am__include, and am__quote
1.24056 - # from the Makefile without running `make'.
1.24057 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.24058 - test -z "$DEPDIR" && continue
1.24059 - am__include=`sed -n 's/^am__include = //p' < "$mf"`
1.24060 - test -z "am__include" && continue
1.24061 - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.24062 - # When using ansi2knr, U may be empty or an underscore; expand it
1.24063 - U=`sed -n 's/^U = //p' < "$mf"`
1.24064 - # Find all dependency output files, they are included files with
1.24065 - # $(DEPDIR) in their names. We invoke sed twice because it is the
1.24066 - # simplest approach to changing $(DEPDIR) to its actual value in the
1.24067 - # expansion.
1.24068 - for file in `sed -n "
1.24069 - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.24070 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1.24071 - # Make sure the directory exists.
1.24072 - test -f "$dirpart/$file" && continue
1.24073 - fdir=`$as_dirname -- "$file" ||
1.24074 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.24075 - X"$file" : 'X\(//\)[^/]' \| \
1.24076 - X"$file" : 'X\(//\)$' \| \
1.24077 - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.24078 -echo X"$file" |
1.24079 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.24080 - s//\1/
1.24081 - q
1.24082 - }
1.24083 - /^X\(\/\/\)[^/].*/{
1.24084 - s//\1/
1.24085 - q
1.24086 - }
1.24087 - /^X\(\/\/\)$/{
1.24088 - s//\1/
1.24089 - q
1.24090 - }
1.24091 - /^X\(\/\).*/{
1.24092 - s//\1/
1.24093 - q
1.24094 - }
1.24095 - s/.*/./; q'`
1.24096 - { as_dir=$dirpart/$fdir
1.24097 - case $as_dir in #(
1.24098 - -*) as_dir=./$as_dir;;
1.24099 - esac
1.24100 - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.24101 - as_dirs=
1.24102 - while :; do
1.24103 - case $as_dir in #(
1.24104 - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
1.24105 - *) as_qdir=$as_dir;;
1.24106 - esac
1.24107 - as_dirs="'$as_qdir' $as_dirs"
1.24108 - as_dir=`$as_dirname -- "$as_dir" ||
1.24109 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.24110 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.24111 - X"$as_dir" : 'X\(//\)$' \| \
1.24112 - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.24113 -echo X"$as_dir" |
1.24114 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.24115 - s//\1/
1.24116 - q
1.24117 - }
1.24118 - /^X\(\/\/\)[^/].*/{
1.24119 - s//\1/
1.24120 - q
1.24121 - }
1.24122 - /^X\(\/\/\)$/{
1.24123 - s//\1/
1.24124 - q
1.24125 - }
1.24126 - /^X\(\/\).*/{
1.24127 - s//\1/
1.24128 - q
1.24129 - }
1.24130 - s/.*/./; q'`
1.24131 - test -d "$as_dir" && break
1.24132 - done
1.24133 - test -z "$as_dirs" || eval "mkdir $as_dirs"
1.24134 - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1.24135 -echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.24136 - { (exit 1); exit 1; }; }; }
1.24137 - # echo "creating $dirpart/$file"
1.24138 - echo '# dummy' > "$dirpart/$file"
1.24139 - done
1.24140 -done
1.24141 - ;;
1.24142 -
1.24143 - esac
1.24144 -done # for ac_tag
1.24145 -
1.24146 -
1.24147 -{ (exit 0); exit 0; }
1.24148 -_ACEOF
1.24149 -chmod +x $CONFIG_STATUS
1.24150 -ac_clean_files=$ac_clean_files_save
1.24151 -
1.24152 -
1.24153 -# configure is writing to config.log, and then calls config.status.
1.24154 -# config.status does its own redirection, appending to config.log.
1.24155 -# Unfortunately, on DOS this fails, as config.log is still kept open
1.24156 -# by configure, so config.status won't be able to write to it; its
1.24157 -# output is simply discarded. So we exec the FD to /dev/null,
1.24158 -# effectively closing config.log, so it can be properly (re)opened and
1.24159 -# appended to by config.status. When coming back to configure, we
1.24160 -# need to make the FD available again.
1.24161 -if test "$no_create" != yes; then
1.24162 - ac_cs_success=:
1.24163 - ac_config_status_args=
1.24164 - test "$silent" = yes &&
1.24165 - ac_config_status_args="$ac_config_status_args --quiet"
1.24166 - exec 5>/dev/null
1.24167 - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.24168 - exec 5>>config.log
1.24169 - # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1.24170 - # would make configure fail if this is the last instruction.
1.24171 - $ac_cs_success || { (exit 1); exit 1; }
1.24172 -fi
1.24173 -
1.24174 -