1.1 --- a/gst-plugins-nuvdemux/autom4te.cache/output.0 Thu Oct 26 18:55:14 2006 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,23553 +0,0 @@
1.4 -@%:@! /bin/sh
1.5 -@%:@ Guess values for system-dependent variables and create Makefiles.
1.6 -@%:@ Generated by GNU Autoconf 2.59.
1.7 -@%:@
1.8 -@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
1.9 -@%:@ This configure script is free software; the Free Software Foundation
1.10 -@%:@ gives unlimited permission to copy, distribute and modify it.
1.11 -## --------------------- ##
1.12 -## M4sh Initialization. ##
1.13 -## --------------------- ##
1.14 -
1.15 -# Be Bourne compatible
1.16 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.17 - emulate sh
1.18 - NULLCMD=:
1.19 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.20 - # is contrary to our usage. Disable this feature.
1.21 - alias -g '${1+"$@"}'='"$@"'
1.22 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1.23 - set -o posix
1.24 -fi
1.25 -DUALCASE=1; export DUALCASE # for MKS sh
1.26 -
1.27 -# Support unset when possible.
1.28 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.29 - as_unset=unset
1.30 -else
1.31 - as_unset=false
1.32 -fi
1.33 -
1.34 -
1.35 -# Work around bugs in pre-3.0 UWIN ksh.
1.36 -$as_unset ENV MAIL MAILPATH
1.37 -PS1='$ '
1.38 -PS2='> '
1.39 -PS4='+ '
1.40 -
1.41 -# NLS nuisances.
1.42 -for as_var in \
1.43 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1.44 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1.45 - LC_TELEPHONE LC_TIME
1.46 -do
1.47 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.48 - eval $as_var=C; export $as_var
1.49 - else
1.50 - $as_unset $as_var
1.51 - fi
1.52 -done
1.53 -
1.54 -# Required to use basename.
1.55 -if expr a : '\(a\)' >/dev/null 2>&1; then
1.56 - as_expr=expr
1.57 -else
1.58 - as_expr=false
1.59 -fi
1.60 -
1.61 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.62 - as_basename=basename
1.63 -else
1.64 - as_basename=false
1.65 -fi
1.66 -
1.67 -
1.68 -# Name of the executable.
1.69 -as_me=`$as_basename "$0" ||
1.70 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1.71 - X"$0" : 'X\(//\)$' \| \
1.72 - X"$0" : 'X\(/\)$' \| \
1.73 - . : '\(.\)' 2>/dev/null ||
1.74 -echo X/"$0" |
1.75 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1.76 - /^X\/\(\/\/\)$/{ s//\1/; q; }
1.77 - /^X\/\(\/\).*/{ s//\1/; q; }
1.78 - s/.*/./; q'`
1.79 -
1.80 -
1.81 -# PATH needs CR, and LINENO needs CR and PATH.
1.82 -# Avoid depending upon Character Ranges.
1.83 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1.84 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1.85 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1.86 -as_cr_digits='0123456789'
1.87 -as_cr_alnum=$as_cr_Letters$as_cr_digits
1.88 -
1.89 -# The user is always right.
1.90 -if test "${PATH_SEPARATOR+set}" != set; then
1.91 - echo "#! /bin/sh" >conf$$.sh
1.92 - echo "exit 0" >>conf$$.sh
1.93 - chmod +x conf$$.sh
1.94 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.95 - PATH_SEPARATOR=';'
1.96 - else
1.97 - PATH_SEPARATOR=:
1.98 - fi
1.99 - rm -f conf$$.sh
1.100 -fi
1.101 -
1.102 -
1.103 - as_lineno_1=$LINENO
1.104 - as_lineno_2=$LINENO
1.105 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.106 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.107 - test "x$as_lineno_3" = "x$as_lineno_2" || {
1.108 - # Find who we are. Look in the path if we contain no path at all
1.109 - # relative or not.
1.110 - case $0 in
1.111 - *[\\/]* ) as_myself=$0 ;;
1.112 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.113 -for as_dir in $PATH
1.114 -do
1.115 - IFS=$as_save_IFS
1.116 - test -z "$as_dir" && as_dir=.
1.117 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.118 -done
1.119 -
1.120 - ;;
1.121 - esac
1.122 - # We did not find ourselves, most probably we were run as `sh COMMAND'
1.123 - # in which case we are not to be found in the path.
1.124 - if test "x$as_myself" = x; then
1.125 - as_myself=$0
1.126 - fi
1.127 - if test ! -f "$as_myself"; then
1.128 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1.129 - { (exit 1); exit 1; }; }
1.130 - fi
1.131 - case $CONFIG_SHELL in
1.132 - '')
1.133 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.134 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.135 -do
1.136 - IFS=$as_save_IFS
1.137 - test -z "$as_dir" && as_dir=.
1.138 - for as_base in sh bash ksh sh5; do
1.139 - case $as_dir in
1.140 - /*)
1.141 - if ("$as_dir/$as_base" -c '
1.142 - as_lineno_1=$LINENO
1.143 - as_lineno_2=$LINENO
1.144 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.145 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.146 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1.147 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1.148 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1.149 - CONFIG_SHELL=$as_dir/$as_base
1.150 - export CONFIG_SHELL
1.151 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1.152 - fi;;
1.153 - esac
1.154 - done
1.155 -done
1.156 -;;
1.157 - esac
1.158 -
1.159 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1.160 - # uniformly replaced by the line number. The first 'sed' inserts a
1.161 - # line-number line before each line; the second 'sed' does the real
1.162 - # work. The second script uses 'N' to pair each line-number line
1.163 - # with the numbered line, and appends trailing '-' during
1.164 - # substitution so that $LINENO is not a special case at line end.
1.165 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.166 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1.167 - sed '=' <$as_myself |
1.168 - sed '
1.169 - N
1.170 - s,$,-,
1.171 - : loop
1.172 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1.173 - t loop
1.174 - s,-$,,
1.175 - s,^['$as_cr_digits']*\n,,
1.176 - ' >$as_me.lineno &&
1.177 - chmod +x $as_me.lineno ||
1.178 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.179 - { (exit 1); exit 1; }; }
1.180 -
1.181 - # Don't try to exec as it changes $[0], causing all sort of problems
1.182 - # (the dirname of $[0] is not the place where we might find the
1.183 - # original and so on. Autoconf is especially sensible to this).
1.184 - . ./$as_me.lineno
1.185 - # Exit status is that of the last command.
1.186 - exit
1.187 -}
1.188 -
1.189 -
1.190 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1.191 - *c*,-n*) ECHO_N= ECHO_C='
1.192 -' ECHO_T=' ' ;;
1.193 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1.194 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1.195 -esac
1.196 -
1.197 -if expr a : '\(a\)' >/dev/null 2>&1; then
1.198 - as_expr=expr
1.199 -else
1.200 - as_expr=false
1.201 -fi
1.202 -
1.203 -rm -f conf$$ conf$$.exe conf$$.file
1.204 -echo >conf$$.file
1.205 -if ln -s conf$$.file conf$$ 2>/dev/null; then
1.206 - # We could just check for DJGPP; but this test a) works b) is more generic
1.207 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1.208 - if test -f conf$$.exe; then
1.209 - # Don't use ln at all; we don't have any links
1.210 - as_ln_s='cp -p'
1.211 - else
1.212 - as_ln_s='ln -s'
1.213 - fi
1.214 -elif ln conf$$.file conf$$ 2>/dev/null; then
1.215 - as_ln_s=ln
1.216 -else
1.217 - as_ln_s='cp -p'
1.218 -fi
1.219 -rm -f conf$$ conf$$.exe conf$$.file
1.220 -
1.221 -if mkdir -p . 2>/dev/null; then
1.222 - as_mkdir_p=:
1.223 -else
1.224 - test -d ./-p && rmdir ./-p
1.225 - as_mkdir_p=false
1.226 -fi
1.227 -
1.228 -as_executable_p="test -f"
1.229 -
1.230 -# Sed expression to map a string onto a valid CPP name.
1.231 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.232 -
1.233 -# Sed expression to map a string onto a valid variable name.
1.234 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.235 -
1.236 -
1.237 -# IFS
1.238 -# We need space, tab and new line, in precisely that order.
1.239 -as_nl='
1.240 -'
1.241 -IFS=" $as_nl"
1.242 -
1.243 -# CDPATH.
1.244 -$as_unset CDPATH
1.245 -
1.246 -
1.247 -
1.248 -# Check that we are running under the correct shell.
1.249 -SHELL=${CONFIG_SHELL-/bin/sh}
1.250 -
1.251 -case X$ECHO in
1.252 -X*--fallback-echo)
1.253 - # Remove one level of quotation (which was required for Make).
1.254 - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
1.255 - ;;
1.256 -esac
1.257 -
1.258 -echo=${ECHO-echo}
1.259 -if test "X$1" = X--no-reexec; then
1.260 - # Discard the --no-reexec flag, and continue.
1.261 - shift
1.262 -elif test "X$1" = X--fallback-echo; then
1.263 - # Avoid inline document here, it may be left over
1.264 - :
1.265 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1.266 - # Yippee, $echo works!
1.267 - :
1.268 -else
1.269 - # Restart under the correct shell.
1.270 - exec $SHELL "$0" --no-reexec ${1+"$@"}
1.271 -fi
1.272 -
1.273 -if test "X$1" = X--fallback-echo; then
1.274 - # used as fallback echo
1.275 - shift
1.276 - cat <<EOF
1.277 -$*
1.278 -EOF
1.279 - exit 0
1.280 -fi
1.281 -
1.282 -# The HP-UX ksh and POSIX shell print the target directory to stdout
1.283 -# if CDPATH is set.
1.284 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.285 -
1.286 -if test -z "$ECHO"; then
1.287 -if test "X${echo_test_string+set}" != Xset; then
1.288 -# find a string as large as possible, as long as the shell can cope with it
1.289 - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
1.290 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1.291 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
1.292 - echo_test_string=`eval $cmd` &&
1.293 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1.294 - then
1.295 - break
1.296 - fi
1.297 - done
1.298 -fi
1.299 -
1.300 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1.301 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1.302 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.303 - :
1.304 -else
1.305 - # The Solaris, AIX, and Digital Unix default echo programs unquote
1.306 - # backslashes. This makes it impossible to quote backslashes using
1.307 - # echo "$something" | sed 's/\\/\\\\/g'
1.308 - #
1.309 - # So, first we look for a working echo in the user's PATH.
1.310 -
1.311 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.312 - for dir in $PATH /usr/ucb; do
1.313 - IFS="$lt_save_ifs"
1.314 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1.315 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1.316 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1.317 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.318 - echo="$dir/echo"
1.319 - break
1.320 - fi
1.321 - done
1.322 - IFS="$lt_save_ifs"
1.323 -
1.324 - if test "X$echo" = Xecho; then
1.325 - # We didn't find a better echo, so look for alternatives.
1.326 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
1.327 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
1.328 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.329 - # This shell has a builtin print -r that does the trick.
1.330 - echo='print -r'
1.331 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
1.332 - test "X$CONFIG_SHELL" != X/bin/ksh; then
1.333 - # If we have ksh, try running configure again with it.
1.334 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1.335 - export ORIGINAL_CONFIG_SHELL
1.336 - CONFIG_SHELL=/bin/ksh
1.337 - export CONFIG_SHELL
1.338 - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
1.339 - else
1.340 - # Try using printf.
1.341 - echo='printf %s\n'
1.342 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1.343 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1.344 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.345 - # Cool, printf works
1.346 - :
1.347 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1.348 - test "X$echo_testing_string" = 'X\t' &&
1.349 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1.350 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.351 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1.352 - export CONFIG_SHELL
1.353 - SHELL="$CONFIG_SHELL"
1.354 - export SHELL
1.355 - echo="$CONFIG_SHELL $0 --fallback-echo"
1.356 - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1.357 - test "X$echo_testing_string" = 'X\t' &&
1.358 - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1.359 - test "X$echo_testing_string" = "X$echo_test_string"; then
1.360 - echo="$CONFIG_SHELL $0 --fallback-echo"
1.361 - else
1.362 - # maybe with a smaller string...
1.363 - prev=:
1.364 -
1.365 - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
1.366 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1.367 - then
1.368 - break
1.369 - fi
1.370 - prev="$cmd"
1.371 - done
1.372 -
1.373 - if test "$prev" != 'sed 50q "$0"'; then
1.374 - echo_test_string=`eval $prev`
1.375 - export echo_test_string
1.376 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
1.377 - else
1.378 - # Oops. We lost completely, so just stick with echo.
1.379 - echo=echo
1.380 - fi
1.381 - fi
1.382 - fi
1.383 - fi
1.384 -fi
1.385 -fi
1.386 -
1.387 -# Copy echo and quote the copy suitably for passing to libtool from
1.388 -# the Makefile, instead of quoting the original, which is used later.
1.389 -ECHO=$echo
1.390 -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
1.391 - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
1.392 -fi
1.393 -
1.394 -
1.395 -
1.396 -
1.397 -tagnames=${tagnames+${tagnames},}CXX
1.398 -
1.399 -tagnames=${tagnames+${tagnames},}F77
1.400 -
1.401 -# Name of the host.
1.402 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1.403 -# so uname gets run too.
1.404 -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.405 -
1.406 -exec 6>&1
1.407 -
1.408 -#
1.409 -# Initializations.
1.410 -#
1.411 -ac_default_prefix=/usr/local
1.412 -ac_config_libobj_dir=.
1.413 -cross_compiling=no
1.414 -subdirs=
1.415 -MFLAGS=
1.416 -MAKEFLAGS=
1.417 -SHELL=${CONFIG_SHELL-/bin/sh}
1.418 -
1.419 -# Maximum number of lines to put in a shell here document.
1.420 -# This variable seems obsolete. It should probably be removed, and
1.421 -# only ac_max_sed_lines should be used.
1.422 -: ${ac_max_here_lines=38}
1.423 -
1.424 -# Identity of this package.
1.425 -PACKAGE_NAME=
1.426 -PACKAGE_TARNAME=
1.427 -PACKAGE_VERSION=
1.428 -PACKAGE_STRING=
1.429 -PACKAGE_BUGREPORT=
1.430 -
1.431 -# Factoring default headers for most tests.
1.432 -ac_includes_default="\
1.433 -#include <stdio.h>
1.434 -#if HAVE_SYS_TYPES_H
1.435 -# include <sys/types.h>
1.436 -#endif
1.437 -#if HAVE_SYS_STAT_H
1.438 -# include <sys/stat.h>
1.439 -#endif
1.440 -#if STDC_HEADERS
1.441 -# include <stdlib.h>
1.442 -# include <stddef.h>
1.443 -#else
1.444 -# if HAVE_STDLIB_H
1.445 -# include <stdlib.h>
1.446 -# endif
1.447 -#endif
1.448 -#if HAVE_STRING_H
1.449 -# if !STDC_HEADERS && HAVE_MEMORY_H
1.450 -# include <memory.h>
1.451 -# endif
1.452 -# include <string.h>
1.453 -#endif
1.454 -#if HAVE_STRINGS_H
1.455 -# include <strings.h>
1.456 -#endif
1.457 -#if HAVE_INTTYPES_H
1.458 -# include <inttypes.h>
1.459 -#else
1.460 -# if HAVE_STDINT_H
1.461 -# include <stdint.h>
1.462 -# endif
1.463 -#endif
1.464 -#if HAVE_UNISTD_H
1.465 -# include <unistd.h>
1.466 -#endif"
1.467 -
1.468 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIB@&t@OBJS LTLIBOBJS'
1.469 -ac_subst_files=''
1.470 -
1.471 -# Initialize some variables set by options.
1.472 -ac_init_help=
1.473 -ac_init_version=false
1.474 -# The variables have the same names as the options, with
1.475 -# dashes changed to underlines.
1.476 -cache_file=/dev/null
1.477 -exec_prefix=NONE
1.478 -no_create=
1.479 -no_recursion=
1.480 -prefix=NONE
1.481 -program_prefix=NONE
1.482 -program_suffix=NONE
1.483 -program_transform_name=s,x,x,
1.484 -silent=
1.485 -site=
1.486 -srcdir=
1.487 -verbose=
1.488 -x_includes=NONE
1.489 -x_libraries=NONE
1.490 -
1.491 -# Installation directory options.
1.492 -# These are left unexpanded so users can "make install exec_prefix=/foo"
1.493 -# and all the variables that are supposed to be based on exec_prefix
1.494 -# by default will actually change.
1.495 -# Use braces instead of parens because sh, perl, etc. also accept them.
1.496 -bindir='${exec_prefix}/bin'
1.497 -sbindir='${exec_prefix}/sbin'
1.498 -libexecdir='${exec_prefix}/libexec'
1.499 -datadir='${prefix}/share'
1.500 -sysconfdir='${prefix}/etc'
1.501 -sharedstatedir='${prefix}/com'
1.502 -localstatedir='${prefix}/var'
1.503 -libdir='${exec_prefix}/lib'
1.504 -includedir='${prefix}/include'
1.505 -oldincludedir='/usr/include'
1.506 -infodir='${prefix}/info'
1.507 -mandir='${prefix}/man'
1.508 -
1.509 -ac_prev=
1.510 -for ac_option
1.511 -do
1.512 - # If the previous option needs an argument, assign it.
1.513 - if test -n "$ac_prev"; then
1.514 - eval "$ac_prev=\$ac_option"
1.515 - ac_prev=
1.516 - continue
1.517 - fi
1.518 -
1.519 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.520 -
1.521 - # Accept the important Cygnus configure options, so we can diagnose typos.
1.522 -
1.523 - case $ac_option in
1.524 -
1.525 - -bindir | --bindir | --bindi | --bind | --bin | --bi)
1.526 - ac_prev=bindir ;;
1.527 - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.528 - bindir=$ac_optarg ;;
1.529 -
1.530 - -build | --build | --buil | --bui | --bu)
1.531 - ac_prev=build_alias ;;
1.532 - -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.533 - build_alias=$ac_optarg ;;
1.534 -
1.535 - -cache-file | --cache-file | --cache-fil | --cache-fi \
1.536 - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1.537 - ac_prev=cache_file ;;
1.538 - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.539 - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.540 - cache_file=$ac_optarg ;;
1.541 -
1.542 - --config-cache | -C)
1.543 - cache_file=config.cache ;;
1.544 -
1.545 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1.546 - ac_prev=datadir ;;
1.547 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1.548 - | --da=*)
1.549 - datadir=$ac_optarg ;;
1.550 -
1.551 - -disable-* | --disable-*)
1.552 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.553 - # Reject names that are not valid shell variable names.
1.554 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.555 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.556 - { (exit 1); exit 1; }; }
1.557 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1.558 - eval "enable_$ac_feature=no" ;;
1.559 -
1.560 - -enable-* | --enable-*)
1.561 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.562 - # Reject names that are not valid shell variable names.
1.563 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.564 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.565 - { (exit 1); exit 1; }; }
1.566 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1.567 - case $ac_option in
1.568 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.569 - *) ac_optarg=yes ;;
1.570 - esac
1.571 - eval "enable_$ac_feature='$ac_optarg'" ;;
1.572 -
1.573 - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1.574 - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1.575 - | --exec | --exe | --ex)
1.576 - ac_prev=exec_prefix ;;
1.577 - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1.578 - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1.579 - | --exec=* | --exe=* | --ex=*)
1.580 - exec_prefix=$ac_optarg ;;
1.581 -
1.582 - -gas | --gas | --ga | --g)
1.583 - # Obsolete; use --with-gas.
1.584 - with_gas=yes ;;
1.585 -
1.586 - -help | --help | --hel | --he | -h)
1.587 - ac_init_help=long ;;
1.588 - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1.589 - ac_init_help=recursive ;;
1.590 - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1.591 - ac_init_help=short ;;
1.592 -
1.593 - -host | --host | --hos | --ho)
1.594 - ac_prev=host_alias ;;
1.595 - -host=* | --host=* | --hos=* | --ho=*)
1.596 - host_alias=$ac_optarg ;;
1.597 -
1.598 - -includedir | --includedir | --includedi | --included | --include \
1.599 - | --includ | --inclu | --incl | --inc)
1.600 - ac_prev=includedir ;;
1.601 - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1.602 - | --includ=* | --inclu=* | --incl=* | --inc=*)
1.603 - includedir=$ac_optarg ;;
1.604 -
1.605 - -infodir | --infodir | --infodi | --infod | --info | --inf)
1.606 - ac_prev=infodir ;;
1.607 - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.608 - infodir=$ac_optarg ;;
1.609 -
1.610 - -libdir | --libdir | --libdi | --libd)
1.611 - ac_prev=libdir ;;
1.612 - -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.613 - libdir=$ac_optarg ;;
1.614 -
1.615 - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1.616 - | --libexe | --libex | --libe)
1.617 - ac_prev=libexecdir ;;
1.618 - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1.619 - | --libexe=* | --libex=* | --libe=*)
1.620 - libexecdir=$ac_optarg ;;
1.621 -
1.622 - -localstatedir | --localstatedir | --localstatedi | --localstated \
1.623 - | --localstate | --localstat | --localsta | --localst \
1.624 - | --locals | --local | --loca | --loc | --lo)
1.625 - ac_prev=localstatedir ;;
1.626 - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.627 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1.628 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.629 - localstatedir=$ac_optarg ;;
1.630 -
1.631 - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1.632 - ac_prev=mandir ;;
1.633 - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.634 - mandir=$ac_optarg ;;
1.635 -
1.636 - -nfp | --nfp | --nf)
1.637 - # Obsolete; use --without-fp.
1.638 - with_fp=no ;;
1.639 -
1.640 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.641 - | --no-cr | --no-c | -n)
1.642 - no_create=yes ;;
1.643 -
1.644 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1.645 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1.646 - no_recursion=yes ;;
1.647 -
1.648 - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1.649 - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1.650 - | --oldin | --oldi | --old | --ol | --o)
1.651 - ac_prev=oldincludedir ;;
1.652 - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1.653 - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1.654 - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.655 - oldincludedir=$ac_optarg ;;
1.656 -
1.657 - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1.658 - ac_prev=prefix ;;
1.659 - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.660 - prefix=$ac_optarg ;;
1.661 -
1.662 - -program-prefix | --program-prefix | --program-prefi | --program-pref \
1.663 - | --program-pre | --program-pr | --program-p)
1.664 - ac_prev=program_prefix ;;
1.665 - -program-prefix=* | --program-prefix=* | --program-prefi=* \
1.666 - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.667 - program_prefix=$ac_optarg ;;
1.668 -
1.669 - -program-suffix | --program-suffix | --program-suffi | --program-suff \
1.670 - | --program-suf | --program-su | --program-s)
1.671 - ac_prev=program_suffix ;;
1.672 - -program-suffix=* | --program-suffix=* | --program-suffi=* \
1.673 - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.674 - program_suffix=$ac_optarg ;;
1.675 -
1.676 - -program-transform-name | --program-transform-name \
1.677 - | --program-transform-nam | --program-transform-na \
1.678 - | --program-transform-n | --program-transform- \
1.679 - | --program-transform | --program-transfor \
1.680 - | --program-transfo | --program-transf \
1.681 - | --program-trans | --program-tran \
1.682 - | --progr-tra | --program-tr | --program-t)
1.683 - ac_prev=program_transform_name ;;
1.684 - -program-transform-name=* | --program-transform-name=* \
1.685 - | --program-transform-nam=* | --program-transform-na=* \
1.686 - | --program-transform-n=* | --program-transform-=* \
1.687 - | --program-transform=* | --program-transfor=* \
1.688 - | --program-transfo=* | --program-transf=* \
1.689 - | --program-trans=* | --program-tran=* \
1.690 - | --progr-tra=* | --program-tr=* | --program-t=*)
1.691 - program_transform_name=$ac_optarg ;;
1.692 -
1.693 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.694 - | -silent | --silent | --silen | --sile | --sil)
1.695 - silent=yes ;;
1.696 -
1.697 - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1.698 - ac_prev=sbindir ;;
1.699 - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1.700 - | --sbi=* | --sb=*)
1.701 - sbindir=$ac_optarg ;;
1.702 -
1.703 - -sharedstatedir | --sharedstatedir | --sharedstatedi \
1.704 - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1.705 - | --sharedst | --shareds | --shared | --share | --shar \
1.706 - | --sha | --sh)
1.707 - ac_prev=sharedstatedir ;;
1.708 - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1.709 - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1.710 - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1.711 - | --sha=* | --sh=*)
1.712 - sharedstatedir=$ac_optarg ;;
1.713 -
1.714 - -site | --site | --sit)
1.715 - ac_prev=site ;;
1.716 - -site=* | --site=* | --sit=*)
1.717 - site=$ac_optarg ;;
1.718 -
1.719 - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1.720 - ac_prev=srcdir ;;
1.721 - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.722 - srcdir=$ac_optarg ;;
1.723 -
1.724 - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1.725 - | --syscon | --sysco | --sysc | --sys | --sy)
1.726 - ac_prev=sysconfdir ;;
1.727 - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1.728 - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.729 - sysconfdir=$ac_optarg ;;
1.730 -
1.731 - -target | --target | --targe | --targ | --tar | --ta | --t)
1.732 - ac_prev=target_alias ;;
1.733 - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.734 - target_alias=$ac_optarg ;;
1.735 -
1.736 - -v | -verbose | --verbose | --verbos | --verbo | --verb)
1.737 - verbose=yes ;;
1.738 -
1.739 - -version | --version | --versio | --versi | --vers | -V)
1.740 - ac_init_version=: ;;
1.741 -
1.742 - -with-* | --with-*)
1.743 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.744 - # Reject names that are not valid shell variable names.
1.745 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.746 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1.747 - { (exit 1); exit 1; }; }
1.748 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1.749 - case $ac_option in
1.750 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.751 - *) ac_optarg=yes ;;
1.752 - esac
1.753 - eval "with_$ac_package='$ac_optarg'" ;;
1.754 -
1.755 - -without-* | --without-*)
1.756 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.757 - # Reject names that are not valid shell variable names.
1.758 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.759 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1.760 - { (exit 1); exit 1; }; }
1.761 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1.762 - eval "with_$ac_package=no" ;;
1.763 -
1.764 - --x)
1.765 - # Obsolete; use --with-x.
1.766 - with_x=yes ;;
1.767 -
1.768 - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1.769 - | --x-incl | --x-inc | --x-in | --x-i)
1.770 - ac_prev=x_includes ;;
1.771 - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1.772 - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.773 - x_includes=$ac_optarg ;;
1.774 -
1.775 - -x-libraries | --x-libraries | --x-librarie | --x-librari \
1.776 - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1.777 - ac_prev=x_libraries ;;
1.778 - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1.779 - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.780 - x_libraries=$ac_optarg ;;
1.781 -
1.782 - -*) { echo "$as_me: error: unrecognized option: $ac_option
1.783 -Try \`$0 --help' for more information." >&2
1.784 - { (exit 1); exit 1; }; }
1.785 - ;;
1.786 -
1.787 - *=*)
1.788 - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1.789 - # Reject names that are not valid shell variable names.
1.790 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.791 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.792 - { (exit 1); exit 1; }; }
1.793 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1.794 - eval "$ac_envvar='$ac_optarg'"
1.795 - export $ac_envvar ;;
1.796 -
1.797 - *)
1.798 - # FIXME: should be removed in autoconf 3.0.
1.799 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.800 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.801 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.802 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.803 - ;;
1.804 -
1.805 - esac
1.806 -done
1.807 -
1.808 -if test -n "$ac_prev"; then
1.809 - ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.810 - { echo "$as_me: error: missing argument to $ac_option" >&2
1.811 - { (exit 1); exit 1; }; }
1.812 -fi
1.813 -
1.814 -# Be sure to have absolute paths.
1.815 -for ac_var in exec_prefix prefix
1.816 -do
1.817 - eval ac_val=$`echo $ac_var`
1.818 - case $ac_val in
1.819 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1.820 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.821 - { (exit 1); exit 1; }; };;
1.822 - esac
1.823 -done
1.824 -
1.825 -# Be sure to have absolute paths.
1.826 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.827 - localstatedir libdir includedir oldincludedir infodir mandir
1.828 -do
1.829 - eval ac_val=$`echo $ac_var`
1.830 - case $ac_val in
1.831 - [\\/$]* | ?:[\\/]* ) ;;
1.832 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.833 - { (exit 1); exit 1; }; };;
1.834 - esac
1.835 -done
1.836 -
1.837 -# There might be people who depend on the old broken behavior: `$host'
1.838 -# used to hold the argument of --host etc.
1.839 -# FIXME: To remove some day.
1.840 -build=$build_alias
1.841 -host=$host_alias
1.842 -target=$target_alias
1.843 -
1.844 -# FIXME: To remove some day.
1.845 -if test "x$host_alias" != x; then
1.846 - if test "x$build_alias" = x; then
1.847 - cross_compiling=maybe
1.848 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.849 - If a cross compiler is detected then cross compile mode will be used." >&2
1.850 - elif test "x$build_alias" != "x$host_alias"; then
1.851 - cross_compiling=yes
1.852 - fi
1.853 -fi
1.854 -
1.855 -ac_tool_prefix=
1.856 -test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.857 -
1.858 -test "$silent" = yes && exec 6>/dev/null
1.859 -
1.860 -
1.861 -# Find the source files, if location was not specified.
1.862 -if test -z "$srcdir"; then
1.863 - ac_srcdir_defaulted=yes
1.864 - # Try the directory containing this script, then its parent.
1.865 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1.866 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.867 - X"$0" : 'X\(//\)[^/]' \| \
1.868 - X"$0" : 'X\(//\)$' \| \
1.869 - X"$0" : 'X\(/\)' \| \
1.870 - . : '\(.\)' 2>/dev/null ||
1.871 -echo X"$0" |
1.872 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.873 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.874 - /^X\(\/\/\)$/{ s//\1/; q; }
1.875 - /^X\(\/\).*/{ s//\1/; q; }
1.876 - s/.*/./; q'`
1.877 - srcdir=$ac_confdir
1.878 - if test ! -r $srcdir/$ac_unique_file; then
1.879 - srcdir=..
1.880 - fi
1.881 -else
1.882 - ac_srcdir_defaulted=no
1.883 -fi
1.884 -if test ! -r $srcdir/$ac_unique_file; then
1.885 - if test "$ac_srcdir_defaulted" = yes; then
1.886 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1.887 - { (exit 1); exit 1; }; }
1.888 - else
1.889 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.890 - { (exit 1); exit 1; }; }
1.891 - fi
1.892 -fi
1.893 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1.894 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1.895 - { (exit 1); exit 1; }; }
1.896 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1.897 -ac_env_build_alias_set=${build_alias+set}
1.898 -ac_env_build_alias_value=$build_alias
1.899 -ac_cv_env_build_alias_set=${build_alias+set}
1.900 -ac_cv_env_build_alias_value=$build_alias
1.901 -ac_env_host_alias_set=${host_alias+set}
1.902 -ac_env_host_alias_value=$host_alias
1.903 -ac_cv_env_host_alias_set=${host_alias+set}
1.904 -ac_cv_env_host_alias_value=$host_alias
1.905 -ac_env_target_alias_set=${target_alias+set}
1.906 -ac_env_target_alias_value=$target_alias
1.907 -ac_cv_env_target_alias_set=${target_alias+set}
1.908 -ac_cv_env_target_alias_value=$target_alias
1.909 -ac_env_CC_set=${CC+set}
1.910 -ac_env_CC_value=$CC
1.911 -ac_cv_env_CC_set=${CC+set}
1.912 -ac_cv_env_CC_value=$CC
1.913 -ac_env_CFLAGS_set=${CFLAGS+set}
1.914 -ac_env_CFLAGS_value=$CFLAGS
1.915 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1.916 -ac_cv_env_CFLAGS_value=$CFLAGS
1.917 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1.918 -ac_env_LDFLAGS_value=$LDFLAGS
1.919 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1.920 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1.921 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1.922 -ac_env_CPPFLAGS_value=$CPPFLAGS
1.923 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1.924 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1.925 -ac_env_CPP_set=${CPP+set}
1.926 -ac_env_CPP_value=$CPP
1.927 -ac_cv_env_CPP_set=${CPP+set}
1.928 -ac_cv_env_CPP_value=$CPP
1.929 -ac_env_CXX_set=${CXX+set}
1.930 -ac_env_CXX_value=$CXX
1.931 -ac_cv_env_CXX_set=${CXX+set}
1.932 -ac_cv_env_CXX_value=$CXX
1.933 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
1.934 -ac_env_CXXFLAGS_value=$CXXFLAGS
1.935 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
1.936 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
1.937 -ac_env_CXXCPP_set=${CXXCPP+set}
1.938 -ac_env_CXXCPP_value=$CXXCPP
1.939 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
1.940 -ac_cv_env_CXXCPP_value=$CXXCPP
1.941 -ac_env_F77_set=${F77+set}
1.942 -ac_env_F77_value=$F77
1.943 -ac_cv_env_F77_set=${F77+set}
1.944 -ac_cv_env_F77_value=$F77
1.945 -ac_env_FFLAGS_set=${FFLAGS+set}
1.946 -ac_env_FFLAGS_value=$FFLAGS
1.947 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
1.948 -ac_cv_env_FFLAGS_value=$FFLAGS
1.949 -ac_env_CCAS_set=${CCAS+set}
1.950 -ac_env_CCAS_value=$CCAS
1.951 -ac_cv_env_CCAS_set=${CCAS+set}
1.952 -ac_cv_env_CCAS_value=$CCAS
1.953 -ac_env_CCASFLAGS_set=${CCASFLAGS+set}
1.954 -ac_env_CCASFLAGS_value=$CCASFLAGS
1.955 -ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
1.956 -ac_cv_env_CCASFLAGS_value=$CCASFLAGS
1.957 -
1.958 -#
1.959 -# Report the --help message.
1.960 -#
1.961 -if test "$ac_init_help" = "long"; then
1.962 - # Omit some internal or obsolete options to make the list less imposing.
1.963 - # This message is too long to be a string in the A/UX 3.1 sh.
1.964 - cat <<_ACEOF
1.965 -\`configure' configures this package to adapt to many kinds of systems.
1.966 -
1.967 -Usage: $0 [OPTION]... [VAR=VALUE]...
1.968 -
1.969 -To assign environment variables (e.g., CC, CFLAGS...), specify them as
1.970 -VAR=VALUE. See below for descriptions of some of the useful variables.
1.971 -
1.972 -Defaults for the options are specified in brackets.
1.973 -
1.974 -Configuration:
1.975 - -h, --help display this help and exit
1.976 - --help=short display options specific to this package
1.977 - --help=recursive display the short help of all the included packages
1.978 - -V, --version display version information and exit
1.979 - -q, --quiet, --silent do not print \`checking...' messages
1.980 - --cache-file=FILE cache test results in FILE [disabled]
1.981 - -C, --config-cache alias for \`--cache-file=config.cache'
1.982 - -n, --no-create do not create output files
1.983 - --srcdir=DIR find the sources in DIR [configure dir or \`..']
1.984 -
1.985 -_ACEOF
1.986 -
1.987 - cat <<_ACEOF
1.988 -Installation directories:
1.989 - --prefix=PREFIX install architecture-independent files in PREFIX
1.990 - [$ac_default_prefix]
1.991 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.992 - [PREFIX]
1.993 -
1.994 -By default, \`make install' will install all the files in
1.995 -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1.996 -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1.997 -for instance \`--prefix=\$HOME'.
1.998 -
1.999 -For better control, use the options below.
1.1000 -
1.1001 -Fine tuning of the installation directories:
1.1002 - --bindir=DIR user executables [EPREFIX/bin]
1.1003 - --sbindir=DIR system admin executables [EPREFIX/sbin]
1.1004 - --libexecdir=DIR program executables [EPREFIX/libexec]
1.1005 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1.1006 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1.1007 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1.1008 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1.1009 - --libdir=DIR object code libraries [EPREFIX/lib]
1.1010 - --includedir=DIR C header files [PREFIX/include]
1.1011 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
1.1012 - --infodir=DIR info documentation [PREFIX/info]
1.1013 - --mandir=DIR man documentation [PREFIX/man]
1.1014 -_ACEOF
1.1015 -
1.1016 - cat <<\_ACEOF
1.1017 -
1.1018 -Program names:
1.1019 - --program-prefix=PREFIX prepend PREFIX to installed program names
1.1020 - --program-suffix=SUFFIX append SUFFIX to installed program names
1.1021 - --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1.1022 -
1.1023 -System types:
1.1024 - --build=BUILD configure for building on BUILD [guessed]
1.1025 - --host=HOST cross-compile to build programs to run on HOST [BUILD]
1.1026 - --target=TARGET configure for building compilers for TARGET [HOST]
1.1027 -_ACEOF
1.1028 -fi
1.1029 -
1.1030 -if test -n "$ac_init_help"; then
1.1031 -
1.1032 - cat <<\_ACEOF
1.1033 -
1.1034 -Optional Features:
1.1035 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1.1036 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.1037 - --enable-static@<:@=PKGS@:>@
1.1038 - build static libraries @<:@default=no@:>@
1.1039 - --enable-maintainer-mode enable make rules and dependencies not useful
1.1040 - (and sometimes confusing) to the casual installer
1.1041 - --enable-shared@<:@=PKGS@:>@
1.1042 - build shared libraries @<:@default=yes@:>@
1.1043 - --enable-fast-install@<:@=PKGS@:>@
1.1044 - optimize for fast installation @<:@default=yes@:>@
1.1045 - --disable-dependency-tracking speeds up one-time build
1.1046 - --enable-dependency-tracking do not reject slow dependency extractors
1.1047 - --disable-libtool-lock avoid locking (might break parallel builds)
1.1048 -
1.1049 -Optional Packages:
1.1050 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1.1051 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1.1052 - --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1.1053 - --with-pic try to use only PIC/non-PIC objects @<:@default=use
1.1054 - both@:>@
1.1055 - --with-tags@<:@=TAGS@:>@
1.1056 - include additional configurations @<:@automatic@:>@
1.1057 -
1.1058 -Some influential environment variables:
1.1059 - CC C compiler command
1.1060 - CFLAGS C compiler flags
1.1061 - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1.1062 - nonstandard directory <lib dir>
1.1063 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1.1064 - headers in a nonstandard directory <include dir>
1.1065 - CPP C preprocessor
1.1066 - CXX C++ compiler command
1.1067 - CXXFLAGS C++ compiler flags
1.1068 - CXXCPP C++ preprocessor
1.1069 - F77 Fortran 77 compiler command
1.1070 - FFLAGS Fortran 77 compiler flags
1.1071 - CCAS assembler compiler command (defaults to CC)
1.1072 - CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1.1073 -
1.1074 -Use these variables to override the choices made by `configure' or to help
1.1075 -it to find libraries and programs with nonstandard names/locations.
1.1076 -
1.1077 -_ACEOF
1.1078 -fi
1.1079 -
1.1080 -if test "$ac_init_help" = "recursive"; then
1.1081 - # If there are subdirs, report their specific --help.
1.1082 - ac_popdir=`pwd`
1.1083 - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1084 - test -d $ac_dir || continue
1.1085 - ac_builddir=.
1.1086 -
1.1087 -if test "$ac_dir" != .; then
1.1088 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1089 - # A "../" for each directory in $ac_dir_suffix.
1.1090 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1.1091 -else
1.1092 - ac_dir_suffix= ac_top_builddir=
1.1093 -fi
1.1094 -
1.1095 -case $srcdir in
1.1096 - .) # No --srcdir option. We are building in place.
1.1097 - ac_srcdir=.
1.1098 - if test -z "$ac_top_builddir"; then
1.1099 - ac_top_srcdir=.
1.1100 - else
1.1101 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.1102 - fi ;;
1.1103 - [\\/]* | ?:[\\/]* ) # Absolute path.
1.1104 - ac_srcdir=$srcdir$ac_dir_suffix;
1.1105 - ac_top_srcdir=$srcdir ;;
1.1106 - *) # Relative path.
1.1107 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.1108 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.1109 -esac
1.1110 -
1.1111 -# Do not use `cd foo && pwd` to compute absolute paths, because
1.1112 -# the directories may not exist.
1.1113 -case `pwd` in
1.1114 -.) ac_abs_builddir="$ac_dir";;
1.1115 -*)
1.1116 - case "$ac_dir" in
1.1117 - .) ac_abs_builddir=`pwd`;;
1.1118 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.1119 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.1120 - esac;;
1.1121 -esac
1.1122 -case $ac_abs_builddir in
1.1123 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.1124 -*)
1.1125 - case ${ac_top_builddir}. in
1.1126 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1.1127 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1.1128 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1.1129 - esac;;
1.1130 -esac
1.1131 -case $ac_abs_builddir in
1.1132 -.) ac_abs_srcdir=$ac_srcdir;;
1.1133 -*)
1.1134 - case $ac_srcdir in
1.1135 - .) ac_abs_srcdir=$ac_abs_builddir;;
1.1136 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1.1137 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1.1138 - esac;;
1.1139 -esac
1.1140 -case $ac_abs_builddir in
1.1141 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.1142 -*)
1.1143 - case $ac_top_srcdir in
1.1144 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1.1145 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1.1146 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1.1147 - esac;;
1.1148 -esac
1.1149 -
1.1150 - cd $ac_dir
1.1151 - # Check for guested configure; otherwise get Cygnus style configure.
1.1152 - if test -f $ac_srcdir/configure.gnu; then
1.1153 - echo
1.1154 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1.1155 - elif test -f $ac_srcdir/configure; then
1.1156 - echo
1.1157 - $SHELL $ac_srcdir/configure --help=recursive
1.1158 - elif test -f $ac_srcdir/configure.ac ||
1.1159 - test -f $ac_srcdir/configure.in; then
1.1160 - echo
1.1161 - $ac_configure --help
1.1162 - else
1.1163 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1164 - fi
1.1165 - cd "$ac_popdir"
1.1166 - done
1.1167 -fi
1.1168 -
1.1169 -test -n "$ac_init_help" && exit 0
1.1170 -if $ac_init_version; then
1.1171 - cat <<\_ACEOF
1.1172 -
1.1173 -Copyright (C) 2003 Free Software Foundation, Inc.
1.1174 -This configure script is free software; the Free Software Foundation
1.1175 -gives unlimited permission to copy, distribute and modify it.
1.1176 -_ACEOF
1.1177 - exit 0
1.1178 -fi
1.1179 -exec 5>config.log
1.1180 -cat >&5 <<_ACEOF
1.1181 -This file contains any messages produced by compilers while
1.1182 -running configure, to aid debugging if configure makes a mistake.
1.1183 -
1.1184 -It was created by $as_me, which was
1.1185 -generated by GNU Autoconf 2.59. Invocation command line was
1.1186 -
1.1187 - $ $0 $@
1.1188 -
1.1189 -_ACEOF
1.1190 -{
1.1191 -cat <<_ASUNAME
1.1192 -@%:@@%:@ --------- @%:@@%:@
1.1193 -@%:@@%:@ Platform. @%:@@%:@
1.1194 -@%:@@%:@ --------- @%:@@%:@
1.1195 -
1.1196 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1.1197 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
1.1198 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
1.1199 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
1.1200 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1201 -
1.1202 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1.1203 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1.1204 -
1.1205 -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1.1206 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1.1207 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1208 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1.1209 -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1.1210 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1.1211 -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1.1212 -
1.1213 -_ASUNAME
1.1214 -
1.1215 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1216 -for as_dir in $PATH
1.1217 -do
1.1218 - IFS=$as_save_IFS
1.1219 - test -z "$as_dir" && as_dir=.
1.1220 - echo "PATH: $as_dir"
1.1221 -done
1.1222 -
1.1223 -} >&5
1.1224 -
1.1225 -cat >&5 <<_ACEOF
1.1226 -
1.1227 -
1.1228 -@%:@@%:@ ----------- @%:@@%:@
1.1229 -@%:@@%:@ Core tests. @%:@@%:@
1.1230 -@%:@@%:@ ----------- @%:@@%:@
1.1231 -
1.1232 -_ACEOF
1.1233 -
1.1234 -
1.1235 -# Keep a trace of the command line.
1.1236 -# Strip out --no-create and --no-recursion so they do not pile up.
1.1237 -# Strip out --silent because we don't want to record it for future runs.
1.1238 -# Also quote any args containing shell meta-characters.
1.1239 -# Make two passes to allow for proper duplicate-argument suppression.
1.1240 -ac_configure_args=
1.1241 -ac_configure_args0=
1.1242 -ac_configure_args1=
1.1243 -ac_sep=
1.1244 -ac_must_keep_next=false
1.1245 -for ac_pass in 1 2
1.1246 -do
1.1247 - for ac_arg
1.1248 - do
1.1249 - case $ac_arg in
1.1250 - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1.1251 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.1252 - | -silent | --silent | --silen | --sile | --sil)
1.1253 - continue ;;
1.1254 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1.1255 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1256 - esac
1.1257 - case $ac_pass in
1.1258 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1.1259 - 2)
1.1260 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1.1261 - if test $ac_must_keep_next = true; then
1.1262 - ac_must_keep_next=false # Got value, back to normal.
1.1263 - else
1.1264 - case $ac_arg in
1.1265 - *=* | --config-cache | -C | -disable-* | --disable-* \
1.1266 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1.1267 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1.1268 - | -with-* | --with-* | -without-* | --without-* | --x)
1.1269 - case "$ac_configure_args0 " in
1.1270 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1.1271 - esac
1.1272 - ;;
1.1273 - -* ) ac_must_keep_next=true ;;
1.1274 - esac
1.1275 - fi
1.1276 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1.1277 - # Get rid of the leading space.
1.1278 - ac_sep=" "
1.1279 - ;;
1.1280 - esac
1.1281 - done
1.1282 -done
1.1283 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1.1284 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1285 -
1.1286 -# When interrupted or exit'd, cleanup temporary files, and complete
1.1287 -# config.log. We remove comments because anyway the quotes in there
1.1288 -# would cause problems or look ugly.
1.1289 -# WARNING: Be sure not to use single quotes in there, as some shells,
1.1290 -# such as our DU 5.0 friend, will then `close' the trap.
1.1291 -trap 'exit_status=$?
1.1292 - # Save into config.log some information that might help in debugging.
1.1293 - {
1.1294 - echo
1.1295 -
1.1296 - cat <<\_ASBOX
1.1297 -@%:@@%:@ ---------------- @%:@@%:@
1.1298 -@%:@@%:@ Cache variables. @%:@@%:@
1.1299 -@%:@@%:@ ---------------- @%:@@%:@
1.1300 -_ASBOX
1.1301 - echo
1.1302 - # The following way of writing the cache mishandles newlines in values,
1.1303 -{
1.1304 - (set) 2>&1 |
1.1305 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1.1306 - *ac_space=\ *)
1.1307 - sed -n \
1.1308 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1.1309 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.1310 - ;;
1.1311 - *)
1.1312 - sed -n \
1.1313 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.1314 - ;;
1.1315 - esac;
1.1316 -}
1.1317 - echo
1.1318 -
1.1319 - cat <<\_ASBOX
1.1320 -@%:@@%:@ ----------------- @%:@@%:@
1.1321 -@%:@@%:@ Output variables. @%:@@%:@
1.1322 -@%:@@%:@ ----------------- @%:@@%:@
1.1323 -_ASBOX
1.1324 - echo
1.1325 - for ac_var in $ac_subst_vars
1.1326 - do
1.1327 - eval ac_val=$`echo $ac_var`
1.1328 - echo "$ac_var='"'"'$ac_val'"'"'"
1.1329 - done | sort
1.1330 - echo
1.1331 -
1.1332 - if test -n "$ac_subst_files"; then
1.1333 - cat <<\_ASBOX
1.1334 -@%:@@%:@ ------------- @%:@@%:@
1.1335 -@%:@@%:@ Output files. @%:@@%:@
1.1336 -@%:@@%:@ ------------- @%:@@%:@
1.1337 -_ASBOX
1.1338 - echo
1.1339 - for ac_var in $ac_subst_files
1.1340 - do
1.1341 - eval ac_val=$`echo $ac_var`
1.1342 - echo "$ac_var='"'"'$ac_val'"'"'"
1.1343 - done | sort
1.1344 - echo
1.1345 - fi
1.1346 -
1.1347 - if test -s confdefs.h; then
1.1348 - cat <<\_ASBOX
1.1349 -@%:@@%:@ ----------- @%:@@%:@
1.1350 -@%:@@%:@ confdefs.h. @%:@@%:@
1.1351 -@%:@@%:@ ----------- @%:@@%:@
1.1352 -_ASBOX
1.1353 - echo
1.1354 - sed "/^$/d" confdefs.h | sort
1.1355 - echo
1.1356 - fi
1.1357 - test "$ac_signal" != 0 &&
1.1358 - echo "$as_me: caught signal $ac_signal"
1.1359 - echo "$as_me: exit $exit_status"
1.1360 - } >&5
1.1361 - rm -f core *.core &&
1.1362 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1.1363 - exit $exit_status
1.1364 - ' 0
1.1365 -for ac_signal in 1 2 13 15; do
1.1366 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1.1367 -done
1.1368 -ac_signal=0
1.1369 -
1.1370 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1371 -rm -rf conftest* confdefs.h
1.1372 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1.1373 -echo >confdefs.h
1.1374 -
1.1375 -# Predefined preprocessor variables.
1.1376 -
1.1377 -cat >>confdefs.h <<_ACEOF
1.1378 -@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1.1379 -_ACEOF
1.1380 -
1.1381 -
1.1382 -cat >>confdefs.h <<_ACEOF
1.1383 -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.1384 -_ACEOF
1.1385 -
1.1386 -
1.1387 -cat >>confdefs.h <<_ACEOF
1.1388 -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1.1389 -_ACEOF
1.1390 -
1.1391 -
1.1392 -cat >>confdefs.h <<_ACEOF
1.1393 -@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1.1394 -_ACEOF
1.1395 -
1.1396 -
1.1397 -cat >>confdefs.h <<_ACEOF
1.1398 -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1.1399 -_ACEOF
1.1400 -
1.1401 -
1.1402 -# Let the site file select an alternate cache file if it wants to.
1.1403 -# Prefer explicitly selected file to automatically selected ones.
1.1404 -if test -z "$CONFIG_SITE"; then
1.1405 - if test "x$prefix" != xNONE; then
1.1406 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1.1407 - else
1.1408 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1409 - fi
1.1410 -fi
1.1411 -for ac_site_file in $CONFIG_SITE; do
1.1412 - if test -r "$ac_site_file"; then
1.1413 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1.1414 -echo "$as_me: loading site script $ac_site_file" >&6;}
1.1415 - sed 's/^/| /' "$ac_site_file" >&5
1.1416 - . "$ac_site_file"
1.1417 - fi
1.1418 -done
1.1419 -
1.1420 -if test -r "$cache_file"; then
1.1421 - # Some versions of bash will fail to source /dev/null (special
1.1422 - # files actually), so we avoid doing that.
1.1423 - if test -f "$cache_file"; then
1.1424 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1.1425 -echo "$as_me: loading cache $cache_file" >&6;}
1.1426 - case $cache_file in
1.1427 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1.1428 - *) . ./$cache_file;;
1.1429 - esac
1.1430 - fi
1.1431 -else
1.1432 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1.1433 -echo "$as_me: creating cache $cache_file" >&6;}
1.1434 - >$cache_file
1.1435 -fi
1.1436 -
1.1437 -# Check that the precious variables saved in the cache have kept the same
1.1438 -# value.
1.1439 -ac_cache_corrupted=false
1.1440 -for ac_var in `(set) 2>&1 |
1.1441 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.1442 - eval ac_old_set=\$ac_cv_env_${ac_var}_set
1.1443 - eval ac_new_set=\$ac_env_${ac_var}_set
1.1444 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1.1445 - eval ac_new_val="\$ac_env_${ac_var}_value"
1.1446 - case $ac_old_set,$ac_new_set in
1.1447 - set,)
1.1448 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1449 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1450 - ac_cache_corrupted=: ;;
1.1451 - ,set)
1.1452 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1.1453 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1454 - ac_cache_corrupted=: ;;
1.1455 - ,);;
1.1456 - *)
1.1457 - if test "x$ac_old_val" != "x$ac_new_val"; then
1.1458 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.1459 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.1460 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.1461 -echo "$as_me: former value: $ac_old_val" >&2;}
1.1462 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.1463 -echo "$as_me: current value: $ac_new_val" >&2;}
1.1464 - ac_cache_corrupted=:
1.1465 - fi;;
1.1466 - esac
1.1467 - # Pass precious variables to config.status.
1.1468 - if test "$ac_new_set" = set; then
1.1469 - case $ac_new_val in
1.1470 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1.1471 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1472 - *) ac_arg=$ac_var=$ac_new_val ;;
1.1473 - esac
1.1474 - case " $ac_configure_args " in
1.1475 - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1.1476 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1.1477 - esac
1.1478 - fi
1.1479 -done
1.1480 -if $ac_cache_corrupted; then
1.1481 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1.1482 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1483 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1.1484 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.1485 - { (exit 1); exit 1; }; }
1.1486 -fi
1.1487 -
1.1488 -ac_ext=c
1.1489 -ac_cpp='$CPP $CPPFLAGS'
1.1490 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1491 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1492 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1493 -
1.1494 -
1.1495 -
1.1496 -
1.1497 -
1.1498 -
1.1499 -
1.1500 -
1.1501 -
1.1502 -
1.1503 -
1.1504 -
1.1505 -
1.1506 -
1.1507 -
1.1508 -
1.1509 -
1.1510 -
1.1511 -
1.1512 -ac_aux_dir=
1.1513 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1.1514 - if test -f $ac_dir/install-sh; then
1.1515 - ac_aux_dir=$ac_dir
1.1516 - ac_install_sh="$ac_aux_dir/install-sh -c"
1.1517 - break
1.1518 - elif test -f $ac_dir/install.sh; then
1.1519 - ac_aux_dir=$ac_dir
1.1520 - ac_install_sh="$ac_aux_dir/install.sh -c"
1.1521 - break
1.1522 - elif test -f $ac_dir/shtool; then
1.1523 - ac_aux_dir=$ac_dir
1.1524 - ac_install_sh="$ac_aux_dir/shtool install -c"
1.1525 - break
1.1526 - fi
1.1527 -done
1.1528 -if test -z "$ac_aux_dir"; then
1.1529 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1.1530 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1.1531 - { (exit 1); exit 1; }; }
1.1532 -fi
1.1533 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1.1534 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1.1535 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1536 -
1.1537 -# Make sure we can run config.sub.
1.1538 -$ac_config_sub sun4 >/dev/null 2>&1 ||
1.1539 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1.1540 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1.1541 - { (exit 1); exit 1; }; }
1.1542 -
1.1543 -echo "$as_me:$LINENO: checking build system type" >&5
1.1544 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
1.1545 -if test "${ac_cv_build+set}" = set; then
1.1546 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.1547 -else
1.1548 - ac_cv_build_alias=$build_alias
1.1549 -test -z "$ac_cv_build_alias" &&
1.1550 - ac_cv_build_alias=`$ac_config_guess`
1.1551 -test -z "$ac_cv_build_alias" &&
1.1552 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1.1553 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1.1554 - { (exit 1); exit 1; }; }
1.1555 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1.1556 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1.1557 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1.1558 - { (exit 1); exit 1; }; }
1.1559 -
1.1560 -fi
1.1561 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1.1562 -echo "${ECHO_T}$ac_cv_build" >&6
1.1563 -build=$ac_cv_build
1.1564 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1.1565 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1.1566 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1567 -
1.1568 -
1.1569 -echo "$as_me:$LINENO: checking host system type" >&5
1.1570 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
1.1571 -if test "${ac_cv_host+set}" = set; then
1.1572 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.1573 -else
1.1574 - ac_cv_host_alias=$host_alias
1.1575 -test -z "$ac_cv_host_alias" &&
1.1576 - ac_cv_host_alias=$ac_cv_build_alias
1.1577 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1.1578 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1.1579 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1.1580 - { (exit 1); exit 1; }; }
1.1581 -
1.1582 -fi
1.1583 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1.1584 -echo "${ECHO_T}$ac_cv_host" >&6
1.1585 -host=$ac_cv_host
1.1586 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1.1587 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1.1588 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1589 -
1.1590 -
1.1591 -echo "$as_me:$LINENO: checking target system type" >&5
1.1592 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
1.1593 -if test "${ac_cv_target+set}" = set; then
1.1594 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.1595 -else
1.1596 - ac_cv_target_alias=$target_alias
1.1597 -test "x$ac_cv_target_alias" = "x" &&
1.1598 - ac_cv_target_alias=$ac_cv_host_alias
1.1599 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1.1600 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1.1601 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1.1602 - { (exit 1); exit 1; }; }
1.1603 -
1.1604 -fi
1.1605 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1.1606 -echo "${ECHO_T}$ac_cv_target" >&6
1.1607 -target=$ac_cv_target
1.1608 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1.1609 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1.1610 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1611 -
1.1612 -
1.1613 -# The aliases save the names the user supplied, while $host etc.
1.1614 -# will get canonicalized.
1.1615 -test -n "$target_alias" &&
1.1616 - test "$program_prefix$program_suffix$program_transform_name" = \
1.1617 - NONENONEs,x,x, &&
1.1618 - program_prefix=${target_alias}-
1.1619 -
1.1620 -case m4 in
1.1621 - [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
1.1622 - *) ac_macro_dir=$srcdir/m4 ;;
1.1623 -esac
1.1624 -if test -d "$ac_macro_dir"; then :
1.1625 -else
1.1626 - { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
1.1627 -echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
1.1628 - { (exit 1); exit 1; }; }
1.1629 -fi
1.1630 -
1.1631 -# Check whether --enable-static or --disable-static was given.
1.1632 -if test "${enable_static+set}" = set; then
1.1633 - enableval="$enable_static"
1.1634 - p=${PACKAGE-default}
1.1635 - case $enableval in
1.1636 - yes) enable_static=yes ;;
1.1637 - no) enable_static=no ;;
1.1638 - *)
1.1639 - enable_static=no
1.1640 - # Look at the argument we got. We use all the common list separators.
1.1641 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.1642 - for pkg in $enableval; do
1.1643 - IFS="$lt_save_ifs"
1.1644 - if test "X$pkg" = "X$p"; then
1.1645 - enable_static=yes
1.1646 - fi
1.1647 - done
1.1648 - IFS="$lt_save_ifs"
1.1649 - ;;
1.1650 - esac
1.1651 -else
1.1652 - enable_static=no
1.1653 -fi;
1.1654 -
1.1655 -
1.1656 -
1.1657 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1.1658 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1.1659 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1.1660 -if test "${enable_maintainer_mode+set}" = set; then
1.1661 - enableval="$enable_maintainer_mode"
1.1662 - USE_MAINTAINER_MODE=$enableval
1.1663 -else
1.1664 - USE_MAINTAINER_MODE=no
1.1665 -fi;
1.1666 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1.1667 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1.1668 -
1.1669 -
1.1670 -if test $USE_MAINTAINER_MODE = yes; then
1.1671 - MAINTAINER_MODE_TRUE=
1.1672 - MAINTAINER_MODE_FALSE='#'
1.1673 -else
1.1674 - MAINTAINER_MODE_TRUE='#'
1.1675 - MAINTAINER_MODE_FALSE=
1.1676 -fi
1.1677 -
1.1678 - MAINT=$MAINTAINER_MODE_TRUE
1.1679 -
1.1680 -
1.1681 -
1.1682 -
1.1683 - PACKAGE=gst-plugins-nuvdemux
1.1684 - GST_PLUGINS_VERSION_MAJOR=0
1.1685 - GST_PLUGINS_VERSION_MINOR=10
1.1686 - GST_PLUGINS_VERSION_MICRO=0
1.1687 - NANO=1
1.1688 - GST_PLUGINS_VERSION_NANO=$NANO
1.1689 - if test "x$NANO" = "x" || test "x$NANO" = "x0";
1.1690 - then
1.1691 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
1.1692 -echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
1.1693 - VERSION=0.10.0
1.1694 - GST_PLUGINS_VERSION_RELEASE=1
1.1695 - GST_CVS="no"
1.1696 - else
1.1697 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
1.1698 -echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
1.1699 - VERSION=0.10.0.$NANO
1.1700 - GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
1.1701 - GST_CVS="yes"
1.1702 - fi
1.1703 -
1.1704 - GST_PLUGINS_VERSION=$VERSION
1.1705 -
1.1706 -cat >>confdefs.h <<_ACEOF
1.1707 -@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
1.1708 -_ACEOF
1.1709 -
1.1710 -
1.1711 -
1.1712 -cat >>confdefs.h <<_ACEOF
1.1713 -@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
1.1714 -_ACEOF
1.1715 -
1.1716 -
1.1717 -
1.1718 -
1.1719 -
1.1720 -
1.1721 -
1.1722 -
1.1723 -cat >>confdefs.h <<_ACEOF
1.1724 -@%:@define PACKAGE "$PACKAGE"
1.1725 -_ACEOF
1.1726 -
1.1727 -
1.1728 -
1.1729 -cat >>confdefs.h <<_ACEOF
1.1730 -@%:@define VERSION "$VERSION"
1.1731 -_ACEOF
1.1732 -
1.1733 -
1.1734 -
1.1735 -
1.1736 -am__api_version="1.8"
1.1737 -# Find a good install program. We prefer a C program (faster),
1.1738 -# so one script is as good as another. But avoid the broken or
1.1739 -# incompatible versions:
1.1740 -# SysV /etc/install, /usr/sbin/install
1.1741 -# SunOS /usr/etc/install
1.1742 -# IRIX /sbin/install
1.1743 -# AIX /bin/install
1.1744 -# AmigaOS /C/install, which installs bootblocks on floppy discs
1.1745 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1.1746 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1.1747 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.1748 -# OS/2's system install, which has a completely different semantic
1.1749 -# ./install, which can be erroneously created by make from ./install.sh.
1.1750 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1.1751 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1752 -if test -z "$INSTALL"; then
1.1753 -if test "${ac_cv_path_install+set}" = set; then
1.1754 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.1755 -else
1.1756 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1757 -for as_dir in $PATH
1.1758 -do
1.1759 - IFS=$as_save_IFS
1.1760 - test -z "$as_dir" && as_dir=.
1.1761 - # Account for people who put trailing slashes in PATH elements.
1.1762 -case $as_dir/ in
1.1763 - ./ | .// | /cC/* | \
1.1764 - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1765 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.1766 - /usr/ucb/* ) ;;
1.1767 - *)
1.1768 - # OSF1 and SCO ODT 3.0 have their own names for install.
1.1769 - # Don't use installbsd from OSF since it installs stuff as root
1.1770 - # by default.
1.1771 - for ac_prog in ginstall scoinst install; do
1.1772 - for ac_exec_ext in '' $ac_executable_extensions; do
1.1773 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1774 - if test $ac_prog = install &&
1.1775 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1776 - # AIX install. It has an incompatible calling convention.
1.1777 - :
1.1778 - elif test $ac_prog = install &&
1.1779 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1780 - # program-specific install script used by HP pwplus--don't use.
1.1781 - :
1.1782 - else
1.1783 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1.1784 - break 3
1.1785 - fi
1.1786 - fi
1.1787 - done
1.1788 - done
1.1789 - ;;
1.1790 -esac
1.1791 -done
1.1792 -
1.1793 -
1.1794 -fi
1.1795 - if test "${ac_cv_path_install+set}" = set; then
1.1796 - INSTALL=$ac_cv_path_install
1.1797 - else
1.1798 - # As a last resort, use the slow shell script. We don't cache a
1.1799 - # path for INSTALL within a source directory, because that will
1.1800 - # break other packages using the cache if that directory is
1.1801 - # removed, or if the path is relative.
1.1802 - INSTALL=$ac_install_sh
1.1803 - fi
1.1804 -fi
1.1805 -echo "$as_me:$LINENO: result: $INSTALL" >&5
1.1806 -echo "${ECHO_T}$INSTALL" >&6
1.1807 -
1.1808 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1.1809 -# It thinks the first close brace ends the variable substitution.
1.1810 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.1811 -
1.1812 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1813 -
1.1814 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1815 -
1.1816 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1.1817 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1818 -# Just in case
1.1819 -sleep 1
1.1820 -echo timestamp > conftest.file
1.1821 -# Do `set' in a subshell so we don't clobber the current shell's
1.1822 -# arguments. Must try -L first in case configure is actually a
1.1823 -# symlink; some systems play weird games with the mod time of symlinks
1.1824 -# (eg FreeBSD returns the mod time of the symlink's containing
1.1825 -# directory).
1.1826 -if (
1.1827 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1828 - if test "$*" = "X"; then
1.1829 - # -L didn't work.
1.1830 - set X `ls -t $srcdir/configure conftest.file`
1.1831 - fi
1.1832 - rm -f conftest.file
1.1833 - if test "$*" != "X $srcdir/configure conftest.file" \
1.1834 - && test "$*" != "X conftest.file $srcdir/configure"; then
1.1835 -
1.1836 - # If neither matched, then we have a broken ls. This can happen
1.1837 - # if, for instance, CONFIG_SHELL is bash and it inherits a
1.1838 - # broken ls alias from the environment. This has actually
1.1839 - # happened. Such a system could not be considered "sane".
1.1840 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1.1841 -alias in your environment" >&5
1.1842 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1.1843 -alias in your environment" >&2;}
1.1844 - { (exit 1); exit 1; }; }
1.1845 - fi
1.1846 -
1.1847 - test "$2" = conftest.file
1.1848 - )
1.1849 -then
1.1850 - # Ok.
1.1851 - :
1.1852 -else
1.1853 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1.1854 -Check your system clock" >&5
1.1855 -echo "$as_me: error: newly created file is older than distributed files!
1.1856 -Check your system clock" >&2;}
1.1857 - { (exit 1); exit 1; }; }
1.1858 -fi
1.1859 -echo "$as_me:$LINENO: result: yes" >&5
1.1860 -echo "${ECHO_T}yes" >&6
1.1861 -test "$program_prefix" != NONE &&
1.1862 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1863 -# Use a double $ so make ignores it.
1.1864 -test "$program_suffix" != NONE &&
1.1865 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1.1866 -# Double any \ or $. echo might interpret backslashes.
1.1867 -# By default was `s,x,x', remove it if useless.
1.1868 -cat <<\_ACEOF >conftest.sed
1.1869 -s/[\\$]/&&/g;s/;s,x,x,$//
1.1870 -_ACEOF
1.1871 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1.1872 -rm conftest.sed
1.1873 -
1.1874 -# expand $ac_aux_dir to an absolute path
1.1875 -am_aux_dir=`cd $ac_aux_dir && pwd`
1.1876 -
1.1877 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1.1878 -# Use eval to expand $SHELL
1.1879 -if eval "$MISSING --run true"; then
1.1880 - am_missing_run="$MISSING --run "
1.1881 -else
1.1882 - am_missing_run=
1.1883 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1.1884 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.1885 -fi
1.1886 -
1.1887 -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1.1888 - # Keeping the `.' argument allows $(mkdir_p) to be used without
1.1889 - # argument. Indeed, we sometimes output rules like
1.1890 - # $(mkdir_p) $(somedir)
1.1891 - # where $(somedir) is conditionally defined.
1.1892 - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1.1893 - # expensive solution, as it forces Make to start a sub-shell.)
1.1894 - mkdir_p='mkdir -p -- .'
1.1895 -else
1.1896 - # On NextStep and OpenStep, the `mkdir' command does not
1.1897 - # recognize any option. It will interpret all options as
1.1898 - # directories to create, and then abort because `.' already
1.1899 - # exists.
1.1900 - for d in ./-p ./--version;
1.1901 - do
1.1902 - test -d $d && rmdir $d
1.1903 - done
1.1904 - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1.1905 - if test -f "$ac_aux_dir/mkinstalldirs"; then
1.1906 - mkdir_p='$(mkinstalldirs)'
1.1907 - else
1.1908 - mkdir_p='$(install_sh) -d'
1.1909 - fi
1.1910 -fi
1.1911 -
1.1912 -for ac_prog in gawk mawk nawk awk
1.1913 -do
1.1914 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.1915 -set dummy $ac_prog; ac_word=$2
1.1916 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1917 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1918 -if test "${ac_cv_prog_AWK+set}" = set; then
1.1919 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.1920 -else
1.1921 - if test -n "$AWK"; then
1.1922 - ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1923 -else
1.1924 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1925 -for as_dir in $PATH
1.1926 -do
1.1927 - IFS=$as_save_IFS
1.1928 - test -z "$as_dir" && as_dir=.
1.1929 - for ac_exec_ext in '' $ac_executable_extensions; do
1.1930 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1931 - ac_cv_prog_AWK="$ac_prog"
1.1932 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1933 - break 2
1.1934 - fi
1.1935 -done
1.1936 -done
1.1937 -
1.1938 -fi
1.1939 -fi
1.1940 -AWK=$ac_cv_prog_AWK
1.1941 -if test -n "$AWK"; then
1.1942 - echo "$as_me:$LINENO: result: $AWK" >&5
1.1943 -echo "${ECHO_T}$AWK" >&6
1.1944 -else
1.1945 - echo "$as_me:$LINENO: result: no" >&5
1.1946 -echo "${ECHO_T}no" >&6
1.1947 -fi
1.1948 -
1.1949 - test -n "$AWK" && break
1.1950 -done
1.1951 -
1.1952 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.1953 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.1954 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.1955 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1.1956 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.1957 -else
1.1958 - cat >conftest.make <<\_ACEOF
1.1959 -all:
1.1960 - @echo 'ac_maketemp="$(MAKE)"'
1.1961 -_ACEOF
1.1962 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1963 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1964 -if test -n "$ac_maketemp"; then
1.1965 - eval ac_cv_prog_make_${ac_make}_set=yes
1.1966 -else
1.1967 - eval ac_cv_prog_make_${ac_make}_set=no
1.1968 -fi
1.1969 -rm -f conftest.make
1.1970 -fi
1.1971 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.1972 - echo "$as_me:$LINENO: result: yes" >&5
1.1973 -echo "${ECHO_T}yes" >&6
1.1974 - SET_MAKE=
1.1975 -else
1.1976 - echo "$as_me:$LINENO: result: no" >&5
1.1977 -echo "${ECHO_T}no" >&6
1.1978 - SET_MAKE="MAKE=${MAKE-make}"
1.1979 -fi
1.1980 -
1.1981 -rm -rf .tst 2>/dev/null
1.1982 -mkdir .tst 2>/dev/null
1.1983 -if test -d .tst; then
1.1984 - am__leading_dot=.
1.1985 -else
1.1986 - am__leading_dot=_
1.1987 -fi
1.1988 -rmdir .tst 2>/dev/null
1.1989 -
1.1990 -# test to see if srcdir already configured
1.1991 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
1.1992 - test -f $srcdir/config.status; then
1.1993 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1.1994 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1.1995 - { (exit 1); exit 1; }; }
1.1996 -fi
1.1997 -
1.1998 -# test whether we have cygpath
1.1999 -if test -z "$CYGPATH_W"; then
1.2000 - if (cygpath --version) >/dev/null 2>/dev/null; then
1.2001 - CYGPATH_W='cygpath -w'
1.2002 - else
1.2003 - CYGPATH_W=echo
1.2004 - fi
1.2005 -fi
1.2006 -
1.2007 -
1.2008 -# Define the identity of the package.
1.2009 - PACKAGE=$PACKAGE
1.2010 - VERSION=$VERSION
1.2011 -
1.2012 -
1.2013 -cat >>confdefs.h <<_ACEOF
1.2014 -@%:@define PACKAGE "$PACKAGE"
1.2015 -_ACEOF
1.2016 -
1.2017 -
1.2018 -cat >>confdefs.h <<_ACEOF
1.2019 -@%:@define VERSION "$VERSION"
1.2020 -_ACEOF
1.2021 -
1.2022 -# Some tools Automake needs.
1.2023 -
1.2024 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1.2025 -
1.2026 -
1.2027 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.2028 -
1.2029 -
1.2030 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.2031 -
1.2032 -
1.2033 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.2034 -
1.2035 -
1.2036 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.2037 -
1.2038 -
1.2039 -AMTAR=${AMTAR-"${am_missing_run}tar"}
1.2040 -
1.2041 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.2042 -
1.2043 -# Installed binaries are usually stripped using `strip' when the user
1.2044 -# run `make install-strip'. However `strip' might not be the right
1.2045 -# tool to use in cross-compilation environments, therefore Automake
1.2046 -# will honor the `STRIP' environment variable to overrule this program.
1.2047 -if test "$cross_compiling" != no; then
1.2048 - if test -n "$ac_tool_prefix"; then
1.2049 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1.2050 -set dummy ${ac_tool_prefix}strip; ac_word=$2
1.2051 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2052 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2053 -if test "${ac_cv_prog_STRIP+set}" = set; then
1.2054 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2055 -else
1.2056 - if test -n "$STRIP"; then
1.2057 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.2058 -else
1.2059 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2060 -for as_dir in $PATH
1.2061 -do
1.2062 - IFS=$as_save_IFS
1.2063 - test -z "$as_dir" && as_dir=.
1.2064 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2065 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2066 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.2067 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2068 - break 2
1.2069 - fi
1.2070 -done
1.2071 -done
1.2072 -
1.2073 -fi
1.2074 -fi
1.2075 -STRIP=$ac_cv_prog_STRIP
1.2076 -if test -n "$STRIP"; then
1.2077 - echo "$as_me:$LINENO: result: $STRIP" >&5
1.2078 -echo "${ECHO_T}$STRIP" >&6
1.2079 -else
1.2080 - echo "$as_me:$LINENO: result: no" >&5
1.2081 -echo "${ECHO_T}no" >&6
1.2082 -fi
1.2083 -
1.2084 -fi
1.2085 -if test -z "$ac_cv_prog_STRIP"; then
1.2086 - ac_ct_STRIP=$STRIP
1.2087 - # Extract the first word of "strip", so it can be a program name with args.
1.2088 -set dummy strip; ac_word=$2
1.2089 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2090 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2091 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.2092 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2093 -else
1.2094 - if test -n "$ac_ct_STRIP"; then
1.2095 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.2096 -else
1.2097 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2098 -for as_dir in $PATH
1.2099 -do
1.2100 - IFS=$as_save_IFS
1.2101 - test -z "$as_dir" && as_dir=.
1.2102 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2103 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2104 - ac_cv_prog_ac_ct_STRIP="strip"
1.2105 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2106 - break 2
1.2107 - fi
1.2108 -done
1.2109 -done
1.2110 -
1.2111 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.2112 -fi
1.2113 -fi
1.2114 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1.2115 -if test -n "$ac_ct_STRIP"; then
1.2116 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1.2117 -echo "${ECHO_T}$ac_ct_STRIP" >&6
1.2118 -else
1.2119 - echo "$as_me:$LINENO: result: no" >&5
1.2120 -echo "${ECHO_T}no" >&6
1.2121 -fi
1.2122 -
1.2123 - STRIP=$ac_ct_STRIP
1.2124 -else
1.2125 - STRIP="$ac_cv_prog_STRIP"
1.2126 -fi
1.2127 -
1.2128 -fi
1.2129 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.2130 -
1.2131 -# We need awk for the "check" target. The system "awk" is bad on
1.2132 -# some platforms.
1.2133 -
1.2134 -
1.2135 -
1.2136 -
1.2137 -# Check whether --enable-shared or --disable-shared was given.
1.2138 -if test "${enable_shared+set}" = set; then
1.2139 - enableval="$enable_shared"
1.2140 - p=${PACKAGE-default}
1.2141 - case $enableval in
1.2142 - yes) enable_shared=yes ;;
1.2143 - no) enable_shared=no ;;
1.2144 - *)
1.2145 - enable_shared=no
1.2146 - # Look at the argument we got. We use all the common list separators.
1.2147 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2148 - for pkg in $enableval; do
1.2149 - IFS="$lt_save_ifs"
1.2150 - if test "X$pkg" = "X$p"; then
1.2151 - enable_shared=yes
1.2152 - fi
1.2153 - done
1.2154 - IFS="$lt_save_ifs"
1.2155 - ;;
1.2156 - esac
1.2157 -else
1.2158 - enable_shared=yes
1.2159 -fi;
1.2160 -
1.2161 -# Check whether --enable-fast-install or --disable-fast-install was given.
1.2162 -if test "${enable_fast_install+set}" = set; then
1.2163 - enableval="$enable_fast_install"
1.2164 - p=${PACKAGE-default}
1.2165 - case $enableval in
1.2166 - yes) enable_fast_install=yes ;;
1.2167 - no) enable_fast_install=no ;;
1.2168 - *)
1.2169 - enable_fast_install=no
1.2170 - # Look at the argument we got. We use all the common list separators.
1.2171 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.2172 - for pkg in $enableval; do
1.2173 - IFS="$lt_save_ifs"
1.2174 - if test "X$pkg" = "X$p"; then
1.2175 - enable_fast_install=yes
1.2176 - fi
1.2177 - done
1.2178 - IFS="$lt_save_ifs"
1.2179 - ;;
1.2180 - esac
1.2181 -else
1.2182 - enable_fast_install=yes
1.2183 -fi;
1.2184 -
1.2185 -DEPDIR="${am__leading_dot}deps"
1.2186 -
1.2187 - ac_config_commands="$ac_config_commands depfiles"
1.2188 -
1.2189 -
1.2190 -am_make=${MAKE-make}
1.2191 -cat > confinc << 'END'
1.2192 -am__doit:
1.2193 - @echo done
1.2194 -.PHONY: am__doit
1.2195 -END
1.2196 -# If we don't find an include directive, just comment out the code.
1.2197 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1.2198 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1.2199 -am__include="#"
1.2200 -am__quote=
1.2201 -_am_result=none
1.2202 -# First try GNU make style include.
1.2203 -echo "include confinc" > confmf
1.2204 -# We grep out `Entering directory' and `Leaving directory'
1.2205 -# messages which can occur if `w' ends up in MAKEFLAGS.
1.2206 -# In particular we don't look at `^make:' because GNU make might
1.2207 -# be invoked under some other name (usually "gmake"), in which
1.2208 -# case it prints its new name instead of `make'.
1.2209 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1.2210 - am__include=include
1.2211 - am__quote=
1.2212 - _am_result=GNU
1.2213 -fi
1.2214 -# Now try BSD make style include.
1.2215 -if test "$am__include" = "#"; then
1.2216 - echo '.include "confinc"' > confmf
1.2217 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1.2218 - am__include=.include
1.2219 - am__quote="\""
1.2220 - _am_result=BSD
1.2221 - fi
1.2222 -fi
1.2223 -
1.2224 -
1.2225 -echo "$as_me:$LINENO: result: $_am_result" >&5
1.2226 -echo "${ECHO_T}$_am_result" >&6
1.2227 -rm -f confinc confmf
1.2228 -
1.2229 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1.2230 -if test "${enable_dependency_tracking+set}" = set; then
1.2231 - enableval="$enable_dependency_tracking"
1.2232 -
1.2233 -fi;
1.2234 -if test "x$enable_dependency_tracking" != xno; then
1.2235 - am_depcomp="$ac_aux_dir/depcomp"
1.2236 - AMDEPBACKSLASH='\'
1.2237 -fi
1.2238 -
1.2239 -
1.2240 -if test "x$enable_dependency_tracking" != xno; then
1.2241 - AMDEP_TRUE=
1.2242 - AMDEP_FALSE='#'
1.2243 -else
1.2244 - AMDEP_TRUE='#'
1.2245 - AMDEP_FALSE=
1.2246 -fi
1.2247 -
1.2248 -
1.2249 -
1.2250 -ac_ext=c
1.2251 -ac_cpp='$CPP $CPPFLAGS'
1.2252 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2253 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2254 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2255 -if test -n "$ac_tool_prefix"; then
1.2256 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.2257 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.2258 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2259 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2260 -if test "${ac_cv_prog_CC+set}" = set; then
1.2261 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2262 -else
1.2263 - if test -n "$CC"; then
1.2264 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2265 -else
1.2266 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2267 -for as_dir in $PATH
1.2268 -do
1.2269 - IFS=$as_save_IFS
1.2270 - test -z "$as_dir" && as_dir=.
1.2271 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2272 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2273 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.2274 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2275 - break 2
1.2276 - fi
1.2277 -done
1.2278 -done
1.2279 -
1.2280 -fi
1.2281 -fi
1.2282 -CC=$ac_cv_prog_CC
1.2283 -if test -n "$CC"; then
1.2284 - echo "$as_me:$LINENO: result: $CC" >&5
1.2285 -echo "${ECHO_T}$CC" >&6
1.2286 -else
1.2287 - echo "$as_me:$LINENO: result: no" >&5
1.2288 -echo "${ECHO_T}no" >&6
1.2289 -fi
1.2290 -
1.2291 -fi
1.2292 -if test -z "$ac_cv_prog_CC"; then
1.2293 - ac_ct_CC=$CC
1.2294 - # Extract the first word of "gcc", so it can be a program name with args.
1.2295 -set dummy gcc; ac_word=$2
1.2296 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2297 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2298 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2299 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2300 -else
1.2301 - if test -n "$ac_ct_CC"; then
1.2302 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2303 -else
1.2304 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2305 -for as_dir in $PATH
1.2306 -do
1.2307 - IFS=$as_save_IFS
1.2308 - test -z "$as_dir" && as_dir=.
1.2309 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2310 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2311 - ac_cv_prog_ac_ct_CC="gcc"
1.2312 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2313 - break 2
1.2314 - fi
1.2315 -done
1.2316 -done
1.2317 -
1.2318 -fi
1.2319 -fi
1.2320 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2321 -if test -n "$ac_ct_CC"; then
1.2322 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2323 -echo "${ECHO_T}$ac_ct_CC" >&6
1.2324 -else
1.2325 - echo "$as_me:$LINENO: result: no" >&5
1.2326 -echo "${ECHO_T}no" >&6
1.2327 -fi
1.2328 -
1.2329 - CC=$ac_ct_CC
1.2330 -else
1.2331 - CC="$ac_cv_prog_CC"
1.2332 -fi
1.2333 -
1.2334 -if test -z "$CC"; then
1.2335 - if test -n "$ac_tool_prefix"; then
1.2336 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.2337 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.2338 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2339 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2340 -if test "${ac_cv_prog_CC+set}" = set; then
1.2341 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2342 -else
1.2343 - if test -n "$CC"; then
1.2344 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2345 -else
1.2346 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2347 -for as_dir in $PATH
1.2348 -do
1.2349 - IFS=$as_save_IFS
1.2350 - test -z "$as_dir" && as_dir=.
1.2351 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2352 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2353 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.2354 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2355 - break 2
1.2356 - fi
1.2357 -done
1.2358 -done
1.2359 -
1.2360 -fi
1.2361 -fi
1.2362 -CC=$ac_cv_prog_CC
1.2363 -if test -n "$CC"; then
1.2364 - echo "$as_me:$LINENO: result: $CC" >&5
1.2365 -echo "${ECHO_T}$CC" >&6
1.2366 -else
1.2367 - echo "$as_me:$LINENO: result: no" >&5
1.2368 -echo "${ECHO_T}no" >&6
1.2369 -fi
1.2370 -
1.2371 -fi
1.2372 -if test -z "$ac_cv_prog_CC"; then
1.2373 - ac_ct_CC=$CC
1.2374 - # Extract the first word of "cc", so it can be a program name with args.
1.2375 -set dummy cc; ac_word=$2
1.2376 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2377 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2378 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2379 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2380 -else
1.2381 - if test -n "$ac_ct_CC"; then
1.2382 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2383 -else
1.2384 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2385 -for as_dir in $PATH
1.2386 -do
1.2387 - IFS=$as_save_IFS
1.2388 - test -z "$as_dir" && as_dir=.
1.2389 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2390 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2391 - ac_cv_prog_ac_ct_CC="cc"
1.2392 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2393 - break 2
1.2394 - fi
1.2395 -done
1.2396 -done
1.2397 -
1.2398 -fi
1.2399 -fi
1.2400 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2401 -if test -n "$ac_ct_CC"; then
1.2402 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2403 -echo "${ECHO_T}$ac_ct_CC" >&6
1.2404 -else
1.2405 - echo "$as_me:$LINENO: result: no" >&5
1.2406 -echo "${ECHO_T}no" >&6
1.2407 -fi
1.2408 -
1.2409 - CC=$ac_ct_CC
1.2410 -else
1.2411 - CC="$ac_cv_prog_CC"
1.2412 -fi
1.2413 -
1.2414 -fi
1.2415 -if test -z "$CC"; then
1.2416 - # Extract the first word of "cc", so it can be a program name with args.
1.2417 -set dummy cc; ac_word=$2
1.2418 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2419 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2420 -if test "${ac_cv_prog_CC+set}" = set; then
1.2421 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2422 -else
1.2423 - if test -n "$CC"; then
1.2424 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2425 -else
1.2426 - ac_prog_rejected=no
1.2427 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2428 -for as_dir in $PATH
1.2429 -do
1.2430 - IFS=$as_save_IFS
1.2431 - test -z "$as_dir" && as_dir=.
1.2432 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2433 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2434 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.2435 - ac_prog_rejected=yes
1.2436 - continue
1.2437 - fi
1.2438 - ac_cv_prog_CC="cc"
1.2439 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2440 - break 2
1.2441 - fi
1.2442 -done
1.2443 -done
1.2444 -
1.2445 -if test $ac_prog_rejected = yes; then
1.2446 - # We found a bogon in the path, so make sure we never use it.
1.2447 - set dummy $ac_cv_prog_CC
1.2448 - shift
1.2449 - if test $@%:@ != 0; then
1.2450 - # We chose a different compiler from the bogus one.
1.2451 - # However, it has the same basename, so the bogon will be chosen
1.2452 - # first if we set CC to just the basename; use the full file name.
1.2453 - shift
1.2454 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.2455 - fi
1.2456 -fi
1.2457 -fi
1.2458 -fi
1.2459 -CC=$ac_cv_prog_CC
1.2460 -if test -n "$CC"; then
1.2461 - echo "$as_me:$LINENO: result: $CC" >&5
1.2462 -echo "${ECHO_T}$CC" >&6
1.2463 -else
1.2464 - echo "$as_me:$LINENO: result: no" >&5
1.2465 -echo "${ECHO_T}no" >&6
1.2466 -fi
1.2467 -
1.2468 -fi
1.2469 -if test -z "$CC"; then
1.2470 - if test -n "$ac_tool_prefix"; then
1.2471 - for ac_prog in cl
1.2472 - do
1.2473 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.2474 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.2475 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2476 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2477 -if test "${ac_cv_prog_CC+set}" = set; then
1.2478 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2479 -else
1.2480 - if test -n "$CC"; then
1.2481 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.2482 -else
1.2483 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2484 -for as_dir in $PATH
1.2485 -do
1.2486 - IFS=$as_save_IFS
1.2487 - test -z "$as_dir" && as_dir=.
1.2488 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2489 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2490 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.2491 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2492 - break 2
1.2493 - fi
1.2494 -done
1.2495 -done
1.2496 -
1.2497 -fi
1.2498 -fi
1.2499 -CC=$ac_cv_prog_CC
1.2500 -if test -n "$CC"; then
1.2501 - echo "$as_me:$LINENO: result: $CC" >&5
1.2502 -echo "${ECHO_T}$CC" >&6
1.2503 -else
1.2504 - echo "$as_me:$LINENO: result: no" >&5
1.2505 -echo "${ECHO_T}no" >&6
1.2506 -fi
1.2507 -
1.2508 - test -n "$CC" && break
1.2509 - done
1.2510 -fi
1.2511 -if test -z "$CC"; then
1.2512 - ac_ct_CC=$CC
1.2513 - for ac_prog in cl
1.2514 -do
1.2515 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.2516 -set dummy $ac_prog; ac_word=$2
1.2517 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2518 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2519 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2520 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2521 -else
1.2522 - if test -n "$ac_ct_CC"; then
1.2523 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2524 -else
1.2525 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2526 -for as_dir in $PATH
1.2527 -do
1.2528 - IFS=$as_save_IFS
1.2529 - test -z "$as_dir" && as_dir=.
1.2530 - for ac_exec_ext in '' $ac_executable_extensions; do
1.2531 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2532 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.2533 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2534 - break 2
1.2535 - fi
1.2536 -done
1.2537 -done
1.2538 -
1.2539 -fi
1.2540 -fi
1.2541 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2542 -if test -n "$ac_ct_CC"; then
1.2543 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2544 -echo "${ECHO_T}$ac_ct_CC" >&6
1.2545 -else
1.2546 - echo "$as_me:$LINENO: result: no" >&5
1.2547 -echo "${ECHO_T}no" >&6
1.2548 -fi
1.2549 -
1.2550 - test -n "$ac_ct_CC" && break
1.2551 -done
1.2552 -
1.2553 - CC=$ac_ct_CC
1.2554 -fi
1.2555 -
1.2556 -fi
1.2557 -
1.2558 -
1.2559 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.2560 -See \`config.log' for more details." >&5
1.2561 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.2562 -See \`config.log' for more details." >&2;}
1.2563 - { (exit 1); exit 1; }; }
1.2564 -
1.2565 -# Provide some information about the compiler.
1.2566 -echo "$as_me:$LINENO:" \
1.2567 - "checking for C compiler version" >&5
1.2568 -ac_compiler=`set X $ac_compile; echo $2`
1.2569 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.2570 - (eval $ac_compiler --version </dev/null >&5) 2>&5
1.2571 - ac_status=$?
1.2572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2573 - (exit $ac_status); }
1.2574 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.2575 - (eval $ac_compiler -v </dev/null >&5) 2>&5
1.2576 - ac_status=$?
1.2577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2578 - (exit $ac_status); }
1.2579 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.2580 - (eval $ac_compiler -V </dev/null >&5) 2>&5
1.2581 - ac_status=$?
1.2582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2583 - (exit $ac_status); }
1.2584 -
1.2585 -cat >conftest.$ac_ext <<_ACEOF
1.2586 -/* confdefs.h. */
1.2587 -_ACEOF
1.2588 -cat confdefs.h >>conftest.$ac_ext
1.2589 -cat >>conftest.$ac_ext <<_ACEOF
1.2590 -/* end confdefs.h. */
1.2591 -
1.2592 -int
1.2593 -main ()
1.2594 -{
1.2595 -
1.2596 - ;
1.2597 - return 0;
1.2598 -}
1.2599 -_ACEOF
1.2600 -ac_clean_files_save=$ac_clean_files
1.2601 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.2602 -# Try to create an executable without -o first, disregard a.out.
1.2603 -# It will help us diagnose broken compilers, and finding out an intuition
1.2604 -# of exeext.
1.2605 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1.2606 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1.2607 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.2608 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1.2609 - (eval $ac_link_default) 2>&5
1.2610 - ac_status=$?
1.2611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2612 - (exit $ac_status); }; then
1.2613 - # Find the output, starting from the most likely. This scheme is
1.2614 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1.2615 -# resort.
1.2616 -
1.2617 -# Be careful to initialize this variable, since it used to be cached.
1.2618 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1.2619 -ac_cv_exeext=
1.2620 -# b.out is created by i960 compilers.
1.2621 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.2622 -do
1.2623 - test -f "$ac_file" || continue
1.2624 - case $ac_file in
1.2625 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.2626 - ;;
1.2627 - conftest.$ac_ext )
1.2628 - # This is the source file.
1.2629 - ;;
1.2630 - [ab].out )
1.2631 - # We found the default executable, but exeext='' is most
1.2632 - # certainly right.
1.2633 - break;;
1.2634 - *.* )
1.2635 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.2636 - # FIXME: I believe we export ac_cv_exeext for Libtool,
1.2637 - # but it would be cool to find out if it's true. Does anybody
1.2638 - # maintain Libtool? --akim.
1.2639 - export ac_cv_exeext
1.2640 - break;;
1.2641 - * )
1.2642 - break;;
1.2643 - esac
1.2644 -done
1.2645 -else
1.2646 - echo "$as_me: failed program was:" >&5
1.2647 -sed 's/^/| /' conftest.$ac_ext >&5
1.2648 -
1.2649 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1.2650 -See \`config.log' for more details." >&5
1.2651 -echo "$as_me: error: C compiler cannot create executables
1.2652 -See \`config.log' for more details." >&2;}
1.2653 - { (exit 77); exit 77; }; }
1.2654 -fi
1.2655 -
1.2656 -ac_exeext=$ac_cv_exeext
1.2657 -echo "$as_me:$LINENO: result: $ac_file" >&5
1.2658 -echo "${ECHO_T}$ac_file" >&6
1.2659 -
1.2660 -# Check the compiler produces executables we can run. If not, either
1.2661 -# the compiler is broken, or we cross compile.
1.2662 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1.2663 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1.2664 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1.2665 -# If not cross compiling, check that we can run a simple program.
1.2666 -if test "$cross_compiling" != yes; then
1.2667 - if { ac_try='./$ac_file'
1.2668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2669 - (eval $ac_try) 2>&5
1.2670 - ac_status=$?
1.2671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2672 - (exit $ac_status); }; }; then
1.2673 - cross_compiling=no
1.2674 - else
1.2675 - if test "$cross_compiling" = maybe; then
1.2676 - cross_compiling=yes
1.2677 - else
1.2678 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.2679 -If you meant to cross compile, use \`--host'.
1.2680 -See \`config.log' for more details." >&5
1.2681 -echo "$as_me: error: cannot run C compiled programs.
1.2682 -If you meant to cross compile, use \`--host'.
1.2683 -See \`config.log' for more details." >&2;}
1.2684 - { (exit 1); exit 1; }; }
1.2685 - fi
1.2686 - fi
1.2687 -fi
1.2688 -echo "$as_me:$LINENO: result: yes" >&5
1.2689 -echo "${ECHO_T}yes" >&6
1.2690 -
1.2691 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.2692 -ac_clean_files=$ac_clean_files_save
1.2693 -# Check the compiler produces executables we can run. If not, either
1.2694 -# the compiler is broken, or we cross compile.
1.2695 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1.2696 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1.2697 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
1.2698 -echo "${ECHO_T}$cross_compiling" >&6
1.2699 -
1.2700 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
1.2701 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1.2702 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.2703 - (eval $ac_link) 2>&5
1.2704 - ac_status=$?
1.2705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2706 - (exit $ac_status); }; then
1.2707 - # If both `conftest.exe' and `conftest' are `present' (well, observable)
1.2708 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1.2709 -# work properly (i.e., refer to `conftest.exe'), while it won't with
1.2710 -# `rm'.
1.2711 -for ac_file in conftest.exe conftest conftest.*; do
1.2712 - test -f "$ac_file" || continue
1.2713 - case $ac_file in
1.2714 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1.2715 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.2716 - export ac_cv_exeext
1.2717 - break;;
1.2718 - * ) break;;
1.2719 - esac
1.2720 -done
1.2721 -else
1.2722 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1.2723 -See \`config.log' for more details." >&5
1.2724 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1.2725 -See \`config.log' for more details." >&2;}
1.2726 - { (exit 1); exit 1; }; }
1.2727 -fi
1.2728 -
1.2729 -rm -f conftest$ac_cv_exeext
1.2730 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.2731 -echo "${ECHO_T}$ac_cv_exeext" >&6
1.2732 -
1.2733 -rm -f conftest.$ac_ext
1.2734 -EXEEXT=$ac_cv_exeext
1.2735 -ac_exeext=$EXEEXT
1.2736 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
1.2737 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1.2738 -if test "${ac_cv_objext+set}" = set; then
1.2739 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2740 -else
1.2741 - cat >conftest.$ac_ext <<_ACEOF
1.2742 -/* confdefs.h. */
1.2743 -_ACEOF
1.2744 -cat confdefs.h >>conftest.$ac_ext
1.2745 -cat >>conftest.$ac_ext <<_ACEOF
1.2746 -/* end confdefs.h. */
1.2747 -
1.2748 -int
1.2749 -main ()
1.2750 -{
1.2751 -
1.2752 - ;
1.2753 - return 0;
1.2754 -}
1.2755 -_ACEOF
1.2756 -rm -f conftest.o conftest.obj
1.2757 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2758 - (eval $ac_compile) 2>&5
1.2759 - ac_status=$?
1.2760 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2761 - (exit $ac_status); }; then
1.2762 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1.2763 - case $ac_file in
1.2764 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1.2765 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1.2766 - break;;
1.2767 - esac
1.2768 -done
1.2769 -else
1.2770 - echo "$as_me: failed program was:" >&5
1.2771 -sed 's/^/| /' conftest.$ac_ext >&5
1.2772 -
1.2773 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1.2774 -See \`config.log' for more details." >&5
1.2775 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
1.2776 -See \`config.log' for more details." >&2;}
1.2777 - { (exit 1); exit 1; }; }
1.2778 -fi
1.2779 -
1.2780 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.2781 -fi
1.2782 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.2783 -echo "${ECHO_T}$ac_cv_objext" >&6
1.2784 -OBJEXT=$ac_cv_objext
1.2785 -ac_objext=$OBJEXT
1.2786 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.2787 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1.2788 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.2789 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2790 -else
1.2791 - cat >conftest.$ac_ext <<_ACEOF
1.2792 -/* confdefs.h. */
1.2793 -_ACEOF
1.2794 -cat confdefs.h >>conftest.$ac_ext
1.2795 -cat >>conftest.$ac_ext <<_ACEOF
1.2796 -/* end confdefs.h. */
1.2797 -
1.2798 -int
1.2799 -main ()
1.2800 -{
1.2801 -#ifndef __GNUC__
1.2802 - choke me
1.2803 -#endif
1.2804 -
1.2805 - ;
1.2806 - return 0;
1.2807 -}
1.2808 -_ACEOF
1.2809 -rm -f conftest.$ac_objext
1.2810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2811 - (eval $ac_compile) 2>conftest.er1
1.2812 - ac_status=$?
1.2813 - grep -v '^ *+' conftest.er1 >conftest.err
1.2814 - rm -f conftest.er1
1.2815 - cat conftest.err >&5
1.2816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2817 - (exit $ac_status); } &&
1.2818 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2820 - (eval $ac_try) 2>&5
1.2821 - ac_status=$?
1.2822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2823 - (exit $ac_status); }; } &&
1.2824 - { ac_try='test -s conftest.$ac_objext'
1.2825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2826 - (eval $ac_try) 2>&5
1.2827 - ac_status=$?
1.2828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2829 - (exit $ac_status); }; }; then
1.2830 - ac_compiler_gnu=yes
1.2831 -else
1.2832 - echo "$as_me: failed program was:" >&5
1.2833 -sed 's/^/| /' conftest.$ac_ext >&5
1.2834 -
1.2835 -ac_compiler_gnu=no
1.2836 -fi
1.2837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2838 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.2839 -
1.2840 -fi
1.2841 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.2842 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1.2843 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.2844 -ac_test_CFLAGS=${CFLAGS+set}
1.2845 -ac_save_CFLAGS=$CFLAGS
1.2846 -CFLAGS="-g"
1.2847 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.2848 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1.2849 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.2850 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2851 -else
1.2852 - cat >conftest.$ac_ext <<_ACEOF
1.2853 -/* confdefs.h. */
1.2854 -_ACEOF
1.2855 -cat confdefs.h >>conftest.$ac_ext
1.2856 -cat >>conftest.$ac_ext <<_ACEOF
1.2857 -/* end confdefs.h. */
1.2858 -
1.2859 -int
1.2860 -main ()
1.2861 -{
1.2862 -
1.2863 - ;
1.2864 - return 0;
1.2865 -}
1.2866 -_ACEOF
1.2867 -rm -f conftest.$ac_objext
1.2868 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2869 - (eval $ac_compile) 2>conftest.er1
1.2870 - ac_status=$?
1.2871 - grep -v '^ *+' conftest.er1 >conftest.err
1.2872 - rm -f conftest.er1
1.2873 - cat conftest.err >&5
1.2874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2875 - (exit $ac_status); } &&
1.2876 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2877 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2878 - (eval $ac_try) 2>&5
1.2879 - ac_status=$?
1.2880 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2881 - (exit $ac_status); }; } &&
1.2882 - { ac_try='test -s conftest.$ac_objext'
1.2883 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2884 - (eval $ac_try) 2>&5
1.2885 - ac_status=$?
1.2886 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2887 - (exit $ac_status); }; }; then
1.2888 - ac_cv_prog_cc_g=yes
1.2889 -else
1.2890 - echo "$as_me: failed program was:" >&5
1.2891 -sed 's/^/| /' conftest.$ac_ext >&5
1.2892 -
1.2893 -ac_cv_prog_cc_g=no
1.2894 -fi
1.2895 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2896 -fi
1.2897 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.2898 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.2899 -if test "$ac_test_CFLAGS" = set; then
1.2900 - CFLAGS=$ac_save_CFLAGS
1.2901 -elif test $ac_cv_prog_cc_g = yes; then
1.2902 - if test "$GCC" = yes; then
1.2903 - CFLAGS="-g -O2"
1.2904 - else
1.2905 - CFLAGS="-g"
1.2906 - fi
1.2907 -else
1.2908 - if test "$GCC" = yes; then
1.2909 - CFLAGS="-O2"
1.2910 - else
1.2911 - CFLAGS=
1.2912 - fi
1.2913 -fi
1.2914 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1.2915 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1.2916 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
1.2917 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.2918 -else
1.2919 - ac_cv_prog_cc_stdc=no
1.2920 -ac_save_CC=$CC
1.2921 -cat >conftest.$ac_ext <<_ACEOF
1.2922 -/* confdefs.h. */
1.2923 -_ACEOF
1.2924 -cat confdefs.h >>conftest.$ac_ext
1.2925 -cat >>conftest.$ac_ext <<_ACEOF
1.2926 -/* end confdefs.h. */
1.2927 -#include <stdarg.h>
1.2928 -#include <stdio.h>
1.2929 -#include <sys/types.h>
1.2930 -#include <sys/stat.h>
1.2931 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.2932 -struct buf { int x; };
1.2933 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.2934 -static char *e (p, i)
1.2935 - char **p;
1.2936 - int i;
1.2937 -{
1.2938 - return p[i];
1.2939 -}
1.2940 -static char *f (char * (*g) (char **, int), char **p, ...)
1.2941 -{
1.2942 - char *s;
1.2943 - va_list v;
1.2944 - va_start (v,p);
1.2945 - s = g (p, va_arg (v,int));
1.2946 - va_end (v);
1.2947 - return s;
1.2948 -}
1.2949 -
1.2950 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.2951 - function prototypes and stuff, but not '\xHH' hex character constants.
1.2952 - These don't provoke an error unfortunately, instead are silently treated
1.2953 - as 'x'. The following induces an error, until -std1 is added to get
1.2954 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.2955 - array size at least. It's necessary to write '\x00'==0 to get something
1.2956 - that's true only with -std1. */
1.2957 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.2958 -
1.2959 -int test (int i, double x);
1.2960 -struct s1 {int (*f) (int a);};
1.2961 -struct s2 {int (*f) (double a);};
1.2962 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.2963 -int argc;
1.2964 -char **argv;
1.2965 -int
1.2966 -main ()
1.2967 -{
1.2968 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.2969 - ;
1.2970 - return 0;
1.2971 -}
1.2972 -_ACEOF
1.2973 -# Don't try gcc -ansi; that turns off useful extensions and
1.2974 -# breaks some systems' header files.
1.2975 -# AIX -qlanglvl=ansi
1.2976 -# Ultrix and OSF/1 -std1
1.2977 -# HP-UX 10.20 and later -Ae
1.2978 -# HP-UX older versions -Aa -D_HPUX_SOURCE
1.2979 -# SVR4 -Xc -D__EXTENSIONS__
1.2980 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.2981 -do
1.2982 - CC="$ac_save_CC $ac_arg"
1.2983 - rm -f conftest.$ac_objext
1.2984 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2985 - (eval $ac_compile) 2>conftest.er1
1.2986 - ac_status=$?
1.2987 - grep -v '^ *+' conftest.er1 >conftest.err
1.2988 - rm -f conftest.er1
1.2989 - cat conftest.err >&5
1.2990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2991 - (exit $ac_status); } &&
1.2992 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2993 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2994 - (eval $ac_try) 2>&5
1.2995 - ac_status=$?
1.2996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2997 - (exit $ac_status); }; } &&
1.2998 - { ac_try='test -s conftest.$ac_objext'
1.2999 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3000 - (eval $ac_try) 2>&5
1.3001 - ac_status=$?
1.3002 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3003 - (exit $ac_status); }; }; then
1.3004 - ac_cv_prog_cc_stdc=$ac_arg
1.3005 -break
1.3006 -else
1.3007 - echo "$as_me: failed program was:" >&5
1.3008 -sed 's/^/| /' conftest.$ac_ext >&5
1.3009 -
1.3010 -fi
1.3011 -rm -f conftest.err conftest.$ac_objext
1.3012 -done
1.3013 -rm -f conftest.$ac_ext conftest.$ac_objext
1.3014 -CC=$ac_save_CC
1.3015 -
1.3016 -fi
1.3017 -
1.3018 -case "x$ac_cv_prog_cc_stdc" in
1.3019 - x|xno)
1.3020 - echo "$as_me:$LINENO: result: none needed" >&5
1.3021 -echo "${ECHO_T}none needed" >&6 ;;
1.3022 - *)
1.3023 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1.3024 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1.3025 - CC="$CC $ac_cv_prog_cc_stdc" ;;
1.3026 -esac
1.3027 -
1.3028 -# Some people use a C++ compiler to compile C. Since we use `exit',
1.3029 -# in C++ we need to declare it. In case someone uses the same compiler
1.3030 -# for both compiling C and C++ we need to have the C++ compiler decide
1.3031 -# the declaration of exit, since it's the most demanding environment.
1.3032 -cat >conftest.$ac_ext <<_ACEOF
1.3033 -@%:@ifndef __cplusplus
1.3034 - choke me
1.3035 -@%:@endif
1.3036 -_ACEOF
1.3037 -rm -f conftest.$ac_objext
1.3038 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3039 - (eval $ac_compile) 2>conftest.er1
1.3040 - ac_status=$?
1.3041 - grep -v '^ *+' conftest.er1 >conftest.err
1.3042 - rm -f conftest.er1
1.3043 - cat conftest.err >&5
1.3044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3045 - (exit $ac_status); } &&
1.3046 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3047 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3048 - (eval $ac_try) 2>&5
1.3049 - ac_status=$?
1.3050 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3051 - (exit $ac_status); }; } &&
1.3052 - { ac_try='test -s conftest.$ac_objext'
1.3053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3054 - (eval $ac_try) 2>&5
1.3055 - ac_status=$?
1.3056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3057 - (exit $ac_status); }; }; then
1.3058 - for ac_declaration in \
1.3059 - '' \
1.3060 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
1.3061 - 'extern "C" void std::exit (int); using std::exit;' \
1.3062 - 'extern "C" void exit (int) throw ();' \
1.3063 - 'extern "C" void exit (int);' \
1.3064 - 'void exit (int);'
1.3065 -do
1.3066 - cat >conftest.$ac_ext <<_ACEOF
1.3067 -/* confdefs.h. */
1.3068 -_ACEOF
1.3069 -cat confdefs.h >>conftest.$ac_ext
1.3070 -cat >>conftest.$ac_ext <<_ACEOF
1.3071 -/* end confdefs.h. */
1.3072 -$ac_declaration
1.3073 -@%:@include <stdlib.h>
1.3074 -int
1.3075 -main ()
1.3076 -{
1.3077 -exit (42);
1.3078 - ;
1.3079 - return 0;
1.3080 -}
1.3081 -_ACEOF
1.3082 -rm -f conftest.$ac_objext
1.3083 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3084 - (eval $ac_compile) 2>conftest.er1
1.3085 - ac_status=$?
1.3086 - grep -v '^ *+' conftest.er1 >conftest.err
1.3087 - rm -f conftest.er1
1.3088 - cat conftest.err >&5
1.3089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3090 - (exit $ac_status); } &&
1.3091 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3093 - (eval $ac_try) 2>&5
1.3094 - ac_status=$?
1.3095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3096 - (exit $ac_status); }; } &&
1.3097 - { ac_try='test -s conftest.$ac_objext'
1.3098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3099 - (eval $ac_try) 2>&5
1.3100 - ac_status=$?
1.3101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3102 - (exit $ac_status); }; }; then
1.3103 - :
1.3104 -else
1.3105 - echo "$as_me: failed program was:" >&5
1.3106 -sed 's/^/| /' conftest.$ac_ext >&5
1.3107 -
1.3108 -continue
1.3109 -fi
1.3110 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3111 - cat >conftest.$ac_ext <<_ACEOF
1.3112 -/* confdefs.h. */
1.3113 -_ACEOF
1.3114 -cat confdefs.h >>conftest.$ac_ext
1.3115 -cat >>conftest.$ac_ext <<_ACEOF
1.3116 -/* end confdefs.h. */
1.3117 -$ac_declaration
1.3118 -int
1.3119 -main ()
1.3120 -{
1.3121 -exit (42);
1.3122 - ;
1.3123 - return 0;
1.3124 -}
1.3125 -_ACEOF
1.3126 -rm -f conftest.$ac_objext
1.3127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3128 - (eval $ac_compile) 2>conftest.er1
1.3129 - ac_status=$?
1.3130 - grep -v '^ *+' conftest.er1 >conftest.err
1.3131 - rm -f conftest.er1
1.3132 - cat conftest.err >&5
1.3133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3134 - (exit $ac_status); } &&
1.3135 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3136 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3137 - (eval $ac_try) 2>&5
1.3138 - ac_status=$?
1.3139 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3140 - (exit $ac_status); }; } &&
1.3141 - { ac_try='test -s conftest.$ac_objext'
1.3142 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3143 - (eval $ac_try) 2>&5
1.3144 - ac_status=$?
1.3145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3146 - (exit $ac_status); }; }; then
1.3147 - break
1.3148 -else
1.3149 - echo "$as_me: failed program was:" >&5
1.3150 -sed 's/^/| /' conftest.$ac_ext >&5
1.3151 -
1.3152 -fi
1.3153 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3154 -done
1.3155 -rm -f conftest*
1.3156 -if test -n "$ac_declaration"; then
1.3157 - echo '#ifdef __cplusplus' >>confdefs.h
1.3158 - echo $ac_declaration >>confdefs.h
1.3159 - echo '#endif' >>confdefs.h
1.3160 -fi
1.3161 -
1.3162 -else
1.3163 - echo "$as_me: failed program was:" >&5
1.3164 -sed 's/^/| /' conftest.$ac_ext >&5
1.3165 -
1.3166 -fi
1.3167 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3168 -ac_ext=c
1.3169 -ac_cpp='$CPP $CPPFLAGS'
1.3170 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3171 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3172 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3173 -
1.3174 -depcc="$CC" am_compiler_list=
1.3175 -
1.3176 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.3177 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.3178 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.3179 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3180 -else
1.3181 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.3182 - # We make a subdir and do the tests there. Otherwise we can end up
1.3183 - # making bogus files that we don't know about and never remove. For
1.3184 - # instance it was reported that on HP-UX the gcc test will end up
1.3185 - # making a dummy file named `D' -- because `-MD' means `put the output
1.3186 - # in D'.
1.3187 - mkdir conftest.dir
1.3188 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.3189 - # using a relative directory.
1.3190 - cp "$am_depcomp" conftest.dir
1.3191 - cd conftest.dir
1.3192 - # We will build objects and dependencies in a subdirectory because
1.3193 - # it helps to detect inapplicable dependency modes. For instance
1.3194 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.3195 - # side effect of compilation, but ICC will put the dependencies in
1.3196 - # the current directory while Tru64 will put them in the object
1.3197 - # directory.
1.3198 - mkdir sub
1.3199 -
1.3200 - am_cv_CC_dependencies_compiler_type=none
1.3201 - if test "$am_compiler_list" = ""; then
1.3202 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.3203 - fi
1.3204 - for depmode in $am_compiler_list; do
1.3205 - # Setup a source with many dependencies, because some compilers
1.3206 - # like to wrap large dependency lists on column 80 (with \), and
1.3207 - # we should not choose a depcomp mode which is confused by this.
1.3208 - #
1.3209 - # We need to recreate these files for each test, as the compiler may
1.3210 - # overwrite some of them when testing with obscure command lines.
1.3211 - # This happens at least with the AIX C compiler.
1.3212 - : > sub/conftest.c
1.3213 - for i in 1 2 3 4 5 6; do
1.3214 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.3215 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.3216 - # Solaris 8's {/usr,}/bin/sh.
1.3217 - touch sub/conftst$i.h
1.3218 - done
1.3219 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.3220 -
1.3221 - case $depmode in
1.3222 - nosideeffect)
1.3223 - # after this tag, mechanisms are not by side-effect, so they'll
1.3224 - # only be used when explicitly requested
1.3225 - if test "x$enable_dependency_tracking" = xyes; then
1.3226 - continue
1.3227 - else
1.3228 - break
1.3229 - fi
1.3230 - ;;
1.3231 - none) break ;;
1.3232 - esac
1.3233 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.3234 - # mode. It turns out that the SunPro C++ compiler does not properly
1.3235 - # handle `-M -o', and we need to detect this.
1.3236 - if depmode=$depmode \
1.3237 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.3238 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.3239 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.3240 - >/dev/null 2>conftest.err &&
1.3241 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.3242 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.3243 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.3244 - # icc doesn't choke on unknown options, it will just issue warnings
1.3245 - # or remarks (even with -Werror). So we grep stderr for any message
1.3246 - # that says an option was ignored or not supported.
1.3247 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.3248 - # icc: Command line warning: ignoring option '-M'; no argument required
1.3249 - # The diagnosis changed in icc 8.0:
1.3250 - # icc: Command line remark: option '-MP' not supported
1.3251 - if (grep 'ignoring option' conftest.err ||
1.3252 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.3253 - am_cv_CC_dependencies_compiler_type=$depmode
1.3254 - break
1.3255 - fi
1.3256 - fi
1.3257 - done
1.3258 -
1.3259 - cd ..
1.3260 - rm -rf conftest.dir
1.3261 -else
1.3262 - am_cv_CC_dependencies_compiler_type=none
1.3263 -fi
1.3264 -
1.3265 -fi
1.3266 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.3267 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1.3268 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.3269 -
1.3270 -
1.3271 -
1.3272 -if
1.3273 - test "x$enable_dependency_tracking" != xno \
1.3274 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.3275 - am__fastdepCC_TRUE=
1.3276 - am__fastdepCC_FALSE='#'
1.3277 -else
1.3278 - am__fastdepCC_TRUE='#'
1.3279 - am__fastdepCC_FALSE=
1.3280 -fi
1.3281 -
1.3282 -
1.3283 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
1.3284 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
1.3285 -if test "${lt_cv_path_SED+set}" = set; then
1.3286 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3287 -else
1.3288 - # Loop through the user's path and test for sed and gsed.
1.3289 -# Then use that list of sed's as ones to test for truncation.
1.3290 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3291 -for as_dir in $PATH
1.3292 -do
1.3293 - IFS=$as_save_IFS
1.3294 - test -z "$as_dir" && as_dir=.
1.3295 - for lt_ac_prog in sed gsed; do
1.3296 - for ac_exec_ext in '' $ac_executable_extensions; do
1.3297 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
1.3298 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
1.3299 - fi
1.3300 - done
1.3301 - done
1.3302 -done
1.3303 -lt_ac_max=0
1.3304 -lt_ac_count=0
1.3305 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
1.3306 -# along with /bin/sed that truncates output.
1.3307 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
1.3308 - test ! -f $lt_ac_sed && continue
1.3309 - cat /dev/null > conftest.in
1.3310 - lt_ac_count=0
1.3311 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
1.3312 - # Check for GNU sed and select it if it is found.
1.3313 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
1.3314 - lt_cv_path_SED=$lt_ac_sed
1.3315 - break
1.3316 - fi
1.3317 - while true; do
1.3318 - cat conftest.in conftest.in >conftest.tmp
1.3319 - mv conftest.tmp conftest.in
1.3320 - cp conftest.in conftest.nl
1.3321 - echo >>conftest.nl
1.3322 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
1.3323 - cmp -s conftest.out conftest.nl || break
1.3324 - # 10000 chars as input seems more than enough
1.3325 - test $lt_ac_count -gt 10 && break
1.3326 - lt_ac_count=`expr $lt_ac_count + 1`
1.3327 - if test $lt_ac_count -gt $lt_ac_max; then
1.3328 - lt_ac_max=$lt_ac_count
1.3329 - lt_cv_path_SED=$lt_ac_sed
1.3330 - fi
1.3331 - done
1.3332 -done
1.3333 -
1.3334 -fi
1.3335 -
1.3336 -SED=$lt_cv_path_SED
1.3337 -echo "$as_me:$LINENO: result: $SED" >&5
1.3338 -echo "${ECHO_T}$SED" >&6
1.3339 -
1.3340 -echo "$as_me:$LINENO: checking for egrep" >&5
1.3341 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1.3342 -if test "${ac_cv_prog_egrep+set}" = set; then
1.3343 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3344 -else
1.3345 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1.3346 - then ac_cv_prog_egrep='grep -E'
1.3347 - else ac_cv_prog_egrep='egrep'
1.3348 - fi
1.3349 -fi
1.3350 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1.3351 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1.3352 - EGREP=$ac_cv_prog_egrep
1.3353 -
1.3354 -
1.3355 -
1.3356 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
1.3357 -if test "${with_gnu_ld+set}" = set; then
1.3358 - withval="$with_gnu_ld"
1.3359 - test "$withval" = no || with_gnu_ld=yes
1.3360 -else
1.3361 - with_gnu_ld=no
1.3362 -fi;
1.3363 -ac_prog=ld
1.3364 -if test "$GCC" = yes; then
1.3365 - # Check if gcc -print-prog-name=ld gives a path.
1.3366 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
1.3367 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.3368 - case $host in
1.3369 - *-*-mingw*)
1.3370 - # gcc leaves a trailing carriage return which upsets mingw
1.3371 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1.3372 - *)
1.3373 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1.3374 - esac
1.3375 - case $ac_prog in
1.3376 - # Accept absolute paths.
1.3377 - [\\/]* | ?:[\\/]*)
1.3378 - re_direlt='/[^/][^/]*/\.\./'
1.3379 - # Canonicalize the pathname of ld
1.3380 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
1.3381 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1.3382 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
1.3383 - done
1.3384 - test -z "$LD" && LD="$ac_prog"
1.3385 - ;;
1.3386 - "")
1.3387 - # If it fails, then pretend we aren't using GCC.
1.3388 - ac_prog=ld
1.3389 - ;;
1.3390 - *)
1.3391 - # If it is relative, then search for the first ld in PATH.
1.3392 - with_gnu_ld=unknown
1.3393 - ;;
1.3394 - esac
1.3395 -elif test "$with_gnu_ld" = yes; then
1.3396 - echo "$as_me:$LINENO: checking for GNU ld" >&5
1.3397 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.3398 -else
1.3399 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
1.3400 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.3401 -fi
1.3402 -if test "${lt_cv_path_LD+set}" = set; then
1.3403 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3404 -else
1.3405 - if test -z "$LD"; then
1.3406 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.3407 - for ac_dir in $PATH; do
1.3408 - IFS="$lt_save_ifs"
1.3409 - test -z "$ac_dir" && ac_dir=.
1.3410 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.3411 - lt_cv_path_LD="$ac_dir/$ac_prog"
1.3412 - # Check to see if the program is GNU ld. I'd rather use --version,
1.3413 - # but apparently some variants of GNU ld only accept -v.
1.3414 - # Break only if it was the GNU/non-GNU ld that we prefer.
1.3415 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1.3416 - *GNU* | *'with BFD'*)
1.3417 - test "$with_gnu_ld" != no && break
1.3418 - ;;
1.3419 - *)
1.3420 - test "$with_gnu_ld" != yes && break
1.3421 - ;;
1.3422 - esac
1.3423 - fi
1.3424 - done
1.3425 - IFS="$lt_save_ifs"
1.3426 -else
1.3427 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.3428 -fi
1.3429 -fi
1.3430 -
1.3431 -LD="$lt_cv_path_LD"
1.3432 -if test -n "$LD"; then
1.3433 - echo "$as_me:$LINENO: result: $LD" >&5
1.3434 -echo "${ECHO_T}$LD" >&6
1.3435 -else
1.3436 - echo "$as_me:$LINENO: result: no" >&5
1.3437 -echo "${ECHO_T}no" >&6
1.3438 -fi
1.3439 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
1.3440 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
1.3441 - { (exit 1); exit 1; }; }
1.3442 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
1.3443 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
1.3444 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
1.3445 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3446 -else
1.3447 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.3448 -case `$LD -v 2>&1 </dev/null` in
1.3449 -*GNU* | *'with BFD'*)
1.3450 - lt_cv_prog_gnu_ld=yes
1.3451 - ;;
1.3452 -*)
1.3453 - lt_cv_prog_gnu_ld=no
1.3454 - ;;
1.3455 -esac
1.3456 -fi
1.3457 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
1.3458 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
1.3459 -with_gnu_ld=$lt_cv_prog_gnu_ld
1.3460 -
1.3461 -
1.3462 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
1.3463 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
1.3464 -if test "${lt_cv_ld_reload_flag+set}" = set; then
1.3465 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3466 -else
1.3467 - lt_cv_ld_reload_flag='-r'
1.3468 -fi
1.3469 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
1.3470 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
1.3471 -reload_flag=$lt_cv_ld_reload_flag
1.3472 -case $reload_flag in
1.3473 -"" | " "*) ;;
1.3474 -*) reload_flag=" $reload_flag" ;;
1.3475 -esac
1.3476 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
1.3477 -case $host_os in
1.3478 - darwin*)
1.3479 - if test "$GCC" = yes; then
1.3480 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
1.3481 - else
1.3482 - reload_cmds='$LD$reload_flag -o $output$reload_objs'
1.3483 - fi
1.3484 - ;;
1.3485 -esac
1.3486 -
1.3487 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
1.3488 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
1.3489 -if test "${lt_cv_path_NM+set}" = set; then
1.3490 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3491 -else
1.3492 - if test -n "$NM"; then
1.3493 - # Let the user override the test.
1.3494 - lt_cv_path_NM="$NM"
1.3495 -else
1.3496 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.3497 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1.3498 - IFS="$lt_save_ifs"
1.3499 - test -z "$ac_dir" && ac_dir=.
1.3500 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1.3501 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1.3502 - # Check to see if the nm accepts a BSD-compat flag.
1.3503 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1.3504 - # nm: unknown option "B" ignored
1.3505 - # Tru64's nm complains that /dev/null is an invalid object file
1.3506 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1.3507 - */dev/null* | *'Invalid file or object type'*)
1.3508 - lt_cv_path_NM="$tmp_nm -B"
1.3509 - break
1.3510 - ;;
1.3511 - *)
1.3512 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1.3513 - */dev/null*)
1.3514 - lt_cv_path_NM="$tmp_nm -p"
1.3515 - break
1.3516 - ;;
1.3517 - *)
1.3518 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1.3519 - continue # so that we can try to find one that supports BSD flags
1.3520 - ;;
1.3521 - esac
1.3522 - esac
1.3523 - fi
1.3524 - done
1.3525 - IFS="$lt_save_ifs"
1.3526 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1.3527 -fi
1.3528 -fi
1.3529 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
1.3530 -echo "${ECHO_T}$lt_cv_path_NM" >&6
1.3531 -NM="$lt_cv_path_NM"
1.3532 -
1.3533 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
1.3534 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1.3535 -LN_S=$as_ln_s
1.3536 -if test "$LN_S" = "ln -s"; then
1.3537 - echo "$as_me:$LINENO: result: yes" >&5
1.3538 -echo "${ECHO_T}yes" >&6
1.3539 -else
1.3540 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1.3541 -echo "${ECHO_T}no, using $LN_S" >&6
1.3542 -fi
1.3543 -
1.3544 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
1.3545 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
1.3546 -if test "${lt_cv_deplibs_check_method+set}" = set; then
1.3547 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3548 -else
1.3549 - lt_cv_file_magic_cmd='$MAGIC_CMD'
1.3550 -lt_cv_file_magic_test_file=
1.3551 -lt_cv_deplibs_check_method='unknown'
1.3552 -# Need to set the preceding variable on all platforms that support
1.3553 -# interlibrary dependencies.
1.3554 -# 'none' -- dependencies not supported.
1.3555 -# `unknown' -- same as none, but documents that we really don't know.
1.3556 -# 'pass_all' -- all dependencies passed with no checks.
1.3557 -# 'test_compile' -- check by making test program.
1.3558 -# 'file_magic [[regex]]' -- check by looking for files in library path
1.3559 -# which responds to the $file_magic_cmd with a given extended regex.
1.3560 -# If you have `file' or equivalent on your system and you're not sure
1.3561 -# whether `pass_all' will *always* work, you probably want this one.
1.3562 -
1.3563 -case $host_os in
1.3564 -aix4* | aix5*)
1.3565 - lt_cv_deplibs_check_method=pass_all
1.3566 - ;;
1.3567 -
1.3568 -beos*)
1.3569 - lt_cv_deplibs_check_method=pass_all
1.3570 - ;;
1.3571 -
1.3572 -bsdi[45]*)
1.3573 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1.3574 - lt_cv_file_magic_cmd='/usr/bin/file -L'
1.3575 - lt_cv_file_magic_test_file=/shlib/libc.so
1.3576 - ;;
1.3577 -
1.3578 -cygwin*)
1.3579 - # func_win32_libid is a shell function defined in ltmain.sh
1.3580 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
1.3581 - lt_cv_file_magic_cmd='func_win32_libid'
1.3582 - ;;
1.3583 -
1.3584 -mingw* | pw32*)
1.3585 - # Base MSYS/MinGW do not provide the 'file' command needed by
1.3586 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
1.3587 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1.3588 - lt_cv_file_magic_cmd='$OBJDUMP -f'
1.3589 - ;;
1.3590 -
1.3591 -darwin* | rhapsody*)
1.3592 - lt_cv_deplibs_check_method=pass_all
1.3593 - ;;
1.3594 -
1.3595 -freebsd* | kfreebsd*-gnu | dragonfly*)
1.3596 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.3597 - case $host_cpu in
1.3598 - i*86 )
1.3599 - # Not sure whether the presence of OpenBSD here was a mistake.
1.3600 - # Let's accept both of them until this is cleared up.
1.3601 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.3602 - lt_cv_file_magic_cmd=/usr/bin/file
1.3603 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.3604 - ;;
1.3605 - esac
1.3606 - else
1.3607 - lt_cv_deplibs_check_method=pass_all
1.3608 - fi
1.3609 - ;;
1.3610 -
1.3611 -gnu*)
1.3612 - lt_cv_deplibs_check_method=pass_all
1.3613 - ;;
1.3614 -
1.3615 -hpux10.20* | hpux11*)
1.3616 - lt_cv_file_magic_cmd=/usr/bin/file
1.3617 - case $host_cpu in
1.3618 - ia64*)
1.3619 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1.3620 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1.3621 - ;;
1.3622 - hppa*64*)
1.3623 - 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.3624 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.3625 - ;;
1.3626 - *)
1.3627 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1.3628 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.3629 - ;;
1.3630 - esac
1.3631 - ;;
1.3632 -
1.3633 -irix5* | irix6* | nonstopux*)
1.3634 - case $LD in
1.3635 - *-32|*"-32 ") libmagic=32-bit;;
1.3636 - *-n32|*"-n32 ") libmagic=N32;;
1.3637 - *-64|*"-64 ") libmagic=64-bit;;
1.3638 - *) libmagic=never-match;;
1.3639 - esac
1.3640 - lt_cv_deplibs_check_method=pass_all
1.3641 - ;;
1.3642 -
1.3643 -# This must be Linux ELF.
1.3644 -linux*)
1.3645 - lt_cv_deplibs_check_method=pass_all
1.3646 - ;;
1.3647 -
1.3648 -netbsd*)
1.3649 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.3650 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.3651 - else
1.3652 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.3653 - fi
1.3654 - ;;
1.3655 -
1.3656 -newos6*)
1.3657 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1.3658 - lt_cv_file_magic_cmd=/usr/bin/file
1.3659 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
1.3660 - ;;
1.3661 -
1.3662 -nto-qnx*)
1.3663 - lt_cv_deplibs_check_method=unknown
1.3664 - ;;
1.3665 -
1.3666 -openbsd*)
1.3667 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.3668 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.3669 - else
1.3670 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.3671 - fi
1.3672 - ;;
1.3673 -
1.3674 -osf3* | osf4* | osf5*)
1.3675 - lt_cv_deplibs_check_method=pass_all
1.3676 - ;;
1.3677 -
1.3678 -sco3.2v5*)
1.3679 - lt_cv_deplibs_check_method=pass_all
1.3680 - ;;
1.3681 -
1.3682 -solaris*)
1.3683 - lt_cv_deplibs_check_method=pass_all
1.3684 - ;;
1.3685 -
1.3686 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.3687 - case $host_vendor in
1.3688 - motorola)
1.3689 - 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.3690 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1.3691 - ;;
1.3692 - ncr)
1.3693 - lt_cv_deplibs_check_method=pass_all
1.3694 - ;;
1.3695 - sequent)
1.3696 - lt_cv_file_magic_cmd='/bin/file'
1.3697 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
1.3698 - ;;
1.3699 - sni)
1.3700 - lt_cv_file_magic_cmd='/bin/file'
1.3701 - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
1.3702 - lt_cv_file_magic_test_file=/lib/libc.so
1.3703 - ;;
1.3704 - siemens)
1.3705 - lt_cv_deplibs_check_method=pass_all
1.3706 - ;;
1.3707 - esac
1.3708 - ;;
1.3709 -
1.3710 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
1.3711 - lt_cv_deplibs_check_method=pass_all
1.3712 - ;;
1.3713 -esac
1.3714 -
1.3715 -fi
1.3716 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
1.3717 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1.3718 -file_magic_cmd=$lt_cv_file_magic_cmd
1.3719 -deplibs_check_method=$lt_cv_deplibs_check_method
1.3720 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
1.3721 -
1.3722 -
1.3723 -
1.3724 -
1.3725 -# If no C compiler was specified, use CC.
1.3726 -LTCC=${LTCC-"$CC"}
1.3727 -
1.3728 -# Allow CC to be a program name with arguments.
1.3729 -compiler=$CC
1.3730 -
1.3731 -
1.3732 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1.3733 -if test "${enable_libtool_lock+set}" = set; then
1.3734 - enableval="$enable_libtool_lock"
1.3735 -
1.3736 -fi;
1.3737 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.3738 -
1.3739 -# Some flags need to be propagated to the compiler or linker for good
1.3740 -# libtool support.
1.3741 -case $host in
1.3742 -ia64-*-hpux*)
1.3743 - # Find out which ABI we are using.
1.3744 - echo 'int i;' > conftest.$ac_ext
1.3745 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3746 - (eval $ac_compile) 2>&5
1.3747 - ac_status=$?
1.3748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3749 - (exit $ac_status); }; then
1.3750 - case `/usr/bin/file conftest.$ac_objext` in
1.3751 - *ELF-32*)
1.3752 - HPUX_IA64_MODE="32"
1.3753 - ;;
1.3754 - *ELF-64*)
1.3755 - HPUX_IA64_MODE="64"
1.3756 - ;;
1.3757 - esac
1.3758 - fi
1.3759 - rm -rf conftest*
1.3760 - ;;
1.3761 -*-*-irix6*)
1.3762 - # Find out which ABI we are using.
1.3763 - echo '#line __oline__ "configure"' > conftest.$ac_ext
1.3764 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3765 - (eval $ac_compile) 2>&5
1.3766 - ac_status=$?
1.3767 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3768 - (exit $ac_status); }; then
1.3769 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.3770 - case `/usr/bin/file conftest.$ac_objext` in
1.3771 - *32-bit*)
1.3772 - LD="${LD-ld} -melf32bsmip"
1.3773 - ;;
1.3774 - *N32*)
1.3775 - LD="${LD-ld} -melf32bmipn32"
1.3776 - ;;
1.3777 - *64-bit*)
1.3778 - LD="${LD-ld} -melf64bmip"
1.3779 - ;;
1.3780 - esac
1.3781 - else
1.3782 - case `/usr/bin/file conftest.$ac_objext` in
1.3783 - *32-bit*)
1.3784 - LD="${LD-ld} -32"
1.3785 - ;;
1.3786 - *N32*)
1.3787 - LD="${LD-ld} -n32"
1.3788 - ;;
1.3789 - *64-bit*)
1.3790 - LD="${LD-ld} -64"
1.3791 - ;;
1.3792 - esac
1.3793 - fi
1.3794 - fi
1.3795 - rm -rf conftest*
1.3796 - ;;
1.3797 -
1.3798 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1.3799 - # Find out which ABI we are using.
1.3800 - echo 'int i;' > conftest.$ac_ext
1.3801 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3802 - (eval $ac_compile) 2>&5
1.3803 - ac_status=$?
1.3804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3805 - (exit $ac_status); }; then
1.3806 - case `/usr/bin/file conftest.o` in
1.3807 - *32-bit*)
1.3808 - case $host in
1.3809 - x86_64-*linux*)
1.3810 - LD="${LD-ld} -m elf_i386"
1.3811 - ;;
1.3812 - ppc64-*linux*|powerpc64-*linux*)
1.3813 - LD="${LD-ld} -m elf32ppclinux"
1.3814 - ;;
1.3815 - s390x-*linux*)
1.3816 - LD="${LD-ld} -m elf_s390"
1.3817 - ;;
1.3818 - sparc64-*linux*)
1.3819 - LD="${LD-ld} -m elf32_sparc"
1.3820 - ;;
1.3821 - esac
1.3822 - ;;
1.3823 - *64-bit*)
1.3824 - case $host in
1.3825 - x86_64-*linux*)
1.3826 - LD="${LD-ld} -m elf_x86_64"
1.3827 - ;;
1.3828 - ppc*-*linux*|powerpc*-*linux*)
1.3829 - LD="${LD-ld} -m elf64ppc"
1.3830 - ;;
1.3831 - s390*-*linux*)
1.3832 - LD="${LD-ld} -m elf64_s390"
1.3833 - ;;
1.3834 - sparc*-*linux*)
1.3835 - LD="${LD-ld} -m elf64_sparc"
1.3836 - ;;
1.3837 - esac
1.3838 - ;;
1.3839 - esac
1.3840 - fi
1.3841 - rm -rf conftest*
1.3842 - ;;
1.3843 -
1.3844 -*-*-sco3.2v5*)
1.3845 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.3846 - SAVE_CFLAGS="$CFLAGS"
1.3847 - CFLAGS="$CFLAGS -belf"
1.3848 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
1.3849 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
1.3850 -if test "${lt_cv_cc_needs_belf+set}" = set; then
1.3851 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3852 -else
1.3853 - ac_ext=c
1.3854 -ac_cpp='$CPP $CPPFLAGS'
1.3855 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3856 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3857 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3858 -
1.3859 - cat >conftest.$ac_ext <<_ACEOF
1.3860 -/* confdefs.h. */
1.3861 -_ACEOF
1.3862 -cat confdefs.h >>conftest.$ac_ext
1.3863 -cat >>conftest.$ac_ext <<_ACEOF
1.3864 -/* end confdefs.h. */
1.3865 -
1.3866 -int
1.3867 -main ()
1.3868 -{
1.3869 -
1.3870 - ;
1.3871 - return 0;
1.3872 -}
1.3873 -_ACEOF
1.3874 -rm -f conftest.$ac_objext conftest$ac_exeext
1.3875 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.3876 - (eval $ac_link) 2>conftest.er1
1.3877 - ac_status=$?
1.3878 - grep -v '^ *+' conftest.er1 >conftest.err
1.3879 - rm -f conftest.er1
1.3880 - cat conftest.err >&5
1.3881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3882 - (exit $ac_status); } &&
1.3883 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3885 - (eval $ac_try) 2>&5
1.3886 - ac_status=$?
1.3887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3888 - (exit $ac_status); }; } &&
1.3889 - { ac_try='test -s conftest$ac_exeext'
1.3890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3891 - (eval $ac_try) 2>&5
1.3892 - ac_status=$?
1.3893 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3894 - (exit $ac_status); }; }; then
1.3895 - lt_cv_cc_needs_belf=yes
1.3896 -else
1.3897 - echo "$as_me: failed program was:" >&5
1.3898 -sed 's/^/| /' conftest.$ac_ext >&5
1.3899 -
1.3900 -lt_cv_cc_needs_belf=no
1.3901 -fi
1.3902 -rm -f conftest.err conftest.$ac_objext \
1.3903 - conftest$ac_exeext conftest.$ac_ext
1.3904 - ac_ext=c
1.3905 -ac_cpp='$CPP $CPPFLAGS'
1.3906 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3907 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3908 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3909 -
1.3910 -fi
1.3911 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
1.3912 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
1.3913 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1.3914 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.3915 - CFLAGS="$SAVE_CFLAGS"
1.3916 - fi
1.3917 - ;;
1.3918 -
1.3919 -esac
1.3920 -
1.3921 -need_locks="$enable_libtool_lock"
1.3922 -
1.3923 -
1.3924 -ac_ext=c
1.3925 -ac_cpp='$CPP $CPPFLAGS'
1.3926 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3927 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3928 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3929 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.3930 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.3931 -# On Suns, sometimes $CPP names a directory.
1.3932 -if test -n "$CPP" && test -d "$CPP"; then
1.3933 - CPP=
1.3934 -fi
1.3935 -if test -z "$CPP"; then
1.3936 - if test "${ac_cv_prog_CPP+set}" = set; then
1.3937 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.3938 -else
1.3939 - # Double quotes because CPP needs to be expanded
1.3940 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.3941 - do
1.3942 - ac_preproc_ok=false
1.3943 -for ac_c_preproc_warn_flag in '' yes
1.3944 -do
1.3945 - # Use a header file that comes with gcc, so configuring glibc
1.3946 - # with a fresh cross-compiler works.
1.3947 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.3948 - # <limits.h> exists even on freestanding compilers.
1.3949 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.3950 - # not just through cpp. "Syntax error" is here to catch this case.
1.3951 - cat >conftest.$ac_ext <<_ACEOF
1.3952 -/* confdefs.h. */
1.3953 -_ACEOF
1.3954 -cat confdefs.h >>conftest.$ac_ext
1.3955 -cat >>conftest.$ac_ext <<_ACEOF
1.3956 -/* end confdefs.h. */
1.3957 -@%:@ifdef __STDC__
1.3958 -@%:@ include <limits.h>
1.3959 -@%:@else
1.3960 -@%:@ include <assert.h>
1.3961 -@%:@endif
1.3962 - Syntax error
1.3963 -_ACEOF
1.3964 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.3965 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.3966 - ac_status=$?
1.3967 - grep -v '^ *+' conftest.er1 >conftest.err
1.3968 - rm -f conftest.er1
1.3969 - cat conftest.err >&5
1.3970 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3971 - (exit $ac_status); } >/dev/null; then
1.3972 - if test -s conftest.err; then
1.3973 - ac_cpp_err=$ac_c_preproc_warn_flag
1.3974 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.3975 - else
1.3976 - ac_cpp_err=
1.3977 - fi
1.3978 -else
1.3979 - ac_cpp_err=yes
1.3980 -fi
1.3981 -if test -z "$ac_cpp_err"; then
1.3982 - :
1.3983 -else
1.3984 - echo "$as_me: failed program was:" >&5
1.3985 -sed 's/^/| /' conftest.$ac_ext >&5
1.3986 -
1.3987 - # Broken: fails on valid input.
1.3988 -continue
1.3989 -fi
1.3990 -rm -f conftest.err conftest.$ac_ext
1.3991 -
1.3992 - # OK, works on sane cases. Now check whether non-existent headers
1.3993 - # can be detected and how.
1.3994 - cat >conftest.$ac_ext <<_ACEOF
1.3995 -/* confdefs.h. */
1.3996 -_ACEOF
1.3997 -cat confdefs.h >>conftest.$ac_ext
1.3998 -cat >>conftest.$ac_ext <<_ACEOF
1.3999 -/* end confdefs.h. */
1.4000 -@%:@include <ac_nonexistent.h>
1.4001 -_ACEOF
1.4002 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.4003 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.4004 - ac_status=$?
1.4005 - grep -v '^ *+' conftest.er1 >conftest.err
1.4006 - rm -f conftest.er1
1.4007 - cat conftest.err >&5
1.4008 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4009 - (exit $ac_status); } >/dev/null; then
1.4010 - if test -s conftest.err; then
1.4011 - ac_cpp_err=$ac_c_preproc_warn_flag
1.4012 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.4013 - else
1.4014 - ac_cpp_err=
1.4015 - fi
1.4016 -else
1.4017 - ac_cpp_err=yes
1.4018 -fi
1.4019 -if test -z "$ac_cpp_err"; then
1.4020 - # Broken: success on invalid input.
1.4021 -continue
1.4022 -else
1.4023 - echo "$as_me: failed program was:" >&5
1.4024 -sed 's/^/| /' conftest.$ac_ext >&5
1.4025 -
1.4026 - # Passes both tests.
1.4027 -ac_preproc_ok=:
1.4028 -break
1.4029 -fi
1.4030 -rm -f conftest.err conftest.$ac_ext
1.4031 -
1.4032 -done
1.4033 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4034 -rm -f conftest.err conftest.$ac_ext
1.4035 -if $ac_preproc_ok; then
1.4036 - break
1.4037 -fi
1.4038 -
1.4039 - done
1.4040 - ac_cv_prog_CPP=$CPP
1.4041 -
1.4042 -fi
1.4043 - CPP=$ac_cv_prog_CPP
1.4044 -else
1.4045 - ac_cv_prog_CPP=$CPP
1.4046 -fi
1.4047 -echo "$as_me:$LINENO: result: $CPP" >&5
1.4048 -echo "${ECHO_T}$CPP" >&6
1.4049 -ac_preproc_ok=false
1.4050 -for ac_c_preproc_warn_flag in '' yes
1.4051 -do
1.4052 - # Use a header file that comes with gcc, so configuring glibc
1.4053 - # with a fresh cross-compiler works.
1.4054 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4055 - # <limits.h> exists even on freestanding compilers.
1.4056 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.4057 - # not just through cpp. "Syntax error" is here to catch this case.
1.4058 - cat >conftest.$ac_ext <<_ACEOF
1.4059 -/* confdefs.h. */
1.4060 -_ACEOF
1.4061 -cat confdefs.h >>conftest.$ac_ext
1.4062 -cat >>conftest.$ac_ext <<_ACEOF
1.4063 -/* end confdefs.h. */
1.4064 -@%:@ifdef __STDC__
1.4065 -@%:@ include <limits.h>
1.4066 -@%:@else
1.4067 -@%:@ include <assert.h>
1.4068 -@%:@endif
1.4069 - Syntax error
1.4070 -_ACEOF
1.4071 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.4072 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.4073 - ac_status=$?
1.4074 - grep -v '^ *+' conftest.er1 >conftest.err
1.4075 - rm -f conftest.er1
1.4076 - cat conftest.err >&5
1.4077 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4078 - (exit $ac_status); } >/dev/null; then
1.4079 - if test -s conftest.err; then
1.4080 - ac_cpp_err=$ac_c_preproc_warn_flag
1.4081 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.4082 - else
1.4083 - ac_cpp_err=
1.4084 - fi
1.4085 -else
1.4086 - ac_cpp_err=yes
1.4087 -fi
1.4088 -if test -z "$ac_cpp_err"; then
1.4089 - :
1.4090 -else
1.4091 - echo "$as_me: failed program was:" >&5
1.4092 -sed 's/^/| /' conftest.$ac_ext >&5
1.4093 -
1.4094 - # Broken: fails on valid input.
1.4095 -continue
1.4096 -fi
1.4097 -rm -f conftest.err conftest.$ac_ext
1.4098 -
1.4099 - # OK, works on sane cases. Now check whether non-existent headers
1.4100 - # can be detected and how.
1.4101 - cat >conftest.$ac_ext <<_ACEOF
1.4102 -/* confdefs.h. */
1.4103 -_ACEOF
1.4104 -cat confdefs.h >>conftest.$ac_ext
1.4105 -cat >>conftest.$ac_ext <<_ACEOF
1.4106 -/* end confdefs.h. */
1.4107 -@%:@include <ac_nonexistent.h>
1.4108 -_ACEOF
1.4109 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.4110 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.4111 - ac_status=$?
1.4112 - grep -v '^ *+' conftest.er1 >conftest.err
1.4113 - rm -f conftest.er1
1.4114 - cat conftest.err >&5
1.4115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4116 - (exit $ac_status); } >/dev/null; then
1.4117 - if test -s conftest.err; then
1.4118 - ac_cpp_err=$ac_c_preproc_warn_flag
1.4119 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.4120 - else
1.4121 - ac_cpp_err=
1.4122 - fi
1.4123 -else
1.4124 - ac_cpp_err=yes
1.4125 -fi
1.4126 -if test -z "$ac_cpp_err"; then
1.4127 - # Broken: success on invalid input.
1.4128 -continue
1.4129 -else
1.4130 - echo "$as_me: failed program was:" >&5
1.4131 -sed 's/^/| /' conftest.$ac_ext >&5
1.4132 -
1.4133 - # Passes both tests.
1.4134 -ac_preproc_ok=:
1.4135 -break
1.4136 -fi
1.4137 -rm -f conftest.err conftest.$ac_ext
1.4138 -
1.4139 -done
1.4140 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4141 -rm -f conftest.err conftest.$ac_ext
1.4142 -if $ac_preproc_ok; then
1.4143 - :
1.4144 -else
1.4145 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.4146 -See \`config.log' for more details." >&5
1.4147 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.4148 -See \`config.log' for more details." >&2;}
1.4149 - { (exit 1); exit 1; }; }
1.4150 -fi
1.4151 -
1.4152 -ac_ext=c
1.4153 -ac_cpp='$CPP $CPPFLAGS'
1.4154 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4155 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4156 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4157 -
1.4158 -
1.4159 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.4160 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1.4161 -if test "${ac_cv_header_stdc+set}" = set; then
1.4162 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4163 -else
1.4164 - cat >conftest.$ac_ext <<_ACEOF
1.4165 -/* confdefs.h. */
1.4166 -_ACEOF
1.4167 -cat confdefs.h >>conftest.$ac_ext
1.4168 -cat >>conftest.$ac_ext <<_ACEOF
1.4169 -/* end confdefs.h. */
1.4170 -#include <stdlib.h>
1.4171 -#include <stdarg.h>
1.4172 -#include <string.h>
1.4173 -#include <float.h>
1.4174 -
1.4175 -int
1.4176 -main ()
1.4177 -{
1.4178 -
1.4179 - ;
1.4180 - return 0;
1.4181 -}
1.4182 -_ACEOF
1.4183 -rm -f conftest.$ac_objext
1.4184 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4185 - (eval $ac_compile) 2>conftest.er1
1.4186 - ac_status=$?
1.4187 - grep -v '^ *+' conftest.er1 >conftest.err
1.4188 - rm -f conftest.er1
1.4189 - cat conftest.err >&5
1.4190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4191 - (exit $ac_status); } &&
1.4192 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4194 - (eval $ac_try) 2>&5
1.4195 - ac_status=$?
1.4196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4197 - (exit $ac_status); }; } &&
1.4198 - { ac_try='test -s conftest.$ac_objext'
1.4199 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4200 - (eval $ac_try) 2>&5
1.4201 - ac_status=$?
1.4202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4203 - (exit $ac_status); }; }; then
1.4204 - ac_cv_header_stdc=yes
1.4205 -else
1.4206 - echo "$as_me: failed program was:" >&5
1.4207 -sed 's/^/| /' conftest.$ac_ext >&5
1.4208 -
1.4209 -ac_cv_header_stdc=no
1.4210 -fi
1.4211 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4212 -
1.4213 -if test $ac_cv_header_stdc = yes; then
1.4214 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.4215 - cat >conftest.$ac_ext <<_ACEOF
1.4216 -/* confdefs.h. */
1.4217 -_ACEOF
1.4218 -cat confdefs.h >>conftest.$ac_ext
1.4219 -cat >>conftest.$ac_ext <<_ACEOF
1.4220 -/* end confdefs.h. */
1.4221 -#include <string.h>
1.4222 -
1.4223 -_ACEOF
1.4224 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4225 - $EGREP "memchr" >/dev/null 2>&1; then
1.4226 - :
1.4227 -else
1.4228 - ac_cv_header_stdc=no
1.4229 -fi
1.4230 -rm -f conftest*
1.4231 -
1.4232 -fi
1.4233 -
1.4234 -if test $ac_cv_header_stdc = yes; then
1.4235 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.4236 - cat >conftest.$ac_ext <<_ACEOF
1.4237 -/* confdefs.h. */
1.4238 -_ACEOF
1.4239 -cat confdefs.h >>conftest.$ac_ext
1.4240 -cat >>conftest.$ac_ext <<_ACEOF
1.4241 -/* end confdefs.h. */
1.4242 -#include <stdlib.h>
1.4243 -
1.4244 -_ACEOF
1.4245 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4246 - $EGREP "free" >/dev/null 2>&1; then
1.4247 - :
1.4248 -else
1.4249 - ac_cv_header_stdc=no
1.4250 -fi
1.4251 -rm -f conftest*
1.4252 -
1.4253 -fi
1.4254 -
1.4255 -if test $ac_cv_header_stdc = yes; then
1.4256 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.4257 - if test "$cross_compiling" = yes; then
1.4258 - :
1.4259 -else
1.4260 - cat >conftest.$ac_ext <<_ACEOF
1.4261 -/* confdefs.h. */
1.4262 -_ACEOF
1.4263 -cat confdefs.h >>conftest.$ac_ext
1.4264 -cat >>conftest.$ac_ext <<_ACEOF
1.4265 -/* end confdefs.h. */
1.4266 -#include <ctype.h>
1.4267 -#if ((' ' & 0x0FF) == 0x020)
1.4268 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.4269 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.4270 -#else
1.4271 -# define ISLOWER(c) \
1.4272 - (('a' <= (c) && (c) <= 'i') \
1.4273 - || ('j' <= (c) && (c) <= 'r') \
1.4274 - || ('s' <= (c) && (c) <= 'z'))
1.4275 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.4276 -#endif
1.4277 -
1.4278 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.4279 -int
1.4280 -main ()
1.4281 -{
1.4282 - int i;
1.4283 - for (i = 0; i < 256; i++)
1.4284 - if (XOR (islower (i), ISLOWER (i))
1.4285 - || toupper (i) != TOUPPER (i))
1.4286 - exit(2);
1.4287 - exit (0);
1.4288 -}
1.4289 -_ACEOF
1.4290 -rm -f conftest$ac_exeext
1.4291 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.4292 - (eval $ac_link) 2>&5
1.4293 - ac_status=$?
1.4294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4295 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.4296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4297 - (eval $ac_try) 2>&5
1.4298 - ac_status=$?
1.4299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4300 - (exit $ac_status); }; }; then
1.4301 - :
1.4302 -else
1.4303 - echo "$as_me: program exited with status $ac_status" >&5
1.4304 -echo "$as_me: failed program was:" >&5
1.4305 -sed 's/^/| /' conftest.$ac_ext >&5
1.4306 -
1.4307 -( exit $ac_status )
1.4308 -ac_cv_header_stdc=no
1.4309 -fi
1.4310 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.4311 -fi
1.4312 -fi
1.4313 -fi
1.4314 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.4315 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.4316 -if test $ac_cv_header_stdc = yes; then
1.4317 -
1.4318 -cat >>confdefs.h <<\_ACEOF
1.4319 -@%:@define STDC_HEADERS 1
1.4320 -_ACEOF
1.4321 -
1.4322 -fi
1.4323 -
1.4324 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.4325 -
1.4326 -
1.4327 -
1.4328 -
1.4329 -
1.4330 -
1.4331 -
1.4332 -
1.4333 -
1.4334 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.4335 - inttypes.h stdint.h unistd.h
1.4336 -do
1.4337 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.4338 -echo "$as_me:$LINENO: checking for $ac_header" >&5
1.4339 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1.4340 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4341 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4342 -else
1.4343 - cat >conftest.$ac_ext <<_ACEOF
1.4344 -/* confdefs.h. */
1.4345 -_ACEOF
1.4346 -cat confdefs.h >>conftest.$ac_ext
1.4347 -cat >>conftest.$ac_ext <<_ACEOF
1.4348 -/* end confdefs.h. */
1.4349 -$ac_includes_default
1.4350 -
1.4351 -@%:@include <$ac_header>
1.4352 -_ACEOF
1.4353 -rm -f conftest.$ac_objext
1.4354 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4355 - (eval $ac_compile) 2>conftest.er1
1.4356 - ac_status=$?
1.4357 - grep -v '^ *+' conftest.er1 >conftest.err
1.4358 - rm -f conftest.er1
1.4359 - cat conftest.err >&5
1.4360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4361 - (exit $ac_status); } &&
1.4362 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4363 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4364 - (eval $ac_try) 2>&5
1.4365 - ac_status=$?
1.4366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4367 - (exit $ac_status); }; } &&
1.4368 - { ac_try='test -s conftest.$ac_objext'
1.4369 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4370 - (eval $ac_try) 2>&5
1.4371 - ac_status=$?
1.4372 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4373 - (exit $ac_status); }; }; then
1.4374 - eval "$as_ac_Header=yes"
1.4375 -else
1.4376 - echo "$as_me: failed program was:" >&5
1.4377 -sed 's/^/| /' conftest.$ac_ext >&5
1.4378 -
1.4379 -eval "$as_ac_Header=no"
1.4380 -fi
1.4381 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4382 -fi
1.4383 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.4384 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.4385 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.4386 - cat >>confdefs.h <<_ACEOF
1.4387 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.4388 -_ACEOF
1.4389 -
1.4390 -fi
1.4391 -
1.4392 -done
1.4393 -
1.4394 -
1.4395 -
1.4396 -for ac_header in dlfcn.h
1.4397 -do
1.4398 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.4399 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4400 - echo "$as_me:$LINENO: checking for $ac_header" >&5
1.4401 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1.4402 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4403 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4404 -fi
1.4405 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.4406 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.4407 -else
1.4408 - # Is the header compilable?
1.4409 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
1.4410 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
1.4411 -cat >conftest.$ac_ext <<_ACEOF
1.4412 -/* confdefs.h. */
1.4413 -_ACEOF
1.4414 -cat confdefs.h >>conftest.$ac_ext
1.4415 -cat >>conftest.$ac_ext <<_ACEOF
1.4416 -/* end confdefs.h. */
1.4417 -$ac_includes_default
1.4418 -@%:@include <$ac_header>
1.4419 -_ACEOF
1.4420 -rm -f conftest.$ac_objext
1.4421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4422 - (eval $ac_compile) 2>conftest.er1
1.4423 - ac_status=$?
1.4424 - grep -v '^ *+' conftest.er1 >conftest.err
1.4425 - rm -f conftest.er1
1.4426 - cat conftest.err >&5
1.4427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4428 - (exit $ac_status); } &&
1.4429 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4431 - (eval $ac_try) 2>&5
1.4432 - ac_status=$?
1.4433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4434 - (exit $ac_status); }; } &&
1.4435 - { ac_try='test -s conftest.$ac_objext'
1.4436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4437 - (eval $ac_try) 2>&5
1.4438 - ac_status=$?
1.4439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4440 - (exit $ac_status); }; }; then
1.4441 - ac_header_compiler=yes
1.4442 -else
1.4443 - echo "$as_me: failed program was:" >&5
1.4444 -sed 's/^/| /' conftest.$ac_ext >&5
1.4445 -
1.4446 -ac_header_compiler=no
1.4447 -fi
1.4448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4449 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
1.4450 -echo "${ECHO_T}$ac_header_compiler" >&6
1.4451 -
1.4452 -# Is the header present?
1.4453 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
1.4454 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
1.4455 -cat >conftest.$ac_ext <<_ACEOF
1.4456 -/* confdefs.h. */
1.4457 -_ACEOF
1.4458 -cat confdefs.h >>conftest.$ac_ext
1.4459 -cat >>conftest.$ac_ext <<_ACEOF
1.4460 -/* end confdefs.h. */
1.4461 -@%:@include <$ac_header>
1.4462 -_ACEOF
1.4463 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.4464 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.4465 - ac_status=$?
1.4466 - grep -v '^ *+' conftest.er1 >conftest.err
1.4467 - rm -f conftest.er1
1.4468 - cat conftest.err >&5
1.4469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4470 - (exit $ac_status); } >/dev/null; then
1.4471 - if test -s conftest.err; then
1.4472 - ac_cpp_err=$ac_c_preproc_warn_flag
1.4473 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.4474 - else
1.4475 - ac_cpp_err=
1.4476 - fi
1.4477 -else
1.4478 - ac_cpp_err=yes
1.4479 -fi
1.4480 -if test -z "$ac_cpp_err"; then
1.4481 - ac_header_preproc=yes
1.4482 -else
1.4483 - echo "$as_me: failed program was:" >&5
1.4484 -sed 's/^/| /' conftest.$ac_ext >&5
1.4485 -
1.4486 - ac_header_preproc=no
1.4487 -fi
1.4488 -rm -f conftest.err conftest.$ac_ext
1.4489 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
1.4490 -echo "${ECHO_T}$ac_header_preproc" >&6
1.4491 -
1.4492 -# So? What about this header?
1.4493 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.4494 - yes:no: )
1.4495 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
1.4496 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.4497 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
1.4498 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
1.4499 - ac_header_preproc=yes
1.4500 - ;;
1.4501 - no:yes:* )
1.4502 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
1.4503 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.4504 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
1.4505 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
1.4506 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
1.4507 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
1.4508 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
1.4509 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
1.4510 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
1.4511 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.4512 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
1.4513 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.4514 - (
1.4515 - cat <<\_ASBOX
1.4516 -@%:@@%:@ ------------------------------------------ @%:@@%:@
1.4517 -@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
1.4518 -@%:@@%:@ ------------------------------------------ @%:@@%:@
1.4519 -_ASBOX
1.4520 - ) |
1.4521 - sed "s/^/$as_me: WARNING: /" >&2
1.4522 - ;;
1.4523 -esac
1.4524 -echo "$as_me:$LINENO: checking for $ac_header" >&5
1.4525 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1.4526 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4527 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4528 -else
1.4529 - eval "$as_ac_Header=\$ac_header_preproc"
1.4530 -fi
1.4531 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.4532 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.4533 -
1.4534 -fi
1.4535 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.4536 - cat >>confdefs.h <<_ACEOF
1.4537 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.4538 -_ACEOF
1.4539 -
1.4540 -fi
1.4541 -
1.4542 -done
1.4543 -
1.4544 -ac_ext=cc
1.4545 -ac_cpp='$CXXCPP $CPPFLAGS'
1.4546 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4547 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4548 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.4549 -if test -n "$ac_tool_prefix"; then
1.4550 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1.4551 - do
1.4552 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.4553 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.4554 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.4555 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.4556 -if test "${ac_cv_prog_CXX+set}" = set; then
1.4557 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4558 -else
1.4559 - if test -n "$CXX"; then
1.4560 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.4561 -else
1.4562 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4563 -for as_dir in $PATH
1.4564 -do
1.4565 - IFS=$as_save_IFS
1.4566 - test -z "$as_dir" && as_dir=.
1.4567 - for ac_exec_ext in '' $ac_executable_extensions; do
1.4568 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.4569 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.4570 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.4571 - break 2
1.4572 - fi
1.4573 -done
1.4574 -done
1.4575 -
1.4576 -fi
1.4577 -fi
1.4578 -CXX=$ac_cv_prog_CXX
1.4579 -if test -n "$CXX"; then
1.4580 - echo "$as_me:$LINENO: result: $CXX" >&5
1.4581 -echo "${ECHO_T}$CXX" >&6
1.4582 -else
1.4583 - echo "$as_me:$LINENO: result: no" >&5
1.4584 -echo "${ECHO_T}no" >&6
1.4585 -fi
1.4586 -
1.4587 - test -n "$CXX" && break
1.4588 - done
1.4589 -fi
1.4590 -if test -z "$CXX"; then
1.4591 - ac_ct_CXX=$CXX
1.4592 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1.4593 -do
1.4594 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.4595 -set dummy $ac_prog; ac_word=$2
1.4596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.4597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.4598 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.4599 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4600 -else
1.4601 - if test -n "$ac_ct_CXX"; then
1.4602 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.4603 -else
1.4604 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4605 -for as_dir in $PATH
1.4606 -do
1.4607 - IFS=$as_save_IFS
1.4608 - test -z "$as_dir" && as_dir=.
1.4609 - for ac_exec_ext in '' $ac_executable_extensions; do
1.4610 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.4611 - ac_cv_prog_ac_ct_CXX="$ac_prog"
1.4612 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.4613 - break 2
1.4614 - fi
1.4615 -done
1.4616 -done
1.4617 -
1.4618 -fi
1.4619 -fi
1.4620 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1.4621 -if test -n "$ac_ct_CXX"; then
1.4622 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1.4623 -echo "${ECHO_T}$ac_ct_CXX" >&6
1.4624 -else
1.4625 - echo "$as_me:$LINENO: result: no" >&5
1.4626 -echo "${ECHO_T}no" >&6
1.4627 -fi
1.4628 -
1.4629 - test -n "$ac_ct_CXX" && break
1.4630 -done
1.4631 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.4632 -
1.4633 - CXX=$ac_ct_CXX
1.4634 -fi
1.4635 -
1.4636 -
1.4637 -# Provide some information about the compiler.
1.4638 -echo "$as_me:$LINENO:" \
1.4639 - "checking for C++ compiler version" >&5
1.4640 -ac_compiler=`set X $ac_compile; echo $2`
1.4641 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.4642 - (eval $ac_compiler --version </dev/null >&5) 2>&5
1.4643 - ac_status=$?
1.4644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4645 - (exit $ac_status); }
1.4646 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.4647 - (eval $ac_compiler -v </dev/null >&5) 2>&5
1.4648 - ac_status=$?
1.4649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4650 - (exit $ac_status); }
1.4651 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.4652 - (eval $ac_compiler -V </dev/null >&5) 2>&5
1.4653 - ac_status=$?
1.4654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4655 - (exit $ac_status); }
1.4656 -
1.4657 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1.4658 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1.4659 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.4660 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4661 -else
1.4662 - cat >conftest.$ac_ext <<_ACEOF
1.4663 -/* confdefs.h. */
1.4664 -_ACEOF
1.4665 -cat confdefs.h >>conftest.$ac_ext
1.4666 -cat >>conftest.$ac_ext <<_ACEOF
1.4667 -/* end confdefs.h. */
1.4668 -
1.4669 -int
1.4670 -main ()
1.4671 -{
1.4672 -#ifndef __GNUC__
1.4673 - choke me
1.4674 -#endif
1.4675 -
1.4676 - ;
1.4677 - return 0;
1.4678 -}
1.4679 -_ACEOF
1.4680 -rm -f conftest.$ac_objext
1.4681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4682 - (eval $ac_compile) 2>conftest.er1
1.4683 - ac_status=$?
1.4684 - grep -v '^ *+' conftest.er1 >conftest.err
1.4685 - rm -f conftest.er1
1.4686 - cat conftest.err >&5
1.4687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4688 - (exit $ac_status); } &&
1.4689 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.4690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4691 - (eval $ac_try) 2>&5
1.4692 - ac_status=$?
1.4693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4694 - (exit $ac_status); }; } &&
1.4695 - { ac_try='test -s conftest.$ac_objext'
1.4696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4697 - (eval $ac_try) 2>&5
1.4698 - ac_status=$?
1.4699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4700 - (exit $ac_status); }; }; then
1.4701 - ac_compiler_gnu=yes
1.4702 -else
1.4703 - echo "$as_me: failed program was:" >&5
1.4704 -sed 's/^/| /' conftest.$ac_ext >&5
1.4705 -
1.4706 -ac_compiler_gnu=no
1.4707 -fi
1.4708 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4709 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.4710 -
1.4711 -fi
1.4712 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1.4713 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1.4714 -GXX=`test $ac_compiler_gnu = yes && echo yes`
1.4715 -ac_test_CXXFLAGS=${CXXFLAGS+set}
1.4716 -ac_save_CXXFLAGS=$CXXFLAGS
1.4717 -CXXFLAGS="-g"
1.4718 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1.4719 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1.4720 -if test "${ac_cv_prog_cxx_g+set}" = set; then
1.4721 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4722 -else
1.4723 - cat >conftest.$ac_ext <<_ACEOF
1.4724 -/* confdefs.h. */
1.4725 -_ACEOF
1.4726 -cat confdefs.h >>conftest.$ac_ext
1.4727 -cat >>conftest.$ac_ext <<_ACEOF
1.4728 -/* end confdefs.h. */
1.4729 -
1.4730 -int
1.4731 -main ()
1.4732 -{
1.4733 -
1.4734 - ;
1.4735 - return 0;
1.4736 -}
1.4737 -_ACEOF
1.4738 -rm -f conftest.$ac_objext
1.4739 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4740 - (eval $ac_compile) 2>conftest.er1
1.4741 - ac_status=$?
1.4742 - grep -v '^ *+' conftest.er1 >conftest.err
1.4743 - rm -f conftest.er1
1.4744 - cat conftest.err >&5
1.4745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4746 - (exit $ac_status); } &&
1.4747 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.4748 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4749 - (eval $ac_try) 2>&5
1.4750 - ac_status=$?
1.4751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4752 - (exit $ac_status); }; } &&
1.4753 - { ac_try='test -s conftest.$ac_objext'
1.4754 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4755 - (eval $ac_try) 2>&5
1.4756 - ac_status=$?
1.4757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4758 - (exit $ac_status); }; }; then
1.4759 - ac_cv_prog_cxx_g=yes
1.4760 -else
1.4761 - echo "$as_me: failed program was:" >&5
1.4762 -sed 's/^/| /' conftest.$ac_ext >&5
1.4763 -
1.4764 -ac_cv_prog_cxx_g=no
1.4765 -fi
1.4766 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4767 -fi
1.4768 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1.4769 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.4770 -if test "$ac_test_CXXFLAGS" = set; then
1.4771 - CXXFLAGS=$ac_save_CXXFLAGS
1.4772 -elif test $ac_cv_prog_cxx_g = yes; then
1.4773 - if test "$GXX" = yes; then
1.4774 - CXXFLAGS="-g -O2"
1.4775 - else
1.4776 - CXXFLAGS="-g"
1.4777 - fi
1.4778 -else
1.4779 - if test "$GXX" = yes; then
1.4780 - CXXFLAGS="-O2"
1.4781 - else
1.4782 - CXXFLAGS=
1.4783 - fi
1.4784 -fi
1.4785 -for ac_declaration in \
1.4786 - '' \
1.4787 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
1.4788 - 'extern "C" void std::exit (int); using std::exit;' \
1.4789 - 'extern "C" void exit (int) throw ();' \
1.4790 - 'extern "C" void exit (int);' \
1.4791 - 'void exit (int);'
1.4792 -do
1.4793 - cat >conftest.$ac_ext <<_ACEOF
1.4794 -/* confdefs.h. */
1.4795 -_ACEOF
1.4796 -cat confdefs.h >>conftest.$ac_ext
1.4797 -cat >>conftest.$ac_ext <<_ACEOF
1.4798 -/* end confdefs.h. */
1.4799 -$ac_declaration
1.4800 -@%:@include <stdlib.h>
1.4801 -int
1.4802 -main ()
1.4803 -{
1.4804 -exit (42);
1.4805 - ;
1.4806 - return 0;
1.4807 -}
1.4808 -_ACEOF
1.4809 -rm -f conftest.$ac_objext
1.4810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4811 - (eval $ac_compile) 2>conftest.er1
1.4812 - ac_status=$?
1.4813 - grep -v '^ *+' conftest.er1 >conftest.err
1.4814 - rm -f conftest.er1
1.4815 - cat conftest.err >&5
1.4816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4817 - (exit $ac_status); } &&
1.4818 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.4819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4820 - (eval $ac_try) 2>&5
1.4821 - ac_status=$?
1.4822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4823 - (exit $ac_status); }; } &&
1.4824 - { ac_try='test -s conftest.$ac_objext'
1.4825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4826 - (eval $ac_try) 2>&5
1.4827 - ac_status=$?
1.4828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4829 - (exit $ac_status); }; }; then
1.4830 - :
1.4831 -else
1.4832 - echo "$as_me: failed program was:" >&5
1.4833 -sed 's/^/| /' conftest.$ac_ext >&5
1.4834 -
1.4835 -continue
1.4836 -fi
1.4837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4838 - cat >conftest.$ac_ext <<_ACEOF
1.4839 -/* confdefs.h. */
1.4840 -_ACEOF
1.4841 -cat confdefs.h >>conftest.$ac_ext
1.4842 -cat >>conftest.$ac_ext <<_ACEOF
1.4843 -/* end confdefs.h. */
1.4844 -$ac_declaration
1.4845 -int
1.4846 -main ()
1.4847 -{
1.4848 -exit (42);
1.4849 - ;
1.4850 - return 0;
1.4851 -}
1.4852 -_ACEOF
1.4853 -rm -f conftest.$ac_objext
1.4854 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4855 - (eval $ac_compile) 2>conftest.er1
1.4856 - ac_status=$?
1.4857 - grep -v '^ *+' conftest.er1 >conftest.err
1.4858 - rm -f conftest.er1
1.4859 - cat conftest.err >&5
1.4860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4861 - (exit $ac_status); } &&
1.4862 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.4863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4864 - (eval $ac_try) 2>&5
1.4865 - ac_status=$?
1.4866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4867 - (exit $ac_status); }; } &&
1.4868 - { ac_try='test -s conftest.$ac_objext'
1.4869 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4870 - (eval $ac_try) 2>&5
1.4871 - ac_status=$?
1.4872 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4873 - (exit $ac_status); }; }; then
1.4874 - break
1.4875 -else
1.4876 - echo "$as_me: failed program was:" >&5
1.4877 -sed 's/^/| /' conftest.$ac_ext >&5
1.4878 -
1.4879 -fi
1.4880 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4881 -done
1.4882 -rm -f conftest*
1.4883 -if test -n "$ac_declaration"; then
1.4884 - echo '#ifdef __cplusplus' >>confdefs.h
1.4885 - echo $ac_declaration >>confdefs.h
1.4886 - echo '#endif' >>confdefs.h
1.4887 -fi
1.4888 -
1.4889 -ac_ext=cc
1.4890 -ac_cpp='$CXXCPP $CPPFLAGS'
1.4891 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4892 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4893 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.4894 -
1.4895 -depcc="$CXX" am_compiler_list=
1.4896 -
1.4897 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.4898 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.4899 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.4900 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.4901 -else
1.4902 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.4903 - # We make a subdir and do the tests there. Otherwise we can end up
1.4904 - # making bogus files that we don't know about and never remove. For
1.4905 - # instance it was reported that on HP-UX the gcc test will end up
1.4906 - # making a dummy file named `D' -- because `-MD' means `put the output
1.4907 - # in D'.
1.4908 - mkdir conftest.dir
1.4909 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.4910 - # using a relative directory.
1.4911 - cp "$am_depcomp" conftest.dir
1.4912 - cd conftest.dir
1.4913 - # We will build objects and dependencies in a subdirectory because
1.4914 - # it helps to detect inapplicable dependency modes. For instance
1.4915 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.4916 - # side effect of compilation, but ICC will put the dependencies in
1.4917 - # the current directory while Tru64 will put them in the object
1.4918 - # directory.
1.4919 - mkdir sub
1.4920 -
1.4921 - am_cv_CXX_dependencies_compiler_type=none
1.4922 - if test "$am_compiler_list" = ""; then
1.4923 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.4924 - fi
1.4925 - for depmode in $am_compiler_list; do
1.4926 - # Setup a source with many dependencies, because some compilers
1.4927 - # like to wrap large dependency lists on column 80 (with \), and
1.4928 - # we should not choose a depcomp mode which is confused by this.
1.4929 - #
1.4930 - # We need to recreate these files for each test, as the compiler may
1.4931 - # overwrite some of them when testing with obscure command lines.
1.4932 - # This happens at least with the AIX C compiler.
1.4933 - : > sub/conftest.c
1.4934 - for i in 1 2 3 4 5 6; do
1.4935 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.4936 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.4937 - # Solaris 8's {/usr,}/bin/sh.
1.4938 - touch sub/conftst$i.h
1.4939 - done
1.4940 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.4941 -
1.4942 - case $depmode in
1.4943 - nosideeffect)
1.4944 - # after this tag, mechanisms are not by side-effect, so they'll
1.4945 - # only be used when explicitly requested
1.4946 - if test "x$enable_dependency_tracking" = xyes; then
1.4947 - continue
1.4948 - else
1.4949 - break
1.4950 - fi
1.4951 - ;;
1.4952 - none) break ;;
1.4953 - esac
1.4954 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.4955 - # mode. It turns out that the SunPro C++ compiler does not properly
1.4956 - # handle `-M -o', and we need to detect this.
1.4957 - if depmode=$depmode \
1.4958 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.4959 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.4960 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.4961 - >/dev/null 2>conftest.err &&
1.4962 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.4963 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.4964 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.4965 - # icc doesn't choke on unknown options, it will just issue warnings
1.4966 - # or remarks (even with -Werror). So we grep stderr for any message
1.4967 - # that says an option was ignored or not supported.
1.4968 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.4969 - # icc: Command line warning: ignoring option '-M'; no argument required
1.4970 - # The diagnosis changed in icc 8.0:
1.4971 - # icc: Command line remark: option '-MP' not supported
1.4972 - if (grep 'ignoring option' conftest.err ||
1.4973 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.4974 - am_cv_CXX_dependencies_compiler_type=$depmode
1.4975 - break
1.4976 - fi
1.4977 - fi
1.4978 - done
1.4979 -
1.4980 - cd ..
1.4981 - rm -rf conftest.dir
1.4982 -else
1.4983 - am_cv_CXX_dependencies_compiler_type=none
1.4984 -fi
1.4985 -
1.4986 -fi
1.4987 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
1.4988 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
1.4989 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1.4990 -
1.4991 -
1.4992 -
1.4993 -if
1.4994 - test "x$enable_dependency_tracking" != xno \
1.4995 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
1.4996 - am__fastdepCXX_TRUE=
1.4997 - am__fastdepCXX_FALSE='#'
1.4998 -else
1.4999 - am__fastdepCXX_TRUE='#'
1.5000 - am__fastdepCXX_FALSE=
1.5001 -fi
1.5002 -
1.5003 -
1.5004 -
1.5005 -
1.5006 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1.5007 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1.5008 - (test "X$CXX" != "Xg++"))) ; then
1.5009 - ac_ext=cc
1.5010 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5011 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5012 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5013 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5014 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
1.5015 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
1.5016 -if test -z "$CXXCPP"; then
1.5017 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
1.5018 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5019 -else
1.5020 - # Double quotes because CXXCPP needs to be expanded
1.5021 - for CXXCPP in "$CXX -E" "/lib/cpp"
1.5022 - do
1.5023 - ac_preproc_ok=false
1.5024 -for ac_cxx_preproc_warn_flag in '' yes
1.5025 -do
1.5026 - # Use a header file that comes with gcc, so configuring glibc
1.5027 - # with a fresh cross-compiler works.
1.5028 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5029 - # <limits.h> exists even on freestanding compilers.
1.5030 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.5031 - # not just through cpp. "Syntax error" is here to catch this case.
1.5032 - cat >conftest.$ac_ext <<_ACEOF
1.5033 -/* confdefs.h. */
1.5034 -_ACEOF
1.5035 -cat confdefs.h >>conftest.$ac_ext
1.5036 -cat >>conftest.$ac_ext <<_ACEOF
1.5037 -/* end confdefs.h. */
1.5038 -@%:@ifdef __STDC__
1.5039 -@%:@ include <limits.h>
1.5040 -@%:@else
1.5041 -@%:@ include <assert.h>
1.5042 -@%:@endif
1.5043 - Syntax error
1.5044 -_ACEOF
1.5045 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.5046 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.5047 - ac_status=$?
1.5048 - grep -v '^ *+' conftest.er1 >conftest.err
1.5049 - rm -f conftest.er1
1.5050 - cat conftest.err >&5
1.5051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5052 - (exit $ac_status); } >/dev/null; then
1.5053 - if test -s conftest.err; then
1.5054 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.5055 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.5056 - else
1.5057 - ac_cpp_err=
1.5058 - fi
1.5059 -else
1.5060 - ac_cpp_err=yes
1.5061 -fi
1.5062 -if test -z "$ac_cpp_err"; then
1.5063 - :
1.5064 -else
1.5065 - echo "$as_me: failed program was:" >&5
1.5066 -sed 's/^/| /' conftest.$ac_ext >&5
1.5067 -
1.5068 - # Broken: fails on valid input.
1.5069 -continue
1.5070 -fi
1.5071 -rm -f conftest.err conftest.$ac_ext
1.5072 -
1.5073 - # OK, works on sane cases. Now check whether non-existent headers
1.5074 - # can be detected and how.
1.5075 - cat >conftest.$ac_ext <<_ACEOF
1.5076 -/* confdefs.h. */
1.5077 -_ACEOF
1.5078 -cat confdefs.h >>conftest.$ac_ext
1.5079 -cat >>conftest.$ac_ext <<_ACEOF
1.5080 -/* end confdefs.h. */
1.5081 -@%:@include <ac_nonexistent.h>
1.5082 -_ACEOF
1.5083 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.5084 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.5085 - ac_status=$?
1.5086 - grep -v '^ *+' conftest.er1 >conftest.err
1.5087 - rm -f conftest.er1
1.5088 - cat conftest.err >&5
1.5089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5090 - (exit $ac_status); } >/dev/null; then
1.5091 - if test -s conftest.err; then
1.5092 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.5093 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.5094 - else
1.5095 - ac_cpp_err=
1.5096 - fi
1.5097 -else
1.5098 - ac_cpp_err=yes
1.5099 -fi
1.5100 -if test -z "$ac_cpp_err"; then
1.5101 - # Broken: success on invalid input.
1.5102 -continue
1.5103 -else
1.5104 - echo "$as_me: failed program was:" >&5
1.5105 -sed 's/^/| /' conftest.$ac_ext >&5
1.5106 -
1.5107 - # Passes both tests.
1.5108 -ac_preproc_ok=:
1.5109 -break
1.5110 -fi
1.5111 -rm -f conftest.err conftest.$ac_ext
1.5112 -
1.5113 -done
1.5114 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.5115 -rm -f conftest.err conftest.$ac_ext
1.5116 -if $ac_preproc_ok; then
1.5117 - break
1.5118 -fi
1.5119 -
1.5120 - done
1.5121 - ac_cv_prog_CXXCPP=$CXXCPP
1.5122 -
1.5123 -fi
1.5124 - CXXCPP=$ac_cv_prog_CXXCPP
1.5125 -else
1.5126 - ac_cv_prog_CXXCPP=$CXXCPP
1.5127 -fi
1.5128 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
1.5129 -echo "${ECHO_T}$CXXCPP" >&6
1.5130 -ac_preproc_ok=false
1.5131 -for ac_cxx_preproc_warn_flag in '' yes
1.5132 -do
1.5133 - # Use a header file that comes with gcc, so configuring glibc
1.5134 - # with a fresh cross-compiler works.
1.5135 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5136 - # <limits.h> exists even on freestanding compilers.
1.5137 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.5138 - # not just through cpp. "Syntax error" is here to catch this case.
1.5139 - cat >conftest.$ac_ext <<_ACEOF
1.5140 -/* confdefs.h. */
1.5141 -_ACEOF
1.5142 -cat confdefs.h >>conftest.$ac_ext
1.5143 -cat >>conftest.$ac_ext <<_ACEOF
1.5144 -/* end confdefs.h. */
1.5145 -@%:@ifdef __STDC__
1.5146 -@%:@ include <limits.h>
1.5147 -@%:@else
1.5148 -@%:@ include <assert.h>
1.5149 -@%:@endif
1.5150 - Syntax error
1.5151 -_ACEOF
1.5152 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.5153 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.5154 - ac_status=$?
1.5155 - grep -v '^ *+' conftest.er1 >conftest.err
1.5156 - rm -f conftest.er1
1.5157 - cat conftest.err >&5
1.5158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5159 - (exit $ac_status); } >/dev/null; then
1.5160 - if test -s conftest.err; then
1.5161 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.5162 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.5163 - else
1.5164 - ac_cpp_err=
1.5165 - fi
1.5166 -else
1.5167 - ac_cpp_err=yes
1.5168 -fi
1.5169 -if test -z "$ac_cpp_err"; then
1.5170 - :
1.5171 -else
1.5172 - echo "$as_me: failed program was:" >&5
1.5173 -sed 's/^/| /' conftest.$ac_ext >&5
1.5174 -
1.5175 - # Broken: fails on valid input.
1.5176 -continue
1.5177 -fi
1.5178 -rm -f conftest.err conftest.$ac_ext
1.5179 -
1.5180 - # OK, works on sane cases. Now check whether non-existent headers
1.5181 - # can be detected and how.
1.5182 - cat >conftest.$ac_ext <<_ACEOF
1.5183 -/* confdefs.h. */
1.5184 -_ACEOF
1.5185 -cat confdefs.h >>conftest.$ac_ext
1.5186 -cat >>conftest.$ac_ext <<_ACEOF
1.5187 -/* end confdefs.h. */
1.5188 -@%:@include <ac_nonexistent.h>
1.5189 -_ACEOF
1.5190 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.5191 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.5192 - ac_status=$?
1.5193 - grep -v '^ *+' conftest.er1 >conftest.err
1.5194 - rm -f conftest.er1
1.5195 - cat conftest.err >&5
1.5196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5197 - (exit $ac_status); } >/dev/null; then
1.5198 - if test -s conftest.err; then
1.5199 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.5200 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.5201 - else
1.5202 - ac_cpp_err=
1.5203 - fi
1.5204 -else
1.5205 - ac_cpp_err=yes
1.5206 -fi
1.5207 -if test -z "$ac_cpp_err"; then
1.5208 - # Broken: success on invalid input.
1.5209 -continue
1.5210 -else
1.5211 - echo "$as_me: failed program was:" >&5
1.5212 -sed 's/^/| /' conftest.$ac_ext >&5
1.5213 -
1.5214 - # Passes both tests.
1.5215 -ac_preproc_ok=:
1.5216 -break
1.5217 -fi
1.5218 -rm -f conftest.err conftest.$ac_ext
1.5219 -
1.5220 -done
1.5221 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.5222 -rm -f conftest.err conftest.$ac_ext
1.5223 -if $ac_preproc_ok; then
1.5224 - :
1.5225 -else
1.5226 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.5227 -See \`config.log' for more details." >&5
1.5228 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.5229 -See \`config.log' for more details." >&2;}
1.5230 - { (exit 1); exit 1; }; }
1.5231 -fi
1.5232 -
1.5233 -ac_ext=cc
1.5234 -ac_cpp='$CXXCPP $CPPFLAGS'
1.5235 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5236 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5237 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.5238 -
1.5239 -fi
1.5240 -
1.5241 -
1.5242 -ac_ext=f
1.5243 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
1.5244 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5245 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1.5246 -if test -n "$ac_tool_prefix"; then
1.5247 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
1.5248 - do
1.5249 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.5250 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.5251 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5252 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5253 -if test "${ac_cv_prog_F77+set}" = set; then
1.5254 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5255 -else
1.5256 - if test -n "$F77"; then
1.5257 - ac_cv_prog_F77="$F77" # Let the user override the test.
1.5258 -else
1.5259 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5260 -for as_dir in $PATH
1.5261 -do
1.5262 - IFS=$as_save_IFS
1.5263 - test -z "$as_dir" && as_dir=.
1.5264 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5265 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5266 - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
1.5267 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5268 - break 2
1.5269 - fi
1.5270 -done
1.5271 -done
1.5272 -
1.5273 -fi
1.5274 -fi
1.5275 -F77=$ac_cv_prog_F77
1.5276 -if test -n "$F77"; then
1.5277 - echo "$as_me:$LINENO: result: $F77" >&5
1.5278 -echo "${ECHO_T}$F77" >&6
1.5279 -else
1.5280 - echo "$as_me:$LINENO: result: no" >&5
1.5281 -echo "${ECHO_T}no" >&6
1.5282 -fi
1.5283 -
1.5284 - test -n "$F77" && break
1.5285 - done
1.5286 -fi
1.5287 -if test -z "$F77"; then
1.5288 - ac_ct_F77=$F77
1.5289 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
1.5290 -do
1.5291 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.5292 -set dummy $ac_prog; ac_word=$2
1.5293 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5294 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5295 -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
1.5296 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5297 -else
1.5298 - if test -n "$ac_ct_F77"; then
1.5299 - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
1.5300 -else
1.5301 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5302 -for as_dir in $PATH
1.5303 -do
1.5304 - IFS=$as_save_IFS
1.5305 - test -z "$as_dir" && as_dir=.
1.5306 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5307 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5308 - ac_cv_prog_ac_ct_F77="$ac_prog"
1.5309 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5310 - break 2
1.5311 - fi
1.5312 -done
1.5313 -done
1.5314 -
1.5315 -fi
1.5316 -fi
1.5317 -ac_ct_F77=$ac_cv_prog_ac_ct_F77
1.5318 -if test -n "$ac_ct_F77"; then
1.5319 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
1.5320 -echo "${ECHO_T}$ac_ct_F77" >&6
1.5321 -else
1.5322 - echo "$as_me:$LINENO: result: no" >&5
1.5323 -echo "${ECHO_T}no" >&6
1.5324 -fi
1.5325 -
1.5326 - test -n "$ac_ct_F77" && break
1.5327 -done
1.5328 -
1.5329 - F77=$ac_ct_F77
1.5330 -fi
1.5331 -
1.5332 -
1.5333 -# Provide some information about the compiler.
1.5334 -echo "$as_me:__oline__:" \
1.5335 - "checking for Fortran 77 compiler version" >&5
1.5336 -ac_compiler=`set X $ac_compile; echo $2`
1.5337 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.5338 - (eval $ac_compiler --version </dev/null >&5) 2>&5
1.5339 - ac_status=$?
1.5340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5341 - (exit $ac_status); }
1.5342 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.5343 - (eval $ac_compiler -v </dev/null >&5) 2>&5
1.5344 - ac_status=$?
1.5345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5346 - (exit $ac_status); }
1.5347 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.5348 - (eval $ac_compiler -V </dev/null >&5) 2>&5
1.5349 - ac_status=$?
1.5350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5351 - (exit $ac_status); }
1.5352 -rm -f a.out
1.5353 -
1.5354 -# If we don't use `.F' as extension, the preprocessor is not run on the
1.5355 -# input file. (Note that this only needs to work for GNU compilers.)
1.5356 -ac_save_ext=$ac_ext
1.5357 -ac_ext=F
1.5358 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
1.5359 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
1.5360 -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
1.5361 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5362 -else
1.5363 - cat >conftest.$ac_ext <<_ACEOF
1.5364 - program main
1.5365 -#ifndef __GNUC__
1.5366 - choke me
1.5367 -#endif
1.5368 -
1.5369 - end
1.5370 -_ACEOF
1.5371 -rm -f conftest.$ac_objext
1.5372 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.5373 - (eval $ac_compile) 2>conftest.er1
1.5374 - ac_status=$?
1.5375 - grep -v '^ *+' conftest.er1 >conftest.err
1.5376 - rm -f conftest.er1
1.5377 - cat conftest.err >&5
1.5378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5379 - (exit $ac_status); } &&
1.5380 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
1.5381 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5382 - (eval $ac_try) 2>&5
1.5383 - ac_status=$?
1.5384 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5385 - (exit $ac_status); }; } &&
1.5386 - { ac_try='test -s conftest.$ac_objext'
1.5387 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5388 - (eval $ac_try) 2>&5
1.5389 - ac_status=$?
1.5390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5391 - (exit $ac_status); }; }; then
1.5392 - ac_compiler_gnu=yes
1.5393 -else
1.5394 - echo "$as_me: failed program was:" >&5
1.5395 -sed 's/^/| /' conftest.$ac_ext >&5
1.5396 -
1.5397 -ac_compiler_gnu=no
1.5398 -fi
1.5399 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.5400 -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
1.5401 -
1.5402 -fi
1.5403 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
1.5404 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
1.5405 -ac_ext=$ac_save_ext
1.5406 -ac_test_FFLAGS=${FFLAGS+set}
1.5407 -ac_save_FFLAGS=$FFLAGS
1.5408 -FFLAGS=
1.5409 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
1.5410 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
1.5411 -if test "${ac_cv_prog_f77_g+set}" = set; then
1.5412 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5413 -else
1.5414 - FFLAGS=-g
1.5415 -cat >conftest.$ac_ext <<_ACEOF
1.5416 - program main
1.5417 -
1.5418 - end
1.5419 -_ACEOF
1.5420 -rm -f conftest.$ac_objext
1.5421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.5422 - (eval $ac_compile) 2>conftest.er1
1.5423 - ac_status=$?
1.5424 - grep -v '^ *+' conftest.er1 >conftest.err
1.5425 - rm -f conftest.er1
1.5426 - cat conftest.err >&5
1.5427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5428 - (exit $ac_status); } &&
1.5429 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
1.5430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5431 - (eval $ac_try) 2>&5
1.5432 - ac_status=$?
1.5433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5434 - (exit $ac_status); }; } &&
1.5435 - { ac_try='test -s conftest.$ac_objext'
1.5436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5437 - (eval $ac_try) 2>&5
1.5438 - ac_status=$?
1.5439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5440 - (exit $ac_status); }; }; then
1.5441 - ac_cv_prog_f77_g=yes
1.5442 -else
1.5443 - echo "$as_me: failed program was:" >&5
1.5444 -sed 's/^/| /' conftest.$ac_ext >&5
1.5445 -
1.5446 -ac_cv_prog_f77_g=no
1.5447 -fi
1.5448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.5449 -
1.5450 -fi
1.5451 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
1.5452 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
1.5453 -if test "$ac_test_FFLAGS" = set; then
1.5454 - FFLAGS=$ac_save_FFLAGS
1.5455 -elif test $ac_cv_prog_f77_g = yes; then
1.5456 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
1.5457 - FFLAGS="-g -O2"
1.5458 - else
1.5459 - FFLAGS="-g"
1.5460 - fi
1.5461 -else
1.5462 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
1.5463 - FFLAGS="-O2"
1.5464 - else
1.5465 - FFLAGS=
1.5466 - fi
1.5467 -fi
1.5468 -
1.5469 -G77=`test $ac_compiler_gnu = yes && echo yes`
1.5470 -ac_ext=c
1.5471 -ac_cpp='$CPP $CPPFLAGS'
1.5472 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.5473 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.5474 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.5475 -
1.5476 -
1.5477 -
1.5478 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1.5479 -
1.5480 -# find the maximum length of command line arguments
1.5481 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
1.5482 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
1.5483 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
1.5484 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5485 -else
1.5486 - i=0
1.5487 - teststring="ABCD"
1.5488 -
1.5489 - case $build_os in
1.5490 - msdosdjgpp*)
1.5491 - # On DJGPP, this test can blow up pretty badly due to problems in libc
1.5492 - # (any single argument exceeding 2000 bytes causes a buffer overrun
1.5493 - # during glob expansion). Even if it were fixed, the result of this
1.5494 - # check would be larger than it should be.
1.5495 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
1.5496 - ;;
1.5497 -
1.5498 - gnu*)
1.5499 - # Under GNU Hurd, this test is not required because there is
1.5500 - # no limit to the length of command line arguments.
1.5501 - # Libtool will interpret -1 as no limit whatsoever
1.5502 - lt_cv_sys_max_cmd_len=-1;
1.5503 - ;;
1.5504 -
1.5505 - cygwin* | mingw*)
1.5506 - # On Win9x/ME, this test blows up -- it succeeds, but takes
1.5507 - # about 5 minutes as the teststring grows exponentially.
1.5508 - # Worse, since 9x/ME are not pre-emptively multitasking,
1.5509 - # you end up with a "frozen" computer, even though with patience
1.5510 - # the test eventually succeeds (with a max line length of 256k).
1.5511 - # Instead, let's just punt: use the minimum linelength reported by
1.5512 - # all of the supported platforms: 8192 (on NT/2K/XP).
1.5513 - lt_cv_sys_max_cmd_len=8192;
1.5514 - ;;
1.5515 -
1.5516 - amigaos*)
1.5517 - # On AmigaOS with pdksh, this test takes hours, literally.
1.5518 - # So we just punt and use a minimum line length of 8192.
1.5519 - lt_cv_sys_max_cmd_len=8192;
1.5520 - ;;
1.5521 -
1.5522 - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1.5523 - # This has been around since 386BSD, at least. Likely further.
1.5524 - if test -x /sbin/sysctl; then
1.5525 - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1.5526 - elif test -x /usr/sbin/sysctl; then
1.5527 - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1.5528 - else
1.5529 - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1.5530 - fi
1.5531 - # And add a safety zone
1.5532 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1.5533 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1.5534 - ;;
1.5535 - osf*)
1.5536 - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1.5537 - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1.5538 - # nice to cause kernel panics so lets avoid the loop below.
1.5539 - # First set a reasonable default.
1.5540 - lt_cv_sys_max_cmd_len=16384
1.5541 - #
1.5542 - if test -x /sbin/sysconfig; then
1.5543 - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1.5544 - *1*) lt_cv_sys_max_cmd_len=-1 ;;
1.5545 - esac
1.5546 - fi
1.5547 - ;;
1.5548 - *)
1.5549 - # If test is not a shell built-in, we'll probably end up computing a
1.5550 - # maximum length that is only half of the actual maximum length, but
1.5551 - # we can't tell.
1.5552 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1.5553 - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
1.5554 - = "XX$teststring") >/dev/null 2>&1 &&
1.5555 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
1.5556 - lt_cv_sys_max_cmd_len=$new_result &&
1.5557 - test $i != 17 # 1/2 MB should be enough
1.5558 - do
1.5559 - i=`expr $i + 1`
1.5560 - teststring=$teststring$teststring
1.5561 - done
1.5562 - teststring=
1.5563 - # Add a significant safety factor because C++ compilers can tack on massive
1.5564 - # amounts of additional arguments before passing them to the linker.
1.5565 - # It appears as though 1/2 is a usable value.
1.5566 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1.5567 - ;;
1.5568 - esac
1.5569 -
1.5570 -fi
1.5571 -
1.5572 -if test -n $lt_cv_sys_max_cmd_len ; then
1.5573 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
1.5574 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
1.5575 -else
1.5576 - echo "$as_me:$LINENO: result: none" >&5
1.5577 -echo "${ECHO_T}none" >&6
1.5578 -fi
1.5579 -
1.5580 -
1.5581 -
1.5582 -
1.5583 -# Check for command to grab the raw symbol name followed by C symbol from nm.
1.5584 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
1.5585 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
1.5586 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
1.5587 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5588 -else
1.5589 -
1.5590 -# These are sane defaults that work on at least a few old systems.
1.5591 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
1.5592 -
1.5593 -# Character class describing NM global symbol codes.
1.5594 -symcode='[BCDEGRST]'
1.5595 -
1.5596 -# Regexp to match symbols that can be accessed directly from C.
1.5597 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.5598 -
1.5599 -# Transform an extracted symbol line into a proper C declaration
1.5600 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
1.5601 -
1.5602 -# Transform an extracted symbol line into symbol name and symbol address
1.5603 -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.5604 -
1.5605 -# Define system-specific variables.
1.5606 -case $host_os in
1.5607 -aix*)
1.5608 - symcode='[BCDT]'
1.5609 - ;;
1.5610 -cygwin* | mingw* | pw32*)
1.5611 - symcode='[ABCDGISTW]'
1.5612 - ;;
1.5613 -hpux*) # Its linker distinguishes data from code symbols
1.5614 - if test "$host_cpu" = ia64; then
1.5615 - symcode='[ABCDEGRST]'
1.5616 - fi
1.5617 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.5618 - 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.5619 - ;;
1.5620 -linux*)
1.5621 - if test "$host_cpu" = ia64; then
1.5622 - symcode='[ABCDGIRSTW]'
1.5623 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.5624 - 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.5625 - fi
1.5626 - ;;
1.5627 -irix* | nonstopux*)
1.5628 - symcode='[BCDEGRST]'
1.5629 - ;;
1.5630 -osf*)
1.5631 - symcode='[BCDEGQRST]'
1.5632 - ;;
1.5633 -solaris* | sysv5*)
1.5634 - symcode='[BDRT]'
1.5635 - ;;
1.5636 -sysv4)
1.5637 - symcode='[DFNSTU]'
1.5638 - ;;
1.5639 -esac
1.5640 -
1.5641 -# Handle CRLF in mingw tool chain
1.5642 -opt_cr=
1.5643 -case $build_os in
1.5644 -mingw*)
1.5645 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1.5646 - ;;
1.5647 -esac
1.5648 -
1.5649 -# If we're using GNU nm, then use its standard symbol codes.
1.5650 -case `$NM -V 2>&1` in
1.5651 -*GNU* | *'with BFD'*)
1.5652 - symcode='[ABCDGIRSTW]' ;;
1.5653 -esac
1.5654 -
1.5655 -# Try without a prefix undercore, then with it.
1.5656 -for ac_symprfx in "" "_"; do
1.5657 -
1.5658 - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
1.5659 - symxfrm="\\1 $ac_symprfx\\2 \\2"
1.5660 -
1.5661 - # Write the raw and C identifiers.
1.5662 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.5663 -
1.5664 - # Check to see that the pipe works correctly.
1.5665 - pipe_works=no
1.5666 -
1.5667 - rm -f conftest*
1.5668 - cat > conftest.$ac_ext <<EOF
1.5669 -#ifdef __cplusplus
1.5670 -extern "C" {
1.5671 -#endif
1.5672 -char nm_test_var;
1.5673 -void nm_test_func(){}
1.5674 -#ifdef __cplusplus
1.5675 -}
1.5676 -#endif
1.5677 -int main(){nm_test_var='a';nm_test_func();return(0);}
1.5678 -EOF
1.5679 -
1.5680 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.5681 - (eval $ac_compile) 2>&5
1.5682 - ac_status=$?
1.5683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5684 - (exit $ac_status); }; then
1.5685 - # Now try to grab the symbols.
1.5686 - nlist=conftest.nm
1.5687 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
1.5688 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
1.5689 - ac_status=$?
1.5690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5691 - (exit $ac_status); } && test -s "$nlist"; then
1.5692 - # Try sorting and uniquifying the output.
1.5693 - if sort "$nlist" | uniq > "$nlist"T; then
1.5694 - mv -f "$nlist"T "$nlist"
1.5695 - else
1.5696 - rm -f "$nlist"T
1.5697 - fi
1.5698 -
1.5699 - # Make sure that we snagged all the symbols we need.
1.5700 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
1.5701 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
1.5702 - cat <<EOF > conftest.$ac_ext
1.5703 -#ifdef __cplusplus
1.5704 -extern "C" {
1.5705 -#endif
1.5706 -
1.5707 -EOF
1.5708 - # Now generate the symbol file.
1.5709 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
1.5710 -
1.5711 - cat <<EOF >> conftest.$ac_ext
1.5712 -#if defined (__STDC__) && __STDC__
1.5713 -# define lt_ptr_t void *
1.5714 -#else
1.5715 -# define lt_ptr_t char *
1.5716 -# define const
1.5717 -#endif
1.5718 -
1.5719 -/* The mapping between symbol names and symbols. */
1.5720 -const struct {
1.5721 - const char *name;
1.5722 - lt_ptr_t address;
1.5723 -}
1.5724 -lt_preloaded_symbols[] =
1.5725 -{
1.5726 -EOF
1.5727 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
1.5728 - cat <<\EOF >> conftest.$ac_ext
1.5729 - {0, (lt_ptr_t) 0}
1.5730 -};
1.5731 -
1.5732 -#ifdef __cplusplus
1.5733 -}
1.5734 -#endif
1.5735 -EOF
1.5736 - # Now try linking the two files.
1.5737 - mv conftest.$ac_objext conftstm.$ac_objext
1.5738 - lt_save_LIBS="$LIBS"
1.5739 - lt_save_CFLAGS="$CFLAGS"
1.5740 - LIBS="conftstm.$ac_objext"
1.5741 - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.5742 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.5743 - (eval $ac_link) 2>&5
1.5744 - ac_status=$?
1.5745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5746 - (exit $ac_status); } && test -s conftest${ac_exeext}; then
1.5747 - pipe_works=yes
1.5748 - fi
1.5749 - LIBS="$lt_save_LIBS"
1.5750 - CFLAGS="$lt_save_CFLAGS"
1.5751 - else
1.5752 - echo "cannot find nm_test_func in $nlist" >&5
1.5753 - fi
1.5754 - else
1.5755 - echo "cannot find nm_test_var in $nlist" >&5
1.5756 - fi
1.5757 - else
1.5758 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
1.5759 - fi
1.5760 - else
1.5761 - echo "$progname: failed program was:" >&5
1.5762 - cat conftest.$ac_ext >&5
1.5763 - fi
1.5764 - rm -f conftest* conftst*
1.5765 -
1.5766 - # Do not use the global_symbol_pipe unless it works.
1.5767 - if test "$pipe_works" = yes; then
1.5768 - break
1.5769 - else
1.5770 - lt_cv_sys_global_symbol_pipe=
1.5771 - fi
1.5772 -done
1.5773 -
1.5774 -fi
1.5775 -
1.5776 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
1.5777 - lt_cv_sys_global_symbol_to_cdecl=
1.5778 -fi
1.5779 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.5780 - echo "$as_me:$LINENO: result: failed" >&5
1.5781 -echo "${ECHO_T}failed" >&6
1.5782 -else
1.5783 - echo "$as_me:$LINENO: result: ok" >&5
1.5784 -echo "${ECHO_T}ok" >&6
1.5785 -fi
1.5786 -
1.5787 -echo "$as_me:$LINENO: checking for objdir" >&5
1.5788 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
1.5789 -if test "${lt_cv_objdir+set}" = set; then
1.5790 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5791 -else
1.5792 - rm -f .libs 2>/dev/null
1.5793 -mkdir .libs 2>/dev/null
1.5794 -if test -d .libs; then
1.5795 - lt_cv_objdir=.libs
1.5796 -else
1.5797 - # MS-DOS does not allow filenames that begin with a dot.
1.5798 - lt_cv_objdir=_libs
1.5799 -fi
1.5800 -rmdir .libs 2>/dev/null
1.5801 -fi
1.5802 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
1.5803 -echo "${ECHO_T}$lt_cv_objdir" >&6
1.5804 -objdir=$lt_cv_objdir
1.5805 -
1.5806 -
1.5807 -
1.5808 -
1.5809 -
1.5810 -case $host_os in
1.5811 -aix3*)
1.5812 - # AIX sometimes has problems with the GCC collect2 program. For some
1.5813 - # reason, if we set the COLLECT_NAMES environment variable, the problems
1.5814 - # vanish in a puff of smoke.
1.5815 - if test "X${COLLECT_NAMES+set}" != Xset; then
1.5816 - COLLECT_NAMES=
1.5817 - export COLLECT_NAMES
1.5818 - fi
1.5819 - ;;
1.5820 -esac
1.5821 -
1.5822 -# Sed substitution that helps us do robust quoting. It backslashifies
1.5823 -# metacharacters that are still active within double-quoted strings.
1.5824 -Xsed='sed -e 1s/^X//'
1.5825 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
1.5826 -
1.5827 -# Same as above, but do not quote variable references.
1.5828 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
1.5829 -
1.5830 -# Sed substitution to delay expansion of an escaped shell variable in a
1.5831 -# double_quote_subst'ed string.
1.5832 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.5833 -
1.5834 -# Sed substitution to avoid accidental globbing in evaled expressions
1.5835 -no_glob_subst='s/\*/\\\*/g'
1.5836 -
1.5837 -# Constants:
1.5838 -rm="rm -f"
1.5839 -
1.5840 -# Global variables:
1.5841 -default_ofile=libtool
1.5842 -can_build_shared=yes
1.5843 -
1.5844 -# All known linkers require a `.a' archive for static linking (except MSVC,
1.5845 -# which needs '.lib').
1.5846 -libext=a
1.5847 -ltmain="$ac_aux_dir/ltmain.sh"
1.5848 -ofile="$default_ofile"
1.5849 -with_gnu_ld="$lt_cv_prog_gnu_ld"
1.5850 -
1.5851 -if test -n "$ac_tool_prefix"; then
1.5852 - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1.5853 -set dummy ${ac_tool_prefix}ar; ac_word=$2
1.5854 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5855 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5856 -if test "${ac_cv_prog_AR+set}" = set; then
1.5857 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5858 -else
1.5859 - if test -n "$AR"; then
1.5860 - ac_cv_prog_AR="$AR" # Let the user override the test.
1.5861 -else
1.5862 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5863 -for as_dir in $PATH
1.5864 -do
1.5865 - IFS=$as_save_IFS
1.5866 - test -z "$as_dir" && as_dir=.
1.5867 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5868 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5869 - ac_cv_prog_AR="${ac_tool_prefix}ar"
1.5870 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5871 - break 2
1.5872 - fi
1.5873 -done
1.5874 -done
1.5875 -
1.5876 -fi
1.5877 -fi
1.5878 -AR=$ac_cv_prog_AR
1.5879 -if test -n "$AR"; then
1.5880 - echo "$as_me:$LINENO: result: $AR" >&5
1.5881 -echo "${ECHO_T}$AR" >&6
1.5882 -else
1.5883 - echo "$as_me:$LINENO: result: no" >&5
1.5884 -echo "${ECHO_T}no" >&6
1.5885 -fi
1.5886 -
1.5887 -fi
1.5888 -if test -z "$ac_cv_prog_AR"; then
1.5889 - ac_ct_AR=$AR
1.5890 - # Extract the first word of "ar", so it can be a program name with args.
1.5891 -set dummy ar; ac_word=$2
1.5892 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5893 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5894 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.5895 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5896 -else
1.5897 - if test -n "$ac_ct_AR"; then
1.5898 - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.5899 -else
1.5900 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5901 -for as_dir in $PATH
1.5902 -do
1.5903 - IFS=$as_save_IFS
1.5904 - test -z "$as_dir" && as_dir=.
1.5905 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5906 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5907 - ac_cv_prog_ac_ct_AR="ar"
1.5908 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5909 - break 2
1.5910 - fi
1.5911 -done
1.5912 -done
1.5913 -
1.5914 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
1.5915 -fi
1.5916 -fi
1.5917 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
1.5918 -if test -n "$ac_ct_AR"; then
1.5919 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1.5920 -echo "${ECHO_T}$ac_ct_AR" >&6
1.5921 -else
1.5922 - echo "$as_me:$LINENO: result: no" >&5
1.5923 -echo "${ECHO_T}no" >&6
1.5924 -fi
1.5925 -
1.5926 - AR=$ac_ct_AR
1.5927 -else
1.5928 - AR="$ac_cv_prog_AR"
1.5929 -fi
1.5930 -
1.5931 -if test -n "$ac_tool_prefix"; then
1.5932 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1.5933 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.5934 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5935 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5936 -if test "${ac_cv_prog_RANLIB+set}" = set; then
1.5937 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5938 -else
1.5939 - if test -n "$RANLIB"; then
1.5940 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.5941 -else
1.5942 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5943 -for as_dir in $PATH
1.5944 -do
1.5945 - IFS=$as_save_IFS
1.5946 - test -z "$as_dir" && as_dir=.
1.5947 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5948 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5949 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.5950 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5951 - break 2
1.5952 - fi
1.5953 -done
1.5954 -done
1.5955 -
1.5956 -fi
1.5957 -fi
1.5958 -RANLIB=$ac_cv_prog_RANLIB
1.5959 -if test -n "$RANLIB"; then
1.5960 - echo "$as_me:$LINENO: result: $RANLIB" >&5
1.5961 -echo "${ECHO_T}$RANLIB" >&6
1.5962 -else
1.5963 - echo "$as_me:$LINENO: result: no" >&5
1.5964 -echo "${ECHO_T}no" >&6
1.5965 -fi
1.5966 -
1.5967 -fi
1.5968 -if test -z "$ac_cv_prog_RANLIB"; then
1.5969 - ac_ct_RANLIB=$RANLIB
1.5970 - # Extract the first word of "ranlib", so it can be a program name with args.
1.5971 -set dummy ranlib; ac_word=$2
1.5972 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5973 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5974 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1.5975 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.5976 -else
1.5977 - if test -n "$ac_ct_RANLIB"; then
1.5978 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.5979 -else
1.5980 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5981 -for as_dir in $PATH
1.5982 -do
1.5983 - IFS=$as_save_IFS
1.5984 - test -z "$as_dir" && as_dir=.
1.5985 - for ac_exec_ext in '' $ac_executable_extensions; do
1.5986 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5987 - ac_cv_prog_ac_ct_RANLIB="ranlib"
1.5988 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5989 - break 2
1.5990 - fi
1.5991 -done
1.5992 -done
1.5993 -
1.5994 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1.5995 -fi
1.5996 -fi
1.5997 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1.5998 -if test -n "$ac_ct_RANLIB"; then
1.5999 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1.6000 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
1.6001 -else
1.6002 - echo "$as_me:$LINENO: result: no" >&5
1.6003 -echo "${ECHO_T}no" >&6
1.6004 -fi
1.6005 -
1.6006 - RANLIB=$ac_ct_RANLIB
1.6007 -else
1.6008 - RANLIB="$ac_cv_prog_RANLIB"
1.6009 -fi
1.6010 -
1.6011 -if test -n "$ac_tool_prefix"; then
1.6012 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1.6013 -set dummy ${ac_tool_prefix}strip; ac_word=$2
1.6014 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6015 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.6016 -if test "${ac_cv_prog_STRIP+set}" = set; then
1.6017 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6018 -else
1.6019 - if test -n "$STRIP"; then
1.6020 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.6021 -else
1.6022 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6023 -for as_dir in $PATH
1.6024 -do
1.6025 - IFS=$as_save_IFS
1.6026 - test -z "$as_dir" && as_dir=.
1.6027 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6028 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.6029 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.6030 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6031 - break 2
1.6032 - fi
1.6033 -done
1.6034 -done
1.6035 -
1.6036 -fi
1.6037 -fi
1.6038 -STRIP=$ac_cv_prog_STRIP
1.6039 -if test -n "$STRIP"; then
1.6040 - echo "$as_me:$LINENO: result: $STRIP" >&5
1.6041 -echo "${ECHO_T}$STRIP" >&6
1.6042 -else
1.6043 - echo "$as_me:$LINENO: result: no" >&5
1.6044 -echo "${ECHO_T}no" >&6
1.6045 -fi
1.6046 -
1.6047 -fi
1.6048 -if test -z "$ac_cv_prog_STRIP"; then
1.6049 - ac_ct_STRIP=$STRIP
1.6050 - # Extract the first word of "strip", so it can be a program name with args.
1.6051 -set dummy strip; ac_word=$2
1.6052 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6053 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.6054 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.6055 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6056 -else
1.6057 - if test -n "$ac_ct_STRIP"; then
1.6058 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.6059 -else
1.6060 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6061 -for as_dir in $PATH
1.6062 -do
1.6063 - IFS=$as_save_IFS
1.6064 - test -z "$as_dir" && as_dir=.
1.6065 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6066 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.6067 - ac_cv_prog_ac_ct_STRIP="strip"
1.6068 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6069 - break 2
1.6070 - fi
1.6071 -done
1.6072 -done
1.6073 -
1.6074 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.6075 -fi
1.6076 -fi
1.6077 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1.6078 -if test -n "$ac_ct_STRIP"; then
1.6079 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1.6080 -echo "${ECHO_T}$ac_ct_STRIP" >&6
1.6081 -else
1.6082 - echo "$as_me:$LINENO: result: no" >&5
1.6083 -echo "${ECHO_T}no" >&6
1.6084 -fi
1.6085 -
1.6086 - STRIP=$ac_ct_STRIP
1.6087 -else
1.6088 - STRIP="$ac_cv_prog_STRIP"
1.6089 -fi
1.6090 -
1.6091 -
1.6092 -old_CC="$CC"
1.6093 -old_CFLAGS="$CFLAGS"
1.6094 -
1.6095 -# Set sane defaults for various variables
1.6096 -test -z "$AR" && AR=ar
1.6097 -test -z "$AR_FLAGS" && AR_FLAGS=cru
1.6098 -test -z "$AS" && AS=as
1.6099 -test -z "$CC" && CC=cc
1.6100 -test -z "$LTCC" && LTCC=$CC
1.6101 -test -z "$DLLTOOL" && DLLTOOL=dlltool
1.6102 -test -z "$LD" && LD=ld
1.6103 -test -z "$LN_S" && LN_S="ln -s"
1.6104 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
1.6105 -test -z "$NM" && NM=nm
1.6106 -test -z "$SED" && SED=sed
1.6107 -test -z "$OBJDUMP" && OBJDUMP=objdump
1.6108 -test -z "$RANLIB" && RANLIB=:
1.6109 -test -z "$STRIP" && STRIP=:
1.6110 -test -z "$ac_objext" && ac_objext=o
1.6111 -
1.6112 -# Determine commands to create old-style static archives.
1.6113 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1.6114 -old_postinstall_cmds='chmod 644 $oldlib'
1.6115 -old_postuninstall_cmds=
1.6116 -
1.6117 -if test -n "$RANLIB"; then
1.6118 - case $host_os in
1.6119 - openbsd*)
1.6120 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1.6121 - ;;
1.6122 - *)
1.6123 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1.6124 - ;;
1.6125 - esac
1.6126 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1.6127 -fi
1.6128 -
1.6129 -for cc_temp in $compiler""; do
1.6130 - case $cc_temp in
1.6131 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.6132 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.6133 - \-*) ;;
1.6134 - *) break;;
1.6135 - esac
1.6136 -done
1.6137 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.6138 -
1.6139 -
1.6140 -# Only perform the check for file, if the check method requires it
1.6141 -case $deplibs_check_method in
1.6142 -file_magic*)
1.6143 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.6144 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
1.6145 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
1.6146 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
1.6147 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6148 -else
1.6149 - case $MAGIC_CMD in
1.6150 -[\\/*] | ?:[\\/]*)
1.6151 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1.6152 - ;;
1.6153 -*)
1.6154 - lt_save_MAGIC_CMD="$MAGIC_CMD"
1.6155 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.6156 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
1.6157 - for ac_dir in $ac_dummy; do
1.6158 - IFS="$lt_save_ifs"
1.6159 - test -z "$ac_dir" && ac_dir=.
1.6160 - if test -f $ac_dir/${ac_tool_prefix}file; then
1.6161 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1.6162 - if test -n "$file_magic_test_file"; then
1.6163 - case $deplibs_check_method in
1.6164 - "file_magic "*)
1.6165 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.6166 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6167 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1.6168 - $EGREP "$file_magic_regex" > /dev/null; then
1.6169 - :
1.6170 - else
1.6171 - cat <<EOF 1>&2
1.6172 -
1.6173 -*** Warning: the command libtool uses to detect shared libraries,
1.6174 -*** $file_magic_cmd, produces output that libtool cannot recognize.
1.6175 -*** The result is that libtool may fail to recognize shared libraries
1.6176 -*** as such. This will affect the creation of libtool libraries that
1.6177 -*** depend on shared libraries, but programs linked with such libtool
1.6178 -*** libraries will work regardless of this problem. Nevertheless, you
1.6179 -*** may want to report the problem to your system manager and/or to
1.6180 -*** bug-libtool@gnu.org
1.6181 -
1.6182 -EOF
1.6183 - fi ;;
1.6184 - esac
1.6185 - fi
1.6186 - break
1.6187 - fi
1.6188 - done
1.6189 - IFS="$lt_save_ifs"
1.6190 - MAGIC_CMD="$lt_save_MAGIC_CMD"
1.6191 - ;;
1.6192 -esac
1.6193 -fi
1.6194 -
1.6195 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6196 -if test -n "$MAGIC_CMD"; then
1.6197 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
1.6198 -echo "${ECHO_T}$MAGIC_CMD" >&6
1.6199 -else
1.6200 - echo "$as_me:$LINENO: result: no" >&5
1.6201 -echo "${ECHO_T}no" >&6
1.6202 -fi
1.6203 -
1.6204 -if test -z "$lt_cv_path_MAGIC_CMD"; then
1.6205 - if test -n "$ac_tool_prefix"; then
1.6206 - echo "$as_me:$LINENO: checking for file" >&5
1.6207 -echo $ECHO_N "checking for file... $ECHO_C" >&6
1.6208 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
1.6209 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6210 -else
1.6211 - case $MAGIC_CMD in
1.6212 -[\\/*] | ?:[\\/]*)
1.6213 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1.6214 - ;;
1.6215 -*)
1.6216 - lt_save_MAGIC_CMD="$MAGIC_CMD"
1.6217 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.6218 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
1.6219 - for ac_dir in $ac_dummy; do
1.6220 - IFS="$lt_save_ifs"
1.6221 - test -z "$ac_dir" && ac_dir=.
1.6222 - if test -f $ac_dir/file; then
1.6223 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
1.6224 - if test -n "$file_magic_test_file"; then
1.6225 - case $deplibs_check_method in
1.6226 - "file_magic "*)
1.6227 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.6228 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6229 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1.6230 - $EGREP "$file_magic_regex" > /dev/null; then
1.6231 - :
1.6232 - else
1.6233 - cat <<EOF 1>&2
1.6234 -
1.6235 -*** Warning: the command libtool uses to detect shared libraries,
1.6236 -*** $file_magic_cmd, produces output that libtool cannot recognize.
1.6237 -*** The result is that libtool may fail to recognize shared libraries
1.6238 -*** as such. This will affect the creation of libtool libraries that
1.6239 -*** depend on shared libraries, but programs linked with such libtool
1.6240 -*** libraries will work regardless of this problem. Nevertheless, you
1.6241 -*** may want to report the problem to your system manager and/or to
1.6242 -*** bug-libtool@gnu.org
1.6243 -
1.6244 -EOF
1.6245 - fi ;;
1.6246 - esac
1.6247 - fi
1.6248 - break
1.6249 - fi
1.6250 - done
1.6251 - IFS="$lt_save_ifs"
1.6252 - MAGIC_CMD="$lt_save_MAGIC_CMD"
1.6253 - ;;
1.6254 -esac
1.6255 -fi
1.6256 -
1.6257 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1.6258 -if test -n "$MAGIC_CMD"; then
1.6259 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
1.6260 -echo "${ECHO_T}$MAGIC_CMD" >&6
1.6261 -else
1.6262 - echo "$as_me:$LINENO: result: no" >&5
1.6263 -echo "${ECHO_T}no" >&6
1.6264 -fi
1.6265 -
1.6266 - else
1.6267 - MAGIC_CMD=:
1.6268 - fi
1.6269 -fi
1.6270 -
1.6271 - fi
1.6272 - ;;
1.6273 -esac
1.6274 -
1.6275 -enable_dlopen=no
1.6276 -enable_win32_dll=no
1.6277 -
1.6278 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1.6279 -if test "${enable_libtool_lock+set}" = set; then
1.6280 - enableval="$enable_libtool_lock"
1.6281 -
1.6282 -fi;
1.6283 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.6284 -
1.6285 -
1.6286 -# Check whether --with-pic or --without-pic was given.
1.6287 -if test "${with_pic+set}" = set; then
1.6288 - withval="$with_pic"
1.6289 - pic_mode="$withval"
1.6290 -else
1.6291 - pic_mode=default
1.6292 -fi;
1.6293 -test -z "$pic_mode" && pic_mode=default
1.6294 -
1.6295 -# Use C for the default configuration in the libtool script
1.6296 -tagname=
1.6297 -lt_save_CC="$CC"
1.6298 -ac_ext=c
1.6299 -ac_cpp='$CPP $CPPFLAGS'
1.6300 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.6301 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.6302 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.6303 -
1.6304 -
1.6305 -# Source file extension for C test sources.
1.6306 -ac_ext=c
1.6307 -
1.6308 -# Object file extension for compiled C test sources.
1.6309 -objext=o
1.6310 -objext=$objext
1.6311 -
1.6312 -# Code to be used in simple compile tests
1.6313 -lt_simple_compile_test_code="int some_variable = 0;\n"
1.6314 -
1.6315 -# Code to be used in simple link tests
1.6316 -lt_simple_link_test_code='int main(){return(0);}\n'
1.6317 -
1.6318 -
1.6319 -# If no C compiler was specified, use CC.
1.6320 -LTCC=${LTCC-"$CC"}
1.6321 -
1.6322 -# Allow CC to be a program name with arguments.
1.6323 -compiler=$CC
1.6324 -
1.6325 -
1.6326 -# save warnings/boilerplate of simple test code
1.6327 -ac_outfile=conftest.$ac_objext
1.6328 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1.6329 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.6330 -_lt_compiler_boilerplate=`cat conftest.err`
1.6331 -$rm conftest*
1.6332 -
1.6333 -ac_outfile=conftest.$ac_objext
1.6334 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
1.6335 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.6336 -_lt_linker_boilerplate=`cat conftest.err`
1.6337 -$rm conftest*
1.6338 -
1.6339 -
1.6340 -#
1.6341 -# Check for any special shared library compilation flags.
1.6342 -#
1.6343 -lt_prog_cc_shlib=
1.6344 -if test "$GCC" = no; then
1.6345 - case $host_os in
1.6346 - sco3.2v5*)
1.6347 - lt_prog_cc_shlib='-belf'
1.6348 - ;;
1.6349 - esac
1.6350 -fi
1.6351 -if test -n "$lt_prog_cc_shlib"; then
1.6352 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
1.6353 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
1.6354 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
1.6355 - else
1.6356 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
1.6357 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
1.6358 - lt_cv_prog_cc_can_build_shared=no
1.6359 - fi
1.6360 -fi
1.6361 -
1.6362 -
1.6363 -#
1.6364 -# Check to make sure the static flag actually works.
1.6365 -#
1.6366 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
1.6367 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
1.6368 -if test "${lt_prog_compiler_static_works+set}" = set; then
1.6369 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6370 -else
1.6371 - lt_prog_compiler_static_works=no
1.6372 - save_LDFLAGS="$LDFLAGS"
1.6373 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
1.6374 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
1.6375 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1.6376 - # The linker can only warn and ignore the option if not recognized
1.6377 - # So say no if there are warnings
1.6378 - if test -s conftest.err; then
1.6379 - # Append any errors to the config.log.
1.6380 - cat conftest.err 1>&5
1.6381 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
1.6382 - $SED '/^$/d' conftest.err >conftest.er2
1.6383 - if diff conftest.exp conftest.er2 >/dev/null; then
1.6384 - lt_prog_compiler_static_works=yes
1.6385 - fi
1.6386 - else
1.6387 - lt_prog_compiler_static_works=yes
1.6388 - fi
1.6389 - fi
1.6390 - $rm conftest*
1.6391 - LDFLAGS="$save_LDFLAGS"
1.6392 -
1.6393 -fi
1.6394 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
1.6395 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
1.6396 -
1.6397 -if test x"$lt_prog_compiler_static_works" = xyes; then
1.6398 - :
1.6399 -else
1.6400 - lt_prog_compiler_static=
1.6401 -fi
1.6402 -
1.6403 -
1.6404 -
1.6405 -## CAVEAT EMPTOR:
1.6406 -## There is no encapsulation within the following macros, do not change
1.6407 -## the running order or otherwise move them around unless you know exactly
1.6408 -## what you are doing...
1.6409 -
1.6410 -lt_prog_compiler_no_builtin_flag=
1.6411 -
1.6412 -if test "$GCC" = yes; then
1.6413 - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
1.6414 -
1.6415 -
1.6416 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.6417 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
1.6418 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.6419 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6420 -else
1.6421 - lt_cv_prog_compiler_rtti_exceptions=no
1.6422 - ac_outfile=conftest.$ac_objext
1.6423 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.6424 - lt_compiler_flag="-fno-rtti -fno-exceptions"
1.6425 - # Insert the option either (1) after the last *FLAGS variable, or
1.6426 - # (2) before a word containing "conftest.", or (3) at the end.
1.6427 - # Note that $ac_compile itself does not contain backslashes and begins
1.6428 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.6429 - # The option is referenced via a variable to avoid confusing sed.
1.6430 - lt_compile=`echo "$ac_compile" | $SED \
1.6431 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.6432 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.6433 - -e 's:$: $lt_compiler_flag:'`
1.6434 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.6435 - (eval "$lt_compile" 2>conftest.err)
1.6436 - ac_status=$?
1.6437 - cat conftest.err >&5
1.6438 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.6439 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.6440 - # The compiler can only warn and ignore the option if not recognized
1.6441 - # So say no if there are warnings other than the usual output.
1.6442 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1.6443 - $SED '/^$/d' conftest.err >conftest.er2
1.6444 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1.6445 - lt_cv_prog_compiler_rtti_exceptions=yes
1.6446 - fi
1.6447 - fi
1.6448 - $rm conftest*
1.6449 -
1.6450 -fi
1.6451 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.6452 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.6453 -
1.6454 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1.6455 - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.6456 -else
1.6457 - :
1.6458 -fi
1.6459 -
1.6460 -fi
1.6461 -
1.6462 -lt_prog_compiler_wl=
1.6463 -lt_prog_compiler_pic=
1.6464 -lt_prog_compiler_static=
1.6465 -
1.6466 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.6467 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
1.6468 -
1.6469 - if test "$GCC" = yes; then
1.6470 - lt_prog_compiler_wl='-Wl,'
1.6471 - lt_prog_compiler_static='-static'
1.6472 -
1.6473 - case $host_os in
1.6474 - aix*)
1.6475 - # All AIX code is PIC.
1.6476 - if test "$host_cpu" = ia64; then
1.6477 - # AIX 5 now supports IA64 processor
1.6478 - lt_prog_compiler_static='-Bstatic'
1.6479 - fi
1.6480 - ;;
1.6481 -
1.6482 - amigaos*)
1.6483 - # FIXME: we need at least 68020 code to build shared libraries, but
1.6484 - # adding the `-m68020' flag to GCC prevents building anything better,
1.6485 - # like `-m68040'.
1.6486 - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
1.6487 - ;;
1.6488 -
1.6489 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.6490 - # PIC is the default for these OSes.
1.6491 - ;;
1.6492 -
1.6493 - mingw* | pw32* | os2*)
1.6494 - # This hack is so that the source file can tell whether it is being
1.6495 - # built for inclusion in a dll (and should export symbols for example).
1.6496 - lt_prog_compiler_pic='-DDLL_EXPORT'
1.6497 - ;;
1.6498 -
1.6499 - darwin* | rhapsody*)
1.6500 - # PIC is the default on this platform
1.6501 - # Common symbols not allowed in MH_DYLIB files
1.6502 - lt_prog_compiler_pic='-fno-common'
1.6503 - ;;
1.6504 -
1.6505 - msdosdjgpp*)
1.6506 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.6507 - # on systems that don't support them.
1.6508 - lt_prog_compiler_can_build_shared=no
1.6509 - enable_shared=no
1.6510 - ;;
1.6511 -
1.6512 - sysv4*MP*)
1.6513 - if test -d /usr/nec; then
1.6514 - lt_prog_compiler_pic=-Kconform_pic
1.6515 - fi
1.6516 - ;;
1.6517 -
1.6518 - hpux*)
1.6519 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.6520 - # not for PA HP-UX.
1.6521 - case $host_cpu in
1.6522 - hppa*64*|ia64*)
1.6523 - # +Z the default
1.6524 - ;;
1.6525 - *)
1.6526 - lt_prog_compiler_pic='-fPIC'
1.6527 - ;;
1.6528 - esac
1.6529 - ;;
1.6530 -
1.6531 - *)
1.6532 - lt_prog_compiler_pic='-fPIC'
1.6533 - ;;
1.6534 - esac
1.6535 - else
1.6536 - # PORTME Check for flag to pass linker flags through the system compiler.
1.6537 - case $host_os in
1.6538 - aix*)
1.6539 - lt_prog_compiler_wl='-Wl,'
1.6540 - if test "$host_cpu" = ia64; then
1.6541 - # AIX 5 now supports IA64 processor
1.6542 - lt_prog_compiler_static='-Bstatic'
1.6543 - else
1.6544 - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
1.6545 - fi
1.6546 - ;;
1.6547 - darwin*)
1.6548 - # PIC is the default on this platform
1.6549 - # Common symbols not allowed in MH_DYLIB files
1.6550 - case $cc_basename in
1.6551 - xlc*)
1.6552 - lt_prog_compiler_pic='-qnocommon'
1.6553 - lt_prog_compiler_wl='-Wl,'
1.6554 - ;;
1.6555 - esac
1.6556 - ;;
1.6557 -
1.6558 - mingw* | pw32* | os2*)
1.6559 - # This hack is so that the source file can tell whether it is being
1.6560 - # built for inclusion in a dll (and should export symbols for example).
1.6561 - lt_prog_compiler_pic='-DDLL_EXPORT'
1.6562 - ;;
1.6563 -
1.6564 - hpux9* | hpux10* | hpux11*)
1.6565 - lt_prog_compiler_wl='-Wl,'
1.6566 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.6567 - # not for PA HP-UX.
1.6568 - case $host_cpu in
1.6569 - hppa*64*|ia64*)
1.6570 - # +Z the default
1.6571 - ;;
1.6572 - *)
1.6573 - lt_prog_compiler_pic='+Z'
1.6574 - ;;
1.6575 - esac
1.6576 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.6577 - lt_prog_compiler_static='${wl}-a ${wl}archive'
1.6578 - ;;
1.6579 -
1.6580 - irix5* | irix6* | nonstopux*)
1.6581 - lt_prog_compiler_wl='-Wl,'
1.6582 - # PIC (with -KPIC) is the default.
1.6583 - lt_prog_compiler_static='-non_shared'
1.6584 - ;;
1.6585 -
1.6586 - newsos6)
1.6587 - lt_prog_compiler_pic='-KPIC'
1.6588 - lt_prog_compiler_static='-Bstatic'
1.6589 - ;;
1.6590 -
1.6591 - linux*)
1.6592 - case $cc_basename in
1.6593 - icc* | ecc*)
1.6594 - lt_prog_compiler_wl='-Wl,'
1.6595 - lt_prog_compiler_pic='-KPIC'
1.6596 - lt_prog_compiler_static='-static'
1.6597 - ;;
1.6598 - pgcc* | pgf77* | pgf90* | pgf95*)
1.6599 - # Portland Group compilers (*not* the Pentium gcc compiler,
1.6600 - # which looks to be a dead project)
1.6601 - lt_prog_compiler_wl='-Wl,'
1.6602 - lt_prog_compiler_pic='-fpic'
1.6603 - lt_prog_compiler_static='-Bstatic'
1.6604 - ;;
1.6605 - ccc*)
1.6606 - lt_prog_compiler_wl='-Wl,'
1.6607 - # All Alpha code is PIC.
1.6608 - lt_prog_compiler_static='-non_shared'
1.6609 - ;;
1.6610 - esac
1.6611 - ;;
1.6612 -
1.6613 - osf3* | osf4* | osf5*)
1.6614 - lt_prog_compiler_wl='-Wl,'
1.6615 - # All OSF/1 code is PIC.
1.6616 - lt_prog_compiler_static='-non_shared'
1.6617 - ;;
1.6618 -
1.6619 - sco3.2v5*)
1.6620 - lt_prog_compiler_pic='-Kpic'
1.6621 - lt_prog_compiler_static='-dn'
1.6622 - ;;
1.6623 -
1.6624 - solaris*)
1.6625 - lt_prog_compiler_pic='-KPIC'
1.6626 - lt_prog_compiler_static='-Bstatic'
1.6627 - case $cc_basename in
1.6628 - f77* | f90* | f95*)
1.6629 - lt_prog_compiler_wl='-Qoption ld ';;
1.6630 - *)
1.6631 - lt_prog_compiler_wl='-Wl,';;
1.6632 - esac
1.6633 - ;;
1.6634 -
1.6635 - sunos4*)
1.6636 - lt_prog_compiler_wl='-Qoption ld '
1.6637 - lt_prog_compiler_pic='-PIC'
1.6638 - lt_prog_compiler_static='-Bstatic'
1.6639 - ;;
1.6640 -
1.6641 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.6642 - lt_prog_compiler_wl='-Wl,'
1.6643 - lt_prog_compiler_pic='-KPIC'
1.6644 - lt_prog_compiler_static='-Bstatic'
1.6645 - ;;
1.6646 -
1.6647 - sysv4*MP*)
1.6648 - if test -d /usr/nec ;then
1.6649 - lt_prog_compiler_pic='-Kconform_pic'
1.6650 - lt_prog_compiler_static='-Bstatic'
1.6651 - fi
1.6652 - ;;
1.6653 -
1.6654 - unicos*)
1.6655 - lt_prog_compiler_wl='-Wl,'
1.6656 - lt_prog_compiler_can_build_shared=no
1.6657 - ;;
1.6658 -
1.6659 - uts4*)
1.6660 - lt_prog_compiler_pic='-pic'
1.6661 - lt_prog_compiler_static='-Bstatic'
1.6662 - ;;
1.6663 -
1.6664 - *)
1.6665 - lt_prog_compiler_can_build_shared=no
1.6666 - ;;
1.6667 - esac
1.6668 - fi
1.6669 -
1.6670 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
1.6671 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
1.6672 -
1.6673 -#
1.6674 -# Check to make sure the PIC flag actually works.
1.6675 -#
1.6676 -if test -n "$lt_prog_compiler_pic"; then
1.6677 -
1.6678 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
1.6679 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
1.6680 -if test "${lt_prog_compiler_pic_works+set}" = set; then
1.6681 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6682 -else
1.6683 - lt_prog_compiler_pic_works=no
1.6684 - ac_outfile=conftest.$ac_objext
1.6685 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.6686 - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
1.6687 - # Insert the option either (1) after the last *FLAGS variable, or
1.6688 - # (2) before a word containing "conftest.", or (3) at the end.
1.6689 - # Note that $ac_compile itself does not contain backslashes and begins
1.6690 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.6691 - # The option is referenced via a variable to avoid confusing sed.
1.6692 - lt_compile=`echo "$ac_compile" | $SED \
1.6693 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.6694 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.6695 - -e 's:$: $lt_compiler_flag:'`
1.6696 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.6697 - (eval "$lt_compile" 2>conftest.err)
1.6698 - ac_status=$?
1.6699 - cat conftest.err >&5
1.6700 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.6701 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.6702 - # The compiler can only warn and ignore the option if not recognized
1.6703 - # So say no if there are warnings other than the usual output.
1.6704 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1.6705 - $SED '/^$/d' conftest.err >conftest.er2
1.6706 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1.6707 - lt_prog_compiler_pic_works=yes
1.6708 - fi
1.6709 - fi
1.6710 - $rm conftest*
1.6711 -
1.6712 -fi
1.6713 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
1.6714 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
1.6715 -
1.6716 -if test x"$lt_prog_compiler_pic_works" = xyes; then
1.6717 - case $lt_prog_compiler_pic in
1.6718 - "" | " "*) ;;
1.6719 - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
1.6720 - esac
1.6721 -else
1.6722 - lt_prog_compiler_pic=
1.6723 - lt_prog_compiler_can_build_shared=no
1.6724 -fi
1.6725 -
1.6726 -fi
1.6727 -case $host_os in
1.6728 - # For platforms which do not support PIC, -DPIC is meaningless:
1.6729 - *djgpp*)
1.6730 - lt_prog_compiler_pic=
1.6731 - ;;
1.6732 - *)
1.6733 - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.6734 - ;;
1.6735 -esac
1.6736 -
1.6737 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.6738 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
1.6739 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
1.6740 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6741 -else
1.6742 - lt_cv_prog_compiler_c_o=no
1.6743 - $rm -r conftest 2>/dev/null
1.6744 - mkdir conftest
1.6745 - cd conftest
1.6746 - mkdir out
1.6747 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.6748 -
1.6749 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.6750 - # Insert the option either (1) after the last *FLAGS variable, or
1.6751 - # (2) before a word containing "conftest.", or (3) at the end.
1.6752 - # Note that $ac_compile itself does not contain backslashes and begins
1.6753 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.6754 - lt_compile=`echo "$ac_compile" | $SED \
1.6755 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.6756 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.6757 - -e 's:$: $lt_compiler_flag:'`
1.6758 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.6759 - (eval "$lt_compile" 2>out/conftest.err)
1.6760 - ac_status=$?
1.6761 - cat out/conftest.err >&5
1.6762 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.6763 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.6764 - then
1.6765 - # The compiler can only warn and ignore the option if not recognized
1.6766 - # So say no if there are warnings
1.6767 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
1.6768 - $SED '/^$/d' out/conftest.err >out/conftest.er2
1.6769 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1.6770 - lt_cv_prog_compiler_c_o=yes
1.6771 - fi
1.6772 - fi
1.6773 - chmod u+w . 2>&5
1.6774 - $rm conftest*
1.6775 - # SGI C++ compiler will create directory out/ii_files/ for
1.6776 - # template instantiation
1.6777 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.6778 - $rm out/* && rmdir out
1.6779 - cd ..
1.6780 - rmdir conftest
1.6781 - $rm conftest*
1.6782 -
1.6783 -fi
1.6784 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
1.6785 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
1.6786 -
1.6787 -
1.6788 -hard_links="nottested"
1.6789 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
1.6790 - # do not overwrite the value of need_locks provided by the user
1.6791 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.6792 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
1.6793 - hard_links=yes
1.6794 - $rm conftest*
1.6795 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.6796 - touch conftest.a
1.6797 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.6798 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.6799 - echo "$as_me:$LINENO: result: $hard_links" >&5
1.6800 -echo "${ECHO_T}$hard_links" >&6
1.6801 - if test "$hard_links" = no; then
1.6802 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.6803 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.6804 - need_locks=warn
1.6805 - fi
1.6806 -else
1.6807 - need_locks=no
1.6808 -fi
1.6809 -
1.6810 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.6811 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.6812 -
1.6813 - runpath_var=
1.6814 - allow_undefined_flag=
1.6815 - enable_shared_with_static_runtimes=no
1.6816 - archive_cmds=
1.6817 - archive_expsym_cmds=
1.6818 - old_archive_From_new_cmds=
1.6819 - old_archive_from_expsyms_cmds=
1.6820 - export_dynamic_flag_spec=
1.6821 - whole_archive_flag_spec=
1.6822 - thread_safe_flag_spec=
1.6823 - hardcode_libdir_flag_spec=
1.6824 - hardcode_libdir_flag_spec_ld=
1.6825 - hardcode_libdir_separator=
1.6826 - hardcode_direct=no
1.6827 - hardcode_minus_L=no
1.6828 - hardcode_shlibpath_var=unsupported
1.6829 - link_all_deplibs=unknown
1.6830 - hardcode_automatic=no
1.6831 - module_cmds=
1.6832 - module_expsym_cmds=
1.6833 - always_export_symbols=no
1.6834 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.6835 - # include_expsyms should be a list of space-separated symbols to be *always*
1.6836 - # included in the symbol list
1.6837 - include_expsyms=
1.6838 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.6839 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.6840 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.6841 - # as well as any symbol that contains `d'.
1.6842 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
1.6843 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.6844 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.6845 - # the symbol is explicitly referenced. Since portable code cannot
1.6846 - # rely on this symbol name, it's probably fine to never include it in
1.6847 - # preloaded symbol tables.
1.6848 - extract_expsyms_cmds=
1.6849 - # Just being paranoid about ensuring that cc_basename is set.
1.6850 - for cc_temp in $compiler""; do
1.6851 - case $cc_temp in
1.6852 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.6853 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.6854 - \-*) ;;
1.6855 - *) break;;
1.6856 - esac
1.6857 -done
1.6858 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.6859 -
1.6860 - case $host_os in
1.6861 - cygwin* | mingw* | pw32*)
1.6862 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.6863 - # When not using gcc, we currently assume that we are using
1.6864 - # Microsoft Visual C++.
1.6865 - if test "$GCC" != yes; then
1.6866 - with_gnu_ld=no
1.6867 - fi
1.6868 - ;;
1.6869 - openbsd*)
1.6870 - with_gnu_ld=no
1.6871 - ;;
1.6872 - esac
1.6873 -
1.6874 - ld_shlibs=yes
1.6875 - if test "$with_gnu_ld" = yes; then
1.6876 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.6877 - wlarc='${wl}'
1.6878 -
1.6879 - # Set some defaults for GNU ld with shared library support. These
1.6880 - # are reset later if shared libraries are not supported. Putting them
1.6881 - # here allows them to be overridden if necessary.
1.6882 - runpath_var=LD_RUN_PATH
1.6883 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
1.6884 - export_dynamic_flag_spec='${wl}--export-dynamic'
1.6885 - # ancient GNU ld didn't support --whole-archive et. al.
1.6886 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.6887 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.6888 - else
1.6889 - whole_archive_flag_spec=
1.6890 - fi
1.6891 - supports_anon_versioning=no
1.6892 - case `$LD -v 2>/dev/null` in
1.6893 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.6894 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.6895 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.6896 - *\ 2.11.*) ;; # other 2.11 versions
1.6897 - *) supports_anon_versioning=yes ;;
1.6898 - esac
1.6899 -
1.6900 - # See if GNU ld supports shared libraries.
1.6901 - case $host_os in
1.6902 - aix3* | aix4* | aix5*)
1.6903 - # On AIX/PPC, the GNU linker is very broken
1.6904 - if test "$host_cpu" != ia64; then
1.6905 - ld_shlibs=no
1.6906 - cat <<EOF 1>&2
1.6907 -
1.6908 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.6909 -*** to be unable to reliably create shared libraries on AIX.
1.6910 -*** Therefore, libtool is disabling shared libraries support. If you
1.6911 -*** really care for shared libraries, you may want to modify your PATH
1.6912 -*** so that a non-GNU linker is found, and then restart.
1.6913 -
1.6914 -EOF
1.6915 - fi
1.6916 - ;;
1.6917 -
1.6918 - amigaos*)
1.6919 - 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.6920 - hardcode_libdir_flag_spec='-L$libdir'
1.6921 - hardcode_minus_L=yes
1.6922 -
1.6923 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.6924 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.6925 - # to version 4, is to share data among multiple programs linked
1.6926 - # with the same dynamic library. Since this doesn't match the
1.6927 - # behavior of shared libraries on other platforms, we can't use
1.6928 - # them.
1.6929 - ld_shlibs=no
1.6930 - ;;
1.6931 -
1.6932 - beos*)
1.6933 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.6934 - allow_undefined_flag=unsupported
1.6935 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.6936 - # support --undefined. This deserves some investigation. FIXME
1.6937 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.6938 - else
1.6939 - ld_shlibs=no
1.6940 - fi
1.6941 - ;;
1.6942 -
1.6943 - cygwin* | mingw* | pw32*)
1.6944 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
1.6945 - # as there is no search path for DLLs.
1.6946 - hardcode_libdir_flag_spec='-L$libdir'
1.6947 - allow_undefined_flag=unsupported
1.6948 - always_export_symbols=no
1.6949 - enable_shared_with_static_runtimes=yes
1.6950 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.6951 -
1.6952 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.6953 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.6954 - # If the export-symbols file already is a .def file (1st line
1.6955 - # is EXPORTS), use it as is; otherwise, prepend...
1.6956 - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.6957 - cp $export_symbols $output_objdir/$soname.def;
1.6958 - else
1.6959 - echo EXPORTS > $output_objdir/$soname.def;
1.6960 - cat $export_symbols >> $output_objdir/$soname.def;
1.6961 - fi~
1.6962 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.6963 - else
1.6964 - ld_shlibs=no
1.6965 - fi
1.6966 - ;;
1.6967 -
1.6968 - linux*)
1.6969 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.6970 - tmp_addflag=
1.6971 - case $cc_basename,$host_cpu in
1.6972 - pgcc*) # Portland Group C compiler
1.6973 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
1.6974 - tmp_addflag=' $pic_flag'
1.6975 - ;;
1.6976 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
1.6977 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
1.6978 - tmp_addflag=' $pic_flag -Mnomain' ;;
1.6979 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
1.6980 - tmp_addflag=' -i_dynamic' ;;
1.6981 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
1.6982 - tmp_addflag=' -i_dynamic -nofor_main' ;;
1.6983 - ifc* | ifort*) # Intel Fortran compiler
1.6984 - tmp_addflag=' -nofor_main' ;;
1.6985 - esac
1.6986 - archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.6987 -
1.6988 - if test $supports_anon_versioning = yes; then
1.6989 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
1.6990 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.6991 - $echo "local: *; };" >> $output_objdir/$libname.ver~
1.6992 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.6993 - fi
1.6994 - else
1.6995 - ld_shlibs=no
1.6996 - fi
1.6997 - ;;
1.6998 -
1.6999 - netbsd*)
1.7000 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.7001 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.7002 - wlarc=
1.7003 - else
1.7004 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7005 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7006 - fi
1.7007 - ;;
1.7008 -
1.7009 - solaris* | sysv5*)
1.7010 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.7011 - ld_shlibs=no
1.7012 - cat <<EOF 1>&2
1.7013 -
1.7014 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.7015 -*** create shared libraries on Solaris systems. Therefore, libtool
1.7016 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.7017 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.7018 -*** your PATH or compiler configuration so that the native linker is
1.7019 -*** used, and then restart.
1.7020 -
1.7021 -EOF
1.7022 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7023 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7024 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7025 - else
1.7026 - ld_shlibs=no
1.7027 - fi
1.7028 - ;;
1.7029 -
1.7030 - sunos4*)
1.7031 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.7032 - wlarc=
1.7033 - hardcode_direct=yes
1.7034 - hardcode_shlibpath_var=no
1.7035 - ;;
1.7036 -
1.7037 - *)
1.7038 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.7039 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.7040 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.7041 - else
1.7042 - ld_shlibs=no
1.7043 - fi
1.7044 - ;;
1.7045 - esac
1.7046 -
1.7047 - if test "$ld_shlibs" = no; then
1.7048 - runpath_var=
1.7049 - hardcode_libdir_flag_spec=
1.7050 - export_dynamic_flag_spec=
1.7051 - whole_archive_flag_spec=
1.7052 - fi
1.7053 - else
1.7054 - # PORTME fill in a description of your system's linker (not GNU ld)
1.7055 - case $host_os in
1.7056 - aix3*)
1.7057 - allow_undefined_flag=unsupported
1.7058 - always_export_symbols=yes
1.7059 - 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.7060 - # Note: this linker hardcodes the directories in LIBPATH if there
1.7061 - # are no directories specified by -L.
1.7062 - hardcode_minus_L=yes
1.7063 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.7064 - # Neither direct hardcoding nor static linking is supported with a
1.7065 - # broken collect2.
1.7066 - hardcode_direct=unsupported
1.7067 - fi
1.7068 - ;;
1.7069 -
1.7070 - aix4* | aix5*)
1.7071 - if test "$host_cpu" = ia64; then
1.7072 - # On IA64, the linker does run time linking by default, so we don't
1.7073 - # have to do anything special.
1.7074 - aix_use_runtimelinking=no
1.7075 - exp_sym_flag='-Bexport'
1.7076 - no_entry_flag=""
1.7077 - else
1.7078 - # If we're using GNU nm, then we don't want the "-C" option.
1.7079 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.7080 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.7081 - 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.7082 - else
1.7083 - 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.7084 - fi
1.7085 - aix_use_runtimelinking=no
1.7086 -
1.7087 - # Test if we are trying to use run time linking or normal
1.7088 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.7089 - # need to do runtime linking.
1.7090 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.7091 - for ld_flag in $LDFLAGS; do
1.7092 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.7093 - aix_use_runtimelinking=yes
1.7094 - break
1.7095 - fi
1.7096 - done
1.7097 - esac
1.7098 -
1.7099 - exp_sym_flag='-bexport'
1.7100 - no_entry_flag='-bnoentry'
1.7101 - fi
1.7102 -
1.7103 - # When large executables or shared objects are built, AIX ld can
1.7104 - # have problems creating the table of contents. If linking a library
1.7105 - # or program results in "error TOC overflow" add -mminimal-toc to
1.7106 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.7107 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.7108 -
1.7109 - archive_cmds=''
1.7110 - hardcode_direct=yes
1.7111 - hardcode_libdir_separator=':'
1.7112 - link_all_deplibs=yes
1.7113 -
1.7114 - if test "$GCC" = yes; then
1.7115 - case $host_os in aix4.[012]|aix4.[012].*)
1.7116 - # We only want to do this on AIX 4.2 and lower, the check
1.7117 - # below for broken collect2 doesn't work under 4.3+
1.7118 - collect2name=`${CC} -print-prog-name=collect2`
1.7119 - if test -f "$collect2name" && \
1.7120 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.7121 - then
1.7122 - # We have reworked collect2
1.7123 - hardcode_direct=yes
1.7124 - else
1.7125 - # We have old collect2
1.7126 - hardcode_direct=unsupported
1.7127 - # It fails to find uninstalled libraries when the uninstalled
1.7128 - # path is not listed in the libpath. Setting hardcode_minus_L
1.7129 - # to unsupported forces relinking
1.7130 - hardcode_minus_L=yes
1.7131 - hardcode_libdir_flag_spec='-L$libdir'
1.7132 - hardcode_libdir_separator=
1.7133 - fi
1.7134 - esac
1.7135 - shared_flag='-shared'
1.7136 - if test "$aix_use_runtimelinking" = yes; then
1.7137 - shared_flag="$shared_flag "'${wl}-G'
1.7138 - fi
1.7139 - else
1.7140 - # not using gcc
1.7141 - if test "$host_cpu" = ia64; then
1.7142 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.7143 - # chokes on -Wl,-G. The following line is correct:
1.7144 - shared_flag='-G'
1.7145 - else
1.7146 - if test "$aix_use_runtimelinking" = yes; then
1.7147 - shared_flag='${wl}-G'
1.7148 - else
1.7149 - shared_flag='${wl}-bM:SRE'
1.7150 - fi
1.7151 - fi
1.7152 - fi
1.7153 -
1.7154 - # It seems that -bexpall does not export symbols beginning with
1.7155 - # underscore (_), so it is better to generate a list of symbols to export.
1.7156 - always_export_symbols=yes
1.7157 - if test "$aix_use_runtimelinking" = yes; then
1.7158 - # Warning - without using the other runtime loading flags (-brtl),
1.7159 - # -berok will link without error, but may produce a broken library.
1.7160 - allow_undefined_flag='-berok'
1.7161 - # Determine the default libpath from the value encoded in an empty executable.
1.7162 - cat >conftest.$ac_ext <<_ACEOF
1.7163 -/* confdefs.h. */
1.7164 -_ACEOF
1.7165 -cat confdefs.h >>conftest.$ac_ext
1.7166 -cat >>conftest.$ac_ext <<_ACEOF
1.7167 -/* end confdefs.h. */
1.7168 -
1.7169 -int
1.7170 -main ()
1.7171 -{
1.7172 -
1.7173 - ;
1.7174 - return 0;
1.7175 -}
1.7176 -_ACEOF
1.7177 -rm -f conftest.$ac_objext conftest$ac_exeext
1.7178 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.7179 - (eval $ac_link) 2>conftest.er1
1.7180 - ac_status=$?
1.7181 - grep -v '^ *+' conftest.er1 >conftest.err
1.7182 - rm -f conftest.er1
1.7183 - cat conftest.err >&5
1.7184 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7185 - (exit $ac_status); } &&
1.7186 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.7187 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.7188 - (eval $ac_try) 2>&5
1.7189 - ac_status=$?
1.7190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7191 - (exit $ac_status); }; } &&
1.7192 - { ac_try='test -s conftest$ac_exeext'
1.7193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.7194 - (eval $ac_try) 2>&5
1.7195 - ac_status=$?
1.7196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7197 - (exit $ac_status); }; }; then
1.7198 -
1.7199 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.7200 -}'`
1.7201 -# Check for a 64-bit object if we didn't find anything.
1.7202 -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.7203 -}'`; fi
1.7204 -else
1.7205 - echo "$as_me: failed program was:" >&5
1.7206 -sed 's/^/| /' conftest.$ac_ext >&5
1.7207 -
1.7208 -fi
1.7209 -rm -f conftest.err conftest.$ac_objext \
1.7210 - conftest$ac_exeext conftest.$ac_ext
1.7211 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.7212 -
1.7213 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.7214 - 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.7215 - else
1.7216 - if test "$host_cpu" = ia64; then
1.7217 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
1.7218 - allow_undefined_flag="-z nodefs"
1.7219 - 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.7220 - else
1.7221 - # Determine the default libpath from the value encoded in an empty executable.
1.7222 - cat >conftest.$ac_ext <<_ACEOF
1.7223 -/* confdefs.h. */
1.7224 -_ACEOF
1.7225 -cat confdefs.h >>conftest.$ac_ext
1.7226 -cat >>conftest.$ac_ext <<_ACEOF
1.7227 -/* end confdefs.h. */
1.7228 -
1.7229 -int
1.7230 -main ()
1.7231 -{
1.7232 -
1.7233 - ;
1.7234 - return 0;
1.7235 -}
1.7236 -_ACEOF
1.7237 -rm -f conftest.$ac_objext conftest$ac_exeext
1.7238 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.7239 - (eval $ac_link) 2>conftest.er1
1.7240 - ac_status=$?
1.7241 - grep -v '^ *+' conftest.er1 >conftest.err
1.7242 - rm -f conftest.er1
1.7243 - cat conftest.err >&5
1.7244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7245 - (exit $ac_status); } &&
1.7246 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.7247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.7248 - (eval $ac_try) 2>&5
1.7249 - ac_status=$?
1.7250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7251 - (exit $ac_status); }; } &&
1.7252 - { ac_try='test -s conftest$ac_exeext'
1.7253 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.7254 - (eval $ac_try) 2>&5
1.7255 - ac_status=$?
1.7256 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7257 - (exit $ac_status); }; }; then
1.7258 -
1.7259 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.7260 -}'`
1.7261 -# Check for a 64-bit object if we didn't find anything.
1.7262 -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.7263 -}'`; fi
1.7264 -else
1.7265 - echo "$as_me: failed program was:" >&5
1.7266 -sed 's/^/| /' conftest.$ac_ext >&5
1.7267 -
1.7268 -fi
1.7269 -rm -f conftest.err conftest.$ac_objext \
1.7270 - conftest$ac_exeext conftest.$ac_ext
1.7271 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.7272 -
1.7273 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.7274 - # Warning - without using the other run time loading flags,
1.7275 - # -berok will link without error, but may produce a broken library.
1.7276 - no_undefined_flag=' ${wl}-bernotok'
1.7277 - allow_undefined_flag=' ${wl}-berok'
1.7278 - # -bexpall does not export symbols beginning with underscore (_)
1.7279 - always_export_symbols=yes
1.7280 - # Exported symbols can be pulled into shared objects from archives
1.7281 - whole_archive_flag_spec=' '
1.7282 - archive_cmds_need_lc=yes
1.7283 - # This is similar to how AIX traditionally builds its shared libraries.
1.7284 - 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.7285 - fi
1.7286 - fi
1.7287 - ;;
1.7288 -
1.7289 - amigaos*)
1.7290 - 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.7291 - hardcode_libdir_flag_spec='-L$libdir'
1.7292 - hardcode_minus_L=yes
1.7293 - # see comment about different semantics on the GNU ld section
1.7294 - ld_shlibs=no
1.7295 - ;;
1.7296 -
1.7297 - bsdi[45]*)
1.7298 - export_dynamic_flag_spec=-rdynamic
1.7299 - ;;
1.7300 -
1.7301 - cygwin* | mingw* | pw32*)
1.7302 - # When not using gcc, we currently assume that we are using
1.7303 - # Microsoft Visual C++.
1.7304 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.7305 - # no search path for DLLs.
1.7306 - hardcode_libdir_flag_spec=' '
1.7307 - allow_undefined_flag=unsupported
1.7308 - # Tell ltmain to make .lib files, not .a files.
1.7309 - libext=lib
1.7310 - # Tell ltmain to make .dll files, not .so files.
1.7311 - shrext_cmds=".dll"
1.7312 - # FIXME: Setting linknames here is a bad hack.
1.7313 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.7314 - # The linker will automatically build a .lib file if we build a DLL.
1.7315 - old_archive_From_new_cmds='true'
1.7316 - # FIXME: Should let the user specify the lib program.
1.7317 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.7318 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1.7319 - enable_shared_with_static_runtimes=yes
1.7320 - ;;
1.7321 -
1.7322 - darwin* | rhapsody*)
1.7323 - case $host_os in
1.7324 - rhapsody* | darwin1.[012])
1.7325 - allow_undefined_flag='${wl}-undefined ${wl}suppress'
1.7326 - ;;
1.7327 - *) # Darwin 1.3 on
1.7328 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.7329 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.7330 - else
1.7331 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.7332 - 10.[012])
1.7333 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.7334 - ;;
1.7335 - 10.*)
1.7336 - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
1.7337 - ;;
1.7338 - esac
1.7339 - fi
1.7340 - ;;
1.7341 - esac
1.7342 - archive_cmds_need_lc=no
1.7343 - hardcode_direct=no
1.7344 - hardcode_automatic=yes
1.7345 - hardcode_shlibpath_var=unsupported
1.7346 - whole_archive_flag_spec=''
1.7347 - link_all_deplibs=yes
1.7348 - if test "$GCC" = yes ; then
1.7349 - output_verbose_link_cmd='echo'
1.7350 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.7351 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.7352 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.7353 - 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.7354 - 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.7355 - else
1.7356 - case $cc_basename in
1.7357 - xlc*)
1.7358 - output_verbose_link_cmd='echo'
1.7359 - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
1.7360 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.7361 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.7362 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.7363 - 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.7364 - ;;
1.7365 - *)
1.7366 - ld_shlibs=no
1.7367 - ;;
1.7368 - esac
1.7369 - fi
1.7370 - ;;
1.7371 -
1.7372 - dgux*)
1.7373 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7374 - hardcode_libdir_flag_spec='-L$libdir'
1.7375 - hardcode_shlibpath_var=no
1.7376 - ;;
1.7377 -
1.7378 - freebsd1*)
1.7379 - ld_shlibs=no
1.7380 - ;;
1.7381 -
1.7382 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.7383 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.7384 - # does not break anything, and helps significantly (at the cost of a little
1.7385 - # extra space).
1.7386 - freebsd2.2*)
1.7387 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.7388 - hardcode_libdir_flag_spec='-R$libdir'
1.7389 - hardcode_direct=yes
1.7390 - hardcode_shlibpath_var=no
1.7391 - ;;
1.7392 -
1.7393 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.7394 - freebsd2*)
1.7395 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.7396 - hardcode_direct=yes
1.7397 - hardcode_minus_L=yes
1.7398 - hardcode_shlibpath_var=no
1.7399 - ;;
1.7400 -
1.7401 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.7402 - freebsd* | kfreebsd*-gnu | dragonfly*)
1.7403 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.7404 - hardcode_libdir_flag_spec='-R$libdir'
1.7405 - hardcode_direct=yes
1.7406 - hardcode_shlibpath_var=no
1.7407 - ;;
1.7408 -
1.7409 - hpux9*)
1.7410 - if test "$GCC" = yes; then
1.7411 - 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.7412 - else
1.7413 - 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.7414 - fi
1.7415 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.7416 - hardcode_libdir_separator=:
1.7417 - hardcode_direct=yes
1.7418 -
1.7419 - # hardcode_minus_L: Not really in the search PATH,
1.7420 - # but as the default location of the library.
1.7421 - hardcode_minus_L=yes
1.7422 - export_dynamic_flag_spec='${wl}-E'
1.7423 - ;;
1.7424 -
1.7425 - hpux10* | hpux11*)
1.7426 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.7427 - case $host_cpu in
1.7428 - hppa*64*|ia64*)
1.7429 - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.7430 - ;;
1.7431 - *)
1.7432 - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.7433 - ;;
1.7434 - esac
1.7435 - else
1.7436 - case $host_cpu in
1.7437 - hppa*64*|ia64*)
1.7438 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7439 - ;;
1.7440 - *)
1.7441 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.7442 - ;;
1.7443 - esac
1.7444 - fi
1.7445 - if test "$with_gnu_ld" = no; then
1.7446 - case $host_cpu in
1.7447 - hppa*64*)
1.7448 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.7449 - hardcode_libdir_flag_spec_ld='+b $libdir'
1.7450 - hardcode_libdir_separator=:
1.7451 - hardcode_direct=no
1.7452 - hardcode_shlibpath_var=no
1.7453 - ;;
1.7454 - ia64*)
1.7455 - hardcode_libdir_flag_spec='-L$libdir'
1.7456 - hardcode_direct=no
1.7457 - hardcode_shlibpath_var=no
1.7458 -
1.7459 - # hardcode_minus_L: Not really in the search PATH,
1.7460 - # but as the default location of the library.
1.7461 - hardcode_minus_L=yes
1.7462 - ;;
1.7463 - *)
1.7464 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.7465 - hardcode_libdir_separator=:
1.7466 - hardcode_direct=yes
1.7467 - export_dynamic_flag_spec='${wl}-E'
1.7468 -
1.7469 - # hardcode_minus_L: Not really in the search PATH,
1.7470 - # but as the default location of the library.
1.7471 - hardcode_minus_L=yes
1.7472 - ;;
1.7473 - esac
1.7474 - fi
1.7475 - ;;
1.7476 -
1.7477 - irix5* | irix6* | nonstopux*)
1.7478 - if test "$GCC" = yes; then
1.7479 - 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.7480 - else
1.7481 - 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.7482 - hardcode_libdir_flag_spec_ld='-rpath $libdir'
1.7483 - fi
1.7484 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.7485 - hardcode_libdir_separator=:
1.7486 - link_all_deplibs=yes
1.7487 - ;;
1.7488 -
1.7489 - netbsd*)
1.7490 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.7491 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.7492 - else
1.7493 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.7494 - fi
1.7495 - hardcode_libdir_flag_spec='-R$libdir'
1.7496 - hardcode_direct=yes
1.7497 - hardcode_shlibpath_var=no
1.7498 - ;;
1.7499 -
1.7500 - newsos6)
1.7501 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7502 - hardcode_direct=yes
1.7503 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.7504 - hardcode_libdir_separator=:
1.7505 - hardcode_shlibpath_var=no
1.7506 - ;;
1.7507 -
1.7508 - openbsd*)
1.7509 - hardcode_direct=yes
1.7510 - hardcode_shlibpath_var=no
1.7511 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.7512 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.7513 - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
1.7514 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
1.7515 - export_dynamic_flag_spec='${wl}-E'
1.7516 - else
1.7517 - case $host_os in
1.7518 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.7519 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.7520 - hardcode_libdir_flag_spec='-R$libdir'
1.7521 - ;;
1.7522 - *)
1.7523 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.7524 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
1.7525 - ;;
1.7526 - esac
1.7527 - fi
1.7528 - ;;
1.7529 -
1.7530 - os2*)
1.7531 - hardcode_libdir_flag_spec='-L$libdir'
1.7532 - hardcode_minus_L=yes
1.7533 - allow_undefined_flag=unsupported
1.7534 - 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.7535 - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.7536 - ;;
1.7537 -
1.7538 - osf3*)
1.7539 - if test "$GCC" = yes; then
1.7540 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.7541 - 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.7542 - else
1.7543 - allow_undefined_flag=' -expect_unresolved \*'
1.7544 - 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.7545 - fi
1.7546 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.7547 - hardcode_libdir_separator=:
1.7548 - ;;
1.7549 -
1.7550 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.7551 - if test "$GCC" = yes; then
1.7552 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.7553 - 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.7554 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.7555 - else
1.7556 - allow_undefined_flag=' -expect_unresolved \*'
1.7557 - 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.7558 - 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.7559 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
1.7560 -
1.7561 - # Both c and cxx compiler support -rpath directly
1.7562 - hardcode_libdir_flag_spec='-rpath $libdir'
1.7563 - fi
1.7564 - hardcode_libdir_separator=:
1.7565 - ;;
1.7566 -
1.7567 - sco3.2v5*)
1.7568 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7569 - hardcode_shlibpath_var=no
1.7570 - export_dynamic_flag_spec='${wl}-Bexport'
1.7571 - runpath_var=LD_RUN_PATH
1.7572 - hardcode_runpath_var=yes
1.7573 - ;;
1.7574 -
1.7575 - solaris*)
1.7576 - no_undefined_flag=' -z text'
1.7577 - if test "$GCC" = yes; then
1.7578 - wlarc='${wl}'
1.7579 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.7580 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.7581 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.7582 - else
1.7583 - wlarc=''
1.7584 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7585 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.7586 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.7587 - fi
1.7588 - hardcode_libdir_flag_spec='-R$libdir'
1.7589 - hardcode_shlibpath_var=no
1.7590 - case $host_os in
1.7591 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.7592 - *)
1.7593 - # The compiler driver will combine linker options so we
1.7594 - # cannot just pass the convience library names through
1.7595 - # without $wl, iff we do not link with $LD.
1.7596 - # Luckily, gcc supports the same syntax we need for Sun Studio.
1.7597 - # Supported since Solaris 2.6 (maybe 2.5.1?)
1.7598 - case $wlarc in
1.7599 - '')
1.7600 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
1.7601 - *)
1.7602 - whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
1.7603 - esac ;;
1.7604 - esac
1.7605 - link_all_deplibs=yes
1.7606 - ;;
1.7607 -
1.7608 - sunos4*)
1.7609 - if test "x$host_vendor" = xsequent; then
1.7610 - # Use $CC to link under sequent, because it throws in some extra .o
1.7611 - # files that make .init and .fini sections work.
1.7612 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.7613 - else
1.7614 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.7615 - fi
1.7616 - hardcode_libdir_flag_spec='-L$libdir'
1.7617 - hardcode_direct=yes
1.7618 - hardcode_minus_L=yes
1.7619 - hardcode_shlibpath_var=no
1.7620 - ;;
1.7621 -
1.7622 - sysv4)
1.7623 - case $host_vendor in
1.7624 - sni)
1.7625 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7626 - hardcode_direct=yes # is this really true???
1.7627 - ;;
1.7628 - siemens)
1.7629 - ## LD is ld it makes a PLAMLIB
1.7630 - ## CC just makes a GrossModule.
1.7631 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.7632 - reload_cmds='$CC -r -o $output$reload_objs'
1.7633 - hardcode_direct=no
1.7634 - ;;
1.7635 - motorola)
1.7636 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7637 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
1.7638 - ;;
1.7639 - esac
1.7640 - runpath_var='LD_RUN_PATH'
1.7641 - hardcode_shlibpath_var=no
1.7642 - ;;
1.7643 -
1.7644 - sysv4.3*)
1.7645 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7646 - hardcode_shlibpath_var=no
1.7647 - export_dynamic_flag_spec='-Bexport'
1.7648 - ;;
1.7649 -
1.7650 - sysv4*MP*)
1.7651 - if test -d /usr/nec; then
1.7652 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7653 - hardcode_shlibpath_var=no
1.7654 - runpath_var=LD_RUN_PATH
1.7655 - hardcode_runpath_var=yes
1.7656 - ld_shlibs=yes
1.7657 - fi
1.7658 - ;;
1.7659 -
1.7660 - sysv4.2uw2*)
1.7661 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.7662 - hardcode_direct=yes
1.7663 - hardcode_minus_L=no
1.7664 - hardcode_shlibpath_var=no
1.7665 - hardcode_runpath_var=yes
1.7666 - runpath_var=LD_RUN_PATH
1.7667 - ;;
1.7668 -
1.7669 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.7670 - no_undefined_flag='${wl}-z ${wl}text'
1.7671 - if test "$GCC" = yes; then
1.7672 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.7673 - else
1.7674 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.7675 - fi
1.7676 - runpath_var='LD_RUN_PATH'
1.7677 - hardcode_shlibpath_var=no
1.7678 - ;;
1.7679 -
1.7680 - sysv5*)
1.7681 - no_undefined_flag=' -z text'
1.7682 - # $CC -shared without GNU ld will not create a library from C++
1.7683 - # object files and a static libstdc++, better avoid it by now
1.7684 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7685 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.7686 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.7687 - hardcode_libdir_flag_spec=
1.7688 - hardcode_shlibpath_var=no
1.7689 - runpath_var='LD_RUN_PATH'
1.7690 - ;;
1.7691 -
1.7692 - uts4*)
1.7693 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.7694 - hardcode_libdir_flag_spec='-L$libdir'
1.7695 - hardcode_shlibpath_var=no
1.7696 - ;;
1.7697 -
1.7698 - *)
1.7699 - ld_shlibs=no
1.7700 - ;;
1.7701 - esac
1.7702 - fi
1.7703 -
1.7704 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
1.7705 -echo "${ECHO_T}$ld_shlibs" >&6
1.7706 -test "$ld_shlibs" = no && can_build_shared=no
1.7707 -
1.7708 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.7709 -if test "$GCC" = yes; then
1.7710 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.7711 -fi
1.7712 -
1.7713 -#
1.7714 -# Do we need to explicitly link libc?
1.7715 -#
1.7716 -case "x$archive_cmds_need_lc" in
1.7717 -x|xyes)
1.7718 - # Assume -lc should be added
1.7719 - archive_cmds_need_lc=yes
1.7720 -
1.7721 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.7722 - case $archive_cmds in
1.7723 - *'~'*)
1.7724 - # FIXME: we may have to deal with multi-command sequences.
1.7725 - ;;
1.7726 - '$CC '*)
1.7727 - # Test whether the compiler implicitly links with -lc since on some
1.7728 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.7729 - # to ld, don't add -lc before -lgcc.
1.7730 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.7731 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
1.7732 - $rm conftest*
1.7733 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.7734 -
1.7735 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.7736 - (eval $ac_compile) 2>&5
1.7737 - ac_status=$?
1.7738 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7739 - (exit $ac_status); } 2>conftest.err; then
1.7740 - soname=conftest
1.7741 - lib=conftest
1.7742 - libobjs=conftest.$ac_objext
1.7743 - deplibs=
1.7744 - wl=$lt_prog_compiler_wl
1.7745 - compiler_flags=-v
1.7746 - linker_flags=-v
1.7747 - verstring=
1.7748 - output_objdir=.
1.7749 - libname=conftest
1.7750 - lt_save_allow_undefined_flag=$allow_undefined_flag
1.7751 - allow_undefined_flag=
1.7752 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.7753 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.7754 - ac_status=$?
1.7755 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7756 - (exit $ac_status); }
1.7757 - then
1.7758 - archive_cmds_need_lc=no
1.7759 - else
1.7760 - archive_cmds_need_lc=yes
1.7761 - fi
1.7762 - allow_undefined_flag=$lt_save_allow_undefined_flag
1.7763 - else
1.7764 - cat conftest.err 1>&5
1.7765 - fi
1.7766 - $rm conftest*
1.7767 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
1.7768 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
1.7769 - ;;
1.7770 - esac
1.7771 - fi
1.7772 - ;;
1.7773 -esac
1.7774 -
1.7775 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.7776 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
1.7777 -library_names_spec=
1.7778 -libname_spec='lib$name'
1.7779 -soname_spec=
1.7780 -shrext_cmds=".so"
1.7781 -postinstall_cmds=
1.7782 -postuninstall_cmds=
1.7783 -finish_cmds=
1.7784 -finish_eval=
1.7785 -shlibpath_var=
1.7786 -shlibpath_overrides_runpath=unknown
1.7787 -version_type=none
1.7788 -dynamic_linker="$host_os ld.so"
1.7789 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.7790 -if test "$GCC" = yes; then
1.7791 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.7792 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.7793 - # if the path contains ";" then we assume it to be the separator
1.7794 - # otherwise default to the standard path separator (i.e. ":") - it is
1.7795 - # assumed that no part of a normal pathname contains ";" but that should
1.7796 - # okay in the real world where ";" in dirpaths is itself problematic.
1.7797 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.7798 - else
1.7799 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.7800 - fi
1.7801 -else
1.7802 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.7803 -fi
1.7804 -need_lib_prefix=unknown
1.7805 -hardcode_into_libs=no
1.7806 -
1.7807 -# when you set need_version to no, make sure it does not cause -set_version
1.7808 -# flags to be left without arguments
1.7809 -need_version=unknown
1.7810 -
1.7811 -case $host_os in
1.7812 -aix3*)
1.7813 - version_type=linux
1.7814 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.7815 - shlibpath_var=LIBPATH
1.7816 -
1.7817 - # AIX 3 has no versioning support, so we append a major version to the name.
1.7818 - soname_spec='${libname}${release}${shared_ext}$major'
1.7819 - ;;
1.7820 -
1.7821 -aix4* | aix5*)
1.7822 - version_type=linux
1.7823 - need_lib_prefix=no
1.7824 - need_version=no
1.7825 - hardcode_into_libs=yes
1.7826 - if test "$host_cpu" = ia64; then
1.7827 - # AIX 5 supports IA64
1.7828 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.7829 - shlibpath_var=LD_LIBRARY_PATH
1.7830 - else
1.7831 - # With GCC up to 2.95.x, collect2 would create an import file
1.7832 - # for dependence libraries. The import file would start with
1.7833 - # the line `#! .'. This would cause the generated library to
1.7834 - # depend on `.', always an invalid library. This was fixed in
1.7835 - # development snapshots of GCC prior to 3.0.
1.7836 - case $host_os in
1.7837 - aix4 | aix4.[01] | aix4.[01].*)
1.7838 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.7839 - echo ' yes '
1.7840 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.7841 - :
1.7842 - else
1.7843 - can_build_shared=no
1.7844 - fi
1.7845 - ;;
1.7846 - esac
1.7847 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.7848 - # soname into executable. Probably we can add versioning support to
1.7849 - # collect2, so additional links can be useful in future.
1.7850 - if test "$aix_use_runtimelinking" = yes; then
1.7851 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.7852 - # instead of lib<name>.a to let people know that these are not
1.7853 - # typical AIX shared libraries.
1.7854 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.7855 - else
1.7856 - # We preserve .a as extension for shared libraries through AIX4.2
1.7857 - # and later when we are not doing run time linking.
1.7858 - library_names_spec='${libname}${release}.a $libname.a'
1.7859 - soname_spec='${libname}${release}${shared_ext}$major'
1.7860 - fi
1.7861 - shlibpath_var=LIBPATH
1.7862 - fi
1.7863 - ;;
1.7864 -
1.7865 -amigaos*)
1.7866 - library_names_spec='$libname.ixlibrary $libname.a'
1.7867 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.7868 - 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.7869 - ;;
1.7870 -
1.7871 -beos*)
1.7872 - library_names_spec='${libname}${shared_ext}'
1.7873 - dynamic_linker="$host_os ld.so"
1.7874 - shlibpath_var=LIBRARY_PATH
1.7875 - ;;
1.7876 -
1.7877 -bsdi[45]*)
1.7878 - version_type=linux
1.7879 - need_version=no
1.7880 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.7881 - soname_spec='${libname}${release}${shared_ext}$major'
1.7882 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.7883 - shlibpath_var=LD_LIBRARY_PATH
1.7884 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.7885 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.7886 - # the default ld.so.conf also contains /usr/contrib/lib and
1.7887 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.7888 - # libtool to hard-code these into programs
1.7889 - ;;
1.7890 -
1.7891 -cygwin* | mingw* | pw32*)
1.7892 - version_type=windows
1.7893 - shrext_cmds=".dll"
1.7894 - need_version=no
1.7895 - need_lib_prefix=no
1.7896 -
1.7897 - case $GCC,$host_os in
1.7898 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.7899 - library_names_spec='$libname.dll.a'
1.7900 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.7901 - postinstall_cmds='base_file=`basename \${file}`~
1.7902 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.7903 - dldir=$destdir/`dirname \$dlpath`~
1.7904 - test -d \$dldir || mkdir -p \$dldir~
1.7905 - $install_prog $dir/$dlname \$dldir/$dlname~
1.7906 - chmod a+x \$dldir/$dlname'
1.7907 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.7908 - dlpath=$dir/\$dldll~
1.7909 - $rm \$dlpath'
1.7910 - shlibpath_overrides_runpath=yes
1.7911 -
1.7912 - case $host_os in
1.7913 - cygwin*)
1.7914 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.7915 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.7916 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.7917 - ;;
1.7918 - mingw*)
1.7919 - # MinGW DLLs use traditional 'lib' prefix
1.7920 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.7921 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.7922 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.7923 - # It is most probably a Windows format PATH printed by
1.7924 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.7925 - # path with ; separators, and with drive letters. We can handle the
1.7926 - # drive letters (cygwin fileutils understands them), so leave them,
1.7927 - # especially as we might pass files found there to a mingw objdump,
1.7928 - # which wouldn't understand a cygwinified path. Ahh.
1.7929 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.7930 - else
1.7931 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.7932 - fi
1.7933 - ;;
1.7934 - pw32*)
1.7935 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.7936 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.7937 - ;;
1.7938 - esac
1.7939 - ;;
1.7940 -
1.7941 - *)
1.7942 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.7943 - ;;
1.7944 - esac
1.7945 - dynamic_linker='Win32 ld.exe'
1.7946 - # FIXME: first we should search . and the directory the executable is in
1.7947 - shlibpath_var=PATH
1.7948 - ;;
1.7949 -
1.7950 -darwin* | rhapsody*)
1.7951 - dynamic_linker="$host_os dyld"
1.7952 - version_type=darwin
1.7953 - need_lib_prefix=no
1.7954 - need_version=no
1.7955 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.7956 - soname_spec='${libname}${release}${major}$shared_ext'
1.7957 - shlibpath_overrides_runpath=yes
1.7958 - shlibpath_var=DYLD_LIBRARY_PATH
1.7959 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.7960 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.7961 - if test "$GCC" = yes; then
1.7962 - 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.7963 - else
1.7964 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.7965 - fi
1.7966 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.7967 - ;;
1.7968 -
1.7969 -dgux*)
1.7970 - version_type=linux
1.7971 - need_lib_prefix=no
1.7972 - need_version=no
1.7973 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.7974 - soname_spec='${libname}${release}${shared_ext}$major'
1.7975 - shlibpath_var=LD_LIBRARY_PATH
1.7976 - ;;
1.7977 -
1.7978 -freebsd1*)
1.7979 - dynamic_linker=no
1.7980 - ;;
1.7981 -
1.7982 -kfreebsd*-gnu)
1.7983 - version_type=linux
1.7984 - need_lib_prefix=no
1.7985 - need_version=no
1.7986 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.7987 - soname_spec='${libname}${release}${shared_ext}$major'
1.7988 - shlibpath_var=LD_LIBRARY_PATH
1.7989 - shlibpath_overrides_runpath=no
1.7990 - hardcode_into_libs=yes
1.7991 - dynamic_linker='GNU ld.so'
1.7992 - ;;
1.7993 -
1.7994 -freebsd* | dragonfly*)
1.7995 - # DragonFly does not have aout. When/if they implement a new
1.7996 - # versioning mechanism, adjust this.
1.7997 - if test -x /usr/bin/objformat; then
1.7998 - objformat=`/usr/bin/objformat`
1.7999 - else
1.8000 - case $host_os in
1.8001 - freebsd[123]*) objformat=aout ;;
1.8002 - *) objformat=elf ;;
1.8003 - esac
1.8004 - fi
1.8005 - version_type=freebsd-$objformat
1.8006 - case $version_type in
1.8007 - freebsd-elf*)
1.8008 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.8009 - need_version=no
1.8010 - need_lib_prefix=no
1.8011 - ;;
1.8012 - freebsd-*)
1.8013 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.8014 - need_version=yes
1.8015 - ;;
1.8016 - esac
1.8017 - shlibpath_var=LD_LIBRARY_PATH
1.8018 - case $host_os in
1.8019 - freebsd2*)
1.8020 - shlibpath_overrides_runpath=yes
1.8021 - ;;
1.8022 - freebsd3.[01]* | freebsdelf3.[01]*)
1.8023 - shlibpath_overrides_runpath=yes
1.8024 - hardcode_into_libs=yes
1.8025 - ;;
1.8026 - *) # from 3.2 on
1.8027 - shlibpath_overrides_runpath=no
1.8028 - hardcode_into_libs=yes
1.8029 - ;;
1.8030 - esac
1.8031 - ;;
1.8032 -
1.8033 -gnu*)
1.8034 - version_type=linux
1.8035 - need_lib_prefix=no
1.8036 - need_version=no
1.8037 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.8038 - soname_spec='${libname}${release}${shared_ext}$major'
1.8039 - shlibpath_var=LD_LIBRARY_PATH
1.8040 - hardcode_into_libs=yes
1.8041 - ;;
1.8042 -
1.8043 -hpux9* | hpux10* | hpux11*)
1.8044 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.8045 - # link against other versions.
1.8046 - version_type=sunos
1.8047 - need_lib_prefix=no
1.8048 - need_version=no
1.8049 - case $host_cpu in
1.8050 - ia64*)
1.8051 - shrext_cmds='.so'
1.8052 - hardcode_into_libs=yes
1.8053 - dynamic_linker="$host_os dld.so"
1.8054 - shlibpath_var=LD_LIBRARY_PATH
1.8055 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.8056 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8057 - soname_spec='${libname}${release}${shared_ext}$major'
1.8058 - if test "X$HPUX_IA64_MODE" = X32; then
1.8059 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.8060 - else
1.8061 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.8062 - fi
1.8063 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.8064 - ;;
1.8065 - hppa*64*)
1.8066 - shrext_cmds='.sl'
1.8067 - hardcode_into_libs=yes
1.8068 - dynamic_linker="$host_os dld.sl"
1.8069 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.8070 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.8071 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8072 - soname_spec='${libname}${release}${shared_ext}$major'
1.8073 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.8074 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.8075 - ;;
1.8076 - *)
1.8077 - shrext_cmds='.sl'
1.8078 - dynamic_linker="$host_os dld.sl"
1.8079 - shlibpath_var=SHLIB_PATH
1.8080 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.8081 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8082 - soname_spec='${libname}${release}${shared_ext}$major'
1.8083 - ;;
1.8084 - esac
1.8085 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.8086 - postinstall_cmds='chmod 555 $lib'
1.8087 - ;;
1.8088 -
1.8089 -irix5* | irix6* | nonstopux*)
1.8090 - case $host_os in
1.8091 - nonstopux*) version_type=nonstopux ;;
1.8092 - *)
1.8093 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.8094 - version_type=linux
1.8095 - else
1.8096 - version_type=irix
1.8097 - fi ;;
1.8098 - esac
1.8099 - need_lib_prefix=no
1.8100 - need_version=no
1.8101 - soname_spec='${libname}${release}${shared_ext}$major'
1.8102 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.8103 - case $host_os in
1.8104 - irix5* | nonstopux*)
1.8105 - libsuff= shlibsuff=
1.8106 - ;;
1.8107 - *)
1.8108 - case $LD in # libtool.m4 will add one of these switches to LD
1.8109 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.8110 - libsuff= shlibsuff= libmagic=32-bit;;
1.8111 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.8112 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.8113 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.8114 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.8115 - *) libsuff= shlibsuff= libmagic=never-match;;
1.8116 - esac
1.8117 - ;;
1.8118 - esac
1.8119 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.8120 - shlibpath_overrides_runpath=no
1.8121 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.8122 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.8123 - hardcode_into_libs=yes
1.8124 - ;;
1.8125 -
1.8126 -# No shared lib support for Linux oldld, aout, or coff.
1.8127 -linux*oldld* | linux*aout* | linux*coff*)
1.8128 - dynamic_linker=no
1.8129 - ;;
1.8130 -
1.8131 -# This must be Linux ELF.
1.8132 -linux*)
1.8133 - version_type=linux
1.8134 - need_lib_prefix=no
1.8135 - need_version=no
1.8136 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8137 - soname_spec='${libname}${release}${shared_ext}$major'
1.8138 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.8139 - shlibpath_var=LD_LIBRARY_PATH
1.8140 - shlibpath_overrides_runpath=no
1.8141 - # This implies no fast_install, which is unacceptable.
1.8142 - # Some rework will be needed to allow for fast_install
1.8143 - # before this can be enabled.
1.8144 - hardcode_into_libs=yes
1.8145 -
1.8146 - # Append ld.so.conf contents to the search path
1.8147 - if test -f /etc/ld.so.conf; then
1.8148 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1.8149 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.8150 - fi
1.8151 -
1.8152 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.8153 - # powerpc, because MkLinux only supported shared libraries with the
1.8154 - # GNU dynamic linker. Since this was broken with cross compilers,
1.8155 - # most powerpc-linux boxes support dynamic linking these days and
1.8156 - # people can always --disable-shared, the test was removed, and we
1.8157 - # assume the GNU/Linux dynamic linker is in use.
1.8158 - dynamic_linker='GNU/Linux ld.so'
1.8159 - ;;
1.8160 -
1.8161 -knetbsd*-gnu)
1.8162 - version_type=linux
1.8163 - need_lib_prefix=no
1.8164 - need_version=no
1.8165 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8166 - soname_spec='${libname}${release}${shared_ext}$major'
1.8167 - shlibpath_var=LD_LIBRARY_PATH
1.8168 - shlibpath_overrides_runpath=no
1.8169 - hardcode_into_libs=yes
1.8170 - dynamic_linker='GNU ld.so'
1.8171 - ;;
1.8172 -
1.8173 -netbsd*)
1.8174 - version_type=sunos
1.8175 - need_lib_prefix=no
1.8176 - need_version=no
1.8177 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.8178 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8179 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.8180 - dynamic_linker='NetBSD (a.out) ld.so'
1.8181 - else
1.8182 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.8183 - soname_spec='${libname}${release}${shared_ext}$major'
1.8184 - dynamic_linker='NetBSD ld.elf_so'
1.8185 - fi
1.8186 - shlibpath_var=LD_LIBRARY_PATH
1.8187 - shlibpath_overrides_runpath=yes
1.8188 - hardcode_into_libs=yes
1.8189 - ;;
1.8190 -
1.8191 -newsos6)
1.8192 - version_type=linux
1.8193 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8194 - shlibpath_var=LD_LIBRARY_PATH
1.8195 - shlibpath_overrides_runpath=yes
1.8196 - ;;
1.8197 -
1.8198 -nto-qnx*)
1.8199 - version_type=linux
1.8200 - need_lib_prefix=no
1.8201 - need_version=no
1.8202 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8203 - soname_spec='${libname}${release}${shared_ext}$major'
1.8204 - shlibpath_var=LD_LIBRARY_PATH
1.8205 - shlibpath_overrides_runpath=yes
1.8206 - ;;
1.8207 -
1.8208 -openbsd*)
1.8209 - version_type=sunos
1.8210 - need_lib_prefix=no
1.8211 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1.8212 - case $host_os in
1.8213 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1.8214 - *) need_version=no ;;
1.8215 - esac
1.8216 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8217 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.8218 - shlibpath_var=LD_LIBRARY_PATH
1.8219 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.8220 - case $host_os in
1.8221 - openbsd2.[89] | openbsd2.[89].*)
1.8222 - shlibpath_overrides_runpath=no
1.8223 - ;;
1.8224 - *)
1.8225 - shlibpath_overrides_runpath=yes
1.8226 - ;;
1.8227 - esac
1.8228 - else
1.8229 - shlibpath_overrides_runpath=yes
1.8230 - fi
1.8231 - ;;
1.8232 -
1.8233 -os2*)
1.8234 - libname_spec='$name'
1.8235 - shrext_cmds=".dll"
1.8236 - need_lib_prefix=no
1.8237 - library_names_spec='$libname${shared_ext} $libname.a'
1.8238 - dynamic_linker='OS/2 ld.exe'
1.8239 - shlibpath_var=LIBPATH
1.8240 - ;;
1.8241 -
1.8242 -osf3* | osf4* | osf5*)
1.8243 - version_type=osf
1.8244 - need_lib_prefix=no
1.8245 - need_version=no
1.8246 - soname_spec='${libname}${release}${shared_ext}$major'
1.8247 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8248 - shlibpath_var=LD_LIBRARY_PATH
1.8249 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.8250 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.8251 - ;;
1.8252 -
1.8253 -sco3.2v5*)
1.8254 - version_type=osf
1.8255 - soname_spec='${libname}${release}${shared_ext}$major'
1.8256 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8257 - shlibpath_var=LD_LIBRARY_PATH
1.8258 - ;;
1.8259 -
1.8260 -solaris*)
1.8261 - version_type=linux
1.8262 - need_lib_prefix=no
1.8263 - need_version=no
1.8264 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8265 - soname_spec='${libname}${release}${shared_ext}$major'
1.8266 - shlibpath_var=LD_LIBRARY_PATH
1.8267 - shlibpath_overrides_runpath=yes
1.8268 - hardcode_into_libs=yes
1.8269 - # ldd complains unless libraries are executable
1.8270 - postinstall_cmds='chmod +x $lib'
1.8271 - ;;
1.8272 -
1.8273 -sunos4*)
1.8274 - version_type=sunos
1.8275 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.8276 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.8277 - shlibpath_var=LD_LIBRARY_PATH
1.8278 - shlibpath_overrides_runpath=yes
1.8279 - if test "$with_gnu_ld" = yes; then
1.8280 - need_lib_prefix=no
1.8281 - fi
1.8282 - need_version=yes
1.8283 - ;;
1.8284 -
1.8285 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.8286 - version_type=linux
1.8287 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8288 - soname_spec='${libname}${release}${shared_ext}$major'
1.8289 - shlibpath_var=LD_LIBRARY_PATH
1.8290 - case $host_vendor in
1.8291 - sni)
1.8292 - shlibpath_overrides_runpath=no
1.8293 - need_lib_prefix=no
1.8294 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.8295 - runpath_var=LD_RUN_PATH
1.8296 - ;;
1.8297 - siemens)
1.8298 - need_lib_prefix=no
1.8299 - ;;
1.8300 - motorola)
1.8301 - need_lib_prefix=no
1.8302 - need_version=no
1.8303 - shlibpath_overrides_runpath=no
1.8304 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.8305 - ;;
1.8306 - esac
1.8307 - ;;
1.8308 -
1.8309 -sysv4*MP*)
1.8310 - if test -d /usr/nec ;then
1.8311 - version_type=linux
1.8312 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.8313 - soname_spec='$libname${shared_ext}.$major'
1.8314 - shlibpath_var=LD_LIBRARY_PATH
1.8315 - fi
1.8316 - ;;
1.8317 -
1.8318 -uts4*)
1.8319 - version_type=linux
1.8320 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.8321 - soname_spec='${libname}${release}${shared_ext}$major'
1.8322 - shlibpath_var=LD_LIBRARY_PATH
1.8323 - ;;
1.8324 -
1.8325 -*)
1.8326 - dynamic_linker=no
1.8327 - ;;
1.8328 -esac
1.8329 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.8330 -echo "${ECHO_T}$dynamic_linker" >&6
1.8331 -test "$dynamic_linker" = no && can_build_shared=no
1.8332 -
1.8333 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.8334 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1.8335 -hardcode_action=
1.8336 -if test -n "$hardcode_libdir_flag_spec" || \
1.8337 - test -n "$runpath_var" || \
1.8338 - test "X$hardcode_automatic" = "Xyes" ; then
1.8339 -
1.8340 - # We can hardcode non-existant directories.
1.8341 - if test "$hardcode_direct" != no &&
1.8342 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.8343 - # have to relink, otherwise we might link with an installed library
1.8344 - # when we should be linking with a yet-to-be-installed one
1.8345 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
1.8346 - test "$hardcode_minus_L" != no; then
1.8347 - # Linking always hardcodes the temporary library directory.
1.8348 - hardcode_action=relink
1.8349 - else
1.8350 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.8351 - hardcode_action=immediate
1.8352 - fi
1.8353 -else
1.8354 - # We cannot hardcode anything, or else we can only hardcode existing
1.8355 - # directories.
1.8356 - hardcode_action=unsupported
1.8357 -fi
1.8358 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
1.8359 -echo "${ECHO_T}$hardcode_action" >&6
1.8360 -
1.8361 -if test "$hardcode_action" = relink; then
1.8362 - # Fast installation is not supported
1.8363 - enable_fast_install=no
1.8364 -elif test "$shlibpath_overrides_runpath" = yes ||
1.8365 - test "$enable_shared" = no; then
1.8366 - # Fast installation is not necessary
1.8367 - enable_fast_install=needless
1.8368 -fi
1.8369 -
1.8370 -striplib=
1.8371 -old_striplib=
1.8372 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.8373 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
1.8374 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.8375 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.8376 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.8377 - echo "$as_me:$LINENO: result: yes" >&5
1.8378 -echo "${ECHO_T}yes" >&6
1.8379 -else
1.8380 -# FIXME - insert some real tests, host_os isn't really good enough
1.8381 - case $host_os in
1.8382 - darwin*)
1.8383 - if test -n "$STRIP" ; then
1.8384 - striplib="$STRIP -x"
1.8385 - echo "$as_me:$LINENO: result: yes" >&5
1.8386 -echo "${ECHO_T}yes" >&6
1.8387 - else
1.8388 - echo "$as_me:$LINENO: result: no" >&5
1.8389 -echo "${ECHO_T}no" >&6
1.8390 -fi
1.8391 - ;;
1.8392 - *)
1.8393 - echo "$as_me:$LINENO: result: no" >&5
1.8394 -echo "${ECHO_T}no" >&6
1.8395 - ;;
1.8396 - esac
1.8397 -fi
1.8398 -
1.8399 -if test "x$enable_dlopen" != xyes; then
1.8400 - enable_dlopen=unknown
1.8401 - enable_dlopen_self=unknown
1.8402 - enable_dlopen_self_static=unknown
1.8403 -else
1.8404 - lt_cv_dlopen=no
1.8405 - lt_cv_dlopen_libs=
1.8406 -
1.8407 - case $host_os in
1.8408 - beos*)
1.8409 - lt_cv_dlopen="load_add_on"
1.8410 - lt_cv_dlopen_libs=
1.8411 - lt_cv_dlopen_self=yes
1.8412 - ;;
1.8413 -
1.8414 - mingw* | pw32*)
1.8415 - lt_cv_dlopen="LoadLibrary"
1.8416 - lt_cv_dlopen_libs=
1.8417 - ;;
1.8418 -
1.8419 - cygwin*)
1.8420 - lt_cv_dlopen="dlopen"
1.8421 - lt_cv_dlopen_libs=
1.8422 - ;;
1.8423 -
1.8424 - darwin*)
1.8425 - # if libdl is installed we need to link against it
1.8426 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.8427 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
1.8428 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.8429 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8430 -else
1.8431 - ac_check_lib_save_LIBS=$LIBS
1.8432 -LIBS="-ldl $LIBS"
1.8433 -cat >conftest.$ac_ext <<_ACEOF
1.8434 -/* confdefs.h. */
1.8435 -_ACEOF
1.8436 -cat confdefs.h >>conftest.$ac_ext
1.8437 -cat >>conftest.$ac_ext <<_ACEOF
1.8438 -/* end confdefs.h. */
1.8439 -
1.8440 -/* Override any gcc2 internal prototype to avoid an error. */
1.8441 -#ifdef __cplusplus
1.8442 -extern "C"
1.8443 -#endif
1.8444 -/* We use char because int might match the return type of a gcc2
1.8445 - builtin and then its argument prototype would still apply. */
1.8446 -char dlopen ();
1.8447 -int
1.8448 -main ()
1.8449 -{
1.8450 -dlopen ();
1.8451 - ;
1.8452 - return 0;
1.8453 -}
1.8454 -_ACEOF
1.8455 -rm -f conftest.$ac_objext conftest$ac_exeext
1.8456 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8457 - (eval $ac_link) 2>conftest.er1
1.8458 - ac_status=$?
1.8459 - grep -v '^ *+' conftest.er1 >conftest.err
1.8460 - rm -f conftest.er1
1.8461 - cat conftest.err >&5
1.8462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8463 - (exit $ac_status); } &&
1.8464 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.8465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8466 - (eval $ac_try) 2>&5
1.8467 - ac_status=$?
1.8468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8469 - (exit $ac_status); }; } &&
1.8470 - { ac_try='test -s conftest$ac_exeext'
1.8471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8472 - (eval $ac_try) 2>&5
1.8473 - ac_status=$?
1.8474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8475 - (exit $ac_status); }; }; then
1.8476 - ac_cv_lib_dl_dlopen=yes
1.8477 -else
1.8478 - echo "$as_me: failed program was:" >&5
1.8479 -sed 's/^/| /' conftest.$ac_ext >&5
1.8480 -
1.8481 -ac_cv_lib_dl_dlopen=no
1.8482 -fi
1.8483 -rm -f conftest.err conftest.$ac_objext \
1.8484 - conftest$ac_exeext conftest.$ac_ext
1.8485 -LIBS=$ac_check_lib_save_LIBS
1.8486 -fi
1.8487 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.8488 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
1.8489 -if test $ac_cv_lib_dl_dlopen = yes; then
1.8490 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.8491 -else
1.8492 -
1.8493 - lt_cv_dlopen="dyld"
1.8494 - lt_cv_dlopen_libs=
1.8495 - lt_cv_dlopen_self=yes
1.8496 -
1.8497 -fi
1.8498 -
1.8499 - ;;
1.8500 -
1.8501 - *)
1.8502 - echo "$as_me:$LINENO: checking for shl_load" >&5
1.8503 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
1.8504 -if test "${ac_cv_func_shl_load+set}" = set; then
1.8505 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8506 -else
1.8507 - cat >conftest.$ac_ext <<_ACEOF
1.8508 -/* confdefs.h. */
1.8509 -_ACEOF
1.8510 -cat confdefs.h >>conftest.$ac_ext
1.8511 -cat >>conftest.$ac_ext <<_ACEOF
1.8512 -/* end confdefs.h. */
1.8513 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.8514 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.8515 -#define shl_load innocuous_shl_load
1.8516 -
1.8517 -/* System header to define __stub macros and hopefully few prototypes,
1.8518 - which can conflict with char shl_load (); below.
1.8519 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.8520 - <limits.h> exists even on freestanding compilers. */
1.8521 -
1.8522 -#ifdef __STDC__
1.8523 -# include <limits.h>
1.8524 -#else
1.8525 -# include <assert.h>
1.8526 -#endif
1.8527 -
1.8528 -#undef shl_load
1.8529 -
1.8530 -/* Override any gcc2 internal prototype to avoid an error. */
1.8531 -#ifdef __cplusplus
1.8532 -extern "C"
1.8533 -{
1.8534 -#endif
1.8535 -/* We use char because int might match the return type of a gcc2
1.8536 - builtin and then its argument prototype would still apply. */
1.8537 -char shl_load ();
1.8538 -/* The GNU C library defines this for functions which it implements
1.8539 - to always fail with ENOSYS. Some functions are actually named
1.8540 - something starting with __ and the normal name is an alias. */
1.8541 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
1.8542 -choke me
1.8543 -#else
1.8544 -char (*f) () = shl_load;
1.8545 -#endif
1.8546 -#ifdef __cplusplus
1.8547 -}
1.8548 -#endif
1.8549 -
1.8550 -int
1.8551 -main ()
1.8552 -{
1.8553 -return f != shl_load;
1.8554 - ;
1.8555 - return 0;
1.8556 -}
1.8557 -_ACEOF
1.8558 -rm -f conftest.$ac_objext conftest$ac_exeext
1.8559 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8560 - (eval $ac_link) 2>conftest.er1
1.8561 - ac_status=$?
1.8562 - grep -v '^ *+' conftest.er1 >conftest.err
1.8563 - rm -f conftest.er1
1.8564 - cat conftest.err >&5
1.8565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8566 - (exit $ac_status); } &&
1.8567 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.8568 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8569 - (eval $ac_try) 2>&5
1.8570 - ac_status=$?
1.8571 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8572 - (exit $ac_status); }; } &&
1.8573 - { ac_try='test -s conftest$ac_exeext'
1.8574 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8575 - (eval $ac_try) 2>&5
1.8576 - ac_status=$?
1.8577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8578 - (exit $ac_status); }; }; then
1.8579 - ac_cv_func_shl_load=yes
1.8580 -else
1.8581 - echo "$as_me: failed program was:" >&5
1.8582 -sed 's/^/| /' conftest.$ac_ext >&5
1.8583 -
1.8584 -ac_cv_func_shl_load=no
1.8585 -fi
1.8586 -rm -f conftest.err conftest.$ac_objext \
1.8587 - conftest$ac_exeext conftest.$ac_ext
1.8588 -fi
1.8589 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.8590 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
1.8591 -if test $ac_cv_func_shl_load = yes; then
1.8592 - lt_cv_dlopen="shl_load"
1.8593 -else
1.8594 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.8595 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
1.8596 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.8597 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8598 -else
1.8599 - ac_check_lib_save_LIBS=$LIBS
1.8600 -LIBS="-ldld $LIBS"
1.8601 -cat >conftest.$ac_ext <<_ACEOF
1.8602 -/* confdefs.h. */
1.8603 -_ACEOF
1.8604 -cat confdefs.h >>conftest.$ac_ext
1.8605 -cat >>conftest.$ac_ext <<_ACEOF
1.8606 -/* end confdefs.h. */
1.8607 -
1.8608 -/* Override any gcc2 internal prototype to avoid an error. */
1.8609 -#ifdef __cplusplus
1.8610 -extern "C"
1.8611 -#endif
1.8612 -/* We use char because int might match the return type of a gcc2
1.8613 - builtin and then its argument prototype would still apply. */
1.8614 -char shl_load ();
1.8615 -int
1.8616 -main ()
1.8617 -{
1.8618 -shl_load ();
1.8619 - ;
1.8620 - return 0;
1.8621 -}
1.8622 -_ACEOF
1.8623 -rm -f conftest.$ac_objext conftest$ac_exeext
1.8624 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8625 - (eval $ac_link) 2>conftest.er1
1.8626 - ac_status=$?
1.8627 - grep -v '^ *+' conftest.er1 >conftest.err
1.8628 - rm -f conftest.er1
1.8629 - cat conftest.err >&5
1.8630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8631 - (exit $ac_status); } &&
1.8632 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.8633 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8634 - (eval $ac_try) 2>&5
1.8635 - ac_status=$?
1.8636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8637 - (exit $ac_status); }; } &&
1.8638 - { ac_try='test -s conftest$ac_exeext'
1.8639 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8640 - (eval $ac_try) 2>&5
1.8641 - ac_status=$?
1.8642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8643 - (exit $ac_status); }; }; then
1.8644 - ac_cv_lib_dld_shl_load=yes
1.8645 -else
1.8646 - echo "$as_me: failed program was:" >&5
1.8647 -sed 's/^/| /' conftest.$ac_ext >&5
1.8648 -
1.8649 -ac_cv_lib_dld_shl_load=no
1.8650 -fi
1.8651 -rm -f conftest.err conftest.$ac_objext \
1.8652 - conftest$ac_exeext conftest.$ac_ext
1.8653 -LIBS=$ac_check_lib_save_LIBS
1.8654 -fi
1.8655 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.8656 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
1.8657 -if test $ac_cv_lib_dld_shl_load = yes; then
1.8658 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.8659 -else
1.8660 - echo "$as_me:$LINENO: checking for dlopen" >&5
1.8661 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
1.8662 -if test "${ac_cv_func_dlopen+set}" = set; then
1.8663 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8664 -else
1.8665 - cat >conftest.$ac_ext <<_ACEOF
1.8666 -/* confdefs.h. */
1.8667 -_ACEOF
1.8668 -cat confdefs.h >>conftest.$ac_ext
1.8669 -cat >>conftest.$ac_ext <<_ACEOF
1.8670 -/* end confdefs.h. */
1.8671 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.8672 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.8673 -#define dlopen innocuous_dlopen
1.8674 -
1.8675 -/* System header to define __stub macros and hopefully few prototypes,
1.8676 - which can conflict with char dlopen (); below.
1.8677 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.8678 - <limits.h> exists even on freestanding compilers. */
1.8679 -
1.8680 -#ifdef __STDC__
1.8681 -# include <limits.h>
1.8682 -#else
1.8683 -# include <assert.h>
1.8684 -#endif
1.8685 -
1.8686 -#undef dlopen
1.8687 -
1.8688 -/* Override any gcc2 internal prototype to avoid an error. */
1.8689 -#ifdef __cplusplus
1.8690 -extern "C"
1.8691 -{
1.8692 -#endif
1.8693 -/* We use char because int might match the return type of a gcc2
1.8694 - builtin and then its argument prototype would still apply. */
1.8695 -char dlopen ();
1.8696 -/* The GNU C library defines this for functions which it implements
1.8697 - to always fail with ENOSYS. Some functions are actually named
1.8698 - something starting with __ and the normal name is an alias. */
1.8699 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
1.8700 -choke me
1.8701 -#else
1.8702 -char (*f) () = dlopen;
1.8703 -#endif
1.8704 -#ifdef __cplusplus
1.8705 -}
1.8706 -#endif
1.8707 -
1.8708 -int
1.8709 -main ()
1.8710 -{
1.8711 -return f != dlopen;
1.8712 - ;
1.8713 - return 0;
1.8714 -}
1.8715 -_ACEOF
1.8716 -rm -f conftest.$ac_objext conftest$ac_exeext
1.8717 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8718 - (eval $ac_link) 2>conftest.er1
1.8719 - ac_status=$?
1.8720 - grep -v '^ *+' conftest.er1 >conftest.err
1.8721 - rm -f conftest.er1
1.8722 - cat conftest.err >&5
1.8723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8724 - (exit $ac_status); } &&
1.8725 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.8726 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8727 - (eval $ac_try) 2>&5
1.8728 - ac_status=$?
1.8729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8730 - (exit $ac_status); }; } &&
1.8731 - { ac_try='test -s conftest$ac_exeext'
1.8732 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8733 - (eval $ac_try) 2>&5
1.8734 - ac_status=$?
1.8735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8736 - (exit $ac_status); }; }; then
1.8737 - ac_cv_func_dlopen=yes
1.8738 -else
1.8739 - echo "$as_me: failed program was:" >&5
1.8740 -sed 's/^/| /' conftest.$ac_ext >&5
1.8741 -
1.8742 -ac_cv_func_dlopen=no
1.8743 -fi
1.8744 -rm -f conftest.err conftest.$ac_objext \
1.8745 - conftest$ac_exeext conftest.$ac_ext
1.8746 -fi
1.8747 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.8748 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
1.8749 -if test $ac_cv_func_dlopen = yes; then
1.8750 - lt_cv_dlopen="dlopen"
1.8751 -else
1.8752 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.8753 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
1.8754 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.8755 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8756 -else
1.8757 - ac_check_lib_save_LIBS=$LIBS
1.8758 -LIBS="-ldl $LIBS"
1.8759 -cat >conftest.$ac_ext <<_ACEOF
1.8760 -/* confdefs.h. */
1.8761 -_ACEOF
1.8762 -cat confdefs.h >>conftest.$ac_ext
1.8763 -cat >>conftest.$ac_ext <<_ACEOF
1.8764 -/* end confdefs.h. */
1.8765 -
1.8766 -/* Override any gcc2 internal prototype to avoid an error. */
1.8767 -#ifdef __cplusplus
1.8768 -extern "C"
1.8769 -#endif
1.8770 -/* We use char because int might match the return type of a gcc2
1.8771 - builtin and then its argument prototype would still apply. */
1.8772 -char dlopen ();
1.8773 -int
1.8774 -main ()
1.8775 -{
1.8776 -dlopen ();
1.8777 - ;
1.8778 - return 0;
1.8779 -}
1.8780 -_ACEOF
1.8781 -rm -f conftest.$ac_objext conftest$ac_exeext
1.8782 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8783 - (eval $ac_link) 2>conftest.er1
1.8784 - ac_status=$?
1.8785 - grep -v '^ *+' conftest.er1 >conftest.err
1.8786 - rm -f conftest.er1
1.8787 - cat conftest.err >&5
1.8788 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8789 - (exit $ac_status); } &&
1.8790 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.8791 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8792 - (eval $ac_try) 2>&5
1.8793 - ac_status=$?
1.8794 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8795 - (exit $ac_status); }; } &&
1.8796 - { ac_try='test -s conftest$ac_exeext'
1.8797 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8798 - (eval $ac_try) 2>&5
1.8799 - ac_status=$?
1.8800 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8801 - (exit $ac_status); }; }; then
1.8802 - ac_cv_lib_dl_dlopen=yes
1.8803 -else
1.8804 - echo "$as_me: failed program was:" >&5
1.8805 -sed 's/^/| /' conftest.$ac_ext >&5
1.8806 -
1.8807 -ac_cv_lib_dl_dlopen=no
1.8808 -fi
1.8809 -rm -f conftest.err conftest.$ac_objext \
1.8810 - conftest$ac_exeext conftest.$ac_ext
1.8811 -LIBS=$ac_check_lib_save_LIBS
1.8812 -fi
1.8813 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.8814 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
1.8815 -if test $ac_cv_lib_dl_dlopen = yes; then
1.8816 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.8817 -else
1.8818 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.8819 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
1.8820 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.8821 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8822 -else
1.8823 - ac_check_lib_save_LIBS=$LIBS
1.8824 -LIBS="-lsvld $LIBS"
1.8825 -cat >conftest.$ac_ext <<_ACEOF
1.8826 -/* confdefs.h. */
1.8827 -_ACEOF
1.8828 -cat confdefs.h >>conftest.$ac_ext
1.8829 -cat >>conftest.$ac_ext <<_ACEOF
1.8830 -/* end confdefs.h. */
1.8831 -
1.8832 -/* Override any gcc2 internal prototype to avoid an error. */
1.8833 -#ifdef __cplusplus
1.8834 -extern "C"
1.8835 -#endif
1.8836 -/* We use char because int might match the return type of a gcc2
1.8837 - builtin and then its argument prototype would still apply. */
1.8838 -char dlopen ();
1.8839 -int
1.8840 -main ()
1.8841 -{
1.8842 -dlopen ();
1.8843 - ;
1.8844 - return 0;
1.8845 -}
1.8846 -_ACEOF
1.8847 -rm -f conftest.$ac_objext conftest$ac_exeext
1.8848 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8849 - (eval $ac_link) 2>conftest.er1
1.8850 - ac_status=$?
1.8851 - grep -v '^ *+' conftest.er1 >conftest.err
1.8852 - rm -f conftest.er1
1.8853 - cat conftest.err >&5
1.8854 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8855 - (exit $ac_status); } &&
1.8856 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.8857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8858 - (eval $ac_try) 2>&5
1.8859 - ac_status=$?
1.8860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8861 - (exit $ac_status); }; } &&
1.8862 - { ac_try='test -s conftest$ac_exeext'
1.8863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8864 - (eval $ac_try) 2>&5
1.8865 - ac_status=$?
1.8866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8867 - (exit $ac_status); }; }; then
1.8868 - ac_cv_lib_svld_dlopen=yes
1.8869 -else
1.8870 - echo "$as_me: failed program was:" >&5
1.8871 -sed 's/^/| /' conftest.$ac_ext >&5
1.8872 -
1.8873 -ac_cv_lib_svld_dlopen=no
1.8874 -fi
1.8875 -rm -f conftest.err conftest.$ac_objext \
1.8876 - conftest$ac_exeext conftest.$ac_ext
1.8877 -LIBS=$ac_check_lib_save_LIBS
1.8878 -fi
1.8879 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.8880 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
1.8881 -if test $ac_cv_lib_svld_dlopen = yes; then
1.8882 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.8883 -else
1.8884 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.8885 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
1.8886 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.8887 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8888 -else
1.8889 - ac_check_lib_save_LIBS=$LIBS
1.8890 -LIBS="-ldld $LIBS"
1.8891 -cat >conftest.$ac_ext <<_ACEOF
1.8892 -/* confdefs.h. */
1.8893 -_ACEOF
1.8894 -cat confdefs.h >>conftest.$ac_ext
1.8895 -cat >>conftest.$ac_ext <<_ACEOF
1.8896 -/* end confdefs.h. */
1.8897 -
1.8898 -/* Override any gcc2 internal prototype to avoid an error. */
1.8899 -#ifdef __cplusplus
1.8900 -extern "C"
1.8901 -#endif
1.8902 -/* We use char because int might match the return type of a gcc2
1.8903 - builtin and then its argument prototype would still apply. */
1.8904 -char dld_link ();
1.8905 -int
1.8906 -main ()
1.8907 -{
1.8908 -dld_link ();
1.8909 - ;
1.8910 - return 0;
1.8911 -}
1.8912 -_ACEOF
1.8913 -rm -f conftest.$ac_objext conftest$ac_exeext
1.8914 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8915 - (eval $ac_link) 2>conftest.er1
1.8916 - ac_status=$?
1.8917 - grep -v '^ *+' conftest.er1 >conftest.err
1.8918 - rm -f conftest.er1
1.8919 - cat conftest.err >&5
1.8920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8921 - (exit $ac_status); } &&
1.8922 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.8923 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8924 - (eval $ac_try) 2>&5
1.8925 - ac_status=$?
1.8926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8927 - (exit $ac_status); }; } &&
1.8928 - { ac_try='test -s conftest$ac_exeext'
1.8929 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.8930 - (eval $ac_try) 2>&5
1.8931 - ac_status=$?
1.8932 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8933 - (exit $ac_status); }; }; then
1.8934 - ac_cv_lib_dld_dld_link=yes
1.8935 -else
1.8936 - echo "$as_me: failed program was:" >&5
1.8937 -sed 's/^/| /' conftest.$ac_ext >&5
1.8938 -
1.8939 -ac_cv_lib_dld_dld_link=no
1.8940 -fi
1.8941 -rm -f conftest.err conftest.$ac_objext \
1.8942 - conftest$ac_exeext conftest.$ac_ext
1.8943 -LIBS=$ac_check_lib_save_LIBS
1.8944 -fi
1.8945 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.8946 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
1.8947 -if test $ac_cv_lib_dld_dld_link = yes; then
1.8948 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.8949 -fi
1.8950 -
1.8951 -
1.8952 -fi
1.8953 -
1.8954 -
1.8955 -fi
1.8956 -
1.8957 -
1.8958 -fi
1.8959 -
1.8960 -
1.8961 -fi
1.8962 -
1.8963 -
1.8964 -fi
1.8965 -
1.8966 - ;;
1.8967 - esac
1.8968 -
1.8969 - if test "x$lt_cv_dlopen" != xno; then
1.8970 - enable_dlopen=yes
1.8971 - else
1.8972 - enable_dlopen=no
1.8973 - fi
1.8974 -
1.8975 - case $lt_cv_dlopen in
1.8976 - dlopen)
1.8977 - save_CPPFLAGS="$CPPFLAGS"
1.8978 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.8979 -
1.8980 - save_LDFLAGS="$LDFLAGS"
1.8981 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.8982 -
1.8983 - save_LIBS="$LIBS"
1.8984 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.8985 -
1.8986 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.8987 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
1.8988 -if test "${lt_cv_dlopen_self+set}" = set; then
1.8989 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8990 -else
1.8991 - if test "$cross_compiling" = yes; then :
1.8992 - lt_cv_dlopen_self=cross
1.8993 -else
1.8994 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.8995 - lt_status=$lt_dlunknown
1.8996 - cat > conftest.$ac_ext <<EOF
1.8997 -#line __oline__ "configure"
1.8998 -#include "confdefs.h"
1.8999 -
1.9000 -#if HAVE_DLFCN_H
1.9001 -#include <dlfcn.h>
1.9002 -#endif
1.9003 -
1.9004 -#include <stdio.h>
1.9005 -
1.9006 -#ifdef RTLD_GLOBAL
1.9007 -# define LT_DLGLOBAL RTLD_GLOBAL
1.9008 -#else
1.9009 -# ifdef DL_GLOBAL
1.9010 -# define LT_DLGLOBAL DL_GLOBAL
1.9011 -# else
1.9012 -# define LT_DLGLOBAL 0
1.9013 -# endif
1.9014 -#endif
1.9015 -
1.9016 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.9017 - find out it does not work in some platform. */
1.9018 -#ifndef LT_DLLAZY_OR_NOW
1.9019 -# ifdef RTLD_LAZY
1.9020 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.9021 -# else
1.9022 -# ifdef DL_LAZY
1.9023 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.9024 -# else
1.9025 -# ifdef RTLD_NOW
1.9026 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.9027 -# else
1.9028 -# ifdef DL_NOW
1.9029 -# define LT_DLLAZY_OR_NOW DL_NOW
1.9030 -# else
1.9031 -# define LT_DLLAZY_OR_NOW 0
1.9032 -# endif
1.9033 -# endif
1.9034 -# endif
1.9035 -# endif
1.9036 -#endif
1.9037 -
1.9038 -#ifdef __cplusplus
1.9039 -extern "C" void exit (int);
1.9040 -#endif
1.9041 -
1.9042 -void fnord() { int i=42;}
1.9043 -int main ()
1.9044 -{
1.9045 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.9046 - int status = $lt_dlunknown;
1.9047 -
1.9048 - if (self)
1.9049 - {
1.9050 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.9051 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.9052 - /* dlclose (self); */
1.9053 - }
1.9054 -
1.9055 - exit (status);
1.9056 -}
1.9057 -EOF
1.9058 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.9059 - (eval $ac_link) 2>&5
1.9060 - ac_status=$?
1.9061 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9062 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.9063 - (./conftest; exit; ) >&5 2>/dev/null
1.9064 - lt_status=$?
1.9065 - case x$lt_status in
1.9066 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.9067 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.9068 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.9069 - esac
1.9070 - else :
1.9071 - # compilation failed
1.9072 - lt_cv_dlopen_self=no
1.9073 - fi
1.9074 -fi
1.9075 -rm -fr conftest*
1.9076 -
1.9077 -
1.9078 -fi
1.9079 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.9080 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
1.9081 -
1.9082 - if test "x$lt_cv_dlopen_self" = xyes; then
1.9083 - LDFLAGS="$LDFLAGS $link_static_flag"
1.9084 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.9085 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
1.9086 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.9087 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9088 -else
1.9089 - if test "$cross_compiling" = yes; then :
1.9090 - lt_cv_dlopen_self_static=cross
1.9091 -else
1.9092 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.9093 - lt_status=$lt_dlunknown
1.9094 - cat > conftest.$ac_ext <<EOF
1.9095 -#line __oline__ "configure"
1.9096 -#include "confdefs.h"
1.9097 -
1.9098 -#if HAVE_DLFCN_H
1.9099 -#include <dlfcn.h>
1.9100 -#endif
1.9101 -
1.9102 -#include <stdio.h>
1.9103 -
1.9104 -#ifdef RTLD_GLOBAL
1.9105 -# define LT_DLGLOBAL RTLD_GLOBAL
1.9106 -#else
1.9107 -# ifdef DL_GLOBAL
1.9108 -# define LT_DLGLOBAL DL_GLOBAL
1.9109 -# else
1.9110 -# define LT_DLGLOBAL 0
1.9111 -# endif
1.9112 -#endif
1.9113 -
1.9114 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.9115 - find out it does not work in some platform. */
1.9116 -#ifndef LT_DLLAZY_OR_NOW
1.9117 -# ifdef RTLD_LAZY
1.9118 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.9119 -# else
1.9120 -# ifdef DL_LAZY
1.9121 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.9122 -# else
1.9123 -# ifdef RTLD_NOW
1.9124 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.9125 -# else
1.9126 -# ifdef DL_NOW
1.9127 -# define LT_DLLAZY_OR_NOW DL_NOW
1.9128 -# else
1.9129 -# define LT_DLLAZY_OR_NOW 0
1.9130 -# endif
1.9131 -# endif
1.9132 -# endif
1.9133 -# endif
1.9134 -#endif
1.9135 -
1.9136 -#ifdef __cplusplus
1.9137 -extern "C" void exit (int);
1.9138 -#endif
1.9139 -
1.9140 -void fnord() { int i=42;}
1.9141 -int main ()
1.9142 -{
1.9143 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.9144 - int status = $lt_dlunknown;
1.9145 -
1.9146 - if (self)
1.9147 - {
1.9148 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.9149 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.9150 - /* dlclose (self); */
1.9151 - }
1.9152 -
1.9153 - exit (status);
1.9154 -}
1.9155 -EOF
1.9156 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.9157 - (eval $ac_link) 2>&5
1.9158 - ac_status=$?
1.9159 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9160 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.9161 - (./conftest; exit; ) >&5 2>/dev/null
1.9162 - lt_status=$?
1.9163 - case x$lt_status in
1.9164 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.9165 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.9166 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.9167 - esac
1.9168 - else :
1.9169 - # compilation failed
1.9170 - lt_cv_dlopen_self_static=no
1.9171 - fi
1.9172 -fi
1.9173 -rm -fr conftest*
1.9174 -
1.9175 -
1.9176 -fi
1.9177 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.9178 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
1.9179 - fi
1.9180 -
1.9181 - CPPFLAGS="$save_CPPFLAGS"
1.9182 - LDFLAGS="$save_LDFLAGS"
1.9183 - LIBS="$save_LIBS"
1.9184 - ;;
1.9185 - esac
1.9186 -
1.9187 - case $lt_cv_dlopen_self in
1.9188 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.9189 - *) enable_dlopen_self=unknown ;;
1.9190 - esac
1.9191 -
1.9192 - case $lt_cv_dlopen_self_static in
1.9193 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.9194 - *) enable_dlopen_self_static=unknown ;;
1.9195 - esac
1.9196 -fi
1.9197 -
1.9198 -
1.9199 -# Report which librarie types wil actually be built
1.9200 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
1.9201 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
1.9202 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
1.9203 -echo "${ECHO_T}$can_build_shared" >&6
1.9204 -
1.9205 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
1.9206 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
1.9207 -test "$can_build_shared" = "no" && enable_shared=no
1.9208 -
1.9209 -# On AIX, shared libraries and static libraries use the same namespace, and
1.9210 -# are all built from PIC.
1.9211 -case $host_os in
1.9212 -aix3*)
1.9213 - test "$enable_shared" = yes && enable_static=no
1.9214 - if test -n "$RANLIB"; then
1.9215 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
1.9216 - postinstall_cmds='$RANLIB $lib'
1.9217 - fi
1.9218 - ;;
1.9219 -
1.9220 -aix4* | aix5*)
1.9221 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1.9222 - test "$enable_shared" = yes && enable_static=no
1.9223 - fi
1.9224 - ;;
1.9225 -esac
1.9226 -echo "$as_me:$LINENO: result: $enable_shared" >&5
1.9227 -echo "${ECHO_T}$enable_shared" >&6
1.9228 -
1.9229 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
1.9230 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
1.9231 -# Make sure either enable_shared or enable_static is yes.
1.9232 -test "$enable_shared" = yes || enable_static=yes
1.9233 -echo "$as_me:$LINENO: result: $enable_static" >&5
1.9234 -echo "${ECHO_T}$enable_static" >&6
1.9235 -
1.9236 -# The else clause should only fire when bootstrapping the
1.9237 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.9238 -# with your package, and you will get complaints that there are
1.9239 -# no rules to generate ltmain.sh.
1.9240 -if test -f "$ltmain"; then
1.9241 - # See if we are running on zsh, and set the options which allow our commands through
1.9242 - # without removal of \ escapes.
1.9243 - if test -n "${ZSH_VERSION+set}" ; then
1.9244 - setopt NO_GLOB_SUBST
1.9245 - fi
1.9246 - # Now quote all the things that may contain metacharacters while being
1.9247 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.9248 - # variables and quote the copies for generation of the libtool script.
1.9249 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.9250 - SED SHELL STRIP \
1.9251 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.9252 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.9253 - deplibs_check_method reload_flag reload_cmds need_locks \
1.9254 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.9255 - lt_cv_sys_global_symbol_to_c_name_address \
1.9256 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.9257 - old_postinstall_cmds old_postuninstall_cmds \
1.9258 - compiler \
1.9259 - CC \
1.9260 - LD \
1.9261 - lt_prog_compiler_wl \
1.9262 - lt_prog_compiler_pic \
1.9263 - lt_prog_compiler_static \
1.9264 - lt_prog_compiler_no_builtin_flag \
1.9265 - export_dynamic_flag_spec \
1.9266 - thread_safe_flag_spec \
1.9267 - whole_archive_flag_spec \
1.9268 - enable_shared_with_static_runtimes \
1.9269 - old_archive_cmds \
1.9270 - old_archive_from_new_cmds \
1.9271 - predep_objects \
1.9272 - postdep_objects \
1.9273 - predeps \
1.9274 - postdeps \
1.9275 - compiler_lib_search_path \
1.9276 - archive_cmds \
1.9277 - archive_expsym_cmds \
1.9278 - postinstall_cmds \
1.9279 - postuninstall_cmds \
1.9280 - old_archive_from_expsyms_cmds \
1.9281 - allow_undefined_flag \
1.9282 - no_undefined_flag \
1.9283 - export_symbols_cmds \
1.9284 - hardcode_libdir_flag_spec \
1.9285 - hardcode_libdir_flag_spec_ld \
1.9286 - hardcode_libdir_separator \
1.9287 - hardcode_automatic \
1.9288 - module_cmds \
1.9289 - module_expsym_cmds \
1.9290 - lt_cv_prog_compiler_c_o \
1.9291 - exclude_expsyms \
1.9292 - include_expsyms; do
1.9293 -
1.9294 - case $var in
1.9295 - old_archive_cmds | \
1.9296 - old_archive_from_new_cmds | \
1.9297 - archive_cmds | \
1.9298 - archive_expsym_cmds | \
1.9299 - module_cmds | \
1.9300 - module_expsym_cmds | \
1.9301 - old_archive_from_expsyms_cmds | \
1.9302 - export_symbols_cmds | \
1.9303 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.9304 - postinstall_cmds | postuninstall_cmds | \
1.9305 - old_postinstall_cmds | old_postuninstall_cmds | \
1.9306 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.9307 - # Double-quote double-evaled strings.
1.9308 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.9309 - ;;
1.9310 - *)
1.9311 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.9312 - ;;
1.9313 - esac
1.9314 - done
1.9315 -
1.9316 - case $lt_echo in
1.9317 - *'\$0 --fallback-echo"')
1.9318 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.9319 - ;;
1.9320 - esac
1.9321 -
1.9322 -cfgfile="${ofile}T"
1.9323 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
1.9324 - $rm -f "$cfgfile"
1.9325 - { echo "$as_me:$LINENO: creating $ofile" >&5
1.9326 -echo "$as_me: creating $ofile" >&6;}
1.9327 -
1.9328 - cat <<__EOF__ >> "$cfgfile"
1.9329 -#! $SHELL
1.9330 -
1.9331 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1.9332 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
1.9333 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1.9334 -#
1.9335 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
1.9336 -# Free Software Foundation, Inc.
1.9337 -#
1.9338 -# This file is part of GNU Libtool:
1.9339 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1.9340 -#
1.9341 -# This program is free software; you can redistribute it and/or modify
1.9342 -# it under the terms of the GNU General Public License as published by
1.9343 -# the Free Software Foundation; either version 2 of the License, or
1.9344 -# (at your option) any later version.
1.9345 -#
1.9346 -# This program is distributed in the hope that it will be useful, but
1.9347 -# WITHOUT ANY WARRANTY; without even the implied warranty of
1.9348 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.9349 -# General Public License for more details.
1.9350 -#
1.9351 -# You should have received a copy of the GNU General Public License
1.9352 -# along with this program; if not, write to the Free Software
1.9353 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1.9354 -#
1.9355 -# As a special exception to the GNU General Public License, if you
1.9356 -# distribute this file as part of a program that contains a
1.9357 -# configuration script generated by Autoconf, you may include it under
1.9358 -# the same distribution terms that you use for the rest of that program.
1.9359 -
1.9360 -# A sed program that does not truncate output.
1.9361 -SED=$lt_SED
1.9362 -
1.9363 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1.9364 -Xsed="$SED -e 1s/^X//"
1.9365 -
1.9366 -# The HP-UX ksh and POSIX shell print the target directory to stdout
1.9367 -# if CDPATH is set.
1.9368 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.9369 -
1.9370 -# The names of the tagged configurations supported by this script.
1.9371 -available_tags=
1.9372 -
1.9373 -# ### BEGIN LIBTOOL CONFIG
1.9374 -
1.9375 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.9376 -
1.9377 -# Shell to use when invoking shell scripts.
1.9378 -SHELL=$lt_SHELL
1.9379 -
1.9380 -# Whether or not to build shared libraries.
1.9381 -build_libtool_libs=$enable_shared
1.9382 -
1.9383 -# Whether or not to build static libraries.
1.9384 -build_old_libs=$enable_static
1.9385 -
1.9386 -# Whether or not to add -lc for building shared libraries.
1.9387 -build_libtool_need_lc=$archive_cmds_need_lc
1.9388 -
1.9389 -# Whether or not to disallow shared libs when runtime libs are static
1.9390 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.9391 -
1.9392 -# Whether or not to optimize for fast installation.
1.9393 -fast_install=$enable_fast_install
1.9394 -
1.9395 -# The host system.
1.9396 -host_alias=$host_alias
1.9397 -host=$host
1.9398 -host_os=$host_os
1.9399 -
1.9400 -# The build system.
1.9401 -build_alias=$build_alias
1.9402 -build=$build
1.9403 -build_os=$build_os
1.9404 -
1.9405 -# An echo program that does not interpret backslashes.
1.9406 -echo=$lt_echo
1.9407 -
1.9408 -# The archiver.
1.9409 -AR=$lt_AR
1.9410 -AR_FLAGS=$lt_AR_FLAGS
1.9411 -
1.9412 -# A C compiler.
1.9413 -LTCC=$lt_LTCC
1.9414 -
1.9415 -# A language-specific compiler.
1.9416 -CC=$lt_compiler
1.9417 -
1.9418 -# Is the compiler the GNU C compiler?
1.9419 -with_gcc=$GCC
1.9420 -
1.9421 -# An ERE matcher.
1.9422 -EGREP=$lt_EGREP
1.9423 -
1.9424 -# The linker used to build libraries.
1.9425 -LD=$lt_LD
1.9426 -
1.9427 -# Whether we need hard or soft links.
1.9428 -LN_S=$lt_LN_S
1.9429 -
1.9430 -# A BSD-compatible nm program.
1.9431 -NM=$lt_NM
1.9432 -
1.9433 -# A symbol stripping program
1.9434 -STRIP=$lt_STRIP
1.9435 -
1.9436 -# Used to examine libraries when file_magic_cmd begins "file"
1.9437 -MAGIC_CMD=$MAGIC_CMD
1.9438 -
1.9439 -# Used on cygwin: DLL creation program.
1.9440 -DLLTOOL="$DLLTOOL"
1.9441 -
1.9442 -# Used on cygwin: object dumper.
1.9443 -OBJDUMP="$OBJDUMP"
1.9444 -
1.9445 -# Used on cygwin: assembler.
1.9446 -AS="$AS"
1.9447 -
1.9448 -# The name of the directory that contains temporary libtool files.
1.9449 -objdir=$objdir
1.9450 -
1.9451 -# How to create reloadable object files.
1.9452 -reload_flag=$lt_reload_flag
1.9453 -reload_cmds=$lt_reload_cmds
1.9454 -
1.9455 -# How to pass a linker flag through the compiler.
1.9456 -wl=$lt_lt_prog_compiler_wl
1.9457 -
1.9458 -# Object file suffix (normally "o").
1.9459 -objext="$ac_objext"
1.9460 -
1.9461 -# Old archive suffix (normally "a").
1.9462 -libext="$libext"
1.9463 -
1.9464 -# Shared library suffix (normally ".so").
1.9465 -shrext_cmds='$shrext_cmds'
1.9466 -
1.9467 -# Executable file suffix (normally "").
1.9468 -exeext="$exeext"
1.9469 -
1.9470 -# Additional compiler flags for building library objects.
1.9471 -pic_flag=$lt_lt_prog_compiler_pic
1.9472 -pic_mode=$pic_mode
1.9473 -
1.9474 -# What is the maximum length of a command?
1.9475 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.9476 -
1.9477 -# Does compiler simultaneously support -c and -o options?
1.9478 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.9479 -
1.9480 -# Must we lock files when doing compilation?
1.9481 -need_locks=$lt_need_locks
1.9482 -
1.9483 -# Do we need the lib prefix for modules?
1.9484 -need_lib_prefix=$need_lib_prefix
1.9485 -
1.9486 -# Do we need a version for libraries?
1.9487 -need_version=$need_version
1.9488 -
1.9489 -# Whether dlopen is supported.
1.9490 -dlopen_support=$enable_dlopen
1.9491 -
1.9492 -# Whether dlopen of programs is supported.
1.9493 -dlopen_self=$enable_dlopen_self
1.9494 -
1.9495 -# Whether dlopen of statically linked programs is supported.
1.9496 -dlopen_self_static=$enable_dlopen_self_static
1.9497 -
1.9498 -# Compiler flag to prevent dynamic linking.
1.9499 -link_static_flag=$lt_lt_prog_compiler_static
1.9500 -
1.9501 -# Compiler flag to turn off builtin functions.
1.9502 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.9503 -
1.9504 -# Compiler flag to allow reflexive dlopens.
1.9505 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.9506 -
1.9507 -# Compiler flag to generate shared objects directly from archives.
1.9508 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.9509 -
1.9510 -# Compiler flag to generate thread-safe objects.
1.9511 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
1.9512 -
1.9513 -# Library versioning type.
1.9514 -version_type=$version_type
1.9515 -
1.9516 -# Format of library name prefix.
1.9517 -libname_spec=$lt_libname_spec
1.9518 -
1.9519 -# List of archive names. First name is the real one, the rest are links.
1.9520 -# The last name is the one that the linker finds with -lNAME.
1.9521 -library_names_spec=$lt_library_names_spec
1.9522 -
1.9523 -# The coded name of the library, if different from the real name.
1.9524 -soname_spec=$lt_soname_spec
1.9525 -
1.9526 -# Commands used to build and install an old-style archive.
1.9527 -RANLIB=$lt_RANLIB
1.9528 -old_archive_cmds=$lt_old_archive_cmds
1.9529 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.9530 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.9531 -
1.9532 -# Create an old-style archive from a shared archive.
1.9533 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.9534 -
1.9535 -# Create a temporary old-style archive to link instead of a shared archive.
1.9536 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.9537 -
1.9538 -# Commands used to build and install a shared archive.
1.9539 -archive_cmds=$lt_archive_cmds
1.9540 -archive_expsym_cmds=$lt_archive_expsym_cmds
1.9541 -postinstall_cmds=$lt_postinstall_cmds
1.9542 -postuninstall_cmds=$lt_postuninstall_cmds
1.9543 -
1.9544 -# Commands used to build a loadable module (assumed same as above if empty)
1.9545 -module_cmds=$lt_module_cmds
1.9546 -module_expsym_cmds=$lt_module_expsym_cmds
1.9547 -
1.9548 -# Commands to strip libraries.
1.9549 -old_striplib=$lt_old_striplib
1.9550 -striplib=$lt_striplib
1.9551 -
1.9552 -# Dependencies to place before the objects being linked to create a
1.9553 -# shared library.
1.9554 -predep_objects=$lt_predep_objects
1.9555 -
1.9556 -# Dependencies to place after the objects being linked to create a
1.9557 -# shared library.
1.9558 -postdep_objects=$lt_postdep_objects
1.9559 -
1.9560 -# Dependencies to place before the objects being linked to create a
1.9561 -# shared library.
1.9562 -predeps=$lt_predeps
1.9563 -
1.9564 -# Dependencies to place after the objects being linked to create a
1.9565 -# shared library.
1.9566 -postdeps=$lt_postdeps
1.9567 -
1.9568 -# The library search path used internally by the compiler when linking
1.9569 -# a shared library.
1.9570 -compiler_lib_search_path=$lt_compiler_lib_search_path
1.9571 -
1.9572 -# Method to check whether dependent libraries are shared objects.
1.9573 -deplibs_check_method=$lt_deplibs_check_method
1.9574 -
1.9575 -# Command to use when deplibs_check_method == file_magic.
1.9576 -file_magic_cmd=$lt_file_magic_cmd
1.9577 -
1.9578 -# Flag that allows shared libraries with undefined symbols to be built.
1.9579 -allow_undefined_flag=$lt_allow_undefined_flag
1.9580 -
1.9581 -# Flag that forces no undefined symbols.
1.9582 -no_undefined_flag=$lt_no_undefined_flag
1.9583 -
1.9584 -# Commands used to finish a libtool library installation in a directory.
1.9585 -finish_cmds=$lt_finish_cmds
1.9586 -
1.9587 -# Same as above, but a single script fragment to be evaled but not shown.
1.9588 -finish_eval=$lt_finish_eval
1.9589 -
1.9590 -# Take the output of nm and produce a listing of raw symbols and C names.
1.9591 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.9592 -
1.9593 -# Transform the output of nm in a proper C declaration
1.9594 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.9595 -
1.9596 -# Transform the output of nm in a C name address pair
1.9597 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.9598 -
1.9599 -# This is the shared library runtime path variable.
1.9600 -runpath_var=$runpath_var
1.9601 -
1.9602 -# This is the shared library path variable.
1.9603 -shlibpath_var=$shlibpath_var
1.9604 -
1.9605 -# Is shlibpath searched before the hard-coded library search path?
1.9606 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.9607 -
1.9608 -# How to hardcode a shared library path into an executable.
1.9609 -hardcode_action=$hardcode_action
1.9610 -
1.9611 -# Whether we should hardcode library paths into libraries.
1.9612 -hardcode_into_libs=$hardcode_into_libs
1.9613 -
1.9614 -# Flag to hardcode \$libdir into a binary during linking.
1.9615 -# This must work even if \$libdir does not exist.
1.9616 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.9617 -
1.9618 -# If ld is used when linking, flag to hardcode \$libdir into
1.9619 -# a binary during linking. This must work even if \$libdir does
1.9620 -# not exist.
1.9621 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1.9622 -
1.9623 -# Whether we need a single -rpath flag with a separated argument.
1.9624 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.9625 -
1.9626 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.9627 -# resulting binary.
1.9628 -hardcode_direct=$hardcode_direct
1.9629 -
1.9630 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.9631 -# resulting binary.
1.9632 -hardcode_minus_L=$hardcode_minus_L
1.9633 -
1.9634 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.9635 -# the resulting binary.
1.9636 -hardcode_shlibpath_var=$hardcode_shlibpath_var
1.9637 -
1.9638 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.9639 -# and all subsequent libraries and executables linked against it.
1.9640 -hardcode_automatic=$hardcode_automatic
1.9641 -
1.9642 -# Variables whose values should be saved in libtool wrapper scripts and
1.9643 -# restored at relink time.
1.9644 -variables_saved_for_relink="$variables_saved_for_relink"
1.9645 -
1.9646 -# Whether libtool must link a program against all its dependency libraries.
1.9647 -link_all_deplibs=$link_all_deplibs
1.9648 -
1.9649 -# Compile-time system search path for libraries
1.9650 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.9651 -
1.9652 -# Run-time system search path for libraries
1.9653 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.9654 -
1.9655 -# Fix the shell variable \$srcfile for the compiler.
1.9656 -fix_srcfile_path="$fix_srcfile_path"
1.9657 -
1.9658 -# Set to yes if exported symbols are required.
1.9659 -always_export_symbols=$always_export_symbols
1.9660 -
1.9661 -# The commands to list exported symbols.
1.9662 -export_symbols_cmds=$lt_export_symbols_cmds
1.9663 -
1.9664 -# The commands to extract the exported symbol list from a shared archive.
1.9665 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.9666 -
1.9667 -# Symbols that should not be listed in the preloaded symbols.
1.9668 -exclude_expsyms=$lt_exclude_expsyms
1.9669 -
1.9670 -# Symbols that must always be exported.
1.9671 -include_expsyms=$lt_include_expsyms
1.9672 -
1.9673 -# ### END LIBTOOL CONFIG
1.9674 -
1.9675 -__EOF__
1.9676 -
1.9677 -
1.9678 - case $host_os in
1.9679 - aix3*)
1.9680 - cat <<\EOF >> "$cfgfile"
1.9681 -
1.9682 -# AIX sometimes has problems with the GCC collect2 program. For some
1.9683 -# reason, if we set the COLLECT_NAMES environment variable, the problems
1.9684 -# vanish in a puff of smoke.
1.9685 -if test "X${COLLECT_NAMES+set}" != Xset; then
1.9686 - COLLECT_NAMES=
1.9687 - export COLLECT_NAMES
1.9688 -fi
1.9689 -EOF
1.9690 - ;;
1.9691 - esac
1.9692 -
1.9693 - # We use sed instead of cat because bash on DJGPP gets confused if
1.9694 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
1.9695 - # text mode, it properly converts lines to CR/LF. This bash problem
1.9696 - # is reportedly fixed, but why not run on old versions too?
1.9697 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
1.9698 -
1.9699 - mv -f "$cfgfile" "$ofile" || \
1.9700 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1.9701 - chmod +x "$ofile"
1.9702 -
1.9703 -else
1.9704 - # If there is no Makefile yet, we rely on a make rule to execute
1.9705 - # `config.status --recheck' to rerun these tests and create the
1.9706 - # libtool script then.
1.9707 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.9708 - if test -f "$ltmain_in"; then
1.9709 - test -f Makefile && make "$ltmain"
1.9710 - fi
1.9711 -fi
1.9712 -
1.9713 -
1.9714 -ac_ext=c
1.9715 -ac_cpp='$CPP $CPPFLAGS'
1.9716 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.9717 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.9718 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9719 -
1.9720 -CC="$lt_save_CC"
1.9721 -
1.9722 -
1.9723 -# Check whether --with-tags or --without-tags was given.
1.9724 -if test "${with_tags+set}" = set; then
1.9725 - withval="$with_tags"
1.9726 - tagnames="$withval"
1.9727 -fi;
1.9728 -
1.9729 -if test -f "$ltmain" && test -n "$tagnames"; then
1.9730 - if test ! -f "${ofile}"; then
1.9731 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
1.9732 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
1.9733 - fi
1.9734 -
1.9735 - if test -z "$LTCC"; then
1.9736 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1.9737 - if test -z "$LTCC"; then
1.9738 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
1.9739 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
1.9740 - else
1.9741 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
1.9742 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
1.9743 - fi
1.9744 - fi
1.9745 -
1.9746 - # Extract list of available tagged configurations in $ofile.
1.9747 - # Note that this assumes the entire list is on one line.
1.9748 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1.9749 -
1.9750 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1.9751 - for tagname in $tagnames; do
1.9752 - IFS="$lt_save_ifs"
1.9753 - # Check whether tagname contains only valid characters
1.9754 - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
1.9755 - "") ;;
1.9756 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
1.9757 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
1.9758 - { (exit 1); exit 1; }; }
1.9759 - ;;
1.9760 - esac
1.9761 -
1.9762 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1.9763 - then
1.9764 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
1.9765 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
1.9766 - { (exit 1); exit 1; }; }
1.9767 - fi
1.9768 -
1.9769 - # Update the list of available tags.
1.9770 - if test -n "$tagname"; then
1.9771 - echo appending configuration tag \"$tagname\" to $ofile
1.9772 -
1.9773 - case $tagname in
1.9774 - CXX)
1.9775 - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1.9776 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1.9777 - (test "X$CXX" != "Xg++"))) ; then
1.9778 - ac_ext=cc
1.9779 -ac_cpp='$CXXCPP $CPPFLAGS'
1.9780 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.9781 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.9782 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.9783 -
1.9784 -
1.9785 -
1.9786 -
1.9787 -archive_cmds_need_lc_CXX=no
1.9788 -allow_undefined_flag_CXX=
1.9789 -always_export_symbols_CXX=no
1.9790 -archive_expsym_cmds_CXX=
1.9791 -export_dynamic_flag_spec_CXX=
1.9792 -hardcode_direct_CXX=no
1.9793 -hardcode_libdir_flag_spec_CXX=
1.9794 -hardcode_libdir_flag_spec_ld_CXX=
1.9795 -hardcode_libdir_separator_CXX=
1.9796 -hardcode_minus_L_CXX=no
1.9797 -hardcode_automatic_CXX=no
1.9798 -module_cmds_CXX=
1.9799 -module_expsym_cmds_CXX=
1.9800 -link_all_deplibs_CXX=unknown
1.9801 -old_archive_cmds_CXX=$old_archive_cmds
1.9802 -no_undefined_flag_CXX=
1.9803 -whole_archive_flag_spec_CXX=
1.9804 -enable_shared_with_static_runtimes_CXX=no
1.9805 -
1.9806 -# Dependencies to place before and after the object being linked:
1.9807 -predep_objects_CXX=
1.9808 -postdep_objects_CXX=
1.9809 -predeps_CXX=
1.9810 -postdeps_CXX=
1.9811 -compiler_lib_search_path_CXX=
1.9812 -
1.9813 -# Source file extension for C++ test sources.
1.9814 -ac_ext=cpp
1.9815 -
1.9816 -# Object file extension for compiled C++ test sources.
1.9817 -objext=o
1.9818 -objext_CXX=$objext
1.9819 -
1.9820 -# Code to be used in simple compile tests
1.9821 -lt_simple_compile_test_code="int some_variable = 0;\n"
1.9822 -
1.9823 -# Code to be used in simple link tests
1.9824 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
1.9825 -
1.9826 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.9827 -
1.9828 -# If no C compiler was specified, use CC.
1.9829 -LTCC=${LTCC-"$CC"}
1.9830 -
1.9831 -# Allow CC to be a program name with arguments.
1.9832 -compiler=$CC
1.9833 -
1.9834 -
1.9835 -# save warnings/boilerplate of simple test code
1.9836 -ac_outfile=conftest.$ac_objext
1.9837 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1.9838 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.9839 -_lt_compiler_boilerplate=`cat conftest.err`
1.9840 -$rm conftest*
1.9841 -
1.9842 -ac_outfile=conftest.$ac_objext
1.9843 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
1.9844 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.9845 -_lt_linker_boilerplate=`cat conftest.err`
1.9846 -$rm conftest*
1.9847 -
1.9848 -
1.9849 -# Allow CC to be a program name with arguments.
1.9850 -lt_save_CC=$CC
1.9851 -lt_save_LD=$LD
1.9852 -lt_save_GCC=$GCC
1.9853 -GCC=$GXX
1.9854 -lt_save_with_gnu_ld=$with_gnu_ld
1.9855 -lt_save_path_LD=$lt_cv_path_LD
1.9856 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1.9857 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1.9858 -else
1.9859 - unset lt_cv_prog_gnu_ld
1.9860 -fi
1.9861 -if test -n "${lt_cv_path_LDCXX+set}"; then
1.9862 - lt_cv_path_LD=$lt_cv_path_LDCXX
1.9863 -else
1.9864 - unset lt_cv_path_LD
1.9865 -fi
1.9866 -test -z "${LDCXX+set}" || LD=$LDCXX
1.9867 -CC=${CXX-"c++"}
1.9868 -compiler=$CC
1.9869 -compiler_CXX=$CC
1.9870 -for cc_temp in $compiler""; do
1.9871 - case $cc_temp in
1.9872 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.9873 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.9874 - \-*) ;;
1.9875 - *) break;;
1.9876 - esac
1.9877 -done
1.9878 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.9879 -
1.9880 -
1.9881 -# We don't want -fno-exception wen compiling C++ code, so set the
1.9882 -# no_builtin_flag separately
1.9883 -if test "$GXX" = yes; then
1.9884 - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
1.9885 -else
1.9886 - lt_prog_compiler_no_builtin_flag_CXX=
1.9887 -fi
1.9888 -
1.9889 -if test "$GXX" = yes; then
1.9890 - # Set up default GNU C++ configuration
1.9891 -
1.9892 -
1.9893 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
1.9894 -if test "${with_gnu_ld+set}" = set; then
1.9895 - withval="$with_gnu_ld"
1.9896 - test "$withval" = no || with_gnu_ld=yes
1.9897 -else
1.9898 - with_gnu_ld=no
1.9899 -fi;
1.9900 -ac_prog=ld
1.9901 -if test "$GCC" = yes; then
1.9902 - # Check if gcc -print-prog-name=ld gives a path.
1.9903 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
1.9904 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.9905 - case $host in
1.9906 - *-*-mingw*)
1.9907 - # gcc leaves a trailing carriage return which upsets mingw
1.9908 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1.9909 - *)
1.9910 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1.9911 - esac
1.9912 - case $ac_prog in
1.9913 - # Accept absolute paths.
1.9914 - [\\/]* | ?:[\\/]*)
1.9915 - re_direlt='/[^/][^/]*/\.\./'
1.9916 - # Canonicalize the pathname of ld
1.9917 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
1.9918 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1.9919 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
1.9920 - done
1.9921 - test -z "$LD" && LD="$ac_prog"
1.9922 - ;;
1.9923 - "")
1.9924 - # If it fails, then pretend we aren't using GCC.
1.9925 - ac_prog=ld
1.9926 - ;;
1.9927 - *)
1.9928 - # If it is relative, then search for the first ld in PATH.
1.9929 - with_gnu_ld=unknown
1.9930 - ;;
1.9931 - esac
1.9932 -elif test "$with_gnu_ld" = yes; then
1.9933 - echo "$as_me:$LINENO: checking for GNU ld" >&5
1.9934 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.9935 -else
1.9936 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
1.9937 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.9938 -fi
1.9939 -if test "${lt_cv_path_LD+set}" = set; then
1.9940 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9941 -else
1.9942 - if test -z "$LD"; then
1.9943 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.9944 - for ac_dir in $PATH; do
1.9945 - IFS="$lt_save_ifs"
1.9946 - test -z "$ac_dir" && ac_dir=.
1.9947 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.9948 - lt_cv_path_LD="$ac_dir/$ac_prog"
1.9949 - # Check to see if the program is GNU ld. I'd rather use --version,
1.9950 - # but apparently some variants of GNU ld only accept -v.
1.9951 - # Break only if it was the GNU/non-GNU ld that we prefer.
1.9952 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1.9953 - *GNU* | *'with BFD'*)
1.9954 - test "$with_gnu_ld" != no && break
1.9955 - ;;
1.9956 - *)
1.9957 - test "$with_gnu_ld" != yes && break
1.9958 - ;;
1.9959 - esac
1.9960 - fi
1.9961 - done
1.9962 - IFS="$lt_save_ifs"
1.9963 -else
1.9964 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.9965 -fi
1.9966 -fi
1.9967 -
1.9968 -LD="$lt_cv_path_LD"
1.9969 -if test -n "$LD"; then
1.9970 - echo "$as_me:$LINENO: result: $LD" >&5
1.9971 -echo "${ECHO_T}$LD" >&6
1.9972 -else
1.9973 - echo "$as_me:$LINENO: result: no" >&5
1.9974 -echo "${ECHO_T}no" >&6
1.9975 -fi
1.9976 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
1.9977 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
1.9978 - { (exit 1); exit 1; }; }
1.9979 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
1.9980 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
1.9981 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
1.9982 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9983 -else
1.9984 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.9985 -case `$LD -v 2>&1 </dev/null` in
1.9986 -*GNU* | *'with BFD'*)
1.9987 - lt_cv_prog_gnu_ld=yes
1.9988 - ;;
1.9989 -*)
1.9990 - lt_cv_prog_gnu_ld=no
1.9991 - ;;
1.9992 -esac
1.9993 -fi
1.9994 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
1.9995 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
1.9996 -with_gnu_ld=$lt_cv_prog_gnu_ld
1.9997 -
1.9998 -
1.9999 -
1.10000 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
1.10001 - # archiving commands below assume that GNU ld is being used.
1.10002 - if test "$with_gnu_ld" = yes; then
1.10003 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10004 - 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.10005 -
1.10006 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
1.10007 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.10008 -
1.10009 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.10010 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
1.10011 - # investigate it a little bit more. (MM)
1.10012 - wlarc='${wl}'
1.10013 -
1.10014 - # ancient GNU ld didn't support --whole-archive et. al.
1.10015 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
1.10016 - grep 'no-whole-archive' > /dev/null; then
1.10017 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.10018 - else
1.10019 - whole_archive_flag_spec_CXX=
1.10020 - fi
1.10021 - else
1.10022 - with_gnu_ld=no
1.10023 - wlarc=
1.10024 -
1.10025 - # A generic and very simple default shared library creation
1.10026 - # command for GNU C++ for the case where it uses the native
1.10027 - # linker, instead of GNU ld. If possible, this setting should
1.10028 - # overridden to take advantage of the native linker features on
1.10029 - # the platform it is being used on.
1.10030 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
1.10031 - fi
1.10032 -
1.10033 - # Commands to make compiler produce verbose output that lists
1.10034 - # what "hidden" libraries, object files and flags are used when
1.10035 - # linking a shared library.
1.10036 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.10037 -
1.10038 -else
1.10039 - GXX=no
1.10040 - with_gnu_ld=no
1.10041 - wlarc=
1.10042 -fi
1.10043 -
1.10044 -# PORTME: fill in a description of your system's C++ link characteristics
1.10045 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.10046 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.10047 -ld_shlibs_CXX=yes
1.10048 -case $host_os in
1.10049 - aix3*)
1.10050 - # FIXME: insert proper C++ library support
1.10051 - ld_shlibs_CXX=no
1.10052 - ;;
1.10053 - aix4* | aix5*)
1.10054 - if test "$host_cpu" = ia64; then
1.10055 - # On IA64, the linker does run time linking by default, so we don't
1.10056 - # have to do anything special.
1.10057 - aix_use_runtimelinking=no
1.10058 - exp_sym_flag='-Bexport'
1.10059 - no_entry_flag=""
1.10060 - else
1.10061 - aix_use_runtimelinking=no
1.10062 -
1.10063 - # Test if we are trying to use run time linking or normal
1.10064 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.10065 - # need to do runtime linking.
1.10066 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.10067 - for ld_flag in $LDFLAGS; do
1.10068 - case $ld_flag in
1.10069 - *-brtl*)
1.10070 - aix_use_runtimelinking=yes
1.10071 - break
1.10072 - ;;
1.10073 - esac
1.10074 - done
1.10075 - esac
1.10076 -
1.10077 - exp_sym_flag='-bexport'
1.10078 - no_entry_flag='-bnoentry'
1.10079 - fi
1.10080 -
1.10081 - # When large executables or shared objects are built, AIX ld can
1.10082 - # have problems creating the table of contents. If linking a library
1.10083 - # or program results in "error TOC overflow" add -mminimal-toc to
1.10084 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.10085 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.10086 -
1.10087 - archive_cmds_CXX=''
1.10088 - hardcode_direct_CXX=yes
1.10089 - hardcode_libdir_separator_CXX=':'
1.10090 - link_all_deplibs_CXX=yes
1.10091 -
1.10092 - if test "$GXX" = yes; then
1.10093 - case $host_os in aix4.[012]|aix4.[012].*)
1.10094 - # We only want to do this on AIX 4.2 and lower, the check
1.10095 - # below for broken collect2 doesn't work under 4.3+
1.10096 - collect2name=`${CC} -print-prog-name=collect2`
1.10097 - if test -f "$collect2name" && \
1.10098 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.10099 - then
1.10100 - # We have reworked collect2
1.10101 - hardcode_direct_CXX=yes
1.10102 - else
1.10103 - # We have old collect2
1.10104 - hardcode_direct_CXX=unsupported
1.10105 - # It fails to find uninstalled libraries when the uninstalled
1.10106 - # path is not listed in the libpath. Setting hardcode_minus_L
1.10107 - # to unsupported forces relinking
1.10108 - hardcode_minus_L_CXX=yes
1.10109 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10110 - hardcode_libdir_separator_CXX=
1.10111 - fi
1.10112 - esac
1.10113 - shared_flag='-shared'
1.10114 - if test "$aix_use_runtimelinking" = yes; then
1.10115 - shared_flag="$shared_flag "'${wl}-G'
1.10116 - fi
1.10117 - else
1.10118 - # not using gcc
1.10119 - if test "$host_cpu" = ia64; then
1.10120 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.10121 - # chokes on -Wl,-G. The following line is correct:
1.10122 - shared_flag='-G'
1.10123 - else
1.10124 - if test "$aix_use_runtimelinking" = yes; then
1.10125 - shared_flag='${wl}-G'
1.10126 - else
1.10127 - shared_flag='${wl}-bM:SRE'
1.10128 - fi
1.10129 - fi
1.10130 - fi
1.10131 -
1.10132 - # It seems that -bexpall does not export symbols beginning with
1.10133 - # underscore (_), so it is better to generate a list of symbols to export.
1.10134 - always_export_symbols_CXX=yes
1.10135 - if test "$aix_use_runtimelinking" = yes; then
1.10136 - # Warning - without using the other runtime loading flags (-brtl),
1.10137 - # -berok will link without error, but may produce a broken library.
1.10138 - allow_undefined_flag_CXX='-berok'
1.10139 - # Determine the default libpath from the value encoded in an empty executable.
1.10140 - cat >conftest.$ac_ext <<_ACEOF
1.10141 -/* confdefs.h. */
1.10142 -_ACEOF
1.10143 -cat confdefs.h >>conftest.$ac_ext
1.10144 -cat >>conftest.$ac_ext <<_ACEOF
1.10145 -/* end confdefs.h. */
1.10146 -
1.10147 -int
1.10148 -main ()
1.10149 -{
1.10150 -
1.10151 - ;
1.10152 - return 0;
1.10153 -}
1.10154 -_ACEOF
1.10155 -rm -f conftest.$ac_objext conftest$ac_exeext
1.10156 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.10157 - (eval $ac_link) 2>conftest.er1
1.10158 - ac_status=$?
1.10159 - grep -v '^ *+' conftest.er1 >conftest.err
1.10160 - rm -f conftest.er1
1.10161 - cat conftest.err >&5
1.10162 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10163 - (exit $ac_status); } &&
1.10164 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.10165 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.10166 - (eval $ac_try) 2>&5
1.10167 - ac_status=$?
1.10168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10169 - (exit $ac_status); }; } &&
1.10170 - { ac_try='test -s conftest$ac_exeext'
1.10171 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.10172 - (eval $ac_try) 2>&5
1.10173 - ac_status=$?
1.10174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10175 - (exit $ac_status); }; }; then
1.10176 -
1.10177 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.10178 -}'`
1.10179 -# Check for a 64-bit object if we didn't find anything.
1.10180 -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.10181 -}'`; fi
1.10182 -else
1.10183 - echo "$as_me: failed program was:" >&5
1.10184 -sed 's/^/| /' conftest.$ac_ext >&5
1.10185 -
1.10186 -fi
1.10187 -rm -f conftest.err conftest.$ac_objext \
1.10188 - conftest$ac_exeext conftest.$ac_ext
1.10189 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.10190 -
1.10191 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1.10192 -
1.10193 - 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.10194 - else
1.10195 - if test "$host_cpu" = ia64; then
1.10196 - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
1.10197 - allow_undefined_flag_CXX="-z nodefs"
1.10198 - 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.10199 - else
1.10200 - # Determine the default libpath from the value encoded in an empty executable.
1.10201 - cat >conftest.$ac_ext <<_ACEOF
1.10202 -/* confdefs.h. */
1.10203 -_ACEOF
1.10204 -cat confdefs.h >>conftest.$ac_ext
1.10205 -cat >>conftest.$ac_ext <<_ACEOF
1.10206 -/* end confdefs.h. */
1.10207 -
1.10208 -int
1.10209 -main ()
1.10210 -{
1.10211 -
1.10212 - ;
1.10213 - return 0;
1.10214 -}
1.10215 -_ACEOF
1.10216 -rm -f conftest.$ac_objext conftest$ac_exeext
1.10217 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.10218 - (eval $ac_link) 2>conftest.er1
1.10219 - ac_status=$?
1.10220 - grep -v '^ *+' conftest.er1 >conftest.err
1.10221 - rm -f conftest.er1
1.10222 - cat conftest.err >&5
1.10223 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10224 - (exit $ac_status); } &&
1.10225 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.10226 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.10227 - (eval $ac_try) 2>&5
1.10228 - ac_status=$?
1.10229 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10230 - (exit $ac_status); }; } &&
1.10231 - { ac_try='test -s conftest$ac_exeext'
1.10232 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.10233 - (eval $ac_try) 2>&5
1.10234 - ac_status=$?
1.10235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10236 - (exit $ac_status); }; }; then
1.10237 -
1.10238 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.10239 -}'`
1.10240 -# Check for a 64-bit object if we didn't find anything.
1.10241 -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.10242 -}'`; fi
1.10243 -else
1.10244 - echo "$as_me: failed program was:" >&5
1.10245 -sed 's/^/| /' conftest.$ac_ext >&5
1.10246 -
1.10247 -fi
1.10248 -rm -f conftest.err conftest.$ac_objext \
1.10249 - conftest$ac_exeext conftest.$ac_ext
1.10250 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.10251 -
1.10252 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1.10253 - # Warning - without using the other run time loading flags,
1.10254 - # -berok will link without error, but may produce a broken library.
1.10255 - no_undefined_flag_CXX=' ${wl}-bernotok'
1.10256 - allow_undefined_flag_CXX=' ${wl}-berok'
1.10257 - # -bexpall does not export symbols beginning with underscore (_)
1.10258 - always_export_symbols_CXX=yes
1.10259 - # Exported symbols can be pulled into shared objects from archives
1.10260 - whole_archive_flag_spec_CXX=' '
1.10261 - archive_cmds_need_lc_CXX=yes
1.10262 - # This is similar to how AIX traditionally builds its shared libraries.
1.10263 - 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.10264 - fi
1.10265 - fi
1.10266 - ;;
1.10267 - chorus*)
1.10268 - case $cc_basename in
1.10269 - *)
1.10270 - # FIXME: insert proper C++ library support
1.10271 - ld_shlibs_CXX=no
1.10272 - ;;
1.10273 - esac
1.10274 - ;;
1.10275 -
1.10276 -
1.10277 - cygwin* | mingw* | pw32*)
1.10278 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
1.10279 - # as there is no search path for DLLs.
1.10280 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10281 - allow_undefined_flag_CXX=unsupported
1.10282 - always_export_symbols_CXX=no
1.10283 - enable_shared_with_static_runtimes_CXX=yes
1.10284 -
1.10285 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.10286 - 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.10287 - # If the export-symbols file already is a .def file (1st line
1.10288 - # is EXPORTS), use it as is; otherwise, prepend...
1.10289 - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.10290 - cp $export_symbols $output_objdir/$soname.def;
1.10291 - else
1.10292 - echo EXPORTS > $output_objdir/$soname.def;
1.10293 - cat $export_symbols >> $output_objdir/$soname.def;
1.10294 - fi~
1.10295 - $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.10296 - else
1.10297 - ld_shlibs_CXX=no
1.10298 - fi
1.10299 - ;;
1.10300 - darwin* | rhapsody*)
1.10301 - case $host_os in
1.10302 - rhapsody* | darwin1.[012])
1.10303 - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
1.10304 - ;;
1.10305 - *) # Darwin 1.3 on
1.10306 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.10307 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.10308 - else
1.10309 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.10310 - 10.[012])
1.10311 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.10312 - ;;
1.10313 - 10.*)
1.10314 - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
1.10315 - ;;
1.10316 - esac
1.10317 - fi
1.10318 - ;;
1.10319 - esac
1.10320 - archive_cmds_need_lc_CXX=no
1.10321 - hardcode_direct_CXX=no
1.10322 - hardcode_automatic_CXX=yes
1.10323 - hardcode_shlibpath_var_CXX=unsupported
1.10324 - whole_archive_flag_spec_CXX=''
1.10325 - link_all_deplibs_CXX=yes
1.10326 -
1.10327 - if test "$GXX" = yes ; then
1.10328 - lt_int_apple_cc_single_mod=no
1.10329 - output_verbose_link_cmd='echo'
1.10330 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
1.10331 - lt_int_apple_cc_single_mod=yes
1.10332 - fi
1.10333 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.10334 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.10335 - else
1.10336 - archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.10337 - fi
1.10338 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.10339 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.10340 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1.10341 - 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.10342 - else
1.10343 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.10344 - fi
1.10345 - 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.10346 - else
1.10347 - case $cc_basename in
1.10348 - xlc*)
1.10349 - output_verbose_link_cmd='echo'
1.10350 - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
1.10351 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.10352 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.10353 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.10354 - 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.10355 - ;;
1.10356 - *)
1.10357 - ld_shlibs_CXX=no
1.10358 - ;;
1.10359 - esac
1.10360 - fi
1.10361 - ;;
1.10362 -
1.10363 - dgux*)
1.10364 - case $cc_basename in
1.10365 - ec++*)
1.10366 - # FIXME: insert proper C++ library support
1.10367 - ld_shlibs_CXX=no
1.10368 - ;;
1.10369 - ghcx*)
1.10370 - # Green Hills C++ Compiler
1.10371 - # FIXME: insert proper C++ library support
1.10372 - ld_shlibs_CXX=no
1.10373 - ;;
1.10374 - *)
1.10375 - # FIXME: insert proper C++ library support
1.10376 - ld_shlibs_CXX=no
1.10377 - ;;
1.10378 - esac
1.10379 - ;;
1.10380 - freebsd[12]*)
1.10381 - # C++ shared libraries reported to be fairly broken before switch to ELF
1.10382 - ld_shlibs_CXX=no
1.10383 - ;;
1.10384 - freebsd-elf*)
1.10385 - archive_cmds_need_lc_CXX=no
1.10386 - ;;
1.10387 - freebsd* | kfreebsd*-gnu | dragonfly*)
1.10388 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1.10389 - # conventions
1.10390 - ld_shlibs_CXX=yes
1.10391 - ;;
1.10392 - gnu*)
1.10393 - ;;
1.10394 - hpux9*)
1.10395 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.10396 - hardcode_libdir_separator_CXX=:
1.10397 - export_dynamic_flag_spec_CXX='${wl}-E'
1.10398 - hardcode_direct_CXX=yes
1.10399 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.10400 - # but as the default
1.10401 - # location of the library.
1.10402 -
1.10403 - case $cc_basename in
1.10404 - CC*)
1.10405 - # FIXME: insert proper C++ library support
1.10406 - ld_shlibs_CXX=no
1.10407 - ;;
1.10408 - aCC*)
1.10409 - 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.10410 - # Commands to make compiler produce verbose output that lists
1.10411 - # what "hidden" libraries, object files and flags are used when
1.10412 - # linking a shared library.
1.10413 - #
1.10414 - # There doesn't appear to be a way to prevent this compiler from
1.10415 - # explicitly linking system object files so we need to strip them
1.10416 - # from the output so that they don't get included in the library
1.10417 - # dependencies.
1.10418 - 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.10419 - ;;
1.10420 - *)
1.10421 - if test "$GXX" = yes; then
1.10422 - 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.10423 - else
1.10424 - # FIXME: insert proper C++ library support
1.10425 - ld_shlibs_CXX=no
1.10426 - fi
1.10427 - ;;
1.10428 - esac
1.10429 - ;;
1.10430 - hpux10*|hpux11*)
1.10431 - if test $with_gnu_ld = no; then
1.10432 - case $host_cpu in
1.10433 - hppa*64*)
1.10434 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.10435 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
1.10436 - hardcode_libdir_separator_CXX=:
1.10437 - ;;
1.10438 - ia64*)
1.10439 - hardcode_libdir_flag_spec_CXX='-L$libdir'
1.10440 - ;;
1.10441 - *)
1.10442 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1.10443 - hardcode_libdir_separator_CXX=:
1.10444 - export_dynamic_flag_spec_CXX='${wl}-E'
1.10445 - ;;
1.10446 - esac
1.10447 - fi
1.10448 - case $host_cpu in
1.10449 - hppa*64*)
1.10450 - hardcode_direct_CXX=no
1.10451 - hardcode_shlibpath_var_CXX=no
1.10452 - ;;
1.10453 - ia64*)
1.10454 - hardcode_direct_CXX=no
1.10455 - hardcode_shlibpath_var_CXX=no
1.10456 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.10457 - # but as the default
1.10458 - # location of the library.
1.10459 - ;;
1.10460 - *)
1.10461 - hardcode_direct_CXX=yes
1.10462 - hardcode_minus_L_CXX=yes # Not in the search PATH,
1.10463 - # but as the default
1.10464 - # location of the library.
1.10465 - ;;
1.10466 - esac
1.10467 -
1.10468 - case $cc_basename in
1.10469 - CC*)
1.10470 - # FIXME: insert proper C++ library support
1.10471 - ld_shlibs_CXX=no
1.10472 - ;;
1.10473 - aCC*)
1.10474 - case $host_cpu in
1.10475 - hppa*64*|ia64*)
1.10476 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1.10477 - ;;
1.10478 - *)
1.10479 - 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.10480 - ;;
1.10481 - esac
1.10482 - # Commands to make compiler produce verbose output that lists
1.10483 - # what "hidden" libraries, object files and flags are used when
1.10484 - # linking a shared library.
1.10485 - #
1.10486 - # There doesn't appear to be a way to prevent this compiler from
1.10487 - # explicitly linking system object files so we need to strip them
1.10488 - # from the output so that they don't get included in the library
1.10489 - # dependencies.
1.10490 - 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.10491 - ;;
1.10492 - *)
1.10493 - if test "$GXX" = yes; then
1.10494 - if test $with_gnu_ld = no; then
1.10495 - case $host_cpu in
1.10496 - ia64*|hppa*64*)
1.10497 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1.10498 - ;;
1.10499 - *)
1.10500 - 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.10501 - ;;
1.10502 - esac
1.10503 - fi
1.10504 - else
1.10505 - # FIXME: insert proper C++ library support
1.10506 - ld_shlibs_CXX=no
1.10507 - fi
1.10508 - ;;
1.10509 - esac
1.10510 - ;;
1.10511 - irix5* | irix6*)
1.10512 - case $cc_basename in
1.10513 - CC*)
1.10514 - # SGI C++
1.10515 - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1.10516 -
1.10517 - # Archives containing C++ object files must be created using
1.10518 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
1.10519 - # necessary to make sure instantiated templates are included
1.10520 - # in the archive.
1.10521 - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
1.10522 - ;;
1.10523 - *)
1.10524 - if test "$GXX" = yes; then
1.10525 - if test "$with_gnu_ld" = no; then
1.10526 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.10527 - else
1.10528 - 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.10529 - fi
1.10530 - fi
1.10531 - link_all_deplibs_CXX=yes
1.10532 - ;;
1.10533 - esac
1.10534 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.10535 - hardcode_libdir_separator_CXX=:
1.10536 - ;;
1.10537 - linux*)
1.10538 - case $cc_basename in
1.10539 - KCC*)
1.10540 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.10541 -
1.10542 - # KCC will only create a shared library if the output file
1.10543 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.10544 - # to its proper name (with version) after linking.
1.10545 - 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.10546 - 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.10547 - # Commands to make compiler produce verbose output that lists
1.10548 - # what "hidden" libraries, object files and flags are used when
1.10549 - # linking a shared library.
1.10550 - #
1.10551 - # There doesn't appear to be a way to prevent this compiler from
1.10552 - # explicitly linking system object files so we need to strip them
1.10553 - # from the output so that they don't get included in the library
1.10554 - # dependencies.
1.10555 - 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.10556 -
1.10557 - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
1.10558 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.10559 -
1.10560 - # Archives containing C++ object files must be created using
1.10561 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1.10562 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1.10563 - ;;
1.10564 - icpc*)
1.10565 - # Intel C++
1.10566 - with_gnu_ld=yes
1.10567 - # version 8.0 and above of icpc choke on multiply defined symbols
1.10568 - # if we add $predep_objects and $postdep_objects, however 7.1 and
1.10569 - # earlier do not add the objects themselves.
1.10570 - case `$CC -V 2>&1` in
1.10571 - *"Version 7."*)
1.10572 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10573 - 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.10574 - ;;
1.10575 - *) # Version 8.0 or newer
1.10576 - tmp_idyn=
1.10577 - case $host_cpu in
1.10578 - ia64*) tmp_idyn=' -i_dynamic';;
1.10579 - esac
1.10580 - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10581 - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.10582 - ;;
1.10583 - esac
1.10584 - archive_cmds_need_lc_CXX=no
1.10585 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.10586 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.10587 - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
1.10588 - ;;
1.10589 - pgCC*)
1.10590 - # Portland Group C++ compiler
1.10591 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1.10592 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
1.10593 -
1.10594 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
1.10595 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1.10596 - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
1.10597 - ;;
1.10598 - cxx*)
1.10599 - # Compaq C++
1.10600 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10601 - 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.10602 -
1.10603 - runpath_var=LD_RUN_PATH
1.10604 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1.10605 - hardcode_libdir_separator_CXX=:
1.10606 -
1.10607 - # Commands to make compiler produce verbose output that lists
1.10608 - # what "hidden" libraries, object files and flags are used when
1.10609 - # linking a shared library.
1.10610 - #
1.10611 - # There doesn't appear to be a way to prevent this compiler from
1.10612 - # explicitly linking system object files so we need to strip them
1.10613 - # from the output so that they don't get included in the library
1.10614 - # dependencies.
1.10615 - 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.10616 - ;;
1.10617 - esac
1.10618 - ;;
1.10619 - lynxos*)
1.10620 - # FIXME: insert proper C++ library support
1.10621 - ld_shlibs_CXX=no
1.10622 - ;;
1.10623 - m88k*)
1.10624 - # FIXME: insert proper C++ library support
1.10625 - ld_shlibs_CXX=no
1.10626 - ;;
1.10627 - mvs*)
1.10628 - case $cc_basename in
1.10629 - cxx*)
1.10630 - # FIXME: insert proper C++ library support
1.10631 - ld_shlibs_CXX=no
1.10632 - ;;
1.10633 - *)
1.10634 - # FIXME: insert proper C++ library support
1.10635 - ld_shlibs_CXX=no
1.10636 - ;;
1.10637 - esac
1.10638 - ;;
1.10639 - netbsd*)
1.10640 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.10641 - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1.10642 - wlarc=
1.10643 - hardcode_libdir_flag_spec_CXX='-R$libdir'
1.10644 - hardcode_direct_CXX=yes
1.10645 - hardcode_shlibpath_var_CXX=no
1.10646 - fi
1.10647 - # Workaround some broken pre-1.5 toolchains
1.10648 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
1.10649 - ;;
1.10650 - openbsd2*)
1.10651 - # C++ shared libraries are fairly broken
1.10652 - ld_shlibs_CXX=no
1.10653 - ;;
1.10654 - openbsd*)
1.10655 - hardcode_direct_CXX=yes
1.10656 - hardcode_shlibpath_var_CXX=no
1.10657 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
1.10658 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.10659 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.10660 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
1.10661 - export_dynamic_flag_spec_CXX='${wl}-E'
1.10662 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.10663 - fi
1.10664 - output_verbose_link_cmd='echo'
1.10665 - ;;
1.10666 - osf3*)
1.10667 - case $cc_basename in
1.10668 - KCC*)
1.10669 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.10670 -
1.10671 - # KCC will only create a shared library if the output file
1.10672 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.10673 - # to its proper name (with version) after linking.
1.10674 - 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.10675 -
1.10676 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.10677 - hardcode_libdir_separator_CXX=:
1.10678 -
1.10679 - # Archives containing C++ object files must be created using
1.10680 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1.10681 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1.10682 -
1.10683 - ;;
1.10684 - RCC*)
1.10685 - # Rational C++ 2.4.1
1.10686 - # FIXME: insert proper C++ library support
1.10687 - ld_shlibs_CXX=no
1.10688 - ;;
1.10689 - cxx*)
1.10690 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.10691 - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1.10692 -
1.10693 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.10694 - hardcode_libdir_separator_CXX=:
1.10695 -
1.10696 - # Commands to make compiler produce verbose output that lists
1.10697 - # what "hidden" libraries, object files and flags are used when
1.10698 - # linking a shared library.
1.10699 - #
1.10700 - # There doesn't appear to be a way to prevent this compiler from
1.10701 - # explicitly linking system object files so we need to strip them
1.10702 - # from the output so that they don't get included in the library
1.10703 - # dependencies.
1.10704 - 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.10705 - ;;
1.10706 - *)
1.10707 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.10708 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.10709 - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.10710 -
1.10711 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.10712 - hardcode_libdir_separator_CXX=:
1.10713 -
1.10714 - # Commands to make compiler produce verbose output that lists
1.10715 - # what "hidden" libraries, object files and flags are used when
1.10716 - # linking a shared library.
1.10717 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.10718 -
1.10719 - else
1.10720 - # FIXME: insert proper C++ library support
1.10721 - ld_shlibs_CXX=no
1.10722 - fi
1.10723 - ;;
1.10724 - esac
1.10725 - ;;
1.10726 - osf4* | osf5*)
1.10727 - case $cc_basename in
1.10728 - KCC*)
1.10729 - # Kuck and Associates, Inc. (KAI) C++ Compiler
1.10730 -
1.10731 - # KCC will only create a shared library if the output file
1.10732 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
1.10733 - # to its proper name (with version) after linking.
1.10734 - 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.10735 -
1.10736 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1.10737 - hardcode_libdir_separator_CXX=:
1.10738 -
1.10739 - # Archives containing C++ object files must be created using
1.10740 - # the KAI C++ compiler.
1.10741 - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
1.10742 - ;;
1.10743 - RCC*)
1.10744 - # Rational C++ 2.4.1
1.10745 - # FIXME: insert proper C++ library support
1.10746 - ld_shlibs_CXX=no
1.10747 - ;;
1.10748 - cxx*)
1.10749 - allow_undefined_flag_CXX=' -expect_unresolved \*'
1.10750 - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1.10751 - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1.10752 - echo "-hidden">> $lib.exp~
1.10753 - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
1.10754 - $rm $lib.exp'
1.10755 -
1.10756 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1.10757 - hardcode_libdir_separator_CXX=:
1.10758 -
1.10759 - # Commands to make compiler produce verbose output that lists
1.10760 - # what "hidden" libraries, object files and flags are used when
1.10761 - # linking a shared library.
1.10762 - #
1.10763 - # There doesn't appear to be a way to prevent this compiler from
1.10764 - # explicitly linking system object files so we need to strip them
1.10765 - # from the output so that they don't get included in the library
1.10766 - # dependencies.
1.10767 - 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.10768 - ;;
1.10769 - *)
1.10770 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.10771 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1.10772 - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.10773 -
1.10774 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1.10775 - hardcode_libdir_separator_CXX=:
1.10776 -
1.10777 - # Commands to make compiler produce verbose output that lists
1.10778 - # what "hidden" libraries, object files and flags are used when
1.10779 - # linking a shared library.
1.10780 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
1.10781 -
1.10782 - else
1.10783 - # FIXME: insert proper C++ library support
1.10784 - ld_shlibs_CXX=no
1.10785 - fi
1.10786 - ;;
1.10787 - esac
1.10788 - ;;
1.10789 - psos*)
1.10790 - # FIXME: insert proper C++ library support
1.10791 - ld_shlibs_CXX=no
1.10792 - ;;
1.10793 - sco*)
1.10794 - archive_cmds_need_lc_CXX=no
1.10795 - case $cc_basename in
1.10796 - CC*)
1.10797 - # FIXME: insert proper C++ library support
1.10798 - ld_shlibs_CXX=no
1.10799 - ;;
1.10800 - *)
1.10801 - # FIXME: insert proper C++ library support
1.10802 - ld_shlibs_CXX=no
1.10803 - ;;
1.10804 - esac
1.10805 - ;;
1.10806 - sunos4*)
1.10807 - case $cc_basename in
1.10808 - CC*)
1.10809 - # Sun C++ 4.x
1.10810 - # FIXME: insert proper C++ library support
1.10811 - ld_shlibs_CXX=no
1.10812 - ;;
1.10813 - lcc*)
1.10814 - # Lucid
1.10815 - # FIXME: insert proper C++ library support
1.10816 - ld_shlibs_CXX=no
1.10817 - ;;
1.10818 - *)
1.10819 - # FIXME: insert proper C++ library support
1.10820 - ld_shlibs_CXX=no
1.10821 - ;;
1.10822 - esac
1.10823 - ;;
1.10824 - solaris*)
1.10825 - case $cc_basename in
1.10826 - CC*)
1.10827 - # Sun C++ 4.2, 5.x and Centerline C++
1.10828 - archive_cmds_need_lc_CXX=yes
1.10829 - no_undefined_flag_CXX=' -zdefs'
1.10830 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.10831 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.10832 - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.10833 -
1.10834 - hardcode_libdir_flag_spec_CXX='-R$libdir'
1.10835 - hardcode_shlibpath_var_CXX=no
1.10836 - case $host_os in
1.10837 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.10838 - *)
1.10839 - # The C++ compiler is used as linker so we must use $wl
1.10840 - # flag to pass the commands to the underlying system
1.10841 - # linker. We must also pass each convience library through
1.10842 - # to the system linker between allextract/defaultextract.
1.10843 - # The C++ compiler will combine linker options so we
1.10844 - # cannot just pass the convience library names through
1.10845 - # without $wl.
1.10846 - # Supported since Solaris 2.6 (maybe 2.5.1?)
1.10847 - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
1.10848 - ;;
1.10849 - esac
1.10850 - link_all_deplibs_CXX=yes
1.10851 -
1.10852 - output_verbose_link_cmd='echo'
1.10853 -
1.10854 - # Archives containing C++ object files must be created using
1.10855 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
1.10856 - # necessary to make sure instantiated templates are included
1.10857 - # in the archive.
1.10858 - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
1.10859 - ;;
1.10860 - gcx*)
1.10861 - # Green Hills C++ Compiler
1.10862 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.10863 -
1.10864 - # The C++ compiler must be used to create the archive.
1.10865 - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
1.10866 - ;;
1.10867 - *)
1.10868 - # GNU C++ compiler with Solaris linker
1.10869 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1.10870 - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
1.10871 - if $CC --version | grep -v '^2\.7' > /dev/null; then
1.10872 - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.10873 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.10874 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.10875 -
1.10876 - # Commands to make compiler produce verbose output that lists
1.10877 - # what "hidden" libraries, object files and flags are used when
1.10878 - # linking a shared library.
1.10879 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
1.10880 - else
1.10881 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
1.10882 - # platform.
1.10883 - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1.10884 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.10885 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1.10886 -
1.10887 - # Commands to make compiler produce verbose output that lists
1.10888 - # what "hidden" libraries, object files and flags are used when
1.10889 - # linking a shared library.
1.10890 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
1.10891 - fi
1.10892 -
1.10893 - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
1.10894 - fi
1.10895 - ;;
1.10896 - esac
1.10897 - ;;
1.10898 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.10899 - archive_cmds_need_lc_CXX=no
1.10900 - ;;
1.10901 - tandem*)
1.10902 - case $cc_basename in
1.10903 - NCC*)
1.10904 - # NonStop-UX NCC 3.20
1.10905 - # FIXME: insert proper C++ library support
1.10906 - ld_shlibs_CXX=no
1.10907 - ;;
1.10908 - *)
1.10909 - # FIXME: insert proper C++ library support
1.10910 - ld_shlibs_CXX=no
1.10911 - ;;
1.10912 - esac
1.10913 - ;;
1.10914 - vxworks*)
1.10915 - # FIXME: insert proper C++ library support
1.10916 - ld_shlibs_CXX=no
1.10917 - ;;
1.10918 - *)
1.10919 - # FIXME: insert proper C++ library support
1.10920 - ld_shlibs_CXX=no
1.10921 - ;;
1.10922 -esac
1.10923 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1.10924 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
1.10925 -test "$ld_shlibs_CXX" = no && can_build_shared=no
1.10926 -
1.10927 -GCC_CXX="$GXX"
1.10928 -LD_CXX="$LD"
1.10929 -
1.10930 -## CAVEAT EMPTOR:
1.10931 -## There is no encapsulation within the following macros, do not change
1.10932 -## the running order or otherwise move them around unless you know exactly
1.10933 -## what you are doing...
1.10934 -
1.10935 -cat > conftest.$ac_ext <<EOF
1.10936 -class Foo
1.10937 -{
1.10938 -public:
1.10939 - Foo (void) { a = 0; }
1.10940 -private:
1.10941 - int a;
1.10942 -};
1.10943 -EOF
1.10944 -
1.10945 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.10946 - (eval $ac_compile) 2>&5
1.10947 - ac_status=$?
1.10948 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10949 - (exit $ac_status); }; then
1.10950 - # Parse the compiler output and extract the necessary
1.10951 - # objects, libraries and library flags.
1.10952 -
1.10953 - # Sentinel used to keep track of whether or not we are before
1.10954 - # the conftest object file.
1.10955 - pre_test_object_deps_done=no
1.10956 -
1.10957 - # The `*' in the case matches for architectures that use `case' in
1.10958 - # $output_verbose_cmd can trigger glob expansion during the loop
1.10959 - # eval without this substitution.
1.10960 - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
1.10961 -
1.10962 - for p in `eval $output_verbose_link_cmd`; do
1.10963 - case $p in
1.10964 -
1.10965 - -L* | -R* | -l*)
1.10966 - # Some compilers place space between "-{L,R}" and the path.
1.10967 - # Remove the space.
1.10968 - if test $p = "-L" \
1.10969 - || test $p = "-R"; then
1.10970 - prev=$p
1.10971 - continue
1.10972 - else
1.10973 - prev=
1.10974 - fi
1.10975 -
1.10976 - if test "$pre_test_object_deps_done" = no; then
1.10977 - case $p in
1.10978 - -L* | -R*)
1.10979 - # Internal compiler library paths should come after those
1.10980 - # provided the user. The postdeps already come after the
1.10981 - # user supplied libs so there is no need to process them.
1.10982 - if test -z "$compiler_lib_search_path_CXX"; then
1.10983 - compiler_lib_search_path_CXX="${prev}${p}"
1.10984 - else
1.10985 - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
1.10986 - fi
1.10987 - ;;
1.10988 - # The "-l" case would never come before the object being
1.10989 - # linked, so don't bother handling this case.
1.10990 - esac
1.10991 - else
1.10992 - if test -z "$postdeps_CXX"; then
1.10993 - postdeps_CXX="${prev}${p}"
1.10994 - else
1.10995 - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
1.10996 - fi
1.10997 - fi
1.10998 - ;;
1.10999 -
1.11000 - *.$objext)
1.11001 - # This assumes that the test object file only shows up
1.11002 - # once in the compiler output.
1.11003 - if test "$p" = "conftest.$objext"; then
1.11004 - pre_test_object_deps_done=yes
1.11005 - continue
1.11006 - fi
1.11007 -
1.11008 - if test "$pre_test_object_deps_done" = no; then
1.11009 - if test -z "$predep_objects_CXX"; then
1.11010 - predep_objects_CXX="$p"
1.11011 - else
1.11012 - predep_objects_CXX="$predep_objects_CXX $p"
1.11013 - fi
1.11014 - else
1.11015 - if test -z "$postdep_objects_CXX"; then
1.11016 - postdep_objects_CXX="$p"
1.11017 - else
1.11018 - postdep_objects_CXX="$postdep_objects_CXX $p"
1.11019 - fi
1.11020 - fi
1.11021 - ;;
1.11022 -
1.11023 - *) ;; # Ignore the rest.
1.11024 -
1.11025 - esac
1.11026 - done
1.11027 -
1.11028 - # Clean up.
1.11029 - rm -f a.out a.exe
1.11030 -else
1.11031 - echo "libtool.m4: error: problem compiling CXX test program"
1.11032 -fi
1.11033 -
1.11034 -$rm -f confest.$objext
1.11035 -
1.11036 -# PORTME: override above test on systems where it is broken
1.11037 -case $host_os in
1.11038 -solaris*)
1.11039 - case $cc_basename in
1.11040 - CC*)
1.11041 - # Adding this requires a known-good setup of shared libraries for
1.11042 - # Sun compiler versions before 5.6, else PIC objects from an old
1.11043 - # archive will be linked into the output, leading to subtle bugs.
1.11044 - postdeps_CXX='-lCstd -lCrun'
1.11045 - ;;
1.11046 - esac
1.11047 -esac
1.11048 -
1.11049 -
1.11050 -case " $postdeps_CXX " in
1.11051 -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
1.11052 -esac
1.11053 -
1.11054 -lt_prog_compiler_wl_CXX=
1.11055 -lt_prog_compiler_pic_CXX=
1.11056 -lt_prog_compiler_static_CXX=
1.11057 -
1.11058 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.11059 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
1.11060 -
1.11061 - # C++ specific cases for pic, static, wl, etc.
1.11062 - if test "$GXX" = yes; then
1.11063 - lt_prog_compiler_wl_CXX='-Wl,'
1.11064 - lt_prog_compiler_static_CXX='-static'
1.11065 -
1.11066 - case $host_os in
1.11067 - aix*)
1.11068 - # All AIX code is PIC.
1.11069 - if test "$host_cpu" = ia64; then
1.11070 - # AIX 5 now supports IA64 processor
1.11071 - lt_prog_compiler_static_CXX='-Bstatic'
1.11072 - fi
1.11073 - ;;
1.11074 - amigaos*)
1.11075 - # FIXME: we need at least 68020 code to build shared libraries, but
1.11076 - # adding the `-m68020' flag to GCC prevents building anything better,
1.11077 - # like `-m68040'.
1.11078 - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
1.11079 - ;;
1.11080 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.11081 - # PIC is the default for these OSes.
1.11082 - ;;
1.11083 - mingw* | os2* | pw32*)
1.11084 - # This hack is so that the source file can tell whether it is being
1.11085 - # built for inclusion in a dll (and should export symbols for example).
1.11086 - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
1.11087 - ;;
1.11088 - darwin* | rhapsody*)
1.11089 - # PIC is the default on this platform
1.11090 - # Common symbols not allowed in MH_DYLIB files
1.11091 - lt_prog_compiler_pic_CXX='-fno-common'
1.11092 - ;;
1.11093 - *djgpp*)
1.11094 - # DJGPP does not support shared libraries at all
1.11095 - lt_prog_compiler_pic_CXX=
1.11096 - ;;
1.11097 - sysv4*MP*)
1.11098 - if test -d /usr/nec; then
1.11099 - lt_prog_compiler_pic_CXX=-Kconform_pic
1.11100 - fi
1.11101 - ;;
1.11102 - hpux*)
1.11103 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.11104 - # not for PA HP-UX.
1.11105 - case $host_cpu in
1.11106 - hppa*64*|ia64*)
1.11107 - ;;
1.11108 - *)
1.11109 - lt_prog_compiler_pic_CXX='-fPIC'
1.11110 - ;;
1.11111 - esac
1.11112 - ;;
1.11113 - *)
1.11114 - lt_prog_compiler_pic_CXX='-fPIC'
1.11115 - ;;
1.11116 - esac
1.11117 - else
1.11118 - case $host_os in
1.11119 - aix4* | aix5*)
1.11120 - # All AIX code is PIC.
1.11121 - if test "$host_cpu" = ia64; then
1.11122 - # AIX 5 now supports IA64 processor
1.11123 - lt_prog_compiler_static_CXX='-Bstatic'
1.11124 - else
1.11125 - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
1.11126 - fi
1.11127 - ;;
1.11128 - chorus*)
1.11129 - case $cc_basename in
1.11130 - cxch68*)
1.11131 - # Green Hills C++ Compiler
1.11132 - # _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.11133 - ;;
1.11134 - esac
1.11135 - ;;
1.11136 - darwin*)
1.11137 - # PIC is the default on this platform
1.11138 - # Common symbols not allowed in MH_DYLIB files
1.11139 - case $cc_basename in
1.11140 - xlc*)
1.11141 - lt_prog_compiler_pic_CXX='-qnocommon'
1.11142 - lt_prog_compiler_wl_CXX='-Wl,'
1.11143 - ;;
1.11144 - esac
1.11145 - ;;
1.11146 - dgux*)
1.11147 - case $cc_basename in
1.11148 - ec++*)
1.11149 - lt_prog_compiler_pic_CXX='-KPIC'
1.11150 - ;;
1.11151 - ghcx*)
1.11152 - # Green Hills C++ Compiler
1.11153 - lt_prog_compiler_pic_CXX='-pic'
1.11154 - ;;
1.11155 - *)
1.11156 - ;;
1.11157 - esac
1.11158 - ;;
1.11159 - freebsd* | kfreebsd*-gnu | dragonfly*)
1.11160 - # FreeBSD uses GNU C++
1.11161 - ;;
1.11162 - hpux9* | hpux10* | hpux11*)
1.11163 - case $cc_basename in
1.11164 - CC*)
1.11165 - lt_prog_compiler_wl_CXX='-Wl,'
1.11166 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1.11167 - if test "$host_cpu" != ia64; then
1.11168 - lt_prog_compiler_pic_CXX='+Z'
1.11169 - fi
1.11170 - ;;
1.11171 - aCC*)
1.11172 - lt_prog_compiler_wl_CXX='-Wl,'
1.11173 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1.11174 - case $host_cpu in
1.11175 - hppa*64*|ia64*)
1.11176 - # +Z the default
1.11177 - ;;
1.11178 - *)
1.11179 - lt_prog_compiler_pic_CXX='+Z'
1.11180 - ;;
1.11181 - esac
1.11182 - ;;
1.11183 - *)
1.11184 - ;;
1.11185 - esac
1.11186 - ;;
1.11187 - irix5* | irix6* | nonstopux*)
1.11188 - case $cc_basename in
1.11189 - CC*)
1.11190 - lt_prog_compiler_wl_CXX='-Wl,'
1.11191 - lt_prog_compiler_static_CXX='-non_shared'
1.11192 - # CC pic flag -KPIC is the default.
1.11193 - ;;
1.11194 - *)
1.11195 - ;;
1.11196 - esac
1.11197 - ;;
1.11198 - linux*)
1.11199 - case $cc_basename in
1.11200 - KCC*)
1.11201 - # KAI C++ Compiler
1.11202 - lt_prog_compiler_wl_CXX='--backend -Wl,'
1.11203 - lt_prog_compiler_pic_CXX='-fPIC'
1.11204 - ;;
1.11205 - icpc* | ecpc*)
1.11206 - # Intel C++
1.11207 - lt_prog_compiler_wl_CXX='-Wl,'
1.11208 - lt_prog_compiler_pic_CXX='-KPIC'
1.11209 - lt_prog_compiler_static_CXX='-static'
1.11210 - ;;
1.11211 - pgCC*)
1.11212 - # Portland Group C++ compiler.
1.11213 - lt_prog_compiler_wl_CXX='-Wl,'
1.11214 - lt_prog_compiler_pic_CXX='-fpic'
1.11215 - lt_prog_compiler_static_CXX='-Bstatic'
1.11216 - ;;
1.11217 - cxx*)
1.11218 - # Compaq C++
1.11219 - # Make sure the PIC flag is empty. It appears that all Alpha
1.11220 - # Linux and Compaq Tru64 Unix objects are PIC.
1.11221 - lt_prog_compiler_pic_CXX=
1.11222 - lt_prog_compiler_static_CXX='-non_shared'
1.11223 - ;;
1.11224 - *)
1.11225 - ;;
1.11226 - esac
1.11227 - ;;
1.11228 - lynxos*)
1.11229 - ;;
1.11230 - m88k*)
1.11231 - ;;
1.11232 - mvs*)
1.11233 - case $cc_basename in
1.11234 - cxx*)
1.11235 - lt_prog_compiler_pic_CXX='-W c,exportall'
1.11236 - ;;
1.11237 - *)
1.11238 - ;;
1.11239 - esac
1.11240 - ;;
1.11241 - netbsd*)
1.11242 - ;;
1.11243 - osf3* | osf4* | osf5*)
1.11244 - case $cc_basename in
1.11245 - KCC*)
1.11246 - lt_prog_compiler_wl_CXX='--backend -Wl,'
1.11247 - ;;
1.11248 - RCC*)
1.11249 - # Rational C++ 2.4.1
1.11250 - lt_prog_compiler_pic_CXX='-pic'
1.11251 - ;;
1.11252 - cxx*)
1.11253 - # Digital/Compaq C++
1.11254 - lt_prog_compiler_wl_CXX='-Wl,'
1.11255 - # Make sure the PIC flag is empty. It appears that all Alpha
1.11256 - # Linux and Compaq Tru64 Unix objects are PIC.
1.11257 - lt_prog_compiler_pic_CXX=
1.11258 - lt_prog_compiler_static_CXX='-non_shared'
1.11259 - ;;
1.11260 - *)
1.11261 - ;;
1.11262 - esac
1.11263 - ;;
1.11264 - psos*)
1.11265 - ;;
1.11266 - sco*)
1.11267 - case $cc_basename in
1.11268 - CC*)
1.11269 - lt_prog_compiler_pic_CXX='-fPIC'
1.11270 - ;;
1.11271 - *)
1.11272 - ;;
1.11273 - esac
1.11274 - ;;
1.11275 - solaris*)
1.11276 - case $cc_basename in
1.11277 - CC*)
1.11278 - # Sun C++ 4.2, 5.x and Centerline C++
1.11279 - lt_prog_compiler_pic_CXX='-KPIC'
1.11280 - lt_prog_compiler_static_CXX='-Bstatic'
1.11281 - lt_prog_compiler_wl_CXX='-Qoption ld '
1.11282 - ;;
1.11283 - gcx*)
1.11284 - # Green Hills C++ Compiler
1.11285 - lt_prog_compiler_pic_CXX='-PIC'
1.11286 - ;;
1.11287 - *)
1.11288 - ;;
1.11289 - esac
1.11290 - ;;
1.11291 - sunos4*)
1.11292 - case $cc_basename in
1.11293 - CC*)
1.11294 - # Sun C++ 4.x
1.11295 - lt_prog_compiler_pic_CXX='-pic'
1.11296 - lt_prog_compiler_static_CXX='-Bstatic'
1.11297 - ;;
1.11298 - lcc*)
1.11299 - # Lucid
1.11300 - lt_prog_compiler_pic_CXX='-pic'
1.11301 - ;;
1.11302 - *)
1.11303 - ;;
1.11304 - esac
1.11305 - ;;
1.11306 - tandem*)
1.11307 - case $cc_basename in
1.11308 - NCC*)
1.11309 - # NonStop-UX NCC 3.20
1.11310 - lt_prog_compiler_pic_CXX='-KPIC'
1.11311 - ;;
1.11312 - *)
1.11313 - ;;
1.11314 - esac
1.11315 - ;;
1.11316 - unixware*)
1.11317 - ;;
1.11318 - vxworks*)
1.11319 - ;;
1.11320 - *)
1.11321 - lt_prog_compiler_can_build_shared_CXX=no
1.11322 - ;;
1.11323 - esac
1.11324 - fi
1.11325 -
1.11326 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
1.11327 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
1.11328 -
1.11329 -#
1.11330 -# Check to make sure the PIC flag actually works.
1.11331 -#
1.11332 -if test -n "$lt_prog_compiler_pic_CXX"; then
1.11333 -
1.11334 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
1.11335 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
1.11336 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
1.11337 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11338 -else
1.11339 - lt_prog_compiler_pic_works_CXX=no
1.11340 - ac_outfile=conftest.$ac_objext
1.11341 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.11342 - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
1.11343 - # Insert the option either (1) after the last *FLAGS variable, or
1.11344 - # (2) before a word containing "conftest.", or (3) at the end.
1.11345 - # Note that $ac_compile itself does not contain backslashes and begins
1.11346 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.11347 - # The option is referenced via a variable to avoid confusing sed.
1.11348 - lt_compile=`echo "$ac_compile" | $SED \
1.11349 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.11350 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.11351 - -e 's:$: $lt_compiler_flag:'`
1.11352 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.11353 - (eval "$lt_compile" 2>conftest.err)
1.11354 - ac_status=$?
1.11355 - cat conftest.err >&5
1.11356 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.11357 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.11358 - # The compiler can only warn and ignore the option if not recognized
1.11359 - # So say no if there are warnings other than the usual output.
1.11360 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1.11361 - $SED '/^$/d' conftest.err >conftest.er2
1.11362 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1.11363 - lt_prog_compiler_pic_works_CXX=yes
1.11364 - fi
1.11365 - fi
1.11366 - $rm conftest*
1.11367 -
1.11368 -fi
1.11369 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
1.11370 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
1.11371 -
1.11372 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1.11373 - case $lt_prog_compiler_pic_CXX in
1.11374 - "" | " "*) ;;
1.11375 - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
1.11376 - esac
1.11377 -else
1.11378 - lt_prog_compiler_pic_CXX=
1.11379 - lt_prog_compiler_can_build_shared_CXX=no
1.11380 -fi
1.11381 -
1.11382 -fi
1.11383 -case $host_os in
1.11384 - # For platforms which do not support PIC, -DPIC is meaningless:
1.11385 - *djgpp*)
1.11386 - lt_prog_compiler_pic_CXX=
1.11387 - ;;
1.11388 - *)
1.11389 - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
1.11390 - ;;
1.11391 -esac
1.11392 -
1.11393 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.11394 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
1.11395 -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
1.11396 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11397 -else
1.11398 - lt_cv_prog_compiler_c_o_CXX=no
1.11399 - $rm -r conftest 2>/dev/null
1.11400 - mkdir conftest
1.11401 - cd conftest
1.11402 - mkdir out
1.11403 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.11404 -
1.11405 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.11406 - # Insert the option either (1) after the last *FLAGS variable, or
1.11407 - # (2) before a word containing "conftest.", or (3) at the end.
1.11408 - # Note that $ac_compile itself does not contain backslashes and begins
1.11409 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.11410 - lt_compile=`echo "$ac_compile" | $SED \
1.11411 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.11412 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.11413 - -e 's:$: $lt_compiler_flag:'`
1.11414 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.11415 - (eval "$lt_compile" 2>out/conftest.err)
1.11416 - ac_status=$?
1.11417 - cat out/conftest.err >&5
1.11418 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.11419 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.11420 - then
1.11421 - # The compiler can only warn and ignore the option if not recognized
1.11422 - # So say no if there are warnings
1.11423 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
1.11424 - $SED '/^$/d' out/conftest.err >out/conftest.er2
1.11425 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1.11426 - lt_cv_prog_compiler_c_o_CXX=yes
1.11427 - fi
1.11428 - fi
1.11429 - chmod u+w . 2>&5
1.11430 - $rm conftest*
1.11431 - # SGI C++ compiler will create directory out/ii_files/ for
1.11432 - # template instantiation
1.11433 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.11434 - $rm out/* && rmdir out
1.11435 - cd ..
1.11436 - rmdir conftest
1.11437 - $rm conftest*
1.11438 -
1.11439 -fi
1.11440 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
1.11441 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
1.11442 -
1.11443 -
1.11444 -hard_links="nottested"
1.11445 -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1.11446 - # do not overwrite the value of need_locks provided by the user
1.11447 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.11448 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
1.11449 - hard_links=yes
1.11450 - $rm conftest*
1.11451 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11452 - touch conftest.a
1.11453 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.11454 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11455 - echo "$as_me:$LINENO: result: $hard_links" >&5
1.11456 -echo "${ECHO_T}$hard_links" >&6
1.11457 - if test "$hard_links" = no; then
1.11458 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.11459 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.11460 - need_locks=warn
1.11461 - fi
1.11462 -else
1.11463 - need_locks=no
1.11464 -fi
1.11465 -
1.11466 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.11467 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.11468 -
1.11469 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.11470 - case $host_os in
1.11471 - aix4* | aix5*)
1.11472 - # If we're using GNU nm, then we don't want the "-C" option.
1.11473 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.11474 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.11475 - 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.11476 - else
1.11477 - 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.11478 - fi
1.11479 - ;;
1.11480 - pw32*)
1.11481 - export_symbols_cmds_CXX="$ltdll_cmds"
1.11482 - ;;
1.11483 - cygwin* | mingw*)
1.11484 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.11485 - ;;
1.11486 - *)
1.11487 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.11488 - ;;
1.11489 - esac
1.11490 -
1.11491 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1.11492 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
1.11493 -test "$ld_shlibs_CXX" = no && can_build_shared=no
1.11494 -
1.11495 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.11496 -if test "$GCC" = yes; then
1.11497 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.11498 -fi
1.11499 -
1.11500 -#
1.11501 -# Do we need to explicitly link libc?
1.11502 -#
1.11503 -case "x$archive_cmds_need_lc_CXX" in
1.11504 -x|xyes)
1.11505 - # Assume -lc should be added
1.11506 - archive_cmds_need_lc_CXX=yes
1.11507 -
1.11508 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.11509 - case $archive_cmds_CXX in
1.11510 - *'~'*)
1.11511 - # FIXME: we may have to deal with multi-command sequences.
1.11512 - ;;
1.11513 - '$CC '*)
1.11514 - # Test whether the compiler implicitly links with -lc since on some
1.11515 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.11516 - # to ld, don't add -lc before -lgcc.
1.11517 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.11518 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
1.11519 - $rm conftest*
1.11520 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.11521 -
1.11522 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.11523 - (eval $ac_compile) 2>&5
1.11524 - ac_status=$?
1.11525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11526 - (exit $ac_status); } 2>conftest.err; then
1.11527 - soname=conftest
1.11528 - lib=conftest
1.11529 - libobjs=conftest.$ac_objext
1.11530 - deplibs=
1.11531 - wl=$lt_prog_compiler_wl_CXX
1.11532 - compiler_flags=-v
1.11533 - linker_flags=-v
1.11534 - verstring=
1.11535 - output_objdir=.
1.11536 - libname=conftest
1.11537 - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1.11538 - allow_undefined_flag_CXX=
1.11539 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.11540 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.11541 - ac_status=$?
1.11542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11543 - (exit $ac_status); }
1.11544 - then
1.11545 - archive_cmds_need_lc_CXX=no
1.11546 - else
1.11547 - archive_cmds_need_lc_CXX=yes
1.11548 - fi
1.11549 - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
1.11550 - else
1.11551 - cat conftest.err 1>&5
1.11552 - fi
1.11553 - $rm conftest*
1.11554 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
1.11555 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
1.11556 - ;;
1.11557 - esac
1.11558 - fi
1.11559 - ;;
1.11560 -esac
1.11561 -
1.11562 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.11563 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
1.11564 -library_names_spec=
1.11565 -libname_spec='lib$name'
1.11566 -soname_spec=
1.11567 -shrext_cmds=".so"
1.11568 -postinstall_cmds=
1.11569 -postuninstall_cmds=
1.11570 -finish_cmds=
1.11571 -finish_eval=
1.11572 -shlibpath_var=
1.11573 -shlibpath_overrides_runpath=unknown
1.11574 -version_type=none
1.11575 -dynamic_linker="$host_os ld.so"
1.11576 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.11577 -if test "$GCC" = yes; then
1.11578 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.11579 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.11580 - # if the path contains ";" then we assume it to be the separator
1.11581 - # otherwise default to the standard path separator (i.e. ":") - it is
1.11582 - # assumed that no part of a normal pathname contains ";" but that should
1.11583 - # okay in the real world where ";" in dirpaths is itself problematic.
1.11584 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.11585 - else
1.11586 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.11587 - fi
1.11588 -else
1.11589 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.11590 -fi
1.11591 -need_lib_prefix=unknown
1.11592 -hardcode_into_libs=no
1.11593 -
1.11594 -# when you set need_version to no, make sure it does not cause -set_version
1.11595 -# flags to be left without arguments
1.11596 -need_version=unknown
1.11597 -
1.11598 -case $host_os in
1.11599 -aix3*)
1.11600 - version_type=linux
1.11601 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.11602 - shlibpath_var=LIBPATH
1.11603 -
1.11604 - # AIX 3 has no versioning support, so we append a major version to the name.
1.11605 - soname_spec='${libname}${release}${shared_ext}$major'
1.11606 - ;;
1.11607 -
1.11608 -aix4* | aix5*)
1.11609 - version_type=linux
1.11610 - need_lib_prefix=no
1.11611 - need_version=no
1.11612 - hardcode_into_libs=yes
1.11613 - if test "$host_cpu" = ia64; then
1.11614 - # AIX 5 supports IA64
1.11615 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.11616 - shlibpath_var=LD_LIBRARY_PATH
1.11617 - else
1.11618 - # With GCC up to 2.95.x, collect2 would create an import file
1.11619 - # for dependence libraries. The import file would start with
1.11620 - # the line `#! .'. This would cause the generated library to
1.11621 - # depend on `.', always an invalid library. This was fixed in
1.11622 - # development snapshots of GCC prior to 3.0.
1.11623 - case $host_os in
1.11624 - aix4 | aix4.[01] | aix4.[01].*)
1.11625 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.11626 - echo ' yes '
1.11627 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.11628 - :
1.11629 - else
1.11630 - can_build_shared=no
1.11631 - fi
1.11632 - ;;
1.11633 - esac
1.11634 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.11635 - # soname into executable. Probably we can add versioning support to
1.11636 - # collect2, so additional links can be useful in future.
1.11637 - if test "$aix_use_runtimelinking" = yes; then
1.11638 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.11639 - # instead of lib<name>.a to let people know that these are not
1.11640 - # typical AIX shared libraries.
1.11641 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11642 - else
1.11643 - # We preserve .a as extension for shared libraries through AIX4.2
1.11644 - # and later when we are not doing run time linking.
1.11645 - library_names_spec='${libname}${release}.a $libname.a'
1.11646 - soname_spec='${libname}${release}${shared_ext}$major'
1.11647 - fi
1.11648 - shlibpath_var=LIBPATH
1.11649 - fi
1.11650 - ;;
1.11651 -
1.11652 -amigaos*)
1.11653 - library_names_spec='$libname.ixlibrary $libname.a'
1.11654 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.11655 - 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.11656 - ;;
1.11657 -
1.11658 -beos*)
1.11659 - library_names_spec='${libname}${shared_ext}'
1.11660 - dynamic_linker="$host_os ld.so"
1.11661 - shlibpath_var=LIBRARY_PATH
1.11662 - ;;
1.11663 -
1.11664 -bsdi[45]*)
1.11665 - version_type=linux
1.11666 - need_version=no
1.11667 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11668 - soname_spec='${libname}${release}${shared_ext}$major'
1.11669 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.11670 - shlibpath_var=LD_LIBRARY_PATH
1.11671 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.11672 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.11673 - # the default ld.so.conf also contains /usr/contrib/lib and
1.11674 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.11675 - # libtool to hard-code these into programs
1.11676 - ;;
1.11677 -
1.11678 -cygwin* | mingw* | pw32*)
1.11679 - version_type=windows
1.11680 - shrext_cmds=".dll"
1.11681 - need_version=no
1.11682 - need_lib_prefix=no
1.11683 -
1.11684 - case $GCC,$host_os in
1.11685 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.11686 - library_names_spec='$libname.dll.a'
1.11687 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.11688 - postinstall_cmds='base_file=`basename \${file}`~
1.11689 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.11690 - dldir=$destdir/`dirname \$dlpath`~
1.11691 - test -d \$dldir || mkdir -p \$dldir~
1.11692 - $install_prog $dir/$dlname \$dldir/$dlname~
1.11693 - chmod a+x \$dldir/$dlname'
1.11694 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.11695 - dlpath=$dir/\$dldll~
1.11696 - $rm \$dlpath'
1.11697 - shlibpath_overrides_runpath=yes
1.11698 -
1.11699 - case $host_os in
1.11700 - cygwin*)
1.11701 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.11702 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.11703 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.11704 - ;;
1.11705 - mingw*)
1.11706 - # MinGW DLLs use traditional 'lib' prefix
1.11707 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.11708 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.11709 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.11710 - # It is most probably a Windows format PATH printed by
1.11711 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.11712 - # path with ; separators, and with drive letters. We can handle the
1.11713 - # drive letters (cygwin fileutils understands them), so leave them,
1.11714 - # especially as we might pass files found there to a mingw objdump,
1.11715 - # which wouldn't understand a cygwinified path. Ahh.
1.11716 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.11717 - else
1.11718 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.11719 - fi
1.11720 - ;;
1.11721 - pw32*)
1.11722 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.11723 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.11724 - ;;
1.11725 - esac
1.11726 - ;;
1.11727 -
1.11728 - *)
1.11729 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.11730 - ;;
1.11731 - esac
1.11732 - dynamic_linker='Win32 ld.exe'
1.11733 - # FIXME: first we should search . and the directory the executable is in
1.11734 - shlibpath_var=PATH
1.11735 - ;;
1.11736 -
1.11737 -darwin* | rhapsody*)
1.11738 - dynamic_linker="$host_os dyld"
1.11739 - version_type=darwin
1.11740 - need_lib_prefix=no
1.11741 - need_version=no
1.11742 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.11743 - soname_spec='${libname}${release}${major}$shared_ext'
1.11744 - shlibpath_overrides_runpath=yes
1.11745 - shlibpath_var=DYLD_LIBRARY_PATH
1.11746 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.11747 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.11748 - if test "$GCC" = yes; then
1.11749 - 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.11750 - else
1.11751 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.11752 - fi
1.11753 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.11754 - ;;
1.11755 -
1.11756 -dgux*)
1.11757 - version_type=linux
1.11758 - need_lib_prefix=no
1.11759 - need_version=no
1.11760 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.11761 - soname_spec='${libname}${release}${shared_ext}$major'
1.11762 - shlibpath_var=LD_LIBRARY_PATH
1.11763 - ;;
1.11764 -
1.11765 -freebsd1*)
1.11766 - dynamic_linker=no
1.11767 - ;;
1.11768 -
1.11769 -kfreebsd*-gnu)
1.11770 - version_type=linux
1.11771 - need_lib_prefix=no
1.11772 - need_version=no
1.11773 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.11774 - soname_spec='${libname}${release}${shared_ext}$major'
1.11775 - shlibpath_var=LD_LIBRARY_PATH
1.11776 - shlibpath_overrides_runpath=no
1.11777 - hardcode_into_libs=yes
1.11778 - dynamic_linker='GNU ld.so'
1.11779 - ;;
1.11780 -
1.11781 -freebsd* | dragonfly*)
1.11782 - # DragonFly does not have aout. When/if they implement a new
1.11783 - # versioning mechanism, adjust this.
1.11784 - if test -x /usr/bin/objformat; then
1.11785 - objformat=`/usr/bin/objformat`
1.11786 - else
1.11787 - case $host_os in
1.11788 - freebsd[123]*) objformat=aout ;;
1.11789 - *) objformat=elf ;;
1.11790 - esac
1.11791 - fi
1.11792 - version_type=freebsd-$objformat
1.11793 - case $version_type in
1.11794 - freebsd-elf*)
1.11795 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.11796 - need_version=no
1.11797 - need_lib_prefix=no
1.11798 - ;;
1.11799 - freebsd-*)
1.11800 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.11801 - need_version=yes
1.11802 - ;;
1.11803 - esac
1.11804 - shlibpath_var=LD_LIBRARY_PATH
1.11805 - case $host_os in
1.11806 - freebsd2*)
1.11807 - shlibpath_overrides_runpath=yes
1.11808 - ;;
1.11809 - freebsd3.[01]* | freebsdelf3.[01]*)
1.11810 - shlibpath_overrides_runpath=yes
1.11811 - hardcode_into_libs=yes
1.11812 - ;;
1.11813 - *) # from 3.2 on
1.11814 - shlibpath_overrides_runpath=no
1.11815 - hardcode_into_libs=yes
1.11816 - ;;
1.11817 - esac
1.11818 - ;;
1.11819 -
1.11820 -gnu*)
1.11821 - version_type=linux
1.11822 - need_lib_prefix=no
1.11823 - need_version=no
1.11824 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.11825 - soname_spec='${libname}${release}${shared_ext}$major'
1.11826 - shlibpath_var=LD_LIBRARY_PATH
1.11827 - hardcode_into_libs=yes
1.11828 - ;;
1.11829 -
1.11830 -hpux9* | hpux10* | hpux11*)
1.11831 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.11832 - # link against other versions.
1.11833 - version_type=sunos
1.11834 - need_lib_prefix=no
1.11835 - need_version=no
1.11836 - case $host_cpu in
1.11837 - ia64*)
1.11838 - shrext_cmds='.so'
1.11839 - hardcode_into_libs=yes
1.11840 - dynamic_linker="$host_os dld.so"
1.11841 - shlibpath_var=LD_LIBRARY_PATH
1.11842 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.11843 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11844 - soname_spec='${libname}${release}${shared_ext}$major'
1.11845 - if test "X$HPUX_IA64_MODE" = X32; then
1.11846 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.11847 - else
1.11848 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.11849 - fi
1.11850 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.11851 - ;;
1.11852 - hppa*64*)
1.11853 - shrext_cmds='.sl'
1.11854 - hardcode_into_libs=yes
1.11855 - dynamic_linker="$host_os dld.sl"
1.11856 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.11857 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.11858 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11859 - soname_spec='${libname}${release}${shared_ext}$major'
1.11860 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.11861 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.11862 - ;;
1.11863 - *)
1.11864 - shrext_cmds='.sl'
1.11865 - dynamic_linker="$host_os dld.sl"
1.11866 - shlibpath_var=SHLIB_PATH
1.11867 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.11868 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11869 - soname_spec='${libname}${release}${shared_ext}$major'
1.11870 - ;;
1.11871 - esac
1.11872 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.11873 - postinstall_cmds='chmod 555 $lib'
1.11874 - ;;
1.11875 -
1.11876 -irix5* | irix6* | nonstopux*)
1.11877 - case $host_os in
1.11878 - nonstopux*) version_type=nonstopux ;;
1.11879 - *)
1.11880 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.11881 - version_type=linux
1.11882 - else
1.11883 - version_type=irix
1.11884 - fi ;;
1.11885 - esac
1.11886 - need_lib_prefix=no
1.11887 - need_version=no
1.11888 - soname_spec='${libname}${release}${shared_ext}$major'
1.11889 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.11890 - case $host_os in
1.11891 - irix5* | nonstopux*)
1.11892 - libsuff= shlibsuff=
1.11893 - ;;
1.11894 - *)
1.11895 - case $LD in # libtool.m4 will add one of these switches to LD
1.11896 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.11897 - libsuff= shlibsuff= libmagic=32-bit;;
1.11898 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.11899 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.11900 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.11901 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.11902 - *) libsuff= shlibsuff= libmagic=never-match;;
1.11903 - esac
1.11904 - ;;
1.11905 - esac
1.11906 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.11907 - shlibpath_overrides_runpath=no
1.11908 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.11909 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.11910 - hardcode_into_libs=yes
1.11911 - ;;
1.11912 -
1.11913 -# No shared lib support for Linux oldld, aout, or coff.
1.11914 -linux*oldld* | linux*aout* | linux*coff*)
1.11915 - dynamic_linker=no
1.11916 - ;;
1.11917 -
1.11918 -# This must be Linux ELF.
1.11919 -linux*)
1.11920 - version_type=linux
1.11921 - need_lib_prefix=no
1.11922 - need_version=no
1.11923 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11924 - soname_spec='${libname}${release}${shared_ext}$major'
1.11925 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.11926 - shlibpath_var=LD_LIBRARY_PATH
1.11927 - shlibpath_overrides_runpath=no
1.11928 - # This implies no fast_install, which is unacceptable.
1.11929 - # Some rework will be needed to allow for fast_install
1.11930 - # before this can be enabled.
1.11931 - hardcode_into_libs=yes
1.11932 -
1.11933 - # Append ld.so.conf contents to the search path
1.11934 - if test -f /etc/ld.so.conf; then
1.11935 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1.11936 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.11937 - fi
1.11938 -
1.11939 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.11940 - # powerpc, because MkLinux only supported shared libraries with the
1.11941 - # GNU dynamic linker. Since this was broken with cross compilers,
1.11942 - # most powerpc-linux boxes support dynamic linking these days and
1.11943 - # people can always --disable-shared, the test was removed, and we
1.11944 - # assume the GNU/Linux dynamic linker is in use.
1.11945 - dynamic_linker='GNU/Linux ld.so'
1.11946 - ;;
1.11947 -
1.11948 -knetbsd*-gnu)
1.11949 - version_type=linux
1.11950 - need_lib_prefix=no
1.11951 - need_version=no
1.11952 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.11953 - soname_spec='${libname}${release}${shared_ext}$major'
1.11954 - shlibpath_var=LD_LIBRARY_PATH
1.11955 - shlibpath_overrides_runpath=no
1.11956 - hardcode_into_libs=yes
1.11957 - dynamic_linker='GNU ld.so'
1.11958 - ;;
1.11959 -
1.11960 -netbsd*)
1.11961 - version_type=sunos
1.11962 - need_lib_prefix=no
1.11963 - need_version=no
1.11964 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.11965 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.11966 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.11967 - dynamic_linker='NetBSD (a.out) ld.so'
1.11968 - else
1.11969 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.11970 - soname_spec='${libname}${release}${shared_ext}$major'
1.11971 - dynamic_linker='NetBSD ld.elf_so'
1.11972 - fi
1.11973 - shlibpath_var=LD_LIBRARY_PATH
1.11974 - shlibpath_overrides_runpath=yes
1.11975 - hardcode_into_libs=yes
1.11976 - ;;
1.11977 -
1.11978 -newsos6)
1.11979 - version_type=linux
1.11980 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11981 - shlibpath_var=LD_LIBRARY_PATH
1.11982 - shlibpath_overrides_runpath=yes
1.11983 - ;;
1.11984 -
1.11985 -nto-qnx*)
1.11986 - version_type=linux
1.11987 - need_lib_prefix=no
1.11988 - need_version=no
1.11989 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.11990 - soname_spec='${libname}${release}${shared_ext}$major'
1.11991 - shlibpath_var=LD_LIBRARY_PATH
1.11992 - shlibpath_overrides_runpath=yes
1.11993 - ;;
1.11994 -
1.11995 -openbsd*)
1.11996 - version_type=sunos
1.11997 - need_lib_prefix=no
1.11998 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1.11999 - case $host_os in
1.12000 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1.12001 - *) need_version=no ;;
1.12002 - esac
1.12003 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12004 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.12005 - shlibpath_var=LD_LIBRARY_PATH
1.12006 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.12007 - case $host_os in
1.12008 - openbsd2.[89] | openbsd2.[89].*)
1.12009 - shlibpath_overrides_runpath=no
1.12010 - ;;
1.12011 - *)
1.12012 - shlibpath_overrides_runpath=yes
1.12013 - ;;
1.12014 - esac
1.12015 - else
1.12016 - shlibpath_overrides_runpath=yes
1.12017 - fi
1.12018 - ;;
1.12019 -
1.12020 -os2*)
1.12021 - libname_spec='$name'
1.12022 - shrext_cmds=".dll"
1.12023 - need_lib_prefix=no
1.12024 - library_names_spec='$libname${shared_ext} $libname.a'
1.12025 - dynamic_linker='OS/2 ld.exe'
1.12026 - shlibpath_var=LIBPATH
1.12027 - ;;
1.12028 -
1.12029 -osf3* | osf4* | osf5*)
1.12030 - version_type=osf
1.12031 - need_lib_prefix=no
1.12032 - need_version=no
1.12033 - soname_spec='${libname}${release}${shared_ext}$major'
1.12034 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12035 - shlibpath_var=LD_LIBRARY_PATH
1.12036 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.12037 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.12038 - ;;
1.12039 -
1.12040 -sco3.2v5*)
1.12041 - version_type=osf
1.12042 - soname_spec='${libname}${release}${shared_ext}$major'
1.12043 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12044 - shlibpath_var=LD_LIBRARY_PATH
1.12045 - ;;
1.12046 -
1.12047 -solaris*)
1.12048 - version_type=linux
1.12049 - need_lib_prefix=no
1.12050 - need_version=no
1.12051 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12052 - soname_spec='${libname}${release}${shared_ext}$major'
1.12053 - shlibpath_var=LD_LIBRARY_PATH
1.12054 - shlibpath_overrides_runpath=yes
1.12055 - hardcode_into_libs=yes
1.12056 - # ldd complains unless libraries are executable
1.12057 - postinstall_cmds='chmod +x $lib'
1.12058 - ;;
1.12059 -
1.12060 -sunos4*)
1.12061 - version_type=sunos
1.12062 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.12063 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.12064 - shlibpath_var=LD_LIBRARY_PATH
1.12065 - shlibpath_overrides_runpath=yes
1.12066 - if test "$with_gnu_ld" = yes; then
1.12067 - need_lib_prefix=no
1.12068 - fi
1.12069 - need_version=yes
1.12070 - ;;
1.12071 -
1.12072 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.12073 - version_type=linux
1.12074 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12075 - soname_spec='${libname}${release}${shared_ext}$major'
1.12076 - shlibpath_var=LD_LIBRARY_PATH
1.12077 - case $host_vendor in
1.12078 - sni)
1.12079 - shlibpath_overrides_runpath=no
1.12080 - need_lib_prefix=no
1.12081 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.12082 - runpath_var=LD_RUN_PATH
1.12083 - ;;
1.12084 - siemens)
1.12085 - need_lib_prefix=no
1.12086 - ;;
1.12087 - motorola)
1.12088 - need_lib_prefix=no
1.12089 - need_version=no
1.12090 - shlibpath_overrides_runpath=no
1.12091 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.12092 - ;;
1.12093 - esac
1.12094 - ;;
1.12095 -
1.12096 -sysv4*MP*)
1.12097 - if test -d /usr/nec ;then
1.12098 - version_type=linux
1.12099 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.12100 - soname_spec='$libname${shared_ext}.$major'
1.12101 - shlibpath_var=LD_LIBRARY_PATH
1.12102 - fi
1.12103 - ;;
1.12104 -
1.12105 -uts4*)
1.12106 - version_type=linux
1.12107 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.12108 - soname_spec='${libname}${release}${shared_ext}$major'
1.12109 - shlibpath_var=LD_LIBRARY_PATH
1.12110 - ;;
1.12111 -
1.12112 -*)
1.12113 - dynamic_linker=no
1.12114 - ;;
1.12115 -esac
1.12116 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.12117 -echo "${ECHO_T}$dynamic_linker" >&6
1.12118 -test "$dynamic_linker" = no && can_build_shared=no
1.12119 -
1.12120 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.12121 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1.12122 -hardcode_action_CXX=
1.12123 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
1.12124 - test -n "$runpath_var_CXX" || \
1.12125 - test "X$hardcode_automatic_CXX" = "Xyes" ; then
1.12126 -
1.12127 - # We can hardcode non-existant directories.
1.12128 - if test "$hardcode_direct_CXX" != no &&
1.12129 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.12130 - # have to relink, otherwise we might link with an installed library
1.12131 - # when we should be linking with a yet-to-be-installed one
1.12132 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
1.12133 - test "$hardcode_minus_L_CXX" != no; then
1.12134 - # Linking always hardcodes the temporary library directory.
1.12135 - hardcode_action_CXX=relink
1.12136 - else
1.12137 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.12138 - hardcode_action_CXX=immediate
1.12139 - fi
1.12140 -else
1.12141 - # We cannot hardcode anything, or else we can only hardcode existing
1.12142 - # directories.
1.12143 - hardcode_action_CXX=unsupported
1.12144 -fi
1.12145 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
1.12146 -echo "${ECHO_T}$hardcode_action_CXX" >&6
1.12147 -
1.12148 -if test "$hardcode_action_CXX" = relink; then
1.12149 - # Fast installation is not supported
1.12150 - enable_fast_install=no
1.12151 -elif test "$shlibpath_overrides_runpath" = yes ||
1.12152 - test "$enable_shared" = no; then
1.12153 - # Fast installation is not necessary
1.12154 - enable_fast_install=needless
1.12155 -fi
1.12156 -
1.12157 -striplib=
1.12158 -old_striplib=
1.12159 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.12160 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
1.12161 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.12162 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.12163 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.12164 - echo "$as_me:$LINENO: result: yes" >&5
1.12165 -echo "${ECHO_T}yes" >&6
1.12166 -else
1.12167 -# FIXME - insert some real tests, host_os isn't really good enough
1.12168 - case $host_os in
1.12169 - darwin*)
1.12170 - if test -n "$STRIP" ; then
1.12171 - striplib="$STRIP -x"
1.12172 - echo "$as_me:$LINENO: result: yes" >&5
1.12173 -echo "${ECHO_T}yes" >&6
1.12174 - else
1.12175 - echo "$as_me:$LINENO: result: no" >&5
1.12176 -echo "${ECHO_T}no" >&6
1.12177 -fi
1.12178 - ;;
1.12179 - *)
1.12180 - echo "$as_me:$LINENO: result: no" >&5
1.12181 -echo "${ECHO_T}no" >&6
1.12182 - ;;
1.12183 - esac
1.12184 -fi
1.12185 -
1.12186 -if test "x$enable_dlopen" != xyes; then
1.12187 - enable_dlopen=unknown
1.12188 - enable_dlopen_self=unknown
1.12189 - enable_dlopen_self_static=unknown
1.12190 -else
1.12191 - lt_cv_dlopen=no
1.12192 - lt_cv_dlopen_libs=
1.12193 -
1.12194 - case $host_os in
1.12195 - beos*)
1.12196 - lt_cv_dlopen="load_add_on"
1.12197 - lt_cv_dlopen_libs=
1.12198 - lt_cv_dlopen_self=yes
1.12199 - ;;
1.12200 -
1.12201 - mingw* | pw32*)
1.12202 - lt_cv_dlopen="LoadLibrary"
1.12203 - lt_cv_dlopen_libs=
1.12204 - ;;
1.12205 -
1.12206 - cygwin*)
1.12207 - lt_cv_dlopen="dlopen"
1.12208 - lt_cv_dlopen_libs=
1.12209 - ;;
1.12210 -
1.12211 - darwin*)
1.12212 - # if libdl is installed we need to link against it
1.12213 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.12214 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
1.12215 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.12216 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12217 -else
1.12218 - ac_check_lib_save_LIBS=$LIBS
1.12219 -LIBS="-ldl $LIBS"
1.12220 -cat >conftest.$ac_ext <<_ACEOF
1.12221 -/* confdefs.h. */
1.12222 -_ACEOF
1.12223 -cat confdefs.h >>conftest.$ac_ext
1.12224 -cat >>conftest.$ac_ext <<_ACEOF
1.12225 -/* end confdefs.h. */
1.12226 -
1.12227 -/* Override any gcc2 internal prototype to avoid an error. */
1.12228 -#ifdef __cplusplus
1.12229 -extern "C"
1.12230 -#endif
1.12231 -/* We use char because int might match the return type of a gcc2
1.12232 - builtin and then its argument prototype would still apply. */
1.12233 -char dlopen ();
1.12234 -int
1.12235 -main ()
1.12236 -{
1.12237 -dlopen ();
1.12238 - ;
1.12239 - return 0;
1.12240 -}
1.12241 -_ACEOF
1.12242 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12243 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12244 - (eval $ac_link) 2>conftest.er1
1.12245 - ac_status=$?
1.12246 - grep -v '^ *+' conftest.er1 >conftest.err
1.12247 - rm -f conftest.er1
1.12248 - cat conftest.err >&5
1.12249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12250 - (exit $ac_status); } &&
1.12251 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.12252 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12253 - (eval $ac_try) 2>&5
1.12254 - ac_status=$?
1.12255 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12256 - (exit $ac_status); }; } &&
1.12257 - { ac_try='test -s conftest$ac_exeext'
1.12258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12259 - (eval $ac_try) 2>&5
1.12260 - ac_status=$?
1.12261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12262 - (exit $ac_status); }; }; then
1.12263 - ac_cv_lib_dl_dlopen=yes
1.12264 -else
1.12265 - echo "$as_me: failed program was:" >&5
1.12266 -sed 's/^/| /' conftest.$ac_ext >&5
1.12267 -
1.12268 -ac_cv_lib_dl_dlopen=no
1.12269 -fi
1.12270 -rm -f conftest.err conftest.$ac_objext \
1.12271 - conftest$ac_exeext conftest.$ac_ext
1.12272 -LIBS=$ac_check_lib_save_LIBS
1.12273 -fi
1.12274 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.12275 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
1.12276 -if test $ac_cv_lib_dl_dlopen = yes; then
1.12277 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.12278 -else
1.12279 -
1.12280 - lt_cv_dlopen="dyld"
1.12281 - lt_cv_dlopen_libs=
1.12282 - lt_cv_dlopen_self=yes
1.12283 -
1.12284 -fi
1.12285 -
1.12286 - ;;
1.12287 -
1.12288 - *)
1.12289 - echo "$as_me:$LINENO: checking for shl_load" >&5
1.12290 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
1.12291 -if test "${ac_cv_func_shl_load+set}" = set; then
1.12292 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12293 -else
1.12294 - cat >conftest.$ac_ext <<_ACEOF
1.12295 -/* confdefs.h. */
1.12296 -_ACEOF
1.12297 -cat confdefs.h >>conftest.$ac_ext
1.12298 -cat >>conftest.$ac_ext <<_ACEOF
1.12299 -/* end confdefs.h. */
1.12300 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.12301 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.12302 -#define shl_load innocuous_shl_load
1.12303 -
1.12304 -/* System header to define __stub macros and hopefully few prototypes,
1.12305 - which can conflict with char shl_load (); below.
1.12306 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.12307 - <limits.h> exists even on freestanding compilers. */
1.12308 -
1.12309 -#ifdef __STDC__
1.12310 -# include <limits.h>
1.12311 -#else
1.12312 -# include <assert.h>
1.12313 -#endif
1.12314 -
1.12315 -#undef shl_load
1.12316 -
1.12317 -/* Override any gcc2 internal prototype to avoid an error. */
1.12318 -#ifdef __cplusplus
1.12319 -extern "C"
1.12320 -{
1.12321 -#endif
1.12322 -/* We use char because int might match the return type of a gcc2
1.12323 - builtin and then its argument prototype would still apply. */
1.12324 -char shl_load ();
1.12325 -/* The GNU C library defines this for functions which it implements
1.12326 - to always fail with ENOSYS. Some functions are actually named
1.12327 - something starting with __ and the normal name is an alias. */
1.12328 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
1.12329 -choke me
1.12330 -#else
1.12331 -char (*f) () = shl_load;
1.12332 -#endif
1.12333 -#ifdef __cplusplus
1.12334 -}
1.12335 -#endif
1.12336 -
1.12337 -int
1.12338 -main ()
1.12339 -{
1.12340 -return f != shl_load;
1.12341 - ;
1.12342 - return 0;
1.12343 -}
1.12344 -_ACEOF
1.12345 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12346 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12347 - (eval $ac_link) 2>conftest.er1
1.12348 - ac_status=$?
1.12349 - grep -v '^ *+' conftest.er1 >conftest.err
1.12350 - rm -f conftest.er1
1.12351 - cat conftest.err >&5
1.12352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12353 - (exit $ac_status); } &&
1.12354 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.12355 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12356 - (eval $ac_try) 2>&5
1.12357 - ac_status=$?
1.12358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12359 - (exit $ac_status); }; } &&
1.12360 - { ac_try='test -s conftest$ac_exeext'
1.12361 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12362 - (eval $ac_try) 2>&5
1.12363 - ac_status=$?
1.12364 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12365 - (exit $ac_status); }; }; then
1.12366 - ac_cv_func_shl_load=yes
1.12367 -else
1.12368 - echo "$as_me: failed program was:" >&5
1.12369 -sed 's/^/| /' conftest.$ac_ext >&5
1.12370 -
1.12371 -ac_cv_func_shl_load=no
1.12372 -fi
1.12373 -rm -f conftest.err conftest.$ac_objext \
1.12374 - conftest$ac_exeext conftest.$ac_ext
1.12375 -fi
1.12376 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.12377 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
1.12378 -if test $ac_cv_func_shl_load = yes; then
1.12379 - lt_cv_dlopen="shl_load"
1.12380 -else
1.12381 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.12382 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
1.12383 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.12384 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12385 -else
1.12386 - ac_check_lib_save_LIBS=$LIBS
1.12387 -LIBS="-ldld $LIBS"
1.12388 -cat >conftest.$ac_ext <<_ACEOF
1.12389 -/* confdefs.h. */
1.12390 -_ACEOF
1.12391 -cat confdefs.h >>conftest.$ac_ext
1.12392 -cat >>conftest.$ac_ext <<_ACEOF
1.12393 -/* end confdefs.h. */
1.12394 -
1.12395 -/* Override any gcc2 internal prototype to avoid an error. */
1.12396 -#ifdef __cplusplus
1.12397 -extern "C"
1.12398 -#endif
1.12399 -/* We use char because int might match the return type of a gcc2
1.12400 - builtin and then its argument prototype would still apply. */
1.12401 -char shl_load ();
1.12402 -int
1.12403 -main ()
1.12404 -{
1.12405 -shl_load ();
1.12406 - ;
1.12407 - return 0;
1.12408 -}
1.12409 -_ACEOF
1.12410 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12411 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12412 - (eval $ac_link) 2>conftest.er1
1.12413 - ac_status=$?
1.12414 - grep -v '^ *+' conftest.er1 >conftest.err
1.12415 - rm -f conftest.er1
1.12416 - cat conftest.err >&5
1.12417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12418 - (exit $ac_status); } &&
1.12419 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.12420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12421 - (eval $ac_try) 2>&5
1.12422 - ac_status=$?
1.12423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12424 - (exit $ac_status); }; } &&
1.12425 - { ac_try='test -s conftest$ac_exeext'
1.12426 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12427 - (eval $ac_try) 2>&5
1.12428 - ac_status=$?
1.12429 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12430 - (exit $ac_status); }; }; then
1.12431 - ac_cv_lib_dld_shl_load=yes
1.12432 -else
1.12433 - echo "$as_me: failed program was:" >&5
1.12434 -sed 's/^/| /' conftest.$ac_ext >&5
1.12435 -
1.12436 -ac_cv_lib_dld_shl_load=no
1.12437 -fi
1.12438 -rm -f conftest.err conftest.$ac_objext \
1.12439 - conftest$ac_exeext conftest.$ac_ext
1.12440 -LIBS=$ac_check_lib_save_LIBS
1.12441 -fi
1.12442 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.12443 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
1.12444 -if test $ac_cv_lib_dld_shl_load = yes; then
1.12445 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.12446 -else
1.12447 - echo "$as_me:$LINENO: checking for dlopen" >&5
1.12448 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
1.12449 -if test "${ac_cv_func_dlopen+set}" = set; then
1.12450 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12451 -else
1.12452 - cat >conftest.$ac_ext <<_ACEOF
1.12453 -/* confdefs.h. */
1.12454 -_ACEOF
1.12455 -cat confdefs.h >>conftest.$ac_ext
1.12456 -cat >>conftest.$ac_ext <<_ACEOF
1.12457 -/* end confdefs.h. */
1.12458 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.12459 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.12460 -#define dlopen innocuous_dlopen
1.12461 -
1.12462 -/* System header to define __stub macros and hopefully few prototypes,
1.12463 - which can conflict with char dlopen (); below.
1.12464 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.12465 - <limits.h> exists even on freestanding compilers. */
1.12466 -
1.12467 -#ifdef __STDC__
1.12468 -# include <limits.h>
1.12469 -#else
1.12470 -# include <assert.h>
1.12471 -#endif
1.12472 -
1.12473 -#undef dlopen
1.12474 -
1.12475 -/* Override any gcc2 internal prototype to avoid an error. */
1.12476 -#ifdef __cplusplus
1.12477 -extern "C"
1.12478 -{
1.12479 -#endif
1.12480 -/* We use char because int might match the return type of a gcc2
1.12481 - builtin and then its argument prototype would still apply. */
1.12482 -char dlopen ();
1.12483 -/* The GNU C library defines this for functions which it implements
1.12484 - to always fail with ENOSYS. Some functions are actually named
1.12485 - something starting with __ and the normal name is an alias. */
1.12486 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
1.12487 -choke me
1.12488 -#else
1.12489 -char (*f) () = dlopen;
1.12490 -#endif
1.12491 -#ifdef __cplusplus
1.12492 -}
1.12493 -#endif
1.12494 -
1.12495 -int
1.12496 -main ()
1.12497 -{
1.12498 -return f != dlopen;
1.12499 - ;
1.12500 - return 0;
1.12501 -}
1.12502 -_ACEOF
1.12503 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12504 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12505 - (eval $ac_link) 2>conftest.er1
1.12506 - ac_status=$?
1.12507 - grep -v '^ *+' conftest.er1 >conftest.err
1.12508 - rm -f conftest.er1
1.12509 - cat conftest.err >&5
1.12510 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12511 - (exit $ac_status); } &&
1.12512 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.12513 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12514 - (eval $ac_try) 2>&5
1.12515 - ac_status=$?
1.12516 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12517 - (exit $ac_status); }; } &&
1.12518 - { ac_try='test -s conftest$ac_exeext'
1.12519 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12520 - (eval $ac_try) 2>&5
1.12521 - ac_status=$?
1.12522 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12523 - (exit $ac_status); }; }; then
1.12524 - ac_cv_func_dlopen=yes
1.12525 -else
1.12526 - echo "$as_me: failed program was:" >&5
1.12527 -sed 's/^/| /' conftest.$ac_ext >&5
1.12528 -
1.12529 -ac_cv_func_dlopen=no
1.12530 -fi
1.12531 -rm -f conftest.err conftest.$ac_objext \
1.12532 - conftest$ac_exeext conftest.$ac_ext
1.12533 -fi
1.12534 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.12535 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
1.12536 -if test $ac_cv_func_dlopen = yes; then
1.12537 - lt_cv_dlopen="dlopen"
1.12538 -else
1.12539 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.12540 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
1.12541 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.12542 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12543 -else
1.12544 - ac_check_lib_save_LIBS=$LIBS
1.12545 -LIBS="-ldl $LIBS"
1.12546 -cat >conftest.$ac_ext <<_ACEOF
1.12547 -/* confdefs.h. */
1.12548 -_ACEOF
1.12549 -cat confdefs.h >>conftest.$ac_ext
1.12550 -cat >>conftest.$ac_ext <<_ACEOF
1.12551 -/* end confdefs.h. */
1.12552 -
1.12553 -/* Override any gcc2 internal prototype to avoid an error. */
1.12554 -#ifdef __cplusplus
1.12555 -extern "C"
1.12556 -#endif
1.12557 -/* We use char because int might match the return type of a gcc2
1.12558 - builtin and then its argument prototype would still apply. */
1.12559 -char dlopen ();
1.12560 -int
1.12561 -main ()
1.12562 -{
1.12563 -dlopen ();
1.12564 - ;
1.12565 - return 0;
1.12566 -}
1.12567 -_ACEOF
1.12568 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12569 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12570 - (eval $ac_link) 2>conftest.er1
1.12571 - ac_status=$?
1.12572 - grep -v '^ *+' conftest.er1 >conftest.err
1.12573 - rm -f conftest.er1
1.12574 - cat conftest.err >&5
1.12575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12576 - (exit $ac_status); } &&
1.12577 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.12578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12579 - (eval $ac_try) 2>&5
1.12580 - ac_status=$?
1.12581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12582 - (exit $ac_status); }; } &&
1.12583 - { ac_try='test -s conftest$ac_exeext'
1.12584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12585 - (eval $ac_try) 2>&5
1.12586 - ac_status=$?
1.12587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12588 - (exit $ac_status); }; }; then
1.12589 - ac_cv_lib_dl_dlopen=yes
1.12590 -else
1.12591 - echo "$as_me: failed program was:" >&5
1.12592 -sed 's/^/| /' conftest.$ac_ext >&5
1.12593 -
1.12594 -ac_cv_lib_dl_dlopen=no
1.12595 -fi
1.12596 -rm -f conftest.err conftest.$ac_objext \
1.12597 - conftest$ac_exeext conftest.$ac_ext
1.12598 -LIBS=$ac_check_lib_save_LIBS
1.12599 -fi
1.12600 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.12601 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
1.12602 -if test $ac_cv_lib_dl_dlopen = yes; then
1.12603 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.12604 -else
1.12605 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.12606 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
1.12607 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.12608 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12609 -else
1.12610 - ac_check_lib_save_LIBS=$LIBS
1.12611 -LIBS="-lsvld $LIBS"
1.12612 -cat >conftest.$ac_ext <<_ACEOF
1.12613 -/* confdefs.h. */
1.12614 -_ACEOF
1.12615 -cat confdefs.h >>conftest.$ac_ext
1.12616 -cat >>conftest.$ac_ext <<_ACEOF
1.12617 -/* end confdefs.h. */
1.12618 -
1.12619 -/* Override any gcc2 internal prototype to avoid an error. */
1.12620 -#ifdef __cplusplus
1.12621 -extern "C"
1.12622 -#endif
1.12623 -/* We use char because int might match the return type of a gcc2
1.12624 - builtin and then its argument prototype would still apply. */
1.12625 -char dlopen ();
1.12626 -int
1.12627 -main ()
1.12628 -{
1.12629 -dlopen ();
1.12630 - ;
1.12631 - return 0;
1.12632 -}
1.12633 -_ACEOF
1.12634 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12635 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12636 - (eval $ac_link) 2>conftest.er1
1.12637 - ac_status=$?
1.12638 - grep -v '^ *+' conftest.er1 >conftest.err
1.12639 - rm -f conftest.er1
1.12640 - cat conftest.err >&5
1.12641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12642 - (exit $ac_status); } &&
1.12643 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.12644 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12645 - (eval $ac_try) 2>&5
1.12646 - ac_status=$?
1.12647 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12648 - (exit $ac_status); }; } &&
1.12649 - { ac_try='test -s conftest$ac_exeext'
1.12650 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12651 - (eval $ac_try) 2>&5
1.12652 - ac_status=$?
1.12653 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12654 - (exit $ac_status); }; }; then
1.12655 - ac_cv_lib_svld_dlopen=yes
1.12656 -else
1.12657 - echo "$as_me: failed program was:" >&5
1.12658 -sed 's/^/| /' conftest.$ac_ext >&5
1.12659 -
1.12660 -ac_cv_lib_svld_dlopen=no
1.12661 -fi
1.12662 -rm -f conftest.err conftest.$ac_objext \
1.12663 - conftest$ac_exeext conftest.$ac_ext
1.12664 -LIBS=$ac_check_lib_save_LIBS
1.12665 -fi
1.12666 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.12667 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
1.12668 -if test $ac_cv_lib_svld_dlopen = yes; then
1.12669 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.12670 -else
1.12671 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.12672 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
1.12673 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.12674 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12675 -else
1.12676 - ac_check_lib_save_LIBS=$LIBS
1.12677 -LIBS="-ldld $LIBS"
1.12678 -cat >conftest.$ac_ext <<_ACEOF
1.12679 -/* confdefs.h. */
1.12680 -_ACEOF
1.12681 -cat confdefs.h >>conftest.$ac_ext
1.12682 -cat >>conftest.$ac_ext <<_ACEOF
1.12683 -/* end confdefs.h. */
1.12684 -
1.12685 -/* Override any gcc2 internal prototype to avoid an error. */
1.12686 -#ifdef __cplusplus
1.12687 -extern "C"
1.12688 -#endif
1.12689 -/* We use char because int might match the return type of a gcc2
1.12690 - builtin and then its argument prototype would still apply. */
1.12691 -char dld_link ();
1.12692 -int
1.12693 -main ()
1.12694 -{
1.12695 -dld_link ();
1.12696 - ;
1.12697 - return 0;
1.12698 -}
1.12699 -_ACEOF
1.12700 -rm -f conftest.$ac_objext conftest$ac_exeext
1.12701 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12702 - (eval $ac_link) 2>conftest.er1
1.12703 - ac_status=$?
1.12704 - grep -v '^ *+' conftest.er1 >conftest.err
1.12705 - rm -f conftest.er1
1.12706 - cat conftest.err >&5
1.12707 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12708 - (exit $ac_status); } &&
1.12709 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.12710 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12711 - (eval $ac_try) 2>&5
1.12712 - ac_status=$?
1.12713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12714 - (exit $ac_status); }; } &&
1.12715 - { ac_try='test -s conftest$ac_exeext'
1.12716 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.12717 - (eval $ac_try) 2>&5
1.12718 - ac_status=$?
1.12719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12720 - (exit $ac_status); }; }; then
1.12721 - ac_cv_lib_dld_dld_link=yes
1.12722 -else
1.12723 - echo "$as_me: failed program was:" >&5
1.12724 -sed 's/^/| /' conftest.$ac_ext >&5
1.12725 -
1.12726 -ac_cv_lib_dld_dld_link=no
1.12727 -fi
1.12728 -rm -f conftest.err conftest.$ac_objext \
1.12729 - conftest$ac_exeext conftest.$ac_ext
1.12730 -LIBS=$ac_check_lib_save_LIBS
1.12731 -fi
1.12732 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.12733 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
1.12734 -if test $ac_cv_lib_dld_dld_link = yes; then
1.12735 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.12736 -fi
1.12737 -
1.12738 -
1.12739 -fi
1.12740 -
1.12741 -
1.12742 -fi
1.12743 -
1.12744 -
1.12745 -fi
1.12746 -
1.12747 -
1.12748 -fi
1.12749 -
1.12750 -
1.12751 -fi
1.12752 -
1.12753 - ;;
1.12754 - esac
1.12755 -
1.12756 - if test "x$lt_cv_dlopen" != xno; then
1.12757 - enable_dlopen=yes
1.12758 - else
1.12759 - enable_dlopen=no
1.12760 - fi
1.12761 -
1.12762 - case $lt_cv_dlopen in
1.12763 - dlopen)
1.12764 - save_CPPFLAGS="$CPPFLAGS"
1.12765 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.12766 -
1.12767 - save_LDFLAGS="$LDFLAGS"
1.12768 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.12769 -
1.12770 - save_LIBS="$LIBS"
1.12771 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.12772 -
1.12773 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.12774 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
1.12775 -if test "${lt_cv_dlopen_self+set}" = set; then
1.12776 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12777 -else
1.12778 - if test "$cross_compiling" = yes; then :
1.12779 - lt_cv_dlopen_self=cross
1.12780 -else
1.12781 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.12782 - lt_status=$lt_dlunknown
1.12783 - cat > conftest.$ac_ext <<EOF
1.12784 -#line __oline__ "configure"
1.12785 -#include "confdefs.h"
1.12786 -
1.12787 -#if HAVE_DLFCN_H
1.12788 -#include <dlfcn.h>
1.12789 -#endif
1.12790 -
1.12791 -#include <stdio.h>
1.12792 -
1.12793 -#ifdef RTLD_GLOBAL
1.12794 -# define LT_DLGLOBAL RTLD_GLOBAL
1.12795 -#else
1.12796 -# ifdef DL_GLOBAL
1.12797 -# define LT_DLGLOBAL DL_GLOBAL
1.12798 -# else
1.12799 -# define LT_DLGLOBAL 0
1.12800 -# endif
1.12801 -#endif
1.12802 -
1.12803 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.12804 - find out it does not work in some platform. */
1.12805 -#ifndef LT_DLLAZY_OR_NOW
1.12806 -# ifdef RTLD_LAZY
1.12807 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.12808 -# else
1.12809 -# ifdef DL_LAZY
1.12810 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.12811 -# else
1.12812 -# ifdef RTLD_NOW
1.12813 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.12814 -# else
1.12815 -# ifdef DL_NOW
1.12816 -# define LT_DLLAZY_OR_NOW DL_NOW
1.12817 -# else
1.12818 -# define LT_DLLAZY_OR_NOW 0
1.12819 -# endif
1.12820 -# endif
1.12821 -# endif
1.12822 -# endif
1.12823 -#endif
1.12824 -
1.12825 -#ifdef __cplusplus
1.12826 -extern "C" void exit (int);
1.12827 -#endif
1.12828 -
1.12829 -void fnord() { int i=42;}
1.12830 -int main ()
1.12831 -{
1.12832 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.12833 - int status = $lt_dlunknown;
1.12834 -
1.12835 - if (self)
1.12836 - {
1.12837 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.12838 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.12839 - /* dlclose (self); */
1.12840 - }
1.12841 -
1.12842 - exit (status);
1.12843 -}
1.12844 -EOF
1.12845 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12846 - (eval $ac_link) 2>&5
1.12847 - ac_status=$?
1.12848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12849 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.12850 - (./conftest; exit; ) >&5 2>/dev/null
1.12851 - lt_status=$?
1.12852 - case x$lt_status in
1.12853 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.12854 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.12855 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.12856 - esac
1.12857 - else :
1.12858 - # compilation failed
1.12859 - lt_cv_dlopen_self=no
1.12860 - fi
1.12861 -fi
1.12862 -rm -fr conftest*
1.12863 -
1.12864 -
1.12865 -fi
1.12866 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.12867 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
1.12868 -
1.12869 - if test "x$lt_cv_dlopen_self" = xyes; then
1.12870 - LDFLAGS="$LDFLAGS $link_static_flag"
1.12871 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.12872 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
1.12873 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.12874 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12875 -else
1.12876 - if test "$cross_compiling" = yes; then :
1.12877 - lt_cv_dlopen_self_static=cross
1.12878 -else
1.12879 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.12880 - lt_status=$lt_dlunknown
1.12881 - cat > conftest.$ac_ext <<EOF
1.12882 -#line __oline__ "configure"
1.12883 -#include "confdefs.h"
1.12884 -
1.12885 -#if HAVE_DLFCN_H
1.12886 -#include <dlfcn.h>
1.12887 -#endif
1.12888 -
1.12889 -#include <stdio.h>
1.12890 -
1.12891 -#ifdef RTLD_GLOBAL
1.12892 -# define LT_DLGLOBAL RTLD_GLOBAL
1.12893 -#else
1.12894 -# ifdef DL_GLOBAL
1.12895 -# define LT_DLGLOBAL DL_GLOBAL
1.12896 -# else
1.12897 -# define LT_DLGLOBAL 0
1.12898 -# endif
1.12899 -#endif
1.12900 -
1.12901 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.12902 - find out it does not work in some platform. */
1.12903 -#ifndef LT_DLLAZY_OR_NOW
1.12904 -# ifdef RTLD_LAZY
1.12905 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.12906 -# else
1.12907 -# ifdef DL_LAZY
1.12908 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.12909 -# else
1.12910 -# ifdef RTLD_NOW
1.12911 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.12912 -# else
1.12913 -# ifdef DL_NOW
1.12914 -# define LT_DLLAZY_OR_NOW DL_NOW
1.12915 -# else
1.12916 -# define LT_DLLAZY_OR_NOW 0
1.12917 -# endif
1.12918 -# endif
1.12919 -# endif
1.12920 -# endif
1.12921 -#endif
1.12922 -
1.12923 -#ifdef __cplusplus
1.12924 -extern "C" void exit (int);
1.12925 -#endif
1.12926 -
1.12927 -void fnord() { int i=42;}
1.12928 -int main ()
1.12929 -{
1.12930 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.12931 - int status = $lt_dlunknown;
1.12932 -
1.12933 - if (self)
1.12934 - {
1.12935 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.12936 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.12937 - /* dlclose (self); */
1.12938 - }
1.12939 -
1.12940 - exit (status);
1.12941 -}
1.12942 -EOF
1.12943 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.12944 - (eval $ac_link) 2>&5
1.12945 - ac_status=$?
1.12946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12947 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.12948 - (./conftest; exit; ) >&5 2>/dev/null
1.12949 - lt_status=$?
1.12950 - case x$lt_status in
1.12951 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.12952 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.12953 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.12954 - esac
1.12955 - else :
1.12956 - # compilation failed
1.12957 - lt_cv_dlopen_self_static=no
1.12958 - fi
1.12959 -fi
1.12960 -rm -fr conftest*
1.12961 -
1.12962 -
1.12963 -fi
1.12964 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.12965 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
1.12966 - fi
1.12967 -
1.12968 - CPPFLAGS="$save_CPPFLAGS"
1.12969 - LDFLAGS="$save_LDFLAGS"
1.12970 - LIBS="$save_LIBS"
1.12971 - ;;
1.12972 - esac
1.12973 -
1.12974 - case $lt_cv_dlopen_self in
1.12975 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.12976 - *) enable_dlopen_self=unknown ;;
1.12977 - esac
1.12978 -
1.12979 - case $lt_cv_dlopen_self_static in
1.12980 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.12981 - *) enable_dlopen_self_static=unknown ;;
1.12982 - esac
1.12983 -fi
1.12984 -
1.12985 -
1.12986 -# The else clause should only fire when bootstrapping the
1.12987 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.12988 -# with your package, and you will get complaints that there are
1.12989 -# no rules to generate ltmain.sh.
1.12990 -if test -f "$ltmain"; then
1.12991 - # See if we are running on zsh, and set the options which allow our commands through
1.12992 - # without removal of \ escapes.
1.12993 - if test -n "${ZSH_VERSION+set}" ; then
1.12994 - setopt NO_GLOB_SUBST
1.12995 - fi
1.12996 - # Now quote all the things that may contain metacharacters while being
1.12997 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.12998 - # variables and quote the copies for generation of the libtool script.
1.12999 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.13000 - SED SHELL STRIP \
1.13001 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.13002 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.13003 - deplibs_check_method reload_flag reload_cmds need_locks \
1.13004 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.13005 - lt_cv_sys_global_symbol_to_c_name_address \
1.13006 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.13007 - old_postinstall_cmds old_postuninstall_cmds \
1.13008 - compiler_CXX \
1.13009 - CC_CXX \
1.13010 - LD_CXX \
1.13011 - lt_prog_compiler_wl_CXX \
1.13012 - lt_prog_compiler_pic_CXX \
1.13013 - lt_prog_compiler_static_CXX \
1.13014 - lt_prog_compiler_no_builtin_flag_CXX \
1.13015 - export_dynamic_flag_spec_CXX \
1.13016 - thread_safe_flag_spec_CXX \
1.13017 - whole_archive_flag_spec_CXX \
1.13018 - enable_shared_with_static_runtimes_CXX \
1.13019 - old_archive_cmds_CXX \
1.13020 - old_archive_from_new_cmds_CXX \
1.13021 - predep_objects_CXX \
1.13022 - postdep_objects_CXX \
1.13023 - predeps_CXX \
1.13024 - postdeps_CXX \
1.13025 - compiler_lib_search_path_CXX \
1.13026 - archive_cmds_CXX \
1.13027 - archive_expsym_cmds_CXX \
1.13028 - postinstall_cmds_CXX \
1.13029 - postuninstall_cmds_CXX \
1.13030 - old_archive_from_expsyms_cmds_CXX \
1.13031 - allow_undefined_flag_CXX \
1.13032 - no_undefined_flag_CXX \
1.13033 - export_symbols_cmds_CXX \
1.13034 - hardcode_libdir_flag_spec_CXX \
1.13035 - hardcode_libdir_flag_spec_ld_CXX \
1.13036 - hardcode_libdir_separator_CXX \
1.13037 - hardcode_automatic_CXX \
1.13038 - module_cmds_CXX \
1.13039 - module_expsym_cmds_CXX \
1.13040 - lt_cv_prog_compiler_c_o_CXX \
1.13041 - exclude_expsyms_CXX \
1.13042 - include_expsyms_CXX; do
1.13043 -
1.13044 - case $var in
1.13045 - old_archive_cmds_CXX | \
1.13046 - old_archive_from_new_cmds_CXX | \
1.13047 - archive_cmds_CXX | \
1.13048 - archive_expsym_cmds_CXX | \
1.13049 - module_cmds_CXX | \
1.13050 - module_expsym_cmds_CXX | \
1.13051 - old_archive_from_expsyms_cmds_CXX | \
1.13052 - export_symbols_cmds_CXX | \
1.13053 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.13054 - postinstall_cmds | postuninstall_cmds | \
1.13055 - old_postinstall_cmds | old_postuninstall_cmds | \
1.13056 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.13057 - # Double-quote double-evaled strings.
1.13058 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.13059 - ;;
1.13060 - *)
1.13061 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.13062 - ;;
1.13063 - esac
1.13064 - done
1.13065 -
1.13066 - case $lt_echo in
1.13067 - *'\$0 --fallback-echo"')
1.13068 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.13069 - ;;
1.13070 - esac
1.13071 -
1.13072 -cfgfile="$ofile"
1.13073 -
1.13074 - cat <<__EOF__ >> "$cfgfile"
1.13075 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.13076 -
1.13077 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.13078 -
1.13079 -# Shell to use when invoking shell scripts.
1.13080 -SHELL=$lt_SHELL
1.13081 -
1.13082 -# Whether or not to build shared libraries.
1.13083 -build_libtool_libs=$enable_shared
1.13084 -
1.13085 -# Whether or not to build static libraries.
1.13086 -build_old_libs=$enable_static
1.13087 -
1.13088 -# Whether or not to add -lc for building shared libraries.
1.13089 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
1.13090 -
1.13091 -# Whether or not to disallow shared libs when runtime libs are static
1.13092 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
1.13093 -
1.13094 -# Whether or not to optimize for fast installation.
1.13095 -fast_install=$enable_fast_install
1.13096 -
1.13097 -# The host system.
1.13098 -host_alias=$host_alias
1.13099 -host=$host
1.13100 -host_os=$host_os
1.13101 -
1.13102 -# The build system.
1.13103 -build_alias=$build_alias
1.13104 -build=$build
1.13105 -build_os=$build_os
1.13106 -
1.13107 -# An echo program that does not interpret backslashes.
1.13108 -echo=$lt_echo
1.13109 -
1.13110 -# The archiver.
1.13111 -AR=$lt_AR
1.13112 -AR_FLAGS=$lt_AR_FLAGS
1.13113 -
1.13114 -# A C compiler.
1.13115 -LTCC=$lt_LTCC
1.13116 -
1.13117 -# A language-specific compiler.
1.13118 -CC=$lt_compiler_CXX
1.13119 -
1.13120 -# Is the compiler the GNU C compiler?
1.13121 -with_gcc=$GCC_CXX
1.13122 -
1.13123 -# An ERE matcher.
1.13124 -EGREP=$lt_EGREP
1.13125 -
1.13126 -# The linker used to build libraries.
1.13127 -LD=$lt_LD_CXX
1.13128 -
1.13129 -# Whether we need hard or soft links.
1.13130 -LN_S=$lt_LN_S
1.13131 -
1.13132 -# A BSD-compatible nm program.
1.13133 -NM=$lt_NM
1.13134 -
1.13135 -# A symbol stripping program
1.13136 -STRIP=$lt_STRIP
1.13137 -
1.13138 -# Used to examine libraries when file_magic_cmd begins "file"
1.13139 -MAGIC_CMD=$MAGIC_CMD
1.13140 -
1.13141 -# Used on cygwin: DLL creation program.
1.13142 -DLLTOOL="$DLLTOOL"
1.13143 -
1.13144 -# Used on cygwin: object dumper.
1.13145 -OBJDUMP="$OBJDUMP"
1.13146 -
1.13147 -# Used on cygwin: assembler.
1.13148 -AS="$AS"
1.13149 -
1.13150 -# The name of the directory that contains temporary libtool files.
1.13151 -objdir=$objdir
1.13152 -
1.13153 -# How to create reloadable object files.
1.13154 -reload_flag=$lt_reload_flag
1.13155 -reload_cmds=$lt_reload_cmds
1.13156 -
1.13157 -# How to pass a linker flag through the compiler.
1.13158 -wl=$lt_lt_prog_compiler_wl_CXX
1.13159 -
1.13160 -# Object file suffix (normally "o").
1.13161 -objext="$ac_objext"
1.13162 -
1.13163 -# Old archive suffix (normally "a").
1.13164 -libext="$libext"
1.13165 -
1.13166 -# Shared library suffix (normally ".so").
1.13167 -shrext_cmds='$shrext_cmds'
1.13168 -
1.13169 -# Executable file suffix (normally "").
1.13170 -exeext="$exeext"
1.13171 -
1.13172 -# Additional compiler flags for building library objects.
1.13173 -pic_flag=$lt_lt_prog_compiler_pic_CXX
1.13174 -pic_mode=$pic_mode
1.13175 -
1.13176 -# What is the maximum length of a command?
1.13177 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.13178 -
1.13179 -# Does compiler simultaneously support -c and -o options?
1.13180 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
1.13181 -
1.13182 -# Must we lock files when doing compilation?
1.13183 -need_locks=$lt_need_locks
1.13184 -
1.13185 -# Do we need the lib prefix for modules?
1.13186 -need_lib_prefix=$need_lib_prefix
1.13187 -
1.13188 -# Do we need a version for libraries?
1.13189 -need_version=$need_version
1.13190 -
1.13191 -# Whether dlopen is supported.
1.13192 -dlopen_support=$enable_dlopen
1.13193 -
1.13194 -# Whether dlopen of programs is supported.
1.13195 -dlopen_self=$enable_dlopen_self
1.13196 -
1.13197 -# Whether dlopen of statically linked programs is supported.
1.13198 -dlopen_self_static=$enable_dlopen_self_static
1.13199 -
1.13200 -# Compiler flag to prevent dynamic linking.
1.13201 -link_static_flag=$lt_lt_prog_compiler_static_CXX
1.13202 -
1.13203 -# Compiler flag to turn off builtin functions.
1.13204 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
1.13205 -
1.13206 -# Compiler flag to allow reflexive dlopens.
1.13207 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
1.13208 -
1.13209 -# Compiler flag to generate shared objects directly from archives.
1.13210 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
1.13211 -
1.13212 -# Compiler flag to generate thread-safe objects.
1.13213 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
1.13214 -
1.13215 -# Library versioning type.
1.13216 -version_type=$version_type
1.13217 -
1.13218 -# Format of library name prefix.
1.13219 -libname_spec=$lt_libname_spec
1.13220 -
1.13221 -# List of archive names. First name is the real one, the rest are links.
1.13222 -# The last name is the one that the linker finds with -lNAME.
1.13223 -library_names_spec=$lt_library_names_spec
1.13224 -
1.13225 -# The coded name of the library, if different from the real name.
1.13226 -soname_spec=$lt_soname_spec
1.13227 -
1.13228 -# Commands used to build and install an old-style archive.
1.13229 -RANLIB=$lt_RANLIB
1.13230 -old_archive_cmds=$lt_old_archive_cmds_CXX
1.13231 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.13232 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.13233 -
1.13234 -# Create an old-style archive from a shared archive.
1.13235 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
1.13236 -
1.13237 -# Create a temporary old-style archive to link instead of a shared archive.
1.13238 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
1.13239 -
1.13240 -# Commands used to build and install a shared archive.
1.13241 -archive_cmds=$lt_archive_cmds_CXX
1.13242 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
1.13243 -postinstall_cmds=$lt_postinstall_cmds
1.13244 -postuninstall_cmds=$lt_postuninstall_cmds
1.13245 -
1.13246 -# Commands used to build a loadable module (assumed same as above if empty)
1.13247 -module_cmds=$lt_module_cmds_CXX
1.13248 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
1.13249 -
1.13250 -# Commands to strip libraries.
1.13251 -old_striplib=$lt_old_striplib
1.13252 -striplib=$lt_striplib
1.13253 -
1.13254 -# Dependencies to place before the objects being linked to create a
1.13255 -# shared library.
1.13256 -predep_objects=$lt_predep_objects_CXX
1.13257 -
1.13258 -# Dependencies to place after the objects being linked to create a
1.13259 -# shared library.
1.13260 -postdep_objects=$lt_postdep_objects_CXX
1.13261 -
1.13262 -# Dependencies to place before the objects being linked to create a
1.13263 -# shared library.
1.13264 -predeps=$lt_predeps_CXX
1.13265 -
1.13266 -# Dependencies to place after the objects being linked to create a
1.13267 -# shared library.
1.13268 -postdeps=$lt_postdeps_CXX
1.13269 -
1.13270 -# The library search path used internally by the compiler when linking
1.13271 -# a shared library.
1.13272 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.13273 -
1.13274 -# Method to check whether dependent libraries are shared objects.
1.13275 -deplibs_check_method=$lt_deplibs_check_method
1.13276 -
1.13277 -# Command to use when deplibs_check_method == file_magic.
1.13278 -file_magic_cmd=$lt_file_magic_cmd
1.13279 -
1.13280 -# Flag that allows shared libraries with undefined symbols to be built.
1.13281 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
1.13282 -
1.13283 -# Flag that forces no undefined symbols.
1.13284 -no_undefined_flag=$lt_no_undefined_flag_CXX
1.13285 -
1.13286 -# Commands used to finish a libtool library installation in a directory.
1.13287 -finish_cmds=$lt_finish_cmds
1.13288 -
1.13289 -# Same as above, but a single script fragment to be evaled but not shown.
1.13290 -finish_eval=$lt_finish_eval
1.13291 -
1.13292 -# Take the output of nm and produce a listing of raw symbols and C names.
1.13293 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.13294 -
1.13295 -# Transform the output of nm in a proper C declaration
1.13296 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.13297 -
1.13298 -# Transform the output of nm in a C name address pair
1.13299 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.13300 -
1.13301 -# This is the shared library runtime path variable.
1.13302 -runpath_var=$runpath_var
1.13303 -
1.13304 -# This is the shared library path variable.
1.13305 -shlibpath_var=$shlibpath_var
1.13306 -
1.13307 -# Is shlibpath searched before the hard-coded library search path?
1.13308 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.13309 -
1.13310 -# How to hardcode a shared library path into an executable.
1.13311 -hardcode_action=$hardcode_action_CXX
1.13312 -
1.13313 -# Whether we should hardcode library paths into libraries.
1.13314 -hardcode_into_libs=$hardcode_into_libs
1.13315 -
1.13316 -# Flag to hardcode \$libdir into a binary during linking.
1.13317 -# This must work even if \$libdir does not exist.
1.13318 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
1.13319 -
1.13320 -# If ld is used when linking, flag to hardcode \$libdir into
1.13321 -# a binary during linking. This must work even if \$libdir does
1.13322 -# not exist.
1.13323 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
1.13324 -
1.13325 -# Whether we need a single -rpath flag with a separated argument.
1.13326 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
1.13327 -
1.13328 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.13329 -# resulting binary.
1.13330 -hardcode_direct=$hardcode_direct_CXX
1.13331 -
1.13332 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.13333 -# resulting binary.
1.13334 -hardcode_minus_L=$hardcode_minus_L_CXX
1.13335 -
1.13336 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.13337 -# the resulting binary.
1.13338 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
1.13339 -
1.13340 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.13341 -# and all subsequent libraries and executables linked against it.
1.13342 -hardcode_automatic=$hardcode_automatic_CXX
1.13343 -
1.13344 -# Variables whose values should be saved in libtool wrapper scripts and
1.13345 -# restored at relink time.
1.13346 -variables_saved_for_relink="$variables_saved_for_relink"
1.13347 -
1.13348 -# Whether libtool must link a program against all its dependency libraries.
1.13349 -link_all_deplibs=$link_all_deplibs_CXX
1.13350 -
1.13351 -# Compile-time system search path for libraries
1.13352 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.13353 -
1.13354 -# Run-time system search path for libraries
1.13355 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.13356 -
1.13357 -# Fix the shell variable \$srcfile for the compiler.
1.13358 -fix_srcfile_path="$fix_srcfile_path_CXX"
1.13359 -
1.13360 -# Set to yes if exported symbols are required.
1.13361 -always_export_symbols=$always_export_symbols_CXX
1.13362 -
1.13363 -# The commands to list exported symbols.
1.13364 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
1.13365 -
1.13366 -# The commands to extract the exported symbol list from a shared archive.
1.13367 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.13368 -
1.13369 -# Symbols that should not be listed in the preloaded symbols.
1.13370 -exclude_expsyms=$lt_exclude_expsyms_CXX
1.13371 -
1.13372 -# Symbols that must always be exported.
1.13373 -include_expsyms=$lt_include_expsyms_CXX
1.13374 -
1.13375 -# ### END LIBTOOL TAG CONFIG: $tagname
1.13376 -
1.13377 -__EOF__
1.13378 -
1.13379 -
1.13380 -else
1.13381 - # If there is no Makefile yet, we rely on a make rule to execute
1.13382 - # `config.status --recheck' to rerun these tests and create the
1.13383 - # libtool script then.
1.13384 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.13385 - if test -f "$ltmain_in"; then
1.13386 - test -f Makefile && make "$ltmain"
1.13387 - fi
1.13388 -fi
1.13389 -
1.13390 -
1.13391 -ac_ext=c
1.13392 -ac_cpp='$CPP $CPPFLAGS'
1.13393 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.13394 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.13395 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.13396 -
1.13397 -CC=$lt_save_CC
1.13398 -LDCXX=$LD
1.13399 -LD=$lt_save_LD
1.13400 -GCC=$lt_save_GCC
1.13401 -with_gnu_ldcxx=$with_gnu_ld
1.13402 -with_gnu_ld=$lt_save_with_gnu_ld
1.13403 -lt_cv_path_LDCXX=$lt_cv_path_LD
1.13404 -lt_cv_path_LD=$lt_save_path_LD
1.13405 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
1.13406 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
1.13407 -
1.13408 - else
1.13409 - tagname=""
1.13410 - fi
1.13411 - ;;
1.13412 -
1.13413 - F77)
1.13414 - if test -n "$F77" && test "X$F77" != "Xno"; then
1.13415 -
1.13416 -ac_ext=f
1.13417 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
1.13418 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.13419 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1.13420 -
1.13421 -
1.13422 -archive_cmds_need_lc_F77=no
1.13423 -allow_undefined_flag_F77=
1.13424 -always_export_symbols_F77=no
1.13425 -archive_expsym_cmds_F77=
1.13426 -export_dynamic_flag_spec_F77=
1.13427 -hardcode_direct_F77=no
1.13428 -hardcode_libdir_flag_spec_F77=
1.13429 -hardcode_libdir_flag_spec_ld_F77=
1.13430 -hardcode_libdir_separator_F77=
1.13431 -hardcode_minus_L_F77=no
1.13432 -hardcode_automatic_F77=no
1.13433 -module_cmds_F77=
1.13434 -module_expsym_cmds_F77=
1.13435 -link_all_deplibs_F77=unknown
1.13436 -old_archive_cmds_F77=$old_archive_cmds
1.13437 -no_undefined_flag_F77=
1.13438 -whole_archive_flag_spec_F77=
1.13439 -enable_shared_with_static_runtimes_F77=no
1.13440 -
1.13441 -# Source file extension for f77 test sources.
1.13442 -ac_ext=f
1.13443 -
1.13444 -# Object file extension for compiled f77 test sources.
1.13445 -objext=o
1.13446 -objext_F77=$objext
1.13447 -
1.13448 -# Code to be used in simple compile tests
1.13449 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
1.13450 -
1.13451 -# Code to be used in simple link tests
1.13452 -lt_simple_link_test_code=" program t\n end\n"
1.13453 -
1.13454 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.13455 -
1.13456 -# If no C compiler was specified, use CC.
1.13457 -LTCC=${LTCC-"$CC"}
1.13458 -
1.13459 -# Allow CC to be a program name with arguments.
1.13460 -compiler=$CC
1.13461 -
1.13462 -
1.13463 -# save warnings/boilerplate of simple test code
1.13464 -ac_outfile=conftest.$ac_objext
1.13465 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1.13466 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.13467 -_lt_compiler_boilerplate=`cat conftest.err`
1.13468 -$rm conftest*
1.13469 -
1.13470 -ac_outfile=conftest.$ac_objext
1.13471 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
1.13472 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.13473 -_lt_linker_boilerplate=`cat conftest.err`
1.13474 -$rm conftest*
1.13475 -
1.13476 -
1.13477 -# Allow CC to be a program name with arguments.
1.13478 -lt_save_CC="$CC"
1.13479 -CC=${F77-"f77"}
1.13480 -compiler=$CC
1.13481 -compiler_F77=$CC
1.13482 -for cc_temp in $compiler""; do
1.13483 - case $cc_temp in
1.13484 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.13485 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.13486 - \-*) ;;
1.13487 - *) break;;
1.13488 - esac
1.13489 -done
1.13490 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.13491 -
1.13492 -
1.13493 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
1.13494 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
1.13495 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
1.13496 -echo "${ECHO_T}$can_build_shared" >&6
1.13497 -
1.13498 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
1.13499 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
1.13500 -test "$can_build_shared" = "no" && enable_shared=no
1.13501 -
1.13502 -# On AIX, shared libraries and static libraries use the same namespace, and
1.13503 -# are all built from PIC.
1.13504 -case $host_os in
1.13505 -aix3*)
1.13506 - test "$enable_shared" = yes && enable_static=no
1.13507 - if test -n "$RANLIB"; then
1.13508 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
1.13509 - postinstall_cmds='$RANLIB $lib'
1.13510 - fi
1.13511 - ;;
1.13512 -aix4* | aix5*)
1.13513 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1.13514 - test "$enable_shared" = yes && enable_static=no
1.13515 - fi
1.13516 - ;;
1.13517 -esac
1.13518 -echo "$as_me:$LINENO: result: $enable_shared" >&5
1.13519 -echo "${ECHO_T}$enable_shared" >&6
1.13520 -
1.13521 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
1.13522 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
1.13523 -# Make sure either enable_shared or enable_static is yes.
1.13524 -test "$enable_shared" = yes || enable_static=yes
1.13525 -echo "$as_me:$LINENO: result: $enable_static" >&5
1.13526 -echo "${ECHO_T}$enable_static" >&6
1.13527 -
1.13528 -test "$ld_shlibs_F77" = no && can_build_shared=no
1.13529 -
1.13530 -GCC_F77="$G77"
1.13531 -LD_F77="$LD"
1.13532 -
1.13533 -lt_prog_compiler_wl_F77=
1.13534 -lt_prog_compiler_pic_F77=
1.13535 -lt_prog_compiler_static_F77=
1.13536 -
1.13537 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.13538 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
1.13539 -
1.13540 - if test "$GCC" = yes; then
1.13541 - lt_prog_compiler_wl_F77='-Wl,'
1.13542 - lt_prog_compiler_static_F77='-static'
1.13543 -
1.13544 - case $host_os in
1.13545 - aix*)
1.13546 - # All AIX code is PIC.
1.13547 - if test "$host_cpu" = ia64; then
1.13548 - # AIX 5 now supports IA64 processor
1.13549 - lt_prog_compiler_static_F77='-Bstatic'
1.13550 - fi
1.13551 - ;;
1.13552 -
1.13553 - amigaos*)
1.13554 - # FIXME: we need at least 68020 code to build shared libraries, but
1.13555 - # adding the `-m68020' flag to GCC prevents building anything better,
1.13556 - # like `-m68040'.
1.13557 - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
1.13558 - ;;
1.13559 -
1.13560 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.13561 - # PIC is the default for these OSes.
1.13562 - ;;
1.13563 -
1.13564 - mingw* | pw32* | os2*)
1.13565 - # This hack is so that the source file can tell whether it is being
1.13566 - # built for inclusion in a dll (and should export symbols for example).
1.13567 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
1.13568 - ;;
1.13569 -
1.13570 - darwin* | rhapsody*)
1.13571 - # PIC is the default on this platform
1.13572 - # Common symbols not allowed in MH_DYLIB files
1.13573 - lt_prog_compiler_pic_F77='-fno-common'
1.13574 - ;;
1.13575 -
1.13576 - msdosdjgpp*)
1.13577 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.13578 - # on systems that don't support them.
1.13579 - lt_prog_compiler_can_build_shared_F77=no
1.13580 - enable_shared=no
1.13581 - ;;
1.13582 -
1.13583 - sysv4*MP*)
1.13584 - if test -d /usr/nec; then
1.13585 - lt_prog_compiler_pic_F77=-Kconform_pic
1.13586 - fi
1.13587 - ;;
1.13588 -
1.13589 - hpux*)
1.13590 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.13591 - # not for PA HP-UX.
1.13592 - case $host_cpu in
1.13593 - hppa*64*|ia64*)
1.13594 - # +Z the default
1.13595 - ;;
1.13596 - *)
1.13597 - lt_prog_compiler_pic_F77='-fPIC'
1.13598 - ;;
1.13599 - esac
1.13600 - ;;
1.13601 -
1.13602 - *)
1.13603 - lt_prog_compiler_pic_F77='-fPIC'
1.13604 - ;;
1.13605 - esac
1.13606 - else
1.13607 - # PORTME Check for flag to pass linker flags through the system compiler.
1.13608 - case $host_os in
1.13609 - aix*)
1.13610 - lt_prog_compiler_wl_F77='-Wl,'
1.13611 - if test "$host_cpu" = ia64; then
1.13612 - # AIX 5 now supports IA64 processor
1.13613 - lt_prog_compiler_static_F77='-Bstatic'
1.13614 - else
1.13615 - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
1.13616 - fi
1.13617 - ;;
1.13618 - darwin*)
1.13619 - # PIC is the default on this platform
1.13620 - # Common symbols not allowed in MH_DYLIB files
1.13621 - case $cc_basename in
1.13622 - xlc*)
1.13623 - lt_prog_compiler_pic_F77='-qnocommon'
1.13624 - lt_prog_compiler_wl_F77='-Wl,'
1.13625 - ;;
1.13626 - esac
1.13627 - ;;
1.13628 -
1.13629 - mingw* | pw32* | os2*)
1.13630 - # This hack is so that the source file can tell whether it is being
1.13631 - # built for inclusion in a dll (and should export symbols for example).
1.13632 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
1.13633 - ;;
1.13634 -
1.13635 - hpux9* | hpux10* | hpux11*)
1.13636 - lt_prog_compiler_wl_F77='-Wl,'
1.13637 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.13638 - # not for PA HP-UX.
1.13639 - case $host_cpu in
1.13640 - hppa*64*|ia64*)
1.13641 - # +Z the default
1.13642 - ;;
1.13643 - *)
1.13644 - lt_prog_compiler_pic_F77='+Z'
1.13645 - ;;
1.13646 - esac
1.13647 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.13648 - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
1.13649 - ;;
1.13650 -
1.13651 - irix5* | irix6* | nonstopux*)
1.13652 - lt_prog_compiler_wl_F77='-Wl,'
1.13653 - # PIC (with -KPIC) is the default.
1.13654 - lt_prog_compiler_static_F77='-non_shared'
1.13655 - ;;
1.13656 -
1.13657 - newsos6)
1.13658 - lt_prog_compiler_pic_F77='-KPIC'
1.13659 - lt_prog_compiler_static_F77='-Bstatic'
1.13660 - ;;
1.13661 -
1.13662 - linux*)
1.13663 - case $cc_basename in
1.13664 - icc* | ecc*)
1.13665 - lt_prog_compiler_wl_F77='-Wl,'
1.13666 - lt_prog_compiler_pic_F77='-KPIC'
1.13667 - lt_prog_compiler_static_F77='-static'
1.13668 - ;;
1.13669 - pgcc* | pgf77* | pgf90* | pgf95*)
1.13670 - # Portland Group compilers (*not* the Pentium gcc compiler,
1.13671 - # which looks to be a dead project)
1.13672 - lt_prog_compiler_wl_F77='-Wl,'
1.13673 - lt_prog_compiler_pic_F77='-fpic'
1.13674 - lt_prog_compiler_static_F77='-Bstatic'
1.13675 - ;;
1.13676 - ccc*)
1.13677 - lt_prog_compiler_wl_F77='-Wl,'
1.13678 - # All Alpha code is PIC.
1.13679 - lt_prog_compiler_static_F77='-non_shared'
1.13680 - ;;
1.13681 - esac
1.13682 - ;;
1.13683 -
1.13684 - osf3* | osf4* | osf5*)
1.13685 - lt_prog_compiler_wl_F77='-Wl,'
1.13686 - # All OSF/1 code is PIC.
1.13687 - lt_prog_compiler_static_F77='-non_shared'
1.13688 - ;;
1.13689 -
1.13690 - sco3.2v5*)
1.13691 - lt_prog_compiler_pic_F77='-Kpic'
1.13692 - lt_prog_compiler_static_F77='-dn'
1.13693 - ;;
1.13694 -
1.13695 - solaris*)
1.13696 - lt_prog_compiler_pic_F77='-KPIC'
1.13697 - lt_prog_compiler_static_F77='-Bstatic'
1.13698 - case $cc_basename in
1.13699 - f77* | f90* | f95*)
1.13700 - lt_prog_compiler_wl_F77='-Qoption ld ';;
1.13701 - *)
1.13702 - lt_prog_compiler_wl_F77='-Wl,';;
1.13703 - esac
1.13704 - ;;
1.13705 -
1.13706 - sunos4*)
1.13707 - lt_prog_compiler_wl_F77='-Qoption ld '
1.13708 - lt_prog_compiler_pic_F77='-PIC'
1.13709 - lt_prog_compiler_static_F77='-Bstatic'
1.13710 - ;;
1.13711 -
1.13712 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.13713 - lt_prog_compiler_wl_F77='-Wl,'
1.13714 - lt_prog_compiler_pic_F77='-KPIC'
1.13715 - lt_prog_compiler_static_F77='-Bstatic'
1.13716 - ;;
1.13717 -
1.13718 - sysv4*MP*)
1.13719 - if test -d /usr/nec ;then
1.13720 - lt_prog_compiler_pic_F77='-Kconform_pic'
1.13721 - lt_prog_compiler_static_F77='-Bstatic'
1.13722 - fi
1.13723 - ;;
1.13724 -
1.13725 - unicos*)
1.13726 - lt_prog_compiler_wl_F77='-Wl,'
1.13727 - lt_prog_compiler_can_build_shared_F77=no
1.13728 - ;;
1.13729 -
1.13730 - uts4*)
1.13731 - lt_prog_compiler_pic_F77='-pic'
1.13732 - lt_prog_compiler_static_F77='-Bstatic'
1.13733 - ;;
1.13734 -
1.13735 - *)
1.13736 - lt_prog_compiler_can_build_shared_F77=no
1.13737 - ;;
1.13738 - esac
1.13739 - fi
1.13740 -
1.13741 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
1.13742 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
1.13743 -
1.13744 -#
1.13745 -# Check to make sure the PIC flag actually works.
1.13746 -#
1.13747 -if test -n "$lt_prog_compiler_pic_F77"; then
1.13748 -
1.13749 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
1.13750 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
1.13751 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
1.13752 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13753 -else
1.13754 - lt_prog_compiler_pic_works_F77=no
1.13755 - ac_outfile=conftest.$ac_objext
1.13756 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.13757 - lt_compiler_flag="$lt_prog_compiler_pic_F77"
1.13758 - # Insert the option either (1) after the last *FLAGS variable, or
1.13759 - # (2) before a word containing "conftest.", or (3) at the end.
1.13760 - # Note that $ac_compile itself does not contain backslashes and begins
1.13761 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.13762 - # The option is referenced via a variable to avoid confusing sed.
1.13763 - lt_compile=`echo "$ac_compile" | $SED \
1.13764 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.13765 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.13766 - -e 's:$: $lt_compiler_flag:'`
1.13767 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.13768 - (eval "$lt_compile" 2>conftest.err)
1.13769 - ac_status=$?
1.13770 - cat conftest.err >&5
1.13771 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.13772 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.13773 - # The compiler can only warn and ignore the option if not recognized
1.13774 - # So say no if there are warnings other than the usual output.
1.13775 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1.13776 - $SED '/^$/d' conftest.err >conftest.er2
1.13777 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1.13778 - lt_prog_compiler_pic_works_F77=yes
1.13779 - fi
1.13780 - fi
1.13781 - $rm conftest*
1.13782 -
1.13783 -fi
1.13784 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
1.13785 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
1.13786 -
1.13787 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1.13788 - case $lt_prog_compiler_pic_F77 in
1.13789 - "" | " "*) ;;
1.13790 - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
1.13791 - esac
1.13792 -else
1.13793 - lt_prog_compiler_pic_F77=
1.13794 - lt_prog_compiler_can_build_shared_F77=no
1.13795 -fi
1.13796 -
1.13797 -fi
1.13798 -case $host_os in
1.13799 - # For platforms which do not support PIC, -DPIC is meaningless:
1.13800 - *djgpp*)
1.13801 - lt_prog_compiler_pic_F77=
1.13802 - ;;
1.13803 - *)
1.13804 - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
1.13805 - ;;
1.13806 -esac
1.13807 -
1.13808 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.13809 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
1.13810 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
1.13811 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.13812 -else
1.13813 - lt_cv_prog_compiler_c_o_F77=no
1.13814 - $rm -r conftest 2>/dev/null
1.13815 - mkdir conftest
1.13816 - cd conftest
1.13817 - mkdir out
1.13818 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.13819 -
1.13820 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.13821 - # Insert the option either (1) after the last *FLAGS variable, or
1.13822 - # (2) before a word containing "conftest.", or (3) at the end.
1.13823 - # Note that $ac_compile itself does not contain backslashes and begins
1.13824 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.13825 - lt_compile=`echo "$ac_compile" | $SED \
1.13826 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.13827 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.13828 - -e 's:$: $lt_compiler_flag:'`
1.13829 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.13830 - (eval "$lt_compile" 2>out/conftest.err)
1.13831 - ac_status=$?
1.13832 - cat out/conftest.err >&5
1.13833 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.13834 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.13835 - then
1.13836 - # The compiler can only warn and ignore the option if not recognized
1.13837 - # So say no if there are warnings
1.13838 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
1.13839 - $SED '/^$/d' out/conftest.err >out/conftest.er2
1.13840 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1.13841 - lt_cv_prog_compiler_c_o_F77=yes
1.13842 - fi
1.13843 - fi
1.13844 - chmod u+w . 2>&5
1.13845 - $rm conftest*
1.13846 - # SGI C++ compiler will create directory out/ii_files/ for
1.13847 - # template instantiation
1.13848 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.13849 - $rm out/* && rmdir out
1.13850 - cd ..
1.13851 - rmdir conftest
1.13852 - $rm conftest*
1.13853 -
1.13854 -fi
1.13855 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
1.13856 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
1.13857 -
1.13858 -
1.13859 -hard_links="nottested"
1.13860 -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1.13861 - # do not overwrite the value of need_locks provided by the user
1.13862 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.13863 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
1.13864 - hard_links=yes
1.13865 - $rm conftest*
1.13866 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.13867 - touch conftest.a
1.13868 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.13869 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.13870 - echo "$as_me:$LINENO: result: $hard_links" >&5
1.13871 -echo "${ECHO_T}$hard_links" >&6
1.13872 - if test "$hard_links" = no; then
1.13873 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.13874 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.13875 - need_locks=warn
1.13876 - fi
1.13877 -else
1.13878 - need_locks=no
1.13879 -fi
1.13880 -
1.13881 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.13882 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.13883 -
1.13884 - runpath_var=
1.13885 - allow_undefined_flag_F77=
1.13886 - enable_shared_with_static_runtimes_F77=no
1.13887 - archive_cmds_F77=
1.13888 - archive_expsym_cmds_F77=
1.13889 - old_archive_From_new_cmds_F77=
1.13890 - old_archive_from_expsyms_cmds_F77=
1.13891 - export_dynamic_flag_spec_F77=
1.13892 - whole_archive_flag_spec_F77=
1.13893 - thread_safe_flag_spec_F77=
1.13894 - hardcode_libdir_flag_spec_F77=
1.13895 - hardcode_libdir_flag_spec_ld_F77=
1.13896 - hardcode_libdir_separator_F77=
1.13897 - hardcode_direct_F77=no
1.13898 - hardcode_minus_L_F77=no
1.13899 - hardcode_shlibpath_var_F77=unsupported
1.13900 - link_all_deplibs_F77=unknown
1.13901 - hardcode_automatic_F77=no
1.13902 - module_cmds_F77=
1.13903 - module_expsym_cmds_F77=
1.13904 - always_export_symbols_F77=no
1.13905 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.13906 - # include_expsyms should be a list of space-separated symbols to be *always*
1.13907 - # included in the symbol list
1.13908 - include_expsyms_F77=
1.13909 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.13910 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.13911 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.13912 - # as well as any symbol that contains `d'.
1.13913 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
1.13914 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.13915 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.13916 - # the symbol is explicitly referenced. Since portable code cannot
1.13917 - # rely on this symbol name, it's probably fine to never include it in
1.13918 - # preloaded symbol tables.
1.13919 - extract_expsyms_cmds=
1.13920 - # Just being paranoid about ensuring that cc_basename is set.
1.13921 - for cc_temp in $compiler""; do
1.13922 - case $cc_temp in
1.13923 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.13924 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.13925 - \-*) ;;
1.13926 - *) break;;
1.13927 - esac
1.13928 -done
1.13929 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.13930 -
1.13931 - case $host_os in
1.13932 - cygwin* | mingw* | pw32*)
1.13933 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.13934 - # When not using gcc, we currently assume that we are using
1.13935 - # Microsoft Visual C++.
1.13936 - if test "$GCC" != yes; then
1.13937 - with_gnu_ld=no
1.13938 - fi
1.13939 - ;;
1.13940 - openbsd*)
1.13941 - with_gnu_ld=no
1.13942 - ;;
1.13943 - esac
1.13944 -
1.13945 - ld_shlibs_F77=yes
1.13946 - if test "$with_gnu_ld" = yes; then
1.13947 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.13948 - wlarc='${wl}'
1.13949 -
1.13950 - # Set some defaults for GNU ld with shared library support. These
1.13951 - # are reset later if shared libraries are not supported. Putting them
1.13952 - # here allows them to be overridden if necessary.
1.13953 - runpath_var=LD_RUN_PATH
1.13954 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
1.13955 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
1.13956 - # ancient GNU ld didn't support --whole-archive et. al.
1.13957 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.13958 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.13959 - else
1.13960 - whole_archive_flag_spec_F77=
1.13961 - fi
1.13962 - supports_anon_versioning=no
1.13963 - case `$LD -v 2>/dev/null` in
1.13964 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.13965 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.13966 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.13967 - *\ 2.11.*) ;; # other 2.11 versions
1.13968 - *) supports_anon_versioning=yes ;;
1.13969 - esac
1.13970 -
1.13971 - # See if GNU ld supports shared libraries.
1.13972 - case $host_os in
1.13973 - aix3* | aix4* | aix5*)
1.13974 - # On AIX/PPC, the GNU linker is very broken
1.13975 - if test "$host_cpu" != ia64; then
1.13976 - ld_shlibs_F77=no
1.13977 - cat <<EOF 1>&2
1.13978 -
1.13979 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.13980 -*** to be unable to reliably create shared libraries on AIX.
1.13981 -*** Therefore, libtool is disabling shared libraries support. If you
1.13982 -*** really care for shared libraries, you may want to modify your PATH
1.13983 -*** so that a non-GNU linker is found, and then restart.
1.13984 -
1.13985 -EOF
1.13986 - fi
1.13987 - ;;
1.13988 -
1.13989 - amigaos*)
1.13990 - 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.13991 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.13992 - hardcode_minus_L_F77=yes
1.13993 -
1.13994 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.13995 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.13996 - # to version 4, is to share data among multiple programs linked
1.13997 - # with the same dynamic library. Since this doesn't match the
1.13998 - # behavior of shared libraries on other platforms, we can't use
1.13999 - # them.
1.14000 - ld_shlibs_F77=no
1.14001 - ;;
1.14002 -
1.14003 - beos*)
1.14004 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14005 - allow_undefined_flag_F77=unsupported
1.14006 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.14007 - # support --undefined. This deserves some investigation. FIXME
1.14008 - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14009 - else
1.14010 - ld_shlibs_F77=no
1.14011 - fi
1.14012 - ;;
1.14013 -
1.14014 - cygwin* | mingw* | pw32*)
1.14015 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
1.14016 - # as there is no search path for DLLs.
1.14017 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14018 - allow_undefined_flag_F77=unsupported
1.14019 - always_export_symbols_F77=no
1.14020 - enable_shared_with_static_runtimes_F77=yes
1.14021 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.14022 -
1.14023 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.14024 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.14025 - # If the export-symbols file already is a .def file (1st line
1.14026 - # is EXPORTS), use it as is; otherwise, prepend...
1.14027 - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.14028 - cp $export_symbols $output_objdir/$soname.def;
1.14029 - else
1.14030 - echo EXPORTS > $output_objdir/$soname.def;
1.14031 - cat $export_symbols >> $output_objdir/$soname.def;
1.14032 - fi~
1.14033 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.14034 - else
1.14035 - ld_shlibs_F77=no
1.14036 - fi
1.14037 - ;;
1.14038 -
1.14039 - linux*)
1.14040 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14041 - tmp_addflag=
1.14042 - case $cc_basename,$host_cpu in
1.14043 - pgcc*) # Portland Group C compiler
1.14044 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
1.14045 - tmp_addflag=' $pic_flag'
1.14046 - ;;
1.14047 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
1.14048 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
1.14049 - tmp_addflag=' $pic_flag -Mnomain' ;;
1.14050 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
1.14051 - tmp_addflag=' -i_dynamic' ;;
1.14052 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
1.14053 - tmp_addflag=' -i_dynamic -nofor_main' ;;
1.14054 - ifc* | ifort*) # Intel Fortran compiler
1.14055 - tmp_addflag=' -nofor_main' ;;
1.14056 - esac
1.14057 - archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14058 -
1.14059 - if test $supports_anon_versioning = yes; then
1.14060 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
1.14061 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.14062 - $echo "local: *; };" >> $output_objdir/$libname.ver~
1.14063 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.14064 - fi
1.14065 - else
1.14066 - ld_shlibs_F77=no
1.14067 - fi
1.14068 - ;;
1.14069 -
1.14070 - netbsd*)
1.14071 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.14072 - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.14073 - wlarc=
1.14074 - else
1.14075 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14076 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14077 - fi
1.14078 - ;;
1.14079 -
1.14080 - solaris* | sysv5*)
1.14081 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.14082 - ld_shlibs_F77=no
1.14083 - cat <<EOF 1>&2
1.14084 -
1.14085 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.14086 -*** create shared libraries on Solaris systems. Therefore, libtool
1.14087 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.14088 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.14089 -*** your PATH or compiler configuration so that the native linker is
1.14090 -*** used, and then restart.
1.14091 -
1.14092 -EOF
1.14093 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14094 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14095 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14096 - else
1.14097 - ld_shlibs_F77=no
1.14098 - fi
1.14099 - ;;
1.14100 -
1.14101 - sunos4*)
1.14102 - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14103 - wlarc=
1.14104 - hardcode_direct_F77=yes
1.14105 - hardcode_shlibpath_var_F77=no
1.14106 - ;;
1.14107 -
1.14108 - *)
1.14109 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.14110 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.14111 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.14112 - else
1.14113 - ld_shlibs_F77=no
1.14114 - fi
1.14115 - ;;
1.14116 - esac
1.14117 -
1.14118 - if test "$ld_shlibs_F77" = no; then
1.14119 - runpath_var=
1.14120 - hardcode_libdir_flag_spec_F77=
1.14121 - export_dynamic_flag_spec_F77=
1.14122 - whole_archive_flag_spec_F77=
1.14123 - fi
1.14124 - else
1.14125 - # PORTME fill in a description of your system's linker (not GNU ld)
1.14126 - case $host_os in
1.14127 - aix3*)
1.14128 - allow_undefined_flag_F77=unsupported
1.14129 - always_export_symbols_F77=yes
1.14130 - 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.14131 - # Note: this linker hardcodes the directories in LIBPATH if there
1.14132 - # are no directories specified by -L.
1.14133 - hardcode_minus_L_F77=yes
1.14134 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.14135 - # Neither direct hardcoding nor static linking is supported with a
1.14136 - # broken collect2.
1.14137 - hardcode_direct_F77=unsupported
1.14138 - fi
1.14139 - ;;
1.14140 -
1.14141 - aix4* | aix5*)
1.14142 - if test "$host_cpu" = ia64; then
1.14143 - # On IA64, the linker does run time linking by default, so we don't
1.14144 - # have to do anything special.
1.14145 - aix_use_runtimelinking=no
1.14146 - exp_sym_flag='-Bexport'
1.14147 - no_entry_flag=""
1.14148 - else
1.14149 - # If we're using GNU nm, then we don't want the "-C" option.
1.14150 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.14151 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.14152 - 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.14153 - else
1.14154 - 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.14155 - fi
1.14156 - aix_use_runtimelinking=no
1.14157 -
1.14158 - # Test if we are trying to use run time linking or normal
1.14159 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.14160 - # need to do runtime linking.
1.14161 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.14162 - for ld_flag in $LDFLAGS; do
1.14163 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.14164 - aix_use_runtimelinking=yes
1.14165 - break
1.14166 - fi
1.14167 - done
1.14168 - esac
1.14169 -
1.14170 - exp_sym_flag='-bexport'
1.14171 - no_entry_flag='-bnoentry'
1.14172 - fi
1.14173 -
1.14174 - # When large executables or shared objects are built, AIX ld can
1.14175 - # have problems creating the table of contents. If linking a library
1.14176 - # or program results in "error TOC overflow" add -mminimal-toc to
1.14177 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.14178 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.14179 -
1.14180 - archive_cmds_F77=''
1.14181 - hardcode_direct_F77=yes
1.14182 - hardcode_libdir_separator_F77=':'
1.14183 - link_all_deplibs_F77=yes
1.14184 -
1.14185 - if test "$GCC" = yes; then
1.14186 - case $host_os in aix4.[012]|aix4.[012].*)
1.14187 - # We only want to do this on AIX 4.2 and lower, the check
1.14188 - # below for broken collect2 doesn't work under 4.3+
1.14189 - collect2name=`${CC} -print-prog-name=collect2`
1.14190 - if test -f "$collect2name" && \
1.14191 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.14192 - then
1.14193 - # We have reworked collect2
1.14194 - hardcode_direct_F77=yes
1.14195 - else
1.14196 - # We have old collect2
1.14197 - hardcode_direct_F77=unsupported
1.14198 - # It fails to find uninstalled libraries when the uninstalled
1.14199 - # path is not listed in the libpath. Setting hardcode_minus_L
1.14200 - # to unsupported forces relinking
1.14201 - hardcode_minus_L_F77=yes
1.14202 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14203 - hardcode_libdir_separator_F77=
1.14204 - fi
1.14205 - esac
1.14206 - shared_flag='-shared'
1.14207 - if test "$aix_use_runtimelinking" = yes; then
1.14208 - shared_flag="$shared_flag "'${wl}-G'
1.14209 - fi
1.14210 - else
1.14211 - # not using gcc
1.14212 - if test "$host_cpu" = ia64; then
1.14213 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.14214 - # chokes on -Wl,-G. The following line is correct:
1.14215 - shared_flag='-G'
1.14216 - else
1.14217 - if test "$aix_use_runtimelinking" = yes; then
1.14218 - shared_flag='${wl}-G'
1.14219 - else
1.14220 - shared_flag='${wl}-bM:SRE'
1.14221 - fi
1.14222 - fi
1.14223 - fi
1.14224 -
1.14225 - # It seems that -bexpall does not export symbols beginning with
1.14226 - # underscore (_), so it is better to generate a list of symbols to export.
1.14227 - always_export_symbols_F77=yes
1.14228 - if test "$aix_use_runtimelinking" = yes; then
1.14229 - # Warning - without using the other runtime loading flags (-brtl),
1.14230 - # -berok will link without error, but may produce a broken library.
1.14231 - allow_undefined_flag_F77='-berok'
1.14232 - # Determine the default libpath from the value encoded in an empty executable.
1.14233 - cat >conftest.$ac_ext <<_ACEOF
1.14234 - program main
1.14235 -
1.14236 - end
1.14237 -_ACEOF
1.14238 -rm -f conftest.$ac_objext conftest$ac_exeext
1.14239 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.14240 - (eval $ac_link) 2>conftest.er1
1.14241 - ac_status=$?
1.14242 - grep -v '^ *+' conftest.er1 >conftest.err
1.14243 - rm -f conftest.er1
1.14244 - cat conftest.err >&5
1.14245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14246 - (exit $ac_status); } &&
1.14247 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
1.14248 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.14249 - (eval $ac_try) 2>&5
1.14250 - ac_status=$?
1.14251 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14252 - (exit $ac_status); }; } &&
1.14253 - { ac_try='test -s conftest$ac_exeext'
1.14254 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.14255 - (eval $ac_try) 2>&5
1.14256 - ac_status=$?
1.14257 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14258 - (exit $ac_status); }; }; then
1.14259 -
1.14260 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.14261 -}'`
1.14262 -# Check for a 64-bit object if we didn't find anything.
1.14263 -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.14264 -}'`; fi
1.14265 -else
1.14266 - echo "$as_me: failed program was:" >&5
1.14267 -sed 's/^/| /' conftest.$ac_ext >&5
1.14268 -
1.14269 -fi
1.14270 -rm -f conftest.err conftest.$ac_objext \
1.14271 - conftest$ac_exeext conftest.$ac_ext
1.14272 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.14273 -
1.14274 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1.14275 - 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.14276 - else
1.14277 - if test "$host_cpu" = ia64; then
1.14278 - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
1.14279 - allow_undefined_flag_F77="-z nodefs"
1.14280 - 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.14281 - else
1.14282 - # Determine the default libpath from the value encoded in an empty executable.
1.14283 - cat >conftest.$ac_ext <<_ACEOF
1.14284 - program main
1.14285 -
1.14286 - end
1.14287 -_ACEOF
1.14288 -rm -f conftest.$ac_objext conftest$ac_exeext
1.14289 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.14290 - (eval $ac_link) 2>conftest.er1
1.14291 - ac_status=$?
1.14292 - grep -v '^ *+' conftest.er1 >conftest.err
1.14293 - rm -f conftest.er1
1.14294 - cat conftest.err >&5
1.14295 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14296 - (exit $ac_status); } &&
1.14297 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
1.14298 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.14299 - (eval $ac_try) 2>&5
1.14300 - ac_status=$?
1.14301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14302 - (exit $ac_status); }; } &&
1.14303 - { ac_try='test -s conftest$ac_exeext'
1.14304 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.14305 - (eval $ac_try) 2>&5
1.14306 - ac_status=$?
1.14307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14308 - (exit $ac_status); }; }; then
1.14309 -
1.14310 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.14311 -}'`
1.14312 -# Check for a 64-bit object if we didn't find anything.
1.14313 -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.14314 -}'`; fi
1.14315 -else
1.14316 - echo "$as_me: failed program was:" >&5
1.14317 -sed 's/^/| /' conftest.$ac_ext >&5
1.14318 -
1.14319 -fi
1.14320 -rm -f conftest.err conftest.$ac_objext \
1.14321 - conftest$ac_exeext conftest.$ac_ext
1.14322 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.14323 -
1.14324 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1.14325 - # Warning - without using the other run time loading flags,
1.14326 - # -berok will link without error, but may produce a broken library.
1.14327 - no_undefined_flag_F77=' ${wl}-bernotok'
1.14328 - allow_undefined_flag_F77=' ${wl}-berok'
1.14329 - # -bexpall does not export symbols beginning with underscore (_)
1.14330 - always_export_symbols_F77=yes
1.14331 - # Exported symbols can be pulled into shared objects from archives
1.14332 - whole_archive_flag_spec_F77=' '
1.14333 - archive_cmds_need_lc_F77=yes
1.14334 - # This is similar to how AIX traditionally builds its shared libraries.
1.14335 - 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.14336 - fi
1.14337 - fi
1.14338 - ;;
1.14339 -
1.14340 - amigaos*)
1.14341 - 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.14342 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14343 - hardcode_minus_L_F77=yes
1.14344 - # see comment about different semantics on the GNU ld section
1.14345 - ld_shlibs_F77=no
1.14346 - ;;
1.14347 -
1.14348 - bsdi[45]*)
1.14349 - export_dynamic_flag_spec_F77=-rdynamic
1.14350 - ;;
1.14351 -
1.14352 - cygwin* | mingw* | pw32*)
1.14353 - # When not using gcc, we currently assume that we are using
1.14354 - # Microsoft Visual C++.
1.14355 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.14356 - # no search path for DLLs.
1.14357 - hardcode_libdir_flag_spec_F77=' '
1.14358 - allow_undefined_flag_F77=unsupported
1.14359 - # Tell ltmain to make .lib files, not .a files.
1.14360 - libext=lib
1.14361 - # Tell ltmain to make .dll files, not .so files.
1.14362 - shrext_cmds=".dll"
1.14363 - # FIXME: Setting linknames here is a bad hack.
1.14364 - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.14365 - # The linker will automatically build a .lib file if we build a DLL.
1.14366 - old_archive_From_new_cmds_F77='true'
1.14367 - # FIXME: Should let the user specify the lib program.
1.14368 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.14369 - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
1.14370 - enable_shared_with_static_runtimes_F77=yes
1.14371 - ;;
1.14372 -
1.14373 - darwin* | rhapsody*)
1.14374 - case $host_os in
1.14375 - rhapsody* | darwin1.[012])
1.14376 - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
1.14377 - ;;
1.14378 - *) # Darwin 1.3 on
1.14379 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.14380 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.14381 - else
1.14382 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.14383 - 10.[012])
1.14384 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.14385 - ;;
1.14386 - 10.*)
1.14387 - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
1.14388 - ;;
1.14389 - esac
1.14390 - fi
1.14391 - ;;
1.14392 - esac
1.14393 - archive_cmds_need_lc_F77=no
1.14394 - hardcode_direct_F77=no
1.14395 - hardcode_automatic_F77=yes
1.14396 - hardcode_shlibpath_var_F77=unsupported
1.14397 - whole_archive_flag_spec_F77=''
1.14398 - link_all_deplibs_F77=yes
1.14399 - if test "$GCC" = yes ; then
1.14400 - output_verbose_link_cmd='echo'
1.14401 - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.14402 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.14403 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.14404 - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.14405 - 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.14406 - else
1.14407 - case $cc_basename in
1.14408 - xlc*)
1.14409 - output_verbose_link_cmd='echo'
1.14410 - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
1.14411 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.14412 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.14413 - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.14414 - 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.14415 - ;;
1.14416 - *)
1.14417 - ld_shlibs_F77=no
1.14418 - ;;
1.14419 - esac
1.14420 - fi
1.14421 - ;;
1.14422 -
1.14423 - dgux*)
1.14424 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14425 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14426 - hardcode_shlibpath_var_F77=no
1.14427 - ;;
1.14428 -
1.14429 - freebsd1*)
1.14430 - ld_shlibs_F77=no
1.14431 - ;;
1.14432 -
1.14433 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.14434 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.14435 - # does not break anything, and helps significantly (at the cost of a little
1.14436 - # extra space).
1.14437 - freebsd2.2*)
1.14438 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.14439 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14440 - hardcode_direct_F77=yes
1.14441 - hardcode_shlibpath_var_F77=no
1.14442 - ;;
1.14443 -
1.14444 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.14445 - freebsd2*)
1.14446 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14447 - hardcode_direct_F77=yes
1.14448 - hardcode_minus_L_F77=yes
1.14449 - hardcode_shlibpath_var_F77=no
1.14450 - ;;
1.14451 -
1.14452 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.14453 - freebsd* | kfreebsd*-gnu | dragonfly*)
1.14454 - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.14455 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14456 - hardcode_direct_F77=yes
1.14457 - hardcode_shlibpath_var_F77=no
1.14458 - ;;
1.14459 -
1.14460 - hpux9*)
1.14461 - if test "$GCC" = yes; then
1.14462 - 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.14463 - else
1.14464 - 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.14465 - fi
1.14466 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14467 - hardcode_libdir_separator_F77=:
1.14468 - hardcode_direct_F77=yes
1.14469 -
1.14470 - # hardcode_minus_L: Not really in the search PATH,
1.14471 - # but as the default location of the library.
1.14472 - hardcode_minus_L_F77=yes
1.14473 - export_dynamic_flag_spec_F77='${wl}-E'
1.14474 - ;;
1.14475 -
1.14476 - hpux10* | hpux11*)
1.14477 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.14478 - case $host_cpu in
1.14479 - hppa*64*|ia64*)
1.14480 - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.14481 - ;;
1.14482 - *)
1.14483 - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.14484 - ;;
1.14485 - esac
1.14486 - else
1.14487 - case $host_cpu in
1.14488 - hppa*64*|ia64*)
1.14489 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14490 - ;;
1.14491 - *)
1.14492 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.14493 - ;;
1.14494 - esac
1.14495 - fi
1.14496 - if test "$with_gnu_ld" = no; then
1.14497 - case $host_cpu in
1.14498 - hppa*64*)
1.14499 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14500 - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
1.14501 - hardcode_libdir_separator_F77=:
1.14502 - hardcode_direct_F77=no
1.14503 - hardcode_shlibpath_var_F77=no
1.14504 - ;;
1.14505 - ia64*)
1.14506 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14507 - hardcode_direct_F77=no
1.14508 - hardcode_shlibpath_var_F77=no
1.14509 -
1.14510 - # hardcode_minus_L: Not really in the search PATH,
1.14511 - # but as the default location of the library.
1.14512 - hardcode_minus_L_F77=yes
1.14513 - ;;
1.14514 - *)
1.14515 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1.14516 - hardcode_libdir_separator_F77=:
1.14517 - hardcode_direct_F77=yes
1.14518 - export_dynamic_flag_spec_F77='${wl}-E'
1.14519 -
1.14520 - # hardcode_minus_L: Not really in the search PATH,
1.14521 - # but as the default location of the library.
1.14522 - hardcode_minus_L_F77=yes
1.14523 - ;;
1.14524 - esac
1.14525 - fi
1.14526 - ;;
1.14527 -
1.14528 - irix5* | irix6* | nonstopux*)
1.14529 - if test "$GCC" = yes; then
1.14530 - 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.14531 - else
1.14532 - 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.14533 - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
1.14534 - fi
1.14535 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14536 - hardcode_libdir_separator_F77=:
1.14537 - link_all_deplibs_F77=yes
1.14538 - ;;
1.14539 -
1.14540 - netbsd*)
1.14541 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.14542 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.14543 - else
1.14544 - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.14545 - fi
1.14546 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14547 - hardcode_direct_F77=yes
1.14548 - hardcode_shlibpath_var_F77=no
1.14549 - ;;
1.14550 -
1.14551 - newsos6)
1.14552 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14553 - hardcode_direct_F77=yes
1.14554 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14555 - hardcode_libdir_separator_F77=:
1.14556 - hardcode_shlibpath_var_F77=no
1.14557 - ;;
1.14558 -
1.14559 - openbsd*)
1.14560 - hardcode_direct_F77=yes
1.14561 - hardcode_shlibpath_var_F77=no
1.14562 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.14563 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.14564 - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
1.14565 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
1.14566 - export_dynamic_flag_spec_F77='${wl}-E'
1.14567 - else
1.14568 - case $host_os in
1.14569 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.14570 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.14571 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14572 - ;;
1.14573 - *)
1.14574 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.14575 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
1.14576 - ;;
1.14577 - esac
1.14578 - fi
1.14579 - ;;
1.14580 -
1.14581 - os2*)
1.14582 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14583 - hardcode_minus_L_F77=yes
1.14584 - allow_undefined_flag_F77=unsupported
1.14585 - 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.14586 - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.14587 - ;;
1.14588 -
1.14589 - osf3*)
1.14590 - if test "$GCC" = yes; then
1.14591 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
1.14592 - 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.14593 - else
1.14594 - allow_undefined_flag_F77=' -expect_unresolved \*'
1.14595 - 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.14596 - fi
1.14597 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14598 - hardcode_libdir_separator_F77=:
1.14599 - ;;
1.14600 -
1.14601 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.14602 - if test "$GCC" = yes; then
1.14603 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
1.14604 - 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.14605 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
1.14606 - else
1.14607 - allow_undefined_flag_F77=' -expect_unresolved \*'
1.14608 - 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.14609 - 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.14610 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
1.14611 -
1.14612 - # Both c and cxx compiler support -rpath directly
1.14613 - hardcode_libdir_flag_spec_F77='-rpath $libdir'
1.14614 - fi
1.14615 - hardcode_libdir_separator_F77=:
1.14616 - ;;
1.14617 -
1.14618 - sco3.2v5*)
1.14619 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14620 - hardcode_shlibpath_var_F77=no
1.14621 - export_dynamic_flag_spec_F77='${wl}-Bexport'
1.14622 - runpath_var=LD_RUN_PATH
1.14623 - hardcode_runpath_var=yes
1.14624 - ;;
1.14625 -
1.14626 - solaris*)
1.14627 - no_undefined_flag_F77=' -z text'
1.14628 - if test "$GCC" = yes; then
1.14629 - wlarc='${wl}'
1.14630 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.14631 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.14632 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.14633 - else
1.14634 - wlarc=''
1.14635 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14636 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.14637 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.14638 - fi
1.14639 - hardcode_libdir_flag_spec_F77='-R$libdir'
1.14640 - hardcode_shlibpath_var_F77=no
1.14641 - case $host_os in
1.14642 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.14643 - *)
1.14644 - # The compiler driver will combine linker options so we
1.14645 - # cannot just pass the convience library names through
1.14646 - # without $wl, iff we do not link with $LD.
1.14647 - # Luckily, gcc supports the same syntax we need for Sun Studio.
1.14648 - # Supported since Solaris 2.6 (maybe 2.5.1?)
1.14649 - case $wlarc in
1.14650 - '')
1.14651 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
1.14652 - *)
1.14653 - whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
1.14654 - esac ;;
1.14655 - esac
1.14656 - link_all_deplibs_F77=yes
1.14657 - ;;
1.14658 -
1.14659 - sunos4*)
1.14660 - if test "x$host_vendor" = xsequent; then
1.14661 - # Use $CC to link under sequent, because it throws in some extra .o
1.14662 - # files that make .init and .fini sections work.
1.14663 - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.14664 - else
1.14665 - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.14666 - fi
1.14667 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14668 - hardcode_direct_F77=yes
1.14669 - hardcode_minus_L_F77=yes
1.14670 - hardcode_shlibpath_var_F77=no
1.14671 - ;;
1.14672 -
1.14673 - sysv4)
1.14674 - case $host_vendor in
1.14675 - sni)
1.14676 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14677 - hardcode_direct_F77=yes # is this really true???
1.14678 - ;;
1.14679 - siemens)
1.14680 - ## LD is ld it makes a PLAMLIB
1.14681 - ## CC just makes a GrossModule.
1.14682 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.14683 - reload_cmds_F77='$CC -r -o $output$reload_objs'
1.14684 - hardcode_direct_F77=no
1.14685 - ;;
1.14686 - motorola)
1.14687 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14688 - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
1.14689 - ;;
1.14690 - esac
1.14691 - runpath_var='LD_RUN_PATH'
1.14692 - hardcode_shlibpath_var_F77=no
1.14693 - ;;
1.14694 -
1.14695 - sysv4.3*)
1.14696 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14697 - hardcode_shlibpath_var_F77=no
1.14698 - export_dynamic_flag_spec_F77='-Bexport'
1.14699 - ;;
1.14700 -
1.14701 - sysv4*MP*)
1.14702 - if test -d /usr/nec; then
1.14703 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14704 - hardcode_shlibpath_var_F77=no
1.14705 - runpath_var=LD_RUN_PATH
1.14706 - hardcode_runpath_var=yes
1.14707 - ld_shlibs_F77=yes
1.14708 - fi
1.14709 - ;;
1.14710 -
1.14711 - sysv4.2uw2*)
1.14712 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.14713 - hardcode_direct_F77=yes
1.14714 - hardcode_minus_L_F77=no
1.14715 - hardcode_shlibpath_var_F77=no
1.14716 - hardcode_runpath_var=yes
1.14717 - runpath_var=LD_RUN_PATH
1.14718 - ;;
1.14719 -
1.14720 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.14721 - no_undefined_flag_F77='${wl}-z ${wl}text'
1.14722 - if test "$GCC" = yes; then
1.14723 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.14724 - else
1.14725 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.14726 - fi
1.14727 - runpath_var='LD_RUN_PATH'
1.14728 - hardcode_shlibpath_var_F77=no
1.14729 - ;;
1.14730 -
1.14731 - sysv5*)
1.14732 - no_undefined_flag_F77=' -z text'
1.14733 - # $CC -shared without GNU ld will not create a library from C++
1.14734 - # object files and a static libstdc++, better avoid it by now
1.14735 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14736 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.14737 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.14738 - hardcode_libdir_flag_spec_F77=
1.14739 - hardcode_shlibpath_var_F77=no
1.14740 - runpath_var='LD_RUN_PATH'
1.14741 - ;;
1.14742 -
1.14743 - uts4*)
1.14744 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.14745 - hardcode_libdir_flag_spec_F77='-L$libdir'
1.14746 - hardcode_shlibpath_var_F77=no
1.14747 - ;;
1.14748 -
1.14749 - *)
1.14750 - ld_shlibs_F77=no
1.14751 - ;;
1.14752 - esac
1.14753 - fi
1.14754 -
1.14755 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
1.14756 -echo "${ECHO_T}$ld_shlibs_F77" >&6
1.14757 -test "$ld_shlibs_F77" = no && can_build_shared=no
1.14758 -
1.14759 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.14760 -if test "$GCC" = yes; then
1.14761 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.14762 -fi
1.14763 -
1.14764 -#
1.14765 -# Do we need to explicitly link libc?
1.14766 -#
1.14767 -case "x$archive_cmds_need_lc_F77" in
1.14768 -x|xyes)
1.14769 - # Assume -lc should be added
1.14770 - archive_cmds_need_lc_F77=yes
1.14771 -
1.14772 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.14773 - case $archive_cmds_F77 in
1.14774 - *'~'*)
1.14775 - # FIXME: we may have to deal with multi-command sequences.
1.14776 - ;;
1.14777 - '$CC '*)
1.14778 - # Test whether the compiler implicitly links with -lc since on some
1.14779 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.14780 - # to ld, don't add -lc before -lgcc.
1.14781 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.14782 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
1.14783 - $rm conftest*
1.14784 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.14785 -
1.14786 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.14787 - (eval $ac_compile) 2>&5
1.14788 - ac_status=$?
1.14789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14790 - (exit $ac_status); } 2>conftest.err; then
1.14791 - soname=conftest
1.14792 - lib=conftest
1.14793 - libobjs=conftest.$ac_objext
1.14794 - deplibs=
1.14795 - wl=$lt_prog_compiler_wl_F77
1.14796 - compiler_flags=-v
1.14797 - linker_flags=-v
1.14798 - verstring=
1.14799 - output_objdir=.
1.14800 - libname=conftest
1.14801 - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
1.14802 - allow_undefined_flag_F77=
1.14803 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.14804 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.14805 - ac_status=$?
1.14806 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.14807 - (exit $ac_status); }
1.14808 - then
1.14809 - archive_cmds_need_lc_F77=no
1.14810 - else
1.14811 - archive_cmds_need_lc_F77=yes
1.14812 - fi
1.14813 - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
1.14814 - else
1.14815 - cat conftest.err 1>&5
1.14816 - fi
1.14817 - $rm conftest*
1.14818 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
1.14819 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
1.14820 - ;;
1.14821 - esac
1.14822 - fi
1.14823 - ;;
1.14824 -esac
1.14825 -
1.14826 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.14827 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
1.14828 -library_names_spec=
1.14829 -libname_spec='lib$name'
1.14830 -soname_spec=
1.14831 -shrext_cmds=".so"
1.14832 -postinstall_cmds=
1.14833 -postuninstall_cmds=
1.14834 -finish_cmds=
1.14835 -finish_eval=
1.14836 -shlibpath_var=
1.14837 -shlibpath_overrides_runpath=unknown
1.14838 -version_type=none
1.14839 -dynamic_linker="$host_os ld.so"
1.14840 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.14841 -if test "$GCC" = yes; then
1.14842 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.14843 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.14844 - # if the path contains ";" then we assume it to be the separator
1.14845 - # otherwise default to the standard path separator (i.e. ":") - it is
1.14846 - # assumed that no part of a normal pathname contains ";" but that should
1.14847 - # okay in the real world where ";" in dirpaths is itself problematic.
1.14848 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.14849 - else
1.14850 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.14851 - fi
1.14852 -else
1.14853 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.14854 -fi
1.14855 -need_lib_prefix=unknown
1.14856 -hardcode_into_libs=no
1.14857 -
1.14858 -# when you set need_version to no, make sure it does not cause -set_version
1.14859 -# flags to be left without arguments
1.14860 -need_version=unknown
1.14861 -
1.14862 -case $host_os in
1.14863 -aix3*)
1.14864 - version_type=linux
1.14865 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.14866 - shlibpath_var=LIBPATH
1.14867 -
1.14868 - # AIX 3 has no versioning support, so we append a major version to the name.
1.14869 - soname_spec='${libname}${release}${shared_ext}$major'
1.14870 - ;;
1.14871 -
1.14872 -aix4* | aix5*)
1.14873 - version_type=linux
1.14874 - need_lib_prefix=no
1.14875 - need_version=no
1.14876 - hardcode_into_libs=yes
1.14877 - if test "$host_cpu" = ia64; then
1.14878 - # AIX 5 supports IA64
1.14879 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.14880 - shlibpath_var=LD_LIBRARY_PATH
1.14881 - else
1.14882 - # With GCC up to 2.95.x, collect2 would create an import file
1.14883 - # for dependence libraries. The import file would start with
1.14884 - # the line `#! .'. This would cause the generated library to
1.14885 - # depend on `.', always an invalid library. This was fixed in
1.14886 - # development snapshots of GCC prior to 3.0.
1.14887 - case $host_os in
1.14888 - aix4 | aix4.[01] | aix4.[01].*)
1.14889 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.14890 - echo ' yes '
1.14891 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.14892 - :
1.14893 - else
1.14894 - can_build_shared=no
1.14895 - fi
1.14896 - ;;
1.14897 - esac
1.14898 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.14899 - # soname into executable. Probably we can add versioning support to
1.14900 - # collect2, so additional links can be useful in future.
1.14901 - if test "$aix_use_runtimelinking" = yes; then
1.14902 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.14903 - # instead of lib<name>.a to let people know that these are not
1.14904 - # typical AIX shared libraries.
1.14905 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.14906 - else
1.14907 - # We preserve .a as extension for shared libraries through AIX4.2
1.14908 - # and later when we are not doing run time linking.
1.14909 - library_names_spec='${libname}${release}.a $libname.a'
1.14910 - soname_spec='${libname}${release}${shared_ext}$major'
1.14911 - fi
1.14912 - shlibpath_var=LIBPATH
1.14913 - fi
1.14914 - ;;
1.14915 -
1.14916 -amigaos*)
1.14917 - library_names_spec='$libname.ixlibrary $libname.a'
1.14918 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.14919 - 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.14920 - ;;
1.14921 -
1.14922 -beos*)
1.14923 - library_names_spec='${libname}${shared_ext}'
1.14924 - dynamic_linker="$host_os ld.so"
1.14925 - shlibpath_var=LIBRARY_PATH
1.14926 - ;;
1.14927 -
1.14928 -bsdi[45]*)
1.14929 - version_type=linux
1.14930 - need_version=no
1.14931 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.14932 - soname_spec='${libname}${release}${shared_ext}$major'
1.14933 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.14934 - shlibpath_var=LD_LIBRARY_PATH
1.14935 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.14936 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.14937 - # the default ld.so.conf also contains /usr/contrib/lib and
1.14938 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.14939 - # libtool to hard-code these into programs
1.14940 - ;;
1.14941 -
1.14942 -cygwin* | mingw* | pw32*)
1.14943 - version_type=windows
1.14944 - shrext_cmds=".dll"
1.14945 - need_version=no
1.14946 - need_lib_prefix=no
1.14947 -
1.14948 - case $GCC,$host_os in
1.14949 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.14950 - library_names_spec='$libname.dll.a'
1.14951 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.14952 - postinstall_cmds='base_file=`basename \${file}`~
1.14953 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.14954 - dldir=$destdir/`dirname \$dlpath`~
1.14955 - test -d \$dldir || mkdir -p \$dldir~
1.14956 - $install_prog $dir/$dlname \$dldir/$dlname~
1.14957 - chmod a+x \$dldir/$dlname'
1.14958 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.14959 - dlpath=$dir/\$dldll~
1.14960 - $rm \$dlpath'
1.14961 - shlibpath_overrides_runpath=yes
1.14962 -
1.14963 - case $host_os in
1.14964 - cygwin*)
1.14965 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.14966 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.14967 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.14968 - ;;
1.14969 - mingw*)
1.14970 - # MinGW DLLs use traditional 'lib' prefix
1.14971 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.14972 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.14973 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.14974 - # It is most probably a Windows format PATH printed by
1.14975 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.14976 - # path with ; separators, and with drive letters. We can handle the
1.14977 - # drive letters (cygwin fileutils understands them), so leave them,
1.14978 - # especially as we might pass files found there to a mingw objdump,
1.14979 - # which wouldn't understand a cygwinified path. Ahh.
1.14980 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.14981 - else
1.14982 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.14983 - fi
1.14984 - ;;
1.14985 - pw32*)
1.14986 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.14987 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.14988 - ;;
1.14989 - esac
1.14990 - ;;
1.14991 -
1.14992 - *)
1.14993 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.14994 - ;;
1.14995 - esac
1.14996 - dynamic_linker='Win32 ld.exe'
1.14997 - # FIXME: first we should search . and the directory the executable is in
1.14998 - shlibpath_var=PATH
1.14999 - ;;
1.15000 -
1.15001 -darwin* | rhapsody*)
1.15002 - dynamic_linker="$host_os dyld"
1.15003 - version_type=darwin
1.15004 - need_lib_prefix=no
1.15005 - need_version=no
1.15006 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.15007 - soname_spec='${libname}${release}${major}$shared_ext'
1.15008 - shlibpath_overrides_runpath=yes
1.15009 - shlibpath_var=DYLD_LIBRARY_PATH
1.15010 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.15011 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.15012 - if test "$GCC" = yes; then
1.15013 - 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.15014 - else
1.15015 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.15016 - fi
1.15017 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.15018 - ;;
1.15019 -
1.15020 -dgux*)
1.15021 - version_type=linux
1.15022 - need_lib_prefix=no
1.15023 - need_version=no
1.15024 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.15025 - soname_spec='${libname}${release}${shared_ext}$major'
1.15026 - shlibpath_var=LD_LIBRARY_PATH
1.15027 - ;;
1.15028 -
1.15029 -freebsd1*)
1.15030 - dynamic_linker=no
1.15031 - ;;
1.15032 -
1.15033 -kfreebsd*-gnu)
1.15034 - version_type=linux
1.15035 - need_lib_prefix=no
1.15036 - need_version=no
1.15037 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15038 - soname_spec='${libname}${release}${shared_ext}$major'
1.15039 - shlibpath_var=LD_LIBRARY_PATH
1.15040 - shlibpath_overrides_runpath=no
1.15041 - hardcode_into_libs=yes
1.15042 - dynamic_linker='GNU ld.so'
1.15043 - ;;
1.15044 -
1.15045 -freebsd* | dragonfly*)
1.15046 - # DragonFly does not have aout. When/if they implement a new
1.15047 - # versioning mechanism, adjust this.
1.15048 - if test -x /usr/bin/objformat; then
1.15049 - objformat=`/usr/bin/objformat`
1.15050 - else
1.15051 - case $host_os in
1.15052 - freebsd[123]*) objformat=aout ;;
1.15053 - *) objformat=elf ;;
1.15054 - esac
1.15055 - fi
1.15056 - version_type=freebsd-$objformat
1.15057 - case $version_type in
1.15058 - freebsd-elf*)
1.15059 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.15060 - need_version=no
1.15061 - need_lib_prefix=no
1.15062 - ;;
1.15063 - freebsd-*)
1.15064 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.15065 - need_version=yes
1.15066 - ;;
1.15067 - esac
1.15068 - shlibpath_var=LD_LIBRARY_PATH
1.15069 - case $host_os in
1.15070 - freebsd2*)
1.15071 - shlibpath_overrides_runpath=yes
1.15072 - ;;
1.15073 - freebsd3.[01]* | freebsdelf3.[01]*)
1.15074 - shlibpath_overrides_runpath=yes
1.15075 - hardcode_into_libs=yes
1.15076 - ;;
1.15077 - *) # from 3.2 on
1.15078 - shlibpath_overrides_runpath=no
1.15079 - hardcode_into_libs=yes
1.15080 - ;;
1.15081 - esac
1.15082 - ;;
1.15083 -
1.15084 -gnu*)
1.15085 - version_type=linux
1.15086 - need_lib_prefix=no
1.15087 - need_version=no
1.15088 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.15089 - soname_spec='${libname}${release}${shared_ext}$major'
1.15090 - shlibpath_var=LD_LIBRARY_PATH
1.15091 - hardcode_into_libs=yes
1.15092 - ;;
1.15093 -
1.15094 -hpux9* | hpux10* | hpux11*)
1.15095 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.15096 - # link against other versions.
1.15097 - version_type=sunos
1.15098 - need_lib_prefix=no
1.15099 - need_version=no
1.15100 - case $host_cpu in
1.15101 - ia64*)
1.15102 - shrext_cmds='.so'
1.15103 - hardcode_into_libs=yes
1.15104 - dynamic_linker="$host_os dld.so"
1.15105 - shlibpath_var=LD_LIBRARY_PATH
1.15106 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.15107 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15108 - soname_spec='${libname}${release}${shared_ext}$major'
1.15109 - if test "X$HPUX_IA64_MODE" = X32; then
1.15110 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.15111 - else
1.15112 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.15113 - fi
1.15114 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.15115 - ;;
1.15116 - hppa*64*)
1.15117 - shrext_cmds='.sl'
1.15118 - hardcode_into_libs=yes
1.15119 - dynamic_linker="$host_os dld.sl"
1.15120 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.15121 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.15122 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15123 - soname_spec='${libname}${release}${shared_ext}$major'
1.15124 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.15125 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.15126 - ;;
1.15127 - *)
1.15128 - shrext_cmds='.sl'
1.15129 - dynamic_linker="$host_os dld.sl"
1.15130 - shlibpath_var=SHLIB_PATH
1.15131 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.15132 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15133 - soname_spec='${libname}${release}${shared_ext}$major'
1.15134 - ;;
1.15135 - esac
1.15136 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.15137 - postinstall_cmds='chmod 555 $lib'
1.15138 - ;;
1.15139 -
1.15140 -irix5* | irix6* | nonstopux*)
1.15141 - case $host_os in
1.15142 - nonstopux*) version_type=nonstopux ;;
1.15143 - *)
1.15144 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.15145 - version_type=linux
1.15146 - else
1.15147 - version_type=irix
1.15148 - fi ;;
1.15149 - esac
1.15150 - need_lib_prefix=no
1.15151 - need_version=no
1.15152 - soname_spec='${libname}${release}${shared_ext}$major'
1.15153 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.15154 - case $host_os in
1.15155 - irix5* | nonstopux*)
1.15156 - libsuff= shlibsuff=
1.15157 - ;;
1.15158 - *)
1.15159 - case $LD in # libtool.m4 will add one of these switches to LD
1.15160 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.15161 - libsuff= shlibsuff= libmagic=32-bit;;
1.15162 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.15163 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.15164 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.15165 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.15166 - *) libsuff= shlibsuff= libmagic=never-match;;
1.15167 - esac
1.15168 - ;;
1.15169 - esac
1.15170 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.15171 - shlibpath_overrides_runpath=no
1.15172 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.15173 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.15174 - hardcode_into_libs=yes
1.15175 - ;;
1.15176 -
1.15177 -# No shared lib support for Linux oldld, aout, or coff.
1.15178 -linux*oldld* | linux*aout* | linux*coff*)
1.15179 - dynamic_linker=no
1.15180 - ;;
1.15181 -
1.15182 -# This must be Linux ELF.
1.15183 -linux*)
1.15184 - version_type=linux
1.15185 - need_lib_prefix=no
1.15186 - need_version=no
1.15187 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15188 - soname_spec='${libname}${release}${shared_ext}$major'
1.15189 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.15190 - shlibpath_var=LD_LIBRARY_PATH
1.15191 - shlibpath_overrides_runpath=no
1.15192 - # This implies no fast_install, which is unacceptable.
1.15193 - # Some rework will be needed to allow for fast_install
1.15194 - # before this can be enabled.
1.15195 - hardcode_into_libs=yes
1.15196 -
1.15197 - # Append ld.so.conf contents to the search path
1.15198 - if test -f /etc/ld.so.conf; then
1.15199 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1.15200 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.15201 - fi
1.15202 -
1.15203 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.15204 - # powerpc, because MkLinux only supported shared libraries with the
1.15205 - # GNU dynamic linker. Since this was broken with cross compilers,
1.15206 - # most powerpc-linux boxes support dynamic linking these days and
1.15207 - # people can always --disable-shared, the test was removed, and we
1.15208 - # assume the GNU/Linux dynamic linker is in use.
1.15209 - dynamic_linker='GNU/Linux ld.so'
1.15210 - ;;
1.15211 -
1.15212 -knetbsd*-gnu)
1.15213 - version_type=linux
1.15214 - need_lib_prefix=no
1.15215 - need_version=no
1.15216 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15217 - soname_spec='${libname}${release}${shared_ext}$major'
1.15218 - shlibpath_var=LD_LIBRARY_PATH
1.15219 - shlibpath_overrides_runpath=no
1.15220 - hardcode_into_libs=yes
1.15221 - dynamic_linker='GNU ld.so'
1.15222 - ;;
1.15223 -
1.15224 -netbsd*)
1.15225 - version_type=sunos
1.15226 - need_lib_prefix=no
1.15227 - need_version=no
1.15228 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.15229 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15230 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.15231 - dynamic_linker='NetBSD (a.out) ld.so'
1.15232 - else
1.15233 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.15234 - soname_spec='${libname}${release}${shared_ext}$major'
1.15235 - dynamic_linker='NetBSD ld.elf_so'
1.15236 - fi
1.15237 - shlibpath_var=LD_LIBRARY_PATH
1.15238 - shlibpath_overrides_runpath=yes
1.15239 - hardcode_into_libs=yes
1.15240 - ;;
1.15241 -
1.15242 -newsos6)
1.15243 - version_type=linux
1.15244 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15245 - shlibpath_var=LD_LIBRARY_PATH
1.15246 - shlibpath_overrides_runpath=yes
1.15247 - ;;
1.15248 -
1.15249 -nto-qnx*)
1.15250 - version_type=linux
1.15251 - need_lib_prefix=no
1.15252 - need_version=no
1.15253 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15254 - soname_spec='${libname}${release}${shared_ext}$major'
1.15255 - shlibpath_var=LD_LIBRARY_PATH
1.15256 - shlibpath_overrides_runpath=yes
1.15257 - ;;
1.15258 -
1.15259 -openbsd*)
1.15260 - version_type=sunos
1.15261 - need_lib_prefix=no
1.15262 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1.15263 - case $host_os in
1.15264 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1.15265 - *) need_version=no ;;
1.15266 - esac
1.15267 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15268 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.15269 - shlibpath_var=LD_LIBRARY_PATH
1.15270 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.15271 - case $host_os in
1.15272 - openbsd2.[89] | openbsd2.[89].*)
1.15273 - shlibpath_overrides_runpath=no
1.15274 - ;;
1.15275 - *)
1.15276 - shlibpath_overrides_runpath=yes
1.15277 - ;;
1.15278 - esac
1.15279 - else
1.15280 - shlibpath_overrides_runpath=yes
1.15281 - fi
1.15282 - ;;
1.15283 -
1.15284 -os2*)
1.15285 - libname_spec='$name'
1.15286 - shrext_cmds=".dll"
1.15287 - need_lib_prefix=no
1.15288 - library_names_spec='$libname${shared_ext} $libname.a'
1.15289 - dynamic_linker='OS/2 ld.exe'
1.15290 - shlibpath_var=LIBPATH
1.15291 - ;;
1.15292 -
1.15293 -osf3* | osf4* | osf5*)
1.15294 - version_type=osf
1.15295 - need_lib_prefix=no
1.15296 - need_version=no
1.15297 - soname_spec='${libname}${release}${shared_ext}$major'
1.15298 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15299 - shlibpath_var=LD_LIBRARY_PATH
1.15300 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.15301 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.15302 - ;;
1.15303 -
1.15304 -sco3.2v5*)
1.15305 - version_type=osf
1.15306 - soname_spec='${libname}${release}${shared_ext}$major'
1.15307 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15308 - shlibpath_var=LD_LIBRARY_PATH
1.15309 - ;;
1.15310 -
1.15311 -solaris*)
1.15312 - version_type=linux
1.15313 - need_lib_prefix=no
1.15314 - need_version=no
1.15315 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15316 - soname_spec='${libname}${release}${shared_ext}$major'
1.15317 - shlibpath_var=LD_LIBRARY_PATH
1.15318 - shlibpath_overrides_runpath=yes
1.15319 - hardcode_into_libs=yes
1.15320 - # ldd complains unless libraries are executable
1.15321 - postinstall_cmds='chmod +x $lib'
1.15322 - ;;
1.15323 -
1.15324 -sunos4*)
1.15325 - version_type=sunos
1.15326 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.15327 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.15328 - shlibpath_var=LD_LIBRARY_PATH
1.15329 - shlibpath_overrides_runpath=yes
1.15330 - if test "$with_gnu_ld" = yes; then
1.15331 - need_lib_prefix=no
1.15332 - fi
1.15333 - need_version=yes
1.15334 - ;;
1.15335 -
1.15336 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.15337 - version_type=linux
1.15338 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15339 - soname_spec='${libname}${release}${shared_ext}$major'
1.15340 - shlibpath_var=LD_LIBRARY_PATH
1.15341 - case $host_vendor in
1.15342 - sni)
1.15343 - shlibpath_overrides_runpath=no
1.15344 - need_lib_prefix=no
1.15345 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.15346 - runpath_var=LD_RUN_PATH
1.15347 - ;;
1.15348 - siemens)
1.15349 - need_lib_prefix=no
1.15350 - ;;
1.15351 - motorola)
1.15352 - need_lib_prefix=no
1.15353 - need_version=no
1.15354 - shlibpath_overrides_runpath=no
1.15355 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.15356 - ;;
1.15357 - esac
1.15358 - ;;
1.15359 -
1.15360 -sysv4*MP*)
1.15361 - if test -d /usr/nec ;then
1.15362 - version_type=linux
1.15363 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.15364 - soname_spec='$libname${shared_ext}.$major'
1.15365 - shlibpath_var=LD_LIBRARY_PATH
1.15366 - fi
1.15367 - ;;
1.15368 -
1.15369 -uts4*)
1.15370 - version_type=linux
1.15371 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.15372 - soname_spec='${libname}${release}${shared_ext}$major'
1.15373 - shlibpath_var=LD_LIBRARY_PATH
1.15374 - ;;
1.15375 -
1.15376 -*)
1.15377 - dynamic_linker=no
1.15378 - ;;
1.15379 -esac
1.15380 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.15381 -echo "${ECHO_T}$dynamic_linker" >&6
1.15382 -test "$dynamic_linker" = no && can_build_shared=no
1.15383 -
1.15384 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.15385 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1.15386 -hardcode_action_F77=
1.15387 -if test -n "$hardcode_libdir_flag_spec_F77" || \
1.15388 - test -n "$runpath_var_F77" || \
1.15389 - test "X$hardcode_automatic_F77" = "Xyes" ; then
1.15390 -
1.15391 - # We can hardcode non-existant directories.
1.15392 - if test "$hardcode_direct_F77" != no &&
1.15393 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.15394 - # have to relink, otherwise we might link with an installed library
1.15395 - # when we should be linking with a yet-to-be-installed one
1.15396 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
1.15397 - test "$hardcode_minus_L_F77" != no; then
1.15398 - # Linking always hardcodes the temporary library directory.
1.15399 - hardcode_action_F77=relink
1.15400 - else
1.15401 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.15402 - hardcode_action_F77=immediate
1.15403 - fi
1.15404 -else
1.15405 - # We cannot hardcode anything, or else we can only hardcode existing
1.15406 - # directories.
1.15407 - hardcode_action_F77=unsupported
1.15408 -fi
1.15409 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
1.15410 -echo "${ECHO_T}$hardcode_action_F77" >&6
1.15411 -
1.15412 -if test "$hardcode_action_F77" = relink; then
1.15413 - # Fast installation is not supported
1.15414 - enable_fast_install=no
1.15415 -elif test "$shlibpath_overrides_runpath" = yes ||
1.15416 - test "$enable_shared" = no; then
1.15417 - # Fast installation is not necessary
1.15418 - enable_fast_install=needless
1.15419 -fi
1.15420 -
1.15421 -striplib=
1.15422 -old_striplib=
1.15423 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.15424 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
1.15425 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.15426 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.15427 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.15428 - echo "$as_me:$LINENO: result: yes" >&5
1.15429 -echo "${ECHO_T}yes" >&6
1.15430 -else
1.15431 -# FIXME - insert some real tests, host_os isn't really good enough
1.15432 - case $host_os in
1.15433 - darwin*)
1.15434 - if test -n "$STRIP" ; then
1.15435 - striplib="$STRIP -x"
1.15436 - echo "$as_me:$LINENO: result: yes" >&5
1.15437 -echo "${ECHO_T}yes" >&6
1.15438 - else
1.15439 - echo "$as_me:$LINENO: result: no" >&5
1.15440 -echo "${ECHO_T}no" >&6
1.15441 -fi
1.15442 - ;;
1.15443 - *)
1.15444 - echo "$as_me:$LINENO: result: no" >&5
1.15445 -echo "${ECHO_T}no" >&6
1.15446 - ;;
1.15447 - esac
1.15448 -fi
1.15449 -
1.15450 -
1.15451 -
1.15452 -# The else clause should only fire when bootstrapping the
1.15453 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.15454 -# with your package, and you will get complaints that there are
1.15455 -# no rules to generate ltmain.sh.
1.15456 -if test -f "$ltmain"; then
1.15457 - # See if we are running on zsh, and set the options which allow our commands through
1.15458 - # without removal of \ escapes.
1.15459 - if test -n "${ZSH_VERSION+set}" ; then
1.15460 - setopt NO_GLOB_SUBST
1.15461 - fi
1.15462 - # Now quote all the things that may contain metacharacters while being
1.15463 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.15464 - # variables and quote the copies for generation of the libtool script.
1.15465 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.15466 - SED SHELL STRIP \
1.15467 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.15468 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.15469 - deplibs_check_method reload_flag reload_cmds need_locks \
1.15470 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.15471 - lt_cv_sys_global_symbol_to_c_name_address \
1.15472 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.15473 - old_postinstall_cmds old_postuninstall_cmds \
1.15474 - compiler_F77 \
1.15475 - CC_F77 \
1.15476 - LD_F77 \
1.15477 - lt_prog_compiler_wl_F77 \
1.15478 - lt_prog_compiler_pic_F77 \
1.15479 - lt_prog_compiler_static_F77 \
1.15480 - lt_prog_compiler_no_builtin_flag_F77 \
1.15481 - export_dynamic_flag_spec_F77 \
1.15482 - thread_safe_flag_spec_F77 \
1.15483 - whole_archive_flag_spec_F77 \
1.15484 - enable_shared_with_static_runtimes_F77 \
1.15485 - old_archive_cmds_F77 \
1.15486 - old_archive_from_new_cmds_F77 \
1.15487 - predep_objects_F77 \
1.15488 - postdep_objects_F77 \
1.15489 - predeps_F77 \
1.15490 - postdeps_F77 \
1.15491 - compiler_lib_search_path_F77 \
1.15492 - archive_cmds_F77 \
1.15493 - archive_expsym_cmds_F77 \
1.15494 - postinstall_cmds_F77 \
1.15495 - postuninstall_cmds_F77 \
1.15496 - old_archive_from_expsyms_cmds_F77 \
1.15497 - allow_undefined_flag_F77 \
1.15498 - no_undefined_flag_F77 \
1.15499 - export_symbols_cmds_F77 \
1.15500 - hardcode_libdir_flag_spec_F77 \
1.15501 - hardcode_libdir_flag_spec_ld_F77 \
1.15502 - hardcode_libdir_separator_F77 \
1.15503 - hardcode_automatic_F77 \
1.15504 - module_cmds_F77 \
1.15505 - module_expsym_cmds_F77 \
1.15506 - lt_cv_prog_compiler_c_o_F77 \
1.15507 - exclude_expsyms_F77 \
1.15508 - include_expsyms_F77; do
1.15509 -
1.15510 - case $var in
1.15511 - old_archive_cmds_F77 | \
1.15512 - old_archive_from_new_cmds_F77 | \
1.15513 - archive_cmds_F77 | \
1.15514 - archive_expsym_cmds_F77 | \
1.15515 - module_cmds_F77 | \
1.15516 - module_expsym_cmds_F77 | \
1.15517 - old_archive_from_expsyms_cmds_F77 | \
1.15518 - export_symbols_cmds_F77 | \
1.15519 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.15520 - postinstall_cmds | postuninstall_cmds | \
1.15521 - old_postinstall_cmds | old_postuninstall_cmds | \
1.15522 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.15523 - # Double-quote double-evaled strings.
1.15524 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.15525 - ;;
1.15526 - *)
1.15527 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.15528 - ;;
1.15529 - esac
1.15530 - done
1.15531 -
1.15532 - case $lt_echo in
1.15533 - *'\$0 --fallback-echo"')
1.15534 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.15535 - ;;
1.15536 - esac
1.15537 -
1.15538 -cfgfile="$ofile"
1.15539 -
1.15540 - cat <<__EOF__ >> "$cfgfile"
1.15541 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.15542 -
1.15543 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.15544 -
1.15545 -# Shell to use when invoking shell scripts.
1.15546 -SHELL=$lt_SHELL
1.15547 -
1.15548 -# Whether or not to build shared libraries.
1.15549 -build_libtool_libs=$enable_shared
1.15550 -
1.15551 -# Whether or not to build static libraries.
1.15552 -build_old_libs=$enable_static
1.15553 -
1.15554 -# Whether or not to add -lc for building shared libraries.
1.15555 -build_libtool_need_lc=$archive_cmds_need_lc_F77
1.15556 -
1.15557 -# Whether or not to disallow shared libs when runtime libs are static
1.15558 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
1.15559 -
1.15560 -# Whether or not to optimize for fast installation.
1.15561 -fast_install=$enable_fast_install
1.15562 -
1.15563 -# The host system.
1.15564 -host_alias=$host_alias
1.15565 -host=$host
1.15566 -host_os=$host_os
1.15567 -
1.15568 -# The build system.
1.15569 -build_alias=$build_alias
1.15570 -build=$build
1.15571 -build_os=$build_os
1.15572 -
1.15573 -# An echo program that does not interpret backslashes.
1.15574 -echo=$lt_echo
1.15575 -
1.15576 -# The archiver.
1.15577 -AR=$lt_AR
1.15578 -AR_FLAGS=$lt_AR_FLAGS
1.15579 -
1.15580 -# A C compiler.
1.15581 -LTCC=$lt_LTCC
1.15582 -
1.15583 -# A language-specific compiler.
1.15584 -CC=$lt_compiler_F77
1.15585 -
1.15586 -# Is the compiler the GNU C compiler?
1.15587 -with_gcc=$GCC_F77
1.15588 -
1.15589 -# An ERE matcher.
1.15590 -EGREP=$lt_EGREP
1.15591 -
1.15592 -# The linker used to build libraries.
1.15593 -LD=$lt_LD_F77
1.15594 -
1.15595 -# Whether we need hard or soft links.
1.15596 -LN_S=$lt_LN_S
1.15597 -
1.15598 -# A BSD-compatible nm program.
1.15599 -NM=$lt_NM
1.15600 -
1.15601 -# A symbol stripping program
1.15602 -STRIP=$lt_STRIP
1.15603 -
1.15604 -# Used to examine libraries when file_magic_cmd begins "file"
1.15605 -MAGIC_CMD=$MAGIC_CMD
1.15606 -
1.15607 -# Used on cygwin: DLL creation program.
1.15608 -DLLTOOL="$DLLTOOL"
1.15609 -
1.15610 -# Used on cygwin: object dumper.
1.15611 -OBJDUMP="$OBJDUMP"
1.15612 -
1.15613 -# Used on cygwin: assembler.
1.15614 -AS="$AS"
1.15615 -
1.15616 -# The name of the directory that contains temporary libtool files.
1.15617 -objdir=$objdir
1.15618 -
1.15619 -# How to create reloadable object files.
1.15620 -reload_flag=$lt_reload_flag
1.15621 -reload_cmds=$lt_reload_cmds
1.15622 -
1.15623 -# How to pass a linker flag through the compiler.
1.15624 -wl=$lt_lt_prog_compiler_wl_F77
1.15625 -
1.15626 -# Object file suffix (normally "o").
1.15627 -objext="$ac_objext"
1.15628 -
1.15629 -# Old archive suffix (normally "a").
1.15630 -libext="$libext"
1.15631 -
1.15632 -# Shared library suffix (normally ".so").
1.15633 -shrext_cmds='$shrext_cmds'
1.15634 -
1.15635 -# Executable file suffix (normally "").
1.15636 -exeext="$exeext"
1.15637 -
1.15638 -# Additional compiler flags for building library objects.
1.15639 -pic_flag=$lt_lt_prog_compiler_pic_F77
1.15640 -pic_mode=$pic_mode
1.15641 -
1.15642 -# What is the maximum length of a command?
1.15643 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.15644 -
1.15645 -# Does compiler simultaneously support -c and -o options?
1.15646 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
1.15647 -
1.15648 -# Must we lock files when doing compilation?
1.15649 -need_locks=$lt_need_locks
1.15650 -
1.15651 -# Do we need the lib prefix for modules?
1.15652 -need_lib_prefix=$need_lib_prefix
1.15653 -
1.15654 -# Do we need a version for libraries?
1.15655 -need_version=$need_version
1.15656 -
1.15657 -# Whether dlopen is supported.
1.15658 -dlopen_support=$enable_dlopen
1.15659 -
1.15660 -# Whether dlopen of programs is supported.
1.15661 -dlopen_self=$enable_dlopen_self
1.15662 -
1.15663 -# Whether dlopen of statically linked programs is supported.
1.15664 -dlopen_self_static=$enable_dlopen_self_static
1.15665 -
1.15666 -# Compiler flag to prevent dynamic linking.
1.15667 -link_static_flag=$lt_lt_prog_compiler_static_F77
1.15668 -
1.15669 -# Compiler flag to turn off builtin functions.
1.15670 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
1.15671 -
1.15672 -# Compiler flag to allow reflexive dlopens.
1.15673 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
1.15674 -
1.15675 -# Compiler flag to generate shared objects directly from archives.
1.15676 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
1.15677 -
1.15678 -# Compiler flag to generate thread-safe objects.
1.15679 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
1.15680 -
1.15681 -# Library versioning type.
1.15682 -version_type=$version_type
1.15683 -
1.15684 -# Format of library name prefix.
1.15685 -libname_spec=$lt_libname_spec
1.15686 -
1.15687 -# List of archive names. First name is the real one, the rest are links.
1.15688 -# The last name is the one that the linker finds with -lNAME.
1.15689 -library_names_spec=$lt_library_names_spec
1.15690 -
1.15691 -# The coded name of the library, if different from the real name.
1.15692 -soname_spec=$lt_soname_spec
1.15693 -
1.15694 -# Commands used to build and install an old-style archive.
1.15695 -RANLIB=$lt_RANLIB
1.15696 -old_archive_cmds=$lt_old_archive_cmds_F77
1.15697 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.15698 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.15699 -
1.15700 -# Create an old-style archive from a shared archive.
1.15701 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
1.15702 -
1.15703 -# Create a temporary old-style archive to link instead of a shared archive.
1.15704 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
1.15705 -
1.15706 -# Commands used to build and install a shared archive.
1.15707 -archive_cmds=$lt_archive_cmds_F77
1.15708 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
1.15709 -postinstall_cmds=$lt_postinstall_cmds
1.15710 -postuninstall_cmds=$lt_postuninstall_cmds
1.15711 -
1.15712 -# Commands used to build a loadable module (assumed same as above if empty)
1.15713 -module_cmds=$lt_module_cmds_F77
1.15714 -module_expsym_cmds=$lt_module_expsym_cmds_F77
1.15715 -
1.15716 -# Commands to strip libraries.
1.15717 -old_striplib=$lt_old_striplib
1.15718 -striplib=$lt_striplib
1.15719 -
1.15720 -# Dependencies to place before the objects being linked to create a
1.15721 -# shared library.
1.15722 -predep_objects=$lt_predep_objects_F77
1.15723 -
1.15724 -# Dependencies to place after the objects being linked to create a
1.15725 -# shared library.
1.15726 -postdep_objects=$lt_postdep_objects_F77
1.15727 -
1.15728 -# Dependencies to place before the objects being linked to create a
1.15729 -# shared library.
1.15730 -predeps=$lt_predeps_F77
1.15731 -
1.15732 -# Dependencies to place after the objects being linked to create a
1.15733 -# shared library.
1.15734 -postdeps=$lt_postdeps_F77
1.15735 -
1.15736 -# The library search path used internally by the compiler when linking
1.15737 -# a shared library.
1.15738 -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
1.15739 -
1.15740 -# Method to check whether dependent libraries are shared objects.
1.15741 -deplibs_check_method=$lt_deplibs_check_method
1.15742 -
1.15743 -# Command to use when deplibs_check_method == file_magic.
1.15744 -file_magic_cmd=$lt_file_magic_cmd
1.15745 -
1.15746 -# Flag that allows shared libraries with undefined symbols to be built.
1.15747 -allow_undefined_flag=$lt_allow_undefined_flag_F77
1.15748 -
1.15749 -# Flag that forces no undefined symbols.
1.15750 -no_undefined_flag=$lt_no_undefined_flag_F77
1.15751 -
1.15752 -# Commands used to finish a libtool library installation in a directory.
1.15753 -finish_cmds=$lt_finish_cmds
1.15754 -
1.15755 -# Same as above, but a single script fragment to be evaled but not shown.
1.15756 -finish_eval=$lt_finish_eval
1.15757 -
1.15758 -# Take the output of nm and produce a listing of raw symbols and C names.
1.15759 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.15760 -
1.15761 -# Transform the output of nm in a proper C declaration
1.15762 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.15763 -
1.15764 -# Transform the output of nm in a C name address pair
1.15765 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.15766 -
1.15767 -# This is the shared library runtime path variable.
1.15768 -runpath_var=$runpath_var
1.15769 -
1.15770 -# This is the shared library path variable.
1.15771 -shlibpath_var=$shlibpath_var
1.15772 -
1.15773 -# Is shlibpath searched before the hard-coded library search path?
1.15774 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.15775 -
1.15776 -# How to hardcode a shared library path into an executable.
1.15777 -hardcode_action=$hardcode_action_F77
1.15778 -
1.15779 -# Whether we should hardcode library paths into libraries.
1.15780 -hardcode_into_libs=$hardcode_into_libs
1.15781 -
1.15782 -# Flag to hardcode \$libdir into a binary during linking.
1.15783 -# This must work even if \$libdir does not exist.
1.15784 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
1.15785 -
1.15786 -# If ld is used when linking, flag to hardcode \$libdir into
1.15787 -# a binary during linking. This must work even if \$libdir does
1.15788 -# not exist.
1.15789 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
1.15790 -
1.15791 -# Whether we need a single -rpath flag with a separated argument.
1.15792 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
1.15793 -
1.15794 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.15795 -# resulting binary.
1.15796 -hardcode_direct=$hardcode_direct_F77
1.15797 -
1.15798 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.15799 -# resulting binary.
1.15800 -hardcode_minus_L=$hardcode_minus_L_F77
1.15801 -
1.15802 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.15803 -# the resulting binary.
1.15804 -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
1.15805 -
1.15806 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.15807 -# and all subsequent libraries and executables linked against it.
1.15808 -hardcode_automatic=$hardcode_automatic_F77
1.15809 -
1.15810 -# Variables whose values should be saved in libtool wrapper scripts and
1.15811 -# restored at relink time.
1.15812 -variables_saved_for_relink="$variables_saved_for_relink"
1.15813 -
1.15814 -# Whether libtool must link a program against all its dependency libraries.
1.15815 -link_all_deplibs=$link_all_deplibs_F77
1.15816 -
1.15817 -# Compile-time system search path for libraries
1.15818 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.15819 -
1.15820 -# Run-time system search path for libraries
1.15821 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.15822 -
1.15823 -# Fix the shell variable \$srcfile for the compiler.
1.15824 -fix_srcfile_path="$fix_srcfile_path_F77"
1.15825 -
1.15826 -# Set to yes if exported symbols are required.
1.15827 -always_export_symbols=$always_export_symbols_F77
1.15828 -
1.15829 -# The commands to list exported symbols.
1.15830 -export_symbols_cmds=$lt_export_symbols_cmds_F77
1.15831 -
1.15832 -# The commands to extract the exported symbol list from a shared archive.
1.15833 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.15834 -
1.15835 -# Symbols that should not be listed in the preloaded symbols.
1.15836 -exclude_expsyms=$lt_exclude_expsyms_F77
1.15837 -
1.15838 -# Symbols that must always be exported.
1.15839 -include_expsyms=$lt_include_expsyms_F77
1.15840 -
1.15841 -# ### END LIBTOOL TAG CONFIG: $tagname
1.15842 -
1.15843 -__EOF__
1.15844 -
1.15845 -
1.15846 -else
1.15847 - # If there is no Makefile yet, we rely on a make rule to execute
1.15848 - # `config.status --recheck' to rerun these tests and create the
1.15849 - # libtool script then.
1.15850 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.15851 - if test -f "$ltmain_in"; then
1.15852 - test -f Makefile && make "$ltmain"
1.15853 - fi
1.15854 -fi
1.15855 -
1.15856 -
1.15857 -ac_ext=c
1.15858 -ac_cpp='$CPP $CPPFLAGS'
1.15859 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.15860 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.15861 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.15862 -
1.15863 -CC="$lt_save_CC"
1.15864 -
1.15865 - else
1.15866 - tagname=""
1.15867 - fi
1.15868 - ;;
1.15869 -
1.15870 - GCJ)
1.15871 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1.15872 -
1.15873 -
1.15874 -
1.15875 -# Source file extension for Java test sources.
1.15876 -ac_ext=java
1.15877 -
1.15878 -# Object file extension for compiled Java test sources.
1.15879 -objext=o
1.15880 -objext_GCJ=$objext
1.15881 -
1.15882 -# Code to be used in simple compile tests
1.15883 -lt_simple_compile_test_code="class foo {}\n"
1.15884 -
1.15885 -# Code to be used in simple link tests
1.15886 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
1.15887 -
1.15888 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.15889 -
1.15890 -# If no C compiler was specified, use CC.
1.15891 -LTCC=${LTCC-"$CC"}
1.15892 -
1.15893 -# Allow CC to be a program name with arguments.
1.15894 -compiler=$CC
1.15895 -
1.15896 -
1.15897 -# save warnings/boilerplate of simple test code
1.15898 -ac_outfile=conftest.$ac_objext
1.15899 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1.15900 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.15901 -_lt_compiler_boilerplate=`cat conftest.err`
1.15902 -$rm conftest*
1.15903 -
1.15904 -ac_outfile=conftest.$ac_objext
1.15905 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
1.15906 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.15907 -_lt_linker_boilerplate=`cat conftest.err`
1.15908 -$rm conftest*
1.15909 -
1.15910 -
1.15911 -# Allow CC to be a program name with arguments.
1.15912 -lt_save_CC="$CC"
1.15913 -CC=${GCJ-"gcj"}
1.15914 -compiler=$CC
1.15915 -compiler_GCJ=$CC
1.15916 -for cc_temp in $compiler""; do
1.15917 - case $cc_temp in
1.15918 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.15919 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.15920 - \-*) ;;
1.15921 - *) break;;
1.15922 - esac
1.15923 -done
1.15924 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.15925 -
1.15926 -
1.15927 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
1.15928 -archive_cmds_need_lc_GCJ=no
1.15929 -
1.15930 -old_archive_cmds_GCJ=$old_archive_cmds
1.15931 -
1.15932 -## CAVEAT EMPTOR:
1.15933 -## There is no encapsulation within the following macros, do not change
1.15934 -## the running order or otherwise move them around unless you know exactly
1.15935 -## what you are doing...
1.15936 -
1.15937 -lt_prog_compiler_no_builtin_flag_GCJ=
1.15938 -
1.15939 -if test "$GCC" = yes; then
1.15940 - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1.15941 -
1.15942 -
1.15943 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.15944 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
1.15945 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.15946 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.15947 -else
1.15948 - lt_cv_prog_compiler_rtti_exceptions=no
1.15949 - ac_outfile=conftest.$ac_objext
1.15950 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.15951 - lt_compiler_flag="-fno-rtti -fno-exceptions"
1.15952 - # Insert the option either (1) after the last *FLAGS variable, or
1.15953 - # (2) before a word containing "conftest.", or (3) at the end.
1.15954 - # Note that $ac_compile itself does not contain backslashes and begins
1.15955 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.15956 - # The option is referenced via a variable to avoid confusing sed.
1.15957 - lt_compile=`echo "$ac_compile" | $SED \
1.15958 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.15959 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.15960 - -e 's:$: $lt_compiler_flag:'`
1.15961 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.15962 - (eval "$lt_compile" 2>conftest.err)
1.15963 - ac_status=$?
1.15964 - cat conftest.err >&5
1.15965 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.15966 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.15967 - # The compiler can only warn and ignore the option if not recognized
1.15968 - # So say no if there are warnings other than the usual output.
1.15969 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1.15970 - $SED '/^$/d' conftest.err >conftest.er2
1.15971 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1.15972 - lt_cv_prog_compiler_rtti_exceptions=yes
1.15973 - fi
1.15974 - fi
1.15975 - $rm conftest*
1.15976 -
1.15977 -fi
1.15978 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.15979 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.15980 -
1.15981 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1.15982 - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
1.15983 -else
1.15984 - :
1.15985 -fi
1.15986 -
1.15987 -fi
1.15988 -
1.15989 -lt_prog_compiler_wl_GCJ=
1.15990 -lt_prog_compiler_pic_GCJ=
1.15991 -lt_prog_compiler_static_GCJ=
1.15992 -
1.15993 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
1.15994 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
1.15995 -
1.15996 - if test "$GCC" = yes; then
1.15997 - lt_prog_compiler_wl_GCJ='-Wl,'
1.15998 - lt_prog_compiler_static_GCJ='-static'
1.15999 -
1.16000 - case $host_os in
1.16001 - aix*)
1.16002 - # All AIX code is PIC.
1.16003 - if test "$host_cpu" = ia64; then
1.16004 - # AIX 5 now supports IA64 processor
1.16005 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16006 - fi
1.16007 - ;;
1.16008 -
1.16009 - amigaos*)
1.16010 - # FIXME: we need at least 68020 code to build shared libraries, but
1.16011 - # adding the `-m68020' flag to GCC prevents building anything better,
1.16012 - # like `-m68040'.
1.16013 - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
1.16014 - ;;
1.16015 -
1.16016 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.16017 - # PIC is the default for these OSes.
1.16018 - ;;
1.16019 -
1.16020 - mingw* | pw32* | os2*)
1.16021 - # This hack is so that the source file can tell whether it is being
1.16022 - # built for inclusion in a dll (and should export symbols for example).
1.16023 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1.16024 - ;;
1.16025 -
1.16026 - darwin* | rhapsody*)
1.16027 - # PIC is the default on this platform
1.16028 - # Common symbols not allowed in MH_DYLIB files
1.16029 - lt_prog_compiler_pic_GCJ='-fno-common'
1.16030 - ;;
1.16031 -
1.16032 - msdosdjgpp*)
1.16033 - # Just because we use GCC doesn't mean we suddenly get shared libraries
1.16034 - # on systems that don't support them.
1.16035 - lt_prog_compiler_can_build_shared_GCJ=no
1.16036 - enable_shared=no
1.16037 - ;;
1.16038 -
1.16039 - sysv4*MP*)
1.16040 - if test -d /usr/nec; then
1.16041 - lt_prog_compiler_pic_GCJ=-Kconform_pic
1.16042 - fi
1.16043 - ;;
1.16044 -
1.16045 - hpux*)
1.16046 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.16047 - # not for PA HP-UX.
1.16048 - case $host_cpu in
1.16049 - hppa*64*|ia64*)
1.16050 - # +Z the default
1.16051 - ;;
1.16052 - *)
1.16053 - lt_prog_compiler_pic_GCJ='-fPIC'
1.16054 - ;;
1.16055 - esac
1.16056 - ;;
1.16057 -
1.16058 - *)
1.16059 - lt_prog_compiler_pic_GCJ='-fPIC'
1.16060 - ;;
1.16061 - esac
1.16062 - else
1.16063 - # PORTME Check for flag to pass linker flags through the system compiler.
1.16064 - case $host_os in
1.16065 - aix*)
1.16066 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16067 - if test "$host_cpu" = ia64; then
1.16068 - # AIX 5 now supports IA64 processor
1.16069 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16070 - else
1.16071 - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
1.16072 - fi
1.16073 - ;;
1.16074 - darwin*)
1.16075 - # PIC is the default on this platform
1.16076 - # Common symbols not allowed in MH_DYLIB files
1.16077 - case $cc_basename in
1.16078 - xlc*)
1.16079 - lt_prog_compiler_pic_GCJ='-qnocommon'
1.16080 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16081 - ;;
1.16082 - esac
1.16083 - ;;
1.16084 -
1.16085 - mingw* | pw32* | os2*)
1.16086 - # This hack is so that the source file can tell whether it is being
1.16087 - # built for inclusion in a dll (and should export symbols for example).
1.16088 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1.16089 - ;;
1.16090 -
1.16091 - hpux9* | hpux10* | hpux11*)
1.16092 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16093 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1.16094 - # not for PA HP-UX.
1.16095 - case $host_cpu in
1.16096 - hppa*64*|ia64*)
1.16097 - # +Z the default
1.16098 - ;;
1.16099 - *)
1.16100 - lt_prog_compiler_pic_GCJ='+Z'
1.16101 - ;;
1.16102 - esac
1.16103 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.16104 - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
1.16105 - ;;
1.16106 -
1.16107 - irix5* | irix6* | nonstopux*)
1.16108 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16109 - # PIC (with -KPIC) is the default.
1.16110 - lt_prog_compiler_static_GCJ='-non_shared'
1.16111 - ;;
1.16112 -
1.16113 - newsos6)
1.16114 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16115 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16116 - ;;
1.16117 -
1.16118 - linux*)
1.16119 - case $cc_basename in
1.16120 - icc* | ecc*)
1.16121 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16122 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16123 - lt_prog_compiler_static_GCJ='-static'
1.16124 - ;;
1.16125 - pgcc* | pgf77* | pgf90* | pgf95*)
1.16126 - # Portland Group compilers (*not* the Pentium gcc compiler,
1.16127 - # which looks to be a dead project)
1.16128 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16129 - lt_prog_compiler_pic_GCJ='-fpic'
1.16130 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16131 - ;;
1.16132 - ccc*)
1.16133 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16134 - # All Alpha code is PIC.
1.16135 - lt_prog_compiler_static_GCJ='-non_shared'
1.16136 - ;;
1.16137 - esac
1.16138 - ;;
1.16139 -
1.16140 - osf3* | osf4* | osf5*)
1.16141 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16142 - # All OSF/1 code is PIC.
1.16143 - lt_prog_compiler_static_GCJ='-non_shared'
1.16144 - ;;
1.16145 -
1.16146 - sco3.2v5*)
1.16147 - lt_prog_compiler_pic_GCJ='-Kpic'
1.16148 - lt_prog_compiler_static_GCJ='-dn'
1.16149 - ;;
1.16150 -
1.16151 - solaris*)
1.16152 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16153 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16154 - case $cc_basename in
1.16155 - f77* | f90* | f95*)
1.16156 - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
1.16157 - *)
1.16158 - lt_prog_compiler_wl_GCJ='-Wl,';;
1.16159 - esac
1.16160 - ;;
1.16161 -
1.16162 - sunos4*)
1.16163 - lt_prog_compiler_wl_GCJ='-Qoption ld '
1.16164 - lt_prog_compiler_pic_GCJ='-PIC'
1.16165 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16166 - ;;
1.16167 -
1.16168 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.16169 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16170 - lt_prog_compiler_pic_GCJ='-KPIC'
1.16171 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16172 - ;;
1.16173 -
1.16174 - sysv4*MP*)
1.16175 - if test -d /usr/nec ;then
1.16176 - lt_prog_compiler_pic_GCJ='-Kconform_pic'
1.16177 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16178 - fi
1.16179 - ;;
1.16180 -
1.16181 - unicos*)
1.16182 - lt_prog_compiler_wl_GCJ='-Wl,'
1.16183 - lt_prog_compiler_can_build_shared_GCJ=no
1.16184 - ;;
1.16185 -
1.16186 - uts4*)
1.16187 - lt_prog_compiler_pic_GCJ='-pic'
1.16188 - lt_prog_compiler_static_GCJ='-Bstatic'
1.16189 - ;;
1.16190 -
1.16191 - *)
1.16192 - lt_prog_compiler_can_build_shared_GCJ=no
1.16193 - ;;
1.16194 - esac
1.16195 - fi
1.16196 -
1.16197 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
1.16198 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
1.16199 -
1.16200 -#
1.16201 -# Check to make sure the PIC flag actually works.
1.16202 -#
1.16203 -if test -n "$lt_prog_compiler_pic_GCJ"; then
1.16204 -
1.16205 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
1.16206 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
1.16207 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
1.16208 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16209 -else
1.16210 - lt_prog_compiler_pic_works_GCJ=no
1.16211 - ac_outfile=conftest.$ac_objext
1.16212 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16213 - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
1.16214 - # Insert the option either (1) after the last *FLAGS variable, or
1.16215 - # (2) before a word containing "conftest.", or (3) at the end.
1.16216 - # Note that $ac_compile itself does not contain backslashes and begins
1.16217 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16218 - # The option is referenced via a variable to avoid confusing sed.
1.16219 - lt_compile=`echo "$ac_compile" | $SED \
1.16220 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.16221 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16222 - -e 's:$: $lt_compiler_flag:'`
1.16223 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16224 - (eval "$lt_compile" 2>conftest.err)
1.16225 - ac_status=$?
1.16226 - cat conftest.err >&5
1.16227 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16228 - if (exit $ac_status) && test -s "$ac_outfile"; then
1.16229 - # The compiler can only warn and ignore the option if not recognized
1.16230 - # So say no if there are warnings other than the usual output.
1.16231 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1.16232 - $SED '/^$/d' conftest.err >conftest.er2
1.16233 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1.16234 - lt_prog_compiler_pic_works_GCJ=yes
1.16235 - fi
1.16236 - fi
1.16237 - $rm conftest*
1.16238 -
1.16239 -fi
1.16240 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
1.16241 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
1.16242 -
1.16243 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1.16244 - case $lt_prog_compiler_pic_GCJ in
1.16245 - "" | " "*) ;;
1.16246 - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
1.16247 - esac
1.16248 -else
1.16249 - lt_prog_compiler_pic_GCJ=
1.16250 - lt_prog_compiler_can_build_shared_GCJ=no
1.16251 -fi
1.16252 -
1.16253 -fi
1.16254 -case $host_os in
1.16255 - # For platforms which do not support PIC, -DPIC is meaningless:
1.16256 - *djgpp*)
1.16257 - lt_prog_compiler_pic_GCJ=
1.16258 - ;;
1.16259 - *)
1.16260 - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
1.16261 - ;;
1.16262 -esac
1.16263 -
1.16264 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1.16265 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
1.16266 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
1.16267 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.16268 -else
1.16269 - lt_cv_prog_compiler_c_o_GCJ=no
1.16270 - $rm -r conftest 2>/dev/null
1.16271 - mkdir conftest
1.16272 - cd conftest
1.16273 - mkdir out
1.16274 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.16275 -
1.16276 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1.16277 - # Insert the option either (1) after the last *FLAGS variable, or
1.16278 - # (2) before a word containing "conftest.", or (3) at the end.
1.16279 - # Note that $ac_compile itself does not contain backslashes and begins
1.16280 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1.16281 - lt_compile=`echo "$ac_compile" | $SED \
1.16282 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.16283 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1.16284 - -e 's:$: $lt_compiler_flag:'`
1.16285 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
1.16286 - (eval "$lt_compile" 2>out/conftest.err)
1.16287 - ac_status=$?
1.16288 - cat out/conftest.err >&5
1.16289 - echo "$as_me:__oline__: \$? = $ac_status" >&5
1.16290 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1.16291 - then
1.16292 - # The compiler can only warn and ignore the option if not recognized
1.16293 - # So say no if there are warnings
1.16294 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
1.16295 - $SED '/^$/d' out/conftest.err >out/conftest.er2
1.16296 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1.16297 - lt_cv_prog_compiler_c_o_GCJ=yes
1.16298 - fi
1.16299 - fi
1.16300 - chmod u+w . 2>&5
1.16301 - $rm conftest*
1.16302 - # SGI C++ compiler will create directory out/ii_files/ for
1.16303 - # template instantiation
1.16304 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1.16305 - $rm out/* && rmdir out
1.16306 - cd ..
1.16307 - rmdir conftest
1.16308 - $rm conftest*
1.16309 -
1.16310 -fi
1.16311 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
1.16312 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
1.16313 -
1.16314 -
1.16315 -hard_links="nottested"
1.16316 -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1.16317 - # do not overwrite the value of need_locks provided by the user
1.16318 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
1.16319 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
1.16320 - hard_links=yes
1.16321 - $rm conftest*
1.16322 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.16323 - touch conftest.a
1.16324 - ln conftest.a conftest.b 2>&5 || hard_links=no
1.16325 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.16326 - echo "$as_me:$LINENO: result: $hard_links" >&5
1.16327 -echo "${ECHO_T}$hard_links" >&6
1.16328 - if test "$hard_links" = no; then
1.16329 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.16330 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.16331 - need_locks=warn
1.16332 - fi
1.16333 -else
1.16334 - need_locks=no
1.16335 -fi
1.16336 -
1.16337 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.16338 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.16339 -
1.16340 - runpath_var=
1.16341 - allow_undefined_flag_GCJ=
1.16342 - enable_shared_with_static_runtimes_GCJ=no
1.16343 - archive_cmds_GCJ=
1.16344 - archive_expsym_cmds_GCJ=
1.16345 - old_archive_From_new_cmds_GCJ=
1.16346 - old_archive_from_expsyms_cmds_GCJ=
1.16347 - export_dynamic_flag_spec_GCJ=
1.16348 - whole_archive_flag_spec_GCJ=
1.16349 - thread_safe_flag_spec_GCJ=
1.16350 - hardcode_libdir_flag_spec_GCJ=
1.16351 - hardcode_libdir_flag_spec_ld_GCJ=
1.16352 - hardcode_libdir_separator_GCJ=
1.16353 - hardcode_direct_GCJ=no
1.16354 - hardcode_minus_L_GCJ=no
1.16355 - hardcode_shlibpath_var_GCJ=unsupported
1.16356 - link_all_deplibs_GCJ=unknown
1.16357 - hardcode_automatic_GCJ=no
1.16358 - module_cmds_GCJ=
1.16359 - module_expsym_cmds_GCJ=
1.16360 - always_export_symbols_GCJ=no
1.16361 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1.16362 - # include_expsyms should be a list of space-separated symbols to be *always*
1.16363 - # included in the symbol list
1.16364 - include_expsyms_GCJ=
1.16365 - # exclude_expsyms can be an extended regexp of symbols to exclude
1.16366 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
1.16367 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1.16368 - # as well as any symbol that contains `d'.
1.16369 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
1.16370 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1.16371 - # platforms (ab)use it in PIC code, but their linkers get confused if
1.16372 - # the symbol is explicitly referenced. Since portable code cannot
1.16373 - # rely on this symbol name, it's probably fine to never include it in
1.16374 - # preloaded symbol tables.
1.16375 - extract_expsyms_cmds=
1.16376 - # Just being paranoid about ensuring that cc_basename is set.
1.16377 - for cc_temp in $compiler""; do
1.16378 - case $cc_temp in
1.16379 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.16380 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.16381 - \-*) ;;
1.16382 - *) break;;
1.16383 - esac
1.16384 -done
1.16385 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.16386 -
1.16387 - case $host_os in
1.16388 - cygwin* | mingw* | pw32*)
1.16389 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
1.16390 - # When not using gcc, we currently assume that we are using
1.16391 - # Microsoft Visual C++.
1.16392 - if test "$GCC" != yes; then
1.16393 - with_gnu_ld=no
1.16394 - fi
1.16395 - ;;
1.16396 - openbsd*)
1.16397 - with_gnu_ld=no
1.16398 - ;;
1.16399 - esac
1.16400 -
1.16401 - ld_shlibs_GCJ=yes
1.16402 - if test "$with_gnu_ld" = yes; then
1.16403 - # If archive_cmds runs LD, not CC, wlarc should be empty
1.16404 - wlarc='${wl}'
1.16405 -
1.16406 - # Set some defaults for GNU ld with shared library support. These
1.16407 - # are reset later if shared libraries are not supported. Putting them
1.16408 - # here allows them to be overridden if necessary.
1.16409 - runpath_var=LD_RUN_PATH
1.16410 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
1.16411 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
1.16412 - # ancient GNU ld didn't support --whole-archive et. al.
1.16413 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
1.16414 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1.16415 - else
1.16416 - whole_archive_flag_spec_GCJ=
1.16417 - fi
1.16418 - supports_anon_versioning=no
1.16419 - case `$LD -v 2>/dev/null` in
1.16420 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1.16421 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1.16422 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
1.16423 - *\ 2.11.*) ;; # other 2.11 versions
1.16424 - *) supports_anon_versioning=yes ;;
1.16425 - esac
1.16426 -
1.16427 - # See if GNU ld supports shared libraries.
1.16428 - case $host_os in
1.16429 - aix3* | aix4* | aix5*)
1.16430 - # On AIX/PPC, the GNU linker is very broken
1.16431 - if test "$host_cpu" != ia64; then
1.16432 - ld_shlibs_GCJ=no
1.16433 - cat <<EOF 1>&2
1.16434 -
1.16435 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
1.16436 -*** to be unable to reliably create shared libraries on AIX.
1.16437 -*** Therefore, libtool is disabling shared libraries support. If you
1.16438 -*** really care for shared libraries, you may want to modify your PATH
1.16439 -*** so that a non-GNU linker is found, and then restart.
1.16440 -
1.16441 -EOF
1.16442 - fi
1.16443 - ;;
1.16444 -
1.16445 - amigaos*)
1.16446 - 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.16447 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16448 - hardcode_minus_L_GCJ=yes
1.16449 -
1.16450 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
1.16451 - # that the semantics of dynamic libraries on AmigaOS, at least up
1.16452 - # to version 4, is to share data among multiple programs linked
1.16453 - # with the same dynamic library. Since this doesn't match the
1.16454 - # behavior of shared libraries on other platforms, we can't use
1.16455 - # them.
1.16456 - ld_shlibs_GCJ=no
1.16457 - ;;
1.16458 -
1.16459 - beos*)
1.16460 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16461 - allow_undefined_flag_GCJ=unsupported
1.16462 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1.16463 - # support --undefined. This deserves some investigation. FIXME
1.16464 - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16465 - else
1.16466 - ld_shlibs_GCJ=no
1.16467 - fi
1.16468 - ;;
1.16469 -
1.16470 - cygwin* | mingw* | pw32*)
1.16471 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
1.16472 - # as there is no search path for DLLs.
1.16473 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16474 - allow_undefined_flag_GCJ=unsupported
1.16475 - always_export_symbols_GCJ=no
1.16476 - enable_shared_with_static_runtimes_GCJ=yes
1.16477 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1.16478 -
1.16479 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1.16480 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.16481 - # If the export-symbols file already is a .def file (1st line
1.16482 - # is EXPORTS), use it as is; otherwise, prepend...
1.16483 - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1.16484 - cp $export_symbols $output_objdir/$soname.def;
1.16485 - else
1.16486 - echo EXPORTS > $output_objdir/$soname.def;
1.16487 - cat $export_symbols >> $output_objdir/$soname.def;
1.16488 - fi~
1.16489 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1.16490 - else
1.16491 - ld_shlibs_GCJ=no
1.16492 - fi
1.16493 - ;;
1.16494 -
1.16495 - linux*)
1.16496 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16497 - tmp_addflag=
1.16498 - case $cc_basename,$host_cpu in
1.16499 - pgcc*) # Portland Group C compiler
1.16500 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
1.16501 - tmp_addflag=' $pic_flag'
1.16502 - ;;
1.16503 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
1.16504 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
1.16505 - tmp_addflag=' $pic_flag -Mnomain' ;;
1.16506 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
1.16507 - tmp_addflag=' -i_dynamic' ;;
1.16508 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
1.16509 - tmp_addflag=' -i_dynamic -nofor_main' ;;
1.16510 - ifc* | ifort*) # Intel Fortran compiler
1.16511 - tmp_addflag=' -nofor_main' ;;
1.16512 - esac
1.16513 - archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16514 -
1.16515 - if test $supports_anon_versioning = yes; then
1.16516 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
1.16517 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1.16518 - $echo "local: *; };" >> $output_objdir/$libname.ver~
1.16519 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1.16520 - fi
1.16521 - else
1.16522 - ld_shlibs_GCJ=no
1.16523 - fi
1.16524 - ;;
1.16525 -
1.16526 - netbsd*)
1.16527 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.16528 - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1.16529 - wlarc=
1.16530 - else
1.16531 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16532 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16533 - fi
1.16534 - ;;
1.16535 -
1.16536 - solaris* | sysv5*)
1.16537 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1.16538 - ld_shlibs_GCJ=no
1.16539 - cat <<EOF 1>&2
1.16540 -
1.16541 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
1.16542 -*** create shared libraries on Solaris systems. Therefore, libtool
1.16543 -*** is disabling shared libraries support. We urge you to upgrade GNU
1.16544 -*** binutils to release 2.9.1 or newer. Another option is to modify
1.16545 -*** your PATH or compiler configuration so that the native linker is
1.16546 -*** used, and then restart.
1.16547 -
1.16548 -EOF
1.16549 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16550 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16551 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16552 - else
1.16553 - ld_shlibs_GCJ=no
1.16554 - fi
1.16555 - ;;
1.16556 -
1.16557 - sunos4*)
1.16558 - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.16559 - wlarc=
1.16560 - hardcode_direct_GCJ=yes
1.16561 - hardcode_shlibpath_var_GCJ=no
1.16562 - ;;
1.16563 -
1.16564 - *)
1.16565 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1.16566 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.16567 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.16568 - else
1.16569 - ld_shlibs_GCJ=no
1.16570 - fi
1.16571 - ;;
1.16572 - esac
1.16573 -
1.16574 - if test "$ld_shlibs_GCJ" = no; then
1.16575 - runpath_var=
1.16576 - hardcode_libdir_flag_spec_GCJ=
1.16577 - export_dynamic_flag_spec_GCJ=
1.16578 - whole_archive_flag_spec_GCJ=
1.16579 - fi
1.16580 - else
1.16581 - # PORTME fill in a description of your system's linker (not GNU ld)
1.16582 - case $host_os in
1.16583 - aix3*)
1.16584 - allow_undefined_flag_GCJ=unsupported
1.16585 - always_export_symbols_GCJ=yes
1.16586 - 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.16587 - # Note: this linker hardcodes the directories in LIBPATH if there
1.16588 - # are no directories specified by -L.
1.16589 - hardcode_minus_L_GCJ=yes
1.16590 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1.16591 - # Neither direct hardcoding nor static linking is supported with a
1.16592 - # broken collect2.
1.16593 - hardcode_direct_GCJ=unsupported
1.16594 - fi
1.16595 - ;;
1.16596 -
1.16597 - aix4* | aix5*)
1.16598 - if test "$host_cpu" = ia64; then
1.16599 - # On IA64, the linker does run time linking by default, so we don't
1.16600 - # have to do anything special.
1.16601 - aix_use_runtimelinking=no
1.16602 - exp_sym_flag='-Bexport'
1.16603 - no_entry_flag=""
1.16604 - else
1.16605 - # If we're using GNU nm, then we don't want the "-C" option.
1.16606 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.16607 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1.16608 - 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.16609 - else
1.16610 - 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.16611 - fi
1.16612 - aix_use_runtimelinking=no
1.16613 -
1.16614 - # Test if we are trying to use run time linking or normal
1.16615 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.16616 - # need to do runtime linking.
1.16617 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1.16618 - for ld_flag in $LDFLAGS; do
1.16619 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1.16620 - aix_use_runtimelinking=yes
1.16621 - break
1.16622 - fi
1.16623 - done
1.16624 - esac
1.16625 -
1.16626 - exp_sym_flag='-bexport'
1.16627 - no_entry_flag='-bnoentry'
1.16628 - fi
1.16629 -
1.16630 - # When large executables or shared objects are built, AIX ld can
1.16631 - # have problems creating the table of contents. If linking a library
1.16632 - # or program results in "error TOC overflow" add -mminimal-toc to
1.16633 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
1.16634 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
1.16635 -
1.16636 - archive_cmds_GCJ=''
1.16637 - hardcode_direct_GCJ=yes
1.16638 - hardcode_libdir_separator_GCJ=':'
1.16639 - link_all_deplibs_GCJ=yes
1.16640 -
1.16641 - if test "$GCC" = yes; then
1.16642 - case $host_os in aix4.[012]|aix4.[012].*)
1.16643 - # We only want to do this on AIX 4.2 and lower, the check
1.16644 - # below for broken collect2 doesn't work under 4.3+
1.16645 - collect2name=`${CC} -print-prog-name=collect2`
1.16646 - if test -f "$collect2name" && \
1.16647 - strings "$collect2name" | grep resolve_lib_name >/dev/null
1.16648 - then
1.16649 - # We have reworked collect2
1.16650 - hardcode_direct_GCJ=yes
1.16651 - else
1.16652 - # We have old collect2
1.16653 - hardcode_direct_GCJ=unsupported
1.16654 - # It fails to find uninstalled libraries when the uninstalled
1.16655 - # path is not listed in the libpath. Setting hardcode_minus_L
1.16656 - # to unsupported forces relinking
1.16657 - hardcode_minus_L_GCJ=yes
1.16658 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16659 - hardcode_libdir_separator_GCJ=
1.16660 - fi
1.16661 - esac
1.16662 - shared_flag='-shared'
1.16663 - if test "$aix_use_runtimelinking" = yes; then
1.16664 - shared_flag="$shared_flag "'${wl}-G'
1.16665 - fi
1.16666 - else
1.16667 - # not using gcc
1.16668 - if test "$host_cpu" = ia64; then
1.16669 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
1.16670 - # chokes on -Wl,-G. The following line is correct:
1.16671 - shared_flag='-G'
1.16672 - else
1.16673 - if test "$aix_use_runtimelinking" = yes; then
1.16674 - shared_flag='${wl}-G'
1.16675 - else
1.16676 - shared_flag='${wl}-bM:SRE'
1.16677 - fi
1.16678 - fi
1.16679 - fi
1.16680 -
1.16681 - # It seems that -bexpall does not export symbols beginning with
1.16682 - # underscore (_), so it is better to generate a list of symbols to export.
1.16683 - always_export_symbols_GCJ=yes
1.16684 - if test "$aix_use_runtimelinking" = yes; then
1.16685 - # Warning - without using the other runtime loading flags (-brtl),
1.16686 - # -berok will link without error, but may produce a broken library.
1.16687 - allow_undefined_flag_GCJ='-berok'
1.16688 - # Determine the default libpath from the value encoded in an empty executable.
1.16689 - cat >conftest.$ac_ext <<_ACEOF
1.16690 -/* confdefs.h. */
1.16691 -_ACEOF
1.16692 -cat confdefs.h >>conftest.$ac_ext
1.16693 -cat >>conftest.$ac_ext <<_ACEOF
1.16694 -/* end confdefs.h. */
1.16695 -
1.16696 -int
1.16697 -main ()
1.16698 -{
1.16699 -
1.16700 - ;
1.16701 - return 0;
1.16702 -}
1.16703 -_ACEOF
1.16704 -rm -f conftest.$ac_objext conftest$ac_exeext
1.16705 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.16706 - (eval $ac_link) 2>conftest.er1
1.16707 - ac_status=$?
1.16708 - grep -v '^ *+' conftest.er1 >conftest.err
1.16709 - rm -f conftest.er1
1.16710 - cat conftest.err >&5
1.16711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16712 - (exit $ac_status); } &&
1.16713 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.16714 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.16715 - (eval $ac_try) 2>&5
1.16716 - ac_status=$?
1.16717 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16718 - (exit $ac_status); }; } &&
1.16719 - { ac_try='test -s conftest$ac_exeext'
1.16720 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.16721 - (eval $ac_try) 2>&5
1.16722 - ac_status=$?
1.16723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16724 - (exit $ac_status); }; }; then
1.16725 -
1.16726 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.16727 -}'`
1.16728 -# Check for a 64-bit object if we didn't find anything.
1.16729 -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.16730 -}'`; fi
1.16731 -else
1.16732 - echo "$as_me: failed program was:" >&5
1.16733 -sed 's/^/| /' conftest.$ac_ext >&5
1.16734 -
1.16735 -fi
1.16736 -rm -f conftest.err conftest.$ac_objext \
1.16737 - conftest$ac_exeext conftest.$ac_ext
1.16738 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.16739 -
1.16740 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1.16741 - 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.16742 - else
1.16743 - if test "$host_cpu" = ia64; then
1.16744 - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
1.16745 - allow_undefined_flag_GCJ="-z nodefs"
1.16746 - 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.16747 - else
1.16748 - # Determine the default libpath from the value encoded in an empty executable.
1.16749 - cat >conftest.$ac_ext <<_ACEOF
1.16750 -/* confdefs.h. */
1.16751 -_ACEOF
1.16752 -cat confdefs.h >>conftest.$ac_ext
1.16753 -cat >>conftest.$ac_ext <<_ACEOF
1.16754 -/* end confdefs.h. */
1.16755 -
1.16756 -int
1.16757 -main ()
1.16758 -{
1.16759 -
1.16760 - ;
1.16761 - return 0;
1.16762 -}
1.16763 -_ACEOF
1.16764 -rm -f conftest.$ac_objext conftest$ac_exeext
1.16765 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.16766 - (eval $ac_link) 2>conftest.er1
1.16767 - ac_status=$?
1.16768 - grep -v '^ *+' conftest.er1 >conftest.err
1.16769 - rm -f conftest.er1
1.16770 - cat conftest.err >&5
1.16771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16772 - (exit $ac_status); } &&
1.16773 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.16774 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.16775 - (eval $ac_try) 2>&5
1.16776 - ac_status=$?
1.16777 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16778 - (exit $ac_status); }; } &&
1.16779 - { ac_try='test -s conftest$ac_exeext'
1.16780 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.16781 - (eval $ac_try) 2>&5
1.16782 - ac_status=$?
1.16783 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.16784 - (exit $ac_status); }; }; then
1.16785 -
1.16786 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1.16787 -}'`
1.16788 -# Check for a 64-bit object if we didn't find anything.
1.16789 -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.16790 -}'`; fi
1.16791 -else
1.16792 - echo "$as_me: failed program was:" >&5
1.16793 -sed 's/^/| /' conftest.$ac_ext >&5
1.16794 -
1.16795 -fi
1.16796 -rm -f conftest.err conftest.$ac_objext \
1.16797 - conftest$ac_exeext conftest.$ac_ext
1.16798 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1.16799 -
1.16800 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1.16801 - # Warning - without using the other run time loading flags,
1.16802 - # -berok will link without error, but may produce a broken library.
1.16803 - no_undefined_flag_GCJ=' ${wl}-bernotok'
1.16804 - allow_undefined_flag_GCJ=' ${wl}-berok'
1.16805 - # -bexpall does not export symbols beginning with underscore (_)
1.16806 - always_export_symbols_GCJ=yes
1.16807 - # Exported symbols can be pulled into shared objects from archives
1.16808 - whole_archive_flag_spec_GCJ=' '
1.16809 - archive_cmds_need_lc_GCJ=yes
1.16810 - # This is similar to how AIX traditionally builds its shared libraries.
1.16811 - 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.16812 - fi
1.16813 - fi
1.16814 - ;;
1.16815 -
1.16816 - amigaos*)
1.16817 - 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.16818 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16819 - hardcode_minus_L_GCJ=yes
1.16820 - # see comment about different semantics on the GNU ld section
1.16821 - ld_shlibs_GCJ=no
1.16822 - ;;
1.16823 -
1.16824 - bsdi[45]*)
1.16825 - export_dynamic_flag_spec_GCJ=-rdynamic
1.16826 - ;;
1.16827 -
1.16828 - cygwin* | mingw* | pw32*)
1.16829 - # When not using gcc, we currently assume that we are using
1.16830 - # Microsoft Visual C++.
1.16831 - # hardcode_libdir_flag_spec is actually meaningless, as there is
1.16832 - # no search path for DLLs.
1.16833 - hardcode_libdir_flag_spec_GCJ=' '
1.16834 - allow_undefined_flag_GCJ=unsupported
1.16835 - # Tell ltmain to make .lib files, not .a files.
1.16836 - libext=lib
1.16837 - # Tell ltmain to make .dll files, not .so files.
1.16838 - shrext_cmds=".dll"
1.16839 - # FIXME: Setting linknames here is a bad hack.
1.16840 - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.16841 - # The linker will automatically build a .lib file if we build a DLL.
1.16842 - old_archive_From_new_cmds_GCJ='true'
1.16843 - # FIXME: Should let the user specify the lib program.
1.16844 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
1.16845 - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
1.16846 - enable_shared_with_static_runtimes_GCJ=yes
1.16847 - ;;
1.16848 -
1.16849 - darwin* | rhapsody*)
1.16850 - case $host_os in
1.16851 - rhapsody* | darwin1.[012])
1.16852 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
1.16853 - ;;
1.16854 - *) # Darwin 1.3 on
1.16855 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1.16856 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.16857 - else
1.16858 - case ${MACOSX_DEPLOYMENT_TARGET} in
1.16859 - 10.[012])
1.16860 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1.16861 - ;;
1.16862 - 10.*)
1.16863 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
1.16864 - ;;
1.16865 - esac
1.16866 - fi
1.16867 - ;;
1.16868 - esac
1.16869 - archive_cmds_need_lc_GCJ=no
1.16870 - hardcode_direct_GCJ=no
1.16871 - hardcode_automatic_GCJ=yes
1.16872 - hardcode_shlibpath_var_GCJ=unsupported
1.16873 - whole_archive_flag_spec_GCJ=''
1.16874 - link_all_deplibs_GCJ=yes
1.16875 - if test "$GCC" = yes ; then
1.16876 - output_verbose_link_cmd='echo'
1.16877 - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1.16878 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.16879 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.16880 - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.16881 - 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.16882 - else
1.16883 - case $cc_basename in
1.16884 - xlc*)
1.16885 - output_verbose_link_cmd='echo'
1.16886 - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
1.16887 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1.16888 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1.16889 - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.16890 - 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.16891 - ;;
1.16892 - *)
1.16893 - ld_shlibs_GCJ=no
1.16894 - ;;
1.16895 - esac
1.16896 - fi
1.16897 - ;;
1.16898 -
1.16899 - dgux*)
1.16900 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.16901 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16902 - hardcode_shlibpath_var_GCJ=no
1.16903 - ;;
1.16904 -
1.16905 - freebsd1*)
1.16906 - ld_shlibs_GCJ=no
1.16907 - ;;
1.16908 -
1.16909 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1.16910 - # support. Future versions do this automatically, but an explicit c++rt0.o
1.16911 - # does not break anything, and helps significantly (at the cost of a little
1.16912 - # extra space).
1.16913 - freebsd2.2*)
1.16914 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
1.16915 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.16916 - hardcode_direct_GCJ=yes
1.16917 - hardcode_shlibpath_var_GCJ=no
1.16918 - ;;
1.16919 -
1.16920 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.16921 - freebsd2*)
1.16922 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.16923 - hardcode_direct_GCJ=yes
1.16924 - hardcode_minus_L_GCJ=yes
1.16925 - hardcode_shlibpath_var_GCJ=no
1.16926 - ;;
1.16927 -
1.16928 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.16929 - freebsd* | kfreebsd*-gnu | dragonfly*)
1.16930 - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1.16931 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.16932 - hardcode_direct_GCJ=yes
1.16933 - hardcode_shlibpath_var_GCJ=no
1.16934 - ;;
1.16935 -
1.16936 - hpux9*)
1.16937 - if test "$GCC" = yes; then
1.16938 - 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.16939 - else
1.16940 - 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.16941 - fi
1.16942 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.16943 - hardcode_libdir_separator_GCJ=:
1.16944 - hardcode_direct_GCJ=yes
1.16945 -
1.16946 - # hardcode_minus_L: Not really in the search PATH,
1.16947 - # but as the default location of the library.
1.16948 - hardcode_minus_L_GCJ=yes
1.16949 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.16950 - ;;
1.16951 -
1.16952 - hpux10* | hpux11*)
1.16953 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1.16954 - case $host_cpu in
1.16955 - hppa*64*|ia64*)
1.16956 - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.16957 - ;;
1.16958 - *)
1.16959 - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.16960 - ;;
1.16961 - esac
1.16962 - else
1.16963 - case $host_cpu in
1.16964 - hppa*64*|ia64*)
1.16965 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1.16966 - ;;
1.16967 - *)
1.16968 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.16969 - ;;
1.16970 - esac
1.16971 - fi
1.16972 - if test "$with_gnu_ld" = no; then
1.16973 - case $host_cpu in
1.16974 - hppa*64*)
1.16975 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.16976 - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
1.16977 - hardcode_libdir_separator_GCJ=:
1.16978 - hardcode_direct_GCJ=no
1.16979 - hardcode_shlibpath_var_GCJ=no
1.16980 - ;;
1.16981 - ia64*)
1.16982 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.16983 - hardcode_direct_GCJ=no
1.16984 - hardcode_shlibpath_var_GCJ=no
1.16985 -
1.16986 - # hardcode_minus_L: Not really in the search PATH,
1.16987 - # but as the default location of the library.
1.16988 - hardcode_minus_L_GCJ=yes
1.16989 - ;;
1.16990 - *)
1.16991 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1.16992 - hardcode_libdir_separator_GCJ=:
1.16993 - hardcode_direct_GCJ=yes
1.16994 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.16995 -
1.16996 - # hardcode_minus_L: Not really in the search PATH,
1.16997 - # but as the default location of the library.
1.16998 - hardcode_minus_L_GCJ=yes
1.16999 - ;;
1.17000 - esac
1.17001 - fi
1.17002 - ;;
1.17003 -
1.17004 - irix5* | irix6* | nonstopux*)
1.17005 - if test "$GCC" = yes; then
1.17006 - 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.17007 - else
1.17008 - 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.17009 - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
1.17010 - fi
1.17011 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17012 - hardcode_libdir_separator_GCJ=:
1.17013 - link_all_deplibs_GCJ=yes
1.17014 - ;;
1.17015 -
1.17016 - netbsd*)
1.17017 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.17018 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1.17019 - else
1.17020 - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
1.17021 - fi
1.17022 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17023 - hardcode_direct_GCJ=yes
1.17024 - hardcode_shlibpath_var_GCJ=no
1.17025 - ;;
1.17026 -
1.17027 - newsos6)
1.17028 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17029 - hardcode_direct_GCJ=yes
1.17030 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17031 - hardcode_libdir_separator_GCJ=:
1.17032 - hardcode_shlibpath_var_GCJ=no
1.17033 - ;;
1.17034 -
1.17035 - openbsd*)
1.17036 - hardcode_direct_GCJ=yes
1.17037 - hardcode_shlibpath_var_GCJ=no
1.17038 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.17039 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.17040 - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
1.17041 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1.17042 - export_dynamic_flag_spec_GCJ='${wl}-E'
1.17043 - else
1.17044 - case $host_os in
1.17045 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
1.17046 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1.17047 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17048 - ;;
1.17049 - *)
1.17050 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.17051 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1.17052 - ;;
1.17053 - esac
1.17054 - fi
1.17055 - ;;
1.17056 -
1.17057 - os2*)
1.17058 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17059 - hardcode_minus_L_GCJ=yes
1.17060 - allow_undefined_flag_GCJ=unsupported
1.17061 - 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.17062 - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.17063 - ;;
1.17064 -
1.17065 - osf3*)
1.17066 - if test "$GCC" = yes; then
1.17067 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
1.17068 - 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.17069 - else
1.17070 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
1.17071 - 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.17072 - fi
1.17073 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17074 - hardcode_libdir_separator_GCJ=:
1.17075 - ;;
1.17076 -
1.17077 - osf4* | osf5*) # as osf3* with the addition of -msym flag
1.17078 - if test "$GCC" = yes; then
1.17079 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
1.17080 - 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.17081 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
1.17082 - else
1.17083 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
1.17084 - 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.17085 - 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.17086 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
1.17087 -
1.17088 - # Both c and cxx compiler support -rpath directly
1.17089 - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
1.17090 - fi
1.17091 - hardcode_libdir_separator_GCJ=:
1.17092 - ;;
1.17093 -
1.17094 - sco3.2v5*)
1.17095 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17096 - hardcode_shlibpath_var_GCJ=no
1.17097 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
1.17098 - runpath_var=LD_RUN_PATH
1.17099 - hardcode_runpath_var=yes
1.17100 - ;;
1.17101 -
1.17102 - solaris*)
1.17103 - no_undefined_flag_GCJ=' -z text'
1.17104 - if test "$GCC" = yes; then
1.17105 - wlarc='${wl}'
1.17106 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17107 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17108 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1.17109 - else
1.17110 - wlarc=''
1.17111 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17112 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17113 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.17114 - fi
1.17115 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
1.17116 - hardcode_shlibpath_var_GCJ=no
1.17117 - case $host_os in
1.17118 - solaris2.[0-5] | solaris2.[0-5].*) ;;
1.17119 - *)
1.17120 - # The compiler driver will combine linker options so we
1.17121 - # cannot just pass the convience library names through
1.17122 - # without $wl, iff we do not link with $LD.
1.17123 - # Luckily, gcc supports the same syntax we need for Sun Studio.
1.17124 - # Supported since Solaris 2.6 (maybe 2.5.1?)
1.17125 - case $wlarc in
1.17126 - '')
1.17127 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
1.17128 - *)
1.17129 - whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
1.17130 - esac ;;
1.17131 - esac
1.17132 - link_all_deplibs_GCJ=yes
1.17133 - ;;
1.17134 -
1.17135 - sunos4*)
1.17136 - if test "x$host_vendor" = xsequent; then
1.17137 - # Use $CC to link under sequent, because it throws in some extra .o
1.17138 - # files that make .init and .fini sections work.
1.17139 - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.17140 - else
1.17141 - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
1.17142 - fi
1.17143 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17144 - hardcode_direct_GCJ=yes
1.17145 - hardcode_minus_L_GCJ=yes
1.17146 - hardcode_shlibpath_var_GCJ=no
1.17147 - ;;
1.17148 -
1.17149 - sysv4)
1.17150 - case $host_vendor in
1.17151 - sni)
1.17152 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17153 - hardcode_direct_GCJ=yes # is this really true???
1.17154 - ;;
1.17155 - siemens)
1.17156 - ## LD is ld it makes a PLAMLIB
1.17157 - ## CC just makes a GrossModule.
1.17158 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.17159 - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
1.17160 - hardcode_direct_GCJ=no
1.17161 - ;;
1.17162 - motorola)
1.17163 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17164 - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
1.17165 - ;;
1.17166 - esac
1.17167 - runpath_var='LD_RUN_PATH'
1.17168 - hardcode_shlibpath_var_GCJ=no
1.17169 - ;;
1.17170 -
1.17171 - sysv4.3*)
1.17172 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17173 - hardcode_shlibpath_var_GCJ=no
1.17174 - export_dynamic_flag_spec_GCJ='-Bexport'
1.17175 - ;;
1.17176 -
1.17177 - sysv4*MP*)
1.17178 - if test -d /usr/nec; then
1.17179 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17180 - hardcode_shlibpath_var_GCJ=no
1.17181 - runpath_var=LD_RUN_PATH
1.17182 - hardcode_runpath_var=yes
1.17183 - ld_shlibs_GCJ=yes
1.17184 - fi
1.17185 - ;;
1.17186 -
1.17187 - sysv4.2uw2*)
1.17188 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1.17189 - hardcode_direct_GCJ=yes
1.17190 - hardcode_minus_L_GCJ=no
1.17191 - hardcode_shlibpath_var_GCJ=no
1.17192 - hardcode_runpath_var=yes
1.17193 - runpath_var=LD_RUN_PATH
1.17194 - ;;
1.17195 -
1.17196 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
1.17197 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
1.17198 - if test "$GCC" = yes; then
1.17199 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17200 - else
1.17201 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.17202 - fi
1.17203 - runpath_var='LD_RUN_PATH'
1.17204 - hardcode_shlibpath_var_GCJ=no
1.17205 - ;;
1.17206 -
1.17207 - sysv5*)
1.17208 - no_undefined_flag_GCJ=' -z text'
1.17209 - # $CC -shared without GNU ld will not create a library from C++
1.17210 - # object files and a static libstdc++, better avoid it by now
1.17211 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17212 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1.17213 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1.17214 - hardcode_libdir_flag_spec_GCJ=
1.17215 - hardcode_shlibpath_var_GCJ=no
1.17216 - runpath_var='LD_RUN_PATH'
1.17217 - ;;
1.17218 -
1.17219 - uts4*)
1.17220 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.17221 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
1.17222 - hardcode_shlibpath_var_GCJ=no
1.17223 - ;;
1.17224 -
1.17225 - *)
1.17226 - ld_shlibs_GCJ=no
1.17227 - ;;
1.17228 - esac
1.17229 - fi
1.17230 -
1.17231 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
1.17232 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
1.17233 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
1.17234 -
1.17235 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.17236 -if test "$GCC" = yes; then
1.17237 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1.17238 -fi
1.17239 -
1.17240 -#
1.17241 -# Do we need to explicitly link libc?
1.17242 -#
1.17243 -case "x$archive_cmds_need_lc_GCJ" in
1.17244 -x|xyes)
1.17245 - # Assume -lc should be added
1.17246 - archive_cmds_need_lc_GCJ=yes
1.17247 -
1.17248 - if test "$enable_shared" = yes && test "$GCC" = yes; then
1.17249 - case $archive_cmds_GCJ in
1.17250 - *'~'*)
1.17251 - # FIXME: we may have to deal with multi-command sequences.
1.17252 - ;;
1.17253 - '$CC '*)
1.17254 - # Test whether the compiler implicitly links with -lc since on some
1.17255 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
1.17256 - # to ld, don't add -lc before -lgcc.
1.17257 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
1.17258 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
1.17259 - $rm conftest*
1.17260 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1.17261 -
1.17262 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.17263 - (eval $ac_compile) 2>&5
1.17264 - ac_status=$?
1.17265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17266 - (exit $ac_status); } 2>conftest.err; then
1.17267 - soname=conftest
1.17268 - lib=conftest
1.17269 - libobjs=conftest.$ac_objext
1.17270 - deplibs=
1.17271 - wl=$lt_prog_compiler_wl_GCJ
1.17272 - compiler_flags=-v
1.17273 - linker_flags=-v
1.17274 - verstring=
1.17275 - output_objdir=.
1.17276 - libname=conftest
1.17277 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
1.17278 - allow_undefined_flag_GCJ=
1.17279 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.17280 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.17281 - ac_status=$?
1.17282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17283 - (exit $ac_status); }
1.17284 - then
1.17285 - archive_cmds_need_lc_GCJ=no
1.17286 - else
1.17287 - archive_cmds_need_lc_GCJ=yes
1.17288 - fi
1.17289 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
1.17290 - else
1.17291 - cat conftest.err 1>&5
1.17292 - fi
1.17293 - $rm conftest*
1.17294 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
1.17295 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
1.17296 - ;;
1.17297 - esac
1.17298 - fi
1.17299 - ;;
1.17300 -esac
1.17301 -
1.17302 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.17303 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
1.17304 -library_names_spec=
1.17305 -libname_spec='lib$name'
1.17306 -soname_spec=
1.17307 -shrext_cmds=".so"
1.17308 -postinstall_cmds=
1.17309 -postuninstall_cmds=
1.17310 -finish_cmds=
1.17311 -finish_eval=
1.17312 -shlibpath_var=
1.17313 -shlibpath_overrides_runpath=unknown
1.17314 -version_type=none
1.17315 -dynamic_linker="$host_os ld.so"
1.17316 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.17317 -if test "$GCC" = yes; then
1.17318 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.17319 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1.17320 - # if the path contains ";" then we assume it to be the separator
1.17321 - # otherwise default to the standard path separator (i.e. ":") - it is
1.17322 - # assumed that no part of a normal pathname contains ";" but that should
1.17323 - # okay in the real world where ";" in dirpaths is itself problematic.
1.17324 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.17325 - else
1.17326 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.17327 - fi
1.17328 -else
1.17329 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.17330 -fi
1.17331 -need_lib_prefix=unknown
1.17332 -hardcode_into_libs=no
1.17333 -
1.17334 -# when you set need_version to no, make sure it does not cause -set_version
1.17335 -# flags to be left without arguments
1.17336 -need_version=unknown
1.17337 -
1.17338 -case $host_os in
1.17339 -aix3*)
1.17340 - version_type=linux
1.17341 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.17342 - shlibpath_var=LIBPATH
1.17343 -
1.17344 - # AIX 3 has no versioning support, so we append a major version to the name.
1.17345 - soname_spec='${libname}${release}${shared_ext}$major'
1.17346 - ;;
1.17347 -
1.17348 -aix4* | aix5*)
1.17349 - version_type=linux
1.17350 - need_lib_prefix=no
1.17351 - need_version=no
1.17352 - hardcode_into_libs=yes
1.17353 - if test "$host_cpu" = ia64; then
1.17354 - # AIX 5 supports IA64
1.17355 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.17356 - shlibpath_var=LD_LIBRARY_PATH
1.17357 - else
1.17358 - # With GCC up to 2.95.x, collect2 would create an import file
1.17359 - # for dependence libraries. The import file would start with
1.17360 - # the line `#! .'. This would cause the generated library to
1.17361 - # depend on `.', always an invalid library. This was fixed in
1.17362 - # development snapshots of GCC prior to 3.0.
1.17363 - case $host_os in
1.17364 - aix4 | aix4.[01] | aix4.[01].*)
1.17365 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1.17366 - echo ' yes '
1.17367 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1.17368 - :
1.17369 - else
1.17370 - can_build_shared=no
1.17371 - fi
1.17372 - ;;
1.17373 - esac
1.17374 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1.17375 - # soname into executable. Probably we can add versioning support to
1.17376 - # collect2, so additional links can be useful in future.
1.17377 - if test "$aix_use_runtimelinking" = yes; then
1.17378 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1.17379 - # instead of lib<name>.a to let people know that these are not
1.17380 - # typical AIX shared libraries.
1.17381 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17382 - else
1.17383 - # We preserve .a as extension for shared libraries through AIX4.2
1.17384 - # and later when we are not doing run time linking.
1.17385 - library_names_spec='${libname}${release}.a $libname.a'
1.17386 - soname_spec='${libname}${release}${shared_ext}$major'
1.17387 - fi
1.17388 - shlibpath_var=LIBPATH
1.17389 - fi
1.17390 - ;;
1.17391 -
1.17392 -amigaos*)
1.17393 - library_names_spec='$libname.ixlibrary $libname.a'
1.17394 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.17395 - 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.17396 - ;;
1.17397 -
1.17398 -beos*)
1.17399 - library_names_spec='${libname}${shared_ext}'
1.17400 - dynamic_linker="$host_os ld.so"
1.17401 - shlibpath_var=LIBRARY_PATH
1.17402 - ;;
1.17403 -
1.17404 -bsdi[45]*)
1.17405 - version_type=linux
1.17406 - need_version=no
1.17407 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17408 - soname_spec='${libname}${release}${shared_ext}$major'
1.17409 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1.17410 - shlibpath_var=LD_LIBRARY_PATH
1.17411 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1.17412 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1.17413 - # the default ld.so.conf also contains /usr/contrib/lib and
1.17414 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1.17415 - # libtool to hard-code these into programs
1.17416 - ;;
1.17417 -
1.17418 -cygwin* | mingw* | pw32*)
1.17419 - version_type=windows
1.17420 - shrext_cmds=".dll"
1.17421 - need_version=no
1.17422 - need_lib_prefix=no
1.17423 -
1.17424 - case $GCC,$host_os in
1.17425 - yes,cygwin* | yes,mingw* | yes,pw32*)
1.17426 - library_names_spec='$libname.dll.a'
1.17427 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.17428 - postinstall_cmds='base_file=`basename \${file}`~
1.17429 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1.17430 - dldir=$destdir/`dirname \$dlpath`~
1.17431 - test -d \$dldir || mkdir -p \$dldir~
1.17432 - $install_prog $dir/$dlname \$dldir/$dlname~
1.17433 - chmod a+x \$dldir/$dlname'
1.17434 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.17435 - dlpath=$dir/\$dldll~
1.17436 - $rm \$dlpath'
1.17437 - shlibpath_overrides_runpath=yes
1.17438 -
1.17439 - case $host_os in
1.17440 - cygwin*)
1.17441 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.17442 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.17443 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1.17444 - ;;
1.17445 - mingw*)
1.17446 - # MinGW DLLs use traditional 'lib' prefix
1.17447 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.17448 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.17449 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
1.17450 - # It is most probably a Windows format PATH printed by
1.17451 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1.17452 - # path with ; separators, and with drive letters. We can handle the
1.17453 - # drive letters (cygwin fileutils understands them), so leave them,
1.17454 - # especially as we might pass files found there to a mingw objdump,
1.17455 - # which wouldn't understand a cygwinified path. Ahh.
1.17456 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.17457 - else
1.17458 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1.17459 - fi
1.17460 - ;;
1.17461 - pw32*)
1.17462 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1.17463 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.17464 - ;;
1.17465 - esac
1.17466 - ;;
1.17467 -
1.17468 - *)
1.17469 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.17470 - ;;
1.17471 - esac
1.17472 - dynamic_linker='Win32 ld.exe'
1.17473 - # FIXME: first we should search . and the directory the executable is in
1.17474 - shlibpath_var=PATH
1.17475 - ;;
1.17476 -
1.17477 -darwin* | rhapsody*)
1.17478 - dynamic_linker="$host_os dyld"
1.17479 - version_type=darwin
1.17480 - need_lib_prefix=no
1.17481 - need_version=no
1.17482 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.17483 - soname_spec='${libname}${release}${major}$shared_ext'
1.17484 - shlibpath_overrides_runpath=yes
1.17485 - shlibpath_var=DYLD_LIBRARY_PATH
1.17486 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.17487 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1.17488 - if test "$GCC" = yes; then
1.17489 - 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.17490 - else
1.17491 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1.17492 - fi
1.17493 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.17494 - ;;
1.17495 -
1.17496 -dgux*)
1.17497 - version_type=linux
1.17498 - need_lib_prefix=no
1.17499 - need_version=no
1.17500 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1.17501 - soname_spec='${libname}${release}${shared_ext}$major'
1.17502 - shlibpath_var=LD_LIBRARY_PATH
1.17503 - ;;
1.17504 -
1.17505 -freebsd1*)
1.17506 - dynamic_linker=no
1.17507 - ;;
1.17508 -
1.17509 -kfreebsd*-gnu)
1.17510 - version_type=linux
1.17511 - need_lib_prefix=no
1.17512 - need_version=no
1.17513 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17514 - soname_spec='${libname}${release}${shared_ext}$major'
1.17515 - shlibpath_var=LD_LIBRARY_PATH
1.17516 - shlibpath_overrides_runpath=no
1.17517 - hardcode_into_libs=yes
1.17518 - dynamic_linker='GNU ld.so'
1.17519 - ;;
1.17520 -
1.17521 -freebsd* | dragonfly*)
1.17522 - # DragonFly does not have aout. When/if they implement a new
1.17523 - # versioning mechanism, adjust this.
1.17524 - if test -x /usr/bin/objformat; then
1.17525 - objformat=`/usr/bin/objformat`
1.17526 - else
1.17527 - case $host_os in
1.17528 - freebsd[123]*) objformat=aout ;;
1.17529 - *) objformat=elf ;;
1.17530 - esac
1.17531 - fi
1.17532 - version_type=freebsd-$objformat
1.17533 - case $version_type in
1.17534 - freebsd-elf*)
1.17535 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.17536 - need_version=no
1.17537 - need_lib_prefix=no
1.17538 - ;;
1.17539 - freebsd-*)
1.17540 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.17541 - need_version=yes
1.17542 - ;;
1.17543 - esac
1.17544 - shlibpath_var=LD_LIBRARY_PATH
1.17545 - case $host_os in
1.17546 - freebsd2*)
1.17547 - shlibpath_overrides_runpath=yes
1.17548 - ;;
1.17549 - freebsd3.[01]* | freebsdelf3.[01]*)
1.17550 - shlibpath_overrides_runpath=yes
1.17551 - hardcode_into_libs=yes
1.17552 - ;;
1.17553 - *) # from 3.2 on
1.17554 - shlibpath_overrides_runpath=no
1.17555 - hardcode_into_libs=yes
1.17556 - ;;
1.17557 - esac
1.17558 - ;;
1.17559 -
1.17560 -gnu*)
1.17561 - version_type=linux
1.17562 - need_lib_prefix=no
1.17563 - need_version=no
1.17564 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1.17565 - soname_spec='${libname}${release}${shared_ext}$major'
1.17566 - shlibpath_var=LD_LIBRARY_PATH
1.17567 - hardcode_into_libs=yes
1.17568 - ;;
1.17569 -
1.17570 -hpux9* | hpux10* | hpux11*)
1.17571 - # Give a soname corresponding to the major version so that dld.sl refuses to
1.17572 - # link against other versions.
1.17573 - version_type=sunos
1.17574 - need_lib_prefix=no
1.17575 - need_version=no
1.17576 - case $host_cpu in
1.17577 - ia64*)
1.17578 - shrext_cmds='.so'
1.17579 - hardcode_into_libs=yes
1.17580 - dynamic_linker="$host_os dld.so"
1.17581 - shlibpath_var=LD_LIBRARY_PATH
1.17582 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.17583 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17584 - soname_spec='${libname}${release}${shared_ext}$major'
1.17585 - if test "X$HPUX_IA64_MODE" = X32; then
1.17586 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.17587 - else
1.17588 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.17589 - fi
1.17590 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.17591 - ;;
1.17592 - hppa*64*)
1.17593 - shrext_cmds='.sl'
1.17594 - hardcode_into_libs=yes
1.17595 - dynamic_linker="$host_os dld.sl"
1.17596 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1.17597 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.17598 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17599 - soname_spec='${libname}${release}${shared_ext}$major'
1.17600 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1.17601 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.17602 - ;;
1.17603 - *)
1.17604 - shrext_cmds='.sl'
1.17605 - dynamic_linker="$host_os dld.sl"
1.17606 - shlibpath_var=SHLIB_PATH
1.17607 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.17608 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17609 - soname_spec='${libname}${release}${shared_ext}$major'
1.17610 - ;;
1.17611 - esac
1.17612 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
1.17613 - postinstall_cmds='chmod 555 $lib'
1.17614 - ;;
1.17615 -
1.17616 -irix5* | irix6* | nonstopux*)
1.17617 - case $host_os in
1.17618 - nonstopux*) version_type=nonstopux ;;
1.17619 - *)
1.17620 - if test "$lt_cv_prog_gnu_ld" = yes; then
1.17621 - version_type=linux
1.17622 - else
1.17623 - version_type=irix
1.17624 - fi ;;
1.17625 - esac
1.17626 - need_lib_prefix=no
1.17627 - need_version=no
1.17628 - soname_spec='${libname}${release}${shared_ext}$major'
1.17629 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.17630 - case $host_os in
1.17631 - irix5* | nonstopux*)
1.17632 - libsuff= shlibsuff=
1.17633 - ;;
1.17634 - *)
1.17635 - case $LD in # libtool.m4 will add one of these switches to LD
1.17636 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1.17637 - libsuff= shlibsuff= libmagic=32-bit;;
1.17638 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1.17639 - libsuff=32 shlibsuff=N32 libmagic=N32;;
1.17640 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1.17641 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.17642 - *) libsuff= shlibsuff= libmagic=never-match;;
1.17643 - esac
1.17644 - ;;
1.17645 - esac
1.17646 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1.17647 - shlibpath_overrides_runpath=no
1.17648 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1.17649 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.17650 - hardcode_into_libs=yes
1.17651 - ;;
1.17652 -
1.17653 -# No shared lib support for Linux oldld, aout, or coff.
1.17654 -linux*oldld* | linux*aout* | linux*coff*)
1.17655 - dynamic_linker=no
1.17656 - ;;
1.17657 -
1.17658 -# This must be Linux ELF.
1.17659 -linux*)
1.17660 - version_type=linux
1.17661 - need_lib_prefix=no
1.17662 - need_version=no
1.17663 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17664 - soname_spec='${libname}${release}${shared_ext}$major'
1.17665 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.17666 - shlibpath_var=LD_LIBRARY_PATH
1.17667 - shlibpath_overrides_runpath=no
1.17668 - # This implies no fast_install, which is unacceptable.
1.17669 - # Some rework will be needed to allow for fast_install
1.17670 - # before this can be enabled.
1.17671 - hardcode_into_libs=yes
1.17672 -
1.17673 - # Append ld.so.conf contents to the search path
1.17674 - if test -f /etc/ld.so.conf; then
1.17675 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1.17676 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.17677 - fi
1.17678 -
1.17679 - # We used to test for /lib/ld.so.1 and disable shared libraries on
1.17680 - # powerpc, because MkLinux only supported shared libraries with the
1.17681 - # GNU dynamic linker. Since this was broken with cross compilers,
1.17682 - # most powerpc-linux boxes support dynamic linking these days and
1.17683 - # people can always --disable-shared, the test was removed, and we
1.17684 - # assume the GNU/Linux dynamic linker is in use.
1.17685 - dynamic_linker='GNU/Linux ld.so'
1.17686 - ;;
1.17687 -
1.17688 -knetbsd*-gnu)
1.17689 - version_type=linux
1.17690 - need_lib_prefix=no
1.17691 - need_version=no
1.17692 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17693 - soname_spec='${libname}${release}${shared_ext}$major'
1.17694 - shlibpath_var=LD_LIBRARY_PATH
1.17695 - shlibpath_overrides_runpath=no
1.17696 - hardcode_into_libs=yes
1.17697 - dynamic_linker='GNU ld.so'
1.17698 - ;;
1.17699 -
1.17700 -netbsd*)
1.17701 - version_type=sunos
1.17702 - need_lib_prefix=no
1.17703 - need_version=no
1.17704 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1.17705 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.17706 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.17707 - dynamic_linker='NetBSD (a.out) ld.so'
1.17708 - else
1.17709 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1.17710 - soname_spec='${libname}${release}${shared_ext}$major'
1.17711 - dynamic_linker='NetBSD ld.elf_so'
1.17712 - fi
1.17713 - shlibpath_var=LD_LIBRARY_PATH
1.17714 - shlibpath_overrides_runpath=yes
1.17715 - hardcode_into_libs=yes
1.17716 - ;;
1.17717 -
1.17718 -newsos6)
1.17719 - version_type=linux
1.17720 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17721 - shlibpath_var=LD_LIBRARY_PATH
1.17722 - shlibpath_overrides_runpath=yes
1.17723 - ;;
1.17724 -
1.17725 -nto-qnx*)
1.17726 - version_type=linux
1.17727 - need_lib_prefix=no
1.17728 - need_version=no
1.17729 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17730 - soname_spec='${libname}${release}${shared_ext}$major'
1.17731 - shlibpath_var=LD_LIBRARY_PATH
1.17732 - shlibpath_overrides_runpath=yes
1.17733 - ;;
1.17734 -
1.17735 -openbsd*)
1.17736 - version_type=sunos
1.17737 - need_lib_prefix=no
1.17738 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1.17739 - case $host_os in
1.17740 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1.17741 - *) need_version=no ;;
1.17742 - esac
1.17743 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.17744 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1.17745 - shlibpath_var=LD_LIBRARY_PATH
1.17746 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.17747 - case $host_os in
1.17748 - openbsd2.[89] | openbsd2.[89].*)
1.17749 - shlibpath_overrides_runpath=no
1.17750 - ;;
1.17751 - *)
1.17752 - shlibpath_overrides_runpath=yes
1.17753 - ;;
1.17754 - esac
1.17755 - else
1.17756 - shlibpath_overrides_runpath=yes
1.17757 - fi
1.17758 - ;;
1.17759 -
1.17760 -os2*)
1.17761 - libname_spec='$name'
1.17762 - shrext_cmds=".dll"
1.17763 - need_lib_prefix=no
1.17764 - library_names_spec='$libname${shared_ext} $libname.a'
1.17765 - dynamic_linker='OS/2 ld.exe'
1.17766 - shlibpath_var=LIBPATH
1.17767 - ;;
1.17768 -
1.17769 -osf3* | osf4* | osf5*)
1.17770 - version_type=osf
1.17771 - need_lib_prefix=no
1.17772 - need_version=no
1.17773 - soname_spec='${libname}${release}${shared_ext}$major'
1.17774 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17775 - shlibpath_var=LD_LIBRARY_PATH
1.17776 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.17777 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1.17778 - ;;
1.17779 -
1.17780 -sco3.2v5*)
1.17781 - version_type=osf
1.17782 - soname_spec='${libname}${release}${shared_ext}$major'
1.17783 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17784 - shlibpath_var=LD_LIBRARY_PATH
1.17785 - ;;
1.17786 -
1.17787 -solaris*)
1.17788 - version_type=linux
1.17789 - need_lib_prefix=no
1.17790 - need_version=no
1.17791 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17792 - soname_spec='${libname}${release}${shared_ext}$major'
1.17793 - shlibpath_var=LD_LIBRARY_PATH
1.17794 - shlibpath_overrides_runpath=yes
1.17795 - hardcode_into_libs=yes
1.17796 - # ldd complains unless libraries are executable
1.17797 - postinstall_cmds='chmod +x $lib'
1.17798 - ;;
1.17799 -
1.17800 -sunos4*)
1.17801 - version_type=sunos
1.17802 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.17803 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1.17804 - shlibpath_var=LD_LIBRARY_PATH
1.17805 - shlibpath_overrides_runpath=yes
1.17806 - if test "$with_gnu_ld" = yes; then
1.17807 - need_lib_prefix=no
1.17808 - fi
1.17809 - need_version=yes
1.17810 - ;;
1.17811 -
1.17812 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.17813 - version_type=linux
1.17814 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17815 - soname_spec='${libname}${release}${shared_ext}$major'
1.17816 - shlibpath_var=LD_LIBRARY_PATH
1.17817 - case $host_vendor in
1.17818 - sni)
1.17819 - shlibpath_overrides_runpath=no
1.17820 - need_lib_prefix=no
1.17821 - export_dynamic_flag_spec='${wl}-Blargedynsym'
1.17822 - runpath_var=LD_RUN_PATH
1.17823 - ;;
1.17824 - siemens)
1.17825 - need_lib_prefix=no
1.17826 - ;;
1.17827 - motorola)
1.17828 - need_lib_prefix=no
1.17829 - need_version=no
1.17830 - shlibpath_overrides_runpath=no
1.17831 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1.17832 - ;;
1.17833 - esac
1.17834 - ;;
1.17835 -
1.17836 -sysv4*MP*)
1.17837 - if test -d /usr/nec ;then
1.17838 - version_type=linux
1.17839 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1.17840 - soname_spec='$libname${shared_ext}.$major'
1.17841 - shlibpath_var=LD_LIBRARY_PATH
1.17842 - fi
1.17843 - ;;
1.17844 -
1.17845 -uts4*)
1.17846 - version_type=linux
1.17847 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.17848 - soname_spec='${libname}${release}${shared_ext}$major'
1.17849 - shlibpath_var=LD_LIBRARY_PATH
1.17850 - ;;
1.17851 -
1.17852 -*)
1.17853 - dynamic_linker=no
1.17854 - ;;
1.17855 -esac
1.17856 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1.17857 -echo "${ECHO_T}$dynamic_linker" >&6
1.17858 -test "$dynamic_linker" = no && can_build_shared=no
1.17859 -
1.17860 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.17861 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1.17862 -hardcode_action_GCJ=
1.17863 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1.17864 - test -n "$runpath_var_GCJ" || \
1.17865 - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
1.17866 -
1.17867 - # We can hardcode non-existant directories.
1.17868 - if test "$hardcode_direct_GCJ" != no &&
1.17869 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1.17870 - # have to relink, otherwise we might link with an installed library
1.17871 - # when we should be linking with a yet-to-be-installed one
1.17872 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
1.17873 - test "$hardcode_minus_L_GCJ" != no; then
1.17874 - # Linking always hardcodes the temporary library directory.
1.17875 - hardcode_action_GCJ=relink
1.17876 - else
1.17877 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1.17878 - hardcode_action_GCJ=immediate
1.17879 - fi
1.17880 -else
1.17881 - # We cannot hardcode anything, or else we can only hardcode existing
1.17882 - # directories.
1.17883 - hardcode_action_GCJ=unsupported
1.17884 -fi
1.17885 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
1.17886 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
1.17887 -
1.17888 -if test "$hardcode_action_GCJ" = relink; then
1.17889 - # Fast installation is not supported
1.17890 - enable_fast_install=no
1.17891 -elif test "$shlibpath_overrides_runpath" = yes ||
1.17892 - test "$enable_shared" = no; then
1.17893 - # Fast installation is not necessary
1.17894 - enable_fast_install=needless
1.17895 -fi
1.17896 -
1.17897 -striplib=
1.17898 -old_striplib=
1.17899 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
1.17900 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
1.17901 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1.17902 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1.17903 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.17904 - echo "$as_me:$LINENO: result: yes" >&5
1.17905 -echo "${ECHO_T}yes" >&6
1.17906 -else
1.17907 -# FIXME - insert some real tests, host_os isn't really good enough
1.17908 - case $host_os in
1.17909 - darwin*)
1.17910 - if test -n "$STRIP" ; then
1.17911 - striplib="$STRIP -x"
1.17912 - echo "$as_me:$LINENO: result: yes" >&5
1.17913 -echo "${ECHO_T}yes" >&6
1.17914 - else
1.17915 - echo "$as_me:$LINENO: result: no" >&5
1.17916 -echo "${ECHO_T}no" >&6
1.17917 -fi
1.17918 - ;;
1.17919 - *)
1.17920 - echo "$as_me:$LINENO: result: no" >&5
1.17921 -echo "${ECHO_T}no" >&6
1.17922 - ;;
1.17923 - esac
1.17924 -fi
1.17925 -
1.17926 -if test "x$enable_dlopen" != xyes; then
1.17927 - enable_dlopen=unknown
1.17928 - enable_dlopen_self=unknown
1.17929 - enable_dlopen_self_static=unknown
1.17930 -else
1.17931 - lt_cv_dlopen=no
1.17932 - lt_cv_dlopen_libs=
1.17933 -
1.17934 - case $host_os in
1.17935 - beos*)
1.17936 - lt_cv_dlopen="load_add_on"
1.17937 - lt_cv_dlopen_libs=
1.17938 - lt_cv_dlopen_self=yes
1.17939 - ;;
1.17940 -
1.17941 - mingw* | pw32*)
1.17942 - lt_cv_dlopen="LoadLibrary"
1.17943 - lt_cv_dlopen_libs=
1.17944 - ;;
1.17945 -
1.17946 - cygwin*)
1.17947 - lt_cv_dlopen="dlopen"
1.17948 - lt_cv_dlopen_libs=
1.17949 - ;;
1.17950 -
1.17951 - darwin*)
1.17952 - # if libdl is installed we need to link against it
1.17953 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.17954 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
1.17955 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.17956 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.17957 -else
1.17958 - ac_check_lib_save_LIBS=$LIBS
1.17959 -LIBS="-ldl $LIBS"
1.17960 -cat >conftest.$ac_ext <<_ACEOF
1.17961 -/* confdefs.h. */
1.17962 -_ACEOF
1.17963 -cat confdefs.h >>conftest.$ac_ext
1.17964 -cat >>conftest.$ac_ext <<_ACEOF
1.17965 -/* end confdefs.h. */
1.17966 -
1.17967 -/* Override any gcc2 internal prototype to avoid an error. */
1.17968 -#ifdef __cplusplus
1.17969 -extern "C"
1.17970 -#endif
1.17971 -/* We use char because int might match the return type of a gcc2
1.17972 - builtin and then its argument prototype would still apply. */
1.17973 -char dlopen ();
1.17974 -int
1.17975 -main ()
1.17976 -{
1.17977 -dlopen ();
1.17978 - ;
1.17979 - return 0;
1.17980 -}
1.17981 -_ACEOF
1.17982 -rm -f conftest.$ac_objext conftest$ac_exeext
1.17983 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.17984 - (eval $ac_link) 2>conftest.er1
1.17985 - ac_status=$?
1.17986 - grep -v '^ *+' conftest.er1 >conftest.err
1.17987 - rm -f conftest.er1
1.17988 - cat conftest.err >&5
1.17989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17990 - (exit $ac_status); } &&
1.17991 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.17992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.17993 - (eval $ac_try) 2>&5
1.17994 - ac_status=$?
1.17995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17996 - (exit $ac_status); }; } &&
1.17997 - { ac_try='test -s conftest$ac_exeext'
1.17998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.17999 - (eval $ac_try) 2>&5
1.18000 - ac_status=$?
1.18001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18002 - (exit $ac_status); }; }; then
1.18003 - ac_cv_lib_dl_dlopen=yes
1.18004 -else
1.18005 - echo "$as_me: failed program was:" >&5
1.18006 -sed 's/^/| /' conftest.$ac_ext >&5
1.18007 -
1.18008 -ac_cv_lib_dl_dlopen=no
1.18009 -fi
1.18010 -rm -f conftest.err conftest.$ac_objext \
1.18011 - conftest$ac_exeext conftest.$ac_ext
1.18012 -LIBS=$ac_check_lib_save_LIBS
1.18013 -fi
1.18014 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.18015 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
1.18016 -if test $ac_cv_lib_dl_dlopen = yes; then
1.18017 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.18018 -else
1.18019 -
1.18020 - lt_cv_dlopen="dyld"
1.18021 - lt_cv_dlopen_libs=
1.18022 - lt_cv_dlopen_self=yes
1.18023 -
1.18024 -fi
1.18025 -
1.18026 - ;;
1.18027 -
1.18028 - *)
1.18029 - echo "$as_me:$LINENO: checking for shl_load" >&5
1.18030 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
1.18031 -if test "${ac_cv_func_shl_load+set}" = set; then
1.18032 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18033 -else
1.18034 - cat >conftest.$ac_ext <<_ACEOF
1.18035 -/* confdefs.h. */
1.18036 -_ACEOF
1.18037 -cat confdefs.h >>conftest.$ac_ext
1.18038 -cat >>conftest.$ac_ext <<_ACEOF
1.18039 -/* end confdefs.h. */
1.18040 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
1.18041 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.18042 -#define shl_load innocuous_shl_load
1.18043 -
1.18044 -/* System header to define __stub macros and hopefully few prototypes,
1.18045 - which can conflict with char shl_load (); below.
1.18046 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.18047 - <limits.h> exists even on freestanding compilers. */
1.18048 -
1.18049 -#ifdef __STDC__
1.18050 -# include <limits.h>
1.18051 -#else
1.18052 -# include <assert.h>
1.18053 -#endif
1.18054 -
1.18055 -#undef shl_load
1.18056 -
1.18057 -/* Override any gcc2 internal prototype to avoid an error. */
1.18058 -#ifdef __cplusplus
1.18059 -extern "C"
1.18060 -{
1.18061 -#endif
1.18062 -/* We use char because int might match the return type of a gcc2
1.18063 - builtin and then its argument prototype would still apply. */
1.18064 -char shl_load ();
1.18065 -/* The GNU C library defines this for functions which it implements
1.18066 - to always fail with ENOSYS. Some functions are actually named
1.18067 - something starting with __ and the normal name is an alias. */
1.18068 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
1.18069 -choke me
1.18070 -#else
1.18071 -char (*f) () = shl_load;
1.18072 -#endif
1.18073 -#ifdef __cplusplus
1.18074 -}
1.18075 -#endif
1.18076 -
1.18077 -int
1.18078 -main ()
1.18079 -{
1.18080 -return f != shl_load;
1.18081 - ;
1.18082 - return 0;
1.18083 -}
1.18084 -_ACEOF
1.18085 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18086 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18087 - (eval $ac_link) 2>conftest.er1
1.18088 - ac_status=$?
1.18089 - grep -v '^ *+' conftest.er1 >conftest.err
1.18090 - rm -f conftest.er1
1.18091 - cat conftest.err >&5
1.18092 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18093 - (exit $ac_status); } &&
1.18094 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.18095 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18096 - (eval $ac_try) 2>&5
1.18097 - ac_status=$?
1.18098 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18099 - (exit $ac_status); }; } &&
1.18100 - { ac_try='test -s conftest$ac_exeext'
1.18101 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18102 - (eval $ac_try) 2>&5
1.18103 - ac_status=$?
1.18104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18105 - (exit $ac_status); }; }; then
1.18106 - ac_cv_func_shl_load=yes
1.18107 -else
1.18108 - echo "$as_me: failed program was:" >&5
1.18109 -sed 's/^/| /' conftest.$ac_ext >&5
1.18110 -
1.18111 -ac_cv_func_shl_load=no
1.18112 -fi
1.18113 -rm -f conftest.err conftest.$ac_objext \
1.18114 - conftest$ac_exeext conftest.$ac_ext
1.18115 -fi
1.18116 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
1.18117 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
1.18118 -if test $ac_cv_func_shl_load = yes; then
1.18119 - lt_cv_dlopen="shl_load"
1.18120 -else
1.18121 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
1.18122 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
1.18123 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
1.18124 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18125 -else
1.18126 - ac_check_lib_save_LIBS=$LIBS
1.18127 -LIBS="-ldld $LIBS"
1.18128 -cat >conftest.$ac_ext <<_ACEOF
1.18129 -/* confdefs.h. */
1.18130 -_ACEOF
1.18131 -cat confdefs.h >>conftest.$ac_ext
1.18132 -cat >>conftest.$ac_ext <<_ACEOF
1.18133 -/* end confdefs.h. */
1.18134 -
1.18135 -/* Override any gcc2 internal prototype to avoid an error. */
1.18136 -#ifdef __cplusplus
1.18137 -extern "C"
1.18138 -#endif
1.18139 -/* We use char because int might match the return type of a gcc2
1.18140 - builtin and then its argument prototype would still apply. */
1.18141 -char shl_load ();
1.18142 -int
1.18143 -main ()
1.18144 -{
1.18145 -shl_load ();
1.18146 - ;
1.18147 - return 0;
1.18148 -}
1.18149 -_ACEOF
1.18150 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18151 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18152 - (eval $ac_link) 2>conftest.er1
1.18153 - ac_status=$?
1.18154 - grep -v '^ *+' conftest.er1 >conftest.err
1.18155 - rm -f conftest.er1
1.18156 - cat conftest.err >&5
1.18157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18158 - (exit $ac_status); } &&
1.18159 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.18160 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18161 - (eval $ac_try) 2>&5
1.18162 - ac_status=$?
1.18163 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18164 - (exit $ac_status); }; } &&
1.18165 - { ac_try='test -s conftest$ac_exeext'
1.18166 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18167 - (eval $ac_try) 2>&5
1.18168 - ac_status=$?
1.18169 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18170 - (exit $ac_status); }; }; then
1.18171 - ac_cv_lib_dld_shl_load=yes
1.18172 -else
1.18173 - echo "$as_me: failed program was:" >&5
1.18174 -sed 's/^/| /' conftest.$ac_ext >&5
1.18175 -
1.18176 -ac_cv_lib_dld_shl_load=no
1.18177 -fi
1.18178 -rm -f conftest.err conftest.$ac_objext \
1.18179 - conftest$ac_exeext conftest.$ac_ext
1.18180 -LIBS=$ac_check_lib_save_LIBS
1.18181 -fi
1.18182 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1.18183 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
1.18184 -if test $ac_cv_lib_dld_shl_load = yes; then
1.18185 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1.18186 -else
1.18187 - echo "$as_me:$LINENO: checking for dlopen" >&5
1.18188 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
1.18189 -if test "${ac_cv_func_dlopen+set}" = set; then
1.18190 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18191 -else
1.18192 - cat >conftest.$ac_ext <<_ACEOF
1.18193 -/* confdefs.h. */
1.18194 -_ACEOF
1.18195 -cat confdefs.h >>conftest.$ac_ext
1.18196 -cat >>conftest.$ac_ext <<_ACEOF
1.18197 -/* end confdefs.h. */
1.18198 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
1.18199 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.18200 -#define dlopen innocuous_dlopen
1.18201 -
1.18202 -/* System header to define __stub macros and hopefully few prototypes,
1.18203 - which can conflict with char dlopen (); below.
1.18204 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.18205 - <limits.h> exists even on freestanding compilers. */
1.18206 -
1.18207 -#ifdef __STDC__
1.18208 -# include <limits.h>
1.18209 -#else
1.18210 -# include <assert.h>
1.18211 -#endif
1.18212 -
1.18213 -#undef dlopen
1.18214 -
1.18215 -/* Override any gcc2 internal prototype to avoid an error. */
1.18216 -#ifdef __cplusplus
1.18217 -extern "C"
1.18218 -{
1.18219 -#endif
1.18220 -/* We use char because int might match the return type of a gcc2
1.18221 - builtin and then its argument prototype would still apply. */
1.18222 -char dlopen ();
1.18223 -/* The GNU C library defines this for functions which it implements
1.18224 - to always fail with ENOSYS. Some functions are actually named
1.18225 - something starting with __ and the normal name is an alias. */
1.18226 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
1.18227 -choke me
1.18228 -#else
1.18229 -char (*f) () = dlopen;
1.18230 -#endif
1.18231 -#ifdef __cplusplus
1.18232 -}
1.18233 -#endif
1.18234 -
1.18235 -int
1.18236 -main ()
1.18237 -{
1.18238 -return f != dlopen;
1.18239 - ;
1.18240 - return 0;
1.18241 -}
1.18242 -_ACEOF
1.18243 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18244 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18245 - (eval $ac_link) 2>conftest.er1
1.18246 - ac_status=$?
1.18247 - grep -v '^ *+' conftest.er1 >conftest.err
1.18248 - rm -f conftest.er1
1.18249 - cat conftest.err >&5
1.18250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18251 - (exit $ac_status); } &&
1.18252 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.18253 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18254 - (eval $ac_try) 2>&5
1.18255 - ac_status=$?
1.18256 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18257 - (exit $ac_status); }; } &&
1.18258 - { ac_try='test -s conftest$ac_exeext'
1.18259 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18260 - (eval $ac_try) 2>&5
1.18261 - ac_status=$?
1.18262 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18263 - (exit $ac_status); }; }; then
1.18264 - ac_cv_func_dlopen=yes
1.18265 -else
1.18266 - echo "$as_me: failed program was:" >&5
1.18267 -sed 's/^/| /' conftest.$ac_ext >&5
1.18268 -
1.18269 -ac_cv_func_dlopen=no
1.18270 -fi
1.18271 -rm -f conftest.err conftest.$ac_objext \
1.18272 - conftest$ac_exeext conftest.$ac_ext
1.18273 -fi
1.18274 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
1.18275 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
1.18276 -if test $ac_cv_func_dlopen = yes; then
1.18277 - lt_cv_dlopen="dlopen"
1.18278 -else
1.18279 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
1.18280 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
1.18281 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
1.18282 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18283 -else
1.18284 - ac_check_lib_save_LIBS=$LIBS
1.18285 -LIBS="-ldl $LIBS"
1.18286 -cat >conftest.$ac_ext <<_ACEOF
1.18287 -/* confdefs.h. */
1.18288 -_ACEOF
1.18289 -cat confdefs.h >>conftest.$ac_ext
1.18290 -cat >>conftest.$ac_ext <<_ACEOF
1.18291 -/* end confdefs.h. */
1.18292 -
1.18293 -/* Override any gcc2 internal prototype to avoid an error. */
1.18294 -#ifdef __cplusplus
1.18295 -extern "C"
1.18296 -#endif
1.18297 -/* We use char because int might match the return type of a gcc2
1.18298 - builtin and then its argument prototype would still apply. */
1.18299 -char dlopen ();
1.18300 -int
1.18301 -main ()
1.18302 -{
1.18303 -dlopen ();
1.18304 - ;
1.18305 - return 0;
1.18306 -}
1.18307 -_ACEOF
1.18308 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18309 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18310 - (eval $ac_link) 2>conftest.er1
1.18311 - ac_status=$?
1.18312 - grep -v '^ *+' conftest.er1 >conftest.err
1.18313 - rm -f conftest.er1
1.18314 - cat conftest.err >&5
1.18315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18316 - (exit $ac_status); } &&
1.18317 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.18318 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18319 - (eval $ac_try) 2>&5
1.18320 - ac_status=$?
1.18321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18322 - (exit $ac_status); }; } &&
1.18323 - { ac_try='test -s conftest$ac_exeext'
1.18324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18325 - (eval $ac_try) 2>&5
1.18326 - ac_status=$?
1.18327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18328 - (exit $ac_status); }; }; then
1.18329 - ac_cv_lib_dl_dlopen=yes
1.18330 -else
1.18331 - echo "$as_me: failed program was:" >&5
1.18332 -sed 's/^/| /' conftest.$ac_ext >&5
1.18333 -
1.18334 -ac_cv_lib_dl_dlopen=no
1.18335 -fi
1.18336 -rm -f conftest.err conftest.$ac_objext \
1.18337 - conftest$ac_exeext conftest.$ac_ext
1.18338 -LIBS=$ac_check_lib_save_LIBS
1.18339 -fi
1.18340 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
1.18341 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
1.18342 -if test $ac_cv_lib_dl_dlopen = yes; then
1.18343 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.18344 -else
1.18345 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
1.18346 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
1.18347 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
1.18348 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18349 -else
1.18350 - ac_check_lib_save_LIBS=$LIBS
1.18351 -LIBS="-lsvld $LIBS"
1.18352 -cat >conftest.$ac_ext <<_ACEOF
1.18353 -/* confdefs.h. */
1.18354 -_ACEOF
1.18355 -cat confdefs.h >>conftest.$ac_ext
1.18356 -cat >>conftest.$ac_ext <<_ACEOF
1.18357 -/* end confdefs.h. */
1.18358 -
1.18359 -/* Override any gcc2 internal prototype to avoid an error. */
1.18360 -#ifdef __cplusplus
1.18361 -extern "C"
1.18362 -#endif
1.18363 -/* We use char because int might match the return type of a gcc2
1.18364 - builtin and then its argument prototype would still apply. */
1.18365 -char dlopen ();
1.18366 -int
1.18367 -main ()
1.18368 -{
1.18369 -dlopen ();
1.18370 - ;
1.18371 - return 0;
1.18372 -}
1.18373 -_ACEOF
1.18374 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18375 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18376 - (eval $ac_link) 2>conftest.er1
1.18377 - ac_status=$?
1.18378 - grep -v '^ *+' conftest.er1 >conftest.err
1.18379 - rm -f conftest.er1
1.18380 - cat conftest.err >&5
1.18381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18382 - (exit $ac_status); } &&
1.18383 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.18384 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18385 - (eval $ac_try) 2>&5
1.18386 - ac_status=$?
1.18387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18388 - (exit $ac_status); }; } &&
1.18389 - { ac_try='test -s conftest$ac_exeext'
1.18390 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18391 - (eval $ac_try) 2>&5
1.18392 - ac_status=$?
1.18393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18394 - (exit $ac_status); }; }; then
1.18395 - ac_cv_lib_svld_dlopen=yes
1.18396 -else
1.18397 - echo "$as_me: failed program was:" >&5
1.18398 -sed 's/^/| /' conftest.$ac_ext >&5
1.18399 -
1.18400 -ac_cv_lib_svld_dlopen=no
1.18401 -fi
1.18402 -rm -f conftest.err conftest.$ac_objext \
1.18403 - conftest$ac_exeext conftest.$ac_ext
1.18404 -LIBS=$ac_check_lib_save_LIBS
1.18405 -fi
1.18406 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
1.18407 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
1.18408 -if test $ac_cv_lib_svld_dlopen = yes; then
1.18409 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1.18410 -else
1.18411 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
1.18412 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
1.18413 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.18414 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18415 -else
1.18416 - ac_check_lib_save_LIBS=$LIBS
1.18417 -LIBS="-ldld $LIBS"
1.18418 -cat >conftest.$ac_ext <<_ACEOF
1.18419 -/* confdefs.h. */
1.18420 -_ACEOF
1.18421 -cat confdefs.h >>conftest.$ac_ext
1.18422 -cat >>conftest.$ac_ext <<_ACEOF
1.18423 -/* end confdefs.h. */
1.18424 -
1.18425 -/* Override any gcc2 internal prototype to avoid an error. */
1.18426 -#ifdef __cplusplus
1.18427 -extern "C"
1.18428 -#endif
1.18429 -/* We use char because int might match the return type of a gcc2
1.18430 - builtin and then its argument prototype would still apply. */
1.18431 -char dld_link ();
1.18432 -int
1.18433 -main ()
1.18434 -{
1.18435 -dld_link ();
1.18436 - ;
1.18437 - return 0;
1.18438 -}
1.18439 -_ACEOF
1.18440 -rm -f conftest.$ac_objext conftest$ac_exeext
1.18441 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18442 - (eval $ac_link) 2>conftest.er1
1.18443 - ac_status=$?
1.18444 - grep -v '^ *+' conftest.er1 >conftest.err
1.18445 - rm -f conftest.er1
1.18446 - cat conftest.err >&5
1.18447 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18448 - (exit $ac_status); } &&
1.18449 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.18450 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18451 - (eval $ac_try) 2>&5
1.18452 - ac_status=$?
1.18453 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18454 - (exit $ac_status); }; } &&
1.18455 - { ac_try='test -s conftest$ac_exeext'
1.18456 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.18457 - (eval $ac_try) 2>&5
1.18458 - ac_status=$?
1.18459 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18460 - (exit $ac_status); }; }; then
1.18461 - ac_cv_lib_dld_dld_link=yes
1.18462 -else
1.18463 - echo "$as_me: failed program was:" >&5
1.18464 -sed 's/^/| /' conftest.$ac_ext >&5
1.18465 -
1.18466 -ac_cv_lib_dld_dld_link=no
1.18467 -fi
1.18468 -rm -f conftest.err conftest.$ac_objext \
1.18469 - conftest$ac_exeext conftest.$ac_ext
1.18470 -LIBS=$ac_check_lib_save_LIBS
1.18471 -fi
1.18472 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1.18473 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
1.18474 -if test $ac_cv_lib_dld_dld_link = yes; then
1.18475 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1.18476 -fi
1.18477 -
1.18478 -
1.18479 -fi
1.18480 -
1.18481 -
1.18482 -fi
1.18483 -
1.18484 -
1.18485 -fi
1.18486 -
1.18487 -
1.18488 -fi
1.18489 -
1.18490 -
1.18491 -fi
1.18492 -
1.18493 - ;;
1.18494 - esac
1.18495 -
1.18496 - if test "x$lt_cv_dlopen" != xno; then
1.18497 - enable_dlopen=yes
1.18498 - else
1.18499 - enable_dlopen=no
1.18500 - fi
1.18501 -
1.18502 - case $lt_cv_dlopen in
1.18503 - dlopen)
1.18504 - save_CPPFLAGS="$CPPFLAGS"
1.18505 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.18506 -
1.18507 - save_LDFLAGS="$LDFLAGS"
1.18508 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.18509 -
1.18510 - save_LIBS="$LIBS"
1.18511 - LIBS="$lt_cv_dlopen_libs $LIBS"
1.18512 -
1.18513 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
1.18514 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
1.18515 -if test "${lt_cv_dlopen_self+set}" = set; then
1.18516 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18517 -else
1.18518 - if test "$cross_compiling" = yes; then :
1.18519 - lt_cv_dlopen_self=cross
1.18520 -else
1.18521 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.18522 - lt_status=$lt_dlunknown
1.18523 - cat > conftest.$ac_ext <<EOF
1.18524 -#line __oline__ "configure"
1.18525 -#include "confdefs.h"
1.18526 -
1.18527 -#if HAVE_DLFCN_H
1.18528 -#include <dlfcn.h>
1.18529 -#endif
1.18530 -
1.18531 -#include <stdio.h>
1.18532 -
1.18533 -#ifdef RTLD_GLOBAL
1.18534 -# define LT_DLGLOBAL RTLD_GLOBAL
1.18535 -#else
1.18536 -# ifdef DL_GLOBAL
1.18537 -# define LT_DLGLOBAL DL_GLOBAL
1.18538 -# else
1.18539 -# define LT_DLGLOBAL 0
1.18540 -# endif
1.18541 -#endif
1.18542 -
1.18543 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.18544 - find out it does not work in some platform. */
1.18545 -#ifndef LT_DLLAZY_OR_NOW
1.18546 -# ifdef RTLD_LAZY
1.18547 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.18548 -# else
1.18549 -# ifdef DL_LAZY
1.18550 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.18551 -# else
1.18552 -# ifdef RTLD_NOW
1.18553 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.18554 -# else
1.18555 -# ifdef DL_NOW
1.18556 -# define LT_DLLAZY_OR_NOW DL_NOW
1.18557 -# else
1.18558 -# define LT_DLLAZY_OR_NOW 0
1.18559 -# endif
1.18560 -# endif
1.18561 -# endif
1.18562 -# endif
1.18563 -#endif
1.18564 -
1.18565 -#ifdef __cplusplus
1.18566 -extern "C" void exit (int);
1.18567 -#endif
1.18568 -
1.18569 -void fnord() { int i=42;}
1.18570 -int main ()
1.18571 -{
1.18572 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.18573 - int status = $lt_dlunknown;
1.18574 -
1.18575 - if (self)
1.18576 - {
1.18577 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.18578 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.18579 - /* dlclose (self); */
1.18580 - }
1.18581 -
1.18582 - exit (status);
1.18583 -}
1.18584 -EOF
1.18585 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18586 - (eval $ac_link) 2>&5
1.18587 - ac_status=$?
1.18588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18589 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.18590 - (./conftest; exit; ) >&5 2>/dev/null
1.18591 - lt_status=$?
1.18592 - case x$lt_status in
1.18593 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1.18594 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.18595 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
1.18596 - esac
1.18597 - else :
1.18598 - # compilation failed
1.18599 - lt_cv_dlopen_self=no
1.18600 - fi
1.18601 -fi
1.18602 -rm -fr conftest*
1.18603 -
1.18604 -
1.18605 -fi
1.18606 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
1.18607 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
1.18608 -
1.18609 - if test "x$lt_cv_dlopen_self" = xyes; then
1.18610 - LDFLAGS="$LDFLAGS $link_static_flag"
1.18611 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
1.18612 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
1.18613 -if test "${lt_cv_dlopen_self_static+set}" = set; then
1.18614 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.18615 -else
1.18616 - if test "$cross_compiling" = yes; then :
1.18617 - lt_cv_dlopen_self_static=cross
1.18618 -else
1.18619 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.18620 - lt_status=$lt_dlunknown
1.18621 - cat > conftest.$ac_ext <<EOF
1.18622 -#line __oline__ "configure"
1.18623 -#include "confdefs.h"
1.18624 -
1.18625 -#if HAVE_DLFCN_H
1.18626 -#include <dlfcn.h>
1.18627 -#endif
1.18628 -
1.18629 -#include <stdio.h>
1.18630 -
1.18631 -#ifdef RTLD_GLOBAL
1.18632 -# define LT_DLGLOBAL RTLD_GLOBAL
1.18633 -#else
1.18634 -# ifdef DL_GLOBAL
1.18635 -# define LT_DLGLOBAL DL_GLOBAL
1.18636 -# else
1.18637 -# define LT_DLGLOBAL 0
1.18638 -# endif
1.18639 -#endif
1.18640 -
1.18641 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1.18642 - find out it does not work in some platform. */
1.18643 -#ifndef LT_DLLAZY_OR_NOW
1.18644 -# ifdef RTLD_LAZY
1.18645 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1.18646 -# else
1.18647 -# ifdef DL_LAZY
1.18648 -# define LT_DLLAZY_OR_NOW DL_LAZY
1.18649 -# else
1.18650 -# ifdef RTLD_NOW
1.18651 -# define LT_DLLAZY_OR_NOW RTLD_NOW
1.18652 -# else
1.18653 -# ifdef DL_NOW
1.18654 -# define LT_DLLAZY_OR_NOW DL_NOW
1.18655 -# else
1.18656 -# define LT_DLLAZY_OR_NOW 0
1.18657 -# endif
1.18658 -# endif
1.18659 -# endif
1.18660 -# endif
1.18661 -#endif
1.18662 -
1.18663 -#ifdef __cplusplus
1.18664 -extern "C" void exit (int);
1.18665 -#endif
1.18666 -
1.18667 -void fnord() { int i=42;}
1.18668 -int main ()
1.18669 -{
1.18670 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1.18671 - int status = $lt_dlunknown;
1.18672 -
1.18673 - if (self)
1.18674 - {
1.18675 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1.18676 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1.18677 - /* dlclose (self); */
1.18678 - }
1.18679 -
1.18680 - exit (status);
1.18681 -}
1.18682 -EOF
1.18683 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18684 - (eval $ac_link) 2>&5
1.18685 - ac_status=$?
1.18686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.18687 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.18688 - (./conftest; exit; ) >&5 2>/dev/null
1.18689 - lt_status=$?
1.18690 - case x$lt_status in
1.18691 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1.18692 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.18693 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
1.18694 - esac
1.18695 - else :
1.18696 - # compilation failed
1.18697 - lt_cv_dlopen_self_static=no
1.18698 - fi
1.18699 -fi
1.18700 -rm -fr conftest*
1.18701 -
1.18702 -
1.18703 -fi
1.18704 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
1.18705 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
1.18706 - fi
1.18707 -
1.18708 - CPPFLAGS="$save_CPPFLAGS"
1.18709 - LDFLAGS="$save_LDFLAGS"
1.18710 - LIBS="$save_LIBS"
1.18711 - ;;
1.18712 - esac
1.18713 -
1.18714 - case $lt_cv_dlopen_self in
1.18715 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1.18716 - *) enable_dlopen_self=unknown ;;
1.18717 - esac
1.18718 -
1.18719 - case $lt_cv_dlopen_self_static in
1.18720 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1.18721 - *) enable_dlopen_self_static=unknown ;;
1.18722 - esac
1.18723 -fi
1.18724 -
1.18725 -
1.18726 -# The else clause should only fire when bootstrapping the
1.18727 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.18728 -# with your package, and you will get complaints that there are
1.18729 -# no rules to generate ltmain.sh.
1.18730 -if test -f "$ltmain"; then
1.18731 - # See if we are running on zsh, and set the options which allow our commands through
1.18732 - # without removal of \ escapes.
1.18733 - if test -n "${ZSH_VERSION+set}" ; then
1.18734 - setopt NO_GLOB_SUBST
1.18735 - fi
1.18736 - # Now quote all the things that may contain metacharacters while being
1.18737 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.18738 - # variables and quote the copies for generation of the libtool script.
1.18739 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.18740 - SED SHELL STRIP \
1.18741 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.18742 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.18743 - deplibs_check_method reload_flag reload_cmds need_locks \
1.18744 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.18745 - lt_cv_sys_global_symbol_to_c_name_address \
1.18746 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.18747 - old_postinstall_cmds old_postuninstall_cmds \
1.18748 - compiler_GCJ \
1.18749 - CC_GCJ \
1.18750 - LD_GCJ \
1.18751 - lt_prog_compiler_wl_GCJ \
1.18752 - lt_prog_compiler_pic_GCJ \
1.18753 - lt_prog_compiler_static_GCJ \
1.18754 - lt_prog_compiler_no_builtin_flag_GCJ \
1.18755 - export_dynamic_flag_spec_GCJ \
1.18756 - thread_safe_flag_spec_GCJ \
1.18757 - whole_archive_flag_spec_GCJ \
1.18758 - enable_shared_with_static_runtimes_GCJ \
1.18759 - old_archive_cmds_GCJ \
1.18760 - old_archive_from_new_cmds_GCJ \
1.18761 - predep_objects_GCJ \
1.18762 - postdep_objects_GCJ \
1.18763 - predeps_GCJ \
1.18764 - postdeps_GCJ \
1.18765 - compiler_lib_search_path_GCJ \
1.18766 - archive_cmds_GCJ \
1.18767 - archive_expsym_cmds_GCJ \
1.18768 - postinstall_cmds_GCJ \
1.18769 - postuninstall_cmds_GCJ \
1.18770 - old_archive_from_expsyms_cmds_GCJ \
1.18771 - allow_undefined_flag_GCJ \
1.18772 - no_undefined_flag_GCJ \
1.18773 - export_symbols_cmds_GCJ \
1.18774 - hardcode_libdir_flag_spec_GCJ \
1.18775 - hardcode_libdir_flag_spec_ld_GCJ \
1.18776 - hardcode_libdir_separator_GCJ \
1.18777 - hardcode_automatic_GCJ \
1.18778 - module_cmds_GCJ \
1.18779 - module_expsym_cmds_GCJ \
1.18780 - lt_cv_prog_compiler_c_o_GCJ \
1.18781 - exclude_expsyms_GCJ \
1.18782 - include_expsyms_GCJ; do
1.18783 -
1.18784 - case $var in
1.18785 - old_archive_cmds_GCJ | \
1.18786 - old_archive_from_new_cmds_GCJ | \
1.18787 - archive_cmds_GCJ | \
1.18788 - archive_expsym_cmds_GCJ | \
1.18789 - module_cmds_GCJ | \
1.18790 - module_expsym_cmds_GCJ | \
1.18791 - old_archive_from_expsyms_cmds_GCJ | \
1.18792 - export_symbols_cmds_GCJ | \
1.18793 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.18794 - postinstall_cmds | postuninstall_cmds | \
1.18795 - old_postinstall_cmds | old_postuninstall_cmds | \
1.18796 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.18797 - # Double-quote double-evaled strings.
1.18798 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.18799 - ;;
1.18800 - *)
1.18801 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.18802 - ;;
1.18803 - esac
1.18804 - done
1.18805 -
1.18806 - case $lt_echo in
1.18807 - *'\$0 --fallback-echo"')
1.18808 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.18809 - ;;
1.18810 - esac
1.18811 -
1.18812 -cfgfile="$ofile"
1.18813 -
1.18814 - cat <<__EOF__ >> "$cfgfile"
1.18815 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.18816 -
1.18817 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.18818 -
1.18819 -# Shell to use when invoking shell scripts.
1.18820 -SHELL=$lt_SHELL
1.18821 -
1.18822 -# Whether or not to build shared libraries.
1.18823 -build_libtool_libs=$enable_shared
1.18824 -
1.18825 -# Whether or not to build static libraries.
1.18826 -build_old_libs=$enable_static
1.18827 -
1.18828 -# Whether or not to add -lc for building shared libraries.
1.18829 -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
1.18830 -
1.18831 -# Whether or not to disallow shared libs when runtime libs are static
1.18832 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
1.18833 -
1.18834 -# Whether or not to optimize for fast installation.
1.18835 -fast_install=$enable_fast_install
1.18836 -
1.18837 -# The host system.
1.18838 -host_alias=$host_alias
1.18839 -host=$host
1.18840 -host_os=$host_os
1.18841 -
1.18842 -# The build system.
1.18843 -build_alias=$build_alias
1.18844 -build=$build
1.18845 -build_os=$build_os
1.18846 -
1.18847 -# An echo program that does not interpret backslashes.
1.18848 -echo=$lt_echo
1.18849 -
1.18850 -# The archiver.
1.18851 -AR=$lt_AR
1.18852 -AR_FLAGS=$lt_AR_FLAGS
1.18853 -
1.18854 -# A C compiler.
1.18855 -LTCC=$lt_LTCC
1.18856 -
1.18857 -# A language-specific compiler.
1.18858 -CC=$lt_compiler_GCJ
1.18859 -
1.18860 -# Is the compiler the GNU C compiler?
1.18861 -with_gcc=$GCC_GCJ
1.18862 -
1.18863 -# An ERE matcher.
1.18864 -EGREP=$lt_EGREP
1.18865 -
1.18866 -# The linker used to build libraries.
1.18867 -LD=$lt_LD_GCJ
1.18868 -
1.18869 -# Whether we need hard or soft links.
1.18870 -LN_S=$lt_LN_S
1.18871 -
1.18872 -# A BSD-compatible nm program.
1.18873 -NM=$lt_NM
1.18874 -
1.18875 -# A symbol stripping program
1.18876 -STRIP=$lt_STRIP
1.18877 -
1.18878 -# Used to examine libraries when file_magic_cmd begins "file"
1.18879 -MAGIC_CMD=$MAGIC_CMD
1.18880 -
1.18881 -# Used on cygwin: DLL creation program.
1.18882 -DLLTOOL="$DLLTOOL"
1.18883 -
1.18884 -# Used on cygwin: object dumper.
1.18885 -OBJDUMP="$OBJDUMP"
1.18886 -
1.18887 -# Used on cygwin: assembler.
1.18888 -AS="$AS"
1.18889 -
1.18890 -# The name of the directory that contains temporary libtool files.
1.18891 -objdir=$objdir
1.18892 -
1.18893 -# How to create reloadable object files.
1.18894 -reload_flag=$lt_reload_flag
1.18895 -reload_cmds=$lt_reload_cmds
1.18896 -
1.18897 -# How to pass a linker flag through the compiler.
1.18898 -wl=$lt_lt_prog_compiler_wl_GCJ
1.18899 -
1.18900 -# Object file suffix (normally "o").
1.18901 -objext="$ac_objext"
1.18902 -
1.18903 -# Old archive suffix (normally "a").
1.18904 -libext="$libext"
1.18905 -
1.18906 -# Shared library suffix (normally ".so").
1.18907 -shrext_cmds='$shrext_cmds'
1.18908 -
1.18909 -# Executable file suffix (normally "").
1.18910 -exeext="$exeext"
1.18911 -
1.18912 -# Additional compiler flags for building library objects.
1.18913 -pic_flag=$lt_lt_prog_compiler_pic_GCJ
1.18914 -pic_mode=$pic_mode
1.18915 -
1.18916 -# What is the maximum length of a command?
1.18917 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.18918 -
1.18919 -# Does compiler simultaneously support -c and -o options?
1.18920 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
1.18921 -
1.18922 -# Must we lock files when doing compilation?
1.18923 -need_locks=$lt_need_locks
1.18924 -
1.18925 -# Do we need the lib prefix for modules?
1.18926 -need_lib_prefix=$need_lib_prefix
1.18927 -
1.18928 -# Do we need a version for libraries?
1.18929 -need_version=$need_version
1.18930 -
1.18931 -# Whether dlopen is supported.
1.18932 -dlopen_support=$enable_dlopen
1.18933 -
1.18934 -# Whether dlopen of programs is supported.
1.18935 -dlopen_self=$enable_dlopen_self
1.18936 -
1.18937 -# Whether dlopen of statically linked programs is supported.
1.18938 -dlopen_self_static=$enable_dlopen_self_static
1.18939 -
1.18940 -# Compiler flag to prevent dynamic linking.
1.18941 -link_static_flag=$lt_lt_prog_compiler_static_GCJ
1.18942 -
1.18943 -# Compiler flag to turn off builtin functions.
1.18944 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
1.18945 -
1.18946 -# Compiler flag to allow reflexive dlopens.
1.18947 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
1.18948 -
1.18949 -# Compiler flag to generate shared objects directly from archives.
1.18950 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
1.18951 -
1.18952 -# Compiler flag to generate thread-safe objects.
1.18953 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
1.18954 -
1.18955 -# Library versioning type.
1.18956 -version_type=$version_type
1.18957 -
1.18958 -# Format of library name prefix.
1.18959 -libname_spec=$lt_libname_spec
1.18960 -
1.18961 -# List of archive names. First name is the real one, the rest are links.
1.18962 -# The last name is the one that the linker finds with -lNAME.
1.18963 -library_names_spec=$lt_library_names_spec
1.18964 -
1.18965 -# The coded name of the library, if different from the real name.
1.18966 -soname_spec=$lt_soname_spec
1.18967 -
1.18968 -# Commands used to build and install an old-style archive.
1.18969 -RANLIB=$lt_RANLIB
1.18970 -old_archive_cmds=$lt_old_archive_cmds_GCJ
1.18971 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.18972 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.18973 -
1.18974 -# Create an old-style archive from a shared archive.
1.18975 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
1.18976 -
1.18977 -# Create a temporary old-style archive to link instead of a shared archive.
1.18978 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
1.18979 -
1.18980 -# Commands used to build and install a shared archive.
1.18981 -archive_cmds=$lt_archive_cmds_GCJ
1.18982 -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
1.18983 -postinstall_cmds=$lt_postinstall_cmds
1.18984 -postuninstall_cmds=$lt_postuninstall_cmds
1.18985 -
1.18986 -# Commands used to build a loadable module (assumed same as above if empty)
1.18987 -module_cmds=$lt_module_cmds_GCJ
1.18988 -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
1.18989 -
1.18990 -# Commands to strip libraries.
1.18991 -old_striplib=$lt_old_striplib
1.18992 -striplib=$lt_striplib
1.18993 -
1.18994 -# Dependencies to place before the objects being linked to create a
1.18995 -# shared library.
1.18996 -predep_objects=$lt_predep_objects_GCJ
1.18997 -
1.18998 -# Dependencies to place after the objects being linked to create a
1.18999 -# shared library.
1.19000 -postdep_objects=$lt_postdep_objects_GCJ
1.19001 -
1.19002 -# Dependencies to place before the objects being linked to create a
1.19003 -# shared library.
1.19004 -predeps=$lt_predeps_GCJ
1.19005 -
1.19006 -# Dependencies to place after the objects being linked to create a
1.19007 -# shared library.
1.19008 -postdeps=$lt_postdeps_GCJ
1.19009 -
1.19010 -# The library search path used internally by the compiler when linking
1.19011 -# a shared library.
1.19012 -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
1.19013 -
1.19014 -# Method to check whether dependent libraries are shared objects.
1.19015 -deplibs_check_method=$lt_deplibs_check_method
1.19016 -
1.19017 -# Command to use when deplibs_check_method == file_magic.
1.19018 -file_magic_cmd=$lt_file_magic_cmd
1.19019 -
1.19020 -# Flag that allows shared libraries with undefined symbols to be built.
1.19021 -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
1.19022 -
1.19023 -# Flag that forces no undefined symbols.
1.19024 -no_undefined_flag=$lt_no_undefined_flag_GCJ
1.19025 -
1.19026 -# Commands used to finish a libtool library installation in a directory.
1.19027 -finish_cmds=$lt_finish_cmds
1.19028 -
1.19029 -# Same as above, but a single script fragment to be evaled but not shown.
1.19030 -finish_eval=$lt_finish_eval
1.19031 -
1.19032 -# Take the output of nm and produce a listing of raw symbols and C names.
1.19033 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.19034 -
1.19035 -# Transform the output of nm in a proper C declaration
1.19036 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.19037 -
1.19038 -# Transform the output of nm in a C name address pair
1.19039 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.19040 -
1.19041 -# This is the shared library runtime path variable.
1.19042 -runpath_var=$runpath_var
1.19043 -
1.19044 -# This is the shared library path variable.
1.19045 -shlibpath_var=$shlibpath_var
1.19046 -
1.19047 -# Is shlibpath searched before the hard-coded library search path?
1.19048 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.19049 -
1.19050 -# How to hardcode a shared library path into an executable.
1.19051 -hardcode_action=$hardcode_action_GCJ
1.19052 -
1.19053 -# Whether we should hardcode library paths into libraries.
1.19054 -hardcode_into_libs=$hardcode_into_libs
1.19055 -
1.19056 -# Flag to hardcode \$libdir into a binary during linking.
1.19057 -# This must work even if \$libdir does not exist.
1.19058 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
1.19059 -
1.19060 -# If ld is used when linking, flag to hardcode \$libdir into
1.19061 -# a binary during linking. This must work even if \$libdir does
1.19062 -# not exist.
1.19063 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
1.19064 -
1.19065 -# Whether we need a single -rpath flag with a separated argument.
1.19066 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
1.19067 -
1.19068 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.19069 -# resulting binary.
1.19070 -hardcode_direct=$hardcode_direct_GCJ
1.19071 -
1.19072 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.19073 -# resulting binary.
1.19074 -hardcode_minus_L=$hardcode_minus_L_GCJ
1.19075 -
1.19076 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.19077 -# the resulting binary.
1.19078 -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
1.19079 -
1.19080 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.19081 -# and all subsequent libraries and executables linked against it.
1.19082 -hardcode_automatic=$hardcode_automatic_GCJ
1.19083 -
1.19084 -# Variables whose values should be saved in libtool wrapper scripts and
1.19085 -# restored at relink time.
1.19086 -variables_saved_for_relink="$variables_saved_for_relink"
1.19087 -
1.19088 -# Whether libtool must link a program against all its dependency libraries.
1.19089 -link_all_deplibs=$link_all_deplibs_GCJ
1.19090 -
1.19091 -# Compile-time system search path for libraries
1.19092 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.19093 -
1.19094 -# Run-time system search path for libraries
1.19095 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.19096 -
1.19097 -# Fix the shell variable \$srcfile for the compiler.
1.19098 -fix_srcfile_path="$fix_srcfile_path_GCJ"
1.19099 -
1.19100 -# Set to yes if exported symbols are required.
1.19101 -always_export_symbols=$always_export_symbols_GCJ
1.19102 -
1.19103 -# The commands to list exported symbols.
1.19104 -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
1.19105 -
1.19106 -# The commands to extract the exported symbol list from a shared archive.
1.19107 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.19108 -
1.19109 -# Symbols that should not be listed in the preloaded symbols.
1.19110 -exclude_expsyms=$lt_exclude_expsyms_GCJ
1.19111 -
1.19112 -# Symbols that must always be exported.
1.19113 -include_expsyms=$lt_include_expsyms_GCJ
1.19114 -
1.19115 -# ### END LIBTOOL TAG CONFIG: $tagname
1.19116 -
1.19117 -__EOF__
1.19118 -
1.19119 -
1.19120 -else
1.19121 - # If there is no Makefile yet, we rely on a make rule to execute
1.19122 - # `config.status --recheck' to rerun these tests and create the
1.19123 - # libtool script then.
1.19124 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.19125 - if test -f "$ltmain_in"; then
1.19126 - test -f Makefile && make "$ltmain"
1.19127 - fi
1.19128 -fi
1.19129 -
1.19130 -
1.19131 -ac_ext=c
1.19132 -ac_cpp='$CPP $CPPFLAGS'
1.19133 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19134 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19135 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19136 -
1.19137 -CC="$lt_save_CC"
1.19138 -
1.19139 - else
1.19140 - tagname=""
1.19141 - fi
1.19142 - ;;
1.19143 -
1.19144 - RC)
1.19145 -
1.19146 -
1.19147 -
1.19148 -# Source file extension for RC test sources.
1.19149 -ac_ext=rc
1.19150 -
1.19151 -# Object file extension for compiled RC test sources.
1.19152 -objext=o
1.19153 -objext_RC=$objext
1.19154 -
1.19155 -# Code to be used in simple compile tests
1.19156 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
1.19157 -
1.19158 -# Code to be used in simple link tests
1.19159 -lt_simple_link_test_code="$lt_simple_compile_test_code"
1.19160 -
1.19161 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
1.19162 -
1.19163 -# If no C compiler was specified, use CC.
1.19164 -LTCC=${LTCC-"$CC"}
1.19165 -
1.19166 -# Allow CC to be a program name with arguments.
1.19167 -compiler=$CC
1.19168 -
1.19169 -
1.19170 -# save warnings/boilerplate of simple test code
1.19171 -ac_outfile=conftest.$ac_objext
1.19172 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1.19173 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.19174 -_lt_compiler_boilerplate=`cat conftest.err`
1.19175 -$rm conftest*
1.19176 -
1.19177 -ac_outfile=conftest.$ac_objext
1.19178 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
1.19179 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1.19180 -_lt_linker_boilerplate=`cat conftest.err`
1.19181 -$rm conftest*
1.19182 -
1.19183 -
1.19184 -# Allow CC to be a program name with arguments.
1.19185 -lt_save_CC="$CC"
1.19186 -CC=${RC-"windres"}
1.19187 -compiler=$CC
1.19188 -compiler_RC=$CC
1.19189 -for cc_temp in $compiler""; do
1.19190 - case $cc_temp in
1.19191 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1.19192 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1.19193 - \-*) ;;
1.19194 - *) break;;
1.19195 - esac
1.19196 -done
1.19197 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1.19198 -
1.19199 -lt_cv_prog_compiler_c_o_RC=yes
1.19200 -
1.19201 -# The else clause should only fire when bootstrapping the
1.19202 -# libtool distribution, otherwise you forgot to ship ltmain.sh
1.19203 -# with your package, and you will get complaints that there are
1.19204 -# no rules to generate ltmain.sh.
1.19205 -if test -f "$ltmain"; then
1.19206 - # See if we are running on zsh, and set the options which allow our commands through
1.19207 - # without removal of \ escapes.
1.19208 - if test -n "${ZSH_VERSION+set}" ; then
1.19209 - setopt NO_GLOB_SUBST
1.19210 - fi
1.19211 - # Now quote all the things that may contain metacharacters while being
1.19212 - # careful not to overquote the AC_SUBSTed values. We take copies of the
1.19213 - # variables and quote the copies for generation of the libtool script.
1.19214 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1.19215 - SED SHELL STRIP \
1.19216 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1.19217 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1.19218 - deplibs_check_method reload_flag reload_cmds need_locks \
1.19219 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
1.19220 - lt_cv_sys_global_symbol_to_c_name_address \
1.19221 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1.19222 - old_postinstall_cmds old_postuninstall_cmds \
1.19223 - compiler_RC \
1.19224 - CC_RC \
1.19225 - LD_RC \
1.19226 - lt_prog_compiler_wl_RC \
1.19227 - lt_prog_compiler_pic_RC \
1.19228 - lt_prog_compiler_static_RC \
1.19229 - lt_prog_compiler_no_builtin_flag_RC \
1.19230 - export_dynamic_flag_spec_RC \
1.19231 - thread_safe_flag_spec_RC \
1.19232 - whole_archive_flag_spec_RC \
1.19233 - enable_shared_with_static_runtimes_RC \
1.19234 - old_archive_cmds_RC \
1.19235 - old_archive_from_new_cmds_RC \
1.19236 - predep_objects_RC \
1.19237 - postdep_objects_RC \
1.19238 - predeps_RC \
1.19239 - postdeps_RC \
1.19240 - compiler_lib_search_path_RC \
1.19241 - archive_cmds_RC \
1.19242 - archive_expsym_cmds_RC \
1.19243 - postinstall_cmds_RC \
1.19244 - postuninstall_cmds_RC \
1.19245 - old_archive_from_expsyms_cmds_RC \
1.19246 - allow_undefined_flag_RC \
1.19247 - no_undefined_flag_RC \
1.19248 - export_symbols_cmds_RC \
1.19249 - hardcode_libdir_flag_spec_RC \
1.19250 - hardcode_libdir_flag_spec_ld_RC \
1.19251 - hardcode_libdir_separator_RC \
1.19252 - hardcode_automatic_RC \
1.19253 - module_cmds_RC \
1.19254 - module_expsym_cmds_RC \
1.19255 - lt_cv_prog_compiler_c_o_RC \
1.19256 - exclude_expsyms_RC \
1.19257 - include_expsyms_RC; do
1.19258 -
1.19259 - case $var in
1.19260 - old_archive_cmds_RC | \
1.19261 - old_archive_from_new_cmds_RC | \
1.19262 - archive_cmds_RC | \
1.19263 - archive_expsym_cmds_RC | \
1.19264 - module_cmds_RC | \
1.19265 - module_expsym_cmds_RC | \
1.19266 - old_archive_from_expsyms_cmds_RC | \
1.19267 - export_symbols_cmds_RC | \
1.19268 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
1.19269 - postinstall_cmds | postuninstall_cmds | \
1.19270 - old_postinstall_cmds | old_postuninstall_cmds | \
1.19271 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
1.19272 - # Double-quote double-evaled strings.
1.19273 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
1.19274 - ;;
1.19275 - *)
1.19276 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
1.19277 - ;;
1.19278 - esac
1.19279 - done
1.19280 -
1.19281 - case $lt_echo in
1.19282 - *'\$0 --fallback-echo"')
1.19283 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
1.19284 - ;;
1.19285 - esac
1.19286 -
1.19287 -cfgfile="$ofile"
1.19288 -
1.19289 - cat <<__EOF__ >> "$cfgfile"
1.19290 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
1.19291 -
1.19292 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1.19293 -
1.19294 -# Shell to use when invoking shell scripts.
1.19295 -SHELL=$lt_SHELL
1.19296 -
1.19297 -# Whether or not to build shared libraries.
1.19298 -build_libtool_libs=$enable_shared
1.19299 -
1.19300 -# Whether or not to build static libraries.
1.19301 -build_old_libs=$enable_static
1.19302 -
1.19303 -# Whether or not to add -lc for building shared libraries.
1.19304 -build_libtool_need_lc=$archive_cmds_need_lc_RC
1.19305 -
1.19306 -# Whether or not to disallow shared libs when runtime libs are static
1.19307 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
1.19308 -
1.19309 -# Whether or not to optimize for fast installation.
1.19310 -fast_install=$enable_fast_install
1.19311 -
1.19312 -# The host system.
1.19313 -host_alias=$host_alias
1.19314 -host=$host
1.19315 -host_os=$host_os
1.19316 -
1.19317 -# The build system.
1.19318 -build_alias=$build_alias
1.19319 -build=$build
1.19320 -build_os=$build_os
1.19321 -
1.19322 -# An echo program that does not interpret backslashes.
1.19323 -echo=$lt_echo
1.19324 -
1.19325 -# The archiver.
1.19326 -AR=$lt_AR
1.19327 -AR_FLAGS=$lt_AR_FLAGS
1.19328 -
1.19329 -# A C compiler.
1.19330 -LTCC=$lt_LTCC
1.19331 -
1.19332 -# A language-specific compiler.
1.19333 -CC=$lt_compiler_RC
1.19334 -
1.19335 -# Is the compiler the GNU C compiler?
1.19336 -with_gcc=$GCC_RC
1.19337 -
1.19338 -# An ERE matcher.
1.19339 -EGREP=$lt_EGREP
1.19340 -
1.19341 -# The linker used to build libraries.
1.19342 -LD=$lt_LD_RC
1.19343 -
1.19344 -# Whether we need hard or soft links.
1.19345 -LN_S=$lt_LN_S
1.19346 -
1.19347 -# A BSD-compatible nm program.
1.19348 -NM=$lt_NM
1.19349 -
1.19350 -# A symbol stripping program
1.19351 -STRIP=$lt_STRIP
1.19352 -
1.19353 -# Used to examine libraries when file_magic_cmd begins "file"
1.19354 -MAGIC_CMD=$MAGIC_CMD
1.19355 -
1.19356 -# Used on cygwin: DLL creation program.
1.19357 -DLLTOOL="$DLLTOOL"
1.19358 -
1.19359 -# Used on cygwin: object dumper.
1.19360 -OBJDUMP="$OBJDUMP"
1.19361 -
1.19362 -# Used on cygwin: assembler.
1.19363 -AS="$AS"
1.19364 -
1.19365 -# The name of the directory that contains temporary libtool files.
1.19366 -objdir=$objdir
1.19367 -
1.19368 -# How to create reloadable object files.
1.19369 -reload_flag=$lt_reload_flag
1.19370 -reload_cmds=$lt_reload_cmds
1.19371 -
1.19372 -# How to pass a linker flag through the compiler.
1.19373 -wl=$lt_lt_prog_compiler_wl_RC
1.19374 -
1.19375 -# Object file suffix (normally "o").
1.19376 -objext="$ac_objext"
1.19377 -
1.19378 -# Old archive suffix (normally "a").
1.19379 -libext="$libext"
1.19380 -
1.19381 -# Shared library suffix (normally ".so").
1.19382 -shrext_cmds='$shrext_cmds'
1.19383 -
1.19384 -# Executable file suffix (normally "").
1.19385 -exeext="$exeext"
1.19386 -
1.19387 -# Additional compiler flags for building library objects.
1.19388 -pic_flag=$lt_lt_prog_compiler_pic_RC
1.19389 -pic_mode=$pic_mode
1.19390 -
1.19391 -# What is the maximum length of a command?
1.19392 -max_cmd_len=$lt_cv_sys_max_cmd_len
1.19393 -
1.19394 -# Does compiler simultaneously support -c and -o options?
1.19395 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
1.19396 -
1.19397 -# Must we lock files when doing compilation?
1.19398 -need_locks=$lt_need_locks
1.19399 -
1.19400 -# Do we need the lib prefix for modules?
1.19401 -need_lib_prefix=$need_lib_prefix
1.19402 -
1.19403 -# Do we need a version for libraries?
1.19404 -need_version=$need_version
1.19405 -
1.19406 -# Whether dlopen is supported.
1.19407 -dlopen_support=$enable_dlopen
1.19408 -
1.19409 -# Whether dlopen of programs is supported.
1.19410 -dlopen_self=$enable_dlopen_self
1.19411 -
1.19412 -# Whether dlopen of statically linked programs is supported.
1.19413 -dlopen_self_static=$enable_dlopen_self_static
1.19414 -
1.19415 -# Compiler flag to prevent dynamic linking.
1.19416 -link_static_flag=$lt_lt_prog_compiler_static_RC
1.19417 -
1.19418 -# Compiler flag to turn off builtin functions.
1.19419 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
1.19420 -
1.19421 -# Compiler flag to allow reflexive dlopens.
1.19422 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
1.19423 -
1.19424 -# Compiler flag to generate shared objects directly from archives.
1.19425 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
1.19426 -
1.19427 -# Compiler flag to generate thread-safe objects.
1.19428 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
1.19429 -
1.19430 -# Library versioning type.
1.19431 -version_type=$version_type
1.19432 -
1.19433 -# Format of library name prefix.
1.19434 -libname_spec=$lt_libname_spec
1.19435 -
1.19436 -# List of archive names. First name is the real one, the rest are links.
1.19437 -# The last name is the one that the linker finds with -lNAME.
1.19438 -library_names_spec=$lt_library_names_spec
1.19439 -
1.19440 -# The coded name of the library, if different from the real name.
1.19441 -soname_spec=$lt_soname_spec
1.19442 -
1.19443 -# Commands used to build and install an old-style archive.
1.19444 -RANLIB=$lt_RANLIB
1.19445 -old_archive_cmds=$lt_old_archive_cmds_RC
1.19446 -old_postinstall_cmds=$lt_old_postinstall_cmds
1.19447 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.19448 -
1.19449 -# Create an old-style archive from a shared archive.
1.19450 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
1.19451 -
1.19452 -# Create a temporary old-style archive to link instead of a shared archive.
1.19453 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
1.19454 -
1.19455 -# Commands used to build and install a shared archive.
1.19456 -archive_cmds=$lt_archive_cmds_RC
1.19457 -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
1.19458 -postinstall_cmds=$lt_postinstall_cmds
1.19459 -postuninstall_cmds=$lt_postuninstall_cmds
1.19460 -
1.19461 -# Commands used to build a loadable module (assumed same as above if empty)
1.19462 -module_cmds=$lt_module_cmds_RC
1.19463 -module_expsym_cmds=$lt_module_expsym_cmds_RC
1.19464 -
1.19465 -# Commands to strip libraries.
1.19466 -old_striplib=$lt_old_striplib
1.19467 -striplib=$lt_striplib
1.19468 -
1.19469 -# Dependencies to place before the objects being linked to create a
1.19470 -# shared library.
1.19471 -predep_objects=$lt_predep_objects_RC
1.19472 -
1.19473 -# Dependencies to place after the objects being linked to create a
1.19474 -# shared library.
1.19475 -postdep_objects=$lt_postdep_objects_RC
1.19476 -
1.19477 -# Dependencies to place before the objects being linked to create a
1.19478 -# shared library.
1.19479 -predeps=$lt_predeps_RC
1.19480 -
1.19481 -# Dependencies to place after the objects being linked to create a
1.19482 -# shared library.
1.19483 -postdeps=$lt_postdeps_RC
1.19484 -
1.19485 -# The library search path used internally by the compiler when linking
1.19486 -# a shared library.
1.19487 -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
1.19488 -
1.19489 -# Method to check whether dependent libraries are shared objects.
1.19490 -deplibs_check_method=$lt_deplibs_check_method
1.19491 -
1.19492 -# Command to use when deplibs_check_method == file_magic.
1.19493 -file_magic_cmd=$lt_file_magic_cmd
1.19494 -
1.19495 -# Flag that allows shared libraries with undefined symbols to be built.
1.19496 -allow_undefined_flag=$lt_allow_undefined_flag_RC
1.19497 -
1.19498 -# Flag that forces no undefined symbols.
1.19499 -no_undefined_flag=$lt_no_undefined_flag_RC
1.19500 -
1.19501 -# Commands used to finish a libtool library installation in a directory.
1.19502 -finish_cmds=$lt_finish_cmds
1.19503 -
1.19504 -# Same as above, but a single script fragment to be evaled but not shown.
1.19505 -finish_eval=$lt_finish_eval
1.19506 -
1.19507 -# Take the output of nm and produce a listing of raw symbols and C names.
1.19508 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.19509 -
1.19510 -# Transform the output of nm in a proper C declaration
1.19511 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.19512 -
1.19513 -# Transform the output of nm in a C name address pair
1.19514 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.19515 -
1.19516 -# This is the shared library runtime path variable.
1.19517 -runpath_var=$runpath_var
1.19518 -
1.19519 -# This is the shared library path variable.
1.19520 -shlibpath_var=$shlibpath_var
1.19521 -
1.19522 -# Is shlibpath searched before the hard-coded library search path?
1.19523 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.19524 -
1.19525 -# How to hardcode a shared library path into an executable.
1.19526 -hardcode_action=$hardcode_action_RC
1.19527 -
1.19528 -# Whether we should hardcode library paths into libraries.
1.19529 -hardcode_into_libs=$hardcode_into_libs
1.19530 -
1.19531 -# Flag to hardcode \$libdir into a binary during linking.
1.19532 -# This must work even if \$libdir does not exist.
1.19533 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
1.19534 -
1.19535 -# If ld is used when linking, flag to hardcode \$libdir into
1.19536 -# a binary during linking. This must work even if \$libdir does
1.19537 -# not exist.
1.19538 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
1.19539 -
1.19540 -# Whether we need a single -rpath flag with a separated argument.
1.19541 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
1.19542 -
1.19543 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
1.19544 -# resulting binary.
1.19545 -hardcode_direct=$hardcode_direct_RC
1.19546 -
1.19547 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
1.19548 -# resulting binary.
1.19549 -hardcode_minus_L=$hardcode_minus_L_RC
1.19550 -
1.19551 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
1.19552 -# the resulting binary.
1.19553 -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
1.19554 -
1.19555 -# Set to yes if building a shared library automatically hardcodes DIR into the library
1.19556 -# and all subsequent libraries and executables linked against it.
1.19557 -hardcode_automatic=$hardcode_automatic_RC
1.19558 -
1.19559 -# Variables whose values should be saved in libtool wrapper scripts and
1.19560 -# restored at relink time.
1.19561 -variables_saved_for_relink="$variables_saved_for_relink"
1.19562 -
1.19563 -# Whether libtool must link a program against all its dependency libraries.
1.19564 -link_all_deplibs=$link_all_deplibs_RC
1.19565 -
1.19566 -# Compile-time system search path for libraries
1.19567 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.19568 -
1.19569 -# Run-time system search path for libraries
1.19570 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.19571 -
1.19572 -# Fix the shell variable \$srcfile for the compiler.
1.19573 -fix_srcfile_path="$fix_srcfile_path_RC"
1.19574 -
1.19575 -# Set to yes if exported symbols are required.
1.19576 -always_export_symbols=$always_export_symbols_RC
1.19577 -
1.19578 -# The commands to list exported symbols.
1.19579 -export_symbols_cmds=$lt_export_symbols_cmds_RC
1.19580 -
1.19581 -# The commands to extract the exported symbol list from a shared archive.
1.19582 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.19583 -
1.19584 -# Symbols that should not be listed in the preloaded symbols.
1.19585 -exclude_expsyms=$lt_exclude_expsyms_RC
1.19586 -
1.19587 -# Symbols that must always be exported.
1.19588 -include_expsyms=$lt_include_expsyms_RC
1.19589 -
1.19590 -# ### END LIBTOOL TAG CONFIG: $tagname
1.19591 -
1.19592 -__EOF__
1.19593 -
1.19594 -
1.19595 -else
1.19596 - # If there is no Makefile yet, we rely on a make rule to execute
1.19597 - # `config.status --recheck' to rerun these tests and create the
1.19598 - # libtool script then.
1.19599 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
1.19600 - if test -f "$ltmain_in"; then
1.19601 - test -f Makefile && make "$ltmain"
1.19602 - fi
1.19603 -fi
1.19604 -
1.19605 -
1.19606 -ac_ext=c
1.19607 -ac_cpp='$CPP $CPPFLAGS'
1.19608 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19609 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19610 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19611 -
1.19612 -CC="$lt_save_CC"
1.19613 -
1.19614 - ;;
1.19615 -
1.19616 - *)
1.19617 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
1.19618 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
1.19619 - { (exit 1); exit 1; }; }
1.19620 - ;;
1.19621 - esac
1.19622 -
1.19623 - # Append the new tag name to the list of available tags.
1.19624 - if test -n "$tagname" ; then
1.19625 - available_tags="$available_tags $tagname"
1.19626 - fi
1.19627 - fi
1.19628 - done
1.19629 - IFS="$lt_save_ifs"
1.19630 -
1.19631 - # Now substitute the updated list of available tags.
1.19632 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
1.19633 - mv "${ofile}T" "$ofile"
1.19634 - chmod +x "$ofile"
1.19635 - else
1.19636 - rm -f "${ofile}T"
1.19637 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
1.19638 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
1.19639 - { (exit 1); exit 1; }; }
1.19640 - fi
1.19641 -fi
1.19642 -
1.19643 -
1.19644 -
1.19645 -# This can be used to rebuild libtool when needed
1.19646 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
1.19647 -
1.19648 -# Always use our own libtool.
1.19649 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.19650 -
1.19651 -# Prevent multiple expansion
1.19652 -
1.19653 -
1.19654 -
1.19655 -
1.19656 -
1.19657 -
1.19658 -
1.19659 -
1.19660 -
1.19661 -
1.19662 -
1.19663 -
1.19664 -
1.19665 -
1.19666 -
1.19667 -
1.19668 -
1.19669 -
1.19670 -
1.19671 -
1.19672 -
1.19673 - ac_config_headers="$ac_config_headers config.h"
1.19674 -
1.19675 -
1.19676 -ACLOCAL_AMFLAGS="-I m4"
1.19677 -
1.19678 -
1.19679 -ac_ext=c
1.19680 -ac_cpp='$CPP $CPPFLAGS'
1.19681 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.19682 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.19683 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.19684 -if test -n "$ac_tool_prefix"; then
1.19685 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.19686 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.19687 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19688 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.19689 -if test "${ac_cv_prog_CC+set}" = set; then
1.19690 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19691 -else
1.19692 - if test -n "$CC"; then
1.19693 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19694 -else
1.19695 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19696 -for as_dir in $PATH
1.19697 -do
1.19698 - IFS=$as_save_IFS
1.19699 - test -z "$as_dir" && as_dir=.
1.19700 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19701 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.19702 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.19703 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19704 - break 2
1.19705 - fi
1.19706 -done
1.19707 -done
1.19708 -
1.19709 -fi
1.19710 -fi
1.19711 -CC=$ac_cv_prog_CC
1.19712 -if test -n "$CC"; then
1.19713 - echo "$as_me:$LINENO: result: $CC" >&5
1.19714 -echo "${ECHO_T}$CC" >&6
1.19715 -else
1.19716 - echo "$as_me:$LINENO: result: no" >&5
1.19717 -echo "${ECHO_T}no" >&6
1.19718 -fi
1.19719 -
1.19720 -fi
1.19721 -if test -z "$ac_cv_prog_CC"; then
1.19722 - ac_ct_CC=$CC
1.19723 - # Extract the first word of "gcc", so it can be a program name with args.
1.19724 -set dummy gcc; ac_word=$2
1.19725 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19726 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.19727 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.19728 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19729 -else
1.19730 - if test -n "$ac_ct_CC"; then
1.19731 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.19732 -else
1.19733 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19734 -for as_dir in $PATH
1.19735 -do
1.19736 - IFS=$as_save_IFS
1.19737 - test -z "$as_dir" && as_dir=.
1.19738 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19739 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.19740 - ac_cv_prog_ac_ct_CC="gcc"
1.19741 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19742 - break 2
1.19743 - fi
1.19744 -done
1.19745 -done
1.19746 -
1.19747 -fi
1.19748 -fi
1.19749 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.19750 -if test -n "$ac_ct_CC"; then
1.19751 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.19752 -echo "${ECHO_T}$ac_ct_CC" >&6
1.19753 -else
1.19754 - echo "$as_me:$LINENO: result: no" >&5
1.19755 -echo "${ECHO_T}no" >&6
1.19756 -fi
1.19757 -
1.19758 - CC=$ac_ct_CC
1.19759 -else
1.19760 - CC="$ac_cv_prog_CC"
1.19761 -fi
1.19762 -
1.19763 -if test -z "$CC"; then
1.19764 - if test -n "$ac_tool_prefix"; then
1.19765 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.19766 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.19767 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19768 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.19769 -if test "${ac_cv_prog_CC+set}" = set; then
1.19770 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19771 -else
1.19772 - if test -n "$CC"; then
1.19773 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19774 -else
1.19775 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19776 -for as_dir in $PATH
1.19777 -do
1.19778 - IFS=$as_save_IFS
1.19779 - test -z "$as_dir" && as_dir=.
1.19780 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19781 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.19782 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.19783 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19784 - break 2
1.19785 - fi
1.19786 -done
1.19787 -done
1.19788 -
1.19789 -fi
1.19790 -fi
1.19791 -CC=$ac_cv_prog_CC
1.19792 -if test -n "$CC"; then
1.19793 - echo "$as_me:$LINENO: result: $CC" >&5
1.19794 -echo "${ECHO_T}$CC" >&6
1.19795 -else
1.19796 - echo "$as_me:$LINENO: result: no" >&5
1.19797 -echo "${ECHO_T}no" >&6
1.19798 -fi
1.19799 -
1.19800 -fi
1.19801 -if test -z "$ac_cv_prog_CC"; then
1.19802 - ac_ct_CC=$CC
1.19803 - # Extract the first word of "cc", so it can be a program name with args.
1.19804 -set dummy cc; ac_word=$2
1.19805 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19806 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.19807 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.19808 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19809 -else
1.19810 - if test -n "$ac_ct_CC"; then
1.19811 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.19812 -else
1.19813 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19814 -for as_dir in $PATH
1.19815 -do
1.19816 - IFS=$as_save_IFS
1.19817 - test -z "$as_dir" && as_dir=.
1.19818 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19819 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.19820 - ac_cv_prog_ac_ct_CC="cc"
1.19821 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19822 - break 2
1.19823 - fi
1.19824 -done
1.19825 -done
1.19826 -
1.19827 -fi
1.19828 -fi
1.19829 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.19830 -if test -n "$ac_ct_CC"; then
1.19831 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.19832 -echo "${ECHO_T}$ac_ct_CC" >&6
1.19833 -else
1.19834 - echo "$as_me:$LINENO: result: no" >&5
1.19835 -echo "${ECHO_T}no" >&6
1.19836 -fi
1.19837 -
1.19838 - CC=$ac_ct_CC
1.19839 -else
1.19840 - CC="$ac_cv_prog_CC"
1.19841 -fi
1.19842 -
1.19843 -fi
1.19844 -if test -z "$CC"; then
1.19845 - # Extract the first word of "cc", so it can be a program name with args.
1.19846 -set dummy cc; ac_word=$2
1.19847 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19848 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.19849 -if test "${ac_cv_prog_CC+set}" = set; then
1.19850 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19851 -else
1.19852 - if test -n "$CC"; then
1.19853 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19854 -else
1.19855 - ac_prog_rejected=no
1.19856 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19857 -for as_dir in $PATH
1.19858 -do
1.19859 - IFS=$as_save_IFS
1.19860 - test -z "$as_dir" && as_dir=.
1.19861 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19862 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.19863 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.19864 - ac_prog_rejected=yes
1.19865 - continue
1.19866 - fi
1.19867 - ac_cv_prog_CC="cc"
1.19868 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19869 - break 2
1.19870 - fi
1.19871 -done
1.19872 -done
1.19873 -
1.19874 -if test $ac_prog_rejected = yes; then
1.19875 - # We found a bogon in the path, so make sure we never use it.
1.19876 - set dummy $ac_cv_prog_CC
1.19877 - shift
1.19878 - if test $@%:@ != 0; then
1.19879 - # We chose a different compiler from the bogus one.
1.19880 - # However, it has the same basename, so the bogon will be chosen
1.19881 - # first if we set CC to just the basename; use the full file name.
1.19882 - shift
1.19883 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.19884 - fi
1.19885 -fi
1.19886 -fi
1.19887 -fi
1.19888 -CC=$ac_cv_prog_CC
1.19889 -if test -n "$CC"; then
1.19890 - echo "$as_me:$LINENO: result: $CC" >&5
1.19891 -echo "${ECHO_T}$CC" >&6
1.19892 -else
1.19893 - echo "$as_me:$LINENO: result: no" >&5
1.19894 -echo "${ECHO_T}no" >&6
1.19895 -fi
1.19896 -
1.19897 -fi
1.19898 -if test -z "$CC"; then
1.19899 - if test -n "$ac_tool_prefix"; then
1.19900 - for ac_prog in cl
1.19901 - do
1.19902 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.19903 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.19904 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19905 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.19906 -if test "${ac_cv_prog_CC+set}" = set; then
1.19907 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19908 -else
1.19909 - if test -n "$CC"; then
1.19910 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.19911 -else
1.19912 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19913 -for as_dir in $PATH
1.19914 -do
1.19915 - IFS=$as_save_IFS
1.19916 - test -z "$as_dir" && as_dir=.
1.19917 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19918 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.19919 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.19920 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19921 - break 2
1.19922 - fi
1.19923 -done
1.19924 -done
1.19925 -
1.19926 -fi
1.19927 -fi
1.19928 -CC=$ac_cv_prog_CC
1.19929 -if test -n "$CC"; then
1.19930 - echo "$as_me:$LINENO: result: $CC" >&5
1.19931 -echo "${ECHO_T}$CC" >&6
1.19932 -else
1.19933 - echo "$as_me:$LINENO: result: no" >&5
1.19934 -echo "${ECHO_T}no" >&6
1.19935 -fi
1.19936 -
1.19937 - test -n "$CC" && break
1.19938 - done
1.19939 -fi
1.19940 -if test -z "$CC"; then
1.19941 - ac_ct_CC=$CC
1.19942 - for ac_prog in cl
1.19943 -do
1.19944 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.19945 -set dummy $ac_prog; ac_word=$2
1.19946 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.19947 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.19948 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.19949 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.19950 -else
1.19951 - if test -n "$ac_ct_CC"; then
1.19952 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.19953 -else
1.19954 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.19955 -for as_dir in $PATH
1.19956 -do
1.19957 - IFS=$as_save_IFS
1.19958 - test -z "$as_dir" && as_dir=.
1.19959 - for ac_exec_ext in '' $ac_executable_extensions; do
1.19960 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.19961 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.19962 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.19963 - break 2
1.19964 - fi
1.19965 -done
1.19966 -done
1.19967 -
1.19968 -fi
1.19969 -fi
1.19970 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.19971 -if test -n "$ac_ct_CC"; then
1.19972 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.19973 -echo "${ECHO_T}$ac_ct_CC" >&6
1.19974 -else
1.19975 - echo "$as_me:$LINENO: result: no" >&5
1.19976 -echo "${ECHO_T}no" >&6
1.19977 -fi
1.19978 -
1.19979 - test -n "$ac_ct_CC" && break
1.19980 -done
1.19981 -
1.19982 - CC=$ac_ct_CC
1.19983 -fi
1.19984 -
1.19985 -fi
1.19986 -
1.19987 -
1.19988 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.19989 -See \`config.log' for more details." >&5
1.19990 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.19991 -See \`config.log' for more details." >&2;}
1.19992 - { (exit 1); exit 1; }; }
1.19993 -
1.19994 -# Provide some information about the compiler.
1.19995 -echo "$as_me:$LINENO:" \
1.19996 - "checking for C compiler version" >&5
1.19997 -ac_compiler=`set X $ac_compile; echo $2`
1.19998 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.19999 - (eval $ac_compiler --version </dev/null >&5) 2>&5
1.20000 - ac_status=$?
1.20001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20002 - (exit $ac_status); }
1.20003 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.20004 - (eval $ac_compiler -v </dev/null >&5) 2>&5
1.20005 - ac_status=$?
1.20006 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20007 - (exit $ac_status); }
1.20008 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.20009 - (eval $ac_compiler -V </dev/null >&5) 2>&5
1.20010 - ac_status=$?
1.20011 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20012 - (exit $ac_status); }
1.20013 -
1.20014 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.20015 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1.20016 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.20017 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20018 -else
1.20019 - cat >conftest.$ac_ext <<_ACEOF
1.20020 -/* confdefs.h. */
1.20021 -_ACEOF
1.20022 -cat confdefs.h >>conftest.$ac_ext
1.20023 -cat >>conftest.$ac_ext <<_ACEOF
1.20024 -/* end confdefs.h. */
1.20025 -
1.20026 -int
1.20027 -main ()
1.20028 -{
1.20029 -#ifndef __GNUC__
1.20030 - choke me
1.20031 -#endif
1.20032 -
1.20033 - ;
1.20034 - return 0;
1.20035 -}
1.20036 -_ACEOF
1.20037 -rm -f conftest.$ac_objext
1.20038 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20039 - (eval $ac_compile) 2>conftest.er1
1.20040 - ac_status=$?
1.20041 - grep -v '^ *+' conftest.er1 >conftest.err
1.20042 - rm -f conftest.er1
1.20043 - cat conftest.err >&5
1.20044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20045 - (exit $ac_status); } &&
1.20046 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20047 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20048 - (eval $ac_try) 2>&5
1.20049 - ac_status=$?
1.20050 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20051 - (exit $ac_status); }; } &&
1.20052 - { ac_try='test -s conftest.$ac_objext'
1.20053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20054 - (eval $ac_try) 2>&5
1.20055 - ac_status=$?
1.20056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20057 - (exit $ac_status); }; }; then
1.20058 - ac_compiler_gnu=yes
1.20059 -else
1.20060 - echo "$as_me: failed program was:" >&5
1.20061 -sed 's/^/| /' conftest.$ac_ext >&5
1.20062 -
1.20063 -ac_compiler_gnu=no
1.20064 -fi
1.20065 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20066 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.20067 -
1.20068 -fi
1.20069 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.20070 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1.20071 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.20072 -ac_test_CFLAGS=${CFLAGS+set}
1.20073 -ac_save_CFLAGS=$CFLAGS
1.20074 -CFLAGS="-g"
1.20075 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.20076 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1.20077 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.20078 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20079 -else
1.20080 - cat >conftest.$ac_ext <<_ACEOF
1.20081 -/* confdefs.h. */
1.20082 -_ACEOF
1.20083 -cat confdefs.h >>conftest.$ac_ext
1.20084 -cat >>conftest.$ac_ext <<_ACEOF
1.20085 -/* end confdefs.h. */
1.20086 -
1.20087 -int
1.20088 -main ()
1.20089 -{
1.20090 -
1.20091 - ;
1.20092 - return 0;
1.20093 -}
1.20094 -_ACEOF
1.20095 -rm -f conftest.$ac_objext
1.20096 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20097 - (eval $ac_compile) 2>conftest.er1
1.20098 - ac_status=$?
1.20099 - grep -v '^ *+' conftest.er1 >conftest.err
1.20100 - rm -f conftest.er1
1.20101 - cat conftest.err >&5
1.20102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20103 - (exit $ac_status); } &&
1.20104 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20105 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20106 - (eval $ac_try) 2>&5
1.20107 - ac_status=$?
1.20108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20109 - (exit $ac_status); }; } &&
1.20110 - { ac_try='test -s conftest.$ac_objext'
1.20111 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20112 - (eval $ac_try) 2>&5
1.20113 - ac_status=$?
1.20114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20115 - (exit $ac_status); }; }; then
1.20116 - ac_cv_prog_cc_g=yes
1.20117 -else
1.20118 - echo "$as_me: failed program was:" >&5
1.20119 -sed 's/^/| /' conftest.$ac_ext >&5
1.20120 -
1.20121 -ac_cv_prog_cc_g=no
1.20122 -fi
1.20123 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20124 -fi
1.20125 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.20126 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.20127 -if test "$ac_test_CFLAGS" = set; then
1.20128 - CFLAGS=$ac_save_CFLAGS
1.20129 -elif test $ac_cv_prog_cc_g = yes; then
1.20130 - if test "$GCC" = yes; then
1.20131 - CFLAGS="-g -O2"
1.20132 - else
1.20133 - CFLAGS="-g"
1.20134 - fi
1.20135 -else
1.20136 - if test "$GCC" = yes; then
1.20137 - CFLAGS="-O2"
1.20138 - else
1.20139 - CFLAGS=
1.20140 - fi
1.20141 -fi
1.20142 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1.20143 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1.20144 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
1.20145 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20146 -else
1.20147 - ac_cv_prog_cc_stdc=no
1.20148 -ac_save_CC=$CC
1.20149 -cat >conftest.$ac_ext <<_ACEOF
1.20150 -/* confdefs.h. */
1.20151 -_ACEOF
1.20152 -cat confdefs.h >>conftest.$ac_ext
1.20153 -cat >>conftest.$ac_ext <<_ACEOF
1.20154 -/* end confdefs.h. */
1.20155 -#include <stdarg.h>
1.20156 -#include <stdio.h>
1.20157 -#include <sys/types.h>
1.20158 -#include <sys/stat.h>
1.20159 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.20160 -struct buf { int x; };
1.20161 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.20162 -static char *e (p, i)
1.20163 - char **p;
1.20164 - int i;
1.20165 -{
1.20166 - return p[i];
1.20167 -}
1.20168 -static char *f (char * (*g) (char **, int), char **p, ...)
1.20169 -{
1.20170 - char *s;
1.20171 - va_list v;
1.20172 - va_start (v,p);
1.20173 - s = g (p, va_arg (v,int));
1.20174 - va_end (v);
1.20175 - return s;
1.20176 -}
1.20177 -
1.20178 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.20179 - function prototypes and stuff, but not '\xHH' hex character constants.
1.20180 - These don't provoke an error unfortunately, instead are silently treated
1.20181 - as 'x'. The following induces an error, until -std1 is added to get
1.20182 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.20183 - array size at least. It's necessary to write '\x00'==0 to get something
1.20184 - that's true only with -std1. */
1.20185 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.20186 -
1.20187 -int test (int i, double x);
1.20188 -struct s1 {int (*f) (int a);};
1.20189 -struct s2 {int (*f) (double a);};
1.20190 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.20191 -int argc;
1.20192 -char **argv;
1.20193 -int
1.20194 -main ()
1.20195 -{
1.20196 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.20197 - ;
1.20198 - return 0;
1.20199 -}
1.20200 -_ACEOF
1.20201 -# Don't try gcc -ansi; that turns off useful extensions and
1.20202 -# breaks some systems' header files.
1.20203 -# AIX -qlanglvl=ansi
1.20204 -# Ultrix and OSF/1 -std1
1.20205 -# HP-UX 10.20 and later -Ae
1.20206 -# HP-UX older versions -Aa -D_HPUX_SOURCE
1.20207 -# SVR4 -Xc -D__EXTENSIONS__
1.20208 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.20209 -do
1.20210 - CC="$ac_save_CC $ac_arg"
1.20211 - rm -f conftest.$ac_objext
1.20212 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20213 - (eval $ac_compile) 2>conftest.er1
1.20214 - ac_status=$?
1.20215 - grep -v '^ *+' conftest.er1 >conftest.err
1.20216 - rm -f conftest.er1
1.20217 - cat conftest.err >&5
1.20218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20219 - (exit $ac_status); } &&
1.20220 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20221 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20222 - (eval $ac_try) 2>&5
1.20223 - ac_status=$?
1.20224 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20225 - (exit $ac_status); }; } &&
1.20226 - { ac_try='test -s conftest.$ac_objext'
1.20227 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20228 - (eval $ac_try) 2>&5
1.20229 - ac_status=$?
1.20230 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20231 - (exit $ac_status); }; }; then
1.20232 - ac_cv_prog_cc_stdc=$ac_arg
1.20233 -break
1.20234 -else
1.20235 - echo "$as_me: failed program was:" >&5
1.20236 -sed 's/^/| /' conftest.$ac_ext >&5
1.20237 -
1.20238 -fi
1.20239 -rm -f conftest.err conftest.$ac_objext
1.20240 -done
1.20241 -rm -f conftest.$ac_ext conftest.$ac_objext
1.20242 -CC=$ac_save_CC
1.20243 -
1.20244 -fi
1.20245 -
1.20246 -case "x$ac_cv_prog_cc_stdc" in
1.20247 - x|xno)
1.20248 - echo "$as_me:$LINENO: result: none needed" >&5
1.20249 -echo "${ECHO_T}none needed" >&6 ;;
1.20250 - *)
1.20251 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1.20252 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1.20253 - CC="$CC $ac_cv_prog_cc_stdc" ;;
1.20254 -esac
1.20255 -
1.20256 -# Some people use a C++ compiler to compile C. Since we use `exit',
1.20257 -# in C++ we need to declare it. In case someone uses the same compiler
1.20258 -# for both compiling C and C++ we need to have the C++ compiler decide
1.20259 -# the declaration of exit, since it's the most demanding environment.
1.20260 -cat >conftest.$ac_ext <<_ACEOF
1.20261 -@%:@ifndef __cplusplus
1.20262 - choke me
1.20263 -@%:@endif
1.20264 -_ACEOF
1.20265 -rm -f conftest.$ac_objext
1.20266 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20267 - (eval $ac_compile) 2>conftest.er1
1.20268 - ac_status=$?
1.20269 - grep -v '^ *+' conftest.er1 >conftest.err
1.20270 - rm -f conftest.er1
1.20271 - cat conftest.err >&5
1.20272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20273 - (exit $ac_status); } &&
1.20274 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20275 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20276 - (eval $ac_try) 2>&5
1.20277 - ac_status=$?
1.20278 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20279 - (exit $ac_status); }; } &&
1.20280 - { ac_try='test -s conftest.$ac_objext'
1.20281 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20282 - (eval $ac_try) 2>&5
1.20283 - ac_status=$?
1.20284 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20285 - (exit $ac_status); }; }; then
1.20286 - for ac_declaration in \
1.20287 - '' \
1.20288 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
1.20289 - 'extern "C" void std::exit (int); using std::exit;' \
1.20290 - 'extern "C" void exit (int) throw ();' \
1.20291 - 'extern "C" void exit (int);' \
1.20292 - 'void exit (int);'
1.20293 -do
1.20294 - cat >conftest.$ac_ext <<_ACEOF
1.20295 -/* confdefs.h. */
1.20296 -_ACEOF
1.20297 -cat confdefs.h >>conftest.$ac_ext
1.20298 -cat >>conftest.$ac_ext <<_ACEOF
1.20299 -/* end confdefs.h. */
1.20300 -$ac_declaration
1.20301 -@%:@include <stdlib.h>
1.20302 -int
1.20303 -main ()
1.20304 -{
1.20305 -exit (42);
1.20306 - ;
1.20307 - return 0;
1.20308 -}
1.20309 -_ACEOF
1.20310 -rm -f conftest.$ac_objext
1.20311 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20312 - (eval $ac_compile) 2>conftest.er1
1.20313 - ac_status=$?
1.20314 - grep -v '^ *+' conftest.er1 >conftest.err
1.20315 - rm -f conftest.er1
1.20316 - cat conftest.err >&5
1.20317 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20318 - (exit $ac_status); } &&
1.20319 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20320 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20321 - (eval $ac_try) 2>&5
1.20322 - ac_status=$?
1.20323 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20324 - (exit $ac_status); }; } &&
1.20325 - { ac_try='test -s conftest.$ac_objext'
1.20326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20327 - (eval $ac_try) 2>&5
1.20328 - ac_status=$?
1.20329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20330 - (exit $ac_status); }; }; then
1.20331 - :
1.20332 -else
1.20333 - echo "$as_me: failed program was:" >&5
1.20334 -sed 's/^/| /' conftest.$ac_ext >&5
1.20335 -
1.20336 -continue
1.20337 -fi
1.20338 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20339 - cat >conftest.$ac_ext <<_ACEOF
1.20340 -/* confdefs.h. */
1.20341 -_ACEOF
1.20342 -cat confdefs.h >>conftest.$ac_ext
1.20343 -cat >>conftest.$ac_ext <<_ACEOF
1.20344 -/* end confdefs.h. */
1.20345 -$ac_declaration
1.20346 -int
1.20347 -main ()
1.20348 -{
1.20349 -exit (42);
1.20350 - ;
1.20351 - return 0;
1.20352 -}
1.20353 -_ACEOF
1.20354 -rm -f conftest.$ac_objext
1.20355 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20356 - (eval $ac_compile) 2>conftest.er1
1.20357 - ac_status=$?
1.20358 - grep -v '^ *+' conftest.er1 >conftest.err
1.20359 - rm -f conftest.er1
1.20360 - cat conftest.err >&5
1.20361 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20362 - (exit $ac_status); } &&
1.20363 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20364 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20365 - (eval $ac_try) 2>&5
1.20366 - ac_status=$?
1.20367 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20368 - (exit $ac_status); }; } &&
1.20369 - { ac_try='test -s conftest.$ac_objext'
1.20370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20371 - (eval $ac_try) 2>&5
1.20372 - ac_status=$?
1.20373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20374 - (exit $ac_status); }; }; then
1.20375 - break
1.20376 -else
1.20377 - echo "$as_me: failed program was:" >&5
1.20378 -sed 's/^/| /' conftest.$ac_ext >&5
1.20379 -
1.20380 -fi
1.20381 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20382 -done
1.20383 -rm -f conftest*
1.20384 -if test -n "$ac_declaration"; then
1.20385 - echo '#ifdef __cplusplus' >>confdefs.h
1.20386 - echo $ac_declaration >>confdefs.h
1.20387 - echo '#endif' >>confdefs.h
1.20388 -fi
1.20389 -
1.20390 -else
1.20391 - echo "$as_me: failed program was:" >&5
1.20392 -sed 's/^/| /' conftest.$ac_ext >&5
1.20393 -
1.20394 -fi
1.20395 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20396 -ac_ext=c
1.20397 -ac_cpp='$CPP $CPPFLAGS'
1.20398 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.20399 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.20400 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.20401 -
1.20402 -depcc="$CC" am_compiler_list=
1.20403 -
1.20404 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.20405 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.20406 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.20407 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20408 -else
1.20409 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.20410 - # We make a subdir and do the tests there. Otherwise we can end up
1.20411 - # making bogus files that we don't know about and never remove. For
1.20412 - # instance it was reported that on HP-UX the gcc test will end up
1.20413 - # making a dummy file named `D' -- because `-MD' means `put the output
1.20414 - # in D'.
1.20415 - mkdir conftest.dir
1.20416 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.20417 - # using a relative directory.
1.20418 - cp "$am_depcomp" conftest.dir
1.20419 - cd conftest.dir
1.20420 - # We will build objects and dependencies in a subdirectory because
1.20421 - # it helps to detect inapplicable dependency modes. For instance
1.20422 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.20423 - # side effect of compilation, but ICC will put the dependencies in
1.20424 - # the current directory while Tru64 will put them in the object
1.20425 - # directory.
1.20426 - mkdir sub
1.20427 -
1.20428 - am_cv_CC_dependencies_compiler_type=none
1.20429 - if test "$am_compiler_list" = ""; then
1.20430 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.20431 - fi
1.20432 - for depmode in $am_compiler_list; do
1.20433 - # Setup a source with many dependencies, because some compilers
1.20434 - # like to wrap large dependency lists on column 80 (with \), and
1.20435 - # we should not choose a depcomp mode which is confused by this.
1.20436 - #
1.20437 - # We need to recreate these files for each test, as the compiler may
1.20438 - # overwrite some of them when testing with obscure command lines.
1.20439 - # This happens at least with the AIX C compiler.
1.20440 - : > sub/conftest.c
1.20441 - for i in 1 2 3 4 5 6; do
1.20442 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.20443 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.20444 - # Solaris 8's {/usr,}/bin/sh.
1.20445 - touch sub/conftst$i.h
1.20446 - done
1.20447 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.20448 -
1.20449 - case $depmode in
1.20450 - nosideeffect)
1.20451 - # after this tag, mechanisms are not by side-effect, so they'll
1.20452 - # only be used when explicitly requested
1.20453 - if test "x$enable_dependency_tracking" = xyes; then
1.20454 - continue
1.20455 - else
1.20456 - break
1.20457 - fi
1.20458 - ;;
1.20459 - none) break ;;
1.20460 - esac
1.20461 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.20462 - # mode. It turns out that the SunPro C++ compiler does not properly
1.20463 - # handle `-M -o', and we need to detect this.
1.20464 - if depmode=$depmode \
1.20465 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.20466 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.20467 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.20468 - >/dev/null 2>conftest.err &&
1.20469 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.20470 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.20471 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.20472 - # icc doesn't choke on unknown options, it will just issue warnings
1.20473 - # or remarks (even with -Werror). So we grep stderr for any message
1.20474 - # that says an option was ignored or not supported.
1.20475 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.20476 - # icc: Command line warning: ignoring option '-M'; no argument required
1.20477 - # The diagnosis changed in icc 8.0:
1.20478 - # icc: Command line remark: option '-MP' not supported
1.20479 - if (grep 'ignoring option' conftest.err ||
1.20480 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.20481 - am_cv_CC_dependencies_compiler_type=$depmode
1.20482 - break
1.20483 - fi
1.20484 - fi
1.20485 - done
1.20486 -
1.20487 - cd ..
1.20488 - rm -rf conftest.dir
1.20489 -else
1.20490 - am_cv_CC_dependencies_compiler_type=none
1.20491 -fi
1.20492 -
1.20493 -fi
1.20494 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.20495 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1.20496 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.20497 -
1.20498 -
1.20499 -
1.20500 -if
1.20501 - test "x$enable_dependency_tracking" != xno \
1.20502 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.20503 - am__fastdepCC_TRUE=
1.20504 - am__fastdepCC_FALSE='#'
1.20505 -else
1.20506 - am__fastdepCC_TRUE='#'
1.20507 - am__fastdepCC_FALSE=
1.20508 -fi
1.20509 -
1.20510 -
1.20511 -
1.20512 -# By default we simply use the C compiler to build assembly code.
1.20513 -
1.20514 -test "${CCAS+set}" = set || CCAS=$CC
1.20515 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
1.20516 -
1.20517 -
1.20518 -
1.20519 -
1.20520 -
1.20521 - echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
1.20522 -echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
1.20523 -
1.20524 - save_CFLAGS="$CFLAGS"
1.20525 - CFLAGS="$CFLAGS -Wall"
1.20526 -
1.20527 - cat >conftest.$ac_ext <<_ACEOF
1.20528 -/* confdefs.h. */
1.20529 -_ACEOF
1.20530 -cat confdefs.h >>conftest.$ac_ext
1.20531 -cat >>conftest.$ac_ext <<_ACEOF
1.20532 -/* end confdefs.h. */
1.20533 -
1.20534 -int
1.20535 -main ()
1.20536 -{
1.20537 -
1.20538 - ;
1.20539 - return 0;
1.20540 -}
1.20541 -_ACEOF
1.20542 -rm -f conftest.$ac_objext
1.20543 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20544 - (eval $ac_compile) 2>conftest.er1
1.20545 - ac_status=$?
1.20546 - grep -v '^ *+' conftest.er1 >conftest.err
1.20547 - rm -f conftest.er1
1.20548 - cat conftest.err >&5
1.20549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20550 - (exit $ac_status); } &&
1.20551 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20552 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20553 - (eval $ac_try) 2>&5
1.20554 - ac_status=$?
1.20555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20556 - (exit $ac_status); }; } &&
1.20557 - { ac_try='test -s conftest.$ac_objext'
1.20558 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20559 - (eval $ac_try) 2>&5
1.20560 - ac_status=$?
1.20561 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20562 - (exit $ac_status); }; }; then
1.20563 - flag_ok=yes
1.20564 -else
1.20565 - echo "$as_me: failed program was:" >&5
1.20566 -sed 's/^/| /' conftest.$ac_ext >&5
1.20567 -
1.20568 -flag_ok=no
1.20569 -fi
1.20570 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20571 - CFLAGS="$save_CFLAGS"
1.20572 -
1.20573 - if test "X$flag_ok" = Xyes ; then
1.20574 - GST_WALL="yes"
1.20575 - true
1.20576 - else
1.20577 - GST_WALL="no"
1.20578 - true
1.20579 - fi
1.20580 - echo "$as_me:$LINENO: result: $flag_ok" >&5
1.20581 -echo "${ECHO_T}$flag_ok" >&6
1.20582 -
1.20583 -
1.20584 -if test "x$GST_WALL" = "xyes"; then
1.20585 - ERROR_CFLAGS="$GST_ERROR -Wall"
1.20586 -
1.20587 - if test "x$GST_CVS" = "xyes"; then
1.20588 -
1.20589 - echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
1.20590 -echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
1.20591 -
1.20592 - save_CFLAGS="$CFLAGS"
1.20593 - CFLAGS="$CFLAGS -Werror"
1.20594 -
1.20595 - cat >conftest.$ac_ext <<_ACEOF
1.20596 -/* confdefs.h. */
1.20597 -_ACEOF
1.20598 -cat confdefs.h >>conftest.$ac_ext
1.20599 -cat >>conftest.$ac_ext <<_ACEOF
1.20600 -/* end confdefs.h. */
1.20601 -
1.20602 -int
1.20603 -main ()
1.20604 -{
1.20605 -
1.20606 - ;
1.20607 - return 0;
1.20608 -}
1.20609 -_ACEOF
1.20610 -rm -f conftest.$ac_objext
1.20611 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20612 - (eval $ac_compile) 2>conftest.er1
1.20613 - ac_status=$?
1.20614 - grep -v '^ *+' conftest.er1 >conftest.err
1.20615 - rm -f conftest.er1
1.20616 - cat conftest.err >&5
1.20617 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20618 - (exit $ac_status); } &&
1.20619 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.20620 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20621 - (eval $ac_try) 2>&5
1.20622 - ac_status=$?
1.20623 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20624 - (exit $ac_status); }; } &&
1.20625 - { ac_try='test -s conftest.$ac_objext'
1.20626 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20627 - (eval $ac_try) 2>&5
1.20628 - ac_status=$?
1.20629 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20630 - (exit $ac_status); }; }; then
1.20631 - flag_ok=yes
1.20632 -else
1.20633 - echo "$as_me: failed program was:" >&5
1.20634 -sed 's/^/| /' conftest.$ac_ext >&5
1.20635 -
1.20636 -flag_ok=no
1.20637 -fi
1.20638 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20639 - CFLAGS="$save_CFLAGS"
1.20640 -
1.20641 - if test "X$flag_ok" = Xyes ; then
1.20642 - ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
1.20643 - true
1.20644 - else
1.20645 - ERROR_CFLAGS="$ERROR_CFLAGS"
1.20646 - true
1.20647 - fi
1.20648 - echo "$as_me:$LINENO: result: $flag_ok" >&5
1.20649 -echo "${ECHO_T}$flag_ok" >&6
1.20650 -
1.20651 - fi
1.20652 -fi
1.20653 -
1.20654 -
1.20655 -
1.20656 -ac_ext=cc
1.20657 -ac_cpp='$CXXCPP $CPPFLAGS'
1.20658 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.20659 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.20660 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.20661 -if test -n "$ac_tool_prefix"; then
1.20662 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1.20663 - do
1.20664 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.20665 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.20666 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.20667 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.20668 -if test "${ac_cv_prog_CXX+set}" = set; then
1.20669 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20670 -else
1.20671 - if test -n "$CXX"; then
1.20672 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.20673 -else
1.20674 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.20675 -for as_dir in $PATH
1.20676 -do
1.20677 - IFS=$as_save_IFS
1.20678 - test -z "$as_dir" && as_dir=.
1.20679 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20680 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.20681 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.20682 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20683 - break 2
1.20684 - fi
1.20685 -done
1.20686 -done
1.20687 -
1.20688 -fi
1.20689 -fi
1.20690 -CXX=$ac_cv_prog_CXX
1.20691 -if test -n "$CXX"; then
1.20692 - echo "$as_me:$LINENO: result: $CXX" >&5
1.20693 -echo "${ECHO_T}$CXX" >&6
1.20694 -else
1.20695 - echo "$as_me:$LINENO: result: no" >&5
1.20696 -echo "${ECHO_T}no" >&6
1.20697 -fi
1.20698 -
1.20699 - test -n "$CXX" && break
1.20700 - done
1.20701 -fi
1.20702 -if test -z "$CXX"; then
1.20703 - ac_ct_CXX=$CXX
1.20704 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1.20705 -do
1.20706 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.20707 -set dummy $ac_prog; ac_word=$2
1.20708 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.20709 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.20710 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.20711 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20712 -else
1.20713 - if test -n "$ac_ct_CXX"; then
1.20714 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.20715 -else
1.20716 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.20717 -for as_dir in $PATH
1.20718 -do
1.20719 - IFS=$as_save_IFS
1.20720 - test -z "$as_dir" && as_dir=.
1.20721 - for ac_exec_ext in '' $ac_executable_extensions; do
1.20722 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.20723 - ac_cv_prog_ac_ct_CXX="$ac_prog"
1.20724 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.20725 - break 2
1.20726 - fi
1.20727 -done
1.20728 -done
1.20729 -
1.20730 -fi
1.20731 -fi
1.20732 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1.20733 -if test -n "$ac_ct_CXX"; then
1.20734 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1.20735 -echo "${ECHO_T}$ac_ct_CXX" >&6
1.20736 -else
1.20737 - echo "$as_me:$LINENO: result: no" >&5
1.20738 -echo "${ECHO_T}no" >&6
1.20739 -fi
1.20740 -
1.20741 - test -n "$ac_ct_CXX" && break
1.20742 -done
1.20743 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.20744 -
1.20745 - CXX=$ac_ct_CXX
1.20746 -fi
1.20747 -
1.20748 -
1.20749 -# Provide some information about the compiler.
1.20750 -echo "$as_me:$LINENO:" \
1.20751 - "checking for C++ compiler version" >&5
1.20752 -ac_compiler=`set X $ac_compile; echo $2`
1.20753 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.20754 - (eval $ac_compiler --version </dev/null >&5) 2>&5
1.20755 - ac_status=$?
1.20756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20757 - (exit $ac_status); }
1.20758 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.20759 - (eval $ac_compiler -v </dev/null >&5) 2>&5
1.20760 - ac_status=$?
1.20761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20762 - (exit $ac_status); }
1.20763 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.20764 - (eval $ac_compiler -V </dev/null >&5) 2>&5
1.20765 - ac_status=$?
1.20766 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20767 - (exit $ac_status); }
1.20768 -
1.20769 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1.20770 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1.20771 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.20772 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20773 -else
1.20774 - cat >conftest.$ac_ext <<_ACEOF
1.20775 -/* confdefs.h. */
1.20776 -_ACEOF
1.20777 -cat confdefs.h >>conftest.$ac_ext
1.20778 -cat >>conftest.$ac_ext <<_ACEOF
1.20779 -/* end confdefs.h. */
1.20780 -
1.20781 -int
1.20782 -main ()
1.20783 -{
1.20784 -#ifndef __GNUC__
1.20785 - choke me
1.20786 -#endif
1.20787 -
1.20788 - ;
1.20789 - return 0;
1.20790 -}
1.20791 -_ACEOF
1.20792 -rm -f conftest.$ac_objext
1.20793 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20794 - (eval $ac_compile) 2>conftest.er1
1.20795 - ac_status=$?
1.20796 - grep -v '^ *+' conftest.er1 >conftest.err
1.20797 - rm -f conftest.er1
1.20798 - cat conftest.err >&5
1.20799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20800 - (exit $ac_status); } &&
1.20801 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.20802 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20803 - (eval $ac_try) 2>&5
1.20804 - ac_status=$?
1.20805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20806 - (exit $ac_status); }; } &&
1.20807 - { ac_try='test -s conftest.$ac_objext'
1.20808 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20809 - (eval $ac_try) 2>&5
1.20810 - ac_status=$?
1.20811 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20812 - (exit $ac_status); }; }; then
1.20813 - ac_compiler_gnu=yes
1.20814 -else
1.20815 - echo "$as_me: failed program was:" >&5
1.20816 -sed 's/^/| /' conftest.$ac_ext >&5
1.20817 -
1.20818 -ac_compiler_gnu=no
1.20819 -fi
1.20820 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20821 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.20822 -
1.20823 -fi
1.20824 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1.20825 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1.20826 -GXX=`test $ac_compiler_gnu = yes && echo yes`
1.20827 -ac_test_CXXFLAGS=${CXXFLAGS+set}
1.20828 -ac_save_CXXFLAGS=$CXXFLAGS
1.20829 -CXXFLAGS="-g"
1.20830 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1.20831 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1.20832 -if test "${ac_cv_prog_cxx_g+set}" = set; then
1.20833 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.20834 -else
1.20835 - cat >conftest.$ac_ext <<_ACEOF
1.20836 -/* confdefs.h. */
1.20837 -_ACEOF
1.20838 -cat confdefs.h >>conftest.$ac_ext
1.20839 -cat >>conftest.$ac_ext <<_ACEOF
1.20840 -/* end confdefs.h. */
1.20841 -
1.20842 -int
1.20843 -main ()
1.20844 -{
1.20845 -
1.20846 - ;
1.20847 - return 0;
1.20848 -}
1.20849 -_ACEOF
1.20850 -rm -f conftest.$ac_objext
1.20851 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20852 - (eval $ac_compile) 2>conftest.er1
1.20853 - ac_status=$?
1.20854 - grep -v '^ *+' conftest.er1 >conftest.err
1.20855 - rm -f conftest.er1
1.20856 - cat conftest.err >&5
1.20857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20858 - (exit $ac_status); } &&
1.20859 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.20860 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20861 - (eval $ac_try) 2>&5
1.20862 - ac_status=$?
1.20863 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20864 - (exit $ac_status); }; } &&
1.20865 - { ac_try='test -s conftest.$ac_objext'
1.20866 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20867 - (eval $ac_try) 2>&5
1.20868 - ac_status=$?
1.20869 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20870 - (exit $ac_status); }; }; then
1.20871 - ac_cv_prog_cxx_g=yes
1.20872 -else
1.20873 - echo "$as_me: failed program was:" >&5
1.20874 -sed 's/^/| /' conftest.$ac_ext >&5
1.20875 -
1.20876 -ac_cv_prog_cxx_g=no
1.20877 -fi
1.20878 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20879 -fi
1.20880 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1.20881 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.20882 -if test "$ac_test_CXXFLAGS" = set; then
1.20883 - CXXFLAGS=$ac_save_CXXFLAGS
1.20884 -elif test $ac_cv_prog_cxx_g = yes; then
1.20885 - if test "$GXX" = yes; then
1.20886 - CXXFLAGS="-g -O2"
1.20887 - else
1.20888 - CXXFLAGS="-g"
1.20889 - fi
1.20890 -else
1.20891 - if test "$GXX" = yes; then
1.20892 - CXXFLAGS="-O2"
1.20893 - else
1.20894 - CXXFLAGS=
1.20895 - fi
1.20896 -fi
1.20897 -for ac_declaration in \
1.20898 - '' \
1.20899 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
1.20900 - 'extern "C" void std::exit (int); using std::exit;' \
1.20901 - 'extern "C" void exit (int) throw ();' \
1.20902 - 'extern "C" void exit (int);' \
1.20903 - 'void exit (int);'
1.20904 -do
1.20905 - cat >conftest.$ac_ext <<_ACEOF
1.20906 -/* confdefs.h. */
1.20907 -_ACEOF
1.20908 -cat confdefs.h >>conftest.$ac_ext
1.20909 -cat >>conftest.$ac_ext <<_ACEOF
1.20910 -/* end confdefs.h. */
1.20911 -$ac_declaration
1.20912 -@%:@include <stdlib.h>
1.20913 -int
1.20914 -main ()
1.20915 -{
1.20916 -exit (42);
1.20917 - ;
1.20918 - return 0;
1.20919 -}
1.20920 -_ACEOF
1.20921 -rm -f conftest.$ac_objext
1.20922 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20923 - (eval $ac_compile) 2>conftest.er1
1.20924 - ac_status=$?
1.20925 - grep -v '^ *+' conftest.er1 >conftest.err
1.20926 - rm -f conftest.er1
1.20927 - cat conftest.err >&5
1.20928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20929 - (exit $ac_status); } &&
1.20930 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.20931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20932 - (eval $ac_try) 2>&5
1.20933 - ac_status=$?
1.20934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20935 - (exit $ac_status); }; } &&
1.20936 - { ac_try='test -s conftest.$ac_objext'
1.20937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20938 - (eval $ac_try) 2>&5
1.20939 - ac_status=$?
1.20940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20941 - (exit $ac_status); }; }; then
1.20942 - :
1.20943 -else
1.20944 - echo "$as_me: failed program was:" >&5
1.20945 -sed 's/^/| /' conftest.$ac_ext >&5
1.20946 -
1.20947 -continue
1.20948 -fi
1.20949 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20950 - cat >conftest.$ac_ext <<_ACEOF
1.20951 -/* confdefs.h. */
1.20952 -_ACEOF
1.20953 -cat confdefs.h >>conftest.$ac_ext
1.20954 -cat >>conftest.$ac_ext <<_ACEOF
1.20955 -/* end confdefs.h. */
1.20956 -$ac_declaration
1.20957 -int
1.20958 -main ()
1.20959 -{
1.20960 -exit (42);
1.20961 - ;
1.20962 - return 0;
1.20963 -}
1.20964 -_ACEOF
1.20965 -rm -f conftest.$ac_objext
1.20966 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.20967 - (eval $ac_compile) 2>conftest.er1
1.20968 - ac_status=$?
1.20969 - grep -v '^ *+' conftest.er1 >conftest.err
1.20970 - rm -f conftest.er1
1.20971 - cat conftest.err >&5
1.20972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20973 - (exit $ac_status); } &&
1.20974 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1.20975 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20976 - (eval $ac_try) 2>&5
1.20977 - ac_status=$?
1.20978 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20979 - (exit $ac_status); }; } &&
1.20980 - { ac_try='test -s conftest.$ac_objext'
1.20981 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.20982 - (eval $ac_try) 2>&5
1.20983 - ac_status=$?
1.20984 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.20985 - (exit $ac_status); }; }; then
1.20986 - break
1.20987 -else
1.20988 - echo "$as_me: failed program was:" >&5
1.20989 -sed 's/^/| /' conftest.$ac_ext >&5
1.20990 -
1.20991 -fi
1.20992 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.20993 -done
1.20994 -rm -f conftest*
1.20995 -if test -n "$ac_declaration"; then
1.20996 - echo '#ifdef __cplusplus' >>confdefs.h
1.20997 - echo $ac_declaration >>confdefs.h
1.20998 - echo '#endif' >>confdefs.h
1.20999 -fi
1.21000 -
1.21001 -ac_ext=c
1.21002 -ac_cpp='$CPP $CPPFLAGS'
1.21003 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21004 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21005 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.21006 -
1.21007 -depcc="$CXX" am_compiler_list=
1.21008 -
1.21009 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.21010 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.21011 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.21012 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21013 -else
1.21014 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.21015 - # We make a subdir and do the tests there. Otherwise we can end up
1.21016 - # making bogus files that we don't know about and never remove. For
1.21017 - # instance it was reported that on HP-UX the gcc test will end up
1.21018 - # making a dummy file named `D' -- because `-MD' means `put the output
1.21019 - # in D'.
1.21020 - mkdir conftest.dir
1.21021 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.21022 - # using a relative directory.
1.21023 - cp "$am_depcomp" conftest.dir
1.21024 - cd conftest.dir
1.21025 - # We will build objects and dependencies in a subdirectory because
1.21026 - # it helps to detect inapplicable dependency modes. For instance
1.21027 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.21028 - # side effect of compilation, but ICC will put the dependencies in
1.21029 - # the current directory while Tru64 will put them in the object
1.21030 - # directory.
1.21031 - mkdir sub
1.21032 -
1.21033 - am_cv_CXX_dependencies_compiler_type=none
1.21034 - if test "$am_compiler_list" = ""; then
1.21035 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.21036 - fi
1.21037 - for depmode in $am_compiler_list; do
1.21038 - # Setup a source with many dependencies, because some compilers
1.21039 - # like to wrap large dependency lists on column 80 (with \), and
1.21040 - # we should not choose a depcomp mode which is confused by this.
1.21041 - #
1.21042 - # We need to recreate these files for each test, as the compiler may
1.21043 - # overwrite some of them when testing with obscure command lines.
1.21044 - # This happens at least with the AIX C compiler.
1.21045 - : > sub/conftest.c
1.21046 - for i in 1 2 3 4 5 6; do
1.21047 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.21048 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.21049 - # Solaris 8's {/usr,}/bin/sh.
1.21050 - touch sub/conftst$i.h
1.21051 - done
1.21052 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.21053 -
1.21054 - case $depmode in
1.21055 - nosideeffect)
1.21056 - # after this tag, mechanisms are not by side-effect, so they'll
1.21057 - # only be used when explicitly requested
1.21058 - if test "x$enable_dependency_tracking" = xyes; then
1.21059 - continue
1.21060 - else
1.21061 - break
1.21062 - fi
1.21063 - ;;
1.21064 - none) break ;;
1.21065 - esac
1.21066 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.21067 - # mode. It turns out that the SunPro C++ compiler does not properly
1.21068 - # handle `-M -o', and we need to detect this.
1.21069 - if depmode=$depmode \
1.21070 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.21071 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.21072 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.21073 - >/dev/null 2>conftest.err &&
1.21074 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.21075 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.21076 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.21077 - # icc doesn't choke on unknown options, it will just issue warnings
1.21078 - # or remarks (even with -Werror). So we grep stderr for any message
1.21079 - # that says an option was ignored or not supported.
1.21080 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.21081 - # icc: Command line warning: ignoring option '-M'; no argument required
1.21082 - # The diagnosis changed in icc 8.0:
1.21083 - # icc: Command line remark: option '-MP' not supported
1.21084 - if (grep 'ignoring option' conftest.err ||
1.21085 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.21086 - am_cv_CXX_dependencies_compiler_type=$depmode
1.21087 - break
1.21088 - fi
1.21089 - fi
1.21090 - done
1.21091 -
1.21092 - cd ..
1.21093 - rm -rf conftest.dir
1.21094 -else
1.21095 - am_cv_CXX_dependencies_compiler_type=none
1.21096 -fi
1.21097 -
1.21098 -fi
1.21099 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
1.21100 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
1.21101 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1.21102 -
1.21103 -
1.21104 -
1.21105 -if
1.21106 - test "x$enable_dependency_tracking" != xno \
1.21107 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
1.21108 - am__fastdepCXX_TRUE=
1.21109 - am__fastdepCXX_FALSE='#'
1.21110 -else
1.21111 - am__fastdepCXX_TRUE='#'
1.21112 - am__fastdepCXX_FALSE=
1.21113 -fi
1.21114 -
1.21115 -
1.21116 -# Extract the first word of "$CXX", so it can be a program name with args.
1.21117 -set dummy $CXX; ac_word=$2
1.21118 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21119 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.21120 -if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
1.21121 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21122 -else
1.21123 - if test -n "$HAVE_CXX"; then
1.21124 - ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
1.21125 -else
1.21126 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21127 -for as_dir in $PATH
1.21128 -do
1.21129 - IFS=$as_save_IFS
1.21130 - test -z "$as_dir" && as_dir=.
1.21131 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21132 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.21133 - ac_cv_prog_HAVE_CXX="yes"
1.21134 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21135 - break 2
1.21136 - fi
1.21137 -done
1.21138 -done
1.21139 -
1.21140 - test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
1.21141 -fi
1.21142 -fi
1.21143 -HAVE_CXX=$ac_cv_prog_HAVE_CXX
1.21144 -if test -n "$HAVE_CXX"; then
1.21145 - echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
1.21146 -echo "${ECHO_T}$HAVE_CXX" >&6
1.21147 -else
1.21148 - echo "$as_me:$LINENO: result: no" >&5
1.21149 -echo "${ECHO_T}no" >&6
1.21150 -fi
1.21151 -
1.21152 -ac_ext=cc
1.21153 -ac_cpp='$CXXCPP $CPPFLAGS'
1.21154 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21155 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21156 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.21157 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
1.21158 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
1.21159 -if test -z "$CXXCPP"; then
1.21160 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
1.21161 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21162 -else
1.21163 - # Double quotes because CXXCPP needs to be expanded
1.21164 - for CXXCPP in "$CXX -E" "/lib/cpp"
1.21165 - do
1.21166 - ac_preproc_ok=false
1.21167 -for ac_cxx_preproc_warn_flag in '' yes
1.21168 -do
1.21169 - # Use a header file that comes with gcc, so configuring glibc
1.21170 - # with a fresh cross-compiler works.
1.21171 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.21172 - # <limits.h> exists even on freestanding compilers.
1.21173 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.21174 - # not just through cpp. "Syntax error" is here to catch this case.
1.21175 - cat >conftest.$ac_ext <<_ACEOF
1.21176 -/* confdefs.h. */
1.21177 -_ACEOF
1.21178 -cat confdefs.h >>conftest.$ac_ext
1.21179 -cat >>conftest.$ac_ext <<_ACEOF
1.21180 -/* end confdefs.h. */
1.21181 -@%:@ifdef __STDC__
1.21182 -@%:@ include <limits.h>
1.21183 -@%:@else
1.21184 -@%:@ include <assert.h>
1.21185 -@%:@endif
1.21186 - Syntax error
1.21187 -_ACEOF
1.21188 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.21189 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.21190 - ac_status=$?
1.21191 - grep -v '^ *+' conftest.er1 >conftest.err
1.21192 - rm -f conftest.er1
1.21193 - cat conftest.err >&5
1.21194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21195 - (exit $ac_status); } >/dev/null; then
1.21196 - if test -s conftest.err; then
1.21197 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.21198 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.21199 - else
1.21200 - ac_cpp_err=
1.21201 - fi
1.21202 -else
1.21203 - ac_cpp_err=yes
1.21204 -fi
1.21205 -if test -z "$ac_cpp_err"; then
1.21206 - :
1.21207 -else
1.21208 - echo "$as_me: failed program was:" >&5
1.21209 -sed 's/^/| /' conftest.$ac_ext >&5
1.21210 -
1.21211 - # Broken: fails on valid input.
1.21212 -continue
1.21213 -fi
1.21214 -rm -f conftest.err conftest.$ac_ext
1.21215 -
1.21216 - # OK, works on sane cases. Now check whether non-existent headers
1.21217 - # can be detected and how.
1.21218 - cat >conftest.$ac_ext <<_ACEOF
1.21219 -/* confdefs.h. */
1.21220 -_ACEOF
1.21221 -cat confdefs.h >>conftest.$ac_ext
1.21222 -cat >>conftest.$ac_ext <<_ACEOF
1.21223 -/* end confdefs.h. */
1.21224 -@%:@include <ac_nonexistent.h>
1.21225 -_ACEOF
1.21226 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.21227 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.21228 - ac_status=$?
1.21229 - grep -v '^ *+' conftest.er1 >conftest.err
1.21230 - rm -f conftest.er1
1.21231 - cat conftest.err >&5
1.21232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21233 - (exit $ac_status); } >/dev/null; then
1.21234 - if test -s conftest.err; then
1.21235 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.21236 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.21237 - else
1.21238 - ac_cpp_err=
1.21239 - fi
1.21240 -else
1.21241 - ac_cpp_err=yes
1.21242 -fi
1.21243 -if test -z "$ac_cpp_err"; then
1.21244 - # Broken: success on invalid input.
1.21245 -continue
1.21246 -else
1.21247 - echo "$as_me: failed program was:" >&5
1.21248 -sed 's/^/| /' conftest.$ac_ext >&5
1.21249 -
1.21250 - # Passes both tests.
1.21251 -ac_preproc_ok=:
1.21252 -break
1.21253 -fi
1.21254 -rm -f conftest.err conftest.$ac_ext
1.21255 -
1.21256 -done
1.21257 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.21258 -rm -f conftest.err conftest.$ac_ext
1.21259 -if $ac_preproc_ok; then
1.21260 - break
1.21261 -fi
1.21262 -
1.21263 - done
1.21264 - ac_cv_prog_CXXCPP=$CXXCPP
1.21265 -
1.21266 -fi
1.21267 - CXXCPP=$ac_cv_prog_CXXCPP
1.21268 -else
1.21269 - ac_cv_prog_CXXCPP=$CXXCPP
1.21270 -fi
1.21271 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
1.21272 -echo "${ECHO_T}$CXXCPP" >&6
1.21273 -ac_preproc_ok=false
1.21274 -for ac_cxx_preproc_warn_flag in '' yes
1.21275 -do
1.21276 - # Use a header file that comes with gcc, so configuring glibc
1.21277 - # with a fresh cross-compiler works.
1.21278 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.21279 - # <limits.h> exists even on freestanding compilers.
1.21280 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.21281 - # not just through cpp. "Syntax error" is here to catch this case.
1.21282 - cat >conftest.$ac_ext <<_ACEOF
1.21283 -/* confdefs.h. */
1.21284 -_ACEOF
1.21285 -cat confdefs.h >>conftest.$ac_ext
1.21286 -cat >>conftest.$ac_ext <<_ACEOF
1.21287 -/* end confdefs.h. */
1.21288 -@%:@ifdef __STDC__
1.21289 -@%:@ include <limits.h>
1.21290 -@%:@else
1.21291 -@%:@ include <assert.h>
1.21292 -@%:@endif
1.21293 - Syntax error
1.21294 -_ACEOF
1.21295 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.21296 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.21297 - ac_status=$?
1.21298 - grep -v '^ *+' conftest.er1 >conftest.err
1.21299 - rm -f conftest.er1
1.21300 - cat conftest.err >&5
1.21301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21302 - (exit $ac_status); } >/dev/null; then
1.21303 - if test -s conftest.err; then
1.21304 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.21305 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.21306 - else
1.21307 - ac_cpp_err=
1.21308 - fi
1.21309 -else
1.21310 - ac_cpp_err=yes
1.21311 -fi
1.21312 -if test -z "$ac_cpp_err"; then
1.21313 - :
1.21314 -else
1.21315 - echo "$as_me: failed program was:" >&5
1.21316 -sed 's/^/| /' conftest.$ac_ext >&5
1.21317 -
1.21318 - # Broken: fails on valid input.
1.21319 -continue
1.21320 -fi
1.21321 -rm -f conftest.err conftest.$ac_ext
1.21322 -
1.21323 - # OK, works on sane cases. Now check whether non-existent headers
1.21324 - # can be detected and how.
1.21325 - cat >conftest.$ac_ext <<_ACEOF
1.21326 -/* confdefs.h. */
1.21327 -_ACEOF
1.21328 -cat confdefs.h >>conftest.$ac_ext
1.21329 -cat >>conftest.$ac_ext <<_ACEOF
1.21330 -/* end confdefs.h. */
1.21331 -@%:@include <ac_nonexistent.h>
1.21332 -_ACEOF
1.21333 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.21334 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.21335 - ac_status=$?
1.21336 - grep -v '^ *+' conftest.er1 >conftest.err
1.21337 - rm -f conftest.er1
1.21338 - cat conftest.err >&5
1.21339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21340 - (exit $ac_status); } >/dev/null; then
1.21341 - if test -s conftest.err; then
1.21342 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1.21343 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1.21344 - else
1.21345 - ac_cpp_err=
1.21346 - fi
1.21347 -else
1.21348 - ac_cpp_err=yes
1.21349 -fi
1.21350 -if test -z "$ac_cpp_err"; then
1.21351 - # Broken: success on invalid input.
1.21352 -continue
1.21353 -else
1.21354 - echo "$as_me: failed program was:" >&5
1.21355 -sed 's/^/| /' conftest.$ac_ext >&5
1.21356 -
1.21357 - # Passes both tests.
1.21358 -ac_preproc_ok=:
1.21359 -break
1.21360 -fi
1.21361 -rm -f conftest.err conftest.$ac_ext
1.21362 -
1.21363 -done
1.21364 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.21365 -rm -f conftest.err conftest.$ac_ext
1.21366 -if $ac_preproc_ok; then
1.21367 - :
1.21368 -else
1.21369 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.21370 -See \`config.log' for more details." >&5
1.21371 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
1.21372 -See \`config.log' for more details." >&2;}
1.21373 - { (exit 1); exit 1; }; }
1.21374 -fi
1.21375 -
1.21376 -ac_ext=c
1.21377 -ac_cpp='$CPP $CPPFLAGS'
1.21378 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.21379 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.21380 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.21381 -
1.21382 -
1.21383 - echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
1.21384 -echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
1.21385 -if test "${ac_cv_lib_cposix_strerror+set}" = set; then
1.21386 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21387 -else
1.21388 - ac_check_lib_save_LIBS=$LIBS
1.21389 -LIBS="-lcposix $LIBS"
1.21390 -cat >conftest.$ac_ext <<_ACEOF
1.21391 -/* confdefs.h. */
1.21392 -_ACEOF
1.21393 -cat confdefs.h >>conftest.$ac_ext
1.21394 -cat >>conftest.$ac_ext <<_ACEOF
1.21395 -/* end confdefs.h. */
1.21396 -
1.21397 -/* Override any gcc2 internal prototype to avoid an error. */
1.21398 -#ifdef __cplusplus
1.21399 -extern "C"
1.21400 -#endif
1.21401 -/* We use char because int might match the return type of a gcc2
1.21402 - builtin and then its argument prototype would still apply. */
1.21403 -char strerror ();
1.21404 -int
1.21405 -main ()
1.21406 -{
1.21407 -strerror ();
1.21408 - ;
1.21409 - return 0;
1.21410 -}
1.21411 -_ACEOF
1.21412 -rm -f conftest.$ac_objext conftest$ac_exeext
1.21413 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.21414 - (eval $ac_link) 2>conftest.er1
1.21415 - ac_status=$?
1.21416 - grep -v '^ *+' conftest.er1 >conftest.err
1.21417 - rm -f conftest.er1
1.21418 - cat conftest.err >&5
1.21419 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21420 - (exit $ac_status); } &&
1.21421 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.21422 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.21423 - (eval $ac_try) 2>&5
1.21424 - ac_status=$?
1.21425 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21426 - (exit $ac_status); }; } &&
1.21427 - { ac_try='test -s conftest$ac_exeext'
1.21428 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.21429 - (eval $ac_try) 2>&5
1.21430 - ac_status=$?
1.21431 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21432 - (exit $ac_status); }; }; then
1.21433 - ac_cv_lib_cposix_strerror=yes
1.21434 -else
1.21435 - echo "$as_me: failed program was:" >&5
1.21436 -sed 's/^/| /' conftest.$ac_ext >&5
1.21437 -
1.21438 -ac_cv_lib_cposix_strerror=no
1.21439 -fi
1.21440 -rm -f conftest.err conftest.$ac_objext \
1.21441 - conftest$ac_exeext conftest.$ac_ext
1.21442 -LIBS=$ac_check_lib_save_LIBS
1.21443 -fi
1.21444 -echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
1.21445 -echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
1.21446 -if test $ac_cv_lib_cposix_strerror = yes; then
1.21447 - LIBS="$LIBS -lcposix"
1.21448 -fi
1.21449 -
1.21450 -
1.21451 -
1.21452 -
1.21453 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.21454 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1.21455 -if test "${ac_cv_header_stdc+set}" = set; then
1.21456 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21457 -else
1.21458 - cat >conftest.$ac_ext <<_ACEOF
1.21459 -/* confdefs.h. */
1.21460 -_ACEOF
1.21461 -cat confdefs.h >>conftest.$ac_ext
1.21462 -cat >>conftest.$ac_ext <<_ACEOF
1.21463 -/* end confdefs.h. */
1.21464 -#include <stdlib.h>
1.21465 -#include <stdarg.h>
1.21466 -#include <string.h>
1.21467 -#include <float.h>
1.21468 -
1.21469 -int
1.21470 -main ()
1.21471 -{
1.21472 -
1.21473 - ;
1.21474 - return 0;
1.21475 -}
1.21476 -_ACEOF
1.21477 -rm -f conftest.$ac_objext
1.21478 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.21479 - (eval $ac_compile) 2>conftest.er1
1.21480 - ac_status=$?
1.21481 - grep -v '^ *+' conftest.er1 >conftest.err
1.21482 - rm -f conftest.er1
1.21483 - cat conftest.err >&5
1.21484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21485 - (exit $ac_status); } &&
1.21486 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.21487 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.21488 - (eval $ac_try) 2>&5
1.21489 - ac_status=$?
1.21490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21491 - (exit $ac_status); }; } &&
1.21492 - { ac_try='test -s conftest.$ac_objext'
1.21493 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.21494 - (eval $ac_try) 2>&5
1.21495 - ac_status=$?
1.21496 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21497 - (exit $ac_status); }; }; then
1.21498 - ac_cv_header_stdc=yes
1.21499 -else
1.21500 - echo "$as_me: failed program was:" >&5
1.21501 -sed 's/^/| /' conftest.$ac_ext >&5
1.21502 -
1.21503 -ac_cv_header_stdc=no
1.21504 -fi
1.21505 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.21506 -
1.21507 -if test $ac_cv_header_stdc = yes; then
1.21508 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.21509 - cat >conftest.$ac_ext <<_ACEOF
1.21510 -/* confdefs.h. */
1.21511 -_ACEOF
1.21512 -cat confdefs.h >>conftest.$ac_ext
1.21513 -cat >>conftest.$ac_ext <<_ACEOF
1.21514 -/* end confdefs.h. */
1.21515 -#include <string.h>
1.21516 -
1.21517 -_ACEOF
1.21518 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.21519 - $EGREP "memchr" >/dev/null 2>&1; then
1.21520 - :
1.21521 -else
1.21522 - ac_cv_header_stdc=no
1.21523 -fi
1.21524 -rm -f conftest*
1.21525 -
1.21526 -fi
1.21527 -
1.21528 -if test $ac_cv_header_stdc = yes; then
1.21529 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.21530 - cat >conftest.$ac_ext <<_ACEOF
1.21531 -/* confdefs.h. */
1.21532 -_ACEOF
1.21533 -cat confdefs.h >>conftest.$ac_ext
1.21534 -cat >>conftest.$ac_ext <<_ACEOF
1.21535 -/* end confdefs.h. */
1.21536 -#include <stdlib.h>
1.21537 -
1.21538 -_ACEOF
1.21539 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.21540 - $EGREP "free" >/dev/null 2>&1; then
1.21541 - :
1.21542 -else
1.21543 - ac_cv_header_stdc=no
1.21544 -fi
1.21545 -rm -f conftest*
1.21546 -
1.21547 -fi
1.21548 -
1.21549 -if test $ac_cv_header_stdc = yes; then
1.21550 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.21551 - if test "$cross_compiling" = yes; then
1.21552 - :
1.21553 -else
1.21554 - cat >conftest.$ac_ext <<_ACEOF
1.21555 -/* confdefs.h. */
1.21556 -_ACEOF
1.21557 -cat confdefs.h >>conftest.$ac_ext
1.21558 -cat >>conftest.$ac_ext <<_ACEOF
1.21559 -/* end confdefs.h. */
1.21560 -#include <ctype.h>
1.21561 -#if ((' ' & 0x0FF) == 0x020)
1.21562 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.21563 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.21564 -#else
1.21565 -# define ISLOWER(c) \
1.21566 - (('a' <= (c) && (c) <= 'i') \
1.21567 - || ('j' <= (c) && (c) <= 'r') \
1.21568 - || ('s' <= (c) && (c) <= 'z'))
1.21569 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.21570 -#endif
1.21571 -
1.21572 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.21573 -int
1.21574 -main ()
1.21575 -{
1.21576 - int i;
1.21577 - for (i = 0; i < 256; i++)
1.21578 - if (XOR (islower (i), ISLOWER (i))
1.21579 - || toupper (i) != TOUPPER (i))
1.21580 - exit(2);
1.21581 - exit (0);
1.21582 -}
1.21583 -_ACEOF
1.21584 -rm -f conftest$ac_exeext
1.21585 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.21586 - (eval $ac_link) 2>&5
1.21587 - ac_status=$?
1.21588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21589 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.21590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.21591 - (eval $ac_try) 2>&5
1.21592 - ac_status=$?
1.21593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21594 - (exit $ac_status); }; }; then
1.21595 - :
1.21596 -else
1.21597 - echo "$as_me: program exited with status $ac_status" >&5
1.21598 -echo "$as_me: failed program was:" >&5
1.21599 -sed 's/^/| /' conftest.$ac_ext >&5
1.21600 -
1.21601 -( exit $ac_status )
1.21602 -ac_cv_header_stdc=no
1.21603 -fi
1.21604 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.21605 -fi
1.21606 -fi
1.21607 -fi
1.21608 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.21609 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.21610 -if test $ac_cv_header_stdc = yes; then
1.21611 -
1.21612 -cat >>confdefs.h <<\_ACEOF
1.21613 -@%:@define STDC_HEADERS 1
1.21614 -_ACEOF
1.21615 -
1.21616 -fi
1.21617 -
1.21618 -echo "$as_me:$LINENO: checking for inline" >&5
1.21619 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
1.21620 -if test "${ac_cv_c_inline+set}" = set; then
1.21621 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21622 -else
1.21623 - ac_cv_c_inline=no
1.21624 -for ac_kw in inline __inline__ __inline; do
1.21625 - cat >conftest.$ac_ext <<_ACEOF
1.21626 -/* confdefs.h. */
1.21627 -_ACEOF
1.21628 -cat confdefs.h >>conftest.$ac_ext
1.21629 -cat >>conftest.$ac_ext <<_ACEOF
1.21630 -/* end confdefs.h. */
1.21631 -#ifndef __cplusplus
1.21632 -typedef int foo_t;
1.21633 -static $ac_kw foo_t static_foo () {return 0; }
1.21634 -$ac_kw foo_t foo () {return 0; }
1.21635 -#endif
1.21636 -
1.21637 -_ACEOF
1.21638 -rm -f conftest.$ac_objext
1.21639 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.21640 - (eval $ac_compile) 2>conftest.er1
1.21641 - ac_status=$?
1.21642 - grep -v '^ *+' conftest.er1 >conftest.err
1.21643 - rm -f conftest.er1
1.21644 - cat conftest.err >&5
1.21645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21646 - (exit $ac_status); } &&
1.21647 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.21648 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.21649 - (eval $ac_try) 2>&5
1.21650 - ac_status=$?
1.21651 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21652 - (exit $ac_status); }; } &&
1.21653 - { ac_try='test -s conftest.$ac_objext'
1.21654 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.21655 - (eval $ac_try) 2>&5
1.21656 - ac_status=$?
1.21657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.21658 - (exit $ac_status); }; }; then
1.21659 - ac_cv_c_inline=$ac_kw; break
1.21660 -else
1.21661 - echo "$as_me: failed program was:" >&5
1.21662 -sed 's/^/| /' conftest.$ac_ext >&5
1.21663 -
1.21664 -fi
1.21665 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.21666 -done
1.21667 -
1.21668 -fi
1.21669 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
1.21670 -echo "${ECHO_T}$ac_cv_c_inline" >&6
1.21671 -
1.21672 -
1.21673 -case $ac_cv_c_inline in
1.21674 - inline | yes) ;;
1.21675 - *)
1.21676 - case $ac_cv_c_inline in
1.21677 - no) ac_val=;;
1.21678 - *) ac_val=$ac_cv_c_inline;;
1.21679 - esac
1.21680 - cat >>confdefs.h <<_ACEOF
1.21681 -#ifndef __cplusplus
1.21682 -#define inline $ac_val
1.21683 -#endif
1.21684 -_ACEOF
1.21685 - ;;
1.21686 -esac
1.21687 -
1.21688 -
1.21689 -# Extract the first word of "pkg-config", so it can be a program name with args.
1.21690 -set dummy pkg-config; ac_word=$2
1.21691 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21692 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.21693 -if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
1.21694 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21695 -else
1.21696 - if test -n "$HAVE_PKGCONFIG"; then
1.21697 - ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
1.21698 -else
1.21699 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21700 -for as_dir in $PATH
1.21701 -do
1.21702 - IFS=$as_save_IFS
1.21703 - test -z "$as_dir" && as_dir=.
1.21704 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21705 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.21706 - ac_cv_prog_HAVE_PKGCONFIG="yes"
1.21707 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21708 - break 2
1.21709 - fi
1.21710 -done
1.21711 -done
1.21712 -
1.21713 - test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
1.21714 -fi
1.21715 -fi
1.21716 -HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
1.21717 -if test -n "$HAVE_PKGCONFIG"; then
1.21718 - echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
1.21719 -echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
1.21720 -else
1.21721 - echo "$as_me:$LINENO: result: no" >&5
1.21722 -echo "${ECHO_T}no" >&6
1.21723 -fi
1.21724 -
1.21725 -
1.21726 -if test "x$HAVE_PKGCONFIG" = "xno"; then
1.21727 - { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
1.21728 -echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
1.21729 - { (exit 1); exit 1; }; }
1.21730 -fi
1.21731 -
1.21732 -
1.21733 -GST_REQUIRED=0.10.3
1.21734 -GST_MAJORMINOR=0.10
1.21735 -
1.21736 -
1.21737 - succeeded=no
1.21738 -
1.21739 - if test -z "$PKG_CONFIG"; then
1.21740 - # Extract the first word of "pkg-config", so it can be a program name with args.
1.21741 -set dummy pkg-config; ac_word=$2
1.21742 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21743 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.21744 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.21745 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21746 -else
1.21747 - case $PKG_CONFIG in
1.21748 - [\\/]* | ?:[\\/]*)
1.21749 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.21750 - ;;
1.21751 - *)
1.21752 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21753 -for as_dir in $PATH
1.21754 -do
1.21755 - IFS=$as_save_IFS
1.21756 - test -z "$as_dir" && as_dir=.
1.21757 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21758 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.21759 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.21760 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21761 - break 2
1.21762 - fi
1.21763 -done
1.21764 -done
1.21765 -
1.21766 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1.21767 - ;;
1.21768 -esac
1.21769 -fi
1.21770 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.21771 -
1.21772 -if test -n "$PKG_CONFIG"; then
1.21773 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1.21774 -echo "${ECHO_T}$PKG_CONFIG" >&6
1.21775 -else
1.21776 - echo "$as_me:$LINENO: result: no" >&5
1.21777 -echo "${ECHO_T}no" >&6
1.21778 -fi
1.21779 -
1.21780 - fi
1.21781 -
1.21782 - if test "$PKG_CONFIG" = "no" ; then
1.21783 - echo "*** The pkg-config script could not be found. Make sure it is"
1.21784 - echo "*** in your path, or set the PKG_CONFIG environment variable"
1.21785 - echo "*** to the full path to pkg-config."
1.21786 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
1.21787 - else
1.21788 - PKG_CONFIG_MIN_VERSION=0.9.0
1.21789 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
1.21790 - echo "$as_me:$LINENO: checking for \
1.21791 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
1.21792 -echo $ECHO_N "checking for \
1.21793 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
1.21794 -
1.21795 - if $PKG_CONFIG --exists "\
1.21796 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
1.21797 - echo "$as_me:$LINENO: result: yes" >&5
1.21798 -echo "${ECHO_T}yes" >&6
1.21799 - succeeded=yes
1.21800 -
1.21801 - echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
1.21802 -echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
1.21803 - GST_CFLAGS=`$PKG_CONFIG --cflags "\
1.21804 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.21805 - echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
1.21806 -echo "${ECHO_T}$GST_CFLAGS" >&6
1.21807 -
1.21808 - echo "$as_me:$LINENO: checking GST_LIBS" >&5
1.21809 -echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
1.21810 - GST_LIBS=`$PKG_CONFIG --libs "\
1.21811 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.21812 - echo "$as_me:$LINENO: result: $GST_LIBS" >&5
1.21813 -echo "${ECHO_T}$GST_LIBS" >&6
1.21814 - else
1.21815 - GST_CFLAGS=""
1.21816 - GST_LIBS=""
1.21817 - ## If we have a custom action on failure, don't print errors, but
1.21818 - ## do set a variable so people can do so.
1.21819 - GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
1.21820 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.21821 -
1.21822 - fi
1.21823 -
1.21824 -
1.21825 -
1.21826 - else
1.21827 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
1.21828 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
1.21829 - fi
1.21830 - fi
1.21831 -
1.21832 - if test $succeeded = yes; then
1.21833 - HAVE_GST=yes
1.21834 - else
1.21835 - HAVE_GST=no
1.21836 - fi
1.21837 -
1.21838 -
1.21839 -if test "x$HAVE_GST" = "xno"; then
1.21840 - { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
1.21841 -echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
1.21842 - { (exit 1); exit 1; }; }
1.21843 -fi
1.21844 -
1.21845 -if test "x$USE_DEBUG" = xyes; then
1.21846 - GST_CFLAGS="$GST_CFLAGS -g"
1.21847 -fi
1.21848 -
1.21849 -
1.21850 -
1.21851 -
1.21852 -
1.21853 -
1.21854 -
1.21855 - succeeded=no
1.21856 -
1.21857 - if test -z "$PKG_CONFIG"; then
1.21858 - # Extract the first word of "pkg-config", so it can be a program name with args.
1.21859 -set dummy pkg-config; ac_word=$2
1.21860 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21861 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.21862 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.21863 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21864 -else
1.21865 - case $PKG_CONFIG in
1.21866 - [\\/]* | ?:[\\/]*)
1.21867 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.21868 - ;;
1.21869 - *)
1.21870 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21871 -for as_dir in $PATH
1.21872 -do
1.21873 - IFS=$as_save_IFS
1.21874 - test -z "$as_dir" && as_dir=.
1.21875 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21876 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.21877 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.21878 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21879 - break 2
1.21880 - fi
1.21881 -done
1.21882 -done
1.21883 -
1.21884 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1.21885 - ;;
1.21886 -esac
1.21887 -fi
1.21888 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.21889 -
1.21890 -if test -n "$PKG_CONFIG"; then
1.21891 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1.21892 -echo "${ECHO_T}$PKG_CONFIG" >&6
1.21893 -else
1.21894 - echo "$as_me:$LINENO: result: no" >&5
1.21895 -echo "${ECHO_T}no" >&6
1.21896 -fi
1.21897 -
1.21898 - fi
1.21899 -
1.21900 - if test "$PKG_CONFIG" = "no" ; then
1.21901 - echo "*** The pkg-config script could not be found. Make sure it is"
1.21902 - echo "*** in your path, or set the PKG_CONFIG environment variable"
1.21903 - echo "*** to the full path to pkg-config."
1.21904 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
1.21905 - else
1.21906 - PKG_CONFIG_MIN_VERSION=0.9.0
1.21907 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
1.21908 - echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
1.21909 -echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
1.21910 -
1.21911 - if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
1.21912 - echo "$as_me:$LINENO: result: yes" >&5
1.21913 -echo "${ECHO_T}yes" >&6
1.21914 - succeeded=yes
1.21915 -
1.21916 - echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
1.21917 -echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
1.21918 - GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.21919 - echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
1.21920 -echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
1.21921 -
1.21922 - echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
1.21923 -echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
1.21924 - GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.21925 - echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
1.21926 -echo "${ECHO_T}$GST_BASE_LIBS" >&6
1.21927 - else
1.21928 - GST_BASE_CFLAGS=""
1.21929 - GST_BASE_LIBS=""
1.21930 - ## If we have a custom action on failure, don't print errors, but
1.21931 - ## do set a variable so people can do so.
1.21932 - GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.21933 -
1.21934 - fi
1.21935 -
1.21936 -
1.21937 -
1.21938 - else
1.21939 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
1.21940 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
1.21941 - fi
1.21942 - fi
1.21943 -
1.21944 - if test $succeeded = yes; then
1.21945 - HAVE_GST_BASE="yes"
1.21946 - else
1.21947 - HAVE_GST_BASE="no"
1.21948 - fi
1.21949 -
1.21950 -
1.21951 -if test "x$HAVE_GST_BASE" = "xno"; then
1.21952 - { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
1.21953 -echo "$as_me: error: no GStreamer Base Libs found" >&2;}
1.21954 - { (exit 1); exit 1; }; }
1.21955 -fi
1.21956 -
1.21957 -
1.21958 -
1.21959 -
1.21960 -
1.21961 - succeeded=no
1.21962 -
1.21963 - if test -z "$PKG_CONFIG"; then
1.21964 - # Extract the first word of "pkg-config", so it can be a program name with args.
1.21965 -set dummy pkg-config; ac_word=$2
1.21966 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1.21967 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.21968 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.21969 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.21970 -else
1.21971 - case $PKG_CONFIG in
1.21972 - [\\/]* | ?:[\\/]*)
1.21973 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.21974 - ;;
1.21975 - *)
1.21976 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.21977 -for as_dir in $PATH
1.21978 -do
1.21979 - IFS=$as_save_IFS
1.21980 - test -z "$as_dir" && as_dir=.
1.21981 - for ac_exec_ext in '' $ac_executable_extensions; do
1.21982 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.21983 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.21984 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.21985 - break 2
1.21986 - fi
1.21987 -done
1.21988 -done
1.21989 -
1.21990 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1.21991 - ;;
1.21992 -esac
1.21993 -fi
1.21994 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.21995 -
1.21996 -if test -n "$PKG_CONFIG"; then
1.21997 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1.21998 -echo "${ECHO_T}$PKG_CONFIG" >&6
1.21999 -else
1.22000 - echo "$as_me:$LINENO: result: no" >&5
1.22001 -echo "${ECHO_T}no" >&6
1.22002 -fi
1.22003 -
1.22004 - fi
1.22005 -
1.22006 - if test "$PKG_CONFIG" = "no" ; then
1.22007 - echo "*** The pkg-config script could not be found. Make sure it is"
1.22008 - echo "*** in your path, or set the PKG_CONFIG environment variable"
1.22009 - echo "*** to the full path to pkg-config."
1.22010 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
1.22011 - else
1.22012 - PKG_CONFIG_MIN_VERSION=0.9.0
1.22013 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
1.22014 - echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
1.22015 -echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
1.22016 -
1.22017 - if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
1.22018 - echo "$as_me:$LINENO: result: yes" >&5
1.22019 -echo "${ECHO_T}yes" >&6
1.22020 - succeeded=yes
1.22021 -
1.22022 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
1.22023 -echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
1.22024 - GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22025 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
1.22026 -echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
1.22027 -
1.22028 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
1.22029 -echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
1.22030 - GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22031 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
1.22032 -echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
1.22033 - else
1.22034 - GST_PLUGINS_BASE_CFLAGS=""
1.22035 - GST_PLUGINS_BASE_LIBS=""
1.22036 - ## If we have a custom action on failure, don't print errors, but
1.22037 - ## do set a variable so people can do so.
1.22038 - GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
1.22039 -
1.22040 - fi
1.22041 -
1.22042 -
1.22043 -
1.22044 - else
1.22045 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
1.22046 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
1.22047 - fi
1.22048 - fi
1.22049 -
1.22050 - if test $succeeded = yes; then
1.22051 - HAVE_GST_PLUGINS="yes"
1.22052 - else
1.22053 - HAVE_GST_PLUGINS="no"
1.22054 - fi
1.22055 -
1.22056 -
1.22057 -if test "x$HAVE_GST_PLUGINS" = "xno"; then
1.22058 - { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
1.22059 -echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
1.22060 - { (exit 1); exit 1; }; }
1.22061 -fi
1.22062 -
1.22063 -
1.22064 -
1.22065 -
1.22066 -plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
1.22067 -
1.22068 -
1.22069 -GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
1.22070 -
1.22071 -
1.22072 - ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
1.22073 -cat >confcache <<\_ACEOF
1.22074 -# This file is a shell script that caches the results of configure
1.22075 -# tests run on this system so they can be shared between configure
1.22076 -# scripts and configure runs, see configure's option --config-cache.
1.22077 -# It is not useful on other systems. If it contains results you don't
1.22078 -# want to keep, you may remove or edit it.
1.22079 -#
1.22080 -# config.status only pays attention to the cache file if you give it
1.22081 -# the --recheck option to rerun configure.
1.22082 -#
1.22083 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
1.22084 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
1.22085 -# following values.
1.22086 -
1.22087 -_ACEOF
1.22088 -
1.22089 -# The following way of writing the cache mishandles newlines in values,
1.22090 -# but we know of no workaround that is simple, portable, and efficient.
1.22091 -# So, don't put newlines in cache variables' values.
1.22092 -# Ultrix sh set writes to stderr and can't be redirected directly,
1.22093 -# and sets the high bit in the cache file unless we assign to the vars.
1.22094 -{
1.22095 - (set) 2>&1 |
1.22096 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
1.22097 - *ac_space=\ *)
1.22098 - # `set' does not quote correctly, so add quotes (double-quote
1.22099 - # substitution turns \\\\ into \\, and sed turns \\ into \).
1.22100 - sed -n \
1.22101 - "s/'/'\\\\''/g;
1.22102 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.22103 - ;;
1.22104 - *)
1.22105 - # `set' quotes correctly as required by POSIX, so do not add quotes.
1.22106 - sed -n \
1.22107 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.22108 - ;;
1.22109 - esac;
1.22110 -} |
1.22111 - sed '
1.22112 - t clear
1.22113 - : clear
1.22114 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1.22115 - t end
1.22116 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1.22117 - : end' >>confcache
1.22118 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.22119 - if test -w $cache_file; then
1.22120 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1.22121 - cat confcache >$cache_file
1.22122 - else
1.22123 - echo "not updating unwritable cache $cache_file"
1.22124 - fi
1.22125 -fi
1.22126 -rm -f confcache
1.22127 -
1.22128 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
1.22129 -# Let make expand exec_prefix.
1.22130 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1.22131 -
1.22132 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
1.22133 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1.22134 -# trailing colons and then remove the whole line if VPATH becomes empty
1.22135 -# (actually we leave an empty line to preserve line numbers).
1.22136 -if test "x$srcdir" = x.; then
1.22137 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
1.22138 -s/:*\$(srcdir):*/:/;
1.22139 -s/:*\${srcdir}:*/:/;
1.22140 -s/:*@srcdir@:*/:/;
1.22141 -s/^\([^=]*=[ ]*\):*/\1/;
1.22142 -s/:*$//;
1.22143 -s/^[^=]*=[ ]*$//;
1.22144 -}'
1.22145 -fi
1.22146 -
1.22147 -DEFS=-DHAVE_CONFIG_H
1.22148 -
1.22149 -ac_libobjs=
1.22150 -ac_ltlibobjs=
1.22151 -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
1.22152 - # 1. Remove the extension, and $U if already installed.
1.22153 - ac_i=`echo "$ac_i" |
1.22154 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.22155 - # 2. Add them.
1.22156 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1.22157 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1.22158 -done
1.22159 -LIB@&t@OBJS=$ac_libobjs
1.22160 -
1.22161 -LTLIBOBJS=$ac_ltlibobjs
1.22162 -
1.22163 -
1.22164 -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.22165 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
1.22166 -Usually this means the macro was only invoked conditionally." >&5
1.22167 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1.22168 -Usually this means the macro was only invoked conditionally." >&2;}
1.22169 - { (exit 1); exit 1; }; }
1.22170 -fi
1.22171 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.22172 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
1.22173 -Usually this means the macro was only invoked conditionally." >&5
1.22174 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
1.22175 -Usually this means the macro was only invoked conditionally." >&2;}
1.22176 - { (exit 1); exit 1; }; }
1.22177 -fi
1.22178 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.22179 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.22180 -Usually this means the macro was only invoked conditionally." >&5
1.22181 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.22182 -Usually this means the macro was only invoked conditionally." >&2;}
1.22183 - { (exit 1); exit 1; }; }
1.22184 -fi
1.22185 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.22186 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.22187 -Usually this means the macro was only invoked conditionally." >&5
1.22188 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.22189 -Usually this means the macro was only invoked conditionally." >&2;}
1.22190 - { (exit 1); exit 1; }; }
1.22191 -fi
1.22192 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.22193 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.22194 -Usually this means the macro was only invoked conditionally." >&5
1.22195 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.22196 -Usually this means the macro was only invoked conditionally." >&2;}
1.22197 - { (exit 1); exit 1; }; }
1.22198 -fi
1.22199 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.22200 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.22201 -Usually this means the macro was only invoked conditionally." >&5
1.22202 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.22203 -Usually this means the macro was only invoked conditionally." >&2;}
1.22204 - { (exit 1); exit 1; }; }
1.22205 -fi
1.22206 -
1.22207 -: ${CONFIG_STATUS=./config.status}
1.22208 -ac_clean_files_save=$ac_clean_files
1.22209 -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.22210 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1.22211 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.22212 -cat >$CONFIG_STATUS <<_ACEOF
1.22213 -#! $SHELL
1.22214 -# Generated by $as_me.
1.22215 -# Run this file to recreate the current configuration.
1.22216 -# Compiler output produced by configure, useful for debugging
1.22217 -# configure, is in config.log if it exists.
1.22218 -
1.22219 -debug=false
1.22220 -ac_cs_recheck=false
1.22221 -ac_cs_silent=false
1.22222 -SHELL=\${CONFIG_SHELL-$SHELL}
1.22223 -_ACEOF
1.22224 -
1.22225 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22226 -## --------------------- ##
1.22227 -## M4sh Initialization. ##
1.22228 -## --------------------- ##
1.22229 -
1.22230 -# Be Bourne compatible
1.22231 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.22232 - emulate sh
1.22233 - NULLCMD=:
1.22234 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.22235 - # is contrary to our usage. Disable this feature.
1.22236 - alias -g '${1+"$@"}'='"$@"'
1.22237 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1.22238 - set -o posix
1.22239 -fi
1.22240 -DUALCASE=1; export DUALCASE # for MKS sh
1.22241 -
1.22242 -# Support unset when possible.
1.22243 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.22244 - as_unset=unset
1.22245 -else
1.22246 - as_unset=false
1.22247 -fi
1.22248 -
1.22249 -
1.22250 -# Work around bugs in pre-3.0 UWIN ksh.
1.22251 -$as_unset ENV MAIL MAILPATH
1.22252 -PS1='$ '
1.22253 -PS2='> '
1.22254 -PS4='+ '
1.22255 -
1.22256 -# NLS nuisances.
1.22257 -for as_var in \
1.22258 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1.22259 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1.22260 - LC_TELEPHONE LC_TIME
1.22261 -do
1.22262 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.22263 - eval $as_var=C; export $as_var
1.22264 - else
1.22265 - $as_unset $as_var
1.22266 - fi
1.22267 -done
1.22268 -
1.22269 -# Required to use basename.
1.22270 -if expr a : '\(a\)' >/dev/null 2>&1; then
1.22271 - as_expr=expr
1.22272 -else
1.22273 - as_expr=false
1.22274 -fi
1.22275 -
1.22276 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.22277 - as_basename=basename
1.22278 -else
1.22279 - as_basename=false
1.22280 -fi
1.22281 -
1.22282 -
1.22283 -# Name of the executable.
1.22284 -as_me=`$as_basename "$0" ||
1.22285 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1.22286 - X"$0" : 'X\(//\)$' \| \
1.22287 - X"$0" : 'X\(/\)$' \| \
1.22288 - . : '\(.\)' 2>/dev/null ||
1.22289 -echo X/"$0" |
1.22290 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1.22291 - /^X\/\(\/\/\)$/{ s//\1/; q; }
1.22292 - /^X\/\(\/\).*/{ s//\1/; q; }
1.22293 - s/.*/./; q'`
1.22294 -
1.22295 -
1.22296 -# PATH needs CR, and LINENO needs CR and PATH.
1.22297 -# Avoid depending upon Character Ranges.
1.22298 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1.22299 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1.22300 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1.22301 -as_cr_digits='0123456789'
1.22302 -as_cr_alnum=$as_cr_Letters$as_cr_digits
1.22303 -
1.22304 -# The user is always right.
1.22305 -if test "${PATH_SEPARATOR+set}" != set; then
1.22306 - echo "#! /bin/sh" >conf$$.sh
1.22307 - echo "exit 0" >>conf$$.sh
1.22308 - chmod +x conf$$.sh
1.22309 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.22310 - PATH_SEPARATOR=';'
1.22311 - else
1.22312 - PATH_SEPARATOR=:
1.22313 - fi
1.22314 - rm -f conf$$.sh
1.22315 -fi
1.22316 -
1.22317 -
1.22318 - as_lineno_1=$LINENO
1.22319 - as_lineno_2=$LINENO
1.22320 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.22321 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.22322 - test "x$as_lineno_3" = "x$as_lineno_2" || {
1.22323 - # Find who we are. Look in the path if we contain no path at all
1.22324 - # relative or not.
1.22325 - case $0 in
1.22326 - *[\\/]* ) as_myself=$0 ;;
1.22327 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22328 -for as_dir in $PATH
1.22329 -do
1.22330 - IFS=$as_save_IFS
1.22331 - test -z "$as_dir" && as_dir=.
1.22332 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.22333 -done
1.22334 -
1.22335 - ;;
1.22336 - esac
1.22337 - # We did not find ourselves, most probably we were run as `sh COMMAND'
1.22338 - # in which case we are not to be found in the path.
1.22339 - if test "x$as_myself" = x; then
1.22340 - as_myself=$0
1.22341 - fi
1.22342 - if test ! -f "$as_myself"; then
1.22343 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1.22344 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1.22345 - { (exit 1); exit 1; }; }
1.22346 - fi
1.22347 - case $CONFIG_SHELL in
1.22348 - '')
1.22349 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.22350 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.22351 -do
1.22352 - IFS=$as_save_IFS
1.22353 - test -z "$as_dir" && as_dir=.
1.22354 - for as_base in sh bash ksh sh5; do
1.22355 - case $as_dir in
1.22356 - /*)
1.22357 - if ("$as_dir/$as_base" -c '
1.22358 - as_lineno_1=$LINENO
1.22359 - as_lineno_2=$LINENO
1.22360 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.22361 - test "x$as_lineno_1" != "x$as_lineno_2" &&
1.22362 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1.22363 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1.22364 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1.22365 - CONFIG_SHELL=$as_dir/$as_base
1.22366 - export CONFIG_SHELL
1.22367 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1.22368 - fi;;
1.22369 - esac
1.22370 - done
1.22371 -done
1.22372 -;;
1.22373 - esac
1.22374 -
1.22375 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1.22376 - # uniformly replaced by the line number. The first 'sed' inserts a
1.22377 - # line-number line before each line; the second 'sed' does the real
1.22378 - # work. The second script uses 'N' to pair each line-number line
1.22379 - # with the numbered line, and appends trailing '-' during
1.22380 - # substitution so that $LINENO is not a special case at line end.
1.22381 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.22382 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1.22383 - sed '=' <$as_myself |
1.22384 - sed '
1.22385 - N
1.22386 - s,$,-,
1.22387 - : loop
1.22388 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1.22389 - t loop
1.22390 - s,-$,,
1.22391 - s,^['$as_cr_digits']*\n,,
1.22392 - ' >$as_me.lineno &&
1.22393 - chmod +x $as_me.lineno ||
1.22394 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1.22395 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1.22396 - { (exit 1); exit 1; }; }
1.22397 -
1.22398 - # Don't try to exec as it changes $[0], causing all sort of problems
1.22399 - # (the dirname of $[0] is not the place where we might find the
1.22400 - # original and so on. Autoconf is especially sensible to this).
1.22401 - . ./$as_me.lineno
1.22402 - # Exit status is that of the last command.
1.22403 - exit
1.22404 -}
1.22405 -
1.22406 -
1.22407 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1.22408 - *c*,-n*) ECHO_N= ECHO_C='
1.22409 -' ECHO_T=' ' ;;
1.22410 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1.22411 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1.22412 -esac
1.22413 -
1.22414 -if expr a : '\(a\)' >/dev/null 2>&1; then
1.22415 - as_expr=expr
1.22416 -else
1.22417 - as_expr=false
1.22418 -fi
1.22419 -
1.22420 -rm -f conf$$ conf$$.exe conf$$.file
1.22421 -echo >conf$$.file
1.22422 -if ln -s conf$$.file conf$$ 2>/dev/null; then
1.22423 - # We could just check for DJGPP; but this test a) works b) is more generic
1.22424 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1.22425 - if test -f conf$$.exe; then
1.22426 - # Don't use ln at all; we don't have any links
1.22427 - as_ln_s='cp -p'
1.22428 - else
1.22429 - as_ln_s='ln -s'
1.22430 - fi
1.22431 -elif ln conf$$.file conf$$ 2>/dev/null; then
1.22432 - as_ln_s=ln
1.22433 -else
1.22434 - as_ln_s='cp -p'
1.22435 -fi
1.22436 -rm -f conf$$ conf$$.exe conf$$.file
1.22437 -
1.22438 -if mkdir -p . 2>/dev/null; then
1.22439 - as_mkdir_p=:
1.22440 -else
1.22441 - test -d ./-p && rmdir ./-p
1.22442 - as_mkdir_p=false
1.22443 -fi
1.22444 -
1.22445 -as_executable_p="test -f"
1.22446 -
1.22447 -# Sed expression to map a string onto a valid CPP name.
1.22448 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.22449 -
1.22450 -# Sed expression to map a string onto a valid variable name.
1.22451 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.22452 -
1.22453 -
1.22454 -# IFS
1.22455 -# We need space, tab and new line, in precisely that order.
1.22456 -as_nl='
1.22457 -'
1.22458 -IFS=" $as_nl"
1.22459 -
1.22460 -# CDPATH.
1.22461 -$as_unset CDPATH
1.22462 -
1.22463 -exec 6>&1
1.22464 -
1.22465 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
1.22466 -# report actual input values of CONFIG_FILES etc. instead of their
1.22467 -# values after options handling. Logging --version etc. is OK.
1.22468 -exec 5>>config.log
1.22469 -{
1.22470 - echo
1.22471 - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
1.22472 -@%:@@%:@ Running $as_me. @%:@@%:@
1.22473 -_ASBOX
1.22474 -} >&5
1.22475 -cat >&5 <<_CSEOF
1.22476 -
1.22477 -This file was extended by $as_me, which was
1.22478 -generated by GNU Autoconf 2.59. Invocation command line was
1.22479 -
1.22480 - CONFIG_FILES = $CONFIG_FILES
1.22481 - CONFIG_HEADERS = $CONFIG_HEADERS
1.22482 - CONFIG_LINKS = $CONFIG_LINKS
1.22483 - CONFIG_COMMANDS = $CONFIG_COMMANDS
1.22484 - $ $0 $@
1.22485 -
1.22486 -_CSEOF
1.22487 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1.22488 -echo >&5
1.22489 -_ACEOF
1.22490 -
1.22491 -# Files that config.status was made for.
1.22492 -if test -n "$ac_config_files"; then
1.22493 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1.22494 -fi
1.22495 -
1.22496 -if test -n "$ac_config_headers"; then
1.22497 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1.22498 -fi
1.22499 -
1.22500 -if test -n "$ac_config_links"; then
1.22501 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1.22502 -fi
1.22503 -
1.22504 -if test -n "$ac_config_commands"; then
1.22505 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1.22506 -fi
1.22507 -
1.22508 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22509 -
1.22510 -ac_cs_usage="\
1.22511 -\`$as_me' instantiates files from templates according to the
1.22512 -current configuration.
1.22513 -
1.22514 -Usage: $0 [OPTIONS] [FILE]...
1.22515 -
1.22516 - -h, --help print this help, then exit
1.22517 - -V, --version print version number, then exit
1.22518 - -q, --quiet do not print progress messages
1.22519 - -d, --debug don't remove temporary files
1.22520 - --recheck update $as_me by reconfiguring in the same conditions
1.22521 - --file=FILE[:TEMPLATE]
1.22522 - instantiate the configuration file FILE
1.22523 - --header=FILE[:TEMPLATE]
1.22524 - instantiate the configuration header FILE
1.22525 -
1.22526 -Configuration files:
1.22527 -$config_files
1.22528 -
1.22529 -Configuration headers:
1.22530 -$config_headers
1.22531 -
1.22532 -Configuration commands:
1.22533 -$config_commands
1.22534 -
1.22535 -Report bugs to <bug-autoconf@gnu.org>."
1.22536 -_ACEOF
1.22537 -
1.22538 -cat >>$CONFIG_STATUS <<_ACEOF
1.22539 -ac_cs_version="\\
1.22540 -config.status
1.22541 -configured by $0, generated by GNU Autoconf 2.59,
1.22542 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1.22543 -
1.22544 -Copyright (C) 2003 Free Software Foundation, Inc.
1.22545 -This config.status script is free software; the Free Software Foundation
1.22546 -gives unlimited permission to copy, distribute and modify it."
1.22547 -srcdir=$srcdir
1.22548 -INSTALL="$INSTALL"
1.22549 -_ACEOF
1.22550 -
1.22551 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22552 -# If no file are specified by the user, then we need to provide default
1.22553 -# value. By we need to know if files were specified by the user.
1.22554 -ac_need_defaults=:
1.22555 -while test $# != 0
1.22556 -do
1.22557 - case $1 in
1.22558 - --*=*)
1.22559 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
1.22560 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1.22561 - ac_shift=:
1.22562 - ;;
1.22563 - -*)
1.22564 - ac_option=$1
1.22565 - ac_optarg=$2
1.22566 - ac_shift=shift
1.22567 - ;;
1.22568 - *) # This is not an option, so the user has probably given explicit
1.22569 - # arguments.
1.22570 - ac_option=$1
1.22571 - ac_need_defaults=false;;
1.22572 - esac
1.22573 -
1.22574 - case $ac_option in
1.22575 - # Handling of the options.
1.22576 -_ACEOF
1.22577 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22578 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.22579 - ac_cs_recheck=: ;;
1.22580 - --version | --vers* | -V )
1.22581 - echo "$ac_cs_version"; exit 0 ;;
1.22582 - --he | --h)
1.22583 - # Conflict between --help and --header
1.22584 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
1.22585 -Try \`$0 --help' for more information." >&5
1.22586 -echo "$as_me: error: ambiguous option: $1
1.22587 -Try \`$0 --help' for more information." >&2;}
1.22588 - { (exit 1); exit 1; }; };;
1.22589 - --help | --hel | -h )
1.22590 - echo "$ac_cs_usage"; exit 0 ;;
1.22591 - --debug | --d* | -d )
1.22592 - debug=: ;;
1.22593 - --file | --fil | --fi | --f )
1.22594 - $ac_shift
1.22595 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.22596 - ac_need_defaults=false;;
1.22597 - --header | --heade | --head | --hea )
1.22598 - $ac_shift
1.22599 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1.22600 - ac_need_defaults=false;;
1.22601 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.22602 - | -silent | --silent | --silen | --sile | --sil | --si | --s)
1.22603 - ac_cs_silent=: ;;
1.22604 -
1.22605 - # This is an error.
1.22606 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1.22607 -Try \`$0 --help' for more information." >&5
1.22608 -echo "$as_me: error: unrecognized option: $1
1.22609 -Try \`$0 --help' for more information." >&2;}
1.22610 - { (exit 1); exit 1; }; } ;;
1.22611 -
1.22612 - *) ac_config_targets="$ac_config_targets $1" ;;
1.22613 -
1.22614 - esac
1.22615 - shift
1.22616 -done
1.22617 -
1.22618 -ac_configure_extra_args=
1.22619 -
1.22620 -if $ac_cs_silent; then
1.22621 - exec 6>/dev/null
1.22622 - ac_configure_extra_args="$ac_configure_extra_args --silent"
1.22623 -fi
1.22624 -
1.22625 -_ACEOF
1.22626 -cat >>$CONFIG_STATUS <<_ACEOF
1.22627 -if \$ac_cs_recheck; then
1.22628 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1.22629 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.22630 -fi
1.22631 -
1.22632 -_ACEOF
1.22633 -
1.22634 -cat >>$CONFIG_STATUS <<_ACEOF
1.22635 -#
1.22636 -# INIT-COMMANDS section.
1.22637 -#
1.22638 -
1.22639 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.22640 -
1.22641 -_ACEOF
1.22642 -
1.22643 -
1.22644 -
1.22645 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22646 -for ac_config_target in $ac_config_targets
1.22647 -do
1.22648 - case "$ac_config_target" in
1.22649 - # Handling of arguments.
1.22650 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.22651 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
1.22652 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
1.22653 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.22654 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1.22655 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1.22656 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.22657 - { (exit 1); exit 1; }; };;
1.22658 - esac
1.22659 -done
1.22660 -
1.22661 -# If the user did not use the arguments to specify the items to instantiate,
1.22662 -# then the envvar interface is used. Set only those that are not.
1.22663 -# We use the long form for the default assignment because of an extremely
1.22664 -# bizarre bug on SunOS 4.1.3.
1.22665 -if $ac_need_defaults; then
1.22666 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1.22667 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1.22668 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1.22669 -fi
1.22670 -
1.22671 -# Have a temporary directory for convenience. Make it in the build tree
1.22672 -# simply because there is no reason to put it here, and in addition,
1.22673 -# creating and moving files from /tmp can sometimes cause problems.
1.22674 -# Create a temporary directory, and hook for its removal unless debugging.
1.22675 -$debug ||
1.22676 -{
1.22677 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1.22678 - trap '{ (exit 1); exit 1; }' 1 2 13 15
1.22679 -}
1.22680 -
1.22681 -# Create a (secure) tmp directory for tmp files.
1.22682 -
1.22683 -{
1.22684 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1.22685 - test -n "$tmp" && test -d "$tmp"
1.22686 -} ||
1.22687 -{
1.22688 - tmp=./confstat$$-$RANDOM
1.22689 - (umask 077 && mkdir $tmp)
1.22690 -} ||
1.22691 -{
1.22692 - echo "$me: cannot create a temporary directory in ." >&2
1.22693 - { (exit 1); exit 1; }
1.22694 -}
1.22695 -
1.22696 -_ACEOF
1.22697 -
1.22698 -cat >>$CONFIG_STATUS <<_ACEOF
1.22699 -
1.22700 -#
1.22701 -# CONFIG_FILES section.
1.22702 -#
1.22703 -
1.22704 -# No need to generate the scripts if there are no CONFIG_FILES.
1.22705 -# This happens for instance when ./config.status config.h
1.22706 -if test -n "\$CONFIG_FILES"; then
1.22707 - # Protect against being on the right side of a sed subst in config.status.
1.22708 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1.22709 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1.22710 -s,@SHELL@,$SHELL,;t t
1.22711 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1.22712 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1.22713 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1.22714 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1.22715 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1.22716 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1.22717 -s,@exec_prefix@,$exec_prefix,;t t
1.22718 -s,@prefix@,$prefix,;t t
1.22719 -s,@program_transform_name@,$program_transform_name,;t t
1.22720 -s,@bindir@,$bindir,;t t
1.22721 -s,@sbindir@,$sbindir,;t t
1.22722 -s,@libexecdir@,$libexecdir,;t t
1.22723 -s,@datadir@,$datadir,;t t
1.22724 -s,@sysconfdir@,$sysconfdir,;t t
1.22725 -s,@sharedstatedir@,$sharedstatedir,;t t
1.22726 -s,@localstatedir@,$localstatedir,;t t
1.22727 -s,@libdir@,$libdir,;t t
1.22728 -s,@includedir@,$includedir,;t t
1.22729 -s,@oldincludedir@,$oldincludedir,;t t
1.22730 -s,@infodir@,$infodir,;t t
1.22731 -s,@mandir@,$mandir,;t t
1.22732 -s,@build_alias@,$build_alias,;t t
1.22733 -s,@host_alias@,$host_alias,;t t
1.22734 -s,@target_alias@,$target_alias,;t t
1.22735 -s,@DEFS@,$DEFS,;t t
1.22736 -s,@ECHO_C@,$ECHO_C,;t t
1.22737 -s,@ECHO_N@,$ECHO_N,;t t
1.22738 -s,@ECHO_T@,$ECHO_T,;t t
1.22739 -s,@LIBS@,$LIBS,;t t
1.22740 -s,@build@,$build,;t t
1.22741 -s,@build_cpu@,$build_cpu,;t t
1.22742 -s,@build_vendor@,$build_vendor,;t t
1.22743 -s,@build_os@,$build_os,;t t
1.22744 -s,@host@,$host,;t t
1.22745 -s,@host_cpu@,$host_cpu,;t t
1.22746 -s,@host_vendor@,$host_vendor,;t t
1.22747 -s,@host_os@,$host_os,;t t
1.22748 -s,@target@,$target,;t t
1.22749 -s,@target_cpu@,$target_cpu,;t t
1.22750 -s,@target_vendor@,$target_vendor,;t t
1.22751 -s,@target_os@,$target_os,;t t
1.22752 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
1.22753 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
1.22754 -s,@MAINT@,$MAINT,;t t
1.22755 -s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
1.22756 -s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
1.22757 -s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
1.22758 -s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
1.22759 -s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
1.22760 -s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
1.22761 -s,@PACKAGE@,$PACKAGE,;t t
1.22762 -s,@VERSION@,$VERSION,;t t
1.22763 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
1.22764 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
1.22765 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1.22766 -s,@CYGPATH_W@,$CYGPATH_W,;t t
1.22767 -s,@ACLOCAL@,$ACLOCAL,;t t
1.22768 -s,@AUTOCONF@,$AUTOCONF,;t t
1.22769 -s,@AUTOMAKE@,$AUTOMAKE,;t t
1.22770 -s,@AUTOHEADER@,$AUTOHEADER,;t t
1.22771 -s,@MAKEINFO@,$MAKEINFO,;t t
1.22772 -s,@AMTAR@,$AMTAR,;t t
1.22773 -s,@install_sh@,$install_sh,;t t
1.22774 -s,@STRIP@,$STRIP,;t t
1.22775 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
1.22776 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.22777 -s,@mkdir_p@,$mkdir_p,;t t
1.22778 -s,@AWK@,$AWK,;t t
1.22779 -s,@SET_MAKE@,$SET_MAKE,;t t
1.22780 -s,@am__leading_dot@,$am__leading_dot,;t t
1.22781 -s,@CC@,$CC,;t t
1.22782 -s,@CFLAGS@,$CFLAGS,;t t
1.22783 -s,@LDFLAGS@,$LDFLAGS,;t t
1.22784 -s,@CPPFLAGS@,$CPPFLAGS,;t t
1.22785 -s,@ac_ct_CC@,$ac_ct_CC,;t t
1.22786 -s,@EXEEXT@,$EXEEXT,;t t
1.22787 -s,@OBJEXT@,$OBJEXT,;t t
1.22788 -s,@DEPDIR@,$DEPDIR,;t t
1.22789 -s,@am__include@,$am__include,;t t
1.22790 -s,@am__quote@,$am__quote,;t t
1.22791 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
1.22792 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
1.22793 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.22794 -s,@CCDEPMODE@,$CCDEPMODE,;t t
1.22795 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
1.22796 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
1.22797 -s,@EGREP@,$EGREP,;t t
1.22798 -s,@LN_S@,$LN_S,;t t
1.22799 -s,@ECHO@,$ECHO,;t t
1.22800 -s,@AR@,$AR,;t t
1.22801 -s,@ac_ct_AR@,$ac_ct_AR,;t t
1.22802 -s,@RANLIB@,$RANLIB,;t t
1.22803 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
1.22804 -s,@CPP@,$CPP,;t t
1.22805 -s,@CXX@,$CXX,;t t
1.22806 -s,@CXXFLAGS@,$CXXFLAGS,;t t
1.22807 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.22808 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
1.22809 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
1.22810 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
1.22811 -s,@CXXCPP@,$CXXCPP,;t t
1.22812 -s,@F77@,$F77,;t t
1.22813 -s,@FFLAGS@,$FFLAGS,;t t
1.22814 -s,@ac_ct_F77@,$ac_ct_F77,;t t
1.22815 -s,@LIBTOOL@,$LIBTOOL,;t t
1.22816 -s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
1.22817 -s,@CCAS@,$CCAS,;t t
1.22818 -s,@CCASFLAGS@,$CCASFLAGS,;t t
1.22819 -s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
1.22820 -s,@HAVE_CXX@,$HAVE_CXX,;t t
1.22821 -s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
1.22822 -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
1.22823 -s,@GST_CFLAGS@,$GST_CFLAGS,;t t
1.22824 -s,@GST_LIBS@,$GST_LIBS,;t t
1.22825 -s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
1.22826 -s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
1.22827 -s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
1.22828 -s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
1.22829 -s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
1.22830 -s,@plugindir@,$plugindir,;t t
1.22831 -s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
1.22832 -s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
1.22833 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.22834 -CEOF
1.22835 -
1.22836 -_ACEOF
1.22837 -
1.22838 - cat >>$CONFIG_STATUS <<\_ACEOF
1.22839 - # Split the substitutions into bite-sized pieces for seds with
1.22840 - # small command number limits, like on Digital OSF/1 and HP-UX.
1.22841 - ac_max_sed_lines=48
1.22842 - ac_sed_frag=1 # Number of current file.
1.22843 - ac_beg=1 # First line for current file.
1.22844 - ac_end=$ac_max_sed_lines # Line after last line for current file.
1.22845 - ac_more_lines=:
1.22846 - ac_sed_cmds=
1.22847 - while $ac_more_lines; do
1.22848 - if test $ac_beg -gt 1; then
1.22849 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1.22850 - else
1.22851 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1.22852 - fi
1.22853 - if test ! -s $tmp/subs.frag; then
1.22854 - ac_more_lines=false
1.22855 - else
1.22856 - # The purpose of the label and of the branching condition is to
1.22857 - # speed up the sed processing (if there are no `@' at all, there
1.22858 - # is no need to browse any of the substitutions).
1.22859 - # These are the two extra sed commands mentioned above.
1.22860 - (echo ':t
1.22861 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1.22862 - if test -z "$ac_sed_cmds"; then
1.22863 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.22864 - else
1.22865 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.22866 - fi
1.22867 - ac_sed_frag=`expr $ac_sed_frag + 1`
1.22868 - ac_beg=$ac_end
1.22869 - ac_end=`expr $ac_end + $ac_max_sed_lines`
1.22870 - fi
1.22871 - done
1.22872 - if test -z "$ac_sed_cmds"; then
1.22873 - ac_sed_cmds=cat
1.22874 - fi
1.22875 -fi # test -n "$CONFIG_FILES"
1.22876 -
1.22877 -_ACEOF
1.22878 -cat >>$CONFIG_STATUS <<\_ACEOF
1.22879 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.22880 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.22881 - case $ac_file in
1.22882 - - | *:- | *:-:* ) # input from stdin
1.22883 - cat >$tmp/stdin
1.22884 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.22885 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.22886 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.22887 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.22888 - * ) ac_file_in=$ac_file.in ;;
1.22889 - esac
1.22890 -
1.22891 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1.22892 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1.22893 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.22894 - X"$ac_file" : 'X\(//\)[^/]' \| \
1.22895 - X"$ac_file" : 'X\(//\)$' \| \
1.22896 - X"$ac_file" : 'X\(/\)' \| \
1.22897 - . : '\(.\)' 2>/dev/null ||
1.22898 -echo X"$ac_file" |
1.22899 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.22900 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.22901 - /^X\(\/\/\)$/{ s//\1/; q; }
1.22902 - /^X\(\/\).*/{ s//\1/; q; }
1.22903 - s/.*/./; q'`
1.22904 - { if $as_mkdir_p; then
1.22905 - mkdir -p "$ac_dir"
1.22906 - else
1.22907 - as_dir="$ac_dir"
1.22908 - as_dirs=
1.22909 - while test ! -d "$as_dir"; do
1.22910 - as_dirs="$as_dir $as_dirs"
1.22911 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.22912 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.22913 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.22914 - X"$as_dir" : 'X\(//\)$' \| \
1.22915 - X"$as_dir" : 'X\(/\)' \| \
1.22916 - . : '\(.\)' 2>/dev/null ||
1.22917 -echo X"$as_dir" |
1.22918 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.22919 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.22920 - /^X\(\/\/\)$/{ s//\1/; q; }
1.22921 - /^X\(\/\).*/{ s//\1/; q; }
1.22922 - s/.*/./; q'`
1.22923 - done
1.22924 - test ! -n "$as_dirs" || mkdir $as_dirs
1.22925 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1.22926 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1.22927 - { (exit 1); exit 1; }; }; }
1.22928 -
1.22929 - ac_builddir=.
1.22930 -
1.22931 -if test "$ac_dir" != .; then
1.22932 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.22933 - # A "../" for each directory in $ac_dir_suffix.
1.22934 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1.22935 -else
1.22936 - ac_dir_suffix= ac_top_builddir=
1.22937 -fi
1.22938 -
1.22939 -case $srcdir in
1.22940 - .) # No --srcdir option. We are building in place.
1.22941 - ac_srcdir=.
1.22942 - if test -z "$ac_top_builddir"; then
1.22943 - ac_top_srcdir=.
1.22944 - else
1.22945 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.22946 - fi ;;
1.22947 - [\\/]* | ?:[\\/]* ) # Absolute path.
1.22948 - ac_srcdir=$srcdir$ac_dir_suffix;
1.22949 - ac_top_srcdir=$srcdir ;;
1.22950 - *) # Relative path.
1.22951 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.22952 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.22953 -esac
1.22954 -
1.22955 -# Do not use `cd foo && pwd` to compute absolute paths, because
1.22956 -# the directories may not exist.
1.22957 -case `pwd` in
1.22958 -.) ac_abs_builddir="$ac_dir";;
1.22959 -*)
1.22960 - case "$ac_dir" in
1.22961 - .) ac_abs_builddir=`pwd`;;
1.22962 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.22963 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.22964 - esac;;
1.22965 -esac
1.22966 -case $ac_abs_builddir in
1.22967 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.22968 -*)
1.22969 - case ${ac_top_builddir}. in
1.22970 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1.22971 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1.22972 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1.22973 - esac;;
1.22974 -esac
1.22975 -case $ac_abs_builddir in
1.22976 -.) ac_abs_srcdir=$ac_srcdir;;
1.22977 -*)
1.22978 - case $ac_srcdir in
1.22979 - .) ac_abs_srcdir=$ac_abs_builddir;;
1.22980 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1.22981 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1.22982 - esac;;
1.22983 -esac
1.22984 -case $ac_abs_builddir in
1.22985 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.22986 -*)
1.22987 - case $ac_top_srcdir in
1.22988 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1.22989 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1.22990 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1.22991 - esac;;
1.22992 -esac
1.22993 -
1.22994 -
1.22995 - case $INSTALL in
1.22996 - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.22997 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.22998 - esac
1.22999 -
1.23000 - # Let's still pretend it is `configure' which instantiates (i.e., don't
1.23001 - # use $as_me), people would be surprised to read:
1.23002 - # /* config.h. Generated by config.status. */
1.23003 - if test x"$ac_file" = x-; then
1.23004 - configure_input=
1.23005 - else
1.23006 - configure_input="$ac_file. "
1.23007 - fi
1.23008 - configure_input=$configure_input"Generated from `echo $ac_file_in |
1.23009 - sed 's,.*/,,'` by configure."
1.23010 -
1.23011 - # First look for the input files in the build tree, otherwise in the
1.23012 - # src tree.
1.23013 - ac_file_inputs=`IFS=:
1.23014 - for f in $ac_file_in; do
1.23015 - case $f in
1.23016 - -) echo $tmp/stdin ;;
1.23017 - [\\/$]*)
1.23018 - # Absolute (can't be DOS-style, as IFS=:)
1.23019 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.23020 -echo "$as_me: error: cannot find input file: $f" >&2;}
1.23021 - { (exit 1); exit 1; }; }
1.23022 - echo "$f";;
1.23023 - *) # Relative
1.23024 - if test -f "$f"; then
1.23025 - # Build tree
1.23026 - echo "$f"
1.23027 - elif test -f "$srcdir/$f"; then
1.23028 - # Source tree
1.23029 - echo "$srcdir/$f"
1.23030 - else
1.23031 - # /dev/null tree
1.23032 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.23033 -echo "$as_me: error: cannot find input file: $f" >&2;}
1.23034 - { (exit 1); exit 1; }; }
1.23035 - fi;;
1.23036 - esac
1.23037 - done` || { (exit 1); exit 1; }
1.23038 -
1.23039 - if test x"$ac_file" != x-; then
1.23040 - { echo "$as_me:$LINENO: creating $ac_file" >&5
1.23041 -echo "$as_me: creating $ac_file" >&6;}
1.23042 - rm -f "$ac_file"
1.23043 - fi
1.23044 -_ACEOF
1.23045 -cat >>$CONFIG_STATUS <<_ACEOF
1.23046 - sed "$ac_vpsub
1.23047 -$extrasub
1.23048 -_ACEOF
1.23049 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23050 -:t
1.23051 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.23052 -s,@configure_input@,$configure_input,;t t
1.23053 -s,@srcdir@,$ac_srcdir,;t t
1.23054 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
1.23055 -s,@top_srcdir@,$ac_top_srcdir,;t t
1.23056 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
1.23057 -s,@builddir@,$ac_builddir,;t t
1.23058 -s,@abs_builddir@,$ac_abs_builddir,;t t
1.23059 -s,@top_builddir@,$ac_top_builddir,;t t
1.23060 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
1.23061 -s,@INSTALL@,$ac_INSTALL,;t t
1.23062 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
1.23063 - rm -f $tmp/stdin
1.23064 - if test x"$ac_file" != x-; then
1.23065 - mv $tmp/out $ac_file
1.23066 - else
1.23067 - cat $tmp/out
1.23068 - rm -f $tmp/out
1.23069 - fi
1.23070 -
1.23071 -done
1.23072 -_ACEOF
1.23073 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23074 -
1.23075 -#
1.23076 -# CONFIG_HEADER section.
1.23077 -#
1.23078 -
1.23079 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1.23080 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
1.23081 -#
1.23082 -# ac_d sets the value in "#define NAME VALUE" lines.
1.23083 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1.23084 -ac_dB='[ ].*$,\1#\2'
1.23085 -ac_dC=' '
1.23086 -ac_dD=',;t'
1.23087 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.23088 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1.23089 -ac_uB='$,\1#\2define\3'
1.23090 -ac_uC=' '
1.23091 -ac_uD=',;t'
1.23092 -
1.23093 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.23094 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.23095 - case $ac_file in
1.23096 - - | *:- | *:-:* ) # input from stdin
1.23097 - cat >$tmp/stdin
1.23098 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.23099 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.23100 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.23101 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.23102 - * ) ac_file_in=$ac_file.in ;;
1.23103 - esac
1.23104 -
1.23105 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
1.23106 -echo "$as_me: creating $ac_file" >&6;}
1.23107 -
1.23108 - # First look for the input files in the build tree, otherwise in the
1.23109 - # src tree.
1.23110 - ac_file_inputs=`IFS=:
1.23111 - for f in $ac_file_in; do
1.23112 - case $f in
1.23113 - -) echo $tmp/stdin ;;
1.23114 - [\\/$]*)
1.23115 - # Absolute (can't be DOS-style, as IFS=:)
1.23116 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.23117 -echo "$as_me: error: cannot find input file: $f" >&2;}
1.23118 - { (exit 1); exit 1; }; }
1.23119 - # Do quote $f, to prevent DOS paths from being IFS'd.
1.23120 - echo "$f";;
1.23121 - *) # Relative
1.23122 - if test -f "$f"; then
1.23123 - # Build tree
1.23124 - echo "$f"
1.23125 - elif test -f "$srcdir/$f"; then
1.23126 - # Source tree
1.23127 - echo "$srcdir/$f"
1.23128 - else
1.23129 - # /dev/null tree
1.23130 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.23131 -echo "$as_me: error: cannot find input file: $f" >&2;}
1.23132 - { (exit 1); exit 1; }; }
1.23133 - fi;;
1.23134 - esac
1.23135 - done` || { (exit 1); exit 1; }
1.23136 - # Remove the trailing spaces.
1.23137 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
1.23138 -
1.23139 -_ACEOF
1.23140 -
1.23141 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
1.23142 -# `conftest.undefs', that substitutes the proper values into
1.23143 -# config.h.in to produce config.h. The first handles `#define'
1.23144 -# templates, and the second `#undef' templates.
1.23145 -# And first: Protect against being on the right side of a sed subst in
1.23146 -# config.status. Protect against being in an unquoted here document
1.23147 -# in config.status.
1.23148 -rm -f conftest.defines conftest.undefs
1.23149 -# Using a here document instead of a string reduces the quoting nightmare.
1.23150 -# Putting comments in sed scripts is not portable.
1.23151 -#
1.23152 -# `end' is used to avoid that the second main sed command (meant for
1.23153 -# 0-ary CPP macros) applies to n-ary macro definitions.
1.23154 -# See the Autoconf documentation for `clear'.
1.23155 -cat >confdef2sed.sed <<\_ACEOF
1.23156 -s/[\\&,]/\\&/g
1.23157 -s,[\\$`],\\&,g
1.23158 -t clear
1.23159 -: clear
1.23160 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.23161 -t end
1.23162 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.23163 -: end
1.23164 -_ACEOF
1.23165 -# If some macros were called several times there might be several times
1.23166 -# the same #defines, which is useless. Nevertheless, we may not want to
1.23167 -# sort them, since we want the *last* AC-DEFINE to be honored.
1.23168 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
1.23169 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
1.23170 -rm -f confdef2sed.sed
1.23171 -
1.23172 -# This sed command replaces #undef with comments. This is necessary, for
1.23173 -# example, in the case of _POSIX_SOURCE, which is predefined and required
1.23174 -# on some systems where configure will not decide to define it.
1.23175 -cat >>conftest.undefs <<\_ACEOF
1.23176 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.23177 -_ACEOF
1.23178 -
1.23179 -# Break up conftest.defines because some shells have a limit on the size
1.23180 -# of here documents, and old seds have small limits too (100 cmds).
1.23181 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.23182 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.23183 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
1.23184 -echo ' :' >>$CONFIG_STATUS
1.23185 -rm -f conftest.tail
1.23186 -while grep . conftest.defines >/dev/null
1.23187 -do
1.23188 - # Write a limited-size here document to $tmp/defines.sed.
1.23189 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
1.23190 - # Speed up: don't consider the non `#define' lines.
1.23191 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
1.23192 - # Work around the forget-to-reset-the-flag bug.
1.23193 - echo 't clr' >>$CONFIG_STATUS
1.23194 - echo ': clr' >>$CONFIG_STATUS
1.23195 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
1.23196 - echo 'CEOF
1.23197 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
1.23198 - rm -f $tmp/in
1.23199 - mv $tmp/out $tmp/in
1.23200 -' >>$CONFIG_STATUS
1.23201 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
1.23202 - rm -f conftest.defines
1.23203 - mv conftest.tail conftest.defines
1.23204 -done
1.23205 -rm -f conftest.defines
1.23206 -echo ' fi # grep' >>$CONFIG_STATUS
1.23207 -echo >>$CONFIG_STATUS
1.23208 -
1.23209 -# Break up conftest.undefs because some shells have a limit on the size
1.23210 -# of here documents, and old seds have small limits too (100 cmds).
1.23211 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
1.23212 -rm -f conftest.tail
1.23213 -while grep . conftest.undefs >/dev/null
1.23214 -do
1.23215 - # Write a limited-size here document to $tmp/undefs.sed.
1.23216 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
1.23217 - # Speed up: don't consider the non `#undef'
1.23218 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
1.23219 - # Work around the forget-to-reset-the-flag bug.
1.23220 - echo 't clr' >>$CONFIG_STATUS
1.23221 - echo ': clr' >>$CONFIG_STATUS
1.23222 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.23223 - echo 'CEOF
1.23224 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1.23225 - rm -f $tmp/in
1.23226 - mv $tmp/out $tmp/in
1.23227 -' >>$CONFIG_STATUS
1.23228 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
1.23229 - rm -f conftest.undefs
1.23230 - mv conftest.tail conftest.undefs
1.23231 -done
1.23232 -rm -f conftest.undefs
1.23233 -
1.23234 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23235 - # Let's still pretend it is `configure' which instantiates (i.e., don't
1.23236 - # use $as_me), people would be surprised to read:
1.23237 - # /* config.h. Generated by config.status. */
1.23238 - if test x"$ac_file" = x-; then
1.23239 - echo "/* Generated by configure. */" >$tmp/config.h
1.23240 - else
1.23241 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
1.23242 - fi
1.23243 - cat $tmp/in >>$tmp/config.h
1.23244 - rm -f $tmp/in
1.23245 - if test x"$ac_file" != x-; then
1.23246 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
1.23247 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1.23248 -echo "$as_me: $ac_file is unchanged" >&6;}
1.23249 - else
1.23250 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1.23251 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23252 - X"$ac_file" : 'X\(//\)[^/]' \| \
1.23253 - X"$ac_file" : 'X\(//\)$' \| \
1.23254 - X"$ac_file" : 'X\(/\)' \| \
1.23255 - . : '\(.\)' 2>/dev/null ||
1.23256 -echo X"$ac_file" |
1.23257 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23258 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23259 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23260 - /^X\(\/\).*/{ s//\1/; q; }
1.23261 - s/.*/./; q'`
1.23262 - { if $as_mkdir_p; then
1.23263 - mkdir -p "$ac_dir"
1.23264 - else
1.23265 - as_dir="$ac_dir"
1.23266 - as_dirs=
1.23267 - while test ! -d "$as_dir"; do
1.23268 - as_dirs="$as_dir $as_dirs"
1.23269 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.23270 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23271 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.23272 - X"$as_dir" : 'X\(//\)$' \| \
1.23273 - X"$as_dir" : 'X\(/\)' \| \
1.23274 - . : '\(.\)' 2>/dev/null ||
1.23275 -echo X"$as_dir" |
1.23276 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23277 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23278 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23279 - /^X\(\/\).*/{ s//\1/; q; }
1.23280 - s/.*/./; q'`
1.23281 - done
1.23282 - test ! -n "$as_dirs" || mkdir $as_dirs
1.23283 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1.23284 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1.23285 - { (exit 1); exit 1; }; }; }
1.23286 -
1.23287 - rm -f $ac_file
1.23288 - mv $tmp/config.h $ac_file
1.23289 - fi
1.23290 - else
1.23291 - cat $tmp/config.h
1.23292 - rm -f $tmp/config.h
1.23293 - fi
1.23294 -# Compute $ac_file's index in $config_headers.
1.23295 -_am_stamp_count=1
1.23296 -for _am_header in $config_headers :; do
1.23297 - case $_am_header in
1.23298 - $ac_file | $ac_file:* )
1.23299 - break ;;
1.23300 - * )
1.23301 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1.23302 - esac
1.23303 -done
1.23304 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
1.23305 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23306 - X$ac_file : 'X\(//\)[^/]' \| \
1.23307 - X$ac_file : 'X\(//\)$' \| \
1.23308 - X$ac_file : 'X\(/\)' \| \
1.23309 - . : '\(.\)' 2>/dev/null ||
1.23310 -echo X$ac_file |
1.23311 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23312 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23313 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23314 - /^X\(\/\).*/{ s//\1/; q; }
1.23315 - s/.*/./; q'`/stamp-h$_am_stamp_count
1.23316 -done
1.23317 -_ACEOF
1.23318 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23319 -
1.23320 -#
1.23321 -# CONFIG_COMMANDS section.
1.23322 -#
1.23323 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
1.23324 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
1.23325 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.23326 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
1.23327 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23328 - X"$ac_dest" : 'X\(//\)[^/]' \| \
1.23329 - X"$ac_dest" : 'X\(//\)$' \| \
1.23330 - X"$ac_dest" : 'X\(/\)' \| \
1.23331 - . : '\(.\)' 2>/dev/null ||
1.23332 -echo X"$ac_dest" |
1.23333 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23334 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23335 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23336 - /^X\(\/\).*/{ s//\1/; q; }
1.23337 - s/.*/./; q'`
1.23338 - { if $as_mkdir_p; then
1.23339 - mkdir -p "$ac_dir"
1.23340 - else
1.23341 - as_dir="$ac_dir"
1.23342 - as_dirs=
1.23343 - while test ! -d "$as_dir"; do
1.23344 - as_dirs="$as_dir $as_dirs"
1.23345 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.23346 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23347 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.23348 - X"$as_dir" : 'X\(//\)$' \| \
1.23349 - X"$as_dir" : 'X\(/\)' \| \
1.23350 - . : '\(.\)' 2>/dev/null ||
1.23351 -echo X"$as_dir" |
1.23352 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23353 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23354 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23355 - /^X\(\/\).*/{ s//\1/; q; }
1.23356 - s/.*/./; q'`
1.23357 - done
1.23358 - test ! -n "$as_dirs" || mkdir $as_dirs
1.23359 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1.23360 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1.23361 - { (exit 1); exit 1; }; }; }
1.23362 -
1.23363 - ac_builddir=.
1.23364 -
1.23365 -if test "$ac_dir" != .; then
1.23366 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.23367 - # A "../" for each directory in $ac_dir_suffix.
1.23368 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1.23369 -else
1.23370 - ac_dir_suffix= ac_top_builddir=
1.23371 -fi
1.23372 -
1.23373 -case $srcdir in
1.23374 - .) # No --srcdir option. We are building in place.
1.23375 - ac_srcdir=.
1.23376 - if test -z "$ac_top_builddir"; then
1.23377 - ac_top_srcdir=.
1.23378 - else
1.23379 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.23380 - fi ;;
1.23381 - [\\/]* | ?:[\\/]* ) # Absolute path.
1.23382 - ac_srcdir=$srcdir$ac_dir_suffix;
1.23383 - ac_top_srcdir=$srcdir ;;
1.23384 - *) # Relative path.
1.23385 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.23386 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.23387 -esac
1.23388 -
1.23389 -# Do not use `cd foo && pwd` to compute absolute paths, because
1.23390 -# the directories may not exist.
1.23391 -case `pwd` in
1.23392 -.) ac_abs_builddir="$ac_dir";;
1.23393 -*)
1.23394 - case "$ac_dir" in
1.23395 - .) ac_abs_builddir=`pwd`;;
1.23396 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.23397 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.23398 - esac;;
1.23399 -esac
1.23400 -case $ac_abs_builddir in
1.23401 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.23402 -*)
1.23403 - case ${ac_top_builddir}. in
1.23404 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1.23405 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1.23406 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1.23407 - esac;;
1.23408 -esac
1.23409 -case $ac_abs_builddir in
1.23410 -.) ac_abs_srcdir=$ac_srcdir;;
1.23411 -*)
1.23412 - case $ac_srcdir in
1.23413 - .) ac_abs_srcdir=$ac_abs_builddir;;
1.23414 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1.23415 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1.23416 - esac;;
1.23417 -esac
1.23418 -case $ac_abs_builddir in
1.23419 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.23420 -*)
1.23421 - case $ac_top_srcdir in
1.23422 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1.23423 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1.23424 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1.23425 - esac;;
1.23426 -esac
1.23427 -
1.23428 -
1.23429 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1.23430 -echo "$as_me: executing $ac_dest commands" >&6;}
1.23431 - case $ac_dest in
1.23432 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1.23433 - # Strip MF so we end up with the name of the file.
1.23434 - mf=`echo "$mf" | sed -e 's/:.*$//'`
1.23435 - # Check whether this is an Automake generated Makefile or not.
1.23436 - # We used to match only the files named `Makefile.in', but
1.23437 - # some people rename them; so instead we look at the file content.
1.23438 - # Grep'ing the first line is not enough: some people post-process
1.23439 - # each Makefile.in and add a new line on top of each file to say so.
1.23440 - # So let's grep whole file.
1.23441 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1.23442 - dirpart=`(dirname "$mf") 2>/dev/null ||
1.23443 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23444 - X"$mf" : 'X\(//\)[^/]' \| \
1.23445 - X"$mf" : 'X\(//\)$' \| \
1.23446 - X"$mf" : 'X\(/\)' \| \
1.23447 - . : '\(.\)' 2>/dev/null ||
1.23448 -echo X"$mf" |
1.23449 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23450 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23451 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23452 - /^X\(\/\).*/{ s//\1/; q; }
1.23453 - s/.*/./; q'`
1.23454 - else
1.23455 - continue
1.23456 - fi
1.23457 - grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
1.23458 - # Extract the definition of DEP_FILES from the Makefile without
1.23459 - # running `make'.
1.23460 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.23461 - test -z "$DEPDIR" && continue
1.23462 - # When using ansi2knr, U may be empty or an underscore; expand it
1.23463 - U=`sed -n 's/^U = //p' < "$mf"`
1.23464 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
1.23465 - # We invoke sed twice because it is the simplest approach to
1.23466 - # changing $(DEPDIR) to its actual value in the expansion.
1.23467 - for file in `sed -n '
1.23468 - /^DEP_FILES = .*\\\\$/ {
1.23469 - s/^DEP_FILES = //
1.23470 - :loop
1.23471 - s/\\\\$//
1.23472 - p
1.23473 - n
1.23474 - /\\\\$/ b loop
1.23475 - p
1.23476 - }
1.23477 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
1.23478 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1.23479 - # Make sure the directory exists.
1.23480 - test -f "$dirpart/$file" && continue
1.23481 - fdir=`(dirname "$file") 2>/dev/null ||
1.23482 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23483 - X"$file" : 'X\(//\)[^/]' \| \
1.23484 - X"$file" : 'X\(//\)$' \| \
1.23485 - X"$file" : 'X\(/\)' \| \
1.23486 - . : '\(.\)' 2>/dev/null ||
1.23487 -echo X"$file" |
1.23488 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23489 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23490 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23491 - /^X\(\/\).*/{ s//\1/; q; }
1.23492 - s/.*/./; q'`
1.23493 - { if $as_mkdir_p; then
1.23494 - mkdir -p $dirpart/$fdir
1.23495 - else
1.23496 - as_dir=$dirpart/$fdir
1.23497 - as_dirs=
1.23498 - while test ! -d "$as_dir"; do
1.23499 - as_dirs="$as_dir $as_dirs"
1.23500 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.23501 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.23502 - X"$as_dir" : 'X\(//\)[^/]' \| \
1.23503 - X"$as_dir" : 'X\(//\)$' \| \
1.23504 - X"$as_dir" : 'X\(/\)' \| \
1.23505 - . : '\(.\)' 2>/dev/null ||
1.23506 -echo X"$as_dir" |
1.23507 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.23508 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.23509 - /^X\(\/\/\)$/{ s//\1/; q; }
1.23510 - /^X\(\/\).*/{ s//\1/; q; }
1.23511 - s/.*/./; q'`
1.23512 - done
1.23513 - test ! -n "$as_dirs" || mkdir $as_dirs
1.23514 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
1.23515 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
1.23516 - { (exit 1); exit 1; }; }; }
1.23517 -
1.23518 - # echo "creating $dirpart/$file"
1.23519 - echo '# dummy' > "$dirpart/$file"
1.23520 - done
1.23521 -done
1.23522 - ;;
1.23523 - esac
1.23524 -done
1.23525 -_ACEOF
1.23526 -
1.23527 -cat >>$CONFIG_STATUS <<\_ACEOF
1.23528 -
1.23529 -{ (exit 0); exit 0; }
1.23530 -_ACEOF
1.23531 -chmod +x $CONFIG_STATUS
1.23532 -ac_clean_files=$ac_clean_files_save
1.23533 -
1.23534 -
1.23535 -# configure is writing to config.log, and then calls config.status.
1.23536 -# config.status does its own redirection, appending to config.log.
1.23537 -# Unfortunately, on DOS this fails, as config.log is still kept open
1.23538 -# by configure, so config.status won't be able to write to it; its
1.23539 -# output is simply discarded. So we exec the FD to /dev/null,
1.23540 -# effectively closing config.log, so it can be properly (re)opened and
1.23541 -# appended to by config.status. When coming back to configure, we
1.23542 -# need to make the FD available again.
1.23543 -if test "$no_create" != yes; then
1.23544 - ac_cs_success=:
1.23545 - ac_config_status_args=
1.23546 - test "$silent" = yes &&
1.23547 - ac_config_status_args="$ac_config_status_args --quiet"
1.23548 - exec 5>/dev/null
1.23549 - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.23550 - exec 5>>config.log
1.23551 - # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1.23552 - # would make configure fail if this is the last instruction.
1.23553 - $ac_cs_success || { (exit 1); exit 1; }
1.23554 -fi
1.23555 -
1.23556 -