| 1 |
#! /bin/sh |
#! /bin/sh |
| 2 |
# From configure.in Id: configure.in. |
# From configure.in Id: configure.in. |
| 3 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
# Generated by GNU Autoconf 2.57 for xnpal 1.0.0. |
# Generated by GNU Autoconf 2.59 for xnpal 1.0.0. |
| 5 |
# |
# |
| 6 |
# Report bugs to <software@ni.brain.riken.jp>. |
# Report bugs to <software@ni.brain.riken.jp>. |
| 7 |
# |
# |
| 8 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
|
# Free Software Foundation, Inc. |
|
| 9 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
| 10 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
| 11 |
## --------------------- ## |
## --------------------- ## |
| 22 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 23 |
set -o posix |
set -o posix |
| 24 |
fi |
fi |
| 25 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
| 26 |
|
|
| 27 |
# Support unset when possible. |
# Support unset when possible. |
| 28 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 29 |
as_unset=unset |
as_unset=unset |
| 30 |
else |
else |
| 31 |
as_unset=false |
as_unset=false |
| 44 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 45 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
| 46 |
do |
do |
| 47 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 48 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
| 49 |
else |
else |
| 50 |
$as_unset $as_var |
$as_unset $as_var |
| 221 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
| 222 |
as_mkdir_p=: |
as_mkdir_p=: |
| 223 |
else |
else |
| 224 |
|
test -d ./-p && rmdir ./-p |
| 225 |
as_mkdir_p=false |
as_mkdir_p=false |
| 226 |
fi |
fi |
| 227 |
|
|
| 228 |
as_executable_p="test -f" |
as_executable_p="test -f" |
| 229 |
|
|
| 230 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
| 231 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 232 |
|
|
| 233 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
| 234 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 235 |
|
|
| 236 |
|
|
| 237 |
# IFS |
# IFS |
| 281 |
|
|
| 282 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 283 |
# if CDPATH is set. |
# if CDPATH is set. |
| 284 |
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 285 |
|
|
| 286 |
if test -z "$ECHO"; then |
if test -z "$ECHO"; then |
| 287 |
if test "X${echo_test_string+set}" != Xset; then |
if test "X${echo_test_string+set}" != Xset; then |
| 288 |
# find a string as large as possible, as long as the shell can cope with it |
# find a string as large as possible, as long as the shell can cope with it |
| 289 |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
| 290 |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
| 291 |
if (echo_test_string="`eval $cmd`") 2>/dev/null && |
if (echo_test_string=`eval $cmd`) 2>/dev/null && |
| 292 |
echo_test_string="`eval $cmd`" && |
echo_test_string=`eval $cmd` && |
| 293 |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
| 294 |
then |
then |
| 295 |
break |
break |
| 394 |
|
|
| 395 |
|
|
| 396 |
|
|
| 397 |
tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` |
tagnames=${tagnames+${tagnames},}CXX |
| 398 |
|
|
| 399 |
tagnames=`echo "$tagnames,F77" | sed 's/^,//'` |
tagnames=${tagnames+${tagnames},}F77 |
| 400 |
|
|
| 401 |
# Name of the host. |
# Name of the host. |
| 402 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 466 |
# include <unistd.h> |
# include <unistd.h> |
| 467 |
#endif" |
#endif" |
| 468 |
|
|
| 469 |
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL XML2_CONFIG XML_CPPFLAGS XML_LIBS IODBC_CONFIG IODBC_CFLAGS IODBC_LIBS IODBC_STATIC_LIBS IODBC_LIBTOOL_LIBS IODBC_ODBCVERSION IODBC_ODBCINI IODBC_ODBCINSTINI IODBC_VERSION UNIXODBC_CONFIG UNIXODBC_CFLAGS UNIXODBC_LIBS UNIXODBC_STATIC_LIBS UNIXODBC_LIBTOOL_LIBS UNIXODBC_ODBCVERSION UNIXODBC_ODBCINI UNIXODBC_ODBCINSTINI UNIXODBC_VERSION ZLIB_CFLAGS ZLIB_LIBS OPENSSL_CFLAGS OPENSSL_LIBS PHP_CONFIG PHP_PREFIX PHP_INCLUDES PHP_LDFLAGS PHP_LIBS PHP_EXTENSION_DIR PHP_VERSION XNPAL_CFLAGS XNPAL_LIBADD USE_SYSLOG LIBOBJS POW_LIB LTLIBOBJS' |
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL XML2_CONFIG XML_CPPFLAGS XML_LIBS IODBC_CONFIG IODBC_CFLAGS IODBC_LIBS IODBC_STATIC_LIBS IODBC_LIBTOOL_LIBS IODBC_ODBCVERSION IODBC_ODBCINI IODBC_ODBCINSTINI IODBC_VERSION UNIXODBC_CONFIG UNIXODBC_CFLAGS UNIXODBC_LIBS UNIXODBC_STATIC_LIBS UNIXODBC_LIBTOOL_LIBS UNIXODBC_ODBCVERSION UNIXODBC_ODBCINI UNIXODBC_ODBCINSTINI UNIXODBC_VERSION ZLIB_CFLAGS ZLIB_LIBS OPENSSL_CFLAGS OPENSSL_LIBS PHP_CONFIG PHP_PREFIX PHP_INCLUDES PHP_LDFLAGS PHP_LIBS PHP_EXTENSION_DIR PHP_VERSION XNPAL_CFLAGS XNPAL_LIBADD USE_SYSLOG LIBOBJS POW_LIB LTLIBOBJS' |
| 470 |
ac_subst_files='' |
ac_subst_files='' |
| 471 |
|
|
| 472 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
| 825 |
|
|
| 826 |
# Be sure to have absolute paths. |
# Be sure to have absolute paths. |
| 827 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 828 |
localstatedir libdir includedir oldincludedir infodir mandir |
localstatedir libdir includedir oldincludedir infodir mandir |
| 829 |
do |
do |
| 830 |
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
| 831 |
case $ac_val in |
case $ac_val in |
| 865 |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
| 866 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
ac_confdir=`(dirname "$0") 2>/dev/null || |
| 867 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 868 |
X"$0" : 'X\(//\)[^/]' \| \ |
X"$0" : 'X\(//\)[^/]' \| \ |
| 869 |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
| 870 |
X"$0" : 'X\(/\)' \| \ |
X"$0" : 'X\(/\)' \| \ |
| 871 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
| 872 |
echo X"$0" | |
echo X"$0" | |
| 873 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 874 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 980 |
cat <<_ACEOF |
cat <<_ACEOF |
| 981 |
Installation directories: |
Installation directories: |
| 982 |
--prefix=PREFIX install architecture-independent files in PREFIX |
--prefix=PREFIX install architecture-independent files in PREFIX |
| 983 |
[$ac_default_prefix] |
[$ac_default_prefix] |
| 984 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 985 |
[PREFIX] |
[PREFIX] |
| 986 |
|
|
| 987 |
By default, \`make install' will install all the files in |
By default, \`make install' will install all the files in |
| 988 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1029 |
Optional Features: |
Optional Features: |
| 1030 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1031 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1032 |
--enable-maintainer-mode enable make rules and dependencies not useful |
--enable-maintainer-mode enable make rules and dependencies not useful |
| 1033 |
(and sometimes confusing) to the casual installer |
(and sometimes confusing) to the casual installer |
| 1034 |
--enable-static[=PKGS] |
--enable-static[=PKGS] |
| 1035 |
build static libraries [default=no] |
build static libraries [default=no] |
| 1036 |
--disable-dependency-tracking Speeds up one-time builds |
--disable-dependency-tracking speeds up one-time build |
| 1037 |
--enable-dependency-tracking Do not reject slow dependency extractors |
--enable-dependency-tracking do not reject slow dependency extractors |
| 1038 |
--enable-shared[=PKGS] |
--enable-shared[=PKGS] |
| 1039 |
build shared libraries [default=yes] |
build shared libraries [default=yes] |
| 1040 |
--enable-fast-install[=PKGS] |
--enable-fast-install[=PKGS] |
| 1059 |
--with-iodbc-prefix=PFX Prefix where libiodbc is installed (optional) |
--with-iodbc-prefix=PFX Prefix where libiodbc is installed (optional) |
| 1060 |
--with-iodbc-exec-prefix=PFX |
--with-iodbc-exec-prefix=PFX |
| 1061 |
Exec prefix where libiodbc is installed (optional) |
Exec prefix where libiodbc is installed (optional) |
| 1062 |
--with-unixodbc-prefix=PFX Prefix where libunixodbc is installed (optional) |
--with-unixodbc-prefix=PFX |
| 1063 |
|
Prefix where libunixodbc is installed (optional) |
| 1064 |
--with-unixodbc-exec-prefix=PFX |
--with-unixodbc-exec-prefix=PFX |
| 1065 |
Exec prefix where libunixodbc is installed (optional) |
Exec prefix where libunixodbc is installed (optional) |
| 1066 |
zlib_prefix="$withval" |
--with-zlib-prefix=PFX Prefix where zlib is installed (optional) |
| 1067 |
openssl_prefix="$withval" |
--with-openssl-prefix=PFX |
| 1068 |
--with-php-prefix=PFX Prefix where php is installed (optional) |
Prefix where openssl is installed (optional) |
| 1069 |
|
--with-php-prefix=PFX Prefix where php is installed (optional) |
| 1070 |
--with-php-exec-prefix=PFX |
--with-php-exec-prefix=PFX |
| 1071 |
Exec prefix where php is installed (optional) |
Exec prefix where php is installed (optional) |
| 1072 |
|
|
| 1121 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 1122 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 1123 |
esac |
esac |
| 1124 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
| 1125 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 1126 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
| 1127 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
| 1128 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
| 1129 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
| 1130 |
|
case "$ac_dir" in |
| 1131 |
|
.) ac_abs_builddir=`pwd`;; |
| 1132 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 1133 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 1134 |
|
esac;; |
| 1135 |
|
esac |
| 1136 |
|
case $ac_abs_builddir in |
| 1137 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 1138 |
|
*) |
| 1139 |
|
case ${ac_top_builddir}. in |
| 1140 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 1141 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 1142 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 1143 |
|
esac;; |
| 1144 |
|
esac |
| 1145 |
|
case $ac_abs_builddir in |
| 1146 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
| 1147 |
|
*) |
| 1148 |
|
case $ac_srcdir in |
| 1149 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 1150 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 1151 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 1152 |
|
esac;; |
| 1153 |
|
esac |
| 1154 |
|
case $ac_abs_builddir in |
| 1155 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 1156 |
|
*) |
| 1157 |
|
case $ac_top_srcdir in |
| 1158 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 1159 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 1160 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 1161 |
|
esac;; |
| 1162 |
|
esac |
| 1163 |
|
|
| 1164 |
cd $ac_dir |
cd $ac_dir |
| 1165 |
# Check for guested configure; otherwise get Cygnus style configure. |
# Check for guested configure; otherwise get Cygnus style configure. |
| 1170 |
echo |
echo |
| 1171 |
$SHELL $ac_srcdir/configure --help=recursive |
$SHELL $ac_srcdir/configure --help=recursive |
| 1172 |
elif test -f $ac_srcdir/configure.ac || |
elif test -f $ac_srcdir/configure.ac || |
| 1173 |
test -f $ac_srcdir/configure.in; then |
test -f $ac_srcdir/configure.in; then |
| 1174 |
echo |
echo |
| 1175 |
$ac_configure --help |
$ac_configure --help |
| 1176 |
else |
else |
| 1184 |
if $ac_init_version; then |
if $ac_init_version; then |
| 1185 |
cat <<\_ACEOF |
cat <<\_ACEOF |
| 1186 |
xnpal configure 1.0.0 |
xnpal configure 1.0.0 |
| 1187 |
generated by GNU Autoconf 2.57 |
generated by GNU Autoconf 2.59 |
| 1188 |
|
|
| 1189 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
| 1190 |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
| 1191 |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
| 1192 |
_ACEOF |
_ACEOF |
| 1198 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
| 1199 |
|
|
| 1200 |
It was created by xnpal $as_me 1.0.0, which was |
It was created by xnpal $as_me 1.0.0, which was |
| 1201 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.59. Invocation command line was |
| 1202 |
|
|
| 1203 |
$ $0 $@ |
$ $0 $@ |
| 1204 |
|
|
| 1275 |
2) |
2) |
| 1276 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1277 |
if test $ac_must_keep_next = true; then |
if test $ac_must_keep_next = true; then |
| 1278 |
ac_must_keep_next=false # Got value, back to normal. |
ac_must_keep_next=false # Got value, back to normal. |
| 1279 |
else |
else |
| 1280 |
case $ac_arg in |
case $ac_arg in |
| 1281 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1282 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1283 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1284 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1285 |
case "$ac_configure_args0 " in |
case "$ac_configure_args0 " in |
| 1286 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1287 |
esac |
esac |
| 1288 |
;; |
;; |
| 1289 |
-* ) ac_must_keep_next=true ;; |
-* ) ac_must_keep_next=true ;; |
| 1290 |
esac |
esac |
| 1291 |
fi |
fi |
| 1292 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1293 |
# Get rid of the leading space. |
# Get rid of the leading space. |
| 1321 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1322 |
*ac_space=\ *) |
*ac_space=\ *) |
| 1323 |
sed -n \ |
sed -n \ |
| 1324 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1325 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1326 |
;; |
;; |
| 1327 |
*) |
*) |
| 1328 |
sed -n \ |
sed -n \ |
| 1329 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1330 |
;; |
;; |
| 1331 |
esac; |
esac; |
| 1332 |
} |
} |
| 1355 |
for ac_var in $ac_subst_files |
for ac_var in $ac_subst_files |
| 1356 |
do |
do |
| 1357 |
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
| 1358 |
echo "$ac_var='"'"'$ac_val'"'"'" |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1359 |
done | sort |
done | sort |
| 1360 |
echo |
echo |
| 1361 |
fi |
fi |
| 1374 |
echo "$as_me: caught signal $ac_signal" |
echo "$as_me: caught signal $ac_signal" |
| 1375 |
echo "$as_me: exit $exit_status" |
echo "$as_me: exit $exit_status" |
| 1376 |
} >&5 |
} >&5 |
| 1377 |
rm -f core core.* *.core && |
rm -f core *.core && |
| 1378 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1379 |
exit $exit_status |
exit $exit_status |
| 1380 |
' 0 |
' 0 |
| 1454 |
# value. |
# value. |
| 1455 |
ac_cache_corrupted=false |
ac_cache_corrupted=false |
| 1456 |
for ac_var in `(set) 2>&1 | |
for ac_var in `(set) 2>&1 | |
| 1457 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1458 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1459 |
eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1460 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1471 |
,);; |
,);; |
| 1472 |
*) |
*) |
| 1473 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1474 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1475 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1476 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1477 |
echo "$as_me: former value: $ac_old_val" >&2;} |
echo "$as_me: former value: $ac_old_val" >&2;} |
| 1478 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1479 |
echo "$as_me: current value: $ac_new_val" >&2;} |
echo "$as_me: current value: $ac_new_val" >&2;} |
| 1480 |
ac_cache_corrupted=: |
ac_cache_corrupted=: |
| 1481 |
fi;; |
fi;; |
| 1482 |
esac |
esac |
| 1483 |
# Pass precious variables to config.status. |
# Pass precious variables to config.status. |
| 1644 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
test "$program_prefix$program_suffix$program_transform_name" = \ |
| 1645 |
NONENONEs,x,x, && |
NONENONEs,x,x, && |
| 1646 |
program_prefix=${target_alias}- |
program_prefix=${target_alias}- |
| 1647 |
am__api_version="1.7" |
am__api_version="1.9" |
| 1648 |
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
| 1649 |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
| 1650 |
# incompatible versions: |
# incompatible versions: |
| 1656 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 1657 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 1658 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1659 |
|
# OS/2's system install, which has a completely different semantic |
| 1660 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
| 1661 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 1662 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 1673 |
case $as_dir/ in |
case $as_dir/ in |
| 1674 |
./ | .// | /cC/* | \ |
./ | .// | /cC/* | \ |
| 1675 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 1676 |
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 1677 |
/usr/ucb/* ) ;; |
/usr/ucb/* ) ;; |
| 1678 |
*) |
*) |
| 1679 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 1681 |
# by default. |
# by default. |
| 1682 |
for ac_prog in ginstall scoinst install; do |
for ac_prog in ginstall scoinst install; do |
| 1683 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1684 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 1685 |
if test $ac_prog = install && |
if test $ac_prog = install && |
| 1686 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1687 |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
| 1688 |
: |
: |
| 1689 |
elif test $ac_prog = install && |
elif test $ac_prog = install && |
| 1690 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1691 |
# program-specific install script used by HP pwplus--don't use. |
# program-specific install script used by HP pwplus--don't use. |
| 1692 |
: |
: |
| 1693 |
else |
else |
| 1694 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 1695 |
break 3 |
break 3 |
| 1696 |
fi |
fi |
| 1697 |
fi |
fi |
| 1698 |
done |
done |
| 1699 |
done |
done |
| 1700 |
;; |
;; |
| 1782 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
| 1783 |
rm conftest.sed |
rm conftest.sed |
| 1784 |
|
|
|
|
|
| 1785 |
# expand $ac_aux_dir to an absolute path |
# expand $ac_aux_dir to an absolute path |
| 1786 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 1787 |
|
|
| 1795 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 1796 |
fi |
fi |
| 1797 |
|
|
| 1798 |
|
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
| 1799 |
|
# We used to keeping the `.' as first argument, in order to |
| 1800 |
|
# allow $(mkdir_p) to be used without argument. As in |
| 1801 |
|
# $(mkdir_p) $(somedir) |
| 1802 |
|
# where $(somedir) is conditionally defined. However this is wrong |
| 1803 |
|
# for two reasons: |
| 1804 |
|
# 1. if the package is installed by a user who cannot write `.' |
| 1805 |
|
# make install will fail, |
| 1806 |
|
# 2. the above comment should most certainly read |
| 1807 |
|
# $(mkdir_p) $(DESTDIR)$(somedir) |
| 1808 |
|
# so it does not work when $(somedir) is undefined and |
| 1809 |
|
# $(DESTDIR) is not. |
| 1810 |
|
# To support the latter case, we have to write |
| 1811 |
|
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
| 1812 |
|
# so the `.' trick is pointless. |
| 1813 |
|
mkdir_p='mkdir -p --' |
| 1814 |
|
else |
| 1815 |
|
# On NextStep and OpenStep, the `mkdir' command does not |
| 1816 |
|
# recognize any option. It will interpret all options as |
| 1817 |
|
# directories to create, and then abort because `.' already |
| 1818 |
|
# exists. |
| 1819 |
|
for d in ./-p ./--version; |
| 1820 |
|
do |
| 1821 |
|
test -d $d && rmdir $d |
| 1822 |
|
done |
| 1823 |
|
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
| 1824 |
|
if test -f "$ac_aux_dir/mkinstalldirs"; then |
| 1825 |
|
mkdir_p='$(mkinstalldirs)' |
| 1826 |
|
else |
| 1827 |
|
mkdir_p='$(install_sh) -d' |
| 1828 |
|
fi |
| 1829 |
|
fi |
| 1830 |
|
|
| 1831 |
for ac_prog in gawk mawk nawk awk |
for ac_prog in gawk mawk nawk awk |
| 1832 |
do |
do |
| 1833 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1870 |
|
|
| 1871 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 1872 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 1873 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 1874 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 1875 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1876 |
else |
else |
| 1906 |
fi |
fi |
| 1907 |
rmdir .tst 2>/dev/null |
rmdir .tst 2>/dev/null |
| 1908 |
|
|
| 1909 |
# test to see if srcdir already configured |
# test to see if srcdir already configured |
| 1910 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
| 1911 |
test -f $srcdir/config.status; then |
test -f $srcdir/config.status; then |
| 1912 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
| 1954 |
|
|
| 1955 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 1956 |
|
|
|
|
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
|
|
| 1957 |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
| 1958 |
|
|
| 1959 |
# Installed binaries are usually stripped using `strip' when the user |
# Installed binaries are usually stripped using `strip' when the user |
| 2046 |
|
|
| 2047 |
# We need awk for the "check" target. The system "awk" is bad on |
# We need awk for the "check" target. The system "awk" is bad on |
| 2048 |
# some platforms. |
# some platforms. |
| 2049 |
|
# Always define AMTAR for backward compatibility. |
| 2050 |
|
|
| 2051 |
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 2052 |
|
|
| 2053 |
|
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 2054 |
|
|
| 2055 |
|
|
| 2056 |
|
|
| 2057 |
|
|
| 2058 |
|
|
| 2223 |
(exit $ac_status); } |
(exit $ac_status); } |
| 2224 |
|
|
| 2225 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 2226 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 2227 |
_ACEOF |
_ACEOF |
| 2228 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 2242 |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
| 2243 |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
| 2244 |
# of exeext. |
# of exeext. |
| 2245 |
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
| 2246 |
echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 |
| 2247 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2248 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 2249 |
(eval $ac_link_default) 2>&5 |
(eval $ac_link_default) 2>&5 |
| 2263 |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
| 2264 |
case $ac_file in |
case $ac_file in |
| 2265 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 2266 |
;; |
;; |
| 2267 |
conftest.$ac_ext ) |
conftest.$ac_ext ) |
| 2268 |
# This is the source file. |
# This is the source file. |
| 2269 |
;; |
;; |
| 2270 |
[ab].out ) |
[ab].out ) |
| 2271 |
# We found the default executable, but exeext='' is most |
# We found the default executable, but exeext='' is most |
| 2272 |
# certainly right. |
# certainly right. |
| 2273 |
break;; |
break;; |
| 2274 |
*.* ) |
*.* ) |
| 2275 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2276 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2277 |
# but it would be cool to find out if it's true. Does anybody |
# but it would be cool to find out if it's true. Does anybody |
| 2278 |
# maintain Libtool? --akim. |
# maintain Libtool? --akim. |
| 2279 |
export ac_cv_exeext |
export ac_cv_exeext |
| 2280 |
break;; |
break;; |
| 2281 |
* ) |
* ) |
| 2282 |
break;; |
break;; |
| 2283 |
esac |
esac |
| 2284 |
done |
done |
| 2285 |
else |
else |
| 2353 |
case $ac_file in |
case $ac_file in |
| 2354 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2355 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2356 |
export ac_cv_exeext |
export ac_cv_exeext |
| 2357 |
break;; |
break;; |
| 2358 |
* ) break;; |
* ) break;; |
| 2359 |
esac |
esac |
| 2360 |
done |
done |
| 2379 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2380 |
else |
else |
| 2381 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 2382 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 2383 |
_ACEOF |
_ACEOF |
| 2384 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 2429 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2430 |
else |
else |
| 2431 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 2432 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 2433 |
_ACEOF |
_ACEOF |
| 2434 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 2448 |
_ACEOF |
_ACEOF |
| 2449 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 2450 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2451 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 2452 |
ac_status=$? |
ac_status=$? |
| 2453 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2454 |
|
rm -f conftest.er1 |
| 2455 |
|
cat conftest.err >&5 |
| 2456 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2457 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2458 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2459 |
|
|| test ! -s conftest.err' |
| 2460 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2461 |
|
(eval $ac_try) 2>&5 |
| 2462 |
|
ac_status=$? |
| 2463 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2464 |
|
(exit $ac_status); }; } && |
| 2465 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2466 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2467 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2468 |
ac_status=$? |
ac_status=$? |
| 2475 |
|
|
| 2476 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
| 2477 |
fi |
fi |
| 2478 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2479 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2480 |
|
|
| 2481 |
fi |
fi |
| 2491 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2492 |
else |
else |
| 2493 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 2494 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 2495 |
_ACEOF |
_ACEOF |
| 2496 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 2507 |
_ACEOF |
_ACEOF |
| 2508 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 2509 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2510 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 2511 |
ac_status=$? |
ac_status=$? |
| 2512 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2513 |
|
rm -f conftest.er1 |
| 2514 |
|
cat conftest.err >&5 |
| 2515 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2516 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2517 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2518 |
|
|| test ! -s conftest.err' |
| 2519 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2520 |
|
(eval $ac_try) 2>&5 |
| 2521 |
|
ac_status=$? |
| 2522 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2523 |
|
(exit $ac_status); }; } && |
| 2524 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2525 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2526 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2527 |
ac_status=$? |
ac_status=$? |
| 2534 |
|
|
| 2535 |
ac_cv_prog_cxx_g=no |
ac_cv_prog_cxx_g=no |
| 2536 |
fi |
fi |
| 2537 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2538 |
fi |
fi |
| 2539 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2540 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 2554 |
fi |
fi |
| 2555 |
fi |
fi |
| 2556 |
for ac_declaration in \ |
for ac_declaration in \ |
| 2557 |
''\ |
'' \ |
|
'#include <stdlib.h>' \ |
|
| 2558 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2559 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
| 2560 |
'extern "C" void exit (int) throw ();' \ |
'extern "C" void exit (int) throw ();' \ |
| 2562 |
'void exit (int);' |
'void exit (int);' |
| 2563 |
do |
do |
| 2564 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 2565 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 2566 |
_ACEOF |
_ACEOF |
| 2567 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 2568 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 2569 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
| 2570 |
$ac_declaration |
$ac_declaration |
| 2571 |
|
#include <stdlib.h> |
| 2572 |
int |
int |
| 2573 |
main () |
main () |
| 2574 |
{ |
{ |
| 2579 |
_ACEOF |
_ACEOF |
| 2580 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 2581 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2582 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 2583 |
ac_status=$? |
ac_status=$? |
| 2584 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2585 |
|
rm -f conftest.er1 |
| 2586 |
|
cat conftest.err >&5 |
| 2587 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2588 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2589 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2590 |
|
|| test ! -s conftest.err' |
| 2591 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2592 |
|
(eval $ac_try) 2>&5 |
| 2593 |
|
ac_status=$? |
| 2594 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2595 |
|
(exit $ac_status); }; } && |
| 2596 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2597 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2598 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2599 |
ac_status=$? |
ac_status=$? |
| 2606 |
|
|
| 2607 |
continue |
continue |
| 2608 |
fi |
fi |
| 2609 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2610 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 2611 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 2612 |
_ACEOF |
_ACEOF |
| 2613 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 2624 |
_ACEOF |
_ACEOF |
| 2625 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 2626 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2627 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 2628 |
ac_status=$? |
ac_status=$? |
| 2629 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2630 |
|
rm -f conftest.er1 |
| 2631 |
|
cat conftest.err >&5 |
| 2632 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2633 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2634 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2635 |
|
|| test ! -s conftest.err' |
| 2636 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2637 |
|
(eval $ac_try) 2>&5 |
| 2638 |
|
ac_status=$? |
| 2639 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2640 |
|
(exit $ac_status); }; } && |
| 2641 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2642 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2643 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2644 |
ac_status=$? |
ac_status=$? |
| 2650 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2651 |
|
|
| 2652 |
fi |
fi |
| 2653 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2654 |
done |
done |
| 2655 |
rm -f conftest* |
rm -f conftest* |
| 2656 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
| 2771 |
: > sub/conftest.c |
: > sub/conftest.c |
| 2772 |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
| 2773 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 2774 |
: > sub/conftst$i.h |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 2775 |
|
# Solaris 8's {/usr,}/bin/sh. |
| 2776 |
|
touch sub/conftst$i.h |
| 2777 |
done |
done |
| 2778 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 2779 |
|
|
| 2801 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 2802 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 2803 |
# icc doesn't choke on unknown options, it will just issue warnings |
# icc doesn't choke on unknown options, it will just issue warnings |
| 2804 |
# (even with -Werror). So we grep stderr for any message |
# or remarks (even with -Werror). So we grep stderr for any message |
| 2805 |
# that says an option was ignored. |
# that says an option was ignored or not supported. |
| 2806 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 2807 |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
| 2808 |
|
# The diagnosis changed in icc 8.0: |
| 2809 |
|
# icc: Command line remark: option '-MP' not supported |
| 2810 |
|
if (grep 'ignoring option' conftest.err || |
| 2811 |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 2812 |
am_cv_CXX_dependencies_compiler_type=$depmode |
am_cv_CXX_dependencies_compiler_type=$depmode |
| 2813 |
break |
break |
| 2814 |
fi |
fi |
| 3180 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3181 |
else |
else |
| 3182 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3183 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3184 |
_ACEOF |
_ACEOF |
| 3185 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3199 |
_ACEOF |
_ACEOF |
| 3200 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 3201 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3202 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 3203 |
ac_status=$? |
ac_status=$? |
| 3204 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3205 |
|
rm -f conftest.er1 |
| 3206 |
|
cat conftest.err >&5 |
| 3207 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3208 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3209 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3210 |
|
|| test ! -s conftest.err' |
| 3211 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3212 |
|
(eval $ac_try) 2>&5 |
| 3213 |
|
ac_status=$? |
| 3214 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3215 |
|
(exit $ac_status); }; } && |
| 3216 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3217 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3218 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3219 |
ac_status=$? |
ac_status=$? |
| 3226 |
|
|
| 3227 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
| 3228 |
fi |
fi |
| 3229 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3230 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3231 |
|
|
| 3232 |
fi |
fi |
| 3242 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3243 |
else |
else |
| 3244 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3245 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3246 |
_ACEOF |
_ACEOF |
| 3247 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3258 |
_ACEOF |
_ACEOF |
| 3259 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 3260 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3261 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 3262 |
ac_status=$? |
ac_status=$? |
| 3263 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3264 |
|
rm -f conftest.er1 |
| 3265 |
|
cat conftest.err >&5 |
| 3266 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3267 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3268 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3269 |
|
|| test ! -s conftest.err' |
| 3270 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3271 |
|
(eval $ac_try) 2>&5 |
| 3272 |
|
ac_status=$? |
| 3273 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3274 |
|
(exit $ac_status); }; } && |
| 3275 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3276 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3277 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3278 |
ac_status=$? |
ac_status=$? |
| 3285 |
|
|
| 3286 |
ac_cv_prog_cc_g=no |
ac_cv_prog_cc_g=no |
| 3287 |
fi |
fi |
| 3288 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3289 |
fi |
fi |
| 3290 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 3291 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 3312 |
ac_cv_prog_cc_stdc=no |
ac_cv_prog_cc_stdc=no |
| 3313 |
ac_save_CC=$CC |
ac_save_CC=$CC |
| 3314 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3315 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3316 |
_ACEOF |
_ACEOF |
| 3317 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3339 |
va_end (v); |
va_end (v); |
| 3340 |
return s; |
return s; |
| 3341 |
} |
} |
| 3342 |
|
|
| 3343 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3344 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
| 3345 |
|
These don't provoke an error unfortunately, instead are silently treated |
| 3346 |
|
as 'x'. The following induces an error, until -std1 is added to get |
| 3347 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3348 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
| 3349 |
|
that's true only with -std1. */ |
| 3350 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 3351 |
|
|
| 3352 |
int test (int i, double x); |
int test (int i, double x); |
| 3353 |
struct s1 {int (*f) (int a);}; |
struct s1 {int (*f) (int a);}; |
| 3354 |
struct s2 {int (*f) (double a);}; |
struct s2 {int (*f) (double a);}; |
| 3375 |
CC="$ac_save_CC $ac_arg" |
CC="$ac_save_CC $ac_arg" |
| 3376 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 3377 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3378 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 3379 |
ac_status=$? |
ac_status=$? |
| 3380 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3381 |
|
rm -f conftest.er1 |
| 3382 |
|
cat conftest.err >&5 |
| 3383 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3384 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3385 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3386 |
|
|| test ! -s conftest.err' |
| 3387 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3388 |
|
(eval $ac_try) 2>&5 |
| 3389 |
|
ac_status=$? |
| 3390 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3391 |
|
(exit $ac_status); }; } && |
| 3392 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3393 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3394 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3395 |
ac_status=$? |
ac_status=$? |
| 3402 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3403 |
|
|
| 3404 |
fi |
fi |
| 3405 |
rm -f conftest.$ac_objext |
rm -f conftest.err conftest.$ac_objext |
| 3406 |
done |
done |
| 3407 |
rm -f conftest.$ac_ext conftest.$ac_objext |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 3408 |
CC=$ac_save_CC |
CC=$ac_save_CC |
| 3430 |
_ACEOF |
_ACEOF |
| 3431 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 3432 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3433 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 3434 |
ac_status=$? |
ac_status=$? |
| 3435 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3436 |
|
rm -f conftest.er1 |
| 3437 |
|
cat conftest.err >&5 |
| 3438 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3439 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3440 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3441 |
|
|| test ! -s conftest.err' |
| 3442 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3443 |
|
(eval $ac_try) 2>&5 |
| 3444 |
|
ac_status=$? |
| 3445 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3446 |
|
(exit $ac_status); }; } && |
| 3447 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3448 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3449 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3450 |
ac_status=$? |
ac_status=$? |
| 3451 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3452 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
| 3453 |
for ac_declaration in \ |
for ac_declaration in \ |
| 3454 |
''\ |
'' \ |
|
'#include <stdlib.h>' \ |
|
| 3455 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3456 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
| 3457 |
'extern "C" void exit (int) throw ();' \ |
'extern "C" void exit (int) throw ();' \ |
| 3459 |
'void exit (int);' |
'void exit (int);' |
| 3460 |
do |
do |
| 3461 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3462 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3463 |
_ACEOF |
_ACEOF |
| 3464 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3465 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 3466 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
| 3467 |
$ac_declaration |
$ac_declaration |
| 3468 |
|
#include <stdlib.h> |
| 3469 |
int |
int |
| 3470 |
main () |
main () |
| 3471 |
{ |
{ |
| 3476 |
_ACEOF |
_ACEOF |
| 3477 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 3478 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3479 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 3480 |
ac_status=$? |
ac_status=$? |
| 3481 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3482 |
|
rm -f conftest.er1 |
| 3483 |
|
cat conftest.err >&5 |
| 3484 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3485 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3486 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3487 |
|
|| test ! -s conftest.err' |
| 3488 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3489 |
|
(eval $ac_try) 2>&5 |
| 3490 |
|
ac_status=$? |
| 3491 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3492 |
|
(exit $ac_status); }; } && |
| 3493 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3494 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3495 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3496 |
ac_status=$? |
ac_status=$? |
| 3503 |
|
|
| 3504 |
continue |
continue |
| 3505 |
fi |
fi |
| 3506 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3507 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3508 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3509 |
_ACEOF |
_ACEOF |
| 3510 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3521 |
_ACEOF |
_ACEOF |
| 3522 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 3523 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3524 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 3525 |
ac_status=$? |
ac_status=$? |
| 3526 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3527 |
|
rm -f conftest.er1 |
| 3528 |
|
cat conftest.err >&5 |
| 3529 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3530 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3531 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3532 |
|
|| test ! -s conftest.err' |
| 3533 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3534 |
|
(eval $ac_try) 2>&5 |
| 3535 |
|
ac_status=$? |
| 3536 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3537 |
|
(exit $ac_status); }; } && |
| 3538 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3539 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3540 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3541 |
ac_status=$? |
ac_status=$? |
| 3547 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3548 |
|
|
| 3549 |
fi |
fi |
| 3550 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3551 |
done |
done |
| 3552 |
rm -f conftest* |
rm -f conftest* |
| 3553 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
| 3561 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3562 |
|
|
| 3563 |
fi |
fi |
| 3564 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3565 |
ac_ext=c |
ac_ext=c |
| 3566 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 3567 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3609 |
: > sub/conftest.c |
: > sub/conftest.c |
| 3610 |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
| 3611 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3612 |
: > sub/conftst$i.h |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3613 |
|
# Solaris 8's {/usr,}/bin/sh. |
| 3614 |
|
touch sub/conftst$i.h |
| 3615 |
done |
done |
| 3616 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3617 |
|
|
| 3639 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 3640 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 3641 |
# icc doesn't choke on unknown options, it will just issue warnings |
# icc doesn't choke on unknown options, it will just issue warnings |
| 3642 |
# (even with -Werror). So we grep stderr for any message |
# or remarks (even with -Werror). So we grep stderr for any message |
| 3643 |
# that says an option was ignored. |
# that says an option was ignored or not supported. |
| 3644 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 3645 |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
| 3646 |
|
# The diagnosis changed in icc 8.0: |
| 3647 |
|
# icc: Command line remark: option '-MP' not supported |
| 3648 |
|
if (grep 'ignoring option' conftest.err || |
| 3649 |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 3650 |
am_cv_CC_dependencies_compiler_type=$depmode |
am_cv_CC_dependencies_compiler_type=$depmode |
| 3651 |
break |
break |
| 3652 |
fi |
fi |
| 3705 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3706 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3707 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3708 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3709 |
_ACEOF |
_ACEOF |
| 3710 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3715 |
#else |
#else |
| 3716 |
# include <assert.h> |
# include <assert.h> |
| 3717 |
#endif |
#endif |
| 3718 |
Syntax error |
Syntax error |
| 3719 |
_ACEOF |
_ACEOF |
| 3720 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3721 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3727 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 3728 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 3729 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3730 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3731 |
else |
else |
| 3732 |
ac_cpp_err= |
ac_cpp_err= |
| 3733 |
fi |
fi |
| 3748 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
| 3749 |
# can be detected and how. |
# can be detected and how. |
| 3750 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3751 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3752 |
_ACEOF |
_ACEOF |
| 3753 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3765 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 3766 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 3767 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3768 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3769 |
else |
else |
| 3770 |
ac_cpp_err= |
ac_cpp_err= |
| 3771 |
fi |
fi |
| 3812 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3813 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3814 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3815 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3816 |
_ACEOF |
_ACEOF |
| 3817 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3822 |
#else |
#else |
| 3823 |
# include <assert.h> |
# include <assert.h> |
| 3824 |
#endif |
#endif |
| 3825 |
Syntax error |
Syntax error |
| 3826 |
_ACEOF |
_ACEOF |
| 3827 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3828 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3834 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 3835 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 3836 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3837 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3838 |
else |
else |
| 3839 |
ac_cpp_err= |
ac_cpp_err= |
| 3840 |
fi |
fi |
| 3855 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
| 3856 |
# can be detected and how. |
# can be detected and how. |
| 3857 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 3858 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3859 |
_ACEOF |
_ACEOF |
| 3860 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3872 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 3873 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 3874 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3875 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3876 |
else |
else |
| 3877 |
ac_cpp_err= |
ac_cpp_err= |
| 3878 |
fi |
fi |
| 3922 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3923 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3924 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3925 |
|
# OS/2's system install, which has a completely different semantic |
| 3926 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
| 3927 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3928 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 3939 |
case $as_dir/ in |
case $as_dir/ in |
| 3940 |
./ | .// | /cC/* | \ |
./ | .// | /cC/* | \ |
| 3941 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3942 |
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 3943 |
/usr/ucb/* ) ;; |
/usr/ucb/* ) ;; |
| 3944 |
*) |
*) |
| 3945 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 3947 |
# by default. |
# by default. |
| 3948 |
for ac_prog in ginstall scoinst install; do |
for ac_prog in ginstall scoinst install; do |
| 3949 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3950 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 3951 |
if test $ac_prog = install && |
if test $ac_prog = install && |
| 3952 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3953 |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
| 3954 |
: |
: |
| 3955 |
elif test $ac_prog = install && |
elif test $ac_prog = install && |
| 3956 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3957 |
# program-specific install script used by HP pwplus--don't use. |
# program-specific install script used by HP pwplus--don't use. |
| 3958 |
: |
: |
| 3959 |
else |
else |
| 3960 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3961 |
break 3 |
break 3 |
| 3962 |
fi |
fi |
| 3963 |
fi |
fi |
| 3964 |
done |
done |
| 3965 |
done |
done |
| 3966 |
;; |
;; |
| 4003 |
|
|
| 4004 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 4005 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 4006 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 4007 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 4008 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4009 |
else |
else |
| 4185 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
| 4186 |
# along with /bin/sed that truncates output. |
# along with /bin/sed that truncates output. |
| 4187 |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
| 4188 |
test ! -f $lt_ac_sed && break |
test ! -f $lt_ac_sed && continue |
| 4189 |
cat /dev/null > conftest.in |
cat /dev/null > conftest.in |
| 4190 |
lt_ac_count=0 |
lt_ac_count=0 |
| 4191 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
| 4210 |
fi |
fi |
| 4211 |
done |
done |
| 4212 |
done |
done |
|
SED=$lt_cv_path_SED |
|
| 4213 |
|
|
| 4214 |
fi |
fi |
| 4215 |
|
|
| 4216 |
|
SED=$lt_cv_path_SED |
| 4217 |
echo "$as_me:$LINENO: result: $SED" >&5 |
echo "$as_me:$LINENO: result: $SED" >&5 |
| 4218 |
echo "${ECHO_T}$SED" >&6 |
echo "${ECHO_T}$SED" >&6 |
| 4219 |
|
|
| 4256 |
# Accept absolute paths. |
# Accept absolute paths. |
| 4257 |
[\\/]* | ?:[\\/]*) |
[\\/]* | ?:[\\/]*) |
| 4258 |
re_direlt='/[^/][^/]*/\.\./' |
re_direlt='/[^/][^/]*/\.\./' |
| 4259 |
# Canonicalize the path of ld |
# Canonicalize the pathname of ld |
| 4260 |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
| 4261 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
| 4262 |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
| 4290 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 4291 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
lt_cv_path_LD="$ac_dir/$ac_prog" |
| 4292 |
# Check to see if the program is GNU ld. I'd rather use --version, |
# Check to see if the program is GNU ld. I'd rather use --version, |
| 4293 |
# but apparently some GNU ld's only accept -v. |
# but apparently some variants of GNU ld only accept -v. |
| 4294 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
# Break only if it was the GNU/non-GNU ld that we prefer. |
| 4295 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 4296 |
*GNU* | *'with BFD'*) |
*GNU* | *'with BFD'*) |
| 4324 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
| 4325 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4326 |
else |
else |
| 4327 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 4328 |
case `$LD -v 2>&1 </dev/null` in |
case `$LD -v 2>&1 </dev/null` in |
| 4329 |
*GNU* | *'with BFD'*) |
*GNU* | *'with BFD'*) |
| 4330 |
lt_cv_prog_gnu_ld=yes |
lt_cv_prog_gnu_ld=yes |
| 4354 |
*) reload_flag=" $reload_flag" ;; |
*) reload_flag=" $reload_flag" ;; |
| 4355 |
esac |
esac |
| 4356 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 4357 |
|
case $host_os in |
| 4358 |
|
darwin*) |
| 4359 |
|
if test "$GCC" = yes; then |
| 4360 |
|
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' |
| 4361 |
|
else |
| 4362 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 4363 |
|
fi |
| 4364 |
|
;; |
| 4365 |
|
esac |
| 4366 |
|
|
| 4367 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
| 4368 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
| 4438 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4439 |
;; |
;; |
| 4440 |
|
|
| 4441 |
bsdi4*) |
bsdi[45]*) |
| 4442 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 4443 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
| 4444 |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
| 4445 |
;; |
;; |
| 4446 |
|
|
| 4447 |
cygwin* | mingw* | pw32*) |
cygwin*) |
| 4448 |
# win32_libid is a shell function defined in ltmain.sh |
# func_win32_libid is a shell function defined in ltmain.sh |
| 4449 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 4450 |
lt_cv_file_magic_cmd='win32_libid' |
lt_cv_file_magic_cmd='func_win32_libid' |
| 4451 |
|
;; |
| 4452 |
|
|
| 4453 |
|
mingw* | pw32*) |
| 4454 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
| 4455 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump'. |
| 4456 |
|
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
| 4457 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 4458 |
;; |
;; |
| 4459 |
|
|
| 4460 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
|
# this will be overwritten by pass_all, but leave it in just in case |
|
|
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
|
|
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
|
case "$host_os" in |
|
|
rhapsody* | darwin1.[012]) |
|
|
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` |
|
|
;; |
|
|
*) # Darwin 1.3 on |
|
|
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' |
|
|
;; |
|
|
esac |
|
| 4461 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4462 |
;; |
;; |
| 4463 |
|
|
| 4464 |
freebsd*) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
| 4465 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
| 4466 |
case $host_cpu in |
case $host_cpu in |
| 4467 |
i*86 ) |
i*86 ) |
| 4468 |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Not sure whether the presence of OpenBSD here was a mistake. |
| 4469 |
# Let's accept both of them until this is cleared up. |
# Let's accept both of them until this is cleared up. |
| 4470 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 4471 |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
| 4472 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
| 4473 |
;; |
;; |
| 4483 |
|
|
| 4484 |
hpux10.20* | hpux11*) |
hpux10.20* | hpux11*) |
| 4485 |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
| 4486 |
case "$host_cpu" in |
case $host_cpu in |
| 4487 |
ia64*) |
ia64*) |
| 4488 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 4489 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
| 4500 |
;; |
;; |
| 4501 |
|
|
| 4502 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 4503 |
case $host_os in |
case $LD in |
| 4504 |
irix5* | nonstopux*) |
*-32|*"-32 ") libmagic=32-bit;; |
| 4505 |
# this will be overridden with pass_all, but let us keep it just in case |
*-n32|*"-n32 ") libmagic=N32;; |
| 4506 |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
*-64|*"-64 ") libmagic=64-bit;; |
| 4507 |
;; |
*) libmagic=never-match;; |
|
*) |
|
|
case $LD in |
|
|
*-32|*"-32 ") libmagic=32-bit;; |
|
|
*-n32|*"-n32 ") libmagic=N32;; |
|
|
*-64|*"-64 ") libmagic=64-bit;; |
|
|
*) libmagic=never-match;; |
|
|
esac |
|
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" |
|
|
;; |
|
| 4508 |
esac |
esac |
|
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` |
|
| 4509 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4510 |
;; |
;; |
| 4511 |
|
|
| 4512 |
# This must be Linux ELF. |
# This must be Linux ELF. |
| 4513 |
linux*) |
linux*) |
| 4514 |
case $host_cpu in |
lt_cv_deplibs_check_method=pass_all |
|
alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*) |
|
|
lt_cv_deplibs_check_method=pass_all ;; |
|
|
*) |
|
|
# glibc up to 2.1.1 does not perform some relocations on ARM |
|
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
|
|
esac |
|
|
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
|
| 4515 |
;; |
;; |
| 4516 |
|
|
| 4517 |
netbsd*) |
netbsd*) |
| 4528 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 4529 |
;; |
;; |
| 4530 |
|
|
| 4531 |
nto-qnx) |
nto-qnx*) |
| 4532 |
lt_cv_deplibs_check_method=unknown |
lt_cv_deplibs_check_method=unknown |
| 4533 |
;; |
;; |
| 4534 |
|
|
| 4535 |
openbsd*) |
openbsd*) |
|
lt_cv_file_magic_cmd=/usr/bin/file |
|
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
| 4536 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 4537 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
| 4538 |
else |
else |
| 4539 |
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 4540 |
fi |
fi |
| 4541 |
;; |
;; |
| 4542 |
|
|
| 4543 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
|
|
lt_cv_file_magic_test_file=/shlib/libc.so |
|
| 4544 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4545 |
;; |
;; |
| 4546 |
|
|
| 4550 |
|
|
| 4551 |
solaris*) |
solaris*) |
| 4552 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
lt_cv_file_magic_test_file=/lib/libc.so |
|
| 4553 |
;; |
;; |
| 4554 |
|
|
| 4555 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 4629 |
;; |
;; |
| 4630 |
*-*-irix6*) |
*-*-irix6*) |
| 4631 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
| 4632 |
echo '#line 4465 "configure"' > conftest.$ac_ext |
echo '#line 4632 "configure"' > conftest.$ac_ext |
| 4633 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4634 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 4635 |
ac_status=$? |
ac_status=$? |
| 4672 |
ac_status=$? |
ac_status=$? |
| 4673 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4674 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
| 4675 |
case "`/usr/bin/file conftest.o`" in |
case `/usr/bin/file conftest.o` in |
| 4676 |
*32-bit*) |
*32-bit*) |
| 4677 |
case $host in |
case $host in |
| 4678 |
x86_64-*linux*) |
x86_64-*linux*) |
| 4679 |
LD="${LD-ld} -m elf_i386" |
LD="${LD-ld} -m elf_i386" |
| 4680 |
;; |
;; |
| 4681 |
ppc64-*linux*) |
ppc64-*linux*|powerpc64-*linux*) |
| 4682 |
LD="${LD-ld} -m elf32ppclinux" |
LD="${LD-ld} -m elf32ppclinux" |
| 4683 |
;; |
;; |
| 4684 |
s390x-*linux*) |
s390x-*linux*) |
| 4726 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4727 |
|
|
| 4728 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 4729 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 4730 |
_ACEOF |
_ACEOF |
| 4731 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 4742 |
_ACEOF |
_ACEOF |
| 4743 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4744 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4745 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 4746 |
ac_status=$? |
ac_status=$? |
| 4747 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4748 |
|
rm -f conftest.er1 |
| 4749 |
|
cat conftest.err >&5 |
| 4750 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4751 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4752 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4753 |
|
|| test ! -s conftest.err' |
| 4754 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4755 |
|
(eval $ac_try) 2>&5 |
| 4756 |
|
ac_status=$? |
| 4757 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4758 |
|
(exit $ac_status); }; } && |
| 4759 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 4760 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4761 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 4762 |
ac_status=$? |
ac_status=$? |
| 4769 |
|
|
| 4770 |
lt_cv_cc_needs_belf=no |
lt_cv_cc_needs_belf=no |
| 4771 |
fi |
fi |
| 4772 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 4773 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4774 |
ac_ext=c |
ac_ext=c |
| 4775 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 4776 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4798 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4799 |
else |
else |
| 4800 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 4801 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 4802 |
_ACEOF |
_ACEOF |
| 4803 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 4818 |
_ACEOF |
_ACEOF |
| 4819 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 4820 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4821 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 4822 |
ac_status=$? |
ac_status=$? |
| 4823 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4824 |
|
rm -f conftest.er1 |
| 4825 |
|
cat conftest.err >&5 |
| 4826 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4827 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4828 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4829 |
|
|| test ! -s conftest.err' |
| 4830 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4831 |
|
(eval $ac_try) 2>&5 |
| 4832 |
|
ac_status=$? |
| 4833 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4834 |
|
(exit $ac_status); }; } && |
| 4835 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 4836 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4837 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 4838 |
ac_status=$? |
ac_status=$? |
| 4845 |
|
|
| 4846 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
| 4847 |
fi |
fi |
| 4848 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4849 |
|
|
| 4850 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
| 4851 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4852 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 4853 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 4854 |
_ACEOF |
_ACEOF |
| 4855 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 4871 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
| 4872 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4873 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 4874 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 4875 |
_ACEOF |
_ACEOF |
| 4876 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 4895 |
: |
: |
| 4896 |
else |
else |
| 4897 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 4898 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 4899 |
_ACEOF |
_ACEOF |
| 4900 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 4906 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4907 |
#else |
#else |
| 4908 |
# define ISLOWER(c) \ |
# define ISLOWER(c) \ |
| 4909 |
(('a' <= (c) && (c) <= 'i') \ |
(('a' <= (c) && (c) <= 'i') \ |
| 4910 |
|| ('j' <= (c) && (c) <= 'r') \ |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4911 |
|| ('s' <= (c) && (c) <= 'z')) |
|| ('s' <= (c) && (c) <= 'z')) |
| 4912 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4913 |
#endif |
#endif |
| 4914 |
|
|
| 4919 |
int i; |
int i; |
| 4920 |
for (i = 0; i < 256; i++) |
for (i = 0; i < 256; i++) |
| 4921 |
if (XOR (islower (i), ISLOWER (i)) |
if (XOR (islower (i), ISLOWER (i)) |
| 4922 |
|| toupper (i) != TOUPPER (i)) |
|| toupper (i) != TOUPPER (i)) |
| 4923 |
exit(2); |
exit(2); |
| 4924 |
exit (0); |
exit (0); |
| 4925 |
} |
} |
| 4944 |
( exit $ac_status ) |
( exit $ac_status ) |
| 4945 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
| 4946 |
fi |
fi |
| 4947 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4948 |
fi |
fi |
| 4949 |
fi |
fi |
| 4950 |
fi |
fi |
| 4969 |
|
|
| 4970 |
|
|
| 4971 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4972 |
inttypes.h stdint.h unistd.h |
inttypes.h stdint.h unistd.h |
| 4973 |
do |
do |
| 4974 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4975 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4978 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4979 |
else |
else |
| 4980 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 4981 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 4982 |
_ACEOF |
_ACEOF |
| 4983 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 4989 |
_ACEOF |
_ACEOF |
| 4990 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 4991 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4992 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 4993 |
ac_status=$? |
ac_status=$? |
| 4994 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4995 |
|
rm -f conftest.er1 |
| 4996 |
|
cat conftest.err >&5 |
| 4997 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4998 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4999 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5000 |
|
|| test ! -s conftest.err' |
| 5001 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5002 |
|
(eval $ac_try) 2>&5 |
| 5003 |
|
ac_status=$? |
| 5004 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5005 |
|
(exit $ac_status); }; } && |
| 5006 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 5007 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5008 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 5009 |
ac_status=$? |
ac_status=$? |
| 5016 |
|
|
| 5017 |
eval "$as_ac_Header=no" |
eval "$as_ac_Header=no" |
| 5018 |
fi |
fi |
| 5019 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5020 |
fi |
fi |
| 5021 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5022 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5047 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5048 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5049 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 5050 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 5051 |
_ACEOF |
_ACEOF |
| 5052 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 5057 |
_ACEOF |
_ACEOF |
| 5058 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 5059 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5060 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 5061 |
ac_status=$? |
ac_status=$? |
| 5062 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5063 |
|
rm -f conftest.er1 |
| 5064 |
|
cat conftest.err >&5 |
| 5065 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5066 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 5067 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5068 |
|
|| test ! -s conftest.err' |
| 5069 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5070 |
|
(eval $ac_try) 2>&5 |
| 5071 |
|
ac_status=$? |
| 5072 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5073 |
|
(exit $ac_status); }; } && |
| 5074 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 5075 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5076 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 5077 |
ac_status=$? |
ac_status=$? |
| 5084 |
|
|
| 5085 |
ac_header_compiler=no |
ac_header_compiler=no |
| 5086 |
fi |
fi |
| 5087 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5088 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5089 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5090 |
|
|
| 5092 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5093 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5094 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 5095 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 5096 |
_ACEOF |
_ACEOF |
| 5097 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 5109 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 5110 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 5111 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5112 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5113 |
else |
else |
| 5114 |
ac_cpp_err= |
ac_cpp_err= |
| 5115 |
fi |
fi |
| 5129 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5130 |
|
|
| 5131 |
# So? What about this header? |
# So? What about this header? |
| 5132 |
case $ac_header_compiler:$ac_header_preproc in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5133 |
yes:no ) |
yes:no: ) |
| 5134 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5135 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5136 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5137 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5138 |
( |
ac_header_preproc=yes |
|
cat <<\_ASBOX |
|
|
## ------------------------------------ ## |
|
|
## Report this to bug-autoconf@gnu.org. ## |
|
|
## ------------------------------------ ## |
|
|
_ASBOX |
|
|
) | |
|
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
| 5139 |
;; |
;; |
| 5140 |
no:yes ) |
no:yes:* ) |
| 5141 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5142 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5143 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5144 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5145 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5146 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5147 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5148 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5149 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5150 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5151 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5152 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5153 |
( |
( |
| 5154 |
cat <<\_ASBOX |
cat <<\_ASBOX |
| 5155 |
## ------------------------------------ ## |
## ----------------------------------------- ## |
| 5156 |
## Report this to bug-autoconf@gnu.org. ## |
## Report this to software@ni.brain.riken.jp ## |
| 5157 |
## ------------------------------------ ## |
## ----------------------------------------- ## |
| 5158 |
_ASBOX |
_ASBOX |
| 5159 |
) | |
) | |
| 5160 |
sed "s/^/$as_me: WARNING: /" >&2 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5165 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5166 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5167 |
else |
else |
| 5168 |
eval "$as_ac_Header=$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5169 |
fi |
fi |
| 5170 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5171 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5180 |
|
|
| 5181 |
done |
done |
| 5182 |
|
|
| 5183 |
ac_ext=cc |
|
| 5184 |
|
|
| 5185 |
|
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
| 5186 |
|
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
| 5187 |
|
(test "X$CXX" != "Xg++"))) ; then |
| 5188 |
|
ac_ext=cc |
| 5189 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5190 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5191 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5209 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 5210 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5211 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 5212 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 5213 |
_ACEOF |
_ACEOF |
| 5214 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 5219 |
#else |
#else |
| 5220 |
# include <assert.h> |
# include <assert.h> |
| 5221 |
#endif |
#endif |
| 5222 |
Syntax error |
Syntax error |
| 5223 |
_ACEOF |
_ACEOF |
| 5224 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5225 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5231 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 5232 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 5233 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5234 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5235 |
else |
else |
| 5236 |
ac_cpp_err= |
ac_cpp_err= |
| 5237 |
fi |
fi |
| 5252 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
| 5253 |
# can be detected and how. |
# can be detected and how. |
| 5254 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 5255 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 5256 |
_ACEOF |
_ACEOF |
| 5257 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 5269 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 5270 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 5271 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5272 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5273 |
else |
else |
| 5274 |
ac_cpp_err= |
ac_cpp_err= |
| 5275 |
fi |
fi |
| 5316 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 5317 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5318 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 5319 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 5320 |
_ACEOF |
_ACEOF |
| 5321 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 5326 |
#else |
#else |
| 5327 |
# include <assert.h> |
# include <assert.h> |
| 5328 |
#endif |
#endif |
| 5329 |
Syntax error |
Syntax error |
| 5330 |
_ACEOF |
_ACEOF |
| 5331 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5332 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5338 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 5339 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 5340 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5341 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5342 |
else |
else |
| 5343 |
ac_cpp_err= |
ac_cpp_err= |
| 5344 |
fi |
fi |
| 5359 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
| 5360 |
# can be detected and how. |
# can be detected and how. |
| 5361 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 5362 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 5363 |
_ACEOF |
_ACEOF |
| 5364 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 5376 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
| 5377 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 5378 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5379 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5380 |
else |
else |
| 5381 |
ac_cpp_err= |
ac_cpp_err= |
| 5382 |
fi |
fi |
| 5415 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5416 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5417 |
|
|
| 5418 |
|
fi |
| 5419 |
|
|
| 5420 |
|
|
| 5421 |
ac_ext=f |
ac_ext=f |
| 5422 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
| 5423 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5424 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
| 5425 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
| 5426 |
for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 |
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
| 5427 |
do |
do |
| 5428 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5429 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5465 |
fi |
fi |
| 5466 |
if test -z "$F77"; then |
if test -z "$F77"; then |
| 5467 |
ac_ct_F77=$F77 |
ac_ct_F77=$F77 |
| 5468 |
for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 |
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
| 5469 |
do |
do |
| 5470 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5471 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
| 5510 |
|
|
| 5511 |
|
|
| 5512 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 5513 |
echo "$as_me:5306:" \ |
echo "$as_me:5513:" \ |
| 5514 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
| 5515 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 5516 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 5528 |
ac_status=$? |
ac_status=$? |
| 5529 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5530 |
(exit $ac_status); } |
(exit $ac_status); } |
| 5531 |
|
rm -f a.out |
| 5532 |
|
|
| 5533 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
# If we don't use `.F' as extension, the preprocessor is not run on the |
| 5534 |
# input file. |
# input file. (Note that this only needs to work for GNU compilers.) |
| 5535 |
ac_save_ext=$ac_ext |
ac_save_ext=$ac_ext |
| 5536 |
ac_ext=F |
ac_ext=F |
| 5537 |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
| 5549 |
_ACEOF |
_ACEOF |
| 5550 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 5551 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5552 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 5553 |
ac_status=$? |
ac_status=$? |
| 5554 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5555 |
|
rm -f conftest.er1 |
| 5556 |
|
cat conftest.err >&5 |
| 5557 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5558 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 5559 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" |
| 5560 |
|
|| test ! -s conftest.err' |
| 5561 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5562 |
|
(eval $ac_try) 2>&5 |
| 5563 |
|
ac_status=$? |
| 5564 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5565 |
|
(exit $ac_status); }; } && |
| 5566 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 5567 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5568 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 5569 |
ac_status=$? |
ac_status=$? |
| 5576 |
|
|
| 5577 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
| 5578 |
fi |
fi |
| 5579 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5580 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
| 5581 |
|
|
| 5582 |
fi |
fi |
| 5583 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
| 5584 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
| 5585 |
ac_ext=$ac_save_ext |
ac_ext=$ac_save_ext |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
|
| 5586 |
ac_test_FFLAGS=${FFLAGS+set} |
ac_test_FFLAGS=${FFLAGS+set} |
| 5587 |
ac_save_FFLAGS=$FFLAGS |
ac_save_FFLAGS=$FFLAGS |
| 5588 |
FFLAGS= |
FFLAGS= |
| 5599 |
_ACEOF |
_ACEOF |
| 5600 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| 5601 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5602 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| 5603 |
ac_status=$? |
ac_status=$? |
| 5604 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5605 |
|
rm -f conftest.er1 |
| 5606 |
|
cat conftest.err >&5 |
| 5607 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5608 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 5609 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" |
| 5610 |
|
|| test ! -s conftest.err' |
| 5611 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5612 |
|
(eval $ac_try) 2>&5 |
| 5613 |
|
ac_status=$? |
| 5614 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5615 |
|
(exit $ac_status); }; } && |
| 5616 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 5617 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5618 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 5619 |
ac_status=$? |
ac_status=$? |
| 5626 |
|
|
| 5627 |
ac_cv_prog_f77_g=no |
ac_cv_prog_f77_g=no |
| 5628 |
fi |
fi |
| 5629 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5630 |
|
|
| 5631 |
fi |
fi |
| 5632 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
| 5634 |
if test "$ac_test_FFLAGS" = set; then |
if test "$ac_test_FFLAGS" = set; then |
| 5635 |
FFLAGS=$ac_save_FFLAGS |
FFLAGS=$ac_save_FFLAGS |
| 5636 |
elif test $ac_cv_prog_f77_g = yes; then |
elif test $ac_cv_prog_f77_g = yes; then |
| 5637 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
| 5638 |
FFLAGS="-g -O2" |
FFLAGS="-g -O2" |
| 5639 |
else |
else |
| 5640 |
FFLAGS="-g" |
FFLAGS="-g" |
| 5641 |
fi |
fi |
| 5642 |
else |
else |
| 5643 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
| 5644 |
FFLAGS="-O2" |
FFLAGS="-O2" |
| 5645 |
else |
else |
| 5646 |
FFLAGS= |
FFLAGS= |
| 5647 |
fi |
fi |
| 5648 |
fi |
fi |
| 5649 |
|
|
| 5650 |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
| 5651 |
ac_ext=c |
ac_ext=c |
| 5652 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 5653 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5665 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5666 |
else |
else |
| 5667 |
i=0 |
i=0 |
| 5668 |
testring="ABCD" |
teststring="ABCD" |
| 5669 |
|
|
| 5670 |
case $build_os in |
case $build_os in |
| 5671 |
msdosdjgpp*) |
msdosdjgpp*) |
| 5694 |
lt_cv_sys_max_cmd_len=8192; |
lt_cv_sys_max_cmd_len=8192; |
| 5695 |
;; |
;; |
| 5696 |
|
|
| 5697 |
*) |
amigaos*) |
| 5698 |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
| 5699 |
|
# So we just punt and use a minimum line length of 8192. |
| 5700 |
|
lt_cv_sys_max_cmd_len=8192; |
| 5701 |
|
;; |
| 5702 |
|
|
| 5703 |
|
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
| 5704 |
|
# This has been around since 386BSD, at least. Likely further. |
| 5705 |
|
if test -x /sbin/sysctl; then |
| 5706 |
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 5707 |
|
elif test -x /usr/sbin/sysctl; then |
| 5708 |
|
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
| 5709 |
|
else |
| 5710 |
|
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 5711 |
|
fi |
| 5712 |
|
# And add a safety zone |
| 5713 |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 5714 |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 5715 |
|
;; |
| 5716 |
|
osf*) |
| 5717 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 5718 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 5719 |
|
# nice to cause kernel panics so lets avoid the loop below. |
| 5720 |
|
# First set a reasonable default. |
| 5721 |
|
lt_cv_sys_max_cmd_len=16384 |
| 5722 |
|
# |
| 5723 |
|
if test -x /sbin/sysconfig; then |
| 5724 |
|
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
| 5725 |
|
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
| 5726 |
|
esac |
| 5727 |
|
fi |
| 5728 |
|
;; |
| 5729 |
|
*) |
| 5730 |
# If test is not a shell built-in, we'll probably end up computing a |
# If test is not a shell built-in, we'll probably end up computing a |
| 5731 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
| 5732 |
# we can't tell. |
# we can't tell. |
| 5733 |
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 5734 |
= "XX$testring") >/dev/null 2>&1 && |
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
| 5735 |
new_result=`expr "X$testring" : ".*" 2>&1` && |
= "XX$teststring") >/dev/null 2>&1 && |
| 5736 |
|
new_result=`expr "X$teststring" : ".*" 2>&1` && |
| 5737 |
lt_cv_sys_max_cmd_len=$new_result && |
lt_cv_sys_max_cmd_len=$new_result && |
| 5738 |
test $i != 17 # 1/2 MB should be enough |
test $i != 17 # 1/2 MB should be enough |
| 5739 |
do |
do |
| 5740 |
i=`expr $i + 1` |
i=`expr $i + 1` |
| 5741 |
testring=$testring$testring |
teststring=$teststring$teststring |
| 5742 |
done |
done |
| 5743 |
testring= |
teststring= |
| 5744 |
# Add a significant safety factor because C++ compilers can tack on massive |
# Add a significant safety factor because C++ compilers can tack on massive |
| 5745 |
# amounts of additional arguments before passing them to the linker. |
# amounts of additional arguments before passing them to the linker. |
| 5746 |
# It appears as though 1/2 is a usable value. |
# It appears as though 1/2 is a usable value. |
| 5777 |
# Regexp to match symbols that can be accessed directly from C. |
# Regexp to match symbols that can be accessed directly from C. |
| 5778 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
| 5779 |
|
|
|
# Transform the above into a raw symbol and a C symbol. |
|
|
symxfrm='\1 \2\3 \3' |
|
|
|
|
| 5780 |
# Transform an extracted symbol line into a proper C declaration |
# Transform an extracted symbol line into a proper C declaration |
| 5781 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
| 5782 |
|
|
| 5798 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 5799 |
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'" |
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'" |
| 5800 |
;; |
;; |
| 5801 |
|
linux*) |
| 5802 |
|
if test "$host_cpu" = ia64; then |
| 5803 |
|
symcode='[ABCDGIRSTW]' |
| 5804 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 5805 |
|
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'" |
| 5806 |
|
fi |
| 5807 |
|
;; |
| 5808 |
irix* | nonstopux*) |
irix* | nonstopux*) |
| 5809 |
symcode='[BCDEGRST]' |
symcode='[BCDEGRST]' |
| 5810 |
;; |
;; |
| 5836 |
# Try without a prefix undercore, then with it. |
# Try without a prefix undercore, then with it. |
| 5837 |
for ac_symprfx in "" "_"; do |
for ac_symprfx in "" "_"; do |
| 5838 |
|
|
| 5839 |
|
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 5840 |
|
symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 5841 |
|
|
| 5842 |
# Write the raw and C identifiers. |
# Write the raw and C identifiers. |
| 5843 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 5844 |
|
|
| 5845 |
# Check to see that the pipe works correctly. |
# Check to see that the pipe works correctly. |
| 5846 |
pipe_works=no |
pipe_works=no |
| 6002 |
|
|
| 6003 |
# Sed substitution that helps us do robust quoting. It backslashifies |
# Sed substitution that helps us do robust quoting. It backslashifies |
| 6004 |
# metacharacters that are still active within double-quoted strings. |
# metacharacters that are still active within double-quoted strings. |
| 6005 |
Xsed='sed -e s/^X//' |
Xsed='sed -e 1s/^X//' |
| 6006 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
| 6007 |
|
|
| 6008 |
# Same as above, but do not quote variable references. |
# Same as above, but do not quote variable references. |
| 6022 |
default_ofile=libtool |
default_ofile=libtool |
| 6023 |
can_build_shared=yes |
can_build_shared=yes |
| 6024 |
|
|
| 6025 |
# All known linkers require a `.a' archive for static linking (except M$VC, |
# All known linkers require a `.a' archive for static linking (except MSVC, |
| 6026 |
# which needs '.lib'). |
# which needs '.lib'). |
| 6027 |
libext=a |
libext=a |
| 6028 |
ltmain="$ac_aux_dir/ltmain.sh" |
ltmain="$ac_aux_dir/ltmain.sh" |
| 6307 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6308 |
fi |
fi |
| 6309 |
|
|
| 6310 |
|
for cc_temp in $compiler""; do |
| 6311 |
|
case $cc_temp in |
| 6312 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 6313 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 6314 |
|
\-*) ;; |
| 6315 |
|
*) break;; |
| 6316 |
|
esac |
| 6317 |
|
done |
| 6318 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
| 6319 |
|
|
| 6320 |
|
|
| 6321 |
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
| 6322 |
case $deplibs_check_method in |
case $deplibs_check_method in |
| 6323 |
file_magic*) |
file_magic*) |
| 6343 |
if test -n "$file_magic_test_file"; then |
if test -n "$file_magic_test_file"; then |
| 6344 |
case $deplibs_check_method in |
case $deplibs_check_method in |
| 6345 |
"file_magic "*) |
"file_magic "*) |
| 6346 |
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 6347 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 6348 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 6349 |
$EGREP "$file_magic_regex" > /dev/null; then |
$EGREP "$file_magic_regex" > /dev/null; then |
| 6405 |
if test -n "$file_magic_test_file"; then |
if test -n "$file_magic_test_file"; then |
| 6406 |
case $deplibs_check_method in |
case $deplibs_check_method in |
| 6407 |
"file_magic "*) |
"file_magic "*) |
| 6408 |
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 6409 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 6410 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 6411 |
$EGREP "$file_magic_regex" > /dev/null; then |
$EGREP "$file_magic_regex" > /dev/null; then |
| 6504 |
compiler=$CC |
compiler=$CC |
| 6505 |
|
|
| 6506 |
|
|
| 6507 |
|
# save warnings/boilerplate of simple test code |
| 6508 |
|
ac_outfile=conftest.$ac_objext |
| 6509 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 6510 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 6511 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
| 6512 |
|
$rm conftest* |
| 6513 |
|
|
| 6514 |
|
ac_outfile=conftest.$ac_objext |
| 6515 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 6516 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 6517 |
|
_lt_linker_boilerplate=`cat conftest.err` |
| 6518 |
|
$rm conftest* |
| 6519 |
|
|
| 6520 |
|
|
| 6521 |
# |
# |
| 6522 |
# Check for any special shared library compilation flags. |
# Check for any special shared library compilation flags. |
| 6523 |
# |
# |
| 6554 |
LDFLAGS="$LDFLAGS $lt_prog_compiler_static" |
LDFLAGS="$LDFLAGS $lt_prog_compiler_static" |
| 6555 |
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
| 6556 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 6557 |
# The compiler can only warn and ignore the option if not recognized |
# The linker can only warn and ignore the option if not recognized |
| 6558 |
# So say no if there are warnings |
# So say no if there are warnings |
| 6559 |
if test -s conftest.err; then |
if test -s conftest.err; then |
| 6560 |
# Append any errors to the config.log. |
# Append any errors to the config.log. |
| 6561 |
cat conftest.err 1>&5 |
cat conftest.err 1>&5 |
| 6562 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
| 6563 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
| 6564 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 6565 |
|
lt_prog_compiler_static_works=yes |
| 6566 |
|
fi |
| 6567 |
else |
else |
| 6568 |
lt_prog_compiler_static_works=yes |
lt_prog_compiler_static_works=yes |
| 6569 |
fi |
fi |
| 6583 |
|
|
| 6584 |
|
|
| 6585 |
|
|
| 6586 |
|
## CAVEAT EMPTOR: |
| 6587 |
|
## There is no encapsulation within the following macros, do not change |
| 6588 |
|
## the running order or otherwise move them around unless you know exactly |
| 6589 |
|
## what you are doing... |
| 6590 |
|
|
| 6591 |
lt_prog_compiler_no_builtin_flag= |
lt_prog_compiler_no_builtin_flag= |
| 6592 |
|
|
| 6593 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 6594 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
| 6595 |
|
|
| 6596 |
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
| 6597 |
|
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 6598 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
| 6599 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
| 6600 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6609 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 6610 |
# The option is referenced via a variable to avoid confusing sed. |
# The option is referenced via a variable to avoid confusing sed. |
| 6611 |
lt_compile=`echo "$ac_compile" | $SED \ |
lt_compile=`echo "$ac_compile" | $SED \ |
| 6612 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6613 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6614 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6615 |
(eval echo "\"\$as_me:6311: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6615: $lt_compile\"" >&5) |
| 6616 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6617 |
ac_status=$? |
ac_status=$? |
| 6618 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6619 |
echo "$as_me:6315: \$? = $ac_status" >&5 |
echo "$as_me:6619: \$? = $ac_status" >&5 |
| 6620 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6621 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6622 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
| 6623 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 6624 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
| 6625 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
| 6626 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
| 6627 |
fi |
fi |
| 6628 |
fi |
fi |
| 6699 |
hpux*) |
hpux*) |
| 6700 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 6701 |
# not for PA HP-UX. |
# not for PA HP-UX. |
| 6702 |
case "$host_cpu" in |
case $host_cpu in |
| 6703 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
| 6704 |
# +Z the default |
# +Z the default |
| 6705 |
;; |
;; |
| 6725 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 6726 |
fi |
fi |
| 6727 |
;; |
;; |
| 6728 |
|
darwin*) |
| 6729 |
|
# PIC is the default on this platform |
| 6730 |
|
# Common symbols not allowed in MH_DYLIB files |
| 6731 |
|
case $cc_basename in |
| 6732 |
|
xlc*) |
| 6733 |
|
lt_prog_compiler_pic='-qnocommon' |
| 6734 |
|
lt_prog_compiler_wl='-Wl,' |
| 6735 |
|
;; |
| 6736 |
|
esac |
| 6737 |
|
;; |
| 6738 |
|
|
| 6739 |
mingw* | pw32* | os2*) |
mingw* | pw32* | os2*) |
| 6740 |
# This hack is so that the source file can tell whether it is being |
# This hack is so that the source file can tell whether it is being |
| 6746 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 6747 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 6748 |
# not for PA HP-UX. |
# not for PA HP-UX. |
| 6749 |
case "$host_cpu" in |
case $host_cpu in |
| 6750 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
| 6751 |
# +Z the default |
# +Z the default |
| 6752 |
;; |
;; |
| 6770 |
;; |
;; |
| 6771 |
|
|
| 6772 |
linux*) |
linux*) |
| 6773 |
case $CC in |
case $cc_basename in |
| 6774 |
icc|ecc) |
icc* | ecc*) |
| 6775 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 6776 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
| 6777 |
lt_prog_compiler_static='-static' |
lt_prog_compiler_static='-static' |
| 6778 |
;; |
;; |
| 6779 |
ccc) |
pgcc* | pgf77* | pgf90* | pgf95*) |
| 6780 |
lt_prog_compiler_wl='-Wl,' |
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 6781 |
# All Alpha code is PIC. |
# which looks to be a dead project) |
|
lt_prog_compiler_static='-non_shared' |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
|
|
|
freebsd*) |
|
|
case $CC in |
|
|
icc|ecc) |
|
| 6782 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 6783 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-fpic' |
| 6784 |
lt_prog_compiler_static='-static' |
lt_prog_compiler_static='-Bstatic' |
| 6785 |
;; |
;; |
| 6786 |
ccc) |
ccc*) |
| 6787 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 6788 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
| 6789 |
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-non_shared' |
| 6803 |
;; |
;; |
| 6804 |
|
|
| 6805 |
solaris*) |
solaris*) |
|
lt_prog_compiler_wl='-Wl,' |
|
| 6806 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
| 6807 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
| 6808 |
|
case $cc_basename in |
| 6809 |
|
f77* | f90* | f95*) |
| 6810 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
| 6811 |
|
*) |
| 6812 |
|
lt_prog_compiler_wl='-Wl,';; |
| 6813 |
|
esac |
| 6814 |
;; |
;; |
| 6815 |
|
|
| 6816 |
sunos4*) |
sunos4*) |
| 6832 |
fi |
fi |
| 6833 |
;; |
;; |
| 6834 |
|
|
| 6835 |
|
unicos*) |
| 6836 |
|
lt_prog_compiler_wl='-Wl,' |
| 6837 |
|
lt_prog_compiler_can_build_shared=no |
| 6838 |
|
;; |
| 6839 |
|
|
| 6840 |
uts4*) |
uts4*) |
| 6841 |
lt_prog_compiler_pic='-pic' |
lt_prog_compiler_pic='-pic' |
| 6842 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
| 6855 |
# Check to make sure the PIC flag actually works. |
# Check to make sure the PIC flag actually works. |
| 6856 |
# |
# |
| 6857 |
if test -n "$lt_prog_compiler_pic"; then |
if test -n "$lt_prog_compiler_pic"; then |
| 6858 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
|
| 6859 |
|
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 6860 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 |
| 6861 |
if test "${lt_prog_compiler_pic_works+set}" = set; then |
if test "${lt_prog_compiler_pic_works+set}" = set; then |
| 6862 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6871 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 6872 |
# The option is referenced via a variable to avoid confusing sed. |
# The option is referenced via a variable to avoid confusing sed. |
| 6873 |
lt_compile=`echo "$ac_compile" | $SED \ |
lt_compile=`echo "$ac_compile" | $SED \ |
| 6874 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6875 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6876 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6877 |
(eval echo "\"\$as_me:6558: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6877: $lt_compile\"" >&5) |
| 6878 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6879 |
ac_status=$? |
ac_status=$? |
| 6880 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6881 |
echo "$as_me:6562: \$? = $ac_status" >&5 |
echo "$as_me:6881: \$? = $ac_status" >&5 |
| 6882 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6883 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6884 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
| 6885 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 6886 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
| 6887 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
| 6888 |
lt_prog_compiler_pic_works=yes |
lt_prog_compiler_pic_works=yes |
| 6889 |
fi |
fi |
| 6890 |
fi |
fi |
| 6905 |
fi |
fi |
| 6906 |
|
|
| 6907 |
fi |
fi |
| 6908 |
case "$host_os" in |
case $host_os in |
| 6909 |
# For platforms which do not support PIC, -DPIC is meaningless: |
# For platforms which do not support PIC, -DPIC is meaningless: |
| 6910 |
*djgpp*) |
*djgpp*) |
| 6911 |
lt_prog_compiler_pic= |
lt_prog_compiler_pic= |
| 6927 |
mkdir out |
mkdir out |
| 6928 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 6929 |
|
|
|
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
# that will create temporary files in the current directory regardless of |
|
|
# the output directory. Thus, making CWD read-only will cause this test |
|
|
# to fail, enabling locking or at least warning the user not to do parallel |
|
|
# builds. |
|
|
chmod -w . |
|
|
|
|
| 6930 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 6931 |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
| 6932 |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
| 6933 |
# Note that $ac_compile itself does not contain backslashes and begins |
# Note that $ac_compile itself does not contain backslashes and begins |
| 6934 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 6935 |
lt_compile=`echo "$ac_compile" | $SED \ |
lt_compile=`echo "$ac_compile" | $SED \ |
| 6936 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6937 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6938 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6939 |
(eval echo "\"\$as_me:6625: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6939: $lt_compile\"" >&5) |
| 6940 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 6941 |
ac_status=$? |
ac_status=$? |
| 6942 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 6943 |
echo "$as_me:6629: \$? = $ac_status" >&5 |
echo "$as_me:6943: \$? = $ac_status" >&5 |
| 6944 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 6945 |
then |
then |
| 6946 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6947 |
# So say no if there are warnings |
# So say no if there are warnings |
| 6948 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
| 6949 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
| 6950 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 6951 |
lt_cv_prog_compiler_c_o=yes |
lt_cv_prog_compiler_c_o=yes |
| 6952 |
fi |
fi |
| 6953 |
fi |
fi |
| 6954 |
chmod u+w . |
chmod u+w . 2>&5 |
| 6955 |
$rm conftest* out/* |
$rm conftest* |
| 6956 |
rmdir out |
# SGI C++ compiler will create directory out/ii_files/ for |
| 6957 |
|
# template instantiation |
| 6958 |
|
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
| 6959 |
|
$rm out/* && rmdir out |
| 6960 |
cd .. |
cd .. |
| 6961 |
rmdir conftest |
rmdir conftest |
| 6962 |
$rm conftest* |
$rm conftest* |
| 7027 |
# rely on this symbol name, it's probably fine to never include it in |
# rely on this symbol name, it's probably fine to never include it in |
| 7028 |
# preloaded symbol tables. |
# preloaded symbol tables. |
| 7029 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
| 7030 |
|
# Just being paranoid about ensuring that cc_basename is set. |
| 7031 |
|
for cc_temp in $compiler""; do |
| 7032 |
|
case $cc_temp in |
| 7033 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 7034 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 7035 |
|
\-*) ;; |
| 7036 |
|
*) break;; |
| 7037 |
|
esac |
| 7038 |
|
done |
| 7039 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
| 7040 |
|
|
| 7041 |
case $host_os in |
case $host_os in |
| 7042 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
| 7057 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
| 7058 |
wlarc='${wl}' |
wlarc='${wl}' |
| 7059 |
|
|
| 7060 |
|
# Set some defaults for GNU ld with shared library support. These |
| 7061 |
|
# are reset later if shared libraries are not supported. Putting them |
| 7062 |
|
# here allows them to be overridden if necessary. |
| 7063 |
|
runpath_var=LD_RUN_PATH |
| 7064 |
|
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
| 7065 |
|
export_dynamic_flag_spec='${wl}--export-dynamic' |
| 7066 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
| 7067 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
| 7068 |
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
| 7069 |
|
else |
| 7070 |
|
whole_archive_flag_spec= |
| 7071 |
|
fi |
| 7072 |
|
supports_anon_versioning=no |
| 7073 |
|
case `$LD -v 2>/dev/null` in |
| 7074 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 7075 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 7076 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 7077 |
|
*\ 2.11.*) ;; # other 2.11 versions |
| 7078 |
|
*) supports_anon_versioning=yes ;; |
| 7079 |
|
esac |
| 7080 |
|
|
| 7081 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
| 7082 |
case $host_os in |
case $host_os in |
| 7083 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
| 7128 |
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
| 7129 |
always_export_symbols=no |
always_export_symbols=no |
| 7130 |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
| 7131 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
| 7132 |
|
|
| 7133 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 7134 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
| 7146 |
fi |
fi |
| 7147 |
;; |
;; |
| 7148 |
|
|
| 7149 |
|
linux*) |
| 7150 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 7151 |
|
tmp_addflag= |
| 7152 |
|
case $cc_basename,$host_cpu in |
| 7153 |
|
pgcc*) # Portland Group C compiler |
| 7154 |
|
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' |
| 7155 |
|
tmp_addflag=' $pic_flag' |
| 7156 |
|
;; |
| 7157 |
|
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
| 7158 |
|
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' |
| 7159 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
| 7160 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 7161 |
|
tmp_addflag=' -i_dynamic' ;; |
| 7162 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 7163 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 7164 |
|
ifc* | ifort*) # Intel Fortran compiler |
| 7165 |
|
tmp_addflag=' -nofor_main' ;; |
| 7166 |
|
esac |
| 7167 |
|
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 7168 |
|
|
| 7169 |
|
if test $supports_anon_versioning = yes; then |
| 7170 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
| 7171 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 7172 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 7173 |
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
| 7174 |
|
fi |
| 7175 |
|
else |
| 7176 |
|
ld_shlibs=no |
| 7177 |
|
fi |
| 7178 |
|
;; |
| 7179 |
|
|
| 7180 |
netbsd*) |
netbsd*) |
| 7181 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
| 7182 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 7215 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7216 |
;; |
;; |
| 7217 |
|
|
|
linux*) |
|
|
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
|
|
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
archive_cmds="$tmp_archive_cmds" |
|
|
supports_anon_versioning=no |
|
|
case `$LD -v 2>/dev/null` in |
|
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
*\ 2.11.*) ;; # other 2.11 versions |
|
|
*) supports_anon_versioning=yes ;; |
|
|
esac |
|
|
if test $supports_anon_versioning = yes; then |
|
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
else |
|
|
archive_expsym_cmds="$tmp_archive_cmds" |
|
|
fi |
|
|
else |
|
|
ld_shlibs=no |
|
|
fi |
|
|
;; |
|
|
|
|
| 7218 |
*) |
*) |
| 7219 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 7220 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 7225 |
;; |
;; |
| 7226 |
esac |
esac |
| 7227 |
|
|
| 7228 |
if test "$ld_shlibs" = yes; then |
if test "$ld_shlibs" = no; then |
| 7229 |
runpath_var=LD_RUN_PATH |
runpath_var= |
| 7230 |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec= |
| 7231 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
export_dynamic_flag_spec= |
| 7232 |
# ancient GNU ld didn't support --whole-archive et. al. |
whole_archive_flag_spec= |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
else |
|
|
whole_archive_flag_spec= |
|
|
fi |
|
| 7233 |
fi |
fi |
| 7234 |
else |
else |
| 7235 |
# PORTME fill in a description of your system's linker (not GNU ld) |
# PORTME fill in a description of your system's linker (not GNU ld) |
| 7293 |
link_all_deplibs=yes |
link_all_deplibs=yes |
| 7294 |
|
|
| 7295 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 7296 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
| 7297 |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
| 7298 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
| 7299 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
| 7314 |
fi |
fi |
| 7315 |
esac |
esac |
| 7316 |
shared_flag='-shared' |
shared_flag='-shared' |
| 7317 |
|
if test "$aix_use_runtimelinking" = yes; then |
| 7318 |
|
shared_flag="$shared_flag "'${wl}-G' |
| 7319 |
|
fi |
| 7320 |
else |
else |
| 7321 |
# not using gcc |
# not using gcc |
| 7322 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 7341 |
allow_undefined_flag='-berok' |
allow_undefined_flag='-berok' |
| 7342 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 7343 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 7344 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 7345 |
_ACEOF |
_ACEOF |
| 7346 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 7357 |
_ACEOF |
_ACEOF |
| 7358 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7359 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7360 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 7361 |
ac_status=$? |
ac_status=$? |
| 7362 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7363 |
|
rm -f conftest.er1 |
| 7364 |
|
cat conftest.err >&5 |
| 7365 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7366 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 7367 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7368 |
|
|| test ! -s conftest.err' |
| 7369 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7370 |
|
(eval $ac_try) 2>&5 |
| 7371 |
|
ac_status=$? |
| 7372 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7373 |
|
(exit $ac_status); }; } && |
| 7374 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 7375 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7376 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 7377 |
ac_status=$? |
ac_status=$? |
| 7388 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7389 |
|
|
| 7390 |
fi |
fi |
| 7391 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 7392 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7393 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 7394 |
|
|
| 7395 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 7402 |
else |
else |
| 7403 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 7404 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 7405 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 7406 |
_ACEOF |
_ACEOF |
| 7407 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 7418 |
_ACEOF |
_ACEOF |
| 7419 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7420 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7421 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 7422 |
ac_status=$? |
ac_status=$? |
| 7423 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7424 |
|
rm -f conftest.er1 |
| 7425 |
|
cat conftest.err >&5 |
| 7426 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7427 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 7428 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7429 |
|
|| test ! -s conftest.err' |
| 7430 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7431 |
|
(eval $ac_try) 2>&5 |
| 7432 |
|
ac_status=$? |
| 7433 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7434 |
|
(exit $ac_status); }; } && |
| 7435 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 7436 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7437 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 7438 |
ac_status=$? |
ac_status=$? |
| 7449 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7450 |
|
|
| 7451 |
fi |
fi |
| 7452 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 7453 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7454 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 7455 |
|
|
| 7456 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 7463 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 7464 |
whole_archive_flag_spec=' ' |
whole_archive_flag_spec=' ' |
| 7465 |
archive_cmds_need_lc=yes |
archive_cmds_need_lc=yes |
| 7466 |
# This is similar to how AIX traditionally builds it's shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 7467 |
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' |
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' |
| 7468 |
fi |
fi |
| 7469 |
fi |
fi |
| 7477 |
ld_shlibs=no |
ld_shlibs=no |
| 7478 |
;; |
;; |
| 7479 |
|
|
| 7480 |
bsdi4*) |
bsdi[45]*) |
| 7481 |
export_dynamic_flag_spec=-rdynamic |
export_dynamic_flag_spec=-rdynamic |
| 7482 |
;; |
;; |
| 7483 |
|
|
| 7491 |
# Tell ltmain to make .lib files, not .a files. |
# Tell ltmain to make .lib files, not .a files. |
| 7492 |
libext=lib |
libext=lib |
| 7493 |
# Tell ltmain to make .dll files, not .so files. |
# Tell ltmain to make .dll files, not .so files. |
| 7494 |
shrext=".dll" |
shrext_cmds=".dll" |
| 7495 |
# FIXME: Setting linknames here is a bad hack. |
# FIXME: Setting linknames here is a bad hack. |
| 7496 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 7497 |
# The linker will automatically build a .lib file if we build a DLL. |
# The linker will automatically build a .lib file if we build a DLL. |
| 7503 |
;; |
;; |
| 7504 |
|
|
| 7505 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
| 7506 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
case $host_os in |
| 7507 |
archive_cmds_need_lc=no |
rhapsody* | darwin1.[012]) |
| 7508 |
case "$host_os" in |
allow_undefined_flag='${wl}-undefined ${wl}suppress' |
| 7509 |
rhapsody* | darwin1.[012]) |
;; |
| 7510 |
allow_undefined_flag='-undefined suppress' |
*) # Darwin 1.3 on |
| 7511 |
;; |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
| 7512 |
*) # Darwin 1.3 on |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
| 7513 |
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' |
else |
| 7514 |
;; |
case ${MACOSX_DEPLOYMENT_TARGET} in |
| 7515 |
|
10.[012]) |
| 7516 |
|
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
| 7517 |
|
;; |
| 7518 |
|
10.*) |
| 7519 |
|
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' |
| 7520 |
|
;; |
| 7521 |
|
esac |
| 7522 |
|
fi |
| 7523 |
|
;; |
| 7524 |
esac |
esac |
| 7525 |
# FIXME: Relying on posixy $() will cause problems for |
archive_cmds_need_lc=no |
|
# cross-compilation, but unfortunately the echo tests do not |
|
|
# yet detect zsh echo's removal of \ escapes. Also zsh mangles |
|
|
# `"' quotes if we put them in here... so don't! |
|
|
lt_int_apple_cc_single_mod=no |
|
|
output_verbose_link_cmd='echo' |
|
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
lt_int_apple_cc_single_mod=yes |
|
|
fi |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
else |
|
|
archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
fi |
|
|
module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
else |
|
|
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
fi |
|
|
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
| 7526 |
hardcode_direct=no |
hardcode_direct=no |
| 7527 |
hardcode_automatic=yes |
hardcode_automatic=yes |
| 7528 |
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
| 7529 |
whole_archive_flag_spec='-all_load $convenience' |
whole_archive_flag_spec='' |
| 7530 |
link_all_deplibs=yes |
link_all_deplibs=yes |
| 7531 |
|
if test "$GCC" = yes ; then |
| 7532 |
|
output_verbose_link_cmd='echo' |
| 7533 |
|
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
| 7534 |
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
| 7535 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
| 7536 |
|
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}' |
| 7537 |
|
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}' |
| 7538 |
|
else |
| 7539 |
|
case $cc_basename in |
| 7540 |
|
xlc*) |
| 7541 |
|
output_verbose_link_cmd='echo' |
| 7542 |
|
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
| 7543 |
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
| 7544 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
| 7545 |
|
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}' |
| 7546 |
|
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}' |
| 7547 |
|
;; |
| 7548 |
|
*) |
| 7549 |
|
ld_shlibs=no |
| 7550 |
|
;; |
| 7551 |
|
esac |
| 7552 |
fi |
fi |
| 7553 |
;; |
;; |
| 7554 |
|
|
| 7582 |
;; |
;; |
| 7583 |
|
|
| 7584 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 7585 |
freebsd*) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
| 7586 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
| 7587 |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
| 7588 |
hardcode_direct=yes |
hardcode_direct=yes |
| 7607 |
|
|
| 7608 |
hpux10* | hpux11*) |
hpux10* | hpux11*) |
| 7609 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 7610 |
case "$host_cpu" in |
case $host_cpu in |
| 7611 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
| 7612 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7613 |
;; |
;; |
| 7616 |
;; |
;; |
| 7617 |
esac |
esac |
| 7618 |
else |
else |
| 7619 |
case "$host_cpu" in |
case $host_cpu in |
| 7620 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
| 7621 |
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 7622 |
;; |
;; |
| 7626 |
esac |
esac |
| 7627 |
fi |
fi |
| 7628 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
| 7629 |
case "$host_cpu" in |
case $host_cpu in |
| 7630 |
hppa*64*) |
hppa*64*) |
| 7631 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 7632 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
hardcode_libdir_flag_spec_ld='+b $libdir' |
| 7693 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7694 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 7695 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 7696 |
|
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
| 7697 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 7698 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
| 7699 |
else |
else |
| 7739 |
allow_undefined_flag=' -expect_unresolved \*' |
allow_undefined_flag=' -expect_unresolved \*' |
| 7740 |
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' |
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' |
| 7741 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
| 7742 |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
$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' |
| 7743 |
|
|
| 7744 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
| 7745 |
hardcode_libdir_flag_spec='-rpath $libdir' |
hardcode_libdir_flag_spec='-rpath $libdir' |
| 7758 |
solaris*) |
solaris*) |
| 7759 |
no_undefined_flag=' -z text' |
no_undefined_flag=' -z text' |
| 7760 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 7761 |
|
wlarc='${wl}' |
| 7762 |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7763 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
| 7764 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
| 7765 |
else |
else |
| 7766 |
|
wlarc='' |
| 7767 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 7768 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
| 7769 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
| 7772 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7773 |
case $host_os in |
case $host_os in |
| 7774 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 7775 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
| 7776 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine linker options so we |
| 7777 |
|
# cannot just pass the convience library names through |
| 7778 |
|
# without $wl, iff we do not link with $LD. |
| 7779 |
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
| 7780 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
| 7781 |
|
case $wlarc in |
| 7782 |
|
'') |
| 7783 |
|
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
| 7784 |
|
*) |
| 7785 |
|
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' ;; |
| 7786 |
|
esac ;; |
| 7787 |
esac |
esac |
| 7788 |
link_all_deplibs=yes |
link_all_deplibs=yes |
| 7789 |
;; |
;; |
| 7955 |
;; |
;; |
| 7956 |
esac |
esac |
| 7957 |
|
|
|
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
|
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
|
|
hardcode_action= |
|
|
if test -n "$hardcode_libdir_flag_spec" || \ |
|
|
test -n "$runpath_var " || \ |
|
|
test "X$hardcode_automatic"="Xyes" ; then |
|
|
|
|
|
# We can hardcode non-existant directories. |
|
|
if test "$hardcode_direct" != no && |
|
|
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
|
# have to relink, otherwise we might link with an installed library |
|
|
# when we should be linking with a yet-to-be-installed one |
|
|
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
|
test "$hardcode_minus_L" != no; then |
|
|
# Linking always hardcodes the temporary library directory. |
|
|
hardcode_action=relink |
|
|
else |
|
|
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
|
hardcode_action=immediate |
|
|
fi |
|
|
else |
|
|
# We cannot hardcode anything, or else we can only hardcode existing |
|
|
# directories. |
|
|
hardcode_action=unsupported |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
|
|
echo "${ECHO_T}$hardcode_action" >&6 |
|
|
|
|
|
if test "$hardcode_action" = relink; then |
|
|
# Fast installation is not supported |
|
|
enable_fast_install=no |
|
|
elif test "$shlibpath_overrides_runpath" = yes || |
|
|
test "$enable_shared" = no; then |
|
|
# Fast installation is not necessary |
|
|
enable_fast_install=needless |
|
|
fi |
|
|
|
|
|
striplib= |
|
|
old_striplib= |
|
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
# FIXME - insert some real tests, host_os isn't really good enough |
|
|
case $host_os in |
|
|
darwin*) |
|
|
if test -n "$STRIP" ; then |
|
|
striplib="$STRIP -x" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
;; |
|
|
*) |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
|
|
| 7958 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
| 7959 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
| 7960 |
library_names_spec= |
library_names_spec= |
| 7961 |
libname_spec='lib$name' |
libname_spec='lib$name' |
| 7962 |
soname_spec= |
soname_spec= |
| 7963 |
shrext=".so" |
shrext_cmds=".so" |
| 7964 |
postinstall_cmds= |
postinstall_cmds= |
| 7965 |
postuninstall_cmds= |
postuninstall_cmds= |
| 7966 |
finish_cmds= |
finish_cmds= |
| 8048 |
amigaos*) |
amigaos*) |
| 8049 |
library_names_spec='$libname.ixlibrary $libname.a' |
library_names_spec='$libname.ixlibrary $libname.a' |
| 8050 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 8051 |
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' |
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' |
| 8052 |
;; |
;; |
| 8053 |
|
|
| 8054 |
beos*) |
beos*) |
| 8057 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
| 8058 |
;; |
;; |
| 8059 |
|
|
| 8060 |
bsdi4*) |
bsdi[45]*) |
| 8061 |
version_type=linux |
version_type=linux |
| 8062 |
need_version=no |
need_version=no |
| 8063 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 8073 |
|
|
| 8074 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
| 8075 |
version_type=windows |
version_type=windows |
| 8076 |
shrext=".dll" |
shrext_cmds=".dll" |
| 8077 |
need_version=no |
need_version=no |
| 8078 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8079 |
|
|
| 8085 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
| 8086 |
dldir=$destdir/`dirname \$dlpath`~ |
dldir=$destdir/`dirname \$dlpath`~ |
| 8087 |
test -d \$dldir || mkdir -p \$dldir~ |
test -d \$dldir || mkdir -p \$dldir~ |
| 8088 |
$install_prog $dir/$dlname \$dldir/$dlname' |
$install_prog $dir/$dlname \$dldir/$dlname~ |
| 8089 |
|
chmod a+x \$dldir/$dlname' |
| 8090 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 8091 |
dlpath=$dir/\$dldll~ |
dlpath=$dir/\$dldll~ |
| 8092 |
$rm \$dlpath' |
$rm \$dlpath' |
| 8096 |
cygwin*) |
cygwin*) |
| 8097 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 8098 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 8099 |
sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
| 8100 |
;; |
;; |
| 8101 |
mingw*) |
mingw*) |
| 8102 |
# MinGW DLLs use traditional 'lib' prefix |
# MinGW DLLs use traditional 'lib' prefix |
| 8116 |
;; |
;; |
| 8117 |
pw32*) |
pw32*) |
| 8118 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
| 8119 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 8120 |
;; |
;; |
| 8121 |
esac |
esac |
| 8122 |
;; |
;; |
| 8135 |
version_type=darwin |
version_type=darwin |
| 8136 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8137 |
need_version=no |
need_version=no |
|
# FIXME: Relying on posixy $() will cause problems for |
|
|
# cross-compilation, but unfortunately the echo tests do not |
|
|
# yet detect zsh echo's removal of \ escapes. |
|
| 8138 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
| 8139 |
soname_spec='${libname}${release}${major}$shared_ext' |
soname_spec='${libname}${release}${major}$shared_ext' |
| 8140 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 8141 |
shlibpath_var=DYLD_LIBRARY_PATH |
shlibpath_var=DYLD_LIBRARY_PATH |
| 8142 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 8143 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
| 8144 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
if test "$GCC" = yes; then |
| 8145 |
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"` |
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"` |
| 8146 |
|
else |
| 8147 |
|
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
| 8148 |
fi |
fi |
| 8149 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 8150 |
;; |
;; |
| 8162 |
dynamic_linker=no |
dynamic_linker=no |
| 8163 |
;; |
;; |
| 8164 |
|
|
| 8165 |
freebsd*) |
kfreebsd*-gnu) |
| 8166 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
version_type=linux |
| 8167 |
|
need_lib_prefix=no |
| 8168 |
|
need_version=no |
| 8169 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 8170 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 8171 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 8172 |
|
shlibpath_overrides_runpath=no |
| 8173 |
|
hardcode_into_libs=yes |
| 8174 |
|
dynamic_linker='GNU ld.so' |
| 8175 |
|
;; |
| 8176 |
|
|
| 8177 |
|
freebsd* | dragonfly*) |
| 8178 |
|
# DragonFly does not have aout. When/if they implement a new |
| 8179 |
|
# versioning mechanism, adjust this. |
| 8180 |
|
if test -x /usr/bin/objformat; then |
| 8181 |
|
objformat=`/usr/bin/objformat` |
| 8182 |
|
else |
| 8183 |
|
case $host_os in |
| 8184 |
|
freebsd[123]*) objformat=aout ;; |
| 8185 |
|
*) objformat=elf ;; |
| 8186 |
|
esac |
| 8187 |
|
fi |
| 8188 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
| 8189 |
case $version_type in |
case $version_type in |
| 8190 |
freebsd-elf*) |
freebsd-elf*) |
| 8202 |
freebsd2*) |
freebsd2*) |
| 8203 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 8204 |
;; |
;; |
| 8205 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
| 8206 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 8207 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8208 |
;; |
;; |
| 8229 |
version_type=sunos |
version_type=sunos |
| 8230 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8231 |
need_version=no |
need_version=no |
| 8232 |
case "$host_cpu" in |
case $host_cpu in |
| 8233 |
ia64*) |
ia64*) |
| 8234 |
shrext='.so' |
shrext_cmds='.so' |
| 8235 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8236 |
dynamic_linker="$host_os dld.so" |
dynamic_linker="$host_os dld.so" |
| 8237 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| 8246 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 8247 |
;; |
;; |
| 8248 |
hppa*64*) |
hppa*64*) |
| 8249 |
shrext='.sl' |
shrext_cmds='.sl' |
| 8250 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8251 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
| 8252 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 8257 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 8258 |
;; |
;; |
| 8259 |
*) |
*) |
| 8260 |
shrext='.sl' |
shrext_cmds='.sl' |
| 8261 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
| 8262 |
shlibpath_var=SHLIB_PATH |
shlibpath_var=SHLIB_PATH |
| 8263 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 8326 |
# before this can be enabled. |
# before this can be enabled. |
| 8327 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8328 |
|
|
| 8329 |
|
# Append ld.so.conf contents to the search path |
| 8330 |
|
if test -f /etc/ld.so.conf; then |
| 8331 |
|
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' ' '` |
| 8332 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 8333 |
|
fi |
| 8334 |
|
|
| 8335 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
| 8336 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
| 8337 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
| 8339 |
# people can always --disable-shared, the test was removed, and we |
# people can always --disable-shared, the test was removed, and we |
| 8340 |
# assume the GNU/Linux dynamic linker is in use. |
# assume the GNU/Linux dynamic linker is in use. |
| 8341 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
| 8342 |
|
;; |
| 8343 |
|
|
| 8344 |
# Find out which ABI we are using (multilib Linux x86_64 hack). |
knetbsd*-gnu) |
| 8345 |
libsuff= |
version_type=linux |
| 8346 |
case "$host_cpu" in |
need_lib_prefix=no |
| 8347 |
x86_64*|s390x*|powerpc64*) |
need_version=no |
| 8348 |
echo '#line 7990 "configure"' > conftest.$ac_ext |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 8349 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
soname_spec='${libname}${release}${shared_ext}$major' |
| 8350 |
(eval $ac_compile) 2>&5 |
shlibpath_var=LD_LIBRARY_PATH |
| 8351 |
ac_status=$? |
shlibpath_overrides_runpath=no |
| 8352 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
hardcode_into_libs=yes |
| 8353 |
(exit $ac_status); }; then |
dynamic_linker='GNU ld.so' |
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
*) |
|
|
;; |
|
|
esac |
|
|
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
| 8354 |
;; |
;; |
| 8355 |
|
|
| 8356 |
netbsd*) |
netbsd*) |
| 8362 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 8363 |
dynamic_linker='NetBSD (a.out) ld.so' |
dynamic_linker='NetBSD (a.out) ld.so' |
| 8364 |
else |
else |
| 8365 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 8366 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 8367 |
dynamic_linker='NetBSD ld.elf_so' |
dynamic_linker='NetBSD ld.elf_so' |
| 8368 |
fi |
fi |
| 8378 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 8379 |
;; |
;; |
| 8380 |
|
|
| 8381 |
nto-qnx) |
nto-qnx*) |
| 8382 |
version_type=linux |
version_type=linux |
| 8383 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8384 |
need_version=no |
need_version=no |
| 8391 |
openbsd*) |
openbsd*) |
| 8392 |
version_type=sunos |
version_type=sunos |
| 8393 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8394 |
need_version=no |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 8395 |
|
case $host_os in |
| 8396 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
| 8397 |
|
*) need_version=no ;; |
| 8398 |
|
esac |
| 8399 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 8400 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 8401 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| 8415 |
|
|
| 8416 |
os2*) |
os2*) |
| 8417 |
libname_spec='$name' |
libname_spec='$name' |
| 8418 |
shrext=".dll" |
shrext_cmds=".dll" |
| 8419 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8420 |
library_names_spec='$libname${shared_ext} $libname.a' |
library_names_spec='$libname${shared_ext} $libname.a' |
| 8421 |
dynamic_linker='OS/2 ld.exe' |
dynamic_linker='OS/2 ld.exe' |
| 8513 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 8514 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 8515 |
|
|
| 8516 |
|
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
| 8517 |
|
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
| 8518 |
|
hardcode_action= |
| 8519 |
|
if test -n "$hardcode_libdir_flag_spec" || \ |
| 8520 |
|
test -n "$runpath_var" || \ |
| 8521 |
|
test "X$hardcode_automatic" = "Xyes" ; then |
| 8522 |
|
|
| 8523 |
|
# We can hardcode non-existant directories. |
| 8524 |
|
if test "$hardcode_direct" != no && |
| 8525 |
|
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 8526 |
|
# have to relink, otherwise we might link with an installed library |
| 8527 |
|
# when we should be linking with a yet-to-be-installed one |
| 8528 |
|
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && |
| 8529 |
|
test "$hardcode_minus_L" != no; then |
| 8530 |
|
# Linking always hardcodes the temporary library directory. |
| 8531 |
|
hardcode_action=relink |
| 8532 |
|
else |
| 8533 |
|
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 8534 |
|
hardcode_action=immediate |
| 8535 |
|
fi |
| 8536 |
|
else |
| 8537 |
|
# We cannot hardcode anything, or else we can only hardcode existing |
| 8538 |
|
# directories. |
| 8539 |
|
hardcode_action=unsupported |
| 8540 |
|
fi |
| 8541 |
|
echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
| 8542 |
|
echo "${ECHO_T}$hardcode_action" >&6 |
| 8543 |
|
|
| 8544 |
|
if test "$hardcode_action" = relink; then |
| 8545 |
|
# Fast installation is not supported |
| 8546 |
|
enable_fast_install=no |
| 8547 |
|
elif test "$shlibpath_overrides_runpath" = yes || |
| 8548 |
|
test "$enable_shared" = no; then |
| 8549 |
|
# Fast installation is not necessary |
| 8550 |
|
enable_fast_install=needless |
| 8551 |
|
fi |
| 8552 |
|
|
| 8553 |
|
striplib= |
| 8554 |
|
old_striplib= |
| 8555 |
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
| 8556 |
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
| 8557 |
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
| 8558 |
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 8559 |
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 8560 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 8561 |
|
echo "${ECHO_T}yes" >&6 |
| 8562 |
|
else |
| 8563 |
|
# FIXME - insert some real tests, host_os isn't really good enough |
| 8564 |
|
case $host_os in |
| 8565 |
|
darwin*) |
| 8566 |
|
if test -n "$STRIP" ; then |
| 8567 |
|
striplib="$STRIP -x" |
| 8568 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 8569 |
|
echo "${ECHO_T}yes" >&6 |
| 8570 |
|
else |
| 8571 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 8572 |
|
echo "${ECHO_T}no" >&6 |
| 8573 |
|
fi |
| 8574 |
|
;; |
| 8575 |
|
*) |
| 8576 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 8577 |
|
echo "${ECHO_T}no" >&6 |
| 8578 |
|
;; |
| 8579 |
|
esac |
| 8580 |
|
fi |
| 8581 |
|
|
| 8582 |
if test "x$enable_dlopen" != xyes; then |
if test "x$enable_dlopen" != xyes; then |
| 8583 |
enable_dlopen=unknown |
enable_dlopen=unknown |
| 8584 |
enable_dlopen_self=unknown |
enable_dlopen_self=unknown |
| 8614 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| 8615 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
| 8616 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 8617 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 8618 |
_ACEOF |
_ACEOF |
| 8619 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 8637 |
_ACEOF |
_ACEOF |
| 8638 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8639 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8640 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 8641 |
ac_status=$? |
ac_status=$? |
| 8642 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8643 |
|
rm -f conftest.er1 |
| 8644 |
|
cat conftest.err >&5 |
| 8645 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8646 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 8647 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8648 |
|
|| test ! -s conftest.err' |
| 8649 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8650 |
|
(eval $ac_try) 2>&5 |
| 8651 |
|
ac_status=$? |
| 8652 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8653 |
|
(exit $ac_status); }; } && |
| 8654 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 8655 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8656 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 8657 |
ac_status=$? |
ac_status=$? |
| 8664 |
|
|
| 8665 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
| 8666 |
fi |
fi |
| 8667 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 8668 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8669 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
| 8670 |
fi |
fi |
| 8671 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
| 8689 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8690 |
else |
else |
| 8691 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 8692 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 8693 |
_ACEOF |
_ACEOF |
| 8694 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 8695 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 8696 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
| 8697 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
| 8698 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 8699 |
|
#define shl_load innocuous_shl_load |
| 8700 |
|
|
| 8701 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
| 8702 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
| 8703 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8704 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
| 8705 |
|
|
| 8706 |
#ifdef __STDC__ |
#ifdef __STDC__ |
| 8707 |
# include <limits.h> |
# include <limits.h> |
| 8708 |
#else |
#else |
| 8709 |
# include <assert.h> |
# include <assert.h> |
| 8710 |
#endif |
#endif |
| 8711 |
|
|
| 8712 |
|
#undef shl_load |
| 8713 |
|
|
| 8714 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8715 |
#ifdef __cplusplus |
#ifdef __cplusplus |
| 8716 |
extern "C" |
extern "C" |
| 8741 |
_ACEOF |
_ACEOF |
| 8742 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8743 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8744 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 8745 |
ac_status=$? |
ac_status=$? |
| 8746 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8747 |
|
rm -f conftest.er1 |
| 8748 |
|
cat conftest.err >&5 |
| 8749 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8750 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 8751 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8752 |
|
|| test ! -s conftest.err' |
| 8753 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8754 |
|
(eval $ac_try) 2>&5 |
| 8755 |
|
ac_status=$? |
| 8756 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8757 |
|
(exit $ac_status); }; } && |
| 8758 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 8759 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8760 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 8761 |
ac_status=$? |
ac_status=$? |
| 8768 |
|
|
| 8769 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
| 8770 |
fi |
fi |
| 8771 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 8772 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8773 |
fi |
fi |
| 8774 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
| 8775 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
| 8784 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| 8785 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
| 8786 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 8787 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 8788 |
_ACEOF |
_ACEOF |
| 8789 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 8807 |
_ACEOF |
_ACEOF |
| 8808 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8809 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8810 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 8811 |
ac_status=$? |
ac_status=$? |
| 8812 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8813 |
|
rm -f conftest.er1 |
| 8814 |
|
cat conftest.err >&5 |
| 8815 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8816 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 8817 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8818 |
|
|| test ! -s conftest.err' |
| 8819 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8820 |
|
(eval $ac_try) 2>&5 |
| 8821 |
|
ac_status=$? |
| 8822 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8823 |
|
(exit $ac_status); }; } && |
| 8824 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 8825 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8826 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 8827 |
ac_status=$? |
ac_status=$? |
| 8834 |
|
|
| 8835 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
| 8836 |
fi |
fi |
| 8837 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 8838 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8839 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
| 8840 |
fi |
fi |
| 8841 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
| 8849 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8850 |
else |
else |
| 8851 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 8852 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 8853 |
_ACEOF |
_ACEOF |
| 8854 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 8855 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 8856 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
| 8857 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
| 8858 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 8859 |
|
#define dlopen innocuous_dlopen |
| 8860 |
|
|
| 8861 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
| 8862 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
| 8863 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8864 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
| 8865 |
|
|
| 8866 |
#ifdef __STDC__ |
#ifdef __STDC__ |
| 8867 |
# include <limits.h> |
# include <limits.h> |
| 8868 |
#else |
#else |
| 8869 |
# include <assert.h> |
# include <assert.h> |
| 8870 |
#endif |
#endif |
| 8871 |
|
|
| 8872 |
|
#undef dlopen |
| 8873 |
|
|
| 8874 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8875 |
#ifdef __cplusplus |
#ifdef __cplusplus |
| 8876 |
extern "C" |
extern "C" |
| 8901 |
_ACEOF |
_ACEOF |
| 8902 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8903 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8904 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 8905 |
ac_status=$? |
ac_status=$? |
| 8906 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8907 |
|
rm -f conftest.er1 |
| 8908 |
|
cat conftest.err >&5 |
| 8909 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8910 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 8911 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8912 |
|
|| test ! -s conftest.err' |
| 8913 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8914 |
|
(eval $ac_try) 2>&5 |
| 8915 |
|
ac_status=$? |
| 8916 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8917 |
|
(exit $ac_status); }; } && |
| 8918 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 8919 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8920 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 8921 |
ac_status=$? |
ac_status=$? |
| 8928 |
|
|
| 8929 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
| 8930 |
fi |
fi |
| 8931 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 8932 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8933 |
fi |
fi |
| 8934 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
| 8935 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
| 8944 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| 8945 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
| 8946 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 8947 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 8948 |
_ACEOF |
_ACEOF |
| 8949 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 8967 |
_ACEOF |
_ACEOF |
| 8968 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8969 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8970 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 8971 |
ac_status=$? |
ac_status=$? |
| 8972 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8973 |
|
rm -f conftest.er1 |
| 8974 |
|
cat conftest.err >&5 |
| 8975 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8976 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 8977 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8978 |
|
|| test ! -s conftest.err' |
| 8979 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8980 |
|
(eval $ac_try) 2>&5 |
| 8981 |
|
ac_status=$? |
| 8982 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8983 |
|
(exit $ac_status); }; } && |
| 8984 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 8985 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8986 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 8987 |
ac_status=$? |
ac_status=$? |
| 8994 |
|
|
| 8995 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
| 8996 |
fi |
fi |
| 8997 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 8998 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8999 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
| 9000 |
fi |
fi |
| 9001 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
| 9011 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| 9012 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
| 9013 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 9014 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 9015 |
_ACEOF |
_ACEOF |
| 9016 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 9034 |
_ACEOF |
_ACEOF |
| 9035 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9036 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9037 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 9038 |
ac_status=$? |
ac_status=$? |
| 9039 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9040 |
|
rm -f conftest.er1 |
| 9041 |
|
cat conftest.err >&5 |
| 9042 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9043 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 9044 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9045 |
|
|| test ! -s conftest.err' |
| 9046 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9047 |
|
(eval $ac_try) 2>&5 |
| 9048 |
|
ac_status=$? |
| 9049 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9050 |
|
(exit $ac_status); }; } && |
| 9051 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 9052 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9053 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 9054 |
ac_status=$? |
ac_status=$? |
| 9061 |
|
|
| 9062 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
| 9063 |
fi |
fi |
| 9064 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 9065 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9066 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
| 9067 |
fi |
fi |
| 9068 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
| 9078 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| 9079 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
| 9080 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
| 9081 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 9082 |
_ACEOF |
_ACEOF |
| 9083 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 9101 |
_ACEOF |
_ACEOF |
| 9102 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9103 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9104 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| 9105 |
ac_status=$? |
ac_status=$? |
| 9106 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9107 |
|
rm -f conftest.er1 |
| 9108 |
|
cat conftest.err >&5 |
| 9109 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9110 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 9111 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9112 |
|
|| test ! -s conftest.err' |
| 9113 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9114 |
|
(eval $ac_try) 2>&5 |
| 9115 |
|
ac_status=$? |
| 9116 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9117 |
|
(exit $ac_status); }; } && |
| 9118 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 9119 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9120 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 9121 |
ac_status=$? |
ac_status=$? |
| 9128 |
|
|
| 9129 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
| 9130 |
fi |
fi |
| 9131 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
| 9132 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9133 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
| 9134 |
fi |
fi |
| 9135 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
| 9184 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 9185 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 9186 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 9187 |
#line 8686 "configure" |
#line 9187 "configure" |
| 9188 |
#include "confdefs.h" |
#include "confdefs.h" |
| 9189 |
|
|
| 9190 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 9250 |
ac_status=$? |
ac_status=$? |
| 9251 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9252 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 9253 |
(./conftest; exit; ) 2>/dev/null |
(./conftest; exit; ) >&5 2>/dev/null |
| 9254 |
lt_status=$? |
lt_status=$? |
| 9255 |
case x$lt_status in |
case x$lt_status in |
| 9256 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 9282 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 9283 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 9284 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 9285 |
#line 8784 "configure" |
#line 9285 "configure" |
| 9286 |
#include "confdefs.h" |
#include "confdefs.h" |
| 9287 |
|
|
| 9288 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 9348 |
ac_status=$? |
ac_status=$? |
| 9349 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9350 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 9351 |
(./conftest; exit; ) 2>/dev/null |
(./conftest; exit; ) >&5 2>/dev/null |
| 9352 |
lt_status=$? |
lt_status=$? |
| 9353 |
case x$lt_status in |
case x$lt_status in |
| 9354 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 9398 |
|
|
| 9399 |
# On AIX, shared libraries and static libraries use the same namespace, and |
# On AIX, shared libraries and static libraries use the same namespace, and |
| 9400 |
# are all built from PIC. |
# are all built from PIC. |
| 9401 |
case "$host_os" in |
case $host_os in |
| 9402 |
aix3*) |
aix3*) |
| 9403 |
test "$enable_shared" = yes && enable_static=no |
test "$enable_shared" = yes && enable_static=no |
| 9404 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
| 9407 |
fi |
fi |
| 9408 |
;; |
;; |
| 9409 |
|
|
| 9410 |
aix4*) |
aix4* | aix5*) |
| 9411 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
| 9412 |
test "$enable_shared" = yes && enable_static=no |
test "$enable_shared" = yes && enable_static=no |
| 9413 |
fi |
fi |
|
;; |
|
|
darwin* | rhapsody*) |
|
|
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
|
|
archive_cmds_need_lc=no |
|
|
case "$host_os" in |
|
|
rhapsody* | darwin1.[012]) |
|
|
allow_undefined_flag='-undefined suppress' |
|
|
;; |
|
|
*) # Darwin 1.3 on |
|
|
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' |
|
|
;; |
|
|
esac |
|
|
# FIXME: Relying on posixy $() will cause problems for |
|
|
# cross-compilation, but unfortunately the echo tests do not |
|
|
# yet detect zsh echo's removal of \ escapes. Also zsh mangles |
|
|
# `"' quotes if we put them in here... so don't! |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' |
|
|
module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
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}' |
|
|
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
hardcode_direct=no |
|
|
hardcode_automatic=yes |
|
|
hardcode_shlibpath_var=unsupported |
|
|
whole_archive_flag_spec='-all_load $convenience' |
|
|
link_all_deplibs=yes |
|
|
fi |
|
| 9414 |
;; |
;; |
| 9415 |
esac |
esac |
| 9416 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
| 9436 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
| 9437 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
| 9438 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
| 9439 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
| 9440 |
|
SED SHELL STRIP \ |
| 9441 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
| 9442 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
| 9443 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
deplibs_check_method reload_flag reload_cmds need_locks \ |
| 9540 |
# |
# |
| 9541 |
# You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
| 9542 |
# along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
| 9543 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 9544 |
# |
# |
| 9545 |
# As a special exception to the GNU General Public License, if you |
# As a special exception to the GNU General Public License, if you |
| 9546 |
# distribute this file as part of a program that contains a |
# distribute this file as part of a program that contains a |
| 9551 |
SED=$lt_SED |
SED=$lt_SED |
| 9552 |
|
|
| 9553 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
| 9554 |
Xsed="$SED -e s/^X//" |
Xsed="$SED -e 1s/^X//" |
| 9555 |
|
|
| 9556 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 9557 |
# if CDPATH is set. |
# if CDPATH is set. |
| 9558 |
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 9559 |
|
|
| 9560 |
# The names of the tagged configurations supported by this script. |
# The names of the tagged configurations supported by this script. |
| 9561 |
available_tags= |
available_tags= |
| 9585 |
# The host system. |
# The host system. |
| 9586 |
host_alias=$host_alias |
host_alias=$host_alias |
| 9587 |
host=$host |
host=$host |
| 9588 |
|
host_os=$host_os |
| 9589 |
|
|
| 9590 |
|
# The build system. |
| 9591 |
|
build_alias=$build_alias |
| 9592 |
|
build=$build |
| 9593 |
|
build_os=$build_os |
| 9594 |
|
|
| 9595 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
| 9596 |
echo=$lt_echo |
echo=$lt_echo |
| 9621 |
NM=$lt_NM |
NM=$lt_NM |
| 9622 |
|
|
| 9623 |
# A symbol stripping program |
# A symbol stripping program |
| 9624 |
STRIP=$STRIP |
STRIP=$lt_STRIP |
| 9625 |
|
|
| 9626 |
# Used to examine libraries when file_magic_cmd begins "file" |
# Used to examine libraries when file_magic_cmd begins "file" |
| 9627 |
MAGIC_CMD=$MAGIC_CMD |
MAGIC_CMD=$MAGIC_CMD |
| 9652 |
libext="$libext" |
libext="$libext" |
| 9653 |
|
|
| 9654 |
# Shared library suffix (normally ".so"). |
# Shared library suffix (normally ".so"). |
| 9655 |
shrext='$shrext' |
shrext_cmds='$shrext_cmds' |
| 9656 |
|
|
| 9657 |
# Executable file suffix (normally ""). |
# Executable file suffix (normally ""). |
|