Lines 1-9
Link Here
|
1 |
#! /bin/sh |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.57. |
3 |
# Generated by GNU Autoconf 2.59. |
4 |
# |
4 |
# |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
5 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
6 |
# Free Software Foundation, Inc. |
|
|
7 |
# This configure script is free software; the Free Software Foundation |
6 |
# This configure script is free software; the Free Software Foundation |
8 |
# gives unlimited permission to copy, distribute and modify it. |
7 |
# gives unlimited permission to copy, distribute and modify it. |
9 |
## --------------------- ## |
8 |
## --------------------- ## |
Lines 20-28
Link Here
|
20 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
19 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 |
set -o posix |
20 |
set -o posix |
22 |
fi |
21 |
fi |
|
|
22 |
DUALCASE=1; export DUALCASE # for MKS sh |
23 |
|
23 |
|
24 |
# Support unset when possible. |
24 |
# Support unset when possible. |
25 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
25 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 |
as_unset=unset |
26 |
as_unset=unset |
27 |
else |
27 |
else |
28 |
as_unset=false |
28 |
as_unset=false |
Lines 41-47
Link Here
|
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
LC_TELEPHONE LC_TIME |
42 |
LC_TELEPHONE LC_TIME |
43 |
do |
43 |
do |
44 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
44 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
eval $as_var=C; export $as_var |
45 |
eval $as_var=C; export $as_var |
46 |
else |
46 |
else |
47 |
$as_unset $as_var |
47 |
$as_unset $as_var |
Lines 218-233
Link Here
|
218 |
if mkdir -p . 2>/dev/null; then |
218 |
if mkdir -p . 2>/dev/null; then |
219 |
as_mkdir_p=: |
219 |
as_mkdir_p=: |
220 |
else |
220 |
else |
|
|
221 |
test -d ./-p && rmdir ./-p |
221 |
as_mkdir_p=false |
222 |
as_mkdir_p=false |
222 |
fi |
223 |
fi |
223 |
|
224 |
|
224 |
as_executable_p="test -f" |
225 |
as_executable_p="test -f" |
225 |
|
226 |
|
226 |
# Sed expression to map a string onto a valid CPP name. |
227 |
# Sed expression to map a string onto a valid CPP name. |
227 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
228 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
228 |
|
229 |
|
229 |
# Sed expression to map a string onto a valid variable name. |
230 |
# Sed expression to map a string onto a valid variable name. |
230 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
231 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
231 |
|
232 |
|
232 |
|
233 |
|
233 |
# IFS |
234 |
# IFS |
Lines 277-283
Link Here
|
277 |
|
278 |
|
278 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
279 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
279 |
# if CDPATH is set. |
280 |
# if CDPATH is set. |
280 |
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
281 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
281 |
|
282 |
|
282 |
if test -z "$ECHO"; then |
283 |
if test -z "$ECHO"; then |
283 |
if test "X${echo_test_string+set}" != Xset; then |
284 |
if test "X${echo_test_string+set}" != Xset; then |
Lines 390-398
Link Here
|
390 |
|
391 |
|
391 |
|
392 |
|
392 |
|
393 |
|
393 |
tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` |
394 |
tagnames=${tagnames+${tagnames},}CXX |
394 |
|
395 |
|
395 |
tagnames=`echo "$tagnames,F77" | sed 's/^,//'` |
396 |
tagnames=${tagnames+${tagnames},}F77 |
396 |
|
397 |
|
397 |
# Name of the host. |
398 |
# Name of the host. |
398 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
399 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
Lines 462-468
Link Here
|
462 |
# include <unistd.h> |
463 |
# include <unistd.h> |
463 |
#endif" |
464 |
#endif" |
464 |
|
465 |
|
465 |
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 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CFLAGS PKG_LIBS LIBOBJS LTLIBOBJS' |
466 |
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 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG PKG_CFLAGS PKG_LIBS LIBOBJS LTLIBOBJS' |
466 |
ac_subst_files='' |
467 |
ac_subst_files='' |
467 |
|
468 |
|
468 |
# Initialize some variables set by options. |
469 |
# Initialize some variables set by options. |
Lines 821-827
Link Here
|
821 |
|
822 |
|
822 |
# Be sure to have absolute paths. |
823 |
# Be sure to have absolute paths. |
823 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
824 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
824 |
localstatedir libdir includedir oldincludedir infodir mandir |
825 |
localstatedir libdir includedir oldincludedir infodir mandir |
825 |
do |
826 |
do |
826 |
eval ac_val=$`echo $ac_var` |
827 |
eval ac_val=$`echo $ac_var` |
827 |
case $ac_val in |
828 |
case $ac_val in |
Lines 861-870
Link Here
|
861 |
# Try the directory containing this script, then its parent. |
862 |
# Try the directory containing this script, then its parent. |
862 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
863 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
863 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
864 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
864 |
X"$0" : 'X\(//\)[^/]' \| \ |
865 |
X"$0" : 'X\(//\)[^/]' \| \ |
865 |
X"$0" : 'X\(//\)$' \| \ |
866 |
X"$0" : 'X\(//\)$' \| \ |
866 |
X"$0" : 'X\(/\)' \| \ |
867 |
X"$0" : 'X\(/\)' \| \ |
867 |
. : '\(.\)' 2>/dev/null || |
868 |
. : '\(.\)' 2>/dev/null || |
868 |
echo X"$0" | |
869 |
echo X"$0" | |
869 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
870 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
870 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
871 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 976-984
Link Here
|
976 |
cat <<_ACEOF |
977 |
cat <<_ACEOF |
977 |
Installation directories: |
978 |
Installation directories: |
978 |
--prefix=PREFIX install architecture-independent files in PREFIX |
979 |
--prefix=PREFIX install architecture-independent files in PREFIX |
979 |
[$ac_default_prefix] |
980 |
[$ac_default_prefix] |
980 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
981 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
981 |
[PREFIX] |
982 |
[PREFIX] |
982 |
|
983 |
|
983 |
By default, \`make install' will install all the files in |
984 |
By default, \`make install' will install all the files in |
984 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
985 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
Lines 1091-1102
Link Here
|
1091 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1092 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1092 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1093 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1093 |
esac |
1094 |
esac |
1094 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
1095 |
|
1095 |
# absolute. |
1096 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
1096 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
1097 |
# the directories may not exist. |
1097 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
1098 |
case `pwd` in |
1098 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
1099 |
.) ac_abs_builddir="$ac_dir";; |
1099 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
1100 |
*) |
|
|
1101 |
case "$ac_dir" in |
1102 |
.) ac_abs_builddir=`pwd`;; |
1103 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
1104 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
1105 |
esac;; |
1106 |
esac |
1107 |
case $ac_abs_builddir in |
1108 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
1109 |
*) |
1110 |
case ${ac_top_builddir}. in |
1111 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
1112 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
1113 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
1114 |
esac;; |
1115 |
esac |
1116 |
case $ac_abs_builddir in |
1117 |
.) ac_abs_srcdir=$ac_srcdir;; |
1118 |
*) |
1119 |
case $ac_srcdir in |
1120 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
1121 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
1122 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
1123 |
esac;; |
1124 |
esac |
1125 |
case $ac_abs_builddir in |
1126 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
1127 |
*) |
1128 |
case $ac_top_srcdir in |
1129 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
1130 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
1131 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
1132 |
esac;; |
1133 |
esac |
1100 |
|
1134 |
|
1101 |
cd $ac_dir |
1135 |
cd $ac_dir |
1102 |
# Check for guested configure; otherwise get Cygnus style configure. |
1136 |
# Check for guested configure; otherwise get Cygnus style configure. |
Lines 1107-1113
Link Here
|
1107 |
echo |
1141 |
echo |
1108 |
$SHELL $ac_srcdir/configure --help=recursive |
1142 |
$SHELL $ac_srcdir/configure --help=recursive |
1109 |
elif test -f $ac_srcdir/configure.ac || |
1143 |
elif test -f $ac_srcdir/configure.ac || |
1110 |
test -f $ac_srcdir/configure.in; then |
1144 |
test -f $ac_srcdir/configure.in; then |
1111 |
echo |
1145 |
echo |
1112 |
$ac_configure --help |
1146 |
$ac_configure --help |
1113 |
else |
1147 |
else |
Lines 1121-1128
Link Here
|
1121 |
if $ac_init_version; then |
1155 |
if $ac_init_version; then |
1122 |
cat <<\_ACEOF |
1156 |
cat <<\_ACEOF |
1123 |
|
1157 |
|
1124 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
1158 |
Copyright (C) 2003 Free Software Foundation, Inc. |
1125 |
Free Software Foundation, Inc. |
|
|
1126 |
This configure script is free software; the Free Software Foundation |
1159 |
This configure script is free software; the Free Software Foundation |
1127 |
gives unlimited permission to copy, distribute and modify it. |
1160 |
gives unlimited permission to copy, distribute and modify it. |
1128 |
_ACEOF |
1161 |
_ACEOF |
Lines 1134-1140
Link Here
|
1134 |
running configure, to aid debugging if configure makes a mistake. |
1167 |
running configure, to aid debugging if configure makes a mistake. |
1135 |
|
1168 |
|
1136 |
It was created by $as_me, which was |
1169 |
It was created by $as_me, which was |
1137 |
generated by GNU Autoconf 2.57. Invocation command line was |
1170 |
generated by GNU Autoconf 2.59. Invocation command line was |
1138 |
|
1171 |
|
1139 |
$ $0 $@ |
1172 |
$ $0 $@ |
1140 |
|
1173 |
|
Lines 1211-1229
Link Here
|
1211 |
2) |
1244 |
2) |
1212 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1245 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1213 |
if test $ac_must_keep_next = true; then |
1246 |
if test $ac_must_keep_next = true; then |
1214 |
ac_must_keep_next=false # Got value, back to normal. |
1247 |
ac_must_keep_next=false # Got value, back to normal. |
1215 |
else |
1248 |
else |
1216 |
case $ac_arg in |
1249 |
case $ac_arg in |
1217 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1250 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1218 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1251 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1219 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1252 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1220 |
| -with-* | --with-* | -without-* | --without-* | --x) |
1253 |
| -with-* | --with-* | -without-* | --without-* | --x) |
1221 |
case "$ac_configure_args0 " in |
1254 |
case "$ac_configure_args0 " in |
1222 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1255 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1223 |
esac |
1256 |
esac |
1224 |
;; |
1257 |
;; |
1225 |
-* ) ac_must_keep_next=true ;; |
1258 |
-* ) ac_must_keep_next=true ;; |
1226 |
esac |
1259 |
esac |
1227 |
fi |
1260 |
fi |
1228 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1261 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1229 |
# Get rid of the leading space. |
1262 |
# Get rid of the leading space. |
Lines 1257-1268
Link Here
|
1257 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1290 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1258 |
*ac_space=\ *) |
1291 |
*ac_space=\ *) |
1259 |
sed -n \ |
1292 |
sed -n \ |
1260 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1293 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1261 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1294 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1262 |
;; |
1295 |
;; |
1263 |
*) |
1296 |
*) |
1264 |
sed -n \ |
1297 |
sed -n \ |
1265 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1298 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1266 |
;; |
1299 |
;; |
1267 |
esac; |
1300 |
esac; |
1268 |
} |
1301 |
} |
Lines 1291-1297
Link Here
|
1291 |
for ac_var in $ac_subst_files |
1324 |
for ac_var in $ac_subst_files |
1292 |
do |
1325 |
do |
1293 |
eval ac_val=$`echo $ac_var` |
1326 |
eval ac_val=$`echo $ac_var` |
1294 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1327 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1295 |
done | sort |
1328 |
done | sort |
1296 |
echo |
1329 |
echo |
1297 |
fi |
1330 |
fi |
Lines 1310-1316
Link Here
|
1310 |
echo "$as_me: caught signal $ac_signal" |
1343 |
echo "$as_me: caught signal $ac_signal" |
1311 |
echo "$as_me: exit $exit_status" |
1344 |
echo "$as_me: exit $exit_status" |
1312 |
} >&5 |
1345 |
} >&5 |
1313 |
rm -f core core.* *.core && |
1346 |
rm -f core *.core && |
1314 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1347 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1315 |
exit $exit_status |
1348 |
exit $exit_status |
1316 |
' 0 |
1349 |
' 0 |
Lines 1390-1396
Link Here
|
1390 |
# value. |
1423 |
# value. |
1391 |
ac_cache_corrupted=false |
1424 |
ac_cache_corrupted=false |
1392 |
for ac_var in `(set) 2>&1 | |
1425 |
for ac_var in `(set) 2>&1 | |
1393 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1426 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1394 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1427 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1395 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1428 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1396 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1429 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
Lines 1407-1419
Link Here
|
1407 |
,);; |
1440 |
,);; |
1408 |
*) |
1441 |
*) |
1409 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1442 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1410 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1443 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1411 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1444 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1412 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1445 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1413 |
echo "$as_me: former value: $ac_old_val" >&2;} |
1446 |
echo "$as_me: former value: $ac_old_val" >&2;} |
1414 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1447 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1415 |
echo "$as_me: current value: $ac_new_val" >&2;} |
1448 |
echo "$as_me: current value: $ac_new_val" >&2;} |
1416 |
ac_cache_corrupted=: |
1449 |
ac_cache_corrupted=: |
1417 |
fi;; |
1450 |
fi;; |
1418 |
esac |
1451 |
esac |
1419 |
# Pass precious variables to config.status. |
1452 |
# Pass precious variables to config.status. |
Lines 1498-1503
Link Here
|
1498 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1531 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1499 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1532 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1500 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1533 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
1534 |
# OS/2's system install, which has a completely different semantic |
1501 |
# ./install, which can be erroneously created by make from ./install.sh. |
1535 |
# ./install, which can be erroneously created by make from ./install.sh. |
1502 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1536 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1503 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1537 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
Lines 1514-1519
Link Here
|
1514 |
case $as_dir/ in |
1548 |
case $as_dir/ in |
1515 |
./ | .// | /cC/* | \ |
1549 |
./ | .// | /cC/* | \ |
1516 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1550 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
1551 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1517 |
/usr/ucb/* ) ;; |
1552 |
/usr/ucb/* ) ;; |
1518 |
*) |
1553 |
*) |
1519 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
1554 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
Lines 1521-1540
Link Here
|
1521 |
# by default. |
1556 |
# by default. |
1522 |
for ac_prog in ginstall scoinst install; do |
1557 |
for ac_prog in ginstall scoinst install; do |
1523 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1558 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1524 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1559 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1525 |
if test $ac_prog = install && |
1560 |
if test $ac_prog = install && |
1526 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1561 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1527 |
# AIX install. It has an incompatible calling convention. |
1562 |
# AIX install. It has an incompatible calling convention. |
1528 |
: |
1563 |
: |
1529 |
elif test $ac_prog = install && |
1564 |
elif test $ac_prog = install && |
1530 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1565 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1531 |
# program-specific install script used by HP pwplus--don't use. |
1566 |
# program-specific install script used by HP pwplus--don't use. |
1532 |
: |
1567 |
: |
1533 |
else |
1568 |
else |
1534 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1569 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1535 |
break 3 |
1570 |
break 3 |
1536 |
fi |
1571 |
fi |
1537 |
fi |
1572 |
fi |
1538 |
done |
1573 |
done |
1539 |
done |
1574 |
done |
1540 |
;; |
1575 |
;; |
Lines 1678-1684
Link Here
|
1678 |
|
1713 |
|
1679 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1714 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1680 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1715 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1681 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
1716 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
1682 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1717 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1683 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1718 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1684 |
else |
1719 |
else |
Lines 2264-2270
Link Here
|
2264 |
(exit $ac_status); } |
2299 |
(exit $ac_status); } |
2265 |
|
2300 |
|
2266 |
cat >conftest.$ac_ext <<_ACEOF |
2301 |
cat >conftest.$ac_ext <<_ACEOF |
2267 |
#line $LINENO "configure" |
|
|
2268 |
/* confdefs.h. */ |
2302 |
/* confdefs.h. */ |
2269 |
_ACEOF |
2303 |
_ACEOF |
2270 |
cat confdefs.h >>conftest.$ac_ext |
2304 |
cat confdefs.h >>conftest.$ac_ext |
Lines 2284-2291
Link Here
|
2284 |
# Try to create an executable without -o first, disregard a.out. |
2318 |
# Try to create an executable without -o first, disregard a.out. |
2285 |
# It will help us diagnose broken compilers, and finding out an intuition |
2319 |
# It will help us diagnose broken compilers, and finding out an intuition |
2286 |
# of exeext. |
2320 |
# of exeext. |
2287 |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2321 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2288 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2322 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2289 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2323 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2290 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2324 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2291 |
(eval $ac_link_default) 2>&5 |
2325 |
(eval $ac_link_default) 2>&5 |
Lines 2305-2327
Link Here
|
2305 |
test -f "$ac_file" || continue |
2339 |
test -f "$ac_file" || continue |
2306 |
case $ac_file in |
2340 |
case $ac_file in |
2307 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2341 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2308 |
;; |
2342 |
;; |
2309 |
conftest.$ac_ext ) |
2343 |
conftest.$ac_ext ) |
2310 |
# This is the source file. |
2344 |
# This is the source file. |
2311 |
;; |
2345 |
;; |
2312 |
[ab].out ) |
2346 |
[ab].out ) |
2313 |
# We found the default executable, but exeext='' is most |
2347 |
# We found the default executable, but exeext='' is most |
2314 |
# certainly right. |
2348 |
# certainly right. |
2315 |
break;; |
2349 |
break;; |
2316 |
*.* ) |
2350 |
*.* ) |
2317 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2351 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2318 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2352 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2319 |
# but it would be cool to find out if it's true. Does anybody |
2353 |
# but it would be cool to find out if it's true. Does anybody |
2320 |
# maintain Libtool? --akim. |
2354 |
# maintain Libtool? --akim. |
2321 |
export ac_cv_exeext |
2355 |
export ac_cv_exeext |
2322 |
break;; |
2356 |
break;; |
2323 |
* ) |
2357 |
* ) |
2324 |
break;; |
2358 |
break;; |
2325 |
esac |
2359 |
esac |
2326 |
done |
2360 |
done |
2327 |
else |
2361 |
else |
Lines 2395-2402
Link Here
|
2395 |
case $ac_file in |
2429 |
case $ac_file in |
2396 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2430 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2397 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2431 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2398 |
export ac_cv_exeext |
2432 |
export ac_cv_exeext |
2399 |
break;; |
2433 |
break;; |
2400 |
* ) break;; |
2434 |
* ) break;; |
2401 |
esac |
2435 |
esac |
2402 |
done |
2436 |
done |
Lines 2421-2427
Link Here
|
2421 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2455 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2422 |
else |
2456 |
else |
2423 |
cat >conftest.$ac_ext <<_ACEOF |
2457 |
cat >conftest.$ac_ext <<_ACEOF |
2424 |
#line $LINENO "configure" |
|
|
2425 |
/* confdefs.h. */ |
2458 |
/* confdefs.h. */ |
2426 |
_ACEOF |
2459 |
_ACEOF |
2427 |
cat confdefs.h >>conftest.$ac_ext |
2460 |
cat confdefs.h >>conftest.$ac_ext |
Lines 2472-2478
Link Here
|
2472 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2505 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2473 |
else |
2506 |
else |
2474 |
cat >conftest.$ac_ext <<_ACEOF |
2507 |
cat >conftest.$ac_ext <<_ACEOF |
2475 |
#line $LINENO "configure" |
|
|
2476 |
/* confdefs.h. */ |
2508 |
/* confdefs.h. */ |
2477 |
_ACEOF |
2509 |
_ACEOF |
2478 |
cat confdefs.h >>conftest.$ac_ext |
2510 |
cat confdefs.h >>conftest.$ac_ext |
Lines 2492-2502
Link Here
|
2492 |
_ACEOF |
2524 |
_ACEOF |
2493 |
rm -f conftest.$ac_objext |
2525 |
rm -f conftest.$ac_objext |
2494 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2526 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2495 |
(eval $ac_compile) 2>&5 |
2527 |
(eval $ac_compile) 2>conftest.er1 |
2496 |
ac_status=$? |
2528 |
ac_status=$? |
|
|
2529 |
grep -v '^ *+' conftest.er1 >conftest.err |
2530 |
rm -f conftest.er1 |
2531 |
cat conftest.err >&5 |
2497 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2532 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2498 |
(exit $ac_status); } && |
2533 |
(exit $ac_status); } && |
2499 |
{ ac_try='test -s conftest.$ac_objext' |
2534 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
2535 |
|| test ! -s conftest.err' |
2536 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2537 |
(eval $ac_try) 2>&5 |
2538 |
ac_status=$? |
2539 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2540 |
(exit $ac_status); }; } && |
2541 |
{ ac_try='test -s conftest.$ac_objext' |
2500 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2542 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2501 |
(eval $ac_try) 2>&5 |
2543 |
(eval $ac_try) 2>&5 |
2502 |
ac_status=$? |
2544 |
ac_status=$? |
Lines 2509-2515
Link Here
|
2509 |
|
2551 |
|
2510 |
ac_compiler_gnu=no |
2552 |
ac_compiler_gnu=no |
2511 |
fi |
2553 |
fi |
2512 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2554 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2513 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2555 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2514 |
|
2556 |
|
2515 |
fi |
2557 |
fi |
Lines 2525-2531
Link Here
|
2525 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2567 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2526 |
else |
2568 |
else |
2527 |
cat >conftest.$ac_ext <<_ACEOF |
2569 |
cat >conftest.$ac_ext <<_ACEOF |
2528 |
#line $LINENO "configure" |
|
|
2529 |
/* confdefs.h. */ |
2570 |
/* confdefs.h. */ |
2530 |
_ACEOF |
2571 |
_ACEOF |
2531 |
cat confdefs.h >>conftest.$ac_ext |
2572 |
cat confdefs.h >>conftest.$ac_ext |
Lines 2542-2552
Link Here
|
2542 |
_ACEOF |
2583 |
_ACEOF |
2543 |
rm -f conftest.$ac_objext |
2584 |
rm -f conftest.$ac_objext |
2544 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2585 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2545 |
(eval $ac_compile) 2>&5 |
2586 |
(eval $ac_compile) 2>conftest.er1 |
2546 |
ac_status=$? |
2587 |
ac_status=$? |
|
|
2588 |
grep -v '^ *+' conftest.er1 >conftest.err |
2589 |
rm -f conftest.er1 |
2590 |
cat conftest.err >&5 |
2547 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2591 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2548 |
(exit $ac_status); } && |
2592 |
(exit $ac_status); } && |
2549 |
{ ac_try='test -s conftest.$ac_objext' |
2593 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
2594 |
|| test ! -s conftest.err' |
2595 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2596 |
(eval $ac_try) 2>&5 |
2597 |
ac_status=$? |
2598 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2599 |
(exit $ac_status); }; } && |
2600 |
{ ac_try='test -s conftest.$ac_objext' |
2550 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2601 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2551 |
(eval $ac_try) 2>&5 |
2602 |
(eval $ac_try) 2>&5 |
2552 |
ac_status=$? |
2603 |
ac_status=$? |
Lines 2559-2565
Link Here
|
2559 |
|
2610 |
|
2560 |
ac_cv_prog_cc_g=no |
2611 |
ac_cv_prog_cc_g=no |
2561 |
fi |
2612 |
fi |
2562 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2613 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2563 |
fi |
2614 |
fi |
2564 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2615 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2565 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2616 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
Lines 2586-2592
Link Here
|
2586 |
ac_cv_prog_cc_stdc=no |
2637 |
ac_cv_prog_cc_stdc=no |
2587 |
ac_save_CC=$CC |
2638 |
ac_save_CC=$CC |
2588 |
cat >conftest.$ac_ext <<_ACEOF |
2639 |
cat >conftest.$ac_ext <<_ACEOF |
2589 |
#line $LINENO "configure" |
|
|
2590 |
/* confdefs.h. */ |
2640 |
/* confdefs.h. */ |
2591 |
_ACEOF |
2641 |
_ACEOF |
2592 |
cat confdefs.h >>conftest.$ac_ext |
2642 |
cat confdefs.h >>conftest.$ac_ext |
Lines 2614-2619
Link Here
|
2614 |
va_end (v); |
2664 |
va_end (v); |
2615 |
return s; |
2665 |
return s; |
2616 |
} |
2666 |
} |
|
|
2667 |
|
2668 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2669 |
function prototypes and stuff, but not '\xHH' hex character constants. |
2670 |
These don't provoke an error unfortunately, instead are silently treated |
2671 |
as 'x'. The following induces an error, until -std1 is added to get |
2672 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2673 |
array size at least. It's necessary to write '\x00'==0 to get something |
2674 |
that's true only with -std1. */ |
2675 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2676 |
|
2617 |
int test (int i, double x); |
2677 |
int test (int i, double x); |
2618 |
struct s1 {int (*f) (int a);}; |
2678 |
struct s1 {int (*f) (int a);}; |
2619 |
struct s2 {int (*f) (double a);}; |
2679 |
struct s2 {int (*f) (double a);}; |
Lines 2640-2650
Link Here
|
2640 |
CC="$ac_save_CC $ac_arg" |
2700 |
CC="$ac_save_CC $ac_arg" |
2641 |
rm -f conftest.$ac_objext |
2701 |
rm -f conftest.$ac_objext |
2642 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2702 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2643 |
(eval $ac_compile) 2>&5 |
2703 |
(eval $ac_compile) 2>conftest.er1 |
2644 |
ac_status=$? |
2704 |
ac_status=$? |
|
|
2705 |
grep -v '^ *+' conftest.er1 >conftest.err |
2706 |
rm -f conftest.er1 |
2707 |
cat conftest.err >&5 |
2645 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2708 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2646 |
(exit $ac_status); } && |
2709 |
(exit $ac_status); } && |
2647 |
{ ac_try='test -s conftest.$ac_objext' |
2710 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
2711 |
|| test ! -s conftest.err' |
2712 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2713 |
(eval $ac_try) 2>&5 |
2714 |
ac_status=$? |
2715 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2716 |
(exit $ac_status); }; } && |
2717 |
{ ac_try='test -s conftest.$ac_objext' |
2648 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2718 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2649 |
(eval $ac_try) 2>&5 |
2719 |
(eval $ac_try) 2>&5 |
2650 |
ac_status=$? |
2720 |
ac_status=$? |
Lines 2657-2663
Link Here
|
2657 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2727 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2658 |
|
2728 |
|
2659 |
fi |
2729 |
fi |
2660 |
rm -f conftest.$ac_objext |
2730 |
rm -f conftest.err conftest.$ac_objext |
2661 |
done |
2731 |
done |
2662 |
rm -f conftest.$ac_ext conftest.$ac_objext |
2732 |
rm -f conftest.$ac_ext conftest.$ac_objext |
2663 |
CC=$ac_save_CC |
2733 |
CC=$ac_save_CC |
Lines 2685-2703
Link Here
|
2685 |
_ACEOF |
2755 |
_ACEOF |
2686 |
rm -f conftest.$ac_objext |
2756 |
rm -f conftest.$ac_objext |
2687 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2757 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2688 |
(eval $ac_compile) 2>&5 |
2758 |
(eval $ac_compile) 2>conftest.er1 |
2689 |
ac_status=$? |
2759 |
ac_status=$? |
|
|
2760 |
grep -v '^ *+' conftest.er1 >conftest.err |
2761 |
rm -f conftest.er1 |
2762 |
cat conftest.err >&5 |
2690 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2763 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2691 |
(exit $ac_status); } && |
2764 |
(exit $ac_status); } && |
2692 |
{ ac_try='test -s conftest.$ac_objext' |
2765 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
2766 |
|| test ! -s conftest.err' |
2767 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2768 |
(eval $ac_try) 2>&5 |
2769 |
ac_status=$? |
2770 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2771 |
(exit $ac_status); }; } && |
2772 |
{ ac_try='test -s conftest.$ac_objext' |
2693 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2773 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2694 |
(eval $ac_try) 2>&5 |
2774 |
(eval $ac_try) 2>&5 |
2695 |
ac_status=$? |
2775 |
ac_status=$? |
2696 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2776 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2697 |
(exit $ac_status); }; }; then |
2777 |
(exit $ac_status); }; }; then |
2698 |
for ac_declaration in \ |
2778 |
for ac_declaration in \ |
2699 |
''\ |
2779 |
'' \ |
2700 |
'#include <stdlib.h>' \ |
|
|
2701 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2780 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2702 |
'extern "C" void std::exit (int); using std::exit;' \ |
2781 |
'extern "C" void std::exit (int); using std::exit;' \ |
2703 |
'extern "C" void exit (int) throw ();' \ |
2782 |
'extern "C" void exit (int) throw ();' \ |
Lines 2705-2718
Link Here
|
2705 |
'void exit (int);' |
2784 |
'void exit (int);' |
2706 |
do |
2785 |
do |
2707 |
cat >conftest.$ac_ext <<_ACEOF |
2786 |
cat >conftest.$ac_ext <<_ACEOF |
2708 |
#line $LINENO "configure" |
|
|
2709 |
/* confdefs.h. */ |
2787 |
/* confdefs.h. */ |
2710 |
_ACEOF |
2788 |
_ACEOF |
2711 |
cat confdefs.h >>conftest.$ac_ext |
2789 |
cat confdefs.h >>conftest.$ac_ext |
2712 |
cat >>conftest.$ac_ext <<_ACEOF |
2790 |
cat >>conftest.$ac_ext <<_ACEOF |
2713 |
/* end confdefs.h. */ |
2791 |
/* end confdefs.h. */ |
2714 |
#include <stdlib.h> |
|
|
2715 |
$ac_declaration |
2792 |
$ac_declaration |
|
|
2793 |
#include <stdlib.h> |
2716 |
int |
2794 |
int |
2717 |
main () |
2795 |
main () |
2718 |
{ |
2796 |
{ |
Lines 2723-2733
Link Here
|
2723 |
_ACEOF |
2801 |
_ACEOF |
2724 |
rm -f conftest.$ac_objext |
2802 |
rm -f conftest.$ac_objext |
2725 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2803 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2726 |
(eval $ac_compile) 2>&5 |
2804 |
(eval $ac_compile) 2>conftest.er1 |
2727 |
ac_status=$? |
2805 |
ac_status=$? |
|
|
2806 |
grep -v '^ *+' conftest.er1 >conftest.err |
2807 |
rm -f conftest.er1 |
2808 |
cat conftest.err >&5 |
2728 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2809 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2729 |
(exit $ac_status); } && |
2810 |
(exit $ac_status); } && |
2730 |
{ ac_try='test -s conftest.$ac_objext' |
2811 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
2812 |
|| test ! -s conftest.err' |
2813 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2814 |
(eval $ac_try) 2>&5 |
2815 |
ac_status=$? |
2816 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2817 |
(exit $ac_status); }; } && |
2818 |
{ ac_try='test -s conftest.$ac_objext' |
2731 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2819 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2732 |
(eval $ac_try) 2>&5 |
2820 |
(eval $ac_try) 2>&5 |
2733 |
ac_status=$? |
2821 |
ac_status=$? |
Lines 2740-2748
Link Here
|
2740 |
|
2828 |
|
2741 |
continue |
2829 |
continue |
2742 |
fi |
2830 |
fi |
2743 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2831 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2744 |
cat >conftest.$ac_ext <<_ACEOF |
2832 |
cat >conftest.$ac_ext <<_ACEOF |
2745 |
#line $LINENO "configure" |
|
|
2746 |
/* confdefs.h. */ |
2833 |
/* confdefs.h. */ |
2747 |
_ACEOF |
2834 |
_ACEOF |
2748 |
cat confdefs.h >>conftest.$ac_ext |
2835 |
cat confdefs.h >>conftest.$ac_ext |
Lines 2759-2769
Link Here
|
2759 |
_ACEOF |
2846 |
_ACEOF |
2760 |
rm -f conftest.$ac_objext |
2847 |
rm -f conftest.$ac_objext |
2761 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2848 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2762 |
(eval $ac_compile) 2>&5 |
2849 |
(eval $ac_compile) 2>conftest.er1 |
2763 |
ac_status=$? |
2850 |
ac_status=$? |
|
|
2851 |
grep -v '^ *+' conftest.er1 >conftest.err |
2852 |
rm -f conftest.er1 |
2853 |
cat conftest.err >&5 |
2764 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2854 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2765 |
(exit $ac_status); } && |
2855 |
(exit $ac_status); } && |
2766 |
{ ac_try='test -s conftest.$ac_objext' |
2856 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
2857 |
|| test ! -s conftest.err' |
2858 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2859 |
(eval $ac_try) 2>&5 |
2860 |
ac_status=$? |
2861 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2862 |
(exit $ac_status); }; } && |
2863 |
{ ac_try='test -s conftest.$ac_objext' |
2767 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2864 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2768 |
(eval $ac_try) 2>&5 |
2865 |
(eval $ac_try) 2>&5 |
2769 |
ac_status=$? |
2866 |
ac_status=$? |
Lines 2775-2781
Link Here
|
2775 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2872 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2776 |
|
2873 |
|
2777 |
fi |
2874 |
fi |
2778 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2875 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2779 |
done |
2876 |
done |
2780 |
rm -f conftest* |
2877 |
rm -f conftest* |
2781 |
if test -n "$ac_declaration"; then |
2878 |
if test -n "$ac_declaration"; then |
Lines 2789-2795
Link Here
|
2789 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2886 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2790 |
|
2887 |
|
2791 |
fi |
2888 |
fi |
2792 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2889 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2793 |
ac_ext=c |
2890 |
ac_ext=c |
2794 |
ac_cpp='$CPP $CPPFLAGS' |
2891 |
ac_cpp='$CPP $CPPFLAGS' |
2795 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2892 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Lines 2908-2914
Link Here
|
2908 |
ac_check_lib_save_LIBS=$LIBS |
3005 |
ac_check_lib_save_LIBS=$LIBS |
2909 |
LIBS="-lcposix $LIBS" |
3006 |
LIBS="-lcposix $LIBS" |
2910 |
cat >conftest.$ac_ext <<_ACEOF |
3007 |
cat >conftest.$ac_ext <<_ACEOF |
2911 |
#line $LINENO "configure" |
|
|
2912 |
/* confdefs.h. */ |
3008 |
/* confdefs.h. */ |
2913 |
_ACEOF |
3009 |
_ACEOF |
2914 |
cat confdefs.h >>conftest.$ac_ext |
3010 |
cat confdefs.h >>conftest.$ac_ext |
Lines 2932-2942
Link Here
|
2932 |
_ACEOF |
3028 |
_ACEOF |
2933 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3029 |
rm -f conftest.$ac_objext conftest$ac_exeext |
2934 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3030 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2935 |
(eval $ac_link) 2>&5 |
3031 |
(eval $ac_link) 2>conftest.er1 |
2936 |
ac_status=$? |
3032 |
ac_status=$? |
|
|
3033 |
grep -v '^ *+' conftest.er1 >conftest.err |
3034 |
rm -f conftest.er1 |
3035 |
cat conftest.err >&5 |
2937 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3036 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2938 |
(exit $ac_status); } && |
3037 |
(exit $ac_status); } && |
2939 |
{ ac_try='test -s conftest$ac_exeext' |
3038 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3039 |
|| test ! -s conftest.err' |
3040 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3041 |
(eval $ac_try) 2>&5 |
3042 |
ac_status=$? |
3043 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3044 |
(exit $ac_status); }; } && |
3045 |
{ ac_try='test -s conftest$ac_exeext' |
2940 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3046 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2941 |
(eval $ac_try) 2>&5 |
3047 |
(eval $ac_try) 2>&5 |
2942 |
ac_status=$? |
3048 |
ac_status=$? |
Lines 2949-2955
Link Here
|
2949 |
|
3055 |
|
2950 |
ac_cv_lib_cposix_strerror=no |
3056 |
ac_cv_lib_cposix_strerror=no |
2951 |
fi |
3057 |
fi |
2952 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3058 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
3059 |
conftest$ac_exeext conftest.$ac_ext |
2953 |
LIBS=$ac_check_lib_save_LIBS |
3060 |
LIBS=$ac_check_lib_save_LIBS |
2954 |
fi |
3061 |
fi |
2955 |
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
3062 |
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
Lines 3301-3307
Link Here
|
3301 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3408 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3302 |
else |
3409 |
else |
3303 |
cat >conftest.$ac_ext <<_ACEOF |
3410 |
cat >conftest.$ac_ext <<_ACEOF |
3304 |
#line $LINENO "configure" |
|
|
3305 |
/* confdefs.h. */ |
3411 |
/* confdefs.h. */ |
3306 |
_ACEOF |
3412 |
_ACEOF |
3307 |
cat confdefs.h >>conftest.$ac_ext |
3413 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3321-3331
Link Here
|
3321 |
_ACEOF |
3427 |
_ACEOF |
3322 |
rm -f conftest.$ac_objext |
3428 |
rm -f conftest.$ac_objext |
3323 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3429 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3324 |
(eval $ac_compile) 2>&5 |
3430 |
(eval $ac_compile) 2>conftest.er1 |
3325 |
ac_status=$? |
3431 |
ac_status=$? |
|
|
3432 |
grep -v '^ *+' conftest.er1 >conftest.err |
3433 |
rm -f conftest.er1 |
3434 |
cat conftest.err >&5 |
3326 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3435 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3327 |
(exit $ac_status); } && |
3436 |
(exit $ac_status); } && |
3328 |
{ ac_try='test -s conftest.$ac_objext' |
3437 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3438 |
|| test ! -s conftest.err' |
3439 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3440 |
(eval $ac_try) 2>&5 |
3441 |
ac_status=$? |
3442 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3443 |
(exit $ac_status); }; } && |
3444 |
{ ac_try='test -s conftest.$ac_objext' |
3329 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3445 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3330 |
(eval $ac_try) 2>&5 |
3446 |
(eval $ac_try) 2>&5 |
3331 |
ac_status=$? |
3447 |
ac_status=$? |
Lines 3338-3344
Link Here
|
3338 |
|
3454 |
|
3339 |
ac_compiler_gnu=no |
3455 |
ac_compiler_gnu=no |
3340 |
fi |
3456 |
fi |
3341 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3457 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3342 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3458 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3343 |
|
3459 |
|
3344 |
fi |
3460 |
fi |
Lines 3354-3360
Link Here
|
3354 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3470 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3355 |
else |
3471 |
else |
3356 |
cat >conftest.$ac_ext <<_ACEOF |
3472 |
cat >conftest.$ac_ext <<_ACEOF |
3357 |
#line $LINENO "configure" |
|
|
3358 |
/* confdefs.h. */ |
3473 |
/* confdefs.h. */ |
3359 |
_ACEOF |
3474 |
_ACEOF |
3360 |
cat confdefs.h >>conftest.$ac_ext |
3475 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3371-3381
Link Here
|
3371 |
_ACEOF |
3486 |
_ACEOF |
3372 |
rm -f conftest.$ac_objext |
3487 |
rm -f conftest.$ac_objext |
3373 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3488 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3374 |
(eval $ac_compile) 2>&5 |
3489 |
(eval $ac_compile) 2>conftest.er1 |
3375 |
ac_status=$? |
3490 |
ac_status=$? |
|
|
3491 |
grep -v '^ *+' conftest.er1 >conftest.err |
3492 |
rm -f conftest.er1 |
3493 |
cat conftest.err >&5 |
3376 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3494 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3377 |
(exit $ac_status); } && |
3495 |
(exit $ac_status); } && |
3378 |
{ ac_try='test -s conftest.$ac_objext' |
3496 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3497 |
|| test ! -s conftest.err' |
3498 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3499 |
(eval $ac_try) 2>&5 |
3500 |
ac_status=$? |
3501 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3502 |
(exit $ac_status); }; } && |
3503 |
{ ac_try='test -s conftest.$ac_objext' |
3379 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3504 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3380 |
(eval $ac_try) 2>&5 |
3505 |
(eval $ac_try) 2>&5 |
3381 |
ac_status=$? |
3506 |
ac_status=$? |
Lines 3388-3394
Link Here
|
3388 |
|
3513 |
|
3389 |
ac_cv_prog_cc_g=no |
3514 |
ac_cv_prog_cc_g=no |
3390 |
fi |
3515 |
fi |
3391 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3516 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3392 |
fi |
3517 |
fi |
3393 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3518 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3394 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
3519 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
Lines 3415-3421
Link Here
|
3415 |
ac_cv_prog_cc_stdc=no |
3540 |
ac_cv_prog_cc_stdc=no |
3416 |
ac_save_CC=$CC |
3541 |
ac_save_CC=$CC |
3417 |
cat >conftest.$ac_ext <<_ACEOF |
3542 |
cat >conftest.$ac_ext <<_ACEOF |
3418 |
#line $LINENO "configure" |
|
|
3419 |
/* confdefs.h. */ |
3543 |
/* confdefs.h. */ |
3420 |
_ACEOF |
3544 |
_ACEOF |
3421 |
cat confdefs.h >>conftest.$ac_ext |
3545 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3443-3448
Link Here
|
3443 |
va_end (v); |
3567 |
va_end (v); |
3444 |
return s; |
3568 |
return s; |
3445 |
} |
3569 |
} |
|
|
3570 |
|
3571 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3572 |
function prototypes and stuff, but not '\xHH' hex character constants. |
3573 |
These don't provoke an error unfortunately, instead are silently treated |
3574 |
as 'x'. The following induces an error, until -std1 is added to get |
3575 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3576 |
array size at least. It's necessary to write '\x00'==0 to get something |
3577 |
that's true only with -std1. */ |
3578 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3579 |
|
3446 |
int test (int i, double x); |
3580 |
int test (int i, double x); |
3447 |
struct s1 {int (*f) (int a);}; |
3581 |
struct s1 {int (*f) (int a);}; |
3448 |
struct s2 {int (*f) (double a);}; |
3582 |
struct s2 {int (*f) (double a);}; |
Lines 3469-3479
Link Here
|
3469 |
CC="$ac_save_CC $ac_arg" |
3603 |
CC="$ac_save_CC $ac_arg" |
3470 |
rm -f conftest.$ac_objext |
3604 |
rm -f conftest.$ac_objext |
3471 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3605 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3472 |
(eval $ac_compile) 2>&5 |
3606 |
(eval $ac_compile) 2>conftest.er1 |
3473 |
ac_status=$? |
3607 |
ac_status=$? |
|
|
3608 |
grep -v '^ *+' conftest.er1 >conftest.err |
3609 |
rm -f conftest.er1 |
3610 |
cat conftest.err >&5 |
3474 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3611 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3475 |
(exit $ac_status); } && |
3612 |
(exit $ac_status); } && |
3476 |
{ ac_try='test -s conftest.$ac_objext' |
3613 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3614 |
|| test ! -s conftest.err' |
3615 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3616 |
(eval $ac_try) 2>&5 |
3617 |
ac_status=$? |
3618 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3619 |
(exit $ac_status); }; } && |
3620 |
{ ac_try='test -s conftest.$ac_objext' |
3477 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3621 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3478 |
(eval $ac_try) 2>&5 |
3622 |
(eval $ac_try) 2>&5 |
3479 |
ac_status=$? |
3623 |
ac_status=$? |
Lines 3486-3492
Link Here
|
3486 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3630 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3487 |
|
3631 |
|
3488 |
fi |
3632 |
fi |
3489 |
rm -f conftest.$ac_objext |
3633 |
rm -f conftest.err conftest.$ac_objext |
3490 |
done |
3634 |
done |
3491 |
rm -f conftest.$ac_ext conftest.$ac_objext |
3635 |
rm -f conftest.$ac_ext conftest.$ac_objext |
3492 |
CC=$ac_save_CC |
3636 |
CC=$ac_save_CC |
Lines 3514-3532
Link Here
|
3514 |
_ACEOF |
3658 |
_ACEOF |
3515 |
rm -f conftest.$ac_objext |
3659 |
rm -f conftest.$ac_objext |
3516 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3660 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3517 |
(eval $ac_compile) 2>&5 |
3661 |
(eval $ac_compile) 2>conftest.er1 |
3518 |
ac_status=$? |
3662 |
ac_status=$? |
|
|
3663 |
grep -v '^ *+' conftest.er1 >conftest.err |
3664 |
rm -f conftest.er1 |
3665 |
cat conftest.err >&5 |
3519 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3666 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3520 |
(exit $ac_status); } && |
3667 |
(exit $ac_status); } && |
3521 |
{ ac_try='test -s conftest.$ac_objext' |
3668 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3669 |
|| test ! -s conftest.err' |
3670 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3671 |
(eval $ac_try) 2>&5 |
3672 |
ac_status=$? |
3673 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3674 |
(exit $ac_status); }; } && |
3675 |
{ ac_try='test -s conftest.$ac_objext' |
3522 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3676 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3523 |
(eval $ac_try) 2>&5 |
3677 |
(eval $ac_try) 2>&5 |
3524 |
ac_status=$? |
3678 |
ac_status=$? |
3525 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3679 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3526 |
(exit $ac_status); }; }; then |
3680 |
(exit $ac_status); }; }; then |
3527 |
for ac_declaration in \ |
3681 |
for ac_declaration in \ |
3528 |
''\ |
3682 |
'' \ |
3529 |
'#include <stdlib.h>' \ |
|
|
3530 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3683 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3531 |
'extern "C" void std::exit (int); using std::exit;' \ |
3684 |
'extern "C" void std::exit (int); using std::exit;' \ |
3532 |
'extern "C" void exit (int) throw ();' \ |
3685 |
'extern "C" void exit (int) throw ();' \ |
Lines 3534-3547
Link Here
|
3534 |
'void exit (int);' |
3687 |
'void exit (int);' |
3535 |
do |
3688 |
do |
3536 |
cat >conftest.$ac_ext <<_ACEOF |
3689 |
cat >conftest.$ac_ext <<_ACEOF |
3537 |
#line $LINENO "configure" |
|
|
3538 |
/* confdefs.h. */ |
3690 |
/* confdefs.h. */ |
3539 |
_ACEOF |
3691 |
_ACEOF |
3540 |
cat confdefs.h >>conftest.$ac_ext |
3692 |
cat confdefs.h >>conftest.$ac_ext |
3541 |
cat >>conftest.$ac_ext <<_ACEOF |
3693 |
cat >>conftest.$ac_ext <<_ACEOF |
3542 |
/* end confdefs.h. */ |
3694 |
/* end confdefs.h. */ |
3543 |
#include <stdlib.h> |
|
|
3544 |
$ac_declaration |
3695 |
$ac_declaration |
|
|
3696 |
#include <stdlib.h> |
3545 |
int |
3697 |
int |
3546 |
main () |
3698 |
main () |
3547 |
{ |
3699 |
{ |
Lines 3552-3562
Link Here
|
3552 |
_ACEOF |
3704 |
_ACEOF |
3553 |
rm -f conftest.$ac_objext |
3705 |
rm -f conftest.$ac_objext |
3554 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3706 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3555 |
(eval $ac_compile) 2>&5 |
3707 |
(eval $ac_compile) 2>conftest.er1 |
3556 |
ac_status=$? |
3708 |
ac_status=$? |
|
|
3709 |
grep -v '^ *+' conftest.er1 >conftest.err |
3710 |
rm -f conftest.er1 |
3711 |
cat conftest.err >&5 |
3557 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3712 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3558 |
(exit $ac_status); } && |
3713 |
(exit $ac_status); } && |
3559 |
{ ac_try='test -s conftest.$ac_objext' |
3714 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3715 |
|| test ! -s conftest.err' |
3716 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3717 |
(eval $ac_try) 2>&5 |
3718 |
ac_status=$? |
3719 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3720 |
(exit $ac_status); }; } && |
3721 |
{ ac_try='test -s conftest.$ac_objext' |
3560 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3722 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3561 |
(eval $ac_try) 2>&5 |
3723 |
(eval $ac_try) 2>&5 |
3562 |
ac_status=$? |
3724 |
ac_status=$? |
Lines 3569-3577
Link Here
|
3569 |
|
3731 |
|
3570 |
continue |
3732 |
continue |
3571 |
fi |
3733 |
fi |
3572 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3734 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3573 |
cat >conftest.$ac_ext <<_ACEOF |
3735 |
cat >conftest.$ac_ext <<_ACEOF |
3574 |
#line $LINENO "configure" |
|
|
3575 |
/* confdefs.h. */ |
3736 |
/* confdefs.h. */ |
3576 |
_ACEOF |
3737 |
_ACEOF |
3577 |
cat confdefs.h >>conftest.$ac_ext |
3738 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3588-3598
Link Here
|
3588 |
_ACEOF |
3749 |
_ACEOF |
3589 |
rm -f conftest.$ac_objext |
3750 |
rm -f conftest.$ac_objext |
3590 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3751 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3591 |
(eval $ac_compile) 2>&5 |
3752 |
(eval $ac_compile) 2>conftest.er1 |
3592 |
ac_status=$? |
3753 |
ac_status=$? |
|
|
3754 |
grep -v '^ *+' conftest.er1 >conftest.err |
3755 |
rm -f conftest.er1 |
3756 |
cat conftest.err >&5 |
3593 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3757 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3594 |
(exit $ac_status); } && |
3758 |
(exit $ac_status); } && |
3595 |
{ ac_try='test -s conftest.$ac_objext' |
3759 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3760 |
|| test ! -s conftest.err' |
3761 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3762 |
(eval $ac_try) 2>&5 |
3763 |
ac_status=$? |
3764 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3765 |
(exit $ac_status); }; } && |
3766 |
{ ac_try='test -s conftest.$ac_objext' |
3596 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3767 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3597 |
(eval $ac_try) 2>&5 |
3768 |
(eval $ac_try) 2>&5 |
3598 |
ac_status=$? |
3769 |
ac_status=$? |
Lines 3604-3610
Link Here
|
3604 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3775 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3605 |
|
3776 |
|
3606 |
fi |
3777 |
fi |
3607 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3778 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3608 |
done |
3779 |
done |
3609 |
rm -f conftest* |
3780 |
rm -f conftest* |
3610 |
if test -n "$ac_declaration"; then |
3781 |
if test -n "$ac_declaration"; then |
Lines 3618-3624
Link Here
|
3618 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3789 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3619 |
|
3790 |
|
3620 |
fi |
3791 |
fi |
3621 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3792 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3622 |
ac_ext=c |
3793 |
ac_ext=c |
3623 |
ac_cpp='$CPP $CPPFLAGS' |
3794 |
ac_cpp='$CPP $CPPFLAGS' |
3624 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3795 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Lines 3748-3754
Link Here
|
3748 |
do |
3919 |
do |
3749 |
CC="$ac_save_CC $ac_arg" |
3920 |
CC="$ac_save_CC $ac_arg" |
3750 |
cat >conftest.$ac_ext <<_ACEOF |
3921 |
cat >conftest.$ac_ext <<_ACEOF |
3751 |
#line $LINENO "configure" |
|
|
3752 |
/* confdefs.h. */ |
3922 |
/* confdefs.h. */ |
3753 |
_ACEOF |
3923 |
_ACEOF |
3754 |
cat confdefs.h >>conftest.$ac_ext |
3924 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3795-3805
Link Here
|
3795 |
_ACEOF |
3965 |
_ACEOF |
3796 |
rm -f conftest.$ac_objext |
3966 |
rm -f conftest.$ac_objext |
3797 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3967 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3798 |
(eval $ac_compile) 2>&5 |
3968 |
(eval $ac_compile) 2>conftest.er1 |
3799 |
ac_status=$? |
3969 |
ac_status=$? |
|
|
3970 |
grep -v '^ *+' conftest.er1 >conftest.err |
3971 |
rm -f conftest.er1 |
3972 |
cat conftest.err >&5 |
3800 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3973 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3801 |
(exit $ac_status); } && |
3974 |
(exit $ac_status); } && |
3802 |
{ ac_try='test -s conftest.$ac_objext' |
3975 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
3976 |
|| test ! -s conftest.err' |
3977 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3978 |
(eval $ac_try) 2>&5 |
3979 |
ac_status=$? |
3980 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3981 |
(exit $ac_status); }; } && |
3982 |
{ ac_try='test -s conftest.$ac_objext' |
3803 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3983 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3804 |
(eval $ac_try) 2>&5 |
3984 |
(eval $ac_try) 2>&5 |
3805 |
ac_status=$? |
3985 |
ac_status=$? |
Lines 3811-3817
Link Here
|
3811 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3991 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3812 |
|
3992 |
|
3813 |
fi |
3993 |
fi |
3814 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3994 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3815 |
done |
3995 |
done |
3816 |
CC="$ac_save_CC" |
3996 |
CC="$ac_save_CC" |
3817 |
|
3997 |
|
Lines 3857-3863
Link Here
|
3857 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4037 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3858 |
# not just through cpp. "Syntax error" is here to catch this case. |
4038 |
# not just through cpp. "Syntax error" is here to catch this case. |
3859 |
cat >conftest.$ac_ext <<_ACEOF |
4039 |
cat >conftest.$ac_ext <<_ACEOF |
3860 |
#line $LINENO "configure" |
|
|
3861 |
/* confdefs.h. */ |
4040 |
/* confdefs.h. */ |
3862 |
_ACEOF |
4041 |
_ACEOF |
3863 |
cat confdefs.h >>conftest.$ac_ext |
4042 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3868-3874
Link Here
|
3868 |
#else |
4047 |
#else |
3869 |
# include <assert.h> |
4048 |
# include <assert.h> |
3870 |
#endif |
4049 |
#endif |
3871 |
Syntax error |
4050 |
Syntax error |
3872 |
_ACEOF |
4051 |
_ACEOF |
3873 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4052 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3874 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4053 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
Lines 3880-3885
Link Here
|
3880 |
(exit $ac_status); } >/dev/null; then |
4059 |
(exit $ac_status); } >/dev/null; then |
3881 |
if test -s conftest.err; then |
4060 |
if test -s conftest.err; then |
3882 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4061 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4062 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3883 |
else |
4063 |
else |
3884 |
ac_cpp_err= |
4064 |
ac_cpp_err= |
3885 |
fi |
4065 |
fi |
Lines 3900-3906
Link Here
|
3900 |
# OK, works on sane cases. Now check whether non-existent headers |
4080 |
# OK, works on sane cases. Now check whether non-existent headers |
3901 |
# can be detected and how. |
4081 |
# can be detected and how. |
3902 |
cat >conftest.$ac_ext <<_ACEOF |
4082 |
cat >conftest.$ac_ext <<_ACEOF |
3903 |
#line $LINENO "configure" |
|
|
3904 |
/* confdefs.h. */ |
4083 |
/* confdefs.h. */ |
3905 |
_ACEOF |
4084 |
_ACEOF |
3906 |
cat confdefs.h >>conftest.$ac_ext |
4085 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3918-3923
Link Here
|
3918 |
(exit $ac_status); } >/dev/null; then |
4097 |
(exit $ac_status); } >/dev/null; then |
3919 |
if test -s conftest.err; then |
4098 |
if test -s conftest.err; then |
3920 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4099 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4100 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3921 |
else |
4101 |
else |
3922 |
ac_cpp_err= |
4102 |
ac_cpp_err= |
3923 |
fi |
4103 |
fi |
Lines 3964-3970
Link Here
|
3964 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4144 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3965 |
# not just through cpp. "Syntax error" is here to catch this case. |
4145 |
# not just through cpp. "Syntax error" is here to catch this case. |
3966 |
cat >conftest.$ac_ext <<_ACEOF |
4146 |
cat >conftest.$ac_ext <<_ACEOF |
3967 |
#line $LINENO "configure" |
|
|
3968 |
/* confdefs.h. */ |
4147 |
/* confdefs.h. */ |
3969 |
_ACEOF |
4148 |
_ACEOF |
3970 |
cat confdefs.h >>conftest.$ac_ext |
4149 |
cat confdefs.h >>conftest.$ac_ext |
Lines 3975-3981
Link Here
|
3975 |
#else |
4154 |
#else |
3976 |
# include <assert.h> |
4155 |
# include <assert.h> |
3977 |
#endif |
4156 |
#endif |
3978 |
Syntax error |
4157 |
Syntax error |
3979 |
_ACEOF |
4158 |
_ACEOF |
3980 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4159 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3981 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4160 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
Lines 3987-3992
Link Here
|
3987 |
(exit $ac_status); } >/dev/null; then |
4166 |
(exit $ac_status); } >/dev/null; then |
3988 |
if test -s conftest.err; then |
4167 |
if test -s conftest.err; then |
3989 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4168 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4169 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3990 |
else |
4170 |
else |
3991 |
ac_cpp_err= |
4171 |
ac_cpp_err= |
3992 |
fi |
4172 |
fi |
Lines 4007-4013
Link Here
|
4007 |
# OK, works on sane cases. Now check whether non-existent headers |
4187 |
# OK, works on sane cases. Now check whether non-existent headers |
4008 |
# can be detected and how. |
4188 |
# can be detected and how. |
4009 |
cat >conftest.$ac_ext <<_ACEOF |
4189 |
cat >conftest.$ac_ext <<_ACEOF |
4010 |
#line $LINENO "configure" |
|
|
4011 |
/* confdefs.h. */ |
4190 |
/* confdefs.h. */ |
4012 |
_ACEOF |
4191 |
_ACEOF |
4013 |
cat confdefs.h >>conftest.$ac_ext |
4192 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4025-4030
Link Here
|
4025 |
(exit $ac_status); } >/dev/null; then |
4204 |
(exit $ac_status); } >/dev/null; then |
4026 |
if test -s conftest.err; then |
4205 |
if test -s conftest.err; then |
4027 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4206 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4207 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4028 |
else |
4208 |
else |
4029 |
ac_cpp_err= |
4209 |
ac_cpp_err= |
4030 |
fi |
4210 |
fi |
Lines 4085-4091
Link Here
|
4085 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4265 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4086 |
else |
4266 |
else |
4087 |
cat >conftest.$ac_ext <<_ACEOF |
4267 |
cat >conftest.$ac_ext <<_ACEOF |
4088 |
#line $LINENO "configure" |
|
|
4089 |
/* confdefs.h. */ |
4268 |
/* confdefs.h. */ |
4090 |
_ACEOF |
4269 |
_ACEOF |
4091 |
cat confdefs.h >>conftest.$ac_ext |
4270 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4106-4116
Link Here
|
4106 |
_ACEOF |
4285 |
_ACEOF |
4107 |
rm -f conftest.$ac_objext |
4286 |
rm -f conftest.$ac_objext |
4108 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4287 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4109 |
(eval $ac_compile) 2>&5 |
4288 |
(eval $ac_compile) 2>conftest.er1 |
4110 |
ac_status=$? |
4289 |
ac_status=$? |
|
|
4290 |
grep -v '^ *+' conftest.er1 >conftest.err |
4291 |
rm -f conftest.er1 |
4292 |
cat conftest.err >&5 |
4111 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4293 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4112 |
(exit $ac_status); } && |
4294 |
(exit $ac_status); } && |
4113 |
{ ac_try='test -s conftest.$ac_objext' |
4295 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
4296 |
|| test ! -s conftest.err' |
4297 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4298 |
(eval $ac_try) 2>&5 |
4299 |
ac_status=$? |
4300 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4301 |
(exit $ac_status); }; } && |
4302 |
{ ac_try='test -s conftest.$ac_objext' |
4114 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4303 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4115 |
(eval $ac_try) 2>&5 |
4304 |
(eval $ac_try) 2>&5 |
4116 |
ac_status=$? |
4305 |
ac_status=$? |
Lines 4123-4134
Link Here
|
4123 |
|
4312 |
|
4124 |
ac_cv_header_stdc=no |
4313 |
ac_cv_header_stdc=no |
4125 |
fi |
4314 |
fi |
4126 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4315 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4127 |
|
4316 |
|
4128 |
if test $ac_cv_header_stdc = yes; then |
4317 |
if test $ac_cv_header_stdc = yes; then |
4129 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4318 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4130 |
cat >conftest.$ac_ext <<_ACEOF |
4319 |
cat >conftest.$ac_ext <<_ACEOF |
4131 |
#line $LINENO "configure" |
|
|
4132 |
/* confdefs.h. */ |
4320 |
/* confdefs.h. */ |
4133 |
_ACEOF |
4321 |
_ACEOF |
4134 |
cat confdefs.h >>conftest.$ac_ext |
4322 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4150-4156
Link Here
|
4150 |
if test $ac_cv_header_stdc = yes; then |
4338 |
if test $ac_cv_header_stdc = yes; then |
4151 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4339 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4152 |
cat >conftest.$ac_ext <<_ACEOF |
4340 |
cat >conftest.$ac_ext <<_ACEOF |
4153 |
#line $LINENO "configure" |
|
|
4154 |
/* confdefs.h. */ |
4341 |
/* confdefs.h. */ |
4155 |
_ACEOF |
4342 |
_ACEOF |
4156 |
cat confdefs.h >>conftest.$ac_ext |
4343 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4175-4181
Link Here
|
4175 |
: |
4362 |
: |
4176 |
else |
4363 |
else |
4177 |
cat >conftest.$ac_ext <<_ACEOF |
4364 |
cat >conftest.$ac_ext <<_ACEOF |
4178 |
#line $LINENO "configure" |
|
|
4179 |
/* confdefs.h. */ |
4365 |
/* confdefs.h. */ |
4180 |
_ACEOF |
4366 |
_ACEOF |
4181 |
cat confdefs.h >>conftest.$ac_ext |
4367 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4187-4195
Link Here
|
4187 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4373 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4188 |
#else |
4374 |
#else |
4189 |
# define ISLOWER(c) \ |
4375 |
# define ISLOWER(c) \ |
4190 |
(('a' <= (c) && (c) <= 'i') \ |
4376 |
(('a' <= (c) && (c) <= 'i') \ |
4191 |
|| ('j' <= (c) && (c) <= 'r') \ |
4377 |
|| ('j' <= (c) && (c) <= 'r') \ |
4192 |
|| ('s' <= (c) && (c) <= 'z')) |
4378 |
|| ('s' <= (c) && (c) <= 'z')) |
4193 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4379 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4194 |
#endif |
4380 |
#endif |
4195 |
|
4381 |
|
Lines 4200-4206
Link Here
|
4200 |
int i; |
4386 |
int i; |
4201 |
for (i = 0; i < 256; i++) |
4387 |
for (i = 0; i < 256; i++) |
4202 |
if (XOR (islower (i), ISLOWER (i)) |
4388 |
if (XOR (islower (i), ISLOWER (i)) |
4203 |
|| toupper (i) != TOUPPER (i)) |
4389 |
|| toupper (i) != TOUPPER (i)) |
4204 |
exit(2); |
4390 |
exit(2); |
4205 |
exit (0); |
4391 |
exit (0); |
4206 |
} |
4392 |
} |
Lines 4225-4231
Link Here
|
4225 |
( exit $ac_status ) |
4411 |
( exit $ac_status ) |
4226 |
ac_cv_header_stdc=no |
4412 |
ac_cv_header_stdc=no |
4227 |
fi |
4413 |
fi |
4228 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4414 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4229 |
fi |
4415 |
fi |
4230 |
fi |
4416 |
fi |
4231 |
fi |
4417 |
fi |
Lines 4267-4273
Link Here
|
4267 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4453 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4268 |
# not just through cpp. "Syntax error" is here to catch this case. |
4454 |
# not just through cpp. "Syntax error" is here to catch this case. |
4269 |
cat >conftest.$ac_ext <<_ACEOF |
4455 |
cat >conftest.$ac_ext <<_ACEOF |
4270 |
#line $LINENO "configure" |
|
|
4271 |
/* confdefs.h. */ |
4456 |
/* confdefs.h. */ |
4272 |
_ACEOF |
4457 |
_ACEOF |
4273 |
cat confdefs.h >>conftest.$ac_ext |
4458 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4278-4284
Link Here
|
4278 |
#else |
4463 |
#else |
4279 |
# include <assert.h> |
4464 |
# include <assert.h> |
4280 |
#endif |
4465 |
#endif |
4281 |
Syntax error |
4466 |
Syntax error |
4282 |
_ACEOF |
4467 |
_ACEOF |
4283 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4468 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4284 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4469 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
Lines 4290-4295
Link Here
|
4290 |
(exit $ac_status); } >/dev/null; then |
4475 |
(exit $ac_status); } >/dev/null; then |
4291 |
if test -s conftest.err; then |
4476 |
if test -s conftest.err; then |
4292 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4477 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4478 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4293 |
else |
4479 |
else |
4294 |
ac_cpp_err= |
4480 |
ac_cpp_err= |
4295 |
fi |
4481 |
fi |
Lines 4310-4316
Link Here
|
4310 |
# OK, works on sane cases. Now check whether non-existent headers |
4496 |
# OK, works on sane cases. Now check whether non-existent headers |
4311 |
# can be detected and how. |
4497 |
# can be detected and how. |
4312 |
cat >conftest.$ac_ext <<_ACEOF |
4498 |
cat >conftest.$ac_ext <<_ACEOF |
4313 |
#line $LINENO "configure" |
|
|
4314 |
/* confdefs.h. */ |
4499 |
/* confdefs.h. */ |
4315 |
_ACEOF |
4500 |
_ACEOF |
4316 |
cat confdefs.h >>conftest.$ac_ext |
4501 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4328-4333
Link Here
|
4328 |
(exit $ac_status); } >/dev/null; then |
4513 |
(exit $ac_status); } >/dev/null; then |
4329 |
if test -s conftest.err; then |
4514 |
if test -s conftest.err; then |
4330 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4515 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4516 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4331 |
else |
4517 |
else |
4332 |
ac_cpp_err= |
4518 |
ac_cpp_err= |
4333 |
fi |
4519 |
fi |
Lines 4374-4380
Link Here
|
4374 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4560 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4375 |
# not just through cpp. "Syntax error" is here to catch this case. |
4561 |
# not just through cpp. "Syntax error" is here to catch this case. |
4376 |
cat >conftest.$ac_ext <<_ACEOF |
4562 |
cat >conftest.$ac_ext <<_ACEOF |
4377 |
#line $LINENO "configure" |
|
|
4378 |
/* confdefs.h. */ |
4563 |
/* confdefs.h. */ |
4379 |
_ACEOF |
4564 |
_ACEOF |
4380 |
cat confdefs.h >>conftest.$ac_ext |
4565 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4385-4391
Link Here
|
4385 |
#else |
4570 |
#else |
4386 |
# include <assert.h> |
4571 |
# include <assert.h> |
4387 |
#endif |
4572 |
#endif |
4388 |
Syntax error |
4573 |
Syntax error |
4389 |
_ACEOF |
4574 |
_ACEOF |
4390 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4575 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4391 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4576 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
Lines 4397-4402
Link Here
|
4397 |
(exit $ac_status); } >/dev/null; then |
4582 |
(exit $ac_status); } >/dev/null; then |
4398 |
if test -s conftest.err; then |
4583 |
if test -s conftest.err; then |
4399 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4584 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4585 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4400 |
else |
4586 |
else |
4401 |
ac_cpp_err= |
4587 |
ac_cpp_err= |
4402 |
fi |
4588 |
fi |
Lines 4417-4423
Link Here
|
4417 |
# OK, works on sane cases. Now check whether non-existent headers |
4603 |
# OK, works on sane cases. Now check whether non-existent headers |
4418 |
# can be detected and how. |
4604 |
# can be detected and how. |
4419 |
cat >conftest.$ac_ext <<_ACEOF |
4605 |
cat >conftest.$ac_ext <<_ACEOF |
4420 |
#line $LINENO "configure" |
|
|
4421 |
/* confdefs.h. */ |
4606 |
/* confdefs.h. */ |
4422 |
_ACEOF |
4607 |
_ACEOF |
4423 |
cat confdefs.h >>conftest.$ac_ext |
4608 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4435-4440
Link Here
|
4435 |
(exit $ac_status); } >/dev/null; then |
4620 |
(exit $ac_status); } >/dev/null; then |
4436 |
if test -s conftest.err; then |
4621 |
if test -s conftest.err; then |
4437 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4622 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
4623 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4438 |
else |
4624 |
else |
4439 |
ac_cpp_err= |
4625 |
ac_cpp_err= |
4440 |
fi |
4626 |
fi |
Lines 4592-4598
Link Here
|
4592 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4778 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4593 |
else |
4779 |
else |
4594 |
cat >conftest.$ac_ext <<_ACEOF |
4780 |
cat >conftest.$ac_ext <<_ACEOF |
4595 |
#line $LINENO "configure" |
|
|
4596 |
/* confdefs.h. */ |
4781 |
/* confdefs.h. */ |
4597 |
_ACEOF |
4782 |
_ACEOF |
4598 |
cat confdefs.h >>conftest.$ac_ext |
4783 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4612-4622
Link Here
|
4612 |
_ACEOF |
4797 |
_ACEOF |
4613 |
rm -f conftest.$ac_objext |
4798 |
rm -f conftest.$ac_objext |
4614 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4799 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4615 |
(eval $ac_compile) 2>&5 |
4800 |
(eval $ac_compile) 2>conftest.er1 |
4616 |
ac_status=$? |
4801 |
ac_status=$? |
|
|
4802 |
grep -v '^ *+' conftest.er1 >conftest.err |
4803 |
rm -f conftest.er1 |
4804 |
cat conftest.err >&5 |
4617 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4805 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4618 |
(exit $ac_status); } && |
4806 |
(exit $ac_status); } && |
4619 |
{ ac_try='test -s conftest.$ac_objext' |
4807 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4808 |
|| test ! -s conftest.err' |
4809 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4810 |
(eval $ac_try) 2>&5 |
4811 |
ac_status=$? |
4812 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4813 |
(exit $ac_status); }; } && |
4814 |
{ ac_try='test -s conftest.$ac_objext' |
4620 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4815 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4621 |
(eval $ac_try) 2>&5 |
4816 |
(eval $ac_try) 2>&5 |
4622 |
ac_status=$? |
4817 |
ac_status=$? |
Lines 4629-4635
Link Here
|
4629 |
|
4824 |
|
4630 |
ac_compiler_gnu=no |
4825 |
ac_compiler_gnu=no |
4631 |
fi |
4826 |
fi |
4632 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4827 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4633 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4828 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4634 |
|
4829 |
|
4635 |
fi |
4830 |
fi |
Lines 4645-4651
Link Here
|
4645 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4840 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4646 |
else |
4841 |
else |
4647 |
cat >conftest.$ac_ext <<_ACEOF |
4842 |
cat >conftest.$ac_ext <<_ACEOF |
4648 |
#line $LINENO "configure" |
|
|
4649 |
/* confdefs.h. */ |
4843 |
/* confdefs.h. */ |
4650 |
_ACEOF |
4844 |
_ACEOF |
4651 |
cat confdefs.h >>conftest.$ac_ext |
4845 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4662-4672
Link Here
|
4662 |
_ACEOF |
4856 |
_ACEOF |
4663 |
rm -f conftest.$ac_objext |
4857 |
rm -f conftest.$ac_objext |
4664 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4858 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4665 |
(eval $ac_compile) 2>&5 |
4859 |
(eval $ac_compile) 2>conftest.er1 |
4666 |
ac_status=$? |
4860 |
ac_status=$? |
|
|
4861 |
grep -v '^ *+' conftest.er1 >conftest.err |
4862 |
rm -f conftest.er1 |
4863 |
cat conftest.err >&5 |
4667 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4864 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4668 |
(exit $ac_status); } && |
4865 |
(exit $ac_status); } && |
4669 |
{ ac_try='test -s conftest.$ac_objext' |
4866 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4867 |
|| test ! -s conftest.err' |
4868 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4869 |
(eval $ac_try) 2>&5 |
4870 |
ac_status=$? |
4871 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4872 |
(exit $ac_status); }; } && |
4873 |
{ ac_try='test -s conftest.$ac_objext' |
4670 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4874 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4671 |
(eval $ac_try) 2>&5 |
4875 |
(eval $ac_try) 2>&5 |
4672 |
ac_status=$? |
4876 |
ac_status=$? |
Lines 4679-4685
Link Here
|
4679 |
|
4883 |
|
4680 |
ac_cv_prog_cxx_g=no |
4884 |
ac_cv_prog_cxx_g=no |
4681 |
fi |
4885 |
fi |
4682 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4886 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4683 |
fi |
4887 |
fi |
4684 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4888 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4685 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
4889 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
Lines 4699-4706
Link Here
|
4699 |
fi |
4903 |
fi |
4700 |
fi |
4904 |
fi |
4701 |
for ac_declaration in \ |
4905 |
for ac_declaration in \ |
4702 |
''\ |
4906 |
'' \ |
4703 |
'#include <stdlib.h>' \ |
|
|
4704 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
4907 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
4705 |
'extern "C" void std::exit (int); using std::exit;' \ |
4908 |
'extern "C" void std::exit (int); using std::exit;' \ |
4706 |
'extern "C" void exit (int) throw ();' \ |
4909 |
'extern "C" void exit (int) throw ();' \ |
Lines 4708-4721
Link Here
|
4708 |
'void exit (int);' |
4911 |
'void exit (int);' |
4709 |
do |
4912 |
do |
4710 |
cat >conftest.$ac_ext <<_ACEOF |
4913 |
cat >conftest.$ac_ext <<_ACEOF |
4711 |
#line $LINENO "configure" |
|
|
4712 |
/* confdefs.h. */ |
4914 |
/* confdefs.h. */ |
4713 |
_ACEOF |
4915 |
_ACEOF |
4714 |
cat confdefs.h >>conftest.$ac_ext |
4916 |
cat confdefs.h >>conftest.$ac_ext |
4715 |
cat >>conftest.$ac_ext <<_ACEOF |
4917 |
cat >>conftest.$ac_ext <<_ACEOF |
4716 |
/* end confdefs.h. */ |
4918 |
/* end confdefs.h. */ |
4717 |
#include <stdlib.h> |
|
|
4718 |
$ac_declaration |
4919 |
$ac_declaration |
|
|
4920 |
#include <stdlib.h> |
4719 |
int |
4921 |
int |
4720 |
main () |
4922 |
main () |
4721 |
{ |
4923 |
{ |
Lines 4726-4736
Link Here
|
4726 |
_ACEOF |
4928 |
_ACEOF |
4727 |
rm -f conftest.$ac_objext |
4929 |
rm -f conftest.$ac_objext |
4728 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4930 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4729 |
(eval $ac_compile) 2>&5 |
4931 |
(eval $ac_compile) 2>conftest.er1 |
4730 |
ac_status=$? |
4932 |
ac_status=$? |
|
|
4933 |
grep -v '^ *+' conftest.er1 >conftest.err |
4934 |
rm -f conftest.er1 |
4935 |
cat conftest.err >&5 |
4731 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4936 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4732 |
(exit $ac_status); } && |
4937 |
(exit $ac_status); } && |
4733 |
{ ac_try='test -s conftest.$ac_objext' |
4938 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4939 |
|| test ! -s conftest.err' |
4940 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4941 |
(eval $ac_try) 2>&5 |
4942 |
ac_status=$? |
4943 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4944 |
(exit $ac_status); }; } && |
4945 |
{ ac_try='test -s conftest.$ac_objext' |
4734 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4946 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4735 |
(eval $ac_try) 2>&5 |
4947 |
(eval $ac_try) 2>&5 |
4736 |
ac_status=$? |
4948 |
ac_status=$? |
Lines 4743-4751
Link Here
|
4743 |
|
4955 |
|
4744 |
continue |
4956 |
continue |
4745 |
fi |
4957 |
fi |
4746 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4958 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4747 |
cat >conftest.$ac_ext <<_ACEOF |
4959 |
cat >conftest.$ac_ext <<_ACEOF |
4748 |
#line $LINENO "configure" |
|
|
4749 |
/* confdefs.h. */ |
4960 |
/* confdefs.h. */ |
4750 |
_ACEOF |
4961 |
_ACEOF |
4751 |
cat confdefs.h >>conftest.$ac_ext |
4962 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4762-4772
Link Here
|
4762 |
_ACEOF |
4973 |
_ACEOF |
4763 |
rm -f conftest.$ac_objext |
4974 |
rm -f conftest.$ac_objext |
4764 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4975 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4765 |
(eval $ac_compile) 2>&5 |
4976 |
(eval $ac_compile) 2>conftest.er1 |
4766 |
ac_status=$? |
4977 |
ac_status=$? |
|
|
4978 |
grep -v '^ *+' conftest.er1 >conftest.err |
4979 |
rm -f conftest.er1 |
4980 |
cat conftest.err >&5 |
4767 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4981 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4768 |
(exit $ac_status); } && |
4982 |
(exit $ac_status); } && |
4769 |
{ ac_try='test -s conftest.$ac_objext' |
4983 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4984 |
|| test ! -s conftest.err' |
4985 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4986 |
(eval $ac_try) 2>&5 |
4987 |
ac_status=$? |
4988 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4989 |
(exit $ac_status); }; } && |
4990 |
{ ac_try='test -s conftest.$ac_objext' |
4770 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4991 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4771 |
(eval $ac_try) 2>&5 |
4992 |
(eval $ac_try) 2>&5 |
4772 |
ac_status=$? |
4993 |
ac_status=$? |
Lines 4778-4784
Link Here
|
4778 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4999 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4779 |
|
5000 |
|
4780 |
fi |
5001 |
fi |
4781 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5002 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4782 |
done |
5003 |
done |
4783 |
rm -f conftest* |
5004 |
rm -f conftest* |
4784 |
if test -n "$ac_declaration"; then |
5005 |
if test -n "$ac_declaration"; then |
Lines 4919-4925
Link Here
|
4919 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5140 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4920 |
# not just through cpp. "Syntax error" is here to catch this case. |
5141 |
# not just through cpp. "Syntax error" is here to catch this case. |
4921 |
cat >conftest.$ac_ext <<_ACEOF |
5142 |
cat >conftest.$ac_ext <<_ACEOF |
4922 |
#line $LINENO "configure" |
|
|
4923 |
/* confdefs.h. */ |
5143 |
/* confdefs.h. */ |
4924 |
_ACEOF |
5144 |
_ACEOF |
4925 |
cat confdefs.h >>conftest.$ac_ext |
5145 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4930-4936
Link Here
|
4930 |
#else |
5150 |
#else |
4931 |
# include <assert.h> |
5151 |
# include <assert.h> |
4932 |
#endif |
5152 |
#endif |
4933 |
Syntax error |
5153 |
Syntax error |
4934 |
_ACEOF |
5154 |
_ACEOF |
4935 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5155 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4936 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5156 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
Lines 4942-4947
Link Here
|
4942 |
(exit $ac_status); } >/dev/null; then |
5162 |
(exit $ac_status); } >/dev/null; then |
4943 |
if test -s conftest.err; then |
5163 |
if test -s conftest.err; then |
4944 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5164 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5165 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
4945 |
else |
5166 |
else |
4946 |
ac_cpp_err= |
5167 |
ac_cpp_err= |
4947 |
fi |
5168 |
fi |
Lines 4962-4968
Link Here
|
4962 |
# OK, works on sane cases. Now check whether non-existent headers |
5183 |
# OK, works on sane cases. Now check whether non-existent headers |
4963 |
# can be detected and how. |
5184 |
# can be detected and how. |
4964 |
cat >conftest.$ac_ext <<_ACEOF |
5185 |
cat >conftest.$ac_ext <<_ACEOF |
4965 |
#line $LINENO "configure" |
|
|
4966 |
/* confdefs.h. */ |
5186 |
/* confdefs.h. */ |
4967 |
_ACEOF |
5187 |
_ACEOF |
4968 |
cat confdefs.h >>conftest.$ac_ext |
5188 |
cat confdefs.h >>conftest.$ac_ext |
Lines 4980-4985
Link Here
|
4980 |
(exit $ac_status); } >/dev/null; then |
5200 |
(exit $ac_status); } >/dev/null; then |
4981 |
if test -s conftest.err; then |
5201 |
if test -s conftest.err; then |
4982 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5202 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5203 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
4983 |
else |
5204 |
else |
4984 |
ac_cpp_err= |
5205 |
ac_cpp_err= |
4985 |
fi |
5206 |
fi |
Lines 5026-5032
Link Here
|
5026 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5247 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5027 |
# not just through cpp. "Syntax error" is here to catch this case. |
5248 |
# not just through cpp. "Syntax error" is here to catch this case. |
5028 |
cat >conftest.$ac_ext <<_ACEOF |
5249 |
cat >conftest.$ac_ext <<_ACEOF |
5029 |
#line $LINENO "configure" |
|
|
5030 |
/* confdefs.h. */ |
5250 |
/* confdefs.h. */ |
5031 |
_ACEOF |
5251 |
_ACEOF |
5032 |
cat confdefs.h >>conftest.$ac_ext |
5252 |
cat confdefs.h >>conftest.$ac_ext |
Lines 5037-5043
Link Here
|
5037 |
#else |
5257 |
#else |
5038 |
# include <assert.h> |
5258 |
# include <assert.h> |
5039 |
#endif |
5259 |
#endif |
5040 |
Syntax error |
5260 |
Syntax error |
5041 |
_ACEOF |
5261 |
_ACEOF |
5042 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5262 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5043 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5263 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
Lines 5049-5054
Link Here
|
5049 |
(exit $ac_status); } >/dev/null; then |
5269 |
(exit $ac_status); } >/dev/null; then |
5050 |
if test -s conftest.err; then |
5270 |
if test -s conftest.err; then |
5051 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5271 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5272 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5052 |
else |
5273 |
else |
5053 |
ac_cpp_err= |
5274 |
ac_cpp_err= |
5054 |
fi |
5275 |
fi |
Lines 5069-5075
Link Here
|
5069 |
# OK, works on sane cases. Now check whether non-existent headers |
5290 |
# OK, works on sane cases. Now check whether non-existent headers |
5070 |
# can be detected and how. |
5291 |
# can be detected and how. |
5071 |
cat >conftest.$ac_ext <<_ACEOF |
5292 |
cat >conftest.$ac_ext <<_ACEOF |
5072 |
#line $LINENO "configure" |
|
|
5073 |
/* confdefs.h. */ |
5293 |
/* confdefs.h. */ |
5074 |
_ACEOF |
5294 |
_ACEOF |
5075 |
cat confdefs.h >>conftest.$ac_ext |
5295 |
cat confdefs.h >>conftest.$ac_ext |
Lines 5087-5092
Link Here
|
5087 |
(exit $ac_status); } >/dev/null; then |
5307 |
(exit $ac_status); } >/dev/null; then |
5088 |
if test -s conftest.err; then |
5308 |
if test -s conftest.err; then |
5089 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5309 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5310 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5090 |
else |
5311 |
else |
5091 |
ac_cpp_err= |
5312 |
ac_cpp_err= |
5092 |
fi |
5313 |
fi |
Lines 5276-5282
Link Here
|
5276 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
5497 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
5277 |
# along with /bin/sed that truncates output. |
5498 |
# along with /bin/sed that truncates output. |
5278 |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
5499 |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
5279 |
test ! -f $lt_ac_sed && break |
5500 |
test ! -f $lt_ac_sed && continue |
5280 |
cat /dev/null > conftest.in |
5501 |
cat /dev/null > conftest.in |
5281 |
lt_ac_count=0 |
5502 |
lt_ac_count=0 |
5282 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
5503 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
Lines 5301-5310
Link Here
|
5301 |
fi |
5522 |
fi |
5302 |
done |
5523 |
done |
5303 |
done |
5524 |
done |
5304 |
SED=$lt_cv_path_SED |
|
|
5305 |
|
5525 |
|
5306 |
fi |
5526 |
fi |
5307 |
|
5527 |
|
|
|
5528 |
SED=$lt_cv_path_SED |
5308 |
echo "$as_me:$LINENO: result: $SED" >&5 |
5529 |
echo "$as_me:$LINENO: result: $SED" >&5 |
5309 |
echo "${ECHO_T}$SED" >&6 |
5530 |
echo "${ECHO_T}$SED" >&6 |
5310 |
|
5531 |
|
Lines 5332-5338
Link Here
|
5332 |
# Accept absolute paths. |
5553 |
# Accept absolute paths. |
5333 |
[\\/]* | ?:[\\/]*) |
5554 |
[\\/]* | ?:[\\/]*) |
5334 |
re_direlt='/[^/][^/]*/\.\./' |
5555 |
re_direlt='/[^/][^/]*/\.\./' |
5335 |
# Canonicalize the path of ld |
5556 |
# Canonicalize the pathname of ld |
5336 |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
5557 |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
5337 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
5558 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
5338 |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
5559 |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
Lines 5430-5435
Link Here
|
5430 |
*) reload_flag=" $reload_flag" ;; |
5651 |
*) reload_flag=" $reload_flag" ;; |
5431 |
esac |
5652 |
esac |
5432 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5653 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
|
5654 |
case $host_os in |
5655 |
darwin*) |
5656 |
if test "$GCC" = yes; then |
5657 |
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' |
5658 |
else |
5659 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5660 |
fi |
5661 |
;; |
5662 |
esac |
5433 |
|
5663 |
|
5434 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
5664 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
5435 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
5665 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
Lines 5516-5555
Link Here
|
5516 |
lt_cv_deplibs_check_method=pass_all |
5746 |
lt_cv_deplibs_check_method=pass_all |
5517 |
;; |
5747 |
;; |
5518 |
|
5748 |
|
5519 |
bsdi4*) |
5749 |
bsdi[45]*) |
5520 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
5750 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
5521 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
5751 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
5522 |
lt_cv_file_magic_test_file=/shlib/libc.so |
5752 |
lt_cv_file_magic_test_file=/shlib/libc.so |
5523 |
;; |
5753 |
;; |
5524 |
|
5754 |
|
5525 |
cygwin* | mingw* | pw32*) |
5755 |
cygwin*) |
5526 |
# win32_libid is a shell function defined in ltmain.sh |
5756 |
# func_win32_libid is a shell function defined in ltmain.sh |
5527 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5757 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5528 |
lt_cv_file_magic_cmd='win32_libid' |
5758 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
|
5759 |
;; |
5760 |
|
5761 |
mingw* | pw32*) |
5762 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
5763 |
# func_win32_libid shell function, so use a weaker test based on 'objdump'. |
5764 |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
5765 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5529 |
;; |
5766 |
;; |
5530 |
|
5767 |
|
5531 |
darwin* | rhapsody*) |
5768 |
darwin* | rhapsody*) |
5532 |
# this will be overwritten by pass_all, but leave it in just in case |
|
|
5533 |
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
5534 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
5535 |
case "$host_os" in |
5536 |
rhapsody* | darwin1.[012]) |
5537 |
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` |
5538 |
;; |
5539 |
*) # Darwin 1.3 on |
5540 |
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' |
5541 |
;; |
5542 |
esac |
5543 |
lt_cv_deplibs_check_method=pass_all |
5769 |
lt_cv_deplibs_check_method=pass_all |
5544 |
;; |
5770 |
;; |
5545 |
|
5771 |
|
5546 |
freebsd*) |
5772 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
5547 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
5773 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
5548 |
case $host_cpu in |
5774 |
case $host_cpu in |
5549 |
i*86 ) |
5775 |
i*86 ) |
5550 |
# Not sure whether the presence of OpenBSD here was a mistake. |
5776 |
# Not sure whether the presence of OpenBSD here was a mistake. |
5551 |
# Let's accept both of them until this is cleared up. |
5777 |
# Let's accept both of them until this is cleared up. |
5552 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
5778 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
5553 |
lt_cv_file_magic_cmd=/usr/bin/file |
5779 |
lt_cv_file_magic_cmd=/usr/bin/file |
5554 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
5780 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
5555 |
;; |
5781 |
;; |
Lines 5582-5617
Link Here
|
5582 |
;; |
5808 |
;; |
5583 |
|
5809 |
|
5584 |
irix5* | irix6* | nonstopux*) |
5810 |
irix5* | irix6* | nonstopux*) |
5585 |
case $host_os in |
5811 |
case $LD in |
5586 |
irix5* | nonstopux*) |
5812 |
*-32|*"-32 ") libmagic=32-bit;; |
5587 |
# this will be overridden with pass_all, but let us keep it just in case |
5813 |
*-n32|*"-n32 ") libmagic=N32;; |
5588 |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
5814 |
*-64|*"-64 ") libmagic=64-bit;; |
5589 |
;; |
5815 |
*) libmagic=never-match;; |
5590 |
*) |
|
|
5591 |
case $LD in |
5592 |
*-32|*"-32 ") libmagic=32-bit;; |
5593 |
*-n32|*"-n32 ") libmagic=N32;; |
5594 |
*-64|*"-64 ") libmagic=64-bit;; |
5595 |
*) libmagic=never-match;; |
5596 |
esac |
5597 |
# this will be overridden with pass_all, but let us keep it just in case |
5598 |
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" |
5599 |
;; |
5600 |
esac |
5816 |
esac |
5601 |
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` |
|
|
5602 |
lt_cv_deplibs_check_method=pass_all |
5817 |
lt_cv_deplibs_check_method=pass_all |
5603 |
;; |
5818 |
;; |
5604 |
|
5819 |
|
5605 |
# This must be Linux ELF. |
5820 |
# This must be Linux ELF. |
5606 |
linux*) |
5821 |
linux*) |
5607 |
case $host_cpu in |
5822 |
lt_cv_deplibs_check_method=pass_all |
5608 |
alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64) |
|
|
5609 |
lt_cv_deplibs_check_method=pass_all ;; |
5610 |
*) |
5611 |
# glibc up to 2.1.1 does not perform some relocations on ARM |
5612 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
5613 |
esac |
5614 |
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
5615 |
;; |
5823 |
;; |
5616 |
|
5824 |
|
5617 |
netbsd*) |
5825 |
netbsd*) |
Lines 5628-5651
Link Here
|
5628 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
5836 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
5629 |
;; |
5837 |
;; |
5630 |
|
5838 |
|
5631 |
nto-qnx) |
5839 |
nto-qnx*) |
5632 |
lt_cv_deplibs_check_method=unknown |
5840 |
lt_cv_deplibs_check_method=unknown |
5633 |
;; |
5841 |
;; |
5634 |
|
5842 |
|
5635 |
openbsd*) |
5843 |
openbsd*) |
5636 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
|
5637 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
5638 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
5844 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
5639 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
5845 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
5640 |
else |
5846 |
else |
5641 |
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' |
5847 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5642 |
fi |
5848 |
fi |
5643 |
;; |
5849 |
;; |
5644 |
|
5850 |
|
5645 |
osf3* | osf4* | osf5*) |
5851 |
osf3* | osf4* | osf5*) |
5646 |
# this will be overridden with pass_all, but let us keep it just in case |
|
|
5647 |
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
5648 |
lt_cv_file_magic_test_file=/shlib/libc.so |
5649 |
lt_cv_deplibs_check_method=pass_all |
5852 |
lt_cv_deplibs_check_method=pass_all |
5650 |
;; |
5853 |
;; |
5651 |
|
5854 |
|
Lines 5655-5661
Link Here
|
5655 |
|
5858 |
|
5656 |
solaris*) |
5859 |
solaris*) |
5657 |
lt_cv_deplibs_check_method=pass_all |
5860 |
lt_cv_deplibs_check_method=pass_all |
5658 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
|
5659 |
;; |
5861 |
;; |
5660 |
|
5862 |
|
5661 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
5863 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
Lines 5734-5740
Link Here
|
5734 |
;; |
5936 |
;; |
5735 |
*-*-irix6*) |
5937 |
*-*-irix6*) |
5736 |
# Find out which ABI we are using. |
5938 |
# Find out which ABI we are using. |
5737 |
echo '#line 5737 "configure"' > conftest.$ac_ext |
5939 |
echo '#line 5939 "configure"' > conftest.$ac_ext |
5738 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5940 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5739 |
(eval $ac_compile) 2>&5 |
5941 |
(eval $ac_compile) 2>&5 |
5740 |
ac_status=$? |
5942 |
ac_status=$? |
Lines 5815-5820
Link Here
|
5815 |
rm -rf conftest* |
6017 |
rm -rf conftest* |
5816 |
;; |
6018 |
;; |
5817 |
|
6019 |
|
|
|
6020 |
*-*-linux*) |
6021 |
# Test if the compiler is 64bit |
6022 |
echo 'int i;' > conftest.$ac_ext |
6023 |
lt_cv_cc_64bit_output=no |
6024 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6025 |
(eval $ac_compile) 2>&5 |
6026 |
ac_status=$? |
6027 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6028 |
(exit $ac_status); }; then |
6029 |
case `/usr/bin/file conftest.$ac_objext` in |
6030 |
*"ELF 64"*) |
6031 |
lt_cv_cc_64bit_output=yes |
6032 |
;; |
6033 |
esac |
6034 |
fi |
6035 |
rm -rf conftest* |
6036 |
;; |
6037 |
|
5818 |
*-*-sco3.2v5*) |
6038 |
*-*-sco3.2v5*) |
5819 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
6039 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
5820 |
SAVE_CFLAGS="$CFLAGS" |
6040 |
SAVE_CFLAGS="$CFLAGS" |
Lines 5831-5837
Link Here
|
5831 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6051 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5832 |
|
6052 |
|
5833 |
cat >conftest.$ac_ext <<_ACEOF |
6053 |
cat >conftest.$ac_ext <<_ACEOF |
5834 |
#line $LINENO "configure" |
|
|
5835 |
/* confdefs.h. */ |
6054 |
/* confdefs.h. */ |
5836 |
_ACEOF |
6055 |
_ACEOF |
5837 |
cat confdefs.h >>conftest.$ac_ext |
6056 |
cat confdefs.h >>conftest.$ac_ext |
Lines 5848-5858
Link Here
|
5848 |
_ACEOF |
6067 |
_ACEOF |
5849 |
rm -f conftest.$ac_objext conftest$ac_exeext |
6068 |
rm -f conftest.$ac_objext conftest$ac_exeext |
5850 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6069 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5851 |
(eval $ac_link) 2>&5 |
6070 |
(eval $ac_link) 2>conftest.er1 |
5852 |
ac_status=$? |
6071 |
ac_status=$? |
|
|
6072 |
grep -v '^ *+' conftest.er1 >conftest.err |
6073 |
rm -f conftest.er1 |
6074 |
cat conftest.err >&5 |
5853 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6075 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5854 |
(exit $ac_status); } && |
6076 |
(exit $ac_status); } && |
5855 |
{ ac_try='test -s conftest$ac_exeext' |
6077 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
6078 |
|| test ! -s conftest.err' |
6079 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6080 |
(eval $ac_try) 2>&5 |
6081 |
ac_status=$? |
6082 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6083 |
(exit $ac_status); }; } && |
6084 |
{ ac_try='test -s conftest$ac_exeext' |
5856 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6085 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5857 |
(eval $ac_try) 2>&5 |
6086 |
(eval $ac_try) 2>&5 |
5858 |
ac_status=$? |
6087 |
ac_status=$? |
Lines 5865-5871
Link Here
|
5865 |
|
6094 |
|
5866 |
lt_cv_cc_needs_belf=no |
6095 |
lt_cv_cc_needs_belf=no |
5867 |
fi |
6096 |
fi |
5868 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6097 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
6098 |
conftest$ac_exeext conftest.$ac_ext |
5869 |
ac_ext=c |
6099 |
ac_ext=c |
5870 |
ac_cpp='$CPP $CPPFLAGS' |
6100 |
ac_cpp='$CPP $CPPFLAGS' |
5871 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6101 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Lines 5897-5903
Link Here
|
5897 |
|
6127 |
|
5898 |
|
6128 |
|
5899 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6129 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5900 |
inttypes.h stdint.h unistd.h |
6130 |
inttypes.h stdint.h unistd.h |
5901 |
do |
6131 |
do |
5902 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6132 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5903 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6133 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
Lines 5906-5912
Link Here
|
5906 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6136 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5907 |
else |
6137 |
else |
5908 |
cat >conftest.$ac_ext <<_ACEOF |
6138 |
cat >conftest.$ac_ext <<_ACEOF |
5909 |
#line $LINENO "configure" |
|
|
5910 |
/* confdefs.h. */ |
6139 |
/* confdefs.h. */ |
5911 |
_ACEOF |
6140 |
_ACEOF |
5912 |
cat confdefs.h >>conftest.$ac_ext |
6141 |
cat confdefs.h >>conftest.$ac_ext |
Lines 5918-5928
Link Here
|
5918 |
_ACEOF |
6147 |
_ACEOF |
5919 |
rm -f conftest.$ac_objext |
6148 |
rm -f conftest.$ac_objext |
5920 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6149 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5921 |
(eval $ac_compile) 2>&5 |
6150 |
(eval $ac_compile) 2>conftest.er1 |
5922 |
ac_status=$? |
6151 |
ac_status=$? |
|
|
6152 |
grep -v '^ *+' conftest.er1 >conftest.err |
6153 |
rm -f conftest.er1 |
6154 |
cat conftest.err >&5 |
5923 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6155 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5924 |
(exit $ac_status); } && |
6156 |
(exit $ac_status); } && |
5925 |
{ ac_try='test -s conftest.$ac_objext' |
6157 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
6158 |
|| test ! -s conftest.err' |
6159 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6160 |
(eval $ac_try) 2>&5 |
6161 |
ac_status=$? |
6162 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6163 |
(exit $ac_status); }; } && |
6164 |
{ ac_try='test -s conftest.$ac_objext' |
5926 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6165 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5927 |
(eval $ac_try) 2>&5 |
6166 |
(eval $ac_try) 2>&5 |
5928 |
ac_status=$? |
6167 |
ac_status=$? |
Lines 5935-5941
Link Here
|
5935 |
|
6174 |
|
5936 |
eval "$as_ac_Header=no" |
6175 |
eval "$as_ac_Header=no" |
5937 |
fi |
6176 |
fi |
5938 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6177 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5939 |
fi |
6178 |
fi |
5940 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6179 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5941 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6180 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
Lines 5966-5972
Link Here
|
5966 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6205 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5967 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6206 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5968 |
cat >conftest.$ac_ext <<_ACEOF |
6207 |
cat >conftest.$ac_ext <<_ACEOF |
5969 |
#line $LINENO "configure" |
|
|
5970 |
/* confdefs.h. */ |
6208 |
/* confdefs.h. */ |
5971 |
_ACEOF |
6209 |
_ACEOF |
5972 |
cat confdefs.h >>conftest.$ac_ext |
6210 |
cat confdefs.h >>conftest.$ac_ext |
Lines 5977-5987
Link Here
|
5977 |
_ACEOF |
6215 |
_ACEOF |
5978 |
rm -f conftest.$ac_objext |
6216 |
rm -f conftest.$ac_objext |
5979 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6217 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5980 |
(eval $ac_compile) 2>&5 |
6218 |
(eval $ac_compile) 2>conftest.er1 |
5981 |
ac_status=$? |
6219 |
ac_status=$? |
|
|
6220 |
grep -v '^ *+' conftest.er1 >conftest.err |
6221 |
rm -f conftest.er1 |
6222 |
cat conftest.err >&5 |
5982 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6223 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5983 |
(exit $ac_status); } && |
6224 |
(exit $ac_status); } && |
5984 |
{ ac_try='test -s conftest.$ac_objext' |
6225 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
6226 |
|| test ! -s conftest.err' |
6227 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6228 |
(eval $ac_try) 2>&5 |
6229 |
ac_status=$? |
6230 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6231 |
(exit $ac_status); }; } && |
6232 |
{ ac_try='test -s conftest.$ac_objext' |
5985 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6233 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5986 |
(eval $ac_try) 2>&5 |
6234 |
(eval $ac_try) 2>&5 |
5987 |
ac_status=$? |
6235 |
ac_status=$? |
Lines 5994-6000
Link Here
|
5994 |
|
6242 |
|
5995 |
ac_header_compiler=no |
6243 |
ac_header_compiler=no |
5996 |
fi |
6244 |
fi |
5997 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6245 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5998 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6246 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5999 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6247 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6000 |
|
6248 |
|
Lines 6002-6008
Link Here
|
6002 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6250 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6003 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6251 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6004 |
cat >conftest.$ac_ext <<_ACEOF |
6252 |
cat >conftest.$ac_ext <<_ACEOF |
6005 |
#line $LINENO "configure" |
|
|
6006 |
/* confdefs.h. */ |
6253 |
/* confdefs.h. */ |
6007 |
_ACEOF |
6254 |
_ACEOF |
6008 |
cat confdefs.h >>conftest.$ac_ext |
6255 |
cat confdefs.h >>conftest.$ac_ext |
Lines 6020-6025
Link Here
|
6020 |
(exit $ac_status); } >/dev/null; then |
6267 |
(exit $ac_status); } >/dev/null; then |
6021 |
if test -s conftest.err; then |
6268 |
if test -s conftest.err; then |
6022 |
ac_cpp_err=$ac_c_preproc_warn_flag |
6269 |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
6270 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6023 |
else |
6271 |
else |
6024 |
ac_cpp_err= |
6272 |
ac_cpp_err= |
6025 |
fi |
6273 |
fi |
Lines 6039-6071
Link Here
|
6039 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6287 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6040 |
|
6288 |
|
6041 |
# So? What about this header? |
6289 |
# So? What about this header? |
6042 |
case $ac_header_compiler:$ac_header_preproc in |
6290 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6043 |
yes:no ) |
6291 |
yes:no: ) |
6044 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6292 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6045 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6293 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6046 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6294 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6047 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6295 |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6048 |
( |
6296 |
ac_header_preproc=yes |
6049 |
cat <<\_ASBOX |
|
|
6050 |
## ------------------------------------ ## |
6051 |
## Report this to bug-autoconf@gnu.org. ## |
6052 |
## ------------------------------------ ## |
6053 |
_ASBOX |
6054 |
) | |
6055 |
sed "s/^/$as_me: WARNING: /" >&2 |
6056 |
;; |
6297 |
;; |
6057 |
no:yes ) |
6298 |
no:yes:* ) |
6058 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6299 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6059 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6300 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6060 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6301 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6061 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6302 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
6303 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6304 |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6305 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6306 |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6062 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6307 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6063 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6308 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
6309 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6310 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6064 |
( |
6311 |
( |
6065 |
cat <<\_ASBOX |
6312 |
cat <<\_ASBOX |
6066 |
## ------------------------------------ ## |
6313 |
## ------------------------------------------ ## |
6067 |
## Report this to bug-autoconf@gnu.org. ## |
6314 |
## Report this to the AC_PACKAGE_NAME lists. ## |
6068 |
## ------------------------------------ ## |
6315 |
## ------------------------------------------ ## |
6069 |
_ASBOX |
6316 |
_ASBOX |
6070 |
) | |
6317 |
) | |
6071 |
sed "s/^/$as_me: WARNING: /" >&2 |
6318 |
sed "s/^/$as_me: WARNING: /" >&2 |
Lines 6076-6082
Link Here
|
6076 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6323 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6077 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6324 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6078 |
else |
6325 |
else |
6079 |
eval "$as_ac_Header=$ac_header_preproc" |
6326 |
eval "$as_ac_Header=\$ac_header_preproc" |
6080 |
fi |
6327 |
fi |
6081 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6328 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6082 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6329 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
Lines 6092-6103
Link Here
|
6092 |
done |
6339 |
done |
6093 |
|
6340 |
|
6094 |
|
6341 |
|
|
|
6342 |
|
6343 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
6344 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
6345 |
(test "X$CXX" != "Xg++"))) ; then |
6346 |
ac_ext=cc |
6347 |
ac_cpp='$CXXCPP $CPPFLAGS' |
6348 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6349 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6350 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6351 |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
6352 |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
6353 |
if test -z "$CXXCPP"; then |
6354 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
6355 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6356 |
else |
6357 |
# Double quotes because CXXCPP needs to be expanded |
6358 |
for CXXCPP in "$CXX -E" "/lib/cpp" |
6359 |
do |
6360 |
ac_preproc_ok=false |
6361 |
for ac_cxx_preproc_warn_flag in '' yes |
6362 |
do |
6363 |
# Use a header file that comes with gcc, so configuring glibc |
6364 |
# with a fresh cross-compiler works. |
6365 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6366 |
# <limits.h> exists even on freestanding compilers. |
6367 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
6368 |
# not just through cpp. "Syntax error" is here to catch this case. |
6369 |
cat >conftest.$ac_ext <<_ACEOF |
6370 |
/* confdefs.h. */ |
6371 |
_ACEOF |
6372 |
cat confdefs.h >>conftest.$ac_ext |
6373 |
cat >>conftest.$ac_ext <<_ACEOF |
6374 |
/* end confdefs.h. */ |
6375 |
#ifdef __STDC__ |
6376 |
# include <limits.h> |
6377 |
#else |
6378 |
# include <assert.h> |
6379 |
#endif |
6380 |
Syntax error |
6381 |
_ACEOF |
6382 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6383 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6384 |
ac_status=$? |
6385 |
grep -v '^ *+' conftest.er1 >conftest.err |
6386 |
rm -f conftest.er1 |
6387 |
cat conftest.err >&5 |
6388 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6389 |
(exit $ac_status); } >/dev/null; then |
6390 |
if test -s conftest.err; then |
6391 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
6392 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6393 |
else |
6394 |
ac_cpp_err= |
6395 |
fi |
6396 |
else |
6397 |
ac_cpp_err=yes |
6398 |
fi |
6399 |
if test -z "$ac_cpp_err"; then |
6400 |
: |
6401 |
else |
6402 |
echo "$as_me: failed program was:" >&5 |
6403 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6404 |
|
6405 |
# Broken: fails on valid input. |
6406 |
continue |
6407 |
fi |
6408 |
rm -f conftest.err conftest.$ac_ext |
6409 |
|
6410 |
# OK, works on sane cases. Now check whether non-existent headers |
6411 |
# can be detected and how. |
6412 |
cat >conftest.$ac_ext <<_ACEOF |
6413 |
/* confdefs.h. */ |
6414 |
_ACEOF |
6415 |
cat confdefs.h >>conftest.$ac_ext |
6416 |
cat >>conftest.$ac_ext <<_ACEOF |
6417 |
/* end confdefs.h. */ |
6418 |
#include <ac_nonexistent.h> |
6419 |
_ACEOF |
6420 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6421 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6422 |
ac_status=$? |
6423 |
grep -v '^ *+' conftest.er1 >conftest.err |
6424 |
rm -f conftest.er1 |
6425 |
cat conftest.err >&5 |
6426 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6427 |
(exit $ac_status); } >/dev/null; then |
6428 |
if test -s conftest.err; then |
6429 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
6430 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6431 |
else |
6432 |
ac_cpp_err= |
6433 |
fi |
6434 |
else |
6435 |
ac_cpp_err=yes |
6436 |
fi |
6437 |
if test -z "$ac_cpp_err"; then |
6438 |
# Broken: success on invalid input. |
6439 |
continue |
6440 |
else |
6441 |
echo "$as_me: failed program was:" >&5 |
6442 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6443 |
|
6444 |
# Passes both tests. |
6445 |
ac_preproc_ok=: |
6446 |
break |
6447 |
fi |
6448 |
rm -f conftest.err conftest.$ac_ext |
6449 |
|
6450 |
done |
6451 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
6452 |
rm -f conftest.err conftest.$ac_ext |
6453 |
if $ac_preproc_ok; then |
6454 |
break |
6455 |
fi |
6456 |
|
6457 |
done |
6458 |
ac_cv_prog_CXXCPP=$CXXCPP |
6459 |
|
6460 |
fi |
6461 |
CXXCPP=$ac_cv_prog_CXXCPP |
6462 |
else |
6463 |
ac_cv_prog_CXXCPP=$CXXCPP |
6464 |
fi |
6465 |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
6466 |
echo "${ECHO_T}$CXXCPP" >&6 |
6467 |
ac_preproc_ok=false |
6468 |
for ac_cxx_preproc_warn_flag in '' yes |
6469 |
do |
6470 |
# Use a header file that comes with gcc, so configuring glibc |
6471 |
# with a fresh cross-compiler works. |
6472 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6473 |
# <limits.h> exists even on freestanding compilers. |
6474 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
6475 |
# not just through cpp. "Syntax error" is here to catch this case. |
6476 |
cat >conftest.$ac_ext <<_ACEOF |
6477 |
/* confdefs.h. */ |
6478 |
_ACEOF |
6479 |
cat confdefs.h >>conftest.$ac_ext |
6480 |
cat >>conftest.$ac_ext <<_ACEOF |
6481 |
/* end confdefs.h. */ |
6482 |
#ifdef __STDC__ |
6483 |
# include <limits.h> |
6484 |
#else |
6485 |
# include <assert.h> |
6486 |
#endif |
6487 |
Syntax error |
6488 |
_ACEOF |
6489 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6490 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6491 |
ac_status=$? |
6492 |
grep -v '^ *+' conftest.er1 >conftest.err |
6493 |
rm -f conftest.er1 |
6494 |
cat conftest.err >&5 |
6495 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6496 |
(exit $ac_status); } >/dev/null; then |
6497 |
if test -s conftest.err; then |
6498 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
6499 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6500 |
else |
6501 |
ac_cpp_err= |
6502 |
fi |
6503 |
else |
6504 |
ac_cpp_err=yes |
6505 |
fi |
6506 |
if test -z "$ac_cpp_err"; then |
6507 |
: |
6508 |
else |
6509 |
echo "$as_me: failed program was:" >&5 |
6510 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6511 |
|
6512 |
# Broken: fails on valid input. |
6513 |
continue |
6514 |
fi |
6515 |
rm -f conftest.err conftest.$ac_ext |
6516 |
|
6517 |
# OK, works on sane cases. Now check whether non-existent headers |
6518 |
# can be detected and how. |
6519 |
cat >conftest.$ac_ext <<_ACEOF |
6520 |
/* confdefs.h. */ |
6521 |
_ACEOF |
6522 |
cat confdefs.h >>conftest.$ac_ext |
6523 |
cat >>conftest.$ac_ext <<_ACEOF |
6524 |
/* end confdefs.h. */ |
6525 |
#include <ac_nonexistent.h> |
6526 |
_ACEOF |
6527 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6528 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6529 |
ac_status=$? |
6530 |
grep -v '^ *+' conftest.er1 >conftest.err |
6531 |
rm -f conftest.er1 |
6532 |
cat conftest.err >&5 |
6533 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6534 |
(exit $ac_status); } >/dev/null; then |
6535 |
if test -s conftest.err; then |
6536 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
6537 |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6538 |
else |
6539 |
ac_cpp_err= |
6540 |
fi |
6541 |
else |
6542 |
ac_cpp_err=yes |
6543 |
fi |
6544 |
if test -z "$ac_cpp_err"; then |
6545 |
# Broken: success on invalid input. |
6546 |
continue |
6547 |
else |
6548 |
echo "$as_me: failed program was:" >&5 |
6549 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6550 |
|
6551 |
# Passes both tests. |
6552 |
ac_preproc_ok=: |
6553 |
break |
6554 |
fi |
6555 |
rm -f conftest.err conftest.$ac_ext |
6556 |
|
6557 |
done |
6558 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
6559 |
rm -f conftest.err conftest.$ac_ext |
6560 |
if $ac_preproc_ok; then |
6561 |
: |
6562 |
else |
6563 |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
6564 |
See \`config.log' for more details." >&5 |
6565 |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
6566 |
See \`config.log' for more details." >&2;} |
6567 |
{ (exit 1); exit 1; }; } |
6568 |
fi |
6569 |
|
6570 |
ac_ext=cc |
6571 |
ac_cpp='$CXXCPP $CPPFLAGS' |
6572 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6573 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6574 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6575 |
|
6576 |
fi |
6577 |
|
6578 |
|
6095 |
ac_ext=f |
6579 |
ac_ext=f |
6096 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
6580 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
6097 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6581 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6098 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
6582 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
6099 |
if test -n "$ac_tool_prefix"; then |
6583 |
if test -n "$ac_tool_prefix"; then |
6100 |
for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 |
6584 |
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
6101 |
do |
6585 |
do |
6102 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
6586 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
6103 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
6587 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
Lines 6139-6145
Link Here
|
6139 |
fi |
6623 |
fi |
6140 |
if test -z "$F77"; then |
6624 |
if test -z "$F77"; then |
6141 |
ac_ct_F77=$F77 |
6625 |
ac_ct_F77=$F77 |
6142 |
for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 |
6626 |
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
6143 |
do |
6627 |
do |
6144 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6628 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6145 |
set dummy $ac_prog; ac_word=$2 |
6629 |
set dummy $ac_prog; ac_word=$2 |
Lines 6184-6190
Link Here
|
6184 |
|
6668 |
|
6185 |
|
6669 |
|
6186 |
# Provide some information about the compiler. |
6670 |
# Provide some information about the compiler. |
6187 |
echo "$as_me:6187:" \ |
6671 |
echo "$as_me:6671:" \ |
6188 |
"checking for Fortran 77 compiler version" >&5 |
6672 |
"checking for Fortran 77 compiler version" >&5 |
6189 |
ac_compiler=`set X $ac_compile; echo $2` |
6673 |
ac_compiler=`set X $ac_compile; echo $2` |
6190 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
6674 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
Lines 6202-6210
Link Here
|
6202 |
ac_status=$? |
6686 |
ac_status=$? |
6203 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6687 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6204 |
(exit $ac_status); } |
6688 |
(exit $ac_status); } |
|
|
6689 |
rm -f a.out |
6205 |
|
6690 |
|
6206 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
6691 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
6207 |
# input file. |
6692 |
# input file. (Note that this only needs to work for GNU compilers.) |
6208 |
ac_save_ext=$ac_ext |
6693 |
ac_save_ext=$ac_ext |
6209 |
ac_ext=F |
6694 |
ac_ext=F |
6210 |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
6695 |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
Lines 6222-6232
Link Here
|
6222 |
_ACEOF |
6707 |
_ACEOF |
6223 |
rm -f conftest.$ac_objext |
6708 |
rm -f conftest.$ac_objext |
6224 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6709 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6225 |
(eval $ac_compile) 2>&5 |
6710 |
(eval $ac_compile) 2>conftest.er1 |
6226 |
ac_status=$? |
6711 |
ac_status=$? |
|
|
6712 |
grep -v '^ *+' conftest.er1 >conftest.err |
6713 |
rm -f conftest.er1 |
6714 |
cat conftest.err >&5 |
6227 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6715 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6228 |
(exit $ac_status); } && |
6716 |
(exit $ac_status); } && |
6229 |
{ ac_try='test -s conftest.$ac_objext' |
6717 |
{ ac_try='test -z "$ac_f77_werror_flag" |
|
|
6718 |
|| test ! -s conftest.err' |
6719 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6720 |
(eval $ac_try) 2>&5 |
6721 |
ac_status=$? |
6722 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6723 |
(exit $ac_status); }; } && |
6724 |
{ ac_try='test -s conftest.$ac_objext' |
6230 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6725 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6231 |
(eval $ac_try) 2>&5 |
6726 |
(eval $ac_try) 2>&5 |
6232 |
ac_status=$? |
6727 |
ac_status=$? |
Lines 6239-6252
Link Here
|
6239 |
|
6734 |
|
6240 |
ac_compiler_gnu=no |
6735 |
ac_compiler_gnu=no |
6241 |
fi |
6736 |
fi |
6242 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6737 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6243 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
6738 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
6244 |
|
6739 |
|
6245 |
fi |
6740 |
fi |
6246 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
6741 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
6247 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
6742 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
6248 |
ac_ext=$ac_save_ext |
6743 |
ac_ext=$ac_save_ext |
6249 |
G77=`test $ac_compiler_gnu = yes && echo yes` |
|
|
6250 |
ac_test_FFLAGS=${FFLAGS+set} |
6744 |
ac_test_FFLAGS=${FFLAGS+set} |
6251 |
ac_save_FFLAGS=$FFLAGS |
6745 |
ac_save_FFLAGS=$FFLAGS |
6252 |
FFLAGS= |
6746 |
FFLAGS= |
Lines 6263-6273
Link Here
|
6263 |
_ACEOF |
6757 |
_ACEOF |
6264 |
rm -f conftest.$ac_objext |
6758 |
rm -f conftest.$ac_objext |
6265 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6759 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6266 |
(eval $ac_compile) 2>&5 |
6760 |
(eval $ac_compile) 2>conftest.er1 |
6267 |
ac_status=$? |
6761 |
ac_status=$? |
|
|
6762 |
grep -v '^ *+' conftest.er1 >conftest.err |
6763 |
rm -f conftest.er1 |
6764 |
cat conftest.err >&5 |
6268 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6765 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6269 |
(exit $ac_status); } && |
6766 |
(exit $ac_status); } && |
6270 |
{ ac_try='test -s conftest.$ac_objext' |
6767 |
{ ac_try='test -z "$ac_f77_werror_flag" |
|
|
6768 |
|| test ! -s conftest.err' |
6769 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6770 |
(eval $ac_try) 2>&5 |
6771 |
ac_status=$? |
6772 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6773 |
(exit $ac_status); }; } && |
6774 |
{ ac_try='test -s conftest.$ac_objext' |
6271 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6775 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6272 |
(eval $ac_try) 2>&5 |
6776 |
(eval $ac_try) 2>&5 |
6273 |
ac_status=$? |
6777 |
ac_status=$? |
Lines 6280-6286
Link Here
|
6280 |
|
6784 |
|
6281 |
ac_cv_prog_f77_g=no |
6785 |
ac_cv_prog_f77_g=no |
6282 |
fi |
6786 |
fi |
6283 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6787 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6284 |
|
6788 |
|
6285 |
fi |
6789 |
fi |
6286 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
6790 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
Lines 6288-6305
Link Here
|
6288 |
if test "$ac_test_FFLAGS" = set; then |
6792 |
if test "$ac_test_FFLAGS" = set; then |
6289 |
FFLAGS=$ac_save_FFLAGS |
6793 |
FFLAGS=$ac_save_FFLAGS |
6290 |
elif test $ac_cv_prog_f77_g = yes; then |
6794 |
elif test $ac_cv_prog_f77_g = yes; then |
6291 |
if test "$G77" = yes; then |
6795 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
6292 |
FFLAGS="-g -O2" |
6796 |
FFLAGS="-g -O2" |
6293 |
else |
6797 |
else |
6294 |
FFLAGS="-g" |
6798 |
FFLAGS="-g" |
6295 |
fi |
6799 |
fi |
6296 |
else |
6800 |
else |
6297 |
if test "$G77" = yes; then |
6801 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
6298 |
FFLAGS="-O2" |
6802 |
FFLAGS="-O2" |
6299 |
else |
6803 |
else |
6300 |
FFLAGS= |
6804 |
FFLAGS= |
6301 |
fi |
6805 |
fi |
6302 |
fi |
6806 |
fi |
|
|
6807 |
|
6808 |
G77=`test $ac_compiler_gnu = yes && echo yes` |
6303 |
ac_ext=c |
6809 |
ac_ext=c |
6304 |
ac_cpp='$CPP $CPPFLAGS' |
6810 |
ac_cpp='$CPP $CPPFLAGS' |
6305 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6811 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Lines 6317-6323
Link Here
|
6317 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6823 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6318 |
else |
6824 |
else |
6319 |
i=0 |
6825 |
i=0 |
6320 |
testring="ABCD" |
6826 |
teststring="ABCD" |
6321 |
|
6827 |
|
6322 |
case $build_os in |
6828 |
case $build_os in |
6323 |
msdosdjgpp*) |
6829 |
msdosdjgpp*) |
Lines 6346-6365
Link Here
|
6346 |
lt_cv_sys_max_cmd_len=8192; |
6852 |
lt_cv_sys_max_cmd_len=8192; |
6347 |
;; |
6853 |
;; |
6348 |
|
6854 |
|
6349 |
*) |
6855 |
amigaos*) |
|
|
6856 |
# On AmigaOS with pdksh, this test takes hours, literally. |
6857 |
# So we just punt and use a minimum line length of 8192. |
6858 |
lt_cv_sys_max_cmd_len=8192; |
6859 |
;; |
6860 |
|
6861 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
6862 |
# This has been around since 386BSD, at least. Likely further. |
6863 |
if test -x /sbin/sysctl; then |
6864 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
6865 |
elif test -x /usr/sbin/sysctl; then |
6866 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
6867 |
else |
6868 |
lt_cv_sys_max_cmd_len=65536 # usable default for *BSD |
6869 |
fi |
6870 |
# And add a safety zone |
6871 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
6872 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
6873 |
;; |
6874 |
osf*) |
6875 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
6876 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
6877 |
# nice to cause kernel panics so lets avoid the loop below. |
6878 |
# First set a reasonable default. |
6879 |
lt_cv_sys_max_cmd_len=16384 |
6880 |
# |
6881 |
if test -x /sbin/sysconfig; then |
6882 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
6883 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
6884 |
esac |
6885 |
fi |
6886 |
;; |
6887 |
*) |
6350 |
# If test is not a shell built-in, we'll probably end up computing a |
6888 |
# If test is not a shell built-in, we'll probably end up computing a |
6351 |
# maximum length that is only half of the actual maximum length, but |
6889 |
# maximum length that is only half of the actual maximum length, but |
6352 |
# we can't tell. |
6890 |
# we can't tell. |
6353 |
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ |
6891 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
6354 |
= "XX$testring") >/dev/null 2>&1 && |
6892 |
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
6355 |
new_result=`expr "X$testring" : ".*" 2>&1` && |
6893 |
= "XX$teststring") >/dev/null 2>&1 && |
|
|
6894 |
new_result=`expr "X$teststring" : ".*" 2>&1` && |
6356 |
lt_cv_sys_max_cmd_len=$new_result && |
6895 |
lt_cv_sys_max_cmd_len=$new_result && |
6357 |
test $i != 17 # 1/2 MB should be enough |
6896 |
test $i != 17 # 1/2 MB should be enough |
6358 |
do |
6897 |
do |
6359 |
i=`expr $i + 1` |
6898 |
i=`expr $i + 1` |
6360 |
testring=$testring$testring |
6899 |
teststring=$teststring$teststring |
6361 |
done |
6900 |
done |
6362 |
testring= |
6901 |
teststring= |
6363 |
# Add a significant safety factor because C++ compilers can tack on massive |
6902 |
# Add a significant safety factor because C++ compilers can tack on massive |
6364 |
# amounts of additional arguments before passing them to the linker. |
6903 |
# amounts of additional arguments before passing them to the linker. |
6365 |
# It appears as though 1/2 is a usable value. |
6904 |
# It appears as though 1/2 is a usable value. |
Lines 6396-6404
Link Here
|
6396 |
# Regexp to match symbols that can be accessed directly from C. |
6935 |
# Regexp to match symbols that can be accessed directly from C. |
6397 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
6936 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
6398 |
|
6937 |
|
6399 |
# Transform the above into a raw symbol and a C symbol. |
|
|
6400 |
symxfrm='\1 \2\3 \3' |
6401 |
|
6402 |
# Transform an extracted symbol line into a proper C declaration |
6938 |
# Transform an extracted symbol line into a proper C declaration |
6403 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
6939 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
6404 |
|
6940 |
|
Lines 6420-6425
Link Here
|
6420 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6956 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6421 |
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'" |
6957 |
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'" |
6422 |
;; |
6958 |
;; |
|
|
6959 |
linux*) |
6960 |
if test "$host_cpu" = ia64; then |
6961 |
symcode='[ABCDGIRSTW]' |
6962 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6963 |
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'" |
6964 |
fi |
6965 |
;; |
6423 |
irix* | nonstopux*) |
6966 |
irix* | nonstopux*) |
6424 |
symcode='[BCDEGRST]' |
6967 |
symcode='[BCDEGRST]' |
6425 |
;; |
6968 |
;; |
Lines 6427-6433
Link Here
|
6427 |
symcode='[BCDEGQRST]' |
6970 |
symcode='[BCDEGQRST]' |
6428 |
;; |
6971 |
;; |
6429 |
solaris* | sysv5*) |
6972 |
solaris* | sysv5*) |
6430 |
symcode='[BDT]' |
6973 |
symcode='[BDRT]' |
6431 |
;; |
6974 |
;; |
6432 |
sysv4) |
6975 |
sysv4) |
6433 |
symcode='[DFNSTU]' |
6976 |
symcode='[DFNSTU]' |
Lines 6445-6458
Link Here
|
6445 |
# If we're using GNU nm, then use its standard symbol codes. |
6988 |
# If we're using GNU nm, then use its standard symbol codes. |
6446 |
case `$NM -V 2>&1` in |
6989 |
case `$NM -V 2>&1` in |
6447 |
*GNU* | *'with BFD'*) |
6990 |
*GNU* | *'with BFD'*) |
6448 |
symcode='[ABCDGISTW]' ;; |
6991 |
symcode='[ABCDGIRSTW]' ;; |
6449 |
esac |
6992 |
esac |
6450 |
|
6993 |
|
6451 |
# Try without a prefix undercore, then with it. |
6994 |
# Try without a prefix undercore, then with it. |
6452 |
for ac_symprfx in "" "_"; do |
6995 |
for ac_symprfx in "" "_"; do |
6453 |
|
6996 |
|
|
|
6997 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
6998 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
6999 |
|
6454 |
# Write the raw and C identifiers. |
7000 |
# Write the raw and C identifiers. |
6455 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
7001 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6456 |
|
7002 |
|
6457 |
# Check to see that the pipe works correctly. |
7003 |
# Check to see that the pipe works correctly. |
6458 |
pipe_works=no |
7004 |
pipe_works=no |
Lines 6614-6620
Link Here
|
6614 |
|
7160 |
|
6615 |
# Sed substitution that helps us do robust quoting. It backslashifies |
7161 |
# Sed substitution that helps us do robust quoting. It backslashifies |
6616 |
# metacharacters that are still active within double-quoted strings. |
7162 |
# metacharacters that are still active within double-quoted strings. |
6617 |
Xsed='sed -e s/^X//' |
7163 |
Xsed='sed -e 1s/^X//' |
6618 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
7164 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
6619 |
|
7165 |
|
6620 |
# Same as above, but do not quote variable references. |
7166 |
# Same as above, but do not quote variable references. |
Lines 6919-6924
Link Here
|
6919 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
7465 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6920 |
fi |
7466 |
fi |
6921 |
|
7467 |
|
|
|
7468 |
for cc_temp in $compiler""; do |
7469 |
case $cc_temp in |
7470 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
7471 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
7472 |
\-*) ;; |
7473 |
*) break;; |
7474 |
esac |
7475 |
done |
7476 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
7477 |
|
7478 |
|
6922 |
# Only perform the check for file, if the check method requires it |
7479 |
# Only perform the check for file, if the check method requires it |
6923 |
case $deplibs_check_method in |
7480 |
case $deplibs_check_method in |
6924 |
file_magic*) |
7481 |
file_magic*) |
Lines 7074-7079
Link Here
|
7074 |
fi; |
7631 |
fi; |
7075 |
test -z "$pic_mode" && pic_mode=default |
7632 |
test -z "$pic_mode" && pic_mode=default |
7076 |
|
7633 |
|
|
|
7634 |
# Check if we have a version mismatch between libtool.m4 and ltmain.sh. |
7635 |
# |
7636 |
# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined. |
7637 |
# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually |
7638 |
# calls AC_LIBTOOL_CONFIG and creates libtool. |
7639 |
# |
7640 |
echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5 |
7641 |
echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6 |
7642 |
if test -z "$ltmain"; then |
7643 |
echo "$as_me:$LINENO: result: no" >&5 |
7644 |
echo "${ECHO_T}no" >&6 |
7645 |
echo |
7646 |
echo "*** Gentoo sanity check failed! ***" |
7647 |
echo "*** \$ltmain is not defined, please check the patch for consistency! ***" |
7648 |
echo |
7649 |
exit 1 |
7650 |
fi |
7651 |
gentoo_lt_version="1.5.18" |
7652 |
gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` |
7653 |
if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then |
7654 |
echo "$as_me:$LINENO: result: no" >&5 |
7655 |
echo "${ECHO_T}no" >&6 |
7656 |
echo |
7657 |
echo "*** Gentoo sanity check failed! ***" |
7658 |
echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***" |
7659 |
echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***" |
7660 |
echo |
7661 |
echo "Please run:" |
7662 |
echo |
7663 |
echo " libtoolize --copy --force" |
7664 |
echo |
7665 |
echo "if appropriate, please contact the maintainer of this" |
7666 |
echo "package (or your distribution) for help." |
7667 |
echo |
7668 |
exit 1 |
7669 |
else |
7670 |
echo "$as_me:$LINENO: result: yes" >&5 |
7671 |
echo "${ECHO_T}yes" >&6 |
7672 |
fi |
7673 |
|
7674 |
|
7077 |
# Use C for the default configuration in the libtool script |
7675 |
# Use C for the default configuration in the libtool script |
7078 |
tagname= |
7676 |
tagname= |
7079 |
lt_save_CC="$CC" |
7677 |
lt_save_CC="$CC" |
Lines 7105-7110
Link Here
|
7105 |
compiler=$CC |
7703 |
compiler=$CC |
7106 |
|
7704 |
|
7107 |
|
7705 |
|
|
|
7706 |
# save warnings/boilerplate of simple test code |
7707 |
ac_outfile=conftest.$ac_objext |
7708 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
7709 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
7710 |
_lt_compiler_boilerplate=`cat conftest.err` |
7711 |
$rm conftest* |
7712 |
|
7713 |
ac_outfile=conftest.$ac_objext |
7714 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
7715 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
7716 |
_lt_linker_boilerplate=`cat conftest.err` |
7717 |
$rm conftest* |
7718 |
|
7719 |
|
7108 |
# |
7720 |
# |
7109 |
# Check for any special shared library compilation flags. |
7721 |
# Check for any special shared library compilation flags. |
7110 |
# |
7722 |
# |
Lines 7146-7151
Link Here
|
7146 |
if test -s conftest.err; then |
7758 |
if test -s conftest.err; then |
7147 |
# Append any errors to the config.log. |
7759 |
# Append any errors to the config.log. |
7148 |
cat conftest.err 1>&5 |
7760 |
cat conftest.err 1>&5 |
|
|
7761 |
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
7762 |
$SED '/^$/d' conftest.err >conftest.er2 |
7763 |
if diff conftest.exp conftest.er2 >/dev/null; then |
7764 |
lt_prog_compiler_static_works=yes |
7765 |
fi |
7149 |
else |
7766 |
else |
7150 |
lt_prog_compiler_static_works=yes |
7767 |
lt_prog_compiler_static_works=yes |
7151 |
fi |
7768 |
fi |
Lines 7171-7177
Link Here
|
7171 |
if test "$GCC" = yes; then |
7788 |
if test "$GCC" = yes; then |
7172 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
7789 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
7173 |
|
7790 |
|
7174 |
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7791 |
|
|
|
7792 |
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7175 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
7793 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
7176 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
7794 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
7177 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7795 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
Lines 7189-7203
Link Here
|
7189 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7807 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7190 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7808 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7191 |
-e 's:$: $lt_compiler_flag:'` |
7809 |
-e 's:$: $lt_compiler_flag:'` |
7192 |
(eval echo "\"\$as_me:7192: $lt_compile\"" >&5) |
7810 |
(eval echo "\"\$as_me:7810: $lt_compile\"" >&5) |
7193 |
(eval "$lt_compile" 2>conftest.err) |
7811 |
(eval "$lt_compile" 2>conftest.err) |
7194 |
ac_status=$? |
7812 |
ac_status=$? |
7195 |
cat conftest.err >&5 |
7813 |
cat conftest.err >&5 |
7196 |
echo "$as_me:7196: \$? = $ac_status" >&5 |
7814 |
echo "$as_me:7814: \$? = $ac_status" >&5 |
7197 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7815 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7198 |
# The compiler can only warn and ignore the option if not recognized |
7816 |
# The compiler can only warn and ignore the option if not recognized |
7199 |
# So say no if there are warnings |
7817 |
# So say no if there are warnings other than the usual output. |
7200 |
if test ! -s conftest.err; then |
7818 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
|
|
7819 |
$SED '/^$/d' conftest.err >conftest.er2 |
7820 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
7201 |
lt_cv_prog_compiler_rtti_exceptions=yes |
7821 |
lt_cv_prog_compiler_rtti_exceptions=yes |
7202 |
fi |
7822 |
fi |
7203 |
fi |
7823 |
fi |
Lines 7300-7305
Link Here
|
7300 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
7920 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
7301 |
fi |
7921 |
fi |
7302 |
;; |
7922 |
;; |
|
|
7923 |
darwin*) |
7924 |
# PIC is the default on this platform |
7925 |
# Common symbols not allowed in MH_DYLIB files |
7926 |
case $cc_basename in |
7927 |
xlc*) |
7928 |
lt_prog_compiler_pic='-qnocommon' |
7929 |
lt_prog_compiler_wl='-Wl,' |
7930 |
;; |
7931 |
esac |
7932 |
;; |
7303 |
|
7933 |
|
7304 |
mingw* | pw32* | os2*) |
7934 |
mingw* | pw32* | os2*) |
7305 |
# This hack is so that the source file can tell whether it is being |
7935 |
# This hack is so that the source file can tell whether it is being |
Lines 7335-7347
Link Here
|
7335 |
;; |
7965 |
;; |
7336 |
|
7966 |
|
7337 |
linux*) |
7967 |
linux*) |
7338 |
case $CC in |
7968 |
case $cc_basename in |
7339 |
icc|ecc) |
7969 |
icc* | ecc*) |
7340 |
lt_prog_compiler_wl='-Wl,' |
7970 |
lt_prog_compiler_wl='-Wl,' |
7341 |
lt_prog_compiler_pic='-KPIC' |
7971 |
lt_prog_compiler_pic='-KPIC' |
7342 |
lt_prog_compiler_static='-static' |
7972 |
lt_prog_compiler_static='-static' |
7343 |
;; |
7973 |
;; |
7344 |
ccc) |
7974 |
pgcc* | pgf77* | pgf90*) |
|
|
7975 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
7976 |
# which looks to be a dead project) |
7977 |
lt_prog_compiler_wl='-Wl,' |
7978 |
lt_prog_compiler_pic='-fpic' |
7979 |
lt_prog_compiler_static='-static' |
7980 |
;; |
7981 |
ccc*) |
7345 |
lt_prog_compiler_wl='-Wl,' |
7982 |
lt_prog_compiler_wl='-Wl,' |
7346 |
# All Alpha code is PIC. |
7983 |
# All Alpha code is PIC. |
7347 |
lt_prog_compiler_static='-non_shared' |
7984 |
lt_prog_compiler_static='-non_shared' |
Lines 7361-7369
Link Here
|
7361 |
;; |
7998 |
;; |
7362 |
|
7999 |
|
7363 |
solaris*) |
8000 |
solaris*) |
7364 |
lt_prog_compiler_wl='-Wl,' |
|
|
7365 |
lt_prog_compiler_pic='-KPIC' |
8001 |
lt_prog_compiler_pic='-KPIC' |
7366 |
lt_prog_compiler_static='-Bstatic' |
8002 |
lt_prog_compiler_static='-Bstatic' |
|
|
8003 |
case $cc_basename in |
8004 |
f77* | f90* | f95*) |
8005 |
lt_prog_compiler_wl='-Qoption ld ';; |
8006 |
*) |
8007 |
lt_prog_compiler_wl='-Wl,';; |
8008 |
esac |
7367 |
;; |
8009 |
;; |
7368 |
|
8010 |
|
7369 |
sunos4*) |
8011 |
sunos4*) |
Lines 7385-7390
Link Here
|
7385 |
fi |
8027 |
fi |
7386 |
;; |
8028 |
;; |
7387 |
|
8029 |
|
|
|
8030 |
unicos*) |
8031 |
lt_prog_compiler_wl='-Wl,' |
8032 |
lt_prog_compiler_can_build_shared=no |
8033 |
;; |
8034 |
|
7388 |
uts4*) |
8035 |
uts4*) |
7389 |
lt_prog_compiler_pic='-pic' |
8036 |
lt_prog_compiler_pic='-pic' |
7390 |
lt_prog_compiler_static='-Bstatic' |
8037 |
lt_prog_compiler_static='-Bstatic' |
Lines 7403-7409
Link Here
|
7403 |
# Check to make sure the PIC flag actually works. |
8050 |
# Check to make sure the PIC flag actually works. |
7404 |
# |
8051 |
# |
7405 |
if test -n "$lt_prog_compiler_pic"; then |
8052 |
if test -n "$lt_prog_compiler_pic"; then |
7406 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8053 |
|
|
|
8054 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
7407 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 |
8055 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 |
7408 |
if test "${lt_prog_compiler_pic_works+set}" = set; then |
8056 |
if test "${lt_prog_compiler_pic_works+set}" = set; then |
7409 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8057 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
Lines 7421-7435
Link Here
|
7421 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
8069 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7422 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8070 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7423 |
-e 's:$: $lt_compiler_flag:'` |
8071 |
-e 's:$: $lt_compiler_flag:'` |
7424 |
(eval echo "\"\$as_me:7424: $lt_compile\"" >&5) |
8072 |
(eval echo "\"\$as_me:8072: $lt_compile\"" >&5) |
7425 |
(eval "$lt_compile" 2>conftest.err) |
8073 |
(eval "$lt_compile" 2>conftest.err) |
7426 |
ac_status=$? |
8074 |
ac_status=$? |
7427 |
cat conftest.err >&5 |
8075 |
cat conftest.err >&5 |
7428 |
echo "$as_me:7428: \$? = $ac_status" >&5 |
8076 |
echo "$as_me:8076: \$? = $ac_status" >&5 |
7429 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8077 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7430 |
# The compiler can only warn and ignore the option if not recognized |
8078 |
# The compiler can only warn and ignore the option if not recognized |
7431 |
# So say no if there are warnings |
8079 |
# So say no if there are warnings other than the usual output. |
7432 |
if test ! -s conftest.err; then |
8080 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
|
|
8081 |
$SED '/^$/d' conftest.err >conftest.er2 |
8082 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
7433 |
lt_prog_compiler_pic_works=yes |
8083 |
lt_prog_compiler_pic_works=yes |
7434 |
fi |
8084 |
fi |
7435 |
fi |
8085 |
fi |
Lines 7472-7484
Link Here
|
7472 |
mkdir out |
8122 |
mkdir out |
7473 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
8123 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
7474 |
|
8124 |
|
7475 |
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
7476 |
# that will create temporary files in the current directory regardless of |
7477 |
# the output directory. Thus, making CWD read-only will cause this test |
7478 |
# to fail, enabling locking or at least warning the user not to do parallel |
7479 |
# builds. |
7480 |
chmod -w . |
7481 |
|
7482 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
8125 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
7483 |
# Insert the option either (1) after the last *FLAGS variable, or |
8126 |
# Insert the option either (1) after the last *FLAGS variable, or |
7484 |
# (2) before a word containing "conftest.", or (3) at the end. |
8127 |
# (2) before a word containing "conftest.", or (3) at the end. |
Lines 7488-7509
Link Here
|
7488 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
8131 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7489 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8132 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7490 |
-e 's:$: $lt_compiler_flag:'` |
8133 |
-e 's:$: $lt_compiler_flag:'` |
7491 |
(eval echo "\"\$as_me:7491: $lt_compile\"" >&5) |
8134 |
(eval echo "\"\$as_me:8134: $lt_compile\"" >&5) |
7492 |
(eval "$lt_compile" 2>out/conftest.err) |
8135 |
(eval "$lt_compile" 2>out/conftest.err) |
7493 |
ac_status=$? |
8136 |
ac_status=$? |
7494 |
cat out/conftest.err >&5 |
8137 |
cat out/conftest.err >&5 |
7495 |
echo "$as_me:7495: \$? = $ac_status" >&5 |
8138 |
echo "$as_me:8138: \$? = $ac_status" >&5 |
7496 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8139 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7497 |
then |
8140 |
then |
7498 |
# The compiler can only warn and ignore the option if not recognized |
8141 |
# The compiler can only warn and ignore the option if not recognized |
7499 |
# So say no if there are warnings |
8142 |
# So say no if there are warnings |
7500 |
if test ! -s out/conftest.err; then |
8143 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
|
|
8144 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
8145 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
7501 |
lt_cv_prog_compiler_c_o=yes |
8146 |
lt_cv_prog_compiler_c_o=yes |
7502 |
fi |
8147 |
fi |
7503 |
fi |
8148 |
fi |
7504 |
chmod u+w . |
8149 |
chmod u+w . |
7505 |
$rm conftest* out/* |
8150 |
$rm conftest* |
7506 |
rmdir out |
8151 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
|
8152 |
# template instantiation |
8153 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
8154 |
$rm out/* && rmdir out |
7507 |
cd .. |
8155 |
cd .. |
7508 |
rmdir conftest |
8156 |
rmdir conftest |
7509 |
$rm conftest* |
8157 |
$rm conftest* |
Lines 7574-7579
Link Here
|
7574 |
# rely on this symbol name, it's probably fine to never include it in |
8222 |
# rely on this symbol name, it's probably fine to never include it in |
7575 |
# preloaded symbol tables. |
8223 |
# preloaded symbol tables. |
7576 |
extract_expsyms_cmds= |
8224 |
extract_expsyms_cmds= |
|
|
8225 |
# Just being paranoid about ensuring that cc_basename is set. |
8226 |
for cc_temp in $compiler""; do |
8227 |
case $cc_temp in |
8228 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
8229 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
8230 |
\-*) ;; |
8231 |
*) break;; |
8232 |
esac |
8233 |
done |
8234 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
7577 |
|
8235 |
|
7578 |
case $host_os in |
8236 |
case $host_os in |
7579 |
cygwin* | mingw* | pw32*) |
8237 |
cygwin* | mingw* | pw32*) |
Lines 7594-7599
Link Here
|
7594 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
8252 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
7595 |
wlarc='${wl}' |
8253 |
wlarc='${wl}' |
7596 |
|
8254 |
|
|
|
8255 |
# Set some defaults for GNU ld with shared library support. These |
8256 |
# are reset later if shared libraries are not supported. Putting them |
8257 |
# here allows them to be overridden if necessary. |
8258 |
runpath_var=LD_RUN_PATH |
8259 |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
8260 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
8261 |
# ancient GNU ld didn't support --whole-archive et. al. |
8262 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
8263 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
8264 |
else |
8265 |
whole_archive_flag_spec= |
8266 |
fi |
8267 |
supports_anon_versioning=no |
8268 |
case `$LD -v 2>/dev/null` in |
8269 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
8270 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
8271 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
8272 |
*\ 2.11.*) ;; # other 2.11 versions |
8273 |
*) supports_anon_versioning=yes ;; |
8274 |
esac |
8275 |
|
7597 |
# See if GNU ld supports shared libraries. |
8276 |
# See if GNU ld supports shared libraries. |
7598 |
case $host_os in |
8277 |
case $host_os in |
7599 |
aix3* | aix4* | aix5*) |
8278 |
aix3* | aix4* | aix5*) |
Lines 7644-7650
Link Here
|
7644 |
allow_undefined_flag=unsupported |
8323 |
allow_undefined_flag=unsupported |
7645 |
always_export_symbols=no |
8324 |
always_export_symbols=no |
7646 |
enable_shared_with_static_runtimes=yes |
8325 |
enable_shared_with_static_runtimes=yes |
7647 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
8326 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
7648 |
|
8327 |
|
7649 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
8328 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
7650 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
8329 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
Lines 7662-7667
Link Here
|
7662 |
fi |
8341 |
fi |
7663 |
;; |
8342 |
;; |
7664 |
|
8343 |
|
|
|
8344 |
linux*) |
8345 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
8346 |
tmp_addflag= |
8347 |
case $cc_basename,$host_cpu in |
8348 |
pgcc*) # Portland Group C compiler |
8349 |
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' |
8350 |
tmp_addflag=' $pic_flag' |
8351 |
;; |
8352 |
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
8353 |
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' |
8354 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
8355 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
8356 |
tmp_addflag=' -i_dynamic' ;; |
8357 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
8358 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
8359 |
ifc* | ifort*) # Intel Fortran compiler |
8360 |
tmp_addflag=' -nofor_main' ;; |
8361 |
esac |
8362 |
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
8363 |
|
8364 |
if test $supports_anon_versioning = yes; then |
8365 |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
8366 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
8367 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
8368 |
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
8369 |
fi |
8370 |
else |
8371 |
ld_shlibs=no |
8372 |
fi |
8373 |
;; |
8374 |
|
7665 |
netbsd*) |
8375 |
netbsd*) |
7666 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
8376 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
7667 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
8377 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
Lines 7710-7725
Link Here
|
7710 |
;; |
8420 |
;; |
7711 |
esac |
8421 |
esac |
7712 |
|
8422 |
|
7713 |
if test "$ld_shlibs" = yes; then |
8423 |
if test "$ld_shlibs" = no; then |
7714 |
runpath_var=LD_RUN_PATH |
8424 |
runpath_var= |
7715 |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
8425 |
hardcode_libdir_flag_spec= |
7716 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
8426 |
export_dynamic_flag_spec= |
7717 |
# ancient GNU ld didn't support --whole-archive et. al. |
8427 |
whole_archive_flag_spec= |
7718 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
7719 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
7720 |
else |
7721 |
whole_archive_flag_spec= |
7722 |
fi |
7723 |
fi |
8428 |
fi |
7724 |
else |
8429 |
else |
7725 |
# PORTME fill in a description of your system's linker (not GNU ld) |
8430 |
# PORTME fill in a description of your system's linker (not GNU ld) |
Lines 7783-7789
Link Here
|
7783 |
link_all_deplibs=yes |
8488 |
link_all_deplibs=yes |
7784 |
|
8489 |
|
7785 |
if test "$GCC" = yes; then |
8490 |
if test "$GCC" = yes; then |
7786 |
case $host_os in aix4.012|aix4.012.*) |
8491 |
case $host_os in aix4.[012]|aix4.[012].*) |
7787 |
# We only want to do this on AIX 4.2 and lower, the check |
8492 |
# We only want to do this on AIX 4.2 and lower, the check |
7788 |
# below for broken collect2 doesn't work under 4.3+ |
8493 |
# below for broken collect2 doesn't work under 4.3+ |
7789 |
collect2name=`${CC} -print-prog-name=collect2` |
8494 |
collect2name=`${CC} -print-prog-name=collect2` |
Lines 7804-7809
Link Here
|
7804 |
fi |
8509 |
fi |
7805 |
esac |
8510 |
esac |
7806 |
shared_flag='-shared' |
8511 |
shared_flag='-shared' |
|
|
8512 |
if test "$aix_use_runtimelinking" = yes; then |
8513 |
shared_flag="$shared_flag "'${wl}-G' |
8514 |
fi |
7807 |
else |
8515 |
else |
7808 |
# not using gcc |
8516 |
# not using gcc |
7809 |
if test "$host_cpu" = ia64; then |
8517 |
if test "$host_cpu" = ia64; then |
Lines 7828-7834
Link Here
|
7828 |
allow_undefined_flag='-berok' |
8536 |
allow_undefined_flag='-berok' |
7829 |
# Determine the default libpath from the value encoded in an empty executable. |
8537 |
# Determine the default libpath from the value encoded in an empty executable. |
7830 |
cat >conftest.$ac_ext <<_ACEOF |
8538 |
cat >conftest.$ac_ext <<_ACEOF |
7831 |
#line $LINENO "configure" |
|
|
7832 |
/* confdefs.h. */ |
8539 |
/* confdefs.h. */ |
7833 |
_ACEOF |
8540 |
_ACEOF |
7834 |
cat confdefs.h >>conftest.$ac_ext |
8541 |
cat confdefs.h >>conftest.$ac_ext |
Lines 7845-7855
Link Here
|
7845 |
_ACEOF |
8552 |
_ACEOF |
7846 |
rm -f conftest.$ac_objext conftest$ac_exeext |
8553 |
rm -f conftest.$ac_objext conftest$ac_exeext |
7847 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8554 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7848 |
(eval $ac_link) 2>&5 |
8555 |
(eval $ac_link) 2>conftest.er1 |
7849 |
ac_status=$? |
8556 |
ac_status=$? |
|
|
8557 |
grep -v '^ *+' conftest.er1 >conftest.err |
8558 |
rm -f conftest.er1 |
8559 |
cat conftest.err >&5 |
7850 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8560 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7851 |
(exit $ac_status); } && |
8561 |
(exit $ac_status); } && |
7852 |
{ ac_try='test -s conftest$ac_exeext' |
8562 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
8563 |
|| test ! -s conftest.err' |
8564 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8565 |
(eval $ac_try) 2>&5 |
8566 |
ac_status=$? |
8567 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8568 |
(exit $ac_status); }; } && |
8569 |
{ ac_try='test -s conftest$ac_exeext' |
7853 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8570 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7854 |
(eval $ac_try) 2>&5 |
8571 |
(eval $ac_try) 2>&5 |
7855 |
ac_status=$? |
8572 |
ac_status=$? |
Lines 7866-7872
Link Here
|
7866 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8583 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7867 |
|
8584 |
|
7868 |
fi |
8585 |
fi |
7869 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8586 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
8587 |
conftest$ac_exeext conftest.$ac_ext |
7870 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8588 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7871 |
|
8589 |
|
7872 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8590 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 7879-7885
Link Here
|
7879 |
else |
8597 |
else |
7880 |
# Determine the default libpath from the value encoded in an empty executable. |
8598 |
# Determine the default libpath from the value encoded in an empty executable. |
7881 |
cat >conftest.$ac_ext <<_ACEOF |
8599 |
cat >conftest.$ac_ext <<_ACEOF |
7882 |
#line $LINENO "configure" |
|
|
7883 |
/* confdefs.h. */ |
8600 |
/* confdefs.h. */ |
7884 |
_ACEOF |
8601 |
_ACEOF |
7885 |
cat confdefs.h >>conftest.$ac_ext |
8602 |
cat confdefs.h >>conftest.$ac_ext |
Lines 7896-7906
Link Here
|
7896 |
_ACEOF |
8613 |
_ACEOF |
7897 |
rm -f conftest.$ac_objext conftest$ac_exeext |
8614 |
rm -f conftest.$ac_objext conftest$ac_exeext |
7898 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8615 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7899 |
(eval $ac_link) 2>&5 |
8616 |
(eval $ac_link) 2>conftest.er1 |
7900 |
ac_status=$? |
8617 |
ac_status=$? |
|
|
8618 |
grep -v '^ *+' conftest.er1 >conftest.err |
8619 |
rm -f conftest.er1 |
8620 |
cat conftest.err >&5 |
7901 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8621 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7902 |
(exit $ac_status); } && |
8622 |
(exit $ac_status); } && |
7903 |
{ ac_try='test -s conftest$ac_exeext' |
8623 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
8624 |
|| test ! -s conftest.err' |
8625 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8626 |
(eval $ac_try) 2>&5 |
8627 |
ac_status=$? |
8628 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8629 |
(exit $ac_status); }; } && |
8630 |
{ ac_try='test -s conftest$ac_exeext' |
7904 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8631 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7905 |
(eval $ac_try) 2>&5 |
8632 |
(eval $ac_try) 2>&5 |
7906 |
ac_status=$? |
8633 |
ac_status=$? |
Lines 7917-7923
Link Here
|
7917 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8644 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7918 |
|
8645 |
|
7919 |
fi |
8646 |
fi |
7920 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8647 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
8648 |
conftest$ac_exeext conftest.$ac_ext |
7921 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8649 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7922 |
|
8650 |
|
7923 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8651 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 7944-7950
Link Here
|
7944 |
ld_shlibs=no |
8672 |
ld_shlibs=no |
7945 |
;; |
8673 |
;; |
7946 |
|
8674 |
|
7947 |
bsdi4*) |
8675 |
bsdi[45]*) |
7948 |
export_dynamic_flag_spec=-rdynamic |
8676 |
export_dynamic_flag_spec=-rdynamic |
7949 |
;; |
8677 |
;; |
7950 |
|
8678 |
|
Lines 7958-7964
Link Here
|
7958 |
# Tell ltmain to make .lib files, not .a files. |
8686 |
# Tell ltmain to make .lib files, not .a files. |
7959 |
libext=lib |
8687 |
libext=lib |
7960 |
# Tell ltmain to make .dll files, not .so files. |
8688 |
# Tell ltmain to make .dll files, not .so files. |
7961 |
shrext=".dll" |
8689 |
shrext_cmds=".dll" |
7962 |
# FIXME: Setting linknames here is a bad hack. |
8690 |
# FIXME: Setting linknames here is a bad hack. |
7963 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
8691 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
7964 |
# The linker will automatically build a .lib file if we build a DLL. |
8692 |
# The linker will automatically build a .lib file if we build a DLL. |
Lines 7970-8012
Link Here
|
7970 |
;; |
8698 |
;; |
7971 |
|
8699 |
|
7972 |
darwin* | rhapsody*) |
8700 |
darwin* | rhapsody*) |
7973 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
|
|
7974 |
archive_cmds_need_lc=no |
7975 |
case "$host_os" in |
8701 |
case "$host_os" in |
7976 |
rhapsody* | darwin1.[012]) |
8702 |
rhapsody* | darwin1.[012]) |
7977 |
allow_undefined_flag='-undefined suppress' |
8703 |
allow_undefined_flag='${wl}-undefined ${wl}suppress' |
7978 |
;; |
8704 |
;; |
7979 |
*) # Darwin 1.3 on |
8705 |
*) # Darwin 1.3 on |
7980 |
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' |
8706 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
7981 |
;; |
8707 |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
8708 |
else |
8709 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
8710 |
10.[012]) |
8711 |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
8712 |
;; |
8713 |
10.*) |
8714 |
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' |
8715 |
;; |
8716 |
esac |
8717 |
fi |
8718 |
;; |
7982 |
esac |
8719 |
esac |
7983 |
# FIXME: Relying on posixy $() will cause problems for |
8720 |
archive_cmds_need_lc=no |
7984 |
# cross-compilation, but unfortunately the echo tests do not |
|
|
7985 |
# yet detect zsh echo's removal of \ escapes. Also zsh mangles |
7986 |
# `"' quotes if we put them in here... so don't! |
7987 |
lt_int_apple_cc_single_mod=no |
7988 |
output_verbose_link_cmd='echo' |
7989 |
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
7990 |
lt_int_apple_cc_single_mod=yes |
7991 |
fi |
7992 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
7993 |
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
7994 |
else |
7995 |
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' |
7996 |
fi |
7997 |
module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' |
7998 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
7999 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
8000 |
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}' |
8001 |
else |
8002 |
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}' |
8003 |
fi |
8004 |
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}' |
8005 |
hardcode_direct=no |
8721 |
hardcode_direct=no |
8006 |
hardcode_automatic=yes |
8722 |
hardcode_automatic=yes |
8007 |
hardcode_shlibpath_var=unsupported |
8723 |
hardcode_shlibpath_var=unsupported |
8008 |
whole_archive_flag_spec='-all_load $convenience' |
8724 |
whole_archive_flag_spec='' |
8009 |
link_all_deplibs=yes |
8725 |
link_all_deplibs=yes |
|
|
8726 |
if test "$GCC" = yes ; then |
8727 |
output_verbose_link_cmd='echo' |
8728 |
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
8729 |
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
8730 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
8731 |
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}' |
8732 |
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}' |
8733 |
else |
8734 |
case $cc_basename in |
8735 |
xlc*) |
8736 |
output_verbose_link_cmd='echo' |
8737 |
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
8738 |
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
8739 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
8740 |
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}' |
8741 |
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}' |
8742 |
;; |
8743 |
*) |
8744 |
ld_shlibs=no |
8745 |
;; |
8746 |
esac |
8010 |
fi |
8747 |
fi |
8011 |
;; |
8748 |
;; |
8012 |
|
8749 |
|
Lines 8040-8046
Link Here
|
8040 |
;; |
8777 |
;; |
8041 |
|
8778 |
|
8042 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
8779 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
8043 |
freebsd*) |
8780 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
8044 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
8781 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
8045 |
hardcode_libdir_flag_spec='-R$libdir' |
8782 |
hardcode_libdir_flag_spec='-R$libdir' |
8046 |
hardcode_direct=yes |
8783 |
hardcode_direct=yes |
Lines 8151-8156
Link Here
|
8151 |
hardcode_shlibpath_var=no |
8888 |
hardcode_shlibpath_var=no |
8152 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
8889 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
8153 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
8890 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8891 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
8154 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
8892 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
8155 |
export_dynamic_flag_spec='${wl}-E' |
8893 |
export_dynamic_flag_spec='${wl}-E' |
8156 |
else |
8894 |
else |
Lines 8196-8202
Link Here
|
8196 |
allow_undefined_flag=' -expect_unresolved \*' |
8934 |
allow_undefined_flag=' -expect_unresolved \*' |
8197 |
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' |
8935 |
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' |
8198 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
8936 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
8199 |
$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' |
8937 |
$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' |
8200 |
|
8938 |
|
8201 |
# Both c and cxx compiler support -rpath directly |
8939 |
# Both c and cxx compiler support -rpath directly |
8202 |
hardcode_libdir_flag_spec='-rpath $libdir' |
8940 |
hardcode_libdir_flag_spec='-rpath $libdir' |
Lines 8215-8224
Link Here
|
8215 |
solaris*) |
8953 |
solaris*) |
8216 |
no_undefined_flag=' -z text' |
8954 |
no_undefined_flag=' -z text' |
8217 |
if test "$GCC" = yes; then |
8955 |
if test "$GCC" = yes; then |
|
|
8956 |
wlarc='${wl}' |
8218 |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8957 |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8219 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
8958 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
8220 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
8959 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
8221 |
else |
8960 |
else |
|
|
8961 |
wlarc='' |
8222 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
8962 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
8223 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
8963 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
8224 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
8964 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
Lines 8227-8234
Link Here
|
8227 |
hardcode_shlibpath_var=no |
8967 |
hardcode_shlibpath_var=no |
8228 |
case $host_os in |
8968 |
case $host_os in |
8229 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
8969 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
8230 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
8970 |
*) |
8231 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
8971 |
# The compiler driver will combine linker options so we |
|
|
8972 |
# cannot just pass the convience library names through |
8973 |
# without $wl, iff we do not link with $LD. |
8974 |
# Luckily, gcc supports the same syntax we need for Sun Studio. |
8975 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
8976 |
case $wlarc in |
8977 |
'') |
8978 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
8979 |
*) |
8980 |
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' ;; |
8981 |
esac ;; |
8232 |
esac |
8982 |
esac |
8233 |
link_all_deplibs=yes |
8983 |
link_all_deplibs=yes |
8234 |
;; |
8984 |
;; |
Lines 8371-8477
Link Here
|
8371 |
deplibs= |
9121 |
deplibs= |
8372 |
wl=$lt_prog_compiler_wl |
9122 |
wl=$lt_prog_compiler_wl |
8373 |
compiler_flags=-v |
9123 |
compiler_flags=-v |
8374 |
linker_flags=-v |
9124 |
linker_flags=-v |
8375 |
verstring= |
9125 |
verstring= |
8376 |
output_objdir=. |
9126 |
output_objdir=. |
8377 |
libname=conftest |
9127 |
libname=conftest |
8378 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
9128 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
8379 |
allow_undefined_flag= |
9129 |
allow_undefined_flag= |
8380 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
9130 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
8381 |
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
9131 |
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
8382 |
ac_status=$? |
9132 |
ac_status=$? |
8383 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9133 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8384 |
(exit $ac_status); } |
9134 |
(exit $ac_status); } |
8385 |
then |
9135 |
then |
8386 |
archive_cmds_need_lc=no |
9136 |
archive_cmds_need_lc=no |
8387 |
else |
9137 |
else |
8388 |
archive_cmds_need_lc=yes |
9138 |
archive_cmds_need_lc=yes |
8389 |
fi |
9139 |
fi |
8390 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
9140 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
8391 |
else |
9141 |
else |
8392 |
cat conftest.err 1>&5 |
9142 |
cat conftest.err 1>&5 |
8393 |
fi |
9143 |
fi |
8394 |
$rm conftest* |
9144 |
$rm conftest* |
8395 |
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
9145 |
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
8396 |
echo "${ECHO_T}$archive_cmds_need_lc" >&6 |
9146 |
echo "${ECHO_T}$archive_cmds_need_lc" >&6 |
8397 |
;; |
9147 |
;; |
8398 |
esac |
9148 |
esac |
8399 |
fi |
9149 |
fi |
8400 |
;; |
9150 |
;; |
8401 |
esac |
9151 |
esac |
8402 |
|
|
|
8403 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
8404 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
8405 |
hardcode_action= |
8406 |
if test -n "$hardcode_libdir_flag_spec" || \ |
8407 |
test -n "$runpath_var " || \ |
8408 |
test "X$hardcode_automatic"="Xyes" ; then |
8409 |
|
8410 |
# We can hardcode non-existant directories. |
8411 |
if test "$hardcode_direct" != no && |
8412 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
8413 |
# have to relink, otherwise we might link with an installed library |
8414 |
# when we should be linking with a yet-to-be-installed one |
8415 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && |
8416 |
test "$hardcode_minus_L" != no; then |
8417 |
# Linking always hardcodes the temporary library directory. |
8418 |
hardcode_action=relink |
8419 |
else |
8420 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
8421 |
hardcode_action=immediate |
8422 |
fi |
8423 |
else |
8424 |
# We cannot hardcode anything, or else we can only hardcode existing |
8425 |
# directories. |
8426 |
hardcode_action=unsupported |
8427 |
fi |
8428 |
echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
8429 |
echo "${ECHO_T}$hardcode_action" >&6 |
8430 |
|
8431 |
if test "$hardcode_action" = relink; then |
8432 |
# Fast installation is not supported |
8433 |
enable_fast_install=no |
8434 |
elif test "$shlibpath_overrides_runpath" = yes || |
8435 |
test "$enable_shared" = no; then |
8436 |
# Fast installation is not necessary |
8437 |
enable_fast_install=needless |
8438 |
fi |
8439 |
|
8440 |
striplib= |
8441 |
old_striplib= |
8442 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
8443 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
8444 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
8445 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
8446 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
8447 |
echo "$as_me:$LINENO: result: yes" >&5 |
8448 |
echo "${ECHO_T}yes" >&6 |
8449 |
else |
8450 |
# FIXME - insert some real tests, host_os isn't really good enough |
8451 |
case $host_os in |
8452 |
darwin*) |
8453 |
if test -n "$STRIP" ; then |
8454 |
striplib="$STRIP -x" |
8455 |
echo "$as_me:$LINENO: result: yes" >&5 |
8456 |
echo "${ECHO_T}yes" >&6 |
8457 |
else |
8458 |
echo "$as_me:$LINENO: result: no" >&5 |
8459 |
echo "${ECHO_T}no" >&6 |
8460 |
fi |
8461 |
;; |
8462 |
*) |
8463 |
echo "$as_me:$LINENO: result: no" >&5 |
8464 |
echo "${ECHO_T}no" >&6 |
8465 |
;; |
8466 |
esac |
8467 |
fi |
8468 |
|
9152 |
|
8469 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
9153 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
8470 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
9154 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
8471 |
library_names_spec= |
9155 |
library_names_spec= |
8472 |
libname_spec='lib$name' |
9156 |
libname_spec='lib$name' |
8473 |
soname_spec= |
9157 |
soname_spec= |
8474 |
shrext=".so" |
9158 |
shrext_cmds=".so" |
8475 |
postinstall_cmds= |
9159 |
postinstall_cmds= |
8476 |
postuninstall_cmds= |
9160 |
postuninstall_cmds= |
8477 |
finish_cmds= |
9161 |
finish_cmds= |
Lines 8559-8565
Link Here
|
8559 |
amigaos*) |
9243 |
amigaos*) |
8560 |
library_names_spec='$libname.ixlibrary $libname.a' |
9244 |
library_names_spec='$libname.ixlibrary $libname.a' |
8561 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
9245 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
8562 |
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' |
9246 |
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' |
8563 |
;; |
9247 |
;; |
8564 |
|
9248 |
|
8565 |
beos*) |
9249 |
beos*) |
Lines 8568-8574
Link Here
|
8568 |
shlibpath_var=LIBRARY_PATH |
9252 |
shlibpath_var=LIBRARY_PATH |
8569 |
;; |
9253 |
;; |
8570 |
|
9254 |
|
8571 |
bsdi4*) |
9255 |
bsdi[45]*) |
8572 |
version_type=linux |
9256 |
version_type=linux |
8573 |
need_version=no |
9257 |
need_version=no |
8574 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
9258 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Lines 8584-8590
Link Here
|
8584 |
|
9268 |
|
8585 |
cygwin* | mingw* | pw32*) |
9269 |
cygwin* | mingw* | pw32*) |
8586 |
version_type=windows |
9270 |
version_type=windows |
8587 |
shrext=".dll" |
9271 |
shrext_cmds=".dll" |
8588 |
need_version=no |
9272 |
need_version=no |
8589 |
need_lib_prefix=no |
9273 |
need_lib_prefix=no |
8590 |
|
9274 |
|
Lines 8606-8612
Link Here
|
8606 |
cygwin*) |
9290 |
cygwin*) |
8607 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
9291 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
8608 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
9292 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
8609 |
sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" |
9293 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
8610 |
;; |
9294 |
;; |
8611 |
mingw*) |
9295 |
mingw*) |
8612 |
# MinGW DLLs use traditional 'lib' prefix |
9296 |
# MinGW DLLs use traditional 'lib' prefix |
Lines 8626-8636
Link Here
|
8626 |
;; |
9310 |
;; |
8627 |
pw32*) |
9311 |
pw32*) |
8628 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
9312 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
8629 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
9313 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
8630 |
;; |
9314 |
;; |
8631 |
esac |
9315 |
esac |
8632 |
;; |
9316 |
;; |
8633 |
|
9317 |
|
|
|
9318 |
linux*) |
9319 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
9320 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9321 |
supports_anon_versioning=no |
9322 |
case `$LD -v 2>/dev/null` in |
9323 |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9324 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9325 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9326 |
*\ 2.11.*) ;; # other 2.11 versions |
9327 |
*) supports_anon_versioning=yes ;; |
9328 |
esac |
9329 |
if test $supports_anon_versioning = yes; then |
9330 |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
9331 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9332 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
9333 |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
9334 |
else |
9335 |
$archive_expsym_cmds="$archive_cmds" |
9336 |
fi |
9337 |
else |
9338 |
ld_shlibs=no |
9339 |
fi |
9340 |
;; |
9341 |
|
8634 |
*) |
9342 |
*) |
8635 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
9343 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
8636 |
;; |
9344 |
;; |
Lines 8645-8661
Link Here
|
8645 |
version_type=darwin |
9353 |
version_type=darwin |
8646 |
need_lib_prefix=no |
9354 |
need_lib_prefix=no |
8647 |
need_version=no |
9355 |
need_version=no |
8648 |
# FIXME: Relying on posixy $() will cause problems for |
|
|
8649 |
# cross-compilation, but unfortunately the echo tests do not |
8650 |
# yet detect zsh echo's removal of \ escapes. |
8651 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
9356 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
8652 |
soname_spec='${libname}${release}${major}$shared_ext' |
9357 |
soname_spec='${libname}${release}${major}$shared_ext' |
8653 |
shlibpath_overrides_runpath=yes |
9358 |
shlibpath_overrides_runpath=yes |
8654 |
shlibpath_var=DYLD_LIBRARY_PATH |
9359 |
shlibpath_var=DYLD_LIBRARY_PATH |
8655 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
9360 |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
8656 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
9361 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
8657 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
9362 |
if test "$GCC" = yes; then |
8658 |
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"` |
9363 |
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"` |
|
|
9364 |
else |
9365 |
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
8659 |
fi |
9366 |
fi |
8660 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
9367 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
8661 |
;; |
9368 |
;; |
Lines 8673-8679
Link Here
|
8673 |
dynamic_linker=no |
9380 |
dynamic_linker=no |
8674 |
;; |
9381 |
;; |
8675 |
|
9382 |
|
8676 |
freebsd*) |
9383 |
kfreebsd*-gnu) |
|
|
9384 |
version_type=linux |
9385 |
need_lib_prefix=no |
9386 |
need_version=no |
9387 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
9388 |
soname_spec='${libname}${release}${shared_ext}$major' |
9389 |
shlibpath_var=LD_LIBRARY_PATH |
9390 |
shlibpath_overrides_runpath=no |
9391 |
hardcode_into_libs=yes |
9392 |
dynamic_linker='GNU ld.so' |
9393 |
;; |
9394 |
|
9395 |
freebsd* | dragonfly*) |
9396 |
# DragonFly does not have aout. When/if they implement a new |
9397 |
# versioning mechanism, adjust this. |
8677 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
9398 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
8678 |
version_type=freebsd-$objformat |
9399 |
version_type=freebsd-$objformat |
8679 |
case $version_type in |
9400 |
case $version_type in |
Lines 8692-8698
Link Here
|
8692 |
freebsd2*) |
9413 |
freebsd2*) |
8693 |
shlibpath_overrides_runpath=yes |
9414 |
shlibpath_overrides_runpath=yes |
8694 |
;; |
9415 |
;; |
8695 |
freebsd3.01* | freebsdelf3.01*) |
9416 |
freebsd3.[01]* | freebsdelf3.[01]*) |
8696 |
shlibpath_overrides_runpath=yes |
9417 |
shlibpath_overrides_runpath=yes |
8697 |
hardcode_into_libs=yes |
9418 |
hardcode_into_libs=yes |
8698 |
;; |
9419 |
;; |
Lines 8721-8727
Link Here
|
8721 |
need_version=no |
9442 |
need_version=no |
8722 |
case "$host_cpu" in |
9443 |
case "$host_cpu" in |
8723 |
ia64*) |
9444 |
ia64*) |
8724 |
shrext='.so' |
9445 |
shrext_cmds='.so' |
8725 |
hardcode_into_libs=yes |
9446 |
hardcode_into_libs=yes |
8726 |
dynamic_linker="$host_os dld.so" |
9447 |
dynamic_linker="$host_os dld.so" |
8727 |
shlibpath_var=LD_LIBRARY_PATH |
9448 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 8736-8742
Link Here
|
8736 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
9457 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
8737 |
;; |
9458 |
;; |
8738 |
hppa*64*) |
9459 |
hppa*64*) |
8739 |
shrext='.sl' |
9460 |
shrext_cmds='.sl' |
8740 |
hardcode_into_libs=yes |
9461 |
hardcode_into_libs=yes |
8741 |
dynamic_linker="$host_os dld.sl" |
9462 |
dynamic_linker="$host_os dld.sl" |
8742 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
9463 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
Lines 8747-8753
Link Here
|
8747 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
9468 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
8748 |
;; |
9469 |
;; |
8749 |
*) |
9470 |
*) |
8750 |
shrext='.sl' |
9471 |
shrext_cmds='.sl' |
8751 |
dynamic_linker="$host_os dld.sl" |
9472 |
dynamic_linker="$host_os dld.sl" |
8752 |
shlibpath_var=SHLIB_PATH |
9473 |
shlibpath_var=SHLIB_PATH |
8753 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
9474 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
Lines 8816-8825
Link Here
|
8816 |
# before this can be enabled. |
9537 |
# before this can be enabled. |
8817 |
hardcode_into_libs=yes |
9538 |
hardcode_into_libs=yes |
8818 |
|
9539 |
|
8819 |
case $LD in # libtool.m4 will add one of these switches to LD |
9540 |
# Append ld.so.conf contents to the search path |
8820 |
*"-m elf_x86_64"*|*"-m elf64ppc"*|*"-m elf64_s390"*|*"-m elf64_sparc"*) |
9541 |
if test -f /etc/ld.so.conf; then |
8821 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64" |
9542 |
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' ' '` |
8822 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64" |
9543 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
|
9544 |
fi |
9545 |
|
9546 |
case $host_cpu:$lt_cv_cc_64bit_output in |
9547 |
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
9548 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
9549 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
8823 |
;; |
9550 |
;; |
8824 |
esac |
9551 |
esac |
8825 |
|
9552 |
|
Lines 8830-8835
Link Here
|
8830 |
# people can always --disable-shared, the test was removed, and we |
9557 |
# people can always --disable-shared, the test was removed, and we |
8831 |
# assume the GNU/Linux dynamic linker is in use. |
9558 |
# assume the GNU/Linux dynamic linker is in use. |
8832 |
dynamic_linker='GNU/Linux ld.so' |
9559 |
dynamic_linker='GNU/Linux ld.so' |
|
|
9560 |
|
9561 |
# Find out which ABI we are using (multilib Linux x86_64 hack). |
9562 |
libsuff= |
9563 |
case "$host_cpu" in |
9564 |
x86_64*) |
9565 |
echo '#line 9565 "configure"' > conftest.$ac_ext |
9566 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9567 |
(eval $ac_compile) 2>&5 |
9568 |
ac_status=$? |
9569 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9570 |
(exit $ac_status); }; then |
9571 |
case `/usr/bin/file conftest.$ac_objext` in |
9572 |
*64-bit*) |
9573 |
libsuff=64 |
9574 |
;; |
9575 |
esac |
9576 |
fi |
9577 |
rm -rf conftest* |
9578 |
;; |
9579 |
*) |
9580 |
;; |
9581 |
esac |
9582 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
9583 |
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
9584 |
;; |
9585 |
|
9586 |
knetbsd*-gnu) |
9587 |
version_type=linux |
9588 |
need_lib_prefix=no |
9589 |
need_version=no |
9590 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
9591 |
soname_spec='${libname}${release}${shared_ext}$major' |
9592 |
shlibpath_var=LD_LIBRARY_PATH |
9593 |
shlibpath_overrides_runpath=no |
9594 |
hardcode_into_libs=yes |
9595 |
dynamic_linker='GNU ld.so' |
8833 |
;; |
9596 |
;; |
8834 |
|
9597 |
|
8835 |
netbsd*) |
9598 |
netbsd*) |
Lines 8841-8847
Link Here
|
8841 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
9604 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
8842 |
dynamic_linker='NetBSD (a.out) ld.so' |
9605 |
dynamic_linker='NetBSD (a.out) ld.so' |
8843 |
else |
9606 |
else |
8844 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
9607 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
8845 |
soname_spec='${libname}${release}${shared_ext}$major' |
9608 |
soname_spec='${libname}${release}${shared_ext}$major' |
8846 |
dynamic_linker='NetBSD ld.elf_so' |
9609 |
dynamic_linker='NetBSD ld.elf_so' |
8847 |
fi |
9610 |
fi |
Lines 8857-8863
Link Here
|
8857 |
shlibpath_overrides_runpath=yes |
9620 |
shlibpath_overrides_runpath=yes |
8858 |
;; |
9621 |
;; |
8859 |
|
9622 |
|
8860 |
nto-qnx) |
9623 |
nto-qnx*) |
8861 |
version_type=linux |
9624 |
version_type=linux |
8862 |
need_lib_prefix=no |
9625 |
need_lib_prefix=no |
8863 |
need_version=no |
9626 |
need_version=no |
Lines 8870-8876
Link Here
|
8870 |
openbsd*) |
9633 |
openbsd*) |
8871 |
version_type=sunos |
9634 |
version_type=sunos |
8872 |
need_lib_prefix=no |
9635 |
need_lib_prefix=no |
8873 |
need_version=no |
9636 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
9637 |
case $host_os in |
9638 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
9639 |
*) need_version=no ;; |
9640 |
esac |
8874 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
9641 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
8875 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
9642 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
8876 |
shlibpath_var=LD_LIBRARY_PATH |
9643 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 8890-8896
Link Here
|
8890 |
|
9657 |
|
8891 |
os2*) |
9658 |
os2*) |
8892 |
libname_spec='$name' |
9659 |
libname_spec='$name' |
8893 |
shrext=".dll" |
9660 |
shrext_cmds=".dll" |
8894 |
need_lib_prefix=no |
9661 |
need_lib_prefix=no |
8895 |
library_names_spec='$libname${shared_ext} $libname.a' |
9662 |
library_names_spec='$libname${shared_ext} $libname.a' |
8896 |
dynamic_linker='OS/2 ld.exe' |
9663 |
dynamic_linker='OS/2 ld.exe' |
Lines 8988-8993
Link Here
|
8988 |
echo "${ECHO_T}$dynamic_linker" >&6 |
9755 |
echo "${ECHO_T}$dynamic_linker" >&6 |
8989 |
test "$dynamic_linker" = no && can_build_shared=no |
9756 |
test "$dynamic_linker" = no && can_build_shared=no |
8990 |
|
9757 |
|
|
|
9758 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
9759 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
9760 |
hardcode_action= |
9761 |
if test -n "$hardcode_libdir_flag_spec" || \ |
9762 |
test -n "$runpath_var" || \ |
9763 |
test "X$hardcode_automatic" = "Xyes" ; then |
9764 |
|
9765 |
# We can hardcode non-existant directories. |
9766 |
if test "$hardcode_direct" != no && |
9767 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
9768 |
# have to relink, otherwise we might link with an installed library |
9769 |
# when we should be linking with a yet-to-be-installed one |
9770 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && |
9771 |
test "$hardcode_minus_L" != no; then |
9772 |
# Linking always hardcodes the temporary library directory. |
9773 |
hardcode_action=relink |
9774 |
else |
9775 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
9776 |
hardcode_action=immediate |
9777 |
fi |
9778 |
else |
9779 |
# We cannot hardcode anything, or else we can only hardcode existing |
9780 |
# directories. |
9781 |
hardcode_action=unsupported |
9782 |
fi |
9783 |
echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
9784 |
echo "${ECHO_T}$hardcode_action" >&6 |
9785 |
|
9786 |
if test "$hardcode_action" = relink; then |
9787 |
# Fast installation is not supported |
9788 |
enable_fast_install=no |
9789 |
elif test "$shlibpath_overrides_runpath" = yes || |
9790 |
test "$enable_shared" = no; then |
9791 |
# Fast installation is not necessary |
9792 |
enable_fast_install=needless |
9793 |
fi |
9794 |
|
9795 |
striplib= |
9796 |
old_striplib= |
9797 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
9798 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
9799 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
9800 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
9801 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
9802 |
echo "$as_me:$LINENO: result: yes" >&5 |
9803 |
echo "${ECHO_T}yes" >&6 |
9804 |
else |
9805 |
# FIXME - insert some real tests, host_os isn't really good enough |
9806 |
case $host_os in |
9807 |
darwin*) |
9808 |
if test -n "$STRIP" ; then |
9809 |
striplib="$STRIP -x" |
9810 |
echo "$as_me:$LINENO: result: yes" >&5 |
9811 |
echo "${ECHO_T}yes" >&6 |
9812 |
else |
9813 |
echo "$as_me:$LINENO: result: no" >&5 |
9814 |
echo "${ECHO_T}no" >&6 |
9815 |
fi |
9816 |
;; |
9817 |
*) |
9818 |
echo "$as_me:$LINENO: result: no" >&5 |
9819 |
echo "${ECHO_T}no" >&6 |
9820 |
;; |
9821 |
esac |
9822 |
fi |
9823 |
|
8991 |
if test "x$enable_dlopen" != xyes; then |
9824 |
if test "x$enable_dlopen" != xyes; then |
8992 |
enable_dlopen=unknown |
9825 |
enable_dlopen=unknown |
8993 |
enable_dlopen_self=unknown |
9826 |
enable_dlopen_self=unknown |
Lines 9023-9029
Link Here
|
9023 |
ac_check_lib_save_LIBS=$LIBS |
9856 |
ac_check_lib_save_LIBS=$LIBS |
9024 |
LIBS="-ldl $LIBS" |
9857 |
LIBS="-ldl $LIBS" |
9025 |
cat >conftest.$ac_ext <<_ACEOF |
9858 |
cat >conftest.$ac_ext <<_ACEOF |
9026 |
#line $LINENO "configure" |
|
|
9027 |
/* confdefs.h. */ |
9859 |
/* confdefs.h. */ |
9028 |
_ACEOF |
9860 |
_ACEOF |
9029 |
cat confdefs.h >>conftest.$ac_ext |
9861 |
cat confdefs.h >>conftest.$ac_ext |
Lines 9047-9057
Link Here
|
9047 |
_ACEOF |
9879 |
_ACEOF |
9048 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9880 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9049 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9881 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9050 |
(eval $ac_link) 2>&5 |
9882 |
(eval $ac_link) 2>conftest.er1 |
9051 |
ac_status=$? |
9883 |
ac_status=$? |
|
|
9884 |
grep -v '^ *+' conftest.er1 >conftest.err |
9885 |
rm -f conftest.er1 |
9886 |
cat conftest.err >&5 |
9052 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9053 |
(exit $ac_status); } && |
9888 |
(exit $ac_status); } && |
9054 |
{ ac_try='test -s conftest$ac_exeext' |
9889 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
9890 |
|| test ! -s conftest.err' |
9891 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9892 |
(eval $ac_try) 2>&5 |
9893 |
ac_status=$? |
9894 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9895 |
(exit $ac_status); }; } && |
9896 |
{ ac_try='test -s conftest$ac_exeext' |
9055 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9897 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9056 |
(eval $ac_try) 2>&5 |
9898 |
(eval $ac_try) 2>&5 |
9057 |
ac_status=$? |
9899 |
ac_status=$? |
Lines 9064-9070
Link Here
|
9064 |
|
9906 |
|
9065 |
ac_cv_lib_dl_dlopen=no |
9907 |
ac_cv_lib_dl_dlopen=no |
9066 |
fi |
9908 |
fi |
9067 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9909 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
9910 |
conftest$ac_exeext conftest.$ac_ext |
9068 |
LIBS=$ac_check_lib_save_LIBS |
9911 |
LIBS=$ac_check_lib_save_LIBS |
9069 |
fi |
9912 |
fi |
9070 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9913 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
Lines 9088-9108
Link Here
|
9088 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9931 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9089 |
else |
9932 |
else |
9090 |
cat >conftest.$ac_ext <<_ACEOF |
9933 |
cat >conftest.$ac_ext <<_ACEOF |
9091 |
#line $LINENO "configure" |
|
|
9092 |
/* confdefs.h. */ |
9934 |
/* confdefs.h. */ |
9093 |
_ACEOF |
9935 |
_ACEOF |
9094 |
cat confdefs.h >>conftest.$ac_ext |
9936 |
cat confdefs.h >>conftest.$ac_ext |
9095 |
cat >>conftest.$ac_ext <<_ACEOF |
9937 |
cat >>conftest.$ac_ext <<_ACEOF |
9096 |
/* end confdefs.h. */ |
9938 |
/* end confdefs.h. */ |
|
|
9939 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
9940 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
9941 |
#define shl_load innocuous_shl_load |
9942 |
|
9097 |
/* System header to define __stub macros and hopefully few prototypes, |
9943 |
/* System header to define __stub macros and hopefully few prototypes, |
9098 |
which can conflict with char shl_load (); below. |
9944 |
which can conflict with char shl_load (); below. |
9099 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9945 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9100 |
<limits.h> exists even on freestanding compilers. */ |
9946 |
<limits.h> exists even on freestanding compilers. */ |
|
|
9947 |
|
9101 |
#ifdef __STDC__ |
9948 |
#ifdef __STDC__ |
9102 |
# include <limits.h> |
9949 |
# include <limits.h> |
9103 |
#else |
9950 |
#else |
9104 |
# include <assert.h> |
9951 |
# include <assert.h> |
9105 |
#endif |
9952 |
#endif |
|
|
9953 |
|
9954 |
#undef shl_load |
9955 |
|
9106 |
/* Override any gcc2 internal prototype to avoid an error. */ |
9956 |
/* Override any gcc2 internal prototype to avoid an error. */ |
9107 |
#ifdef __cplusplus |
9957 |
#ifdef __cplusplus |
9108 |
extern "C" |
9958 |
extern "C" |
Lines 9133-9143
Link Here
|
9133 |
_ACEOF |
9983 |
_ACEOF |
9134 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9984 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9135 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9985 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9136 |
(eval $ac_link) 2>&5 |
9986 |
(eval $ac_link) 2>conftest.er1 |
9137 |
ac_status=$? |
9987 |
ac_status=$? |
|
|
9988 |
grep -v '^ *+' conftest.er1 >conftest.err |
9989 |
rm -f conftest.er1 |
9990 |
cat conftest.err >&5 |
9138 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9991 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9139 |
(exit $ac_status); } && |
9992 |
(exit $ac_status); } && |
9140 |
{ ac_try='test -s conftest$ac_exeext' |
9993 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
9994 |
|| test ! -s conftest.err' |
9995 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9996 |
(eval $ac_try) 2>&5 |
9997 |
ac_status=$? |
9998 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9999 |
(exit $ac_status); }; } && |
10000 |
{ ac_try='test -s conftest$ac_exeext' |
9141 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10001 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9142 |
(eval $ac_try) 2>&5 |
10002 |
(eval $ac_try) 2>&5 |
9143 |
ac_status=$? |
10003 |
ac_status=$? |
Lines 9150-9156
Link Here
|
9150 |
|
10010 |
|
9151 |
ac_cv_func_shl_load=no |
10011 |
ac_cv_func_shl_load=no |
9152 |
fi |
10012 |
fi |
9153 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10013 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
10014 |
conftest$ac_exeext conftest.$ac_ext |
9154 |
fi |
10015 |
fi |
9155 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
10016 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
9156 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
10017 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
Lines 9165-9171
Link Here
|
9165 |
ac_check_lib_save_LIBS=$LIBS |
10026 |
ac_check_lib_save_LIBS=$LIBS |
9166 |
LIBS="-ldld $LIBS" |
10027 |
LIBS="-ldld $LIBS" |
9167 |
cat >conftest.$ac_ext <<_ACEOF |
10028 |
cat >conftest.$ac_ext <<_ACEOF |
9168 |
#line $LINENO "configure" |
|
|
9169 |
/* confdefs.h. */ |
10029 |
/* confdefs.h. */ |
9170 |
_ACEOF |
10030 |
_ACEOF |
9171 |
cat confdefs.h >>conftest.$ac_ext |
10031 |
cat confdefs.h >>conftest.$ac_ext |
Lines 9189-9199
Link Here
|
9189 |
_ACEOF |
10049 |
_ACEOF |
9190 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10050 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9191 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10051 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9192 |
(eval $ac_link) 2>&5 |
10052 |
(eval $ac_link) 2>conftest.er1 |
9193 |
ac_status=$? |
10053 |
ac_status=$? |
|
|
10054 |
grep -v '^ *+' conftest.er1 >conftest.err |
10055 |
rm -f conftest.er1 |
10056 |
cat conftest.err >&5 |
9194 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10057 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9195 |
(exit $ac_status); } && |
10058 |
(exit $ac_status); } && |
9196 |
{ ac_try='test -s conftest$ac_exeext' |
10059 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
10060 |
|| test ! -s conftest.err' |
10061 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10062 |
(eval $ac_try) 2>&5 |
10063 |
ac_status=$? |
10064 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10065 |
(exit $ac_status); }; } && |
10066 |
{ ac_try='test -s conftest$ac_exeext' |
9197 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10067 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9198 |
(eval $ac_try) 2>&5 |
10068 |
(eval $ac_try) 2>&5 |
9199 |
ac_status=$? |
10069 |
ac_status=$? |
Lines 9206-9212
Link Here
|
9206 |
|
10076 |
|
9207 |
ac_cv_lib_dld_shl_load=no |
10077 |
ac_cv_lib_dld_shl_load=no |
9208 |
fi |
10078 |
fi |
9209 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10079 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
10080 |
conftest$ac_exeext conftest.$ac_ext |
9210 |
LIBS=$ac_check_lib_save_LIBS |
10081 |
LIBS=$ac_check_lib_save_LIBS |
9211 |
fi |
10082 |
fi |
9212 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
10083 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
Lines 9220-9240
Link Here
|
9220 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10091 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9221 |
else |
10092 |
else |
9222 |
cat >conftest.$ac_ext <<_ACEOF |
10093 |
cat >conftest.$ac_ext <<_ACEOF |
9223 |
#line $LINENO "configure" |
|
|
9224 |
/* confdefs.h. */ |
10094 |
/* confdefs.h. */ |
9225 |
_ACEOF |
10095 |
_ACEOF |
9226 |
cat confdefs.h >>conftest.$ac_ext |
10096 |
cat confdefs.h >>conftest.$ac_ext |
9227 |
cat >>conftest.$ac_ext <<_ACEOF |
10097 |
cat >>conftest.$ac_ext <<_ACEOF |
9228 |
/* end confdefs.h. */ |
10098 |
/* end confdefs.h. */ |
|
|
10099 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
10100 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
10101 |
#define dlopen innocuous_dlopen |
10102 |
|
9229 |
/* System header to define __stub macros and hopefully few prototypes, |
10103 |
/* System header to define __stub macros and hopefully few prototypes, |
9230 |
which can conflict with char dlopen (); below. |
10104 |
which can conflict with char dlopen (); below. |
9231 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
10105 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9232 |
<limits.h> exists even on freestanding compilers. */ |
10106 |
<limits.h> exists even on freestanding compilers. */ |
|
|
10107 |
|
9233 |
#ifdef __STDC__ |
10108 |
#ifdef __STDC__ |
9234 |
# include <limits.h> |
10109 |
# include <limits.h> |
9235 |
#else |
10110 |
#else |
9236 |
# include <assert.h> |
10111 |
# include <assert.h> |
9237 |
#endif |
10112 |
#endif |
|
|
10113 |
|
10114 |
#undef dlopen |
10115 |
|
9238 |
/* Override any gcc2 internal prototype to avoid an error. */ |
10116 |
/* Override any gcc2 internal prototype to avoid an error. */ |
9239 |
#ifdef __cplusplus |
10117 |
#ifdef __cplusplus |
9240 |
extern "C" |
10118 |
extern "C" |
Lines 9265-9275
Link Here
|
9265 |
_ACEOF |
10143 |
_ACEOF |
9266 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10144 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9267 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10145 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9268 |
(eval $ac_link) 2>&5 |
10146 |
(eval $ac_link) 2>conftest.er1 |
9269 |
ac_status=$? |
10147 |
ac_status=$? |
|
|
10148 |
grep -v '^ *+' conftest.er1 >conftest.err |
10149 |
rm -f conftest.er1 |
10150 |
cat conftest.err >&5 |
9270 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10151 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9271 |
(exit $ac_status); } && |
10152 |
(exit $ac_status); } && |
9272 |
{ ac_try='test -s conftest$ac_exeext' |
10153 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
10154 |
|| test ! -s conftest.err' |
10155 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10156 |
(eval $ac_try) 2>&5 |
10157 |
ac_status=$? |
10158 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10159 |
(exit $ac_status); }; } && |
10160 |
{ ac_try='test -s conftest$ac_exeext' |
9273 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10161 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9274 |
(eval $ac_try) 2>&5 |
10162 |
(eval $ac_try) 2>&5 |
9275 |
ac_status=$? |
10163 |
ac_status=$? |
Lines 9282-9288
Link Here
|
9282 |
|
10170 |
|
9283 |
ac_cv_func_dlopen=no |
10171 |
ac_cv_func_dlopen=no |
9284 |
fi |
10172 |
fi |
9285 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10173 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
10174 |
conftest$ac_exeext conftest.$ac_ext |
9286 |
fi |
10175 |
fi |
9287 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
10176 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9288 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
10177 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
Lines 9297-9303
Link Here
|
9297 |
ac_check_lib_save_LIBS=$LIBS |
10186 |
ac_check_lib_save_LIBS=$LIBS |
9298 |
LIBS="-ldl $LIBS" |
10187 |
LIBS="-ldl $LIBS" |
9299 |
cat >conftest.$ac_ext <<_ACEOF |
10188 |
cat >conftest.$ac_ext <<_ACEOF |
9300 |
#line $LINENO "configure" |
|
|
9301 |
/* confdefs.h. */ |
10189 |
/* confdefs.h. */ |
9302 |
_ACEOF |
10190 |
_ACEOF |
9303 |
cat confdefs.h >>conftest.$ac_ext |
10191 |
cat confdefs.h >>conftest.$ac_ext |
Lines 9321-9331
Link Here
|
9321 |
_ACEOF |
10209 |
_ACEOF |
9322 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10210 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9323 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10211 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9324 |
(eval $ac_link) 2>&5 |
10212 |
(eval $ac_link) 2>conftest.er1 |
9325 |
ac_status=$? |
10213 |
ac_status=$? |
|
|
10214 |
grep -v '^ *+' conftest.er1 >conftest.err |
10215 |
rm -f conftest.er1 |
10216 |
cat conftest.err >&5 |
9326 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10217 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9327 |
(exit $ac_status); } && |
10218 |
(exit $ac_status); } && |
9328 |
{ ac_try='test -s conftest$ac_exeext' |
10219 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
10220 |
|| test ! -s conftest.err' |
10221 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10222 |
(eval $ac_try) 2>&5 |
10223 |
ac_status=$? |
10224 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10225 |
(exit $ac_status); }; } && |
10226 |
{ ac_try='test -s conftest$ac_exeext' |
9329 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10227 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9330 |
(eval $ac_try) 2>&5 |
10228 |
(eval $ac_try) 2>&5 |
9331 |
ac_status=$? |
10229 |
ac_status=$? |
Lines 9338-9344
Link Here
|
9338 |
|
10236 |
|
9339 |
ac_cv_lib_dl_dlopen=no |
10237 |
ac_cv_lib_dl_dlopen=no |
9340 |
fi |
10238 |
fi |
9341 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10239 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
10240 |
conftest$ac_exeext conftest.$ac_ext |
9342 |
LIBS=$ac_check_lib_save_LIBS |
10241 |
LIBS=$ac_check_lib_save_LIBS |
9343 |
fi |
10242 |
fi |
9344 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
10243 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
Lines 9354-9360
Link Here
|
9354 |
ac_check_lib_save_LIBS=$LIBS |
10253 |
ac_check_lib_save_LIBS=$LIBS |
9355 |
LIBS="-lsvld $LIBS" |
10254 |
LIBS="-lsvld $LIBS" |
9356 |
cat >conftest.$ac_ext <<_ACEOF |
10255 |
cat >conftest.$ac_ext <<_ACEOF |
9357 |
#line $LINENO "configure" |
|
|
9358 |
/* confdefs.h. */ |
10256 |
/* confdefs.h. */ |
9359 |
_ACEOF |
10257 |
_ACEOF |
9360 |
cat confdefs.h >>conftest.$ac_ext |
10258 |
cat confdefs.h >>conftest.$ac_ext |
Lines 9378-9388
Link Here
|
9378 |
_ACEOF |
10276 |
_ACEOF |
9379 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10277 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9380 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10278 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9381 |
(eval $ac_link) 2>&5 |
10279 |
(eval $ac_link) 2>conftest.er1 |
9382 |
ac_status=$? |
10280 |
ac_status=$? |
|
|
10281 |
grep -v '^ *+' conftest.er1 >conftest.err |
10282 |
rm -f conftest.er1 |
10283 |
cat conftest.err >&5 |
9383 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10284 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9384 |
(exit $ac_status); } && |
10285 |
(exit $ac_status); } && |
9385 |
{ ac_try='test -s conftest$ac_exeext' |
10286 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
10287 |
|| test ! -s conftest.err' |
10288 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10289 |
(eval $ac_try) 2>&5 |
10290 |
ac_status=$? |
10291 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10292 |
(exit $ac_status); }; } && |
10293 |
{ ac_try='test -s conftest$ac_exeext' |
9386 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10294 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9387 |
(eval $ac_try) 2>&5 |
10295 |
(eval $ac_try) 2>&5 |
9388 |
ac_status=$? |
10296 |
ac_status=$? |
Lines 9395-9401
Link Here
|
9395 |
|
10303 |
|
9396 |
ac_cv_lib_svld_dlopen=no |
10304 |
ac_cv_lib_svld_dlopen=no |
9397 |
fi |
10305 |
fi |
9398 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10306 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
10307 |
conftest$ac_exeext conftest.$ac_ext |
9399 |
LIBS=$ac_check_lib_save_LIBS |
10308 |
LIBS=$ac_check_lib_save_LIBS |
9400 |
fi |
10309 |
fi |
9401 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
10310 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
Lines 9411-9417
Link Here
|
9411 |
ac_check_lib_save_LIBS=$LIBS |
10320 |
ac_check_lib_save_LIBS=$LIBS |
9412 |
LIBS="-ldld $LIBS" |
10321 |
LIBS="-ldld $LIBS" |
9413 |
cat >conftest.$ac_ext <<_ACEOF |
10322 |
cat >conftest.$ac_ext <<_ACEOF |
9414 |
#line $LINENO "configure" |
|
|
9415 |
/* confdefs.h. */ |
10323 |
/* confdefs.h. */ |
9416 |
_ACEOF |
10324 |
_ACEOF |
9417 |
cat confdefs.h >>conftest.$ac_ext |
10325 |
cat confdefs.h >>conftest.$ac_ext |
Lines 9435-9445
Link Here
|
9435 |
_ACEOF |
10343 |
_ACEOF |
9436 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10344 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9437 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10345 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9438 |
(eval $ac_link) 2>&5 |
10346 |
(eval $ac_link) 2>conftest.er1 |
9439 |
ac_status=$? |
10347 |
ac_status=$? |
|
|
10348 |
grep -v '^ *+' conftest.er1 >conftest.err |
10349 |
rm -f conftest.er1 |
10350 |
cat conftest.err >&5 |
9440 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10351 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9441 |
(exit $ac_status); } && |
10352 |
(exit $ac_status); } && |
9442 |
{ ac_try='test -s conftest$ac_exeext' |
10353 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
10354 |
|| test ! -s conftest.err' |
10355 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10356 |
(eval $ac_try) 2>&5 |
10357 |
ac_status=$? |
10358 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10359 |
(exit $ac_status); }; } && |
10360 |
{ ac_try='test -s conftest$ac_exeext' |
9443 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10361 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9444 |
(eval $ac_try) 2>&5 |
10362 |
(eval $ac_try) 2>&5 |
9445 |
ac_status=$? |
10363 |
ac_status=$? |
Lines 9452-9458
Link Here
|
9452 |
|
10370 |
|
9453 |
ac_cv_lib_dld_dld_link=no |
10371 |
ac_cv_lib_dld_dld_link=no |
9454 |
fi |
10372 |
fi |
9455 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10373 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
10374 |
conftest$ac_exeext conftest.$ac_ext |
9456 |
LIBS=$ac_check_lib_save_LIBS |
10375 |
LIBS=$ac_check_lib_save_LIBS |
9457 |
fi |
10376 |
fi |
9458 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
10377 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
Lines 9507-9513
Link Here
|
9507 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10426 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9508 |
lt_status=$lt_dlunknown |
10427 |
lt_status=$lt_dlunknown |
9509 |
cat > conftest.$ac_ext <<EOF |
10428 |
cat > conftest.$ac_ext <<EOF |
9510 |
#line 9510 "configure" |
10429 |
#line 10429 "configure" |
9511 |
#include "confdefs.h" |
10430 |
#include "confdefs.h" |
9512 |
|
10431 |
|
9513 |
#if HAVE_DLFCN_H |
10432 |
#if HAVE_DLFCN_H |
Lines 9605-9611
Link Here
|
9605 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10524 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9606 |
lt_status=$lt_dlunknown |
10525 |
lt_status=$lt_dlunknown |
9607 |
cat > conftest.$ac_ext <<EOF |
10526 |
cat > conftest.$ac_ext <<EOF |
9608 |
#line 9608 "configure" |
10527 |
#line 10527 "configure" |
9609 |
#include "confdefs.h" |
10528 |
#include "confdefs.h" |
9610 |
|
10529 |
|
9611 |
#if HAVE_DLFCN_H |
10530 |
#if HAVE_DLFCN_H |
Lines 9730-9767
Link Here
|
9730 |
fi |
10649 |
fi |
9731 |
;; |
10650 |
;; |
9732 |
|
10651 |
|
9733 |
aix4*) |
10652 |
aix4* | aix5*) |
9734 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
10653 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
9735 |
test "$enable_shared" = yes && enable_static=no |
10654 |
test "$enable_shared" = yes && enable_static=no |
9736 |
fi |
10655 |
fi |
9737 |
;; |
|
|
9738 |
darwin* | rhapsody*) |
9739 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
9740 |
archive_cmds_need_lc=no |
9741 |
case "$host_os" in |
9742 |
rhapsody* | darwin1.[012]) |
9743 |
allow_undefined_flag='-undefined suppress' |
9744 |
;; |
9745 |
*) # Darwin 1.3 on |
9746 |
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' |
9747 |
;; |
9748 |
esac |
9749 |
# FIXME: Relying on posixy $() will cause problems for |
9750 |
# cross-compilation, but unfortunately the echo tests do not |
9751 |
# yet detect zsh echo's removal of \ escapes. Also zsh mangles |
9752 |
# `"' quotes if we put them in here... so don't! |
9753 |
output_verbose_link_cmd='echo' |
9754 |
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' |
9755 |
module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' |
9756 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
9757 |
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}' |
9758 |
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}' |
9759 |
hardcode_direct=no |
9760 |
hardcode_automatic=yes |
9761 |
hardcode_shlibpath_var=unsupported |
9762 |
whole_archive_flag_spec='-all_load $convenience' |
9763 |
link_all_deplibs=yes |
9764 |
fi |
9765 |
;; |
10656 |
;; |
9766 |
esac |
10657 |
esac |
9767 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
10658 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
Lines 9787-9793
Link Here
|
9787 |
# Now quote all the things that may contain metacharacters while being |
10678 |
# Now quote all the things that may contain metacharacters while being |
9788 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
10679 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
9789 |
# variables and quote the copies for generation of the libtool script. |
10680 |
# variables and quote the copies for generation of the libtool script. |
9790 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM SED SHELL \ |
10681 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
|
|
10682 |
SED SHELL STRIP \ |
9791 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
10683 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
9792 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
10684 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
9793 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
10685 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
Lines 9890-9896
Link Here
|
9890 |
# |
10782 |
# |
9891 |
# You should have received a copy of the GNU General Public License |
10783 |
# You should have received a copy of the GNU General Public License |
9892 |
# along with this program; if not, write to the Free Software |
10784 |
# along with this program; if not, write to the Free Software |
9893 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
10785 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
9894 |
# |
10786 |
# |
9895 |
# As a special exception to the GNU General Public License, if you |
10787 |
# As a special exception to the GNU General Public License, if you |
9896 |
# distribute this file as part of a program that contains a |
10788 |
# distribute this file as part of a program that contains a |
Lines 9901-9911
Link Here
|
9901 |
SED=$lt_SED |
10793 |
SED=$lt_SED |
9902 |
|
10794 |
|
9903 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
10795 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
9904 |
Xsed="$SED -e s/^X//" |
10796 |
Xsed="$SED -e 1s/^X//" |
9905 |
|
10797 |
|
9906 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
10798 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
9907 |
# if CDPATH is set. |
10799 |
# if CDPATH is set. |
9908 |
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
10800 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
9909 |
|
10801 |
|
9910 |
# The names of the tagged configurations supported by this script. |
10802 |
# The names of the tagged configurations supported by this script. |
9911 |
available_tags= |
10803 |
available_tags= |
Lines 9935-9940
Link Here
|
9935 |
# The host system. |
10827 |
# The host system. |
9936 |
host_alias=$host_alias |
10828 |
host_alias=$host_alias |
9937 |
host=$host |
10829 |
host=$host |
|
|
10830 |
host_os=$host_os |
10831 |
|
10832 |
# The build system. |
10833 |
build_alias=$build_alias |
10834 |
build=$build |
10835 |
build_os=$build_os |
9938 |
|
10836 |
|
9939 |
# An echo program that does not interpret backslashes. |
10837 |
# An echo program that does not interpret backslashes. |
9940 |
echo=$lt_echo |
10838 |
echo=$lt_echo |
Lines 9965-9971
Link Here
|
9965 |
NM=$lt_NM |
10863 |
NM=$lt_NM |
9966 |
|
10864 |
|
9967 |
# A symbol stripping program |
10865 |
# A symbol stripping program |
9968 |
STRIP=$STRIP |
10866 |
STRIP=$lt_STRIP |
9969 |
|
10867 |
|
9970 |
# Used to examine libraries when file_magic_cmd begins "file" |
10868 |
# Used to examine libraries when file_magic_cmd begins "file" |
9971 |
MAGIC_CMD=$MAGIC_CMD |
10869 |
MAGIC_CMD=$MAGIC_CMD |
Lines 9977-9983
Link Here
|
9977 |
OBJDUMP="$OBJDUMP" |
10875 |
OBJDUMP="$OBJDUMP" |
9978 |
|
10876 |
|
9979 |
# Used on cygwin: assembler. |
10877 |
# Used on cygwin: assembler. |
9980 |
AS=$lt_AS |
10878 |
AS="$AS" |
9981 |
|
10879 |
|
9982 |
# The name of the directory that contains temporary libtool files. |
10880 |
# The name of the directory that contains temporary libtool files. |
9983 |
objdir=$objdir |
10881 |
objdir=$objdir |
Lines 9996-10002
Link Here
|
9996 |
libext="$libext" |
10894 |
libext="$libext" |
9997 |
|
10895 |
|
9998 |
# Shared library suffix (normally ".so"). |
10896 |
# Shared library suffix (normally ".so"). |
9999 |
shrext='$shrext' |
10897 |
shrext_cmds='$shrext_cmds' |
10000 |
|
10898 |
|
10001 |
# Executable file suffix (normally ""). |
10899 |
# Executable file suffix (normally ""). |
10002 |
exeext="$exeext" |
10900 |
exeext="$exeext" |
Lines 10011-10017
Link Here
|
10011 |
# Does compiler simultaneously support -c and -o options? |
10909 |
# Does compiler simultaneously support -c and -o options? |
10012 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
10910 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
10013 |
|
10911 |
|
10014 |
# Must we lock files when doing compilation ? |
10912 |
# Must we lock files when doing compilation? |
10015 |
need_locks=$lt_need_locks |
10913 |
need_locks=$lt_need_locks |
10016 |
|
10914 |
|
10017 |
# Do we need the lib prefix for modules? |
10915 |
# Do we need the lib prefix for modules? |
Lines 10238-10244
Link Here
|
10238 |
# If there is no Makefile yet, we rely on a make rule to execute |
11136 |
# If there is no Makefile yet, we rely on a make rule to execute |
10239 |
# `config.status --recheck' to rerun these tests and create the |
11137 |
# `config.status --recheck' to rerun these tests and create the |
10240 |
# libtool script then. |
11138 |
# libtool script then. |
10241 |
test -f Makefile && make "$ltmain" |
11139 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
|
11140 |
if test -f "$ltmain_in"; then |
11141 |
test -f Makefile && make "$ltmain" |
11142 |
fi |
10242 |
fi |
11143 |
fi |
10243 |
|
11144 |
|
10244 |
|
11145 |
|
Lines 10303-10309
Link Here
|
10303 |
|
11204 |
|
10304 |
case $tagname in |
11205 |
case $tagname in |
10305 |
CXX) |
11206 |
CXX) |
10306 |
if test -n "$CXX" && test "X$CXX" != "Xno"; then |
11207 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
|
11208 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
11209 |
(test "X$CXX" != "Xg++"))) ; then |
10307 |
ac_ext=cc |
11210 |
ac_ext=cc |
10308 |
ac_cpp='$CXXCPP $CPPFLAGS' |
11211 |
ac_cpp='$CXXCPP $CPPFLAGS' |
10309 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11212 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Lines 10361-10366
Link Here
|
10361 |
compiler=$CC |
11264 |
compiler=$CC |
10362 |
|
11265 |
|
10363 |
|
11266 |
|
|
|
11267 |
# save warnings/boilerplate of simple test code |
11268 |
ac_outfile=conftest.$ac_objext |
11269 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
11270 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
11271 |
_lt_compiler_boilerplate=`cat conftest.err` |
11272 |
$rm conftest* |
11273 |
|
11274 |
ac_outfile=conftest.$ac_objext |
11275 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
11276 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
11277 |
_lt_linker_boilerplate=`cat conftest.err` |
11278 |
$rm conftest* |
11279 |
|
11280 |
|
10364 |
# Allow CC to be a program name with arguments. |
11281 |
# Allow CC to be a program name with arguments. |
10365 |
lt_save_CC=$CC |
11282 |
lt_save_CC=$CC |
10366 |
lt_save_LD=$LD |
11283 |
lt_save_LD=$LD |
Lines 10382-10388
Link Here
|
10382 |
CC=${CXX-"c++"} |
11299 |
CC=${CXX-"c++"} |
10383 |
compiler=$CC |
11300 |
compiler=$CC |
10384 |
compiler_CXX=$CC |
11301 |
compiler_CXX=$CC |
10385 |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
11302 |
for cc_temp in $compiler""; do |
|
|
11303 |
case $cc_temp in |
11304 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
11305 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
11306 |
\-*) ;; |
11307 |
*) break;; |
11308 |
esac |
11309 |
done |
11310 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
11311 |
|
10386 |
|
11312 |
|
10387 |
# We don't want -fno-exception wen compiling C++ code, so set the |
11313 |
# We don't want -fno-exception wen compiling C++ code, so set the |
10388 |
# no_builtin_flag separately |
11314 |
# no_builtin_flag separately |
Lines 10419-10425
Link Here
|
10419 |
# Accept absolute paths. |
11345 |
# Accept absolute paths. |
10420 |
[\\/]* | ?:[\\/]*) |
11346 |
[\\/]* | ?:[\\/]*) |
10421 |
re_direlt='/[^/][^/]*/\.\./' |
11347 |
re_direlt='/[^/][^/]*/\.\./' |
10422 |
# Canonicalize the path of ld |
11348 |
# Canonicalize the pathname of ld |
10423 |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
11349 |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
10424 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
11350 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
10425 |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
11351 |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
Lines 10533-10539
Link Here
|
10533 |
# linker, instead of GNU ld. If possible, this setting should |
11459 |
# linker, instead of GNU ld. If possible, this setting should |
10534 |
# overridden to take advantage of the native linker features on |
11460 |
# overridden to take advantage of the native linker features on |
10535 |
# the platform it is being used on. |
11461 |
# the platform it is being used on. |
10536 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
11462 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
10537 |
fi |
11463 |
fi |
10538 |
|
11464 |
|
10539 |
# Commands to make compiler produce verbose output that lists |
11465 |
# Commands to make compiler produce verbose output that lists |
Lines 10596-10602
Link Here
|
10596 |
link_all_deplibs_CXX=yes |
11522 |
link_all_deplibs_CXX=yes |
10597 |
|
11523 |
|
10598 |
if test "$GXX" = yes; then |
11524 |
if test "$GXX" = yes; then |
10599 |
case $host_os in aix4.012|aix4.012.*) |
11525 |
case $host_os in aix4.[012]|aix4.[012].*) |
10600 |
# We only want to do this on AIX 4.2 and lower, the check |
11526 |
# We only want to do this on AIX 4.2 and lower, the check |
10601 |
# below for broken collect2 doesn't work under 4.3+ |
11527 |
# below for broken collect2 doesn't work under 4.3+ |
10602 |
collect2name=`${CC} -print-prog-name=collect2` |
11528 |
collect2name=`${CC} -print-prog-name=collect2` |
Lines 10617-10622
Link Here
|
10617 |
fi |
11543 |
fi |
10618 |
esac |
11544 |
esac |
10619 |
shared_flag='-shared' |
11545 |
shared_flag='-shared' |
|
|
11546 |
if test "$aix_use_runtimelinking" = yes; then |
11547 |
shared_flag="$shared_flag "'${wl}-G' |
11548 |
fi |
10620 |
else |
11549 |
else |
10621 |
# not using gcc |
11550 |
# not using gcc |
10622 |
if test "$host_cpu" = ia64; then |
11551 |
if test "$host_cpu" = ia64; then |
Lines 10641-10647
Link Here
|
10641 |
allow_undefined_flag_CXX='-berok' |
11570 |
allow_undefined_flag_CXX='-berok' |
10642 |
# Determine the default libpath from the value encoded in an empty executable. |
11571 |
# Determine the default libpath from the value encoded in an empty executable. |
10643 |
cat >conftest.$ac_ext <<_ACEOF |
11572 |
cat >conftest.$ac_ext <<_ACEOF |
10644 |
#line $LINENO "configure" |
|
|
10645 |
/* confdefs.h. */ |
11573 |
/* confdefs.h. */ |
10646 |
_ACEOF |
11574 |
_ACEOF |
10647 |
cat confdefs.h >>conftest.$ac_ext |
11575 |
cat confdefs.h >>conftest.$ac_ext |
Lines 10658-10668
Link Here
|
10658 |
_ACEOF |
11586 |
_ACEOF |
10659 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11587 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10660 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11588 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10661 |
(eval $ac_link) 2>&5 |
11589 |
(eval $ac_link) 2>conftest.er1 |
10662 |
ac_status=$? |
11590 |
ac_status=$? |
|
|
11591 |
grep -v '^ *+' conftest.er1 >conftest.err |
11592 |
rm -f conftest.er1 |
11593 |
cat conftest.err >&5 |
10663 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11594 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10664 |
(exit $ac_status); } && |
11595 |
(exit $ac_status); } && |
10665 |
{ ac_try='test -s conftest$ac_exeext' |
11596 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11597 |
|| test ! -s conftest.err' |
11598 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11599 |
(eval $ac_try) 2>&5 |
11600 |
ac_status=$? |
11601 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11602 |
(exit $ac_status); }; } && |
11603 |
{ ac_try='test -s conftest$ac_exeext' |
10666 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11604 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10667 |
(eval $ac_try) 2>&5 |
11605 |
(eval $ac_try) 2>&5 |
10668 |
ac_status=$? |
11606 |
ac_status=$? |
Lines 10679-10685
Link Here
|
10679 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11617 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10680 |
|
11618 |
|
10681 |
fi |
11619 |
fi |
10682 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11620 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
11621 |
conftest$ac_exeext conftest.$ac_ext |
10683 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
11622 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10684 |
|
11623 |
|
10685 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
11624 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 10693-10699
Link Here
|
10693 |
else |
11632 |
else |
10694 |
# Determine the default libpath from the value encoded in an empty executable. |
11633 |
# Determine the default libpath from the value encoded in an empty executable. |
10695 |
cat >conftest.$ac_ext <<_ACEOF |
11634 |
cat >conftest.$ac_ext <<_ACEOF |
10696 |
#line $LINENO "configure" |
|
|
10697 |
/* confdefs.h. */ |
11635 |
/* confdefs.h. */ |
10698 |
_ACEOF |
11636 |
_ACEOF |
10699 |
cat confdefs.h >>conftest.$ac_ext |
11637 |
cat confdefs.h >>conftest.$ac_ext |
Lines 10710-10720
Link Here
|
10710 |
_ACEOF |
11648 |
_ACEOF |
10711 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11649 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10712 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11650 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10713 |
(eval $ac_link) 2>&5 |
11651 |
(eval $ac_link) 2>conftest.er1 |
10714 |
ac_status=$? |
11652 |
ac_status=$? |
|
|
11653 |
grep -v '^ *+' conftest.er1 >conftest.err |
11654 |
rm -f conftest.er1 |
11655 |
cat conftest.err >&5 |
10715 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11656 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10716 |
(exit $ac_status); } && |
11657 |
(exit $ac_status); } && |
10717 |
{ ac_try='test -s conftest$ac_exeext' |
11658 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11659 |
|| test ! -s conftest.err' |
11660 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11661 |
(eval $ac_try) 2>&5 |
11662 |
ac_status=$? |
11663 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11664 |
(exit $ac_status); }; } && |
11665 |
{ ac_try='test -s conftest$ac_exeext' |
10718 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11666 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10719 |
(eval $ac_try) 2>&5 |
11667 |
(eval $ac_try) 2>&5 |
10720 |
ac_status=$? |
11668 |
ac_status=$? |
Lines 10731-10737
Link Here
|
10731 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11679 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10732 |
|
11680 |
|
10733 |
fi |
11681 |
fi |
10734 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11682 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
11683 |
conftest$ac_exeext conftest.$ac_ext |
10735 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
11684 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10736 |
|
11685 |
|
10737 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
11686 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 10758-10763
Link Here
|
10758 |
esac |
11707 |
esac |
10759 |
;; |
11708 |
;; |
10760 |
|
11709 |
|
|
|
11710 |
|
10761 |
cygwin* | mingw* | pw32*) |
11711 |
cygwin* | mingw* | pw32*) |
10762 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
11712 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
10763 |
# as there is no search path for DLLs. |
11713 |
# as there is no search path for DLLs. |
Lines 10781-10832
Link Here
|
10781 |
ld_shlibs_CXX=no |
11731 |
ld_shlibs_CXX=no |
10782 |
fi |
11732 |
fi |
10783 |
;; |
11733 |
;; |
10784 |
|
11734 |
darwin* | rhapsody*) |
10785 |
darwin* | rhapsody*) |
11735 |
case "$host_os" in |
10786 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
11736 |
rhapsody* | darwin1.[012]) |
10787 |
archive_cmds_need_lc_CXX=no |
11737 |
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' |
10788 |
case "$host_os" in |
11738 |
;; |
10789 |
rhapsody* | darwin1.[012]) |
11739 |
*) # Darwin 1.3 on |
10790 |
allow_undefined_flag_CXX='-undefined suppress' |
11740 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
10791 |
;; |
11741 |
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
10792 |
*) # Darwin 1.3 on |
11742 |
else |
10793 |
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' |
11743 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
10794 |
;; |
11744 |
10.[012]) |
10795 |
esac |
11745 |
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
10796 |
lt_int_apple_cc_single_mod=no |
11746 |
;; |
10797 |
output_verbose_link_cmd='echo' |
11747 |
10.*) |
10798 |
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
11748 |
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' |
10799 |
lt_int_apple_cc_single_mod=yes |
11749 |
;; |
10800 |
fi |
11750 |
esac |
10801 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
11751 |
fi |
10802 |
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
11752 |
;; |
10803 |
else |
11753 |
esac |
10804 |
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
11754 |
archive_cmds_need_lc_CXX=no |
|
|
11755 |
hardcode_direct_CXX=no |
11756 |
hardcode_automatic_CXX=yes |
11757 |
hardcode_shlibpath_var_CXX=unsupported |
11758 |
whole_archive_flag_spec_CXX='' |
11759 |
link_all_deplibs_CXX=yes |
11760 |
|
11761 |
if test "$GXX" = yes ; then |
11762 |
lt_int_apple_cc_single_mod=no |
11763 |
output_verbose_link_cmd='echo' |
11764 |
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then |
11765 |
lt_int_apple_cc_single_mod=yes |
10805 |
fi |
11766 |
fi |
10806 |
module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' |
|
|
10807 |
|
10808 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
10809 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
11767 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
10810 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
11768 |
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
10811 |
else |
11769 |
else |
10812 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
11770 |
archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
10813 |
fi |
11771 |
fi |
10814 |
module_expsym_cmds_CXX='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}' |
11772 |
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
10815 |
hardcode_direct_CXX=no |
11773 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
10816 |
hardcode_automatic_CXX=yes |
11774 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
10817 |
hardcode_shlibpath_var_CXX=unsupported |
11775 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
10818 |
whole_archive_flag_spec_CXX='-all_load $convenience' |
11776 |
else |
10819 |
link_all_deplibs_CXX=yes |
11777 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
10820 |
fi |
11778 |
fi |
10821 |
;; |
11779 |
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
11780 |
else |
11781 |
case $cc_basename in |
11782 |
xlc*) |
11783 |
output_verbose_link_cmd='echo' |
11784 |
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
11785 |
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
11786 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
11787 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
11788 |
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
11789 |
;; |
11790 |
*) |
11791 |
ld_shlibs_CXX=no |
11792 |
;; |
11793 |
esac |
11794 |
fi |
11795 |
;; |
10822 |
|
11796 |
|
10823 |
dgux*) |
11797 |
dgux*) |
10824 |
case $cc_basename in |
11798 |
case $cc_basename in |
10825 |
ec++) |
11799 |
ec++*) |
10826 |
# FIXME: insert proper C++ library support |
11800 |
# FIXME: insert proper C++ library support |
10827 |
ld_shlibs_CXX=no |
11801 |
ld_shlibs_CXX=no |
10828 |
;; |
11802 |
;; |
10829 |
ghcx) |
11803 |
ghcx*) |
10830 |
# Green Hills C++ Compiler |
11804 |
# Green Hills C++ Compiler |
10831 |
# FIXME: insert proper C++ library support |
11805 |
# FIXME: insert proper C++ library support |
10832 |
ld_shlibs_CXX=no |
11806 |
ld_shlibs_CXX=no |
Lines 10837-10850
Link Here
|
10837 |
;; |
11811 |
;; |
10838 |
esac |
11812 |
esac |
10839 |
;; |
11813 |
;; |
10840 |
freebsd12*) |
11814 |
freebsd[12]*) |
10841 |
# C++ shared libraries reported to be fairly broken before switch to ELF |
11815 |
# C++ shared libraries reported to be fairly broken before switch to ELF |
10842 |
ld_shlibs_CXX=no |
11816 |
ld_shlibs_CXX=no |
10843 |
;; |
11817 |
;; |
10844 |
freebsd-elf*) |
11818 |
freebsd-elf*) |
10845 |
archive_cmds_need_lc_CXX=no |
11819 |
archive_cmds_need_lc_CXX=no |
10846 |
;; |
11820 |
;; |
10847 |
freebsd*) |
11821 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
10848 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
11822 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
10849 |
# conventions |
11823 |
# conventions |
10850 |
ld_shlibs_CXX=yes |
11824 |
ld_shlibs_CXX=yes |
Lines 10861-10871
Link Here
|
10861 |
# location of the library. |
11835 |
# location of the library. |
10862 |
|
11836 |
|
10863 |
case $cc_basename in |
11837 |
case $cc_basename in |
10864 |
CC) |
11838 |
CC*) |
10865 |
# FIXME: insert proper C++ library support |
11839 |
# FIXME: insert proper C++ library support |
10866 |
ld_shlibs_CXX=no |
11840 |
ld_shlibs_CXX=no |
10867 |
;; |
11841 |
;; |
10868 |
aCC) |
11842 |
aCC*) |
10869 |
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
11843 |
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
10870 |
# Commands to make compiler produce verbose output that lists |
11844 |
# Commands to make compiler produce verbose output that lists |
10871 |
# what "hidden" libraries, object files and flags are used when |
11845 |
# what "hidden" libraries, object files and flags are used when |
Lines 10875-10881
Link Here
|
10875 |
# explicitly linking system object files so we need to strip them |
11849 |
# explicitly linking system object files so we need to strip them |
10876 |
# from the output so that they don't get included in the library |
11850 |
# from the output so that they don't get included in the library |
10877 |
# dependencies. |
11851 |
# dependencies. |
10878 |
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
11852 |
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
10879 |
;; |
11853 |
;; |
10880 |
*) |
11854 |
*) |
10881 |
if test "$GXX" = yes; then |
11855 |
if test "$GXX" = yes; then |
Lines 10926-10936
Link Here
|
10926 |
esac |
11900 |
esac |
10927 |
|
11901 |
|
10928 |
case $cc_basename in |
11902 |
case $cc_basename in |
10929 |
CC) |
11903 |
CC*) |
10930 |
# FIXME: insert proper C++ library support |
11904 |
# FIXME: insert proper C++ library support |
10931 |
ld_shlibs_CXX=no |
11905 |
ld_shlibs_CXX=no |
10932 |
;; |
11906 |
;; |
10933 |
aCC) |
11907 |
aCC*) |
10934 |
case "$host_cpu" in |
11908 |
case "$host_cpu" in |
10935 |
hppa*64*|ia64*) |
11909 |
hppa*64*|ia64*) |
10936 |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
11910 |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
Lines 10970-10978
Link Here
|
10970 |
;; |
11944 |
;; |
10971 |
irix5* | irix6*) |
11945 |
irix5* | irix6*) |
10972 |
case $cc_basename in |
11946 |
case $cc_basename in |
10973 |
CC) |
11947 |
CC*) |
10974 |
# SGI C++ |
11948 |
# SGI C++ |
10975 |
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' |
11949 |
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
10976 |
|
11950 |
|
10977 |
# Archives containing C++ object files must be created using |
11951 |
# Archives containing C++ object files must be created using |
10978 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
11952 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
Lines 10983-10989
Link Here
|
10983 |
*) |
11957 |
*) |
10984 |
if test "$GXX" = yes; then |
11958 |
if test "$GXX" = yes; then |
10985 |
if test "$with_gnu_ld" = no; then |
11959 |
if test "$with_gnu_ld" = no; then |
10986 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' |
11960 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10987 |
else |
11961 |
else |
10988 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
11962 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
10989 |
fi |
11963 |
fi |
Lines 10996-11002
Link Here
|
10996 |
;; |
11970 |
;; |
10997 |
linux*) |
11971 |
linux*) |
10998 |
case $cc_basename in |
11972 |
case $cc_basename in |
10999 |
KCC) |
11973 |
KCC*) |
11000 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
11974 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
11001 |
|
11975 |
|
11002 |
# KCC will only create a shared library if the output file |
11976 |
# KCC will only create a shared library if the output file |
Lines 11021-11037
Link Here
|
11021 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
11995 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
11022 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
11996 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
11023 |
;; |
11997 |
;; |
11024 |
icpc) |
11998 |
icpc*) |
11025 |
# Intel C++ |
11999 |
# Intel C++ |
11026 |
with_gnu_ld=yes |
12000 |
with_gnu_ld=yes |
|
|
12001 |
# version 8.0 and above of icpc choke on multiply defined symbols |
12002 |
# if we add $predep_objects and $postdep_objects, however 7.1 and |
12003 |
# earlier do not add the objects themselves. |
12004 |
case `$CC -V 2>&1` in |
12005 |
*"Version 7."*) |
12006 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
12007 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
12008 |
;; |
12009 |
*) # Version 8.0 or newer |
12010 |
tmp_idyn= |
12011 |
case $host_cpu in |
12012 |
ia64*) tmp_idyn=' -i_dynamic';; |
12013 |
esac |
12014 |
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
12015 |
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
12016 |
;; |
12017 |
esac |
11027 |
archive_cmds_need_lc_CXX=no |
12018 |
archive_cmds_need_lc_CXX=no |
11028 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
11029 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
11030 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
12019 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
11031 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
12020 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
11032 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
12021 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
11033 |
;; |
12022 |
;; |
11034 |
cxx) |
12023 |
pgCC*) |
|
|
12024 |
# Portland Group C++ compiler |
12025 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
12026 |
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
12027 |
|
12028 |
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
12029 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
12030 |
whole_archive_flag_spec_CXX='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
12031 |
;; |
12032 |
cxx*) |
11035 |
# Compaq C++ |
12033 |
# Compaq C++ |
11036 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
12034 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
11037 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' |
12035 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' |
Lines 11062-11068
Link Here
|
11062 |
;; |
12060 |
;; |
11063 |
mvs*) |
12061 |
mvs*) |
11064 |
case $cc_basename in |
12062 |
case $cc_basename in |
11065 |
cxx) |
12063 |
cxx*) |
11066 |
# FIXME: insert proper C++ library support |
12064 |
# FIXME: insert proper C++ library support |
11067 |
ld_shlibs_CXX=no |
12065 |
ld_shlibs_CXX=no |
11068 |
;; |
12066 |
;; |
Lines 11083-11091
Link Here
|
11083 |
# Workaround some broken pre-1.5 toolchains |
12081 |
# Workaround some broken pre-1.5 toolchains |
11084 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
12082 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
11085 |
;; |
12083 |
;; |
|
|
12084 |
openbsd2*) |
12085 |
# C++ shared libraries are fairly broken |
12086 |
ld_shlibs_CXX=no |
12087 |
;; |
12088 |
openbsd*) |
12089 |
hardcode_direct_CXX=yes |
12090 |
hardcode_shlibpath_var_CXX=no |
12091 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
12092 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
12093 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
12094 |
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
12095 |
export_dynamic_flag_spec_CXX='${wl}-E' |
12096 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
12097 |
fi |
12098 |
output_verbose_link_cmd='echo' |
12099 |
;; |
11086 |
osf3*) |
12100 |
osf3*) |
11087 |
case $cc_basename in |
12101 |
case $cc_basename in |
11088 |
KCC) |
12102 |
KCC*) |
11089 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
12103 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
11090 |
|
12104 |
|
11091 |
# KCC will only create a shared library if the output file |
12105 |
# KCC will only create a shared library if the output file |
Lines 11101-11114
Link Here
|
11101 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
12115 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
11102 |
|
12116 |
|
11103 |
;; |
12117 |
;; |
11104 |
RCC) |
12118 |
RCC*) |
11105 |
# Rational C++ 2.4.1 |
12119 |
# Rational C++ 2.4.1 |
11106 |
# FIXME: insert proper C++ library support |
12120 |
# FIXME: insert proper C++ library support |
11107 |
ld_shlibs_CXX=no |
12121 |
ld_shlibs_CXX=no |
11108 |
;; |
12122 |
;; |
11109 |
cxx) |
12123 |
cxx*) |
11110 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
12124 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
11111 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' |
12125 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
11112 |
|
12126 |
|
11113 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
12127 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
11114 |
hardcode_libdir_separator_CXX=: |
12128 |
hardcode_libdir_separator_CXX=: |
Lines 11126-11132
Link Here
|
11126 |
*) |
12140 |
*) |
11127 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
12141 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
11128 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
12142 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
11129 |
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' |
12143 |
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
11130 |
|
12144 |
|
11131 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
12145 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
11132 |
hardcode_libdir_separator_CXX=: |
12146 |
hardcode_libdir_separator_CXX=: |
Lines 11145-11151
Link Here
|
11145 |
;; |
12159 |
;; |
11146 |
osf4* | osf5*) |
12160 |
osf4* | osf5*) |
11147 |
case $cc_basename in |
12161 |
case $cc_basename in |
11148 |
KCC) |
12162 |
KCC*) |
11149 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
12163 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
11150 |
|
12164 |
|
11151 |
# KCC will only create a shared library if the output file |
12165 |
# KCC will only create a shared library if the output file |
Lines 11160-11176
Link Here
|
11160 |
# the KAI C++ compiler. |
12174 |
# the KAI C++ compiler. |
11161 |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
12175 |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
11162 |
;; |
12176 |
;; |
11163 |
RCC) |
12177 |
RCC*) |
11164 |
# Rational C++ 2.4.1 |
12178 |
# Rational C++ 2.4.1 |
11165 |
# FIXME: insert proper C++ library support |
12179 |
# FIXME: insert proper C++ library support |
11166 |
ld_shlibs_CXX=no |
12180 |
ld_shlibs_CXX=no |
11167 |
;; |
12181 |
;; |
11168 |
cxx) |
12182 |
cxx*) |
11169 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
12183 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
11170 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' |
12184 |
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
11171 |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
12185 |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
11172 |
echo "-hidden">> $lib.exp~ |
12186 |
echo "-hidden">> $lib.exp~ |
11173 |
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ |
12187 |
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ |
11174 |
$rm $lib.exp' |
12188 |
$rm $lib.exp' |
11175 |
|
12189 |
|
11176 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
12190 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
Lines 11189-11195
Link Here
|
11189 |
*) |
12203 |
*) |
11190 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
12204 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
11191 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
12205 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
11192 |
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' |
12206 |
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
11193 |
|
12207 |
|
11194 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
12208 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
11195 |
hardcode_libdir_separator_CXX=: |
12209 |
hardcode_libdir_separator_CXX=: |
Lines 11213-11219
Link Here
|
11213 |
sco*) |
12227 |
sco*) |
11214 |
archive_cmds_need_lc_CXX=no |
12228 |
archive_cmds_need_lc_CXX=no |
11215 |
case $cc_basename in |
12229 |
case $cc_basename in |
11216 |
CC) |
12230 |
CC*) |
11217 |
# FIXME: insert proper C++ library support |
12231 |
# FIXME: insert proper C++ library support |
11218 |
ld_shlibs_CXX=no |
12232 |
ld_shlibs_CXX=no |
11219 |
;; |
12233 |
;; |
Lines 11225-11236
Link Here
|
11225 |
;; |
12239 |
;; |
11226 |
sunos4*) |
12240 |
sunos4*) |
11227 |
case $cc_basename in |
12241 |
case $cc_basename in |
11228 |
CC) |
12242 |
CC*) |
11229 |
# Sun C++ 4.x |
12243 |
# Sun C++ 4.x |
11230 |
# FIXME: insert proper C++ library support |
12244 |
# FIXME: insert proper C++ library support |
11231 |
ld_shlibs_CXX=no |
12245 |
ld_shlibs_CXX=no |
11232 |
;; |
12246 |
;; |
11233 |
lcc) |
12247 |
lcc*) |
11234 |
# Lucid |
12248 |
# Lucid |
11235 |
# FIXME: insert proper C++ library support |
12249 |
# FIXME: insert proper C++ library support |
11236 |
ld_shlibs_CXX=no |
12250 |
ld_shlibs_CXX=no |
Lines 11243-11249
Link Here
|
11243 |
;; |
12257 |
;; |
11244 |
solaris*) |
12258 |
solaris*) |
11245 |
case $cc_basename in |
12259 |
case $cc_basename in |
11246 |
CC) |
12260 |
CC*) |
11247 |
# Sun C++ 4.2, 5.x and Centerline C++ |
12261 |
# Sun C++ 4.2, 5.x and Centerline C++ |
11248 |
no_undefined_flag_CXX=' -zdefs' |
12262 |
no_undefined_flag_CXX=' -zdefs' |
11249 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
12263 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
Lines 11253-11265
Link Here
|
11253 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
12267 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
11254 |
hardcode_shlibpath_var_CXX=no |
12268 |
hardcode_shlibpath_var_CXX=no |
11255 |
case $host_os in |
12269 |
case $host_os in |
11256 |
solaris2.0-5 | solaris2.0-5.*) ;; |
12270 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
11257 |
*) |
12271 |
*) |
11258 |
# The C++ compiler is used as linker so we must use $wl |
12272 |
# The C++ compiler is used as linker so we must use $wl |
11259 |
# flag to pass the commands to the underlying system |
12273 |
# flag to pass the commands to the underlying system |
11260 |
# linker. |
12274 |
# linker. We must also pass each convience library through |
|
|
12275 |
# to the system linker between allextract/defaultextract. |
12276 |
# The C++ compiler will combine linker options so we |
12277 |
# cannot just pass the convience library names through |
12278 |
# without $wl. |
11261 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
12279 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
11262 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
12280 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' |
11263 |
;; |
12281 |
;; |
11264 |
esac |
12282 |
esac |
11265 |
link_all_deplibs_CXX=yes |
12283 |
link_all_deplibs_CXX=yes |
Lines 11280-11286
Link Here
|
11280 |
# in the archive. |
12298 |
# in the archive. |
11281 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
12299 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
11282 |
;; |
12300 |
;; |
11283 |
gcx) |
12301 |
gcx*) |
11284 |
# Green Hills C++ Compiler |
12302 |
# Green Hills C++ Compiler |
11285 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
12303 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
11286 |
|
12304 |
|
Lines 11323-11329
Link Here
|
11323 |
;; |
12341 |
;; |
11324 |
tandem*) |
12342 |
tandem*) |
11325 |
case $cc_basename in |
12343 |
case $cc_basename in |
11326 |
NCC) |
12344 |
NCC*) |
11327 |
# NonStop-UX NCC 3.20 |
12345 |
# NonStop-UX NCC 3.20 |
11328 |
# FIXME: insert proper C++ library support |
12346 |
# FIXME: insert proper C++ library support |
11329 |
ld_shlibs_CXX=no |
12347 |
ld_shlibs_CXX=no |
Lines 11532-11549
Link Here
|
11532 |
;; |
12550 |
;; |
11533 |
chorus*) |
12551 |
chorus*) |
11534 |
case $cc_basename in |
12552 |
case $cc_basename in |
11535 |
cxch68) |
12553 |
cxch68*) |
11536 |
# Green Hills C++ Compiler |
12554 |
# Green Hills C++ Compiler |
11537 |
# _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
12555 |
# _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
11538 |
;; |
12556 |
;; |
11539 |
esac |
12557 |
esac |
11540 |
;; |
12558 |
;; |
|
|
12559 |
darwin*) |
12560 |
# PIC is the default on this platform |
12561 |
# Common symbols not allowed in MH_DYLIB files |
12562 |
case $cc_basename in |
12563 |
xlc*) |
12564 |
lt_prog_compiler_pic_CXX='-qnocommon' |
12565 |
lt_prog_compiler_wl_CXX='-Wl,' |
12566 |
;; |
12567 |
esac |
12568 |
;; |
11541 |
dgux*) |
12569 |
dgux*) |
11542 |
case $cc_basename in |
12570 |
case $cc_basename in |
11543 |
ec++) |
12571 |
ec++*) |
11544 |
lt_prog_compiler_pic_CXX='-KPIC' |
12572 |
lt_prog_compiler_pic_CXX='-KPIC' |
11545 |
;; |
12573 |
;; |
11546 |
ghcx) |
12574 |
ghcx*) |
11547 |
# Green Hills C++ Compiler |
12575 |
# Green Hills C++ Compiler |
11548 |
lt_prog_compiler_pic_CXX='-pic' |
12576 |
lt_prog_compiler_pic_CXX='-pic' |
11549 |
;; |
12577 |
;; |
Lines 11551-11569
Link Here
|
11551 |
;; |
12579 |
;; |
11552 |
esac |
12580 |
esac |
11553 |
;; |
12581 |
;; |
11554 |
freebsd*) |
12582 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
11555 |
# FreeBSD uses GNU C++ |
12583 |
# FreeBSD uses GNU C++ |
11556 |
;; |
12584 |
;; |
11557 |
hpux9* | hpux10* | hpux11*) |
12585 |
hpux9* | hpux10* | hpux11*) |
11558 |
case $cc_basename in |
12586 |
case $cc_basename in |
11559 |
CC) |
12587 |
CC*) |
11560 |
lt_prog_compiler_wl_CXX='-Wl,' |
12588 |
lt_prog_compiler_wl_CXX='-Wl,' |
11561 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
12589 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
11562 |
if test "$host_cpu" != ia64; then |
12590 |
if test "$host_cpu" != ia64; then |
11563 |
lt_prog_compiler_pic_CXX='+Z' |
12591 |
lt_prog_compiler_pic_CXX='+Z' |
11564 |
fi |
12592 |
fi |
11565 |
;; |
12593 |
;; |
11566 |
aCC) |
12594 |
aCC*) |
11567 |
lt_prog_compiler_wl_CXX='-Wl,' |
12595 |
lt_prog_compiler_wl_CXX='-Wl,' |
11568 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
12596 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
11569 |
case "$host_cpu" in |
12597 |
case "$host_cpu" in |
Lines 11581-11587
Link Here
|
11581 |
;; |
12609 |
;; |
11582 |
irix5* | irix6* | nonstopux*) |
12610 |
irix5* | irix6* | nonstopux*) |
11583 |
case $cc_basename in |
12611 |
case $cc_basename in |
11584 |
CC) |
12612 |
CC*) |
11585 |
lt_prog_compiler_wl_CXX='-Wl,' |
12613 |
lt_prog_compiler_wl_CXX='-Wl,' |
11586 |
lt_prog_compiler_static_CXX='-non_shared' |
12614 |
lt_prog_compiler_static_CXX='-non_shared' |
11587 |
# CC pic flag -KPIC is the default. |
12615 |
# CC pic flag -KPIC is the default. |
Lines 11592-11609
Link Here
|
11592 |
;; |
12620 |
;; |
11593 |
linux*) |
12621 |
linux*) |
11594 |
case $cc_basename in |
12622 |
case $cc_basename in |
11595 |
KCC) |
12623 |
KCC*) |
11596 |
# KAI C++ Compiler |
12624 |
# KAI C++ Compiler |
11597 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
12625 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
11598 |
lt_prog_compiler_pic_CXX='-fPIC' |
12626 |
lt_prog_compiler_pic_CXX='-fPIC' |
11599 |
;; |
12627 |
;; |
11600 |
icpc) |
12628 |
icpc* | ecpc*) |
11601 |
# Intel C++ |
12629 |
# Intel C++ |
11602 |
lt_prog_compiler_wl_CXX='-Wl,' |
12630 |
lt_prog_compiler_wl_CXX='-Wl,' |
11603 |
lt_prog_compiler_pic_CXX='-KPIC' |
12631 |
lt_prog_compiler_pic_CXX='-KPIC' |
11604 |
lt_prog_compiler_static_CXX='-static' |
12632 |
lt_prog_compiler_static_CXX='-static' |
11605 |
;; |
12633 |
;; |
11606 |
cxx) |
12634 |
pgCC*) |
|
|
12635 |
# Portland Group C++ compiler. |
12636 |
lt_prog_compiler_wl_CXX='-Wl,' |
12637 |
lt_prog_compiler_pic_CXX='-fpic' |
12638 |
lt_prog_compiler_static_CXX='-static' |
12639 |
;; |
12640 |
cxx*) |
11607 |
# Compaq C++ |
12641 |
# Compaq C++ |
11608 |
# Make sure the PIC flag is empty. It appears that all Alpha |
12642 |
# Make sure the PIC flag is empty. It appears that all Alpha |
11609 |
# Linux and Compaq Tru64 Unix objects are PIC. |
12643 |
# Linux and Compaq Tru64 Unix objects are PIC. |
Lines 11620-11626
Link Here
|
11620 |
;; |
12654 |
;; |
11621 |
mvs*) |
12655 |
mvs*) |
11622 |
case $cc_basename in |
12656 |
case $cc_basename in |
11623 |
cxx) |
12657 |
cxx*) |
11624 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
12658 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
11625 |
;; |
12659 |
;; |
11626 |
*) |
12660 |
*) |
Lines 11631-11644
Link Here
|
11631 |
;; |
12665 |
;; |
11632 |
osf3* | osf4* | osf5*) |
12666 |
osf3* | osf4* | osf5*) |
11633 |
case $cc_basename in |
12667 |
case $cc_basename in |
11634 |
KCC) |
12668 |
KCC*) |
11635 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
12669 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
11636 |
;; |
12670 |
;; |
11637 |
RCC) |
12671 |
RCC*) |
11638 |
# Rational C++ 2.4.1 |
12672 |
# Rational C++ 2.4.1 |
11639 |
lt_prog_compiler_pic_CXX='-pic' |
12673 |
lt_prog_compiler_pic_CXX='-pic' |
11640 |
;; |
12674 |
;; |
11641 |
cxx) |
12675 |
cxx*) |
11642 |
# Digital/Compaq C++ |
12676 |
# Digital/Compaq C++ |
11643 |
lt_prog_compiler_wl_CXX='-Wl,' |
12677 |
lt_prog_compiler_wl_CXX='-Wl,' |
11644 |
# Make sure the PIC flag is empty. It appears that all Alpha |
12678 |
# Make sure the PIC flag is empty. It appears that all Alpha |
Lines 11654-11660
Link Here
|
11654 |
;; |
12688 |
;; |
11655 |
sco*) |
12689 |
sco*) |
11656 |
case $cc_basename in |
12690 |
case $cc_basename in |
11657 |
CC) |
12691 |
CC*) |
11658 |
lt_prog_compiler_pic_CXX='-fPIC' |
12692 |
lt_prog_compiler_pic_CXX='-fPIC' |
11659 |
;; |
12693 |
;; |
11660 |
*) |
12694 |
*) |
Lines 11663-11675
Link Here
|
11663 |
;; |
12697 |
;; |
11664 |
solaris*) |
12698 |
solaris*) |
11665 |
case $cc_basename in |
12699 |
case $cc_basename in |
11666 |
CC) |
12700 |
CC*) |
11667 |
# Sun C++ 4.2, 5.x and Centerline C++ |
12701 |
# Sun C++ 4.2, 5.x and Centerline C++ |
11668 |
lt_prog_compiler_pic_CXX='-KPIC' |
12702 |
lt_prog_compiler_pic_CXX='-KPIC' |
11669 |
lt_prog_compiler_static_CXX='-Bstatic' |
12703 |
lt_prog_compiler_static_CXX='-Bstatic' |
11670 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
12704 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
11671 |
;; |
12705 |
;; |
11672 |
gcx) |
12706 |
gcx*) |
11673 |
# Green Hills C++ Compiler |
12707 |
# Green Hills C++ Compiler |
11674 |
lt_prog_compiler_pic_CXX='-PIC' |
12708 |
lt_prog_compiler_pic_CXX='-PIC' |
11675 |
;; |
12709 |
;; |
Lines 11679-11690
Link Here
|
11679 |
;; |
12713 |
;; |
11680 |
sunos4*) |
12714 |
sunos4*) |
11681 |
case $cc_basename in |
12715 |
case $cc_basename in |
11682 |
CC) |
12716 |
CC*) |
11683 |
# Sun C++ 4.x |
12717 |
# Sun C++ 4.x |
11684 |
lt_prog_compiler_pic_CXX='-pic' |
12718 |
lt_prog_compiler_pic_CXX='-pic' |
11685 |
lt_prog_compiler_static_CXX='-Bstatic' |
12719 |
lt_prog_compiler_static_CXX='-Bstatic' |
11686 |
;; |
12720 |
;; |
11687 |
lcc) |
12721 |
lcc*) |
11688 |
# Lucid |
12722 |
# Lucid |
11689 |
lt_prog_compiler_pic_CXX='-pic' |
12723 |
lt_prog_compiler_pic_CXX='-pic' |
11690 |
;; |
12724 |
;; |
Lines 11694-11700
Link Here
|
11694 |
;; |
12728 |
;; |
11695 |
tandem*) |
12729 |
tandem*) |
11696 |
case $cc_basename in |
12730 |
case $cc_basename in |
11697 |
NCC) |
12731 |
NCC*) |
11698 |
# NonStop-UX NCC 3.20 |
12732 |
# NonStop-UX NCC 3.20 |
11699 |
lt_prog_compiler_pic_CXX='-KPIC' |
12733 |
lt_prog_compiler_pic_CXX='-KPIC' |
11700 |
;; |
12734 |
;; |
Lines 11719-11725
Link Here
|
11719 |
# Check to make sure the PIC flag actually works. |
12753 |
# Check to make sure the PIC flag actually works. |
11720 |
# |
12754 |
# |
11721 |
if test -n "$lt_prog_compiler_pic_CXX"; then |
12755 |
if test -n "$lt_prog_compiler_pic_CXX"; then |
11722 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
12756 |
|
|
|
12757 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
11723 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 |
12758 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 |
11724 |
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
12759 |
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
11725 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12760 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
Lines 11737-11751
Link Here
|
11737 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
12772 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11738 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12773 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11739 |
-e 's:$: $lt_compiler_flag:'` |
12774 |
-e 's:$: $lt_compiler_flag:'` |
11740 |
(eval echo "\"\$as_me:11740: $lt_compile\"" >&5) |
12775 |
(eval echo "\"\$as_me:12775: $lt_compile\"" >&5) |
11741 |
(eval "$lt_compile" 2>conftest.err) |
12776 |
(eval "$lt_compile" 2>conftest.err) |
11742 |
ac_status=$? |
12777 |
ac_status=$? |
11743 |
cat conftest.err >&5 |
12778 |
cat conftest.err >&5 |
11744 |
echo "$as_me:11744: \$? = $ac_status" >&5 |
12779 |
echo "$as_me:12779: \$? = $ac_status" >&5 |
11745 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
12780 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11746 |
# The compiler can only warn and ignore the option if not recognized |
12781 |
# The compiler can only warn and ignore the option if not recognized |
11747 |
# So say no if there are warnings |
12782 |
# So say no if there are warnings other than the usual output. |
11748 |
if test ! -s conftest.err; then |
12783 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
|
|
12784 |
$SED '/^$/d' conftest.err >conftest.er2 |
12785 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
11749 |
lt_prog_compiler_pic_works_CXX=yes |
12786 |
lt_prog_compiler_pic_works_CXX=yes |
11750 |
fi |
12787 |
fi |
11751 |
fi |
12788 |
fi |
Lines 11788-11800
Link Here
|
11788 |
mkdir out |
12825 |
mkdir out |
11789 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
12826 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
11790 |
|
12827 |
|
11791 |
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
11792 |
# that will create temporary files in the current directory regardless of |
11793 |
# the output directory. Thus, making CWD read-only will cause this test |
11794 |
# to fail, enabling locking or at least warning the user not to do parallel |
11795 |
# builds. |
11796 |
chmod -w . |
11797 |
|
11798 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
12828 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
11799 |
# Insert the option either (1) after the last *FLAGS variable, or |
12829 |
# Insert the option either (1) after the last *FLAGS variable, or |
11800 |
# (2) before a word containing "conftest.", or (3) at the end. |
12830 |
# (2) before a word containing "conftest.", or (3) at the end. |
Lines 11804-11825
Link Here
|
11804 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
12834 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11805 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12835 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11806 |
-e 's:$: $lt_compiler_flag:'` |
12836 |
-e 's:$: $lt_compiler_flag:'` |
11807 |
(eval echo "\"\$as_me:11807: $lt_compile\"" >&5) |
12837 |
(eval echo "\"\$as_me:12837: $lt_compile\"" >&5) |
11808 |
(eval "$lt_compile" 2>out/conftest.err) |
12838 |
(eval "$lt_compile" 2>out/conftest.err) |
11809 |
ac_status=$? |
12839 |
ac_status=$? |
11810 |
cat out/conftest.err >&5 |
12840 |
cat out/conftest.err >&5 |
11811 |
echo "$as_me:11811: \$? = $ac_status" >&5 |
12841 |
echo "$as_me:12841: \$? = $ac_status" >&5 |
11812 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
12842 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11813 |
then |
12843 |
then |
11814 |
# The compiler can only warn and ignore the option if not recognized |
12844 |
# The compiler can only warn and ignore the option if not recognized |
11815 |
# So say no if there are warnings |
12845 |
# So say no if there are warnings |
11816 |
if test ! -s out/conftest.err; then |
12846 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
|
|
12847 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
12848 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
11817 |
lt_cv_prog_compiler_c_o_CXX=yes |
12849 |
lt_cv_prog_compiler_c_o_CXX=yes |
11818 |
fi |
12850 |
fi |
11819 |
fi |
12851 |
fi |
11820 |
chmod u+w . |
12852 |
chmod u+w . |
11821 |
$rm conftest* out/* |
12853 |
$rm conftest* |
11822 |
rmdir out |
12854 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
|
12855 |
# template instantiation |
12856 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
12857 |
$rm out/* && rmdir out |
11823 |
cd .. |
12858 |
cd .. |
11824 |
rmdir conftest |
12859 |
rmdir conftest |
11825 |
$rm conftest* |
12860 |
$rm conftest* |
Lines 11869-11875
Link Here
|
11869 |
export_symbols_cmds_CXX="$ltdll_cmds" |
12904 |
export_symbols_cmds_CXX="$ltdll_cmds" |
11870 |
;; |
12905 |
;; |
11871 |
cygwin* | mingw*) |
12906 |
cygwin* | mingw*) |
11872 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
12907 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
11873 |
;; |
12908 |
;; |
11874 |
*) |
12909 |
*) |
11875 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
12910 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
Lines 11947-12024
Link Here
|
11947 |
;; |
12982 |
;; |
11948 |
esac |
12983 |
esac |
11949 |
|
12984 |
|
11950 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
|
11951 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
11952 |
hardcode_action_CXX= |
11953 |
if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
11954 |
test -n "$runpath_var CXX" || \ |
11955 |
test "X$hardcode_automatic_CXX"="Xyes" ; then |
11956 |
|
11957 |
# We can hardcode non-existant directories. |
11958 |
if test "$hardcode_direct_CXX" != no && |
11959 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
11960 |
# have to relink, otherwise we might link with an installed library |
11961 |
# when we should be linking with a yet-to-be-installed one |
11962 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
11963 |
test "$hardcode_minus_L_CXX" != no; then |
11964 |
# Linking always hardcodes the temporary library directory. |
11965 |
hardcode_action_CXX=relink |
11966 |
else |
11967 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
11968 |
hardcode_action_CXX=immediate |
11969 |
fi |
11970 |
else |
11971 |
# We cannot hardcode anything, or else we can only hardcode existing |
11972 |
# directories. |
11973 |
hardcode_action_CXX=unsupported |
11974 |
fi |
11975 |
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
11976 |
echo "${ECHO_T}$hardcode_action_CXX" >&6 |
11977 |
|
11978 |
if test "$hardcode_action_CXX" = relink; then |
11979 |
# Fast installation is not supported |
11980 |
enable_fast_install=no |
11981 |
elif test "$shlibpath_overrides_runpath" = yes || |
11982 |
test "$enable_shared" = no; then |
11983 |
# Fast installation is not necessary |
11984 |
enable_fast_install=needless |
11985 |
fi |
11986 |
|
11987 |
striplib= |
11988 |
old_striplib= |
11989 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
11990 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
11991 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
11992 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
11993 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
11994 |
echo "$as_me:$LINENO: result: yes" >&5 |
11995 |
echo "${ECHO_T}yes" >&6 |
11996 |
else |
11997 |
# FIXME - insert some real tests, host_os isn't really good enough |
11998 |
case $host_os in |
11999 |
darwin*) |
12000 |
if test -n "$STRIP" ; then |
12001 |
striplib="$STRIP -x" |
12002 |
echo "$as_me:$LINENO: result: yes" >&5 |
12003 |
echo "${ECHO_T}yes" >&6 |
12004 |
else |
12005 |
echo "$as_me:$LINENO: result: no" >&5 |
12006 |
echo "${ECHO_T}no" >&6 |
12007 |
fi |
12008 |
;; |
12009 |
*) |
12010 |
echo "$as_me:$LINENO: result: no" >&5 |
12011 |
echo "${ECHO_T}no" >&6 |
12012 |
;; |
12013 |
esac |
12014 |
fi |
12015 |
|
12016 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
12985 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
12017 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
12986 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
12018 |
library_names_spec= |
12987 |
library_names_spec= |
12019 |
libname_spec='lib$name' |
12988 |
libname_spec='lib$name' |
12020 |
soname_spec= |
12989 |
soname_spec= |
12021 |
shrext=".so" |
12990 |
shrext_cmds=".so" |
12022 |
postinstall_cmds= |
12991 |
postinstall_cmds= |
12023 |
postuninstall_cmds= |
12992 |
postuninstall_cmds= |
12024 |
finish_cmds= |
12993 |
finish_cmds= |
Lines 12106-12112
Link Here
|
12106 |
amigaos*) |
13075 |
amigaos*) |
12107 |
library_names_spec='$libname.ixlibrary $libname.a' |
13076 |
library_names_spec='$libname.ixlibrary $libname.a' |
12108 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
13077 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
12109 |
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' |
13078 |
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' |
12110 |
;; |
13079 |
;; |
12111 |
|
13080 |
|
12112 |
beos*) |
13081 |
beos*) |
Lines 12115-12121
Link Here
|
12115 |
shlibpath_var=LIBRARY_PATH |
13084 |
shlibpath_var=LIBRARY_PATH |
12116 |
;; |
13085 |
;; |
12117 |
|
13086 |
|
12118 |
bsdi4*) |
13087 |
bsdi[45]*) |
12119 |
version_type=linux |
13088 |
version_type=linux |
12120 |
need_version=no |
13089 |
need_version=no |
12121 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13090 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Lines 12131-12137
Link Here
|
12131 |
|
13100 |
|
12132 |
cygwin* | mingw* | pw32*) |
13101 |
cygwin* | mingw* | pw32*) |
12133 |
version_type=windows |
13102 |
version_type=windows |
12134 |
shrext=".dll" |
13103 |
shrext_cmds=".dll" |
12135 |
need_version=no |
13104 |
need_version=no |
12136 |
need_lib_prefix=no |
13105 |
need_lib_prefix=no |
12137 |
|
13106 |
|
Lines 12153-12159
Link Here
|
12153 |
cygwin*) |
13122 |
cygwin*) |
12154 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
13123 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
12155 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
13124 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
12156 |
sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" |
13125 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
12157 |
;; |
13126 |
;; |
12158 |
mingw*) |
13127 |
mingw*) |
12159 |
# MinGW DLLs use traditional 'lib' prefix |
13128 |
# MinGW DLLs use traditional 'lib' prefix |
Lines 12173-12183
Link Here
|
12173 |
;; |
13142 |
;; |
12174 |
pw32*) |
13143 |
pw32*) |
12175 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
13144 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
12176 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
13145 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
12177 |
;; |
13146 |
;; |
12178 |
esac |
13147 |
esac |
12179 |
;; |
13148 |
;; |
12180 |
|
13149 |
|
|
|
13150 |
linux*) |
13151 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
13152 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
13153 |
supports_anon_versioning=no |
13154 |
case `$LD -v 2>/dev/null` in |
13155 |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
13156 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
13157 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
13158 |
*\ 2.11.*) ;; # other 2.11 versions |
13159 |
*) supports_anon_versioning=yes ;; |
13160 |
esac |
13161 |
if test $supports_anon_versioning = yes; then |
13162 |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
13163 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
13164 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
13165 |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
13166 |
else |
13167 |
$archive_expsym_cmds="$archive_cmds" |
13168 |
fi |
13169 |
else |
13170 |
ld_shlibs=no |
13171 |
fi |
13172 |
;; |
13173 |
|
12181 |
*) |
13174 |
*) |
12182 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
13175 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
12183 |
;; |
13176 |
;; |
Lines 12192-12208
Link Here
|
12192 |
version_type=darwin |
13185 |
version_type=darwin |
12193 |
need_lib_prefix=no |
13186 |
need_lib_prefix=no |
12194 |
need_version=no |
13187 |
need_version=no |
12195 |
# FIXME: Relying on posixy $() will cause problems for |
|
|
12196 |
# cross-compilation, but unfortunately the echo tests do not |
12197 |
# yet detect zsh echo's removal of \ escapes. |
12198 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
13188 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
12199 |
soname_spec='${libname}${release}${major}$shared_ext' |
13189 |
soname_spec='${libname}${release}${major}$shared_ext' |
12200 |
shlibpath_overrides_runpath=yes |
13190 |
shlibpath_overrides_runpath=yes |
12201 |
shlibpath_var=DYLD_LIBRARY_PATH |
13191 |
shlibpath_var=DYLD_LIBRARY_PATH |
12202 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
13192 |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
12203 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
13193 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
12204 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
13194 |
if test "$GCC" = yes; then |
12205 |
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"` |
13195 |
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"` |
|
|
13196 |
else |
13197 |
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
12206 |
fi |
13198 |
fi |
12207 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
13199 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
12208 |
;; |
13200 |
;; |
Lines 12220-12226
Link Here
|
12220 |
dynamic_linker=no |
13212 |
dynamic_linker=no |
12221 |
;; |
13213 |
;; |
12222 |
|
13214 |
|
12223 |
freebsd*) |
13215 |
kfreebsd*-gnu) |
|
|
13216 |
version_type=linux |
13217 |
need_lib_prefix=no |
13218 |
need_version=no |
13219 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
13220 |
soname_spec='${libname}${release}${shared_ext}$major' |
13221 |
shlibpath_var=LD_LIBRARY_PATH |
13222 |
shlibpath_overrides_runpath=no |
13223 |
hardcode_into_libs=yes |
13224 |
dynamic_linker='GNU ld.so' |
13225 |
;; |
13226 |
|
13227 |
freebsd* | dragonfly*) |
13228 |
# DragonFly does not have aout. When/if they implement a new |
13229 |
# versioning mechanism, adjust this. |
12224 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
13230 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
12225 |
version_type=freebsd-$objformat |
13231 |
version_type=freebsd-$objformat |
12226 |
case $version_type in |
13232 |
case $version_type in |
Lines 12239-12245
Link Here
|
12239 |
freebsd2*) |
13245 |
freebsd2*) |
12240 |
shlibpath_overrides_runpath=yes |
13246 |
shlibpath_overrides_runpath=yes |
12241 |
;; |
13247 |
;; |
12242 |
freebsd3.01* | freebsdelf3.01*) |
13248 |
freebsd3.[01]* | freebsdelf3.[01]*) |
12243 |
shlibpath_overrides_runpath=yes |
13249 |
shlibpath_overrides_runpath=yes |
12244 |
hardcode_into_libs=yes |
13250 |
hardcode_into_libs=yes |
12245 |
;; |
13251 |
;; |
Lines 12268-12274
Link Here
|
12268 |
need_version=no |
13274 |
need_version=no |
12269 |
case "$host_cpu" in |
13275 |
case "$host_cpu" in |
12270 |
ia64*) |
13276 |
ia64*) |
12271 |
shrext='.so' |
13277 |
shrext_cmds='.so' |
12272 |
hardcode_into_libs=yes |
13278 |
hardcode_into_libs=yes |
12273 |
dynamic_linker="$host_os dld.so" |
13279 |
dynamic_linker="$host_os dld.so" |
12274 |
shlibpath_var=LD_LIBRARY_PATH |
13280 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 12283-12289
Link Here
|
12283 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
13289 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
12284 |
;; |
13290 |
;; |
12285 |
hppa*64*) |
13291 |
hppa*64*) |
12286 |
shrext='.sl' |
13292 |
shrext_cmds='.sl' |
12287 |
hardcode_into_libs=yes |
13293 |
hardcode_into_libs=yes |
12288 |
dynamic_linker="$host_os dld.sl" |
13294 |
dynamic_linker="$host_os dld.sl" |
12289 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
13295 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
Lines 12294-12300
Link Here
|
12294 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
13300 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
12295 |
;; |
13301 |
;; |
12296 |
*) |
13302 |
*) |
12297 |
shrext='.sl' |
13303 |
shrext_cmds='.sl' |
12298 |
dynamic_linker="$host_os dld.sl" |
13304 |
dynamic_linker="$host_os dld.sl" |
12299 |
shlibpath_var=SHLIB_PATH |
13305 |
shlibpath_var=SHLIB_PATH |
12300 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
13306 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
Lines 12363-12372
Link Here
|
12363 |
# before this can be enabled. |
13369 |
# before this can be enabled. |
12364 |
hardcode_into_libs=yes |
13370 |
hardcode_into_libs=yes |
12365 |
|
13371 |
|
12366 |
case $LD in # libtool.m4 will add one of these switches to LD |
13372 |
# Append ld.so.conf contents to the search path |
12367 |
*"-m elf_x86_64"*|*"-m elf64ppc"*|*"-m elf64_s390"*|*"-m elf64_sparc"*) |
13373 |
if test -f /etc/ld.so.conf; then |
12368 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64" |
13374 |
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' ' '` |
12369 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64" |
13375 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
|
13376 |
fi |
13377 |
|
13378 |
case $host_cpu:$lt_cv_cc_64bit_output in |
13379 |
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
13380 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
13381 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
12370 |
;; |
13382 |
;; |
12371 |
esac |
13383 |
esac |
12372 |
|
13384 |
|
Lines 12377-12382
Link Here
|
12377 |
# people can always --disable-shared, the test was removed, and we |
13389 |
# people can always --disable-shared, the test was removed, and we |
12378 |
# assume the GNU/Linux dynamic linker is in use. |
13390 |
# assume the GNU/Linux dynamic linker is in use. |
12379 |
dynamic_linker='GNU/Linux ld.so' |
13391 |
dynamic_linker='GNU/Linux ld.so' |
|
|
13392 |
|
13393 |
# Find out which ABI we are using (multilib Linux x86_64 hack). |
13394 |
libsuff= |
13395 |
case "$host_cpu" in |
13396 |
x86_64*) |
13397 |
echo '#line 13397 "configure"' > conftest.$ac_ext |
13398 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13399 |
(eval $ac_compile) 2>&5 |
13400 |
ac_status=$? |
13401 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13402 |
(exit $ac_status); }; then |
13403 |
case `/usr/bin/file conftest.$ac_objext` in |
13404 |
*64-bit*) |
13405 |
libsuff=64 |
13406 |
;; |
13407 |
esac |
13408 |
fi |
13409 |
rm -rf conftest* |
13410 |
;; |
13411 |
*) |
13412 |
;; |
13413 |
esac |
13414 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
13415 |
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
13416 |
;; |
13417 |
|
13418 |
knetbsd*-gnu) |
13419 |
version_type=linux |
13420 |
need_lib_prefix=no |
13421 |
need_version=no |
13422 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
13423 |
soname_spec='${libname}${release}${shared_ext}$major' |
13424 |
shlibpath_var=LD_LIBRARY_PATH |
13425 |
shlibpath_overrides_runpath=no |
13426 |
hardcode_into_libs=yes |
13427 |
dynamic_linker='GNU ld.so' |
12380 |
;; |
13428 |
;; |
12381 |
|
13429 |
|
12382 |
netbsd*) |
13430 |
netbsd*) |
Lines 12388-12394
Link Here
|
12388 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
13436 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
12389 |
dynamic_linker='NetBSD (a.out) ld.so' |
13437 |
dynamic_linker='NetBSD (a.out) ld.so' |
12390 |
else |
13438 |
else |
12391 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
13439 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
12392 |
soname_spec='${libname}${release}${shared_ext}$major' |
13440 |
soname_spec='${libname}${release}${shared_ext}$major' |
12393 |
dynamic_linker='NetBSD ld.elf_so' |
13441 |
dynamic_linker='NetBSD ld.elf_so' |
12394 |
fi |
13442 |
fi |
Lines 12404-12410
Link Here
|
12404 |
shlibpath_overrides_runpath=yes |
13452 |
shlibpath_overrides_runpath=yes |
12405 |
;; |
13453 |
;; |
12406 |
|
13454 |
|
12407 |
nto-qnx) |
13455 |
nto-qnx*) |
12408 |
version_type=linux |
13456 |
version_type=linux |
12409 |
need_lib_prefix=no |
13457 |
need_lib_prefix=no |
12410 |
need_version=no |
13458 |
need_version=no |
Lines 12417-12423
Link Here
|
12417 |
openbsd*) |
13465 |
openbsd*) |
12418 |
version_type=sunos |
13466 |
version_type=sunos |
12419 |
need_lib_prefix=no |
13467 |
need_lib_prefix=no |
12420 |
need_version=no |
13468 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
13469 |
case $host_os in |
13470 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
13471 |
*) need_version=no ;; |
13472 |
esac |
12421 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
13473 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
12422 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
13474 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
12423 |
shlibpath_var=LD_LIBRARY_PATH |
13475 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 12437-12443
Link Here
|
12437 |
|
13489 |
|
12438 |
os2*) |
13490 |
os2*) |
12439 |
libname_spec='$name' |
13491 |
libname_spec='$name' |
12440 |
shrext=".dll" |
13492 |
shrext_cmds=".dll" |
12441 |
need_lib_prefix=no |
13493 |
need_lib_prefix=no |
12442 |
library_names_spec='$libname${shared_ext} $libname.a' |
13494 |
library_names_spec='$libname${shared_ext} $libname.a' |
12443 |
dynamic_linker='OS/2 ld.exe' |
13495 |
dynamic_linker='OS/2 ld.exe' |
Lines 12535-12540
Link Here
|
12535 |
echo "${ECHO_T}$dynamic_linker" >&6 |
13587 |
echo "${ECHO_T}$dynamic_linker" >&6 |
12536 |
test "$dynamic_linker" = no && can_build_shared=no |
13588 |
test "$dynamic_linker" = no && can_build_shared=no |
12537 |
|
13589 |
|
|
|
13590 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
13591 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
13592 |
hardcode_action_CXX= |
13593 |
if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
13594 |
test -n "$runpath_var_CXX" || \ |
13595 |
test "X$hardcode_automatic_CXX" = "Xyes" ; then |
13596 |
|
13597 |
# We can hardcode non-existant directories. |
13598 |
if test "$hardcode_direct_CXX" != no && |
13599 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
13600 |
# have to relink, otherwise we might link with an installed library |
13601 |
# when we should be linking with a yet-to-be-installed one |
13602 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
13603 |
test "$hardcode_minus_L_CXX" != no; then |
13604 |
# Linking always hardcodes the temporary library directory. |
13605 |
hardcode_action_CXX=relink |
13606 |
else |
13607 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
13608 |
hardcode_action_CXX=immediate |
13609 |
fi |
13610 |
else |
13611 |
# We cannot hardcode anything, or else we can only hardcode existing |
13612 |
# directories. |
13613 |
hardcode_action_CXX=unsupported |
13614 |
fi |
13615 |
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
13616 |
echo "${ECHO_T}$hardcode_action_CXX" >&6 |
13617 |
|
13618 |
if test "$hardcode_action_CXX" = relink; then |
13619 |
# Fast installation is not supported |
13620 |
enable_fast_install=no |
13621 |
elif test "$shlibpath_overrides_runpath" = yes || |
13622 |
test "$enable_shared" = no; then |
13623 |
# Fast installation is not necessary |
13624 |
enable_fast_install=needless |
13625 |
fi |
13626 |
|
13627 |
striplib= |
13628 |
old_striplib= |
13629 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
13630 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
13631 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
13632 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
13633 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
13634 |
echo "$as_me:$LINENO: result: yes" >&5 |
13635 |
echo "${ECHO_T}yes" >&6 |
13636 |
else |
13637 |
# FIXME - insert some real tests, host_os isn't really good enough |
13638 |
case $host_os in |
13639 |
darwin*) |
13640 |
if test -n "$STRIP" ; then |
13641 |
striplib="$STRIP -x" |
13642 |
echo "$as_me:$LINENO: result: yes" >&5 |
13643 |
echo "${ECHO_T}yes" >&6 |
13644 |
else |
13645 |
echo "$as_me:$LINENO: result: no" >&5 |
13646 |
echo "${ECHO_T}no" >&6 |
13647 |
fi |
13648 |
;; |
13649 |
*) |
13650 |
echo "$as_me:$LINENO: result: no" >&5 |
13651 |
echo "${ECHO_T}no" >&6 |
13652 |
;; |
13653 |
esac |
13654 |
fi |
13655 |
|
12538 |
if test "x$enable_dlopen" != xyes; then |
13656 |
if test "x$enable_dlopen" != xyes; then |
12539 |
enable_dlopen=unknown |
13657 |
enable_dlopen=unknown |
12540 |
enable_dlopen_self=unknown |
13658 |
enable_dlopen_self=unknown |
Lines 12570-12576
Link Here
|
12570 |
ac_check_lib_save_LIBS=$LIBS |
13688 |
ac_check_lib_save_LIBS=$LIBS |
12571 |
LIBS="-ldl $LIBS" |
13689 |
LIBS="-ldl $LIBS" |
12572 |
cat >conftest.$ac_ext <<_ACEOF |
13690 |
cat >conftest.$ac_ext <<_ACEOF |
12573 |
#line $LINENO "configure" |
|
|
12574 |
/* confdefs.h. */ |
13691 |
/* confdefs.h. */ |
12575 |
_ACEOF |
13692 |
_ACEOF |
12576 |
cat confdefs.h >>conftest.$ac_ext |
13693 |
cat confdefs.h >>conftest.$ac_ext |
Lines 12594-12604
Link Here
|
12594 |
_ACEOF |
13711 |
_ACEOF |
12595 |
rm -f conftest.$ac_objext conftest$ac_exeext |
13712 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12596 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13713 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12597 |
(eval $ac_link) 2>&5 |
13714 |
(eval $ac_link) 2>conftest.er1 |
12598 |
ac_status=$? |
13715 |
ac_status=$? |
|
|
13716 |
grep -v '^ *+' conftest.er1 >conftest.err |
13717 |
rm -f conftest.er1 |
13718 |
cat conftest.err >&5 |
12599 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13719 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12600 |
(exit $ac_status); } && |
13720 |
(exit $ac_status); } && |
12601 |
{ ac_try='test -s conftest$ac_exeext' |
13721 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13722 |
|| test ! -s conftest.err' |
13723 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13724 |
(eval $ac_try) 2>&5 |
13725 |
ac_status=$? |
13726 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13727 |
(exit $ac_status); }; } && |
13728 |
{ ac_try='test -s conftest$ac_exeext' |
12602 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13729 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12603 |
(eval $ac_try) 2>&5 |
13730 |
(eval $ac_try) 2>&5 |
12604 |
ac_status=$? |
13731 |
ac_status=$? |
Lines 12611-12617
Link Here
|
12611 |
|
13738 |
|
12612 |
ac_cv_lib_dl_dlopen=no |
13739 |
ac_cv_lib_dl_dlopen=no |
12613 |
fi |
13740 |
fi |
12614 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13741 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
13742 |
conftest$ac_exeext conftest.$ac_ext |
12615 |
LIBS=$ac_check_lib_save_LIBS |
13743 |
LIBS=$ac_check_lib_save_LIBS |
12616 |
fi |
13744 |
fi |
12617 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
13745 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
Lines 12635-12655
Link Here
|
12635 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13763 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12636 |
else |
13764 |
else |
12637 |
cat >conftest.$ac_ext <<_ACEOF |
13765 |
cat >conftest.$ac_ext <<_ACEOF |
12638 |
#line $LINENO "configure" |
|
|
12639 |
/* confdefs.h. */ |
13766 |
/* confdefs.h. */ |
12640 |
_ACEOF |
13767 |
_ACEOF |
12641 |
cat confdefs.h >>conftest.$ac_ext |
13768 |
cat confdefs.h >>conftest.$ac_ext |
12642 |
cat >>conftest.$ac_ext <<_ACEOF |
13769 |
cat >>conftest.$ac_ext <<_ACEOF |
12643 |
/* end confdefs.h. */ |
13770 |
/* end confdefs.h. */ |
|
|
13771 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
13772 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13773 |
#define shl_load innocuous_shl_load |
13774 |
|
12644 |
/* System header to define __stub macros and hopefully few prototypes, |
13775 |
/* System header to define __stub macros and hopefully few prototypes, |
12645 |
which can conflict with char shl_load (); below. |
13776 |
which can conflict with char shl_load (); below. |
12646 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13777 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12647 |
<limits.h> exists even on freestanding compilers. */ |
13778 |
<limits.h> exists even on freestanding compilers. */ |
|
|
13779 |
|
12648 |
#ifdef __STDC__ |
13780 |
#ifdef __STDC__ |
12649 |
# include <limits.h> |
13781 |
# include <limits.h> |
12650 |
#else |
13782 |
#else |
12651 |
# include <assert.h> |
13783 |
# include <assert.h> |
12652 |
#endif |
13784 |
#endif |
|
|
13785 |
|
13786 |
#undef shl_load |
13787 |
|
12653 |
/* Override any gcc2 internal prototype to avoid an error. */ |
13788 |
/* Override any gcc2 internal prototype to avoid an error. */ |
12654 |
#ifdef __cplusplus |
13789 |
#ifdef __cplusplus |
12655 |
extern "C" |
13790 |
extern "C" |
Lines 12680-12690
Link Here
|
12680 |
_ACEOF |
13815 |
_ACEOF |
12681 |
rm -f conftest.$ac_objext conftest$ac_exeext |
13816 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12682 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13817 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12683 |
(eval $ac_link) 2>&5 |
13818 |
(eval $ac_link) 2>conftest.er1 |
12684 |
ac_status=$? |
13819 |
ac_status=$? |
|
|
13820 |
grep -v '^ *+' conftest.er1 >conftest.err |
13821 |
rm -f conftest.er1 |
13822 |
cat conftest.err >&5 |
12685 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13823 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12686 |
(exit $ac_status); } && |
13824 |
(exit $ac_status); } && |
12687 |
{ ac_try='test -s conftest$ac_exeext' |
13825 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13826 |
|| test ! -s conftest.err' |
13827 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13828 |
(eval $ac_try) 2>&5 |
13829 |
ac_status=$? |
13830 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13831 |
(exit $ac_status); }; } && |
13832 |
{ ac_try='test -s conftest$ac_exeext' |
12688 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13833 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12689 |
(eval $ac_try) 2>&5 |
13834 |
(eval $ac_try) 2>&5 |
12690 |
ac_status=$? |
13835 |
ac_status=$? |
Lines 12697-12703
Link Here
|
12697 |
|
13842 |
|
12698 |
ac_cv_func_shl_load=no |
13843 |
ac_cv_func_shl_load=no |
12699 |
fi |
13844 |
fi |
12700 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13845 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
13846 |
conftest$ac_exeext conftest.$ac_ext |
12701 |
fi |
13847 |
fi |
12702 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
13848 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12703 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
13849 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
Lines 12712-12718
Link Here
|
12712 |
ac_check_lib_save_LIBS=$LIBS |
13858 |
ac_check_lib_save_LIBS=$LIBS |
12713 |
LIBS="-ldld $LIBS" |
13859 |
LIBS="-ldld $LIBS" |
12714 |
cat >conftest.$ac_ext <<_ACEOF |
13860 |
cat >conftest.$ac_ext <<_ACEOF |
12715 |
#line $LINENO "configure" |
|
|
12716 |
/* confdefs.h. */ |
13861 |
/* confdefs.h. */ |
12717 |
_ACEOF |
13862 |
_ACEOF |
12718 |
cat confdefs.h >>conftest.$ac_ext |
13863 |
cat confdefs.h >>conftest.$ac_ext |
Lines 12736-12746
Link Here
|
12736 |
_ACEOF |
13881 |
_ACEOF |
12737 |
rm -f conftest.$ac_objext conftest$ac_exeext |
13882 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12738 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13883 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12739 |
(eval $ac_link) 2>&5 |
13884 |
(eval $ac_link) 2>conftest.er1 |
12740 |
ac_status=$? |
13885 |
ac_status=$? |
|
|
13886 |
grep -v '^ *+' conftest.er1 >conftest.err |
13887 |
rm -f conftest.er1 |
13888 |
cat conftest.err >&5 |
12741 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13889 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12742 |
(exit $ac_status); } && |
13890 |
(exit $ac_status); } && |
12743 |
{ ac_try='test -s conftest$ac_exeext' |
13891 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13892 |
|| test ! -s conftest.err' |
13893 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13894 |
(eval $ac_try) 2>&5 |
13895 |
ac_status=$? |
13896 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13897 |
(exit $ac_status); }; } && |
13898 |
{ ac_try='test -s conftest$ac_exeext' |
12744 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13899 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12745 |
(eval $ac_try) 2>&5 |
13900 |
(eval $ac_try) 2>&5 |
12746 |
ac_status=$? |
13901 |
ac_status=$? |
Lines 12753-12759
Link Here
|
12753 |
|
13908 |
|
12754 |
ac_cv_lib_dld_shl_load=no |
13909 |
ac_cv_lib_dld_shl_load=no |
12755 |
fi |
13910 |
fi |
12756 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13911 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
13912 |
conftest$ac_exeext conftest.$ac_ext |
12757 |
LIBS=$ac_check_lib_save_LIBS |
13913 |
LIBS=$ac_check_lib_save_LIBS |
12758 |
fi |
13914 |
fi |
12759 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
13915 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
Lines 12767-12787
Link Here
|
12767 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13923 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12768 |
else |
13924 |
else |
12769 |
cat >conftest.$ac_ext <<_ACEOF |
13925 |
cat >conftest.$ac_ext <<_ACEOF |
12770 |
#line $LINENO "configure" |
|
|
12771 |
/* confdefs.h. */ |
13926 |
/* confdefs.h. */ |
12772 |
_ACEOF |
13927 |
_ACEOF |
12773 |
cat confdefs.h >>conftest.$ac_ext |
13928 |
cat confdefs.h >>conftest.$ac_ext |
12774 |
cat >>conftest.$ac_ext <<_ACEOF |
13929 |
cat >>conftest.$ac_ext <<_ACEOF |
12775 |
/* end confdefs.h. */ |
13930 |
/* end confdefs.h. */ |
|
|
13931 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
13932 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13933 |
#define dlopen innocuous_dlopen |
13934 |
|
12776 |
/* System header to define __stub macros and hopefully few prototypes, |
13935 |
/* System header to define __stub macros and hopefully few prototypes, |
12777 |
which can conflict with char dlopen (); below. |
13936 |
which can conflict with char dlopen (); below. |
12778 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13937 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12779 |
<limits.h> exists even on freestanding compilers. */ |
13938 |
<limits.h> exists even on freestanding compilers. */ |
|
|
13939 |
|
12780 |
#ifdef __STDC__ |
13940 |
#ifdef __STDC__ |
12781 |
# include <limits.h> |
13941 |
# include <limits.h> |
12782 |
#else |
13942 |
#else |
12783 |
# include <assert.h> |
13943 |
# include <assert.h> |
12784 |
#endif |
13944 |
#endif |
|
|
13945 |
|
13946 |
#undef dlopen |
13947 |
|
12785 |
/* Override any gcc2 internal prototype to avoid an error. */ |
13948 |
/* Override any gcc2 internal prototype to avoid an error. */ |
12786 |
#ifdef __cplusplus |
13949 |
#ifdef __cplusplus |
12787 |
extern "C" |
13950 |
extern "C" |
Lines 12812-12822
Link Here
|
12812 |
_ACEOF |
13975 |
_ACEOF |
12813 |
rm -f conftest.$ac_objext conftest$ac_exeext |
13976 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12814 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13977 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12815 |
(eval $ac_link) 2>&5 |
13978 |
(eval $ac_link) 2>conftest.er1 |
12816 |
ac_status=$? |
13979 |
ac_status=$? |
|
|
13980 |
grep -v '^ *+' conftest.er1 >conftest.err |
13981 |
rm -f conftest.er1 |
13982 |
cat conftest.err >&5 |
12817 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13983 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12818 |
(exit $ac_status); } && |
13984 |
(exit $ac_status); } && |
12819 |
{ ac_try='test -s conftest$ac_exeext' |
13985 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13986 |
|| test ! -s conftest.err' |
13987 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13988 |
(eval $ac_try) 2>&5 |
13989 |
ac_status=$? |
13990 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13991 |
(exit $ac_status); }; } && |
13992 |
{ ac_try='test -s conftest$ac_exeext' |
12820 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13993 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12821 |
(eval $ac_try) 2>&5 |
13994 |
(eval $ac_try) 2>&5 |
12822 |
ac_status=$? |
13995 |
ac_status=$? |
Lines 12829-12835
Link Here
|
12829 |
|
14002 |
|
12830 |
ac_cv_func_dlopen=no |
14003 |
ac_cv_func_dlopen=no |
12831 |
fi |
14004 |
fi |
12832 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14005 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
14006 |
conftest$ac_exeext conftest.$ac_ext |
12833 |
fi |
14007 |
fi |
12834 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
14008 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
12835 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
14009 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
Lines 12844-12850
Link Here
|
12844 |
ac_check_lib_save_LIBS=$LIBS |
14018 |
ac_check_lib_save_LIBS=$LIBS |
12845 |
LIBS="-ldl $LIBS" |
14019 |
LIBS="-ldl $LIBS" |
12846 |
cat >conftest.$ac_ext <<_ACEOF |
14020 |
cat >conftest.$ac_ext <<_ACEOF |
12847 |
#line $LINENO "configure" |
|
|
12848 |
/* confdefs.h. */ |
14021 |
/* confdefs.h. */ |
12849 |
_ACEOF |
14022 |
_ACEOF |
12850 |
cat confdefs.h >>conftest.$ac_ext |
14023 |
cat confdefs.h >>conftest.$ac_ext |
Lines 12868-12878
Link Here
|
12868 |
_ACEOF |
14041 |
_ACEOF |
12869 |
rm -f conftest.$ac_objext conftest$ac_exeext |
14042 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12870 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14043 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12871 |
(eval $ac_link) 2>&5 |
14044 |
(eval $ac_link) 2>conftest.er1 |
12872 |
ac_status=$? |
14045 |
ac_status=$? |
|
|
14046 |
grep -v '^ *+' conftest.er1 >conftest.err |
14047 |
rm -f conftest.er1 |
14048 |
cat conftest.err >&5 |
12873 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14049 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12874 |
(exit $ac_status); } && |
14050 |
(exit $ac_status); } && |
12875 |
{ ac_try='test -s conftest$ac_exeext' |
14051 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
14052 |
|| test ! -s conftest.err' |
14053 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14054 |
(eval $ac_try) 2>&5 |
14055 |
ac_status=$? |
14056 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14057 |
(exit $ac_status); }; } && |
14058 |
{ ac_try='test -s conftest$ac_exeext' |
12876 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14059 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12877 |
(eval $ac_try) 2>&5 |
14060 |
(eval $ac_try) 2>&5 |
12878 |
ac_status=$? |
14061 |
ac_status=$? |
Lines 12885-12891
Link Here
|
12885 |
|
14068 |
|
12886 |
ac_cv_lib_dl_dlopen=no |
14069 |
ac_cv_lib_dl_dlopen=no |
12887 |
fi |
14070 |
fi |
12888 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14071 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
14072 |
conftest$ac_exeext conftest.$ac_ext |
12889 |
LIBS=$ac_check_lib_save_LIBS |
14073 |
LIBS=$ac_check_lib_save_LIBS |
12890 |
fi |
14074 |
fi |
12891 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
14075 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
Lines 12901-12907
Link Here
|
12901 |
ac_check_lib_save_LIBS=$LIBS |
14085 |
ac_check_lib_save_LIBS=$LIBS |
12902 |
LIBS="-lsvld $LIBS" |
14086 |
LIBS="-lsvld $LIBS" |
12903 |
cat >conftest.$ac_ext <<_ACEOF |
14087 |
cat >conftest.$ac_ext <<_ACEOF |
12904 |
#line $LINENO "configure" |
|
|
12905 |
/* confdefs.h. */ |
14088 |
/* confdefs.h. */ |
12906 |
_ACEOF |
14089 |
_ACEOF |
12907 |
cat confdefs.h >>conftest.$ac_ext |
14090 |
cat confdefs.h >>conftest.$ac_ext |
Lines 12925-12935
Link Here
|
12925 |
_ACEOF |
14108 |
_ACEOF |
12926 |
rm -f conftest.$ac_objext conftest$ac_exeext |
14109 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12927 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14110 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12928 |
(eval $ac_link) 2>&5 |
14111 |
(eval $ac_link) 2>conftest.er1 |
|
|
14112 |
ac_status=$? |
14113 |
grep -v '^ *+' conftest.er1 >conftest.err |
14114 |
rm -f conftest.er1 |
14115 |
cat conftest.err >&5 |
14116 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14117 |
(exit $ac_status); } && |
14118 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
14119 |
|| test ! -s conftest.err' |
14120 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14121 |
(eval $ac_try) 2>&5 |
12929 |
ac_status=$? |
14122 |
ac_status=$? |
12930 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14123 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12931 |
(exit $ac_status); } && |
14124 |
(exit $ac_status); }; } && |
12932 |
{ ac_try='test -s conftest$ac_exeext' |
14125 |
{ ac_try='test -s conftest$ac_exeext' |
12933 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14126 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12934 |
(eval $ac_try) 2>&5 |
14127 |
(eval $ac_try) 2>&5 |
12935 |
ac_status=$? |
14128 |
ac_status=$? |
Lines 12942-12948
Link Here
|
12942 |
|
14135 |
|
12943 |
ac_cv_lib_svld_dlopen=no |
14136 |
ac_cv_lib_svld_dlopen=no |
12944 |
fi |
14137 |
fi |
12945 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14138 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
14139 |
conftest$ac_exeext conftest.$ac_ext |
12946 |
LIBS=$ac_check_lib_save_LIBS |
14140 |
LIBS=$ac_check_lib_save_LIBS |
12947 |
fi |
14141 |
fi |
12948 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
14142 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
Lines 12958-12964
Link Here
|
12958 |
ac_check_lib_save_LIBS=$LIBS |
14152 |
ac_check_lib_save_LIBS=$LIBS |
12959 |
LIBS="-ldld $LIBS" |
14153 |
LIBS="-ldld $LIBS" |
12960 |
cat >conftest.$ac_ext <<_ACEOF |
14154 |
cat >conftest.$ac_ext <<_ACEOF |
12961 |
#line $LINENO "configure" |
|
|
12962 |
/* confdefs.h. */ |
14155 |
/* confdefs.h. */ |
12963 |
_ACEOF |
14156 |
_ACEOF |
12964 |
cat confdefs.h >>conftest.$ac_ext |
14157 |
cat confdefs.h >>conftest.$ac_ext |
Lines 12982-12992
Link Here
|
12982 |
_ACEOF |
14175 |
_ACEOF |
12983 |
rm -f conftest.$ac_objext conftest$ac_exeext |
14176 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12984 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14177 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12985 |
(eval $ac_link) 2>&5 |
14178 |
(eval $ac_link) 2>conftest.er1 |
12986 |
ac_status=$? |
14179 |
ac_status=$? |
|
|
14180 |
grep -v '^ *+' conftest.er1 >conftest.err |
14181 |
rm -f conftest.er1 |
14182 |
cat conftest.err >&5 |
12987 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14183 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12988 |
(exit $ac_status); } && |
14184 |
(exit $ac_status); } && |
12989 |
{ ac_try='test -s conftest$ac_exeext' |
14185 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
14186 |
|| test ! -s conftest.err' |
14187 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14188 |
(eval $ac_try) 2>&5 |
14189 |
ac_status=$? |
14190 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14191 |
(exit $ac_status); }; } && |
14192 |
{ ac_try='test -s conftest$ac_exeext' |
12990 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14193 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12991 |
(eval $ac_try) 2>&5 |
14194 |
(eval $ac_try) 2>&5 |
12992 |
ac_status=$? |
14195 |
ac_status=$? |
Lines 12999-13005
Link Here
|
12999 |
|
14202 |
|
13000 |
ac_cv_lib_dld_dld_link=no |
14203 |
ac_cv_lib_dld_dld_link=no |
13001 |
fi |
14204 |
fi |
13002 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14205 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
14206 |
conftest$ac_exeext conftest.$ac_ext |
13003 |
LIBS=$ac_check_lib_save_LIBS |
14207 |
LIBS=$ac_check_lib_save_LIBS |
13004 |
fi |
14208 |
fi |
13005 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
14209 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
Lines 13054-13060
Link Here
|
13054 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
14258 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13055 |
lt_status=$lt_dlunknown |
14259 |
lt_status=$lt_dlunknown |
13056 |
cat > conftest.$ac_ext <<EOF |
14260 |
cat > conftest.$ac_ext <<EOF |
13057 |
#line 13057 "configure" |
14261 |
#line 14261 "configure" |
13058 |
#include "confdefs.h" |
14262 |
#include "confdefs.h" |
13059 |
|
14263 |
|
13060 |
#if HAVE_DLFCN_H |
14264 |
#if HAVE_DLFCN_H |
Lines 13152-13158
Link Here
|
13152 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
14356 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13153 |
lt_status=$lt_dlunknown |
14357 |
lt_status=$lt_dlunknown |
13154 |
cat > conftest.$ac_ext <<EOF |
14358 |
cat > conftest.$ac_ext <<EOF |
13155 |
#line 13155 "configure" |
14359 |
#line 14359 "configure" |
13156 |
#include "confdefs.h" |
14360 |
#include "confdefs.h" |
13157 |
|
14361 |
|
13158 |
#if HAVE_DLFCN_H |
14362 |
#if HAVE_DLFCN_H |
Lines 13269-13275
Link Here
|
13269 |
# Now quote all the things that may contain metacharacters while being |
14473 |
# Now quote all the things that may contain metacharacters while being |
13270 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
14474 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
13271 |
# variables and quote the copies for generation of the libtool script. |
14475 |
# variables and quote the copies for generation of the libtool script. |
13272 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM SED SHELL \ |
14476 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
|
|
14477 |
SED SHELL STRIP \ |
13273 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
14478 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
13274 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
14479 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
13275 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
14480 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
Lines 13369-13374
Link Here
|
13369 |
# The host system. |
14574 |
# The host system. |
13370 |
host_alias=$host_alias |
14575 |
host_alias=$host_alias |
13371 |
host=$host |
14576 |
host=$host |
|
|
14577 |
host_os=$host_os |
14578 |
|
14579 |
# The build system. |
14580 |
build_alias=$build_alias |
14581 |
build=$build |
14582 |
build_os=$build_os |
13372 |
|
14583 |
|
13373 |
# An echo program that does not interpret backslashes. |
14584 |
# An echo program that does not interpret backslashes. |
13374 |
echo=$lt_echo |
14585 |
echo=$lt_echo |
Lines 13399-13405
Link Here
|
13399 |
NM=$lt_NM |
14610 |
NM=$lt_NM |
13400 |
|
14611 |
|
13401 |
# A symbol stripping program |
14612 |
# A symbol stripping program |
13402 |
STRIP=$STRIP |
14613 |
STRIP=$lt_STRIP |
13403 |
|
14614 |
|
13404 |
# Used to examine libraries when file_magic_cmd begins "file" |
14615 |
# Used to examine libraries when file_magic_cmd begins "file" |
13405 |
MAGIC_CMD=$MAGIC_CMD |
14616 |
MAGIC_CMD=$MAGIC_CMD |
Lines 13411-13417
Link Here
|
13411 |
OBJDUMP="$OBJDUMP" |
14622 |
OBJDUMP="$OBJDUMP" |
13412 |
|
14623 |
|
13413 |
# Used on cygwin: assembler. |
14624 |
# Used on cygwin: assembler. |
13414 |
AS=$lt_AS |
14625 |
AS="$AS" |
13415 |
|
14626 |
|
13416 |
# The name of the directory that contains temporary libtool files. |
14627 |
# The name of the directory that contains temporary libtool files. |
13417 |
objdir=$objdir |
14628 |
objdir=$objdir |
Lines 13430-13436
Link Here
|
13430 |
libext="$libext" |
14641 |
libext="$libext" |
13431 |
|
14642 |
|
13432 |
# Shared library suffix (normally ".so"). |
14643 |
# Shared library suffix (normally ".so"). |
13433 |
shrext='$shrext' |
14644 |
shrext_cmds='$shrext_cmds' |
13434 |
|
14645 |
|
13435 |
# Executable file suffix (normally ""). |
14646 |
# Executable file suffix (normally ""). |
13436 |
exeext="$exeext" |
14647 |
exeext="$exeext" |
Lines 13445-13451
Link Here
|
13445 |
# Does compiler simultaneously support -c and -o options? |
14656 |
# Does compiler simultaneously support -c and -o options? |
13446 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
14657 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
13447 |
|
14658 |
|
13448 |
# Must we lock files when doing compilation ? |
14659 |
# Must we lock files when doing compilation? |
13449 |
need_locks=$lt_need_locks |
14660 |
need_locks=$lt_need_locks |
13450 |
|
14661 |
|
13451 |
# Do we need the lib prefix for modules? |
14662 |
# Do we need the lib prefix for modules? |
Lines 13647-13653
Link Here
|
13647 |
# If there is no Makefile yet, we rely on a make rule to execute |
14858 |
# If there is no Makefile yet, we rely on a make rule to execute |
13648 |
# `config.status --recheck' to rerun these tests and create the |
14859 |
# `config.status --recheck' to rerun these tests and create the |
13649 |
# libtool script then. |
14860 |
# libtool script then. |
13650 |
test -f Makefile && make "$ltmain" |
14861 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
|
14862 |
if test -f "$ltmain_in"; then |
14863 |
test -f Makefile && make "$ltmain" |
14864 |
fi |
13651 |
fi |
14865 |
fi |
13652 |
|
14866 |
|
13653 |
|
14867 |
|
Lines 13723-13734
Link Here
|
13723 |
compiler=$CC |
14937 |
compiler=$CC |
13724 |
|
14938 |
|
13725 |
|
14939 |
|
|
|
14940 |
# save warnings/boilerplate of simple test code |
14941 |
ac_outfile=conftest.$ac_objext |
14942 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
14943 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
14944 |
_lt_compiler_boilerplate=`cat conftest.err` |
14945 |
$rm conftest* |
14946 |
|
14947 |
ac_outfile=conftest.$ac_objext |
14948 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
14949 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
14950 |
_lt_linker_boilerplate=`cat conftest.err` |
14951 |
$rm conftest* |
14952 |
|
14953 |
|
13726 |
# Allow CC to be a program name with arguments. |
14954 |
# Allow CC to be a program name with arguments. |
13727 |
lt_save_CC="$CC" |
14955 |
lt_save_CC="$CC" |
13728 |
CC=${F77-"f77"} |
14956 |
CC=${F77-"f77"} |
13729 |
compiler=$CC |
14957 |
compiler=$CC |
13730 |
compiler_F77=$CC |
14958 |
compiler_F77=$CC |
13731 |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
14959 |
for cc_temp in $compiler""; do |
|
|
14960 |
case $cc_temp in |
14961 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
14962 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
14963 |
\-*) ;; |
14964 |
*) break;; |
14965 |
esac |
14966 |
done |
14967 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
14968 |
|
13732 |
|
14969 |
|
13733 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
14970 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13734 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
14971 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
Lines 13749-13756
Link Here
|
13749 |
postinstall_cmds='$RANLIB $lib' |
14986 |
postinstall_cmds='$RANLIB $lib' |
13750 |
fi |
14987 |
fi |
13751 |
;; |
14988 |
;; |
13752 |
aix4*) |
14989 |
aix4* | aix5*) |
13753 |
test "$enable_shared" = yes && enable_static=no |
14990 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
|
14991 |
test "$enable_shared" = yes && enable_static=no |
14992 |
fi |
13754 |
;; |
14993 |
;; |
13755 |
esac |
14994 |
esac |
13756 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
14995 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
Lines 13853-13858
Link Here
|
13853 |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
15092 |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
13854 |
fi |
15093 |
fi |
13855 |
;; |
15094 |
;; |
|
|
15095 |
darwin*) |
15096 |
# PIC is the default on this platform |
15097 |
# Common symbols not allowed in MH_DYLIB files |
15098 |
case $cc_basename in |
15099 |
xlc*) |
15100 |
lt_prog_compiler_pic_F77='-qnocommon' |
15101 |
lt_prog_compiler_wl_F77='-Wl,' |
15102 |
;; |
15103 |
esac |
15104 |
;; |
13856 |
|
15105 |
|
13857 |
mingw* | pw32* | os2*) |
15106 |
mingw* | pw32* | os2*) |
13858 |
# This hack is so that the source file can tell whether it is being |
15107 |
# This hack is so that the source file can tell whether it is being |
Lines 13888-13900
Link Here
|
13888 |
;; |
15137 |
;; |
13889 |
|
15138 |
|
13890 |
linux*) |
15139 |
linux*) |
13891 |
case $CC in |
15140 |
case $cc_basename in |
13892 |
icc|ecc) |
15141 |
icc* | ecc*) |
13893 |
lt_prog_compiler_wl_F77='-Wl,' |
15142 |
lt_prog_compiler_wl_F77='-Wl,' |
13894 |
lt_prog_compiler_pic_F77='-KPIC' |
15143 |
lt_prog_compiler_pic_F77='-KPIC' |
13895 |
lt_prog_compiler_static_F77='-static' |
15144 |
lt_prog_compiler_static_F77='-static' |
13896 |
;; |
15145 |
;; |
13897 |
ccc) |
15146 |
pgcc* | pgf77* | pgf90*) |
|
|
15147 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
15148 |
# which looks to be a dead project) |
15149 |
lt_prog_compiler_wl_F77='-Wl,' |
15150 |
lt_prog_compiler_pic_F77='-fpic' |
15151 |
lt_prog_compiler_static_F77='-static' |
15152 |
;; |
15153 |
ccc*) |
13898 |
lt_prog_compiler_wl_F77='-Wl,' |
15154 |
lt_prog_compiler_wl_F77='-Wl,' |
13899 |
# All Alpha code is PIC. |
15155 |
# All Alpha code is PIC. |
13900 |
lt_prog_compiler_static_F77='-non_shared' |
15156 |
lt_prog_compiler_static_F77='-non_shared' |
Lines 13914-13922
Link Here
|
13914 |
;; |
15170 |
;; |
13915 |
|
15171 |
|
13916 |
solaris*) |
15172 |
solaris*) |
13917 |
lt_prog_compiler_wl_F77='-Wl,' |
|
|
13918 |
lt_prog_compiler_pic_F77='-KPIC' |
15173 |
lt_prog_compiler_pic_F77='-KPIC' |
13919 |
lt_prog_compiler_static_F77='-Bstatic' |
15174 |
lt_prog_compiler_static_F77='-Bstatic' |
|
|
15175 |
case $cc_basename in |
15176 |
f77* | f90* | f95*) |
15177 |
lt_prog_compiler_wl_F77='-Qoption ld ';; |
15178 |
*) |
15179 |
lt_prog_compiler_wl_F77='-Wl,';; |
15180 |
esac |
13920 |
;; |
15181 |
;; |
13921 |
|
15182 |
|
13922 |
sunos4*) |
15183 |
sunos4*) |
Lines 13938-13943
Link Here
|
13938 |
fi |
15199 |
fi |
13939 |
;; |
15200 |
;; |
13940 |
|
15201 |
|
|
|
15202 |
unicos*) |
15203 |
lt_prog_compiler_wl_F77='-Wl,' |
15204 |
lt_prog_compiler_can_build_shared_F77=no |
15205 |
;; |
15206 |
|
13941 |
uts4*) |
15207 |
uts4*) |
13942 |
lt_prog_compiler_pic_F77='-pic' |
15208 |
lt_prog_compiler_pic_F77='-pic' |
13943 |
lt_prog_compiler_static_F77='-Bstatic' |
15209 |
lt_prog_compiler_static_F77='-Bstatic' |
Lines 13956-13962
Link Here
|
13956 |
# Check to make sure the PIC flag actually works. |
15222 |
# Check to make sure the PIC flag actually works. |
13957 |
# |
15223 |
# |
13958 |
if test -n "$lt_prog_compiler_pic_F77"; then |
15224 |
if test -n "$lt_prog_compiler_pic_F77"; then |
13959 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
15225 |
|
|
|
15226 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
13960 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 |
15227 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 |
13961 |
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
15228 |
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
13962 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15229 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
Lines 13974-13988
Link Here
|
13974 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15241 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13975 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15242 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13976 |
-e 's:$: $lt_compiler_flag:'` |
15243 |
-e 's:$: $lt_compiler_flag:'` |
13977 |
(eval echo "\"\$as_me:13977: $lt_compile\"" >&5) |
15244 |
(eval echo "\"\$as_me:15244: $lt_compile\"" >&5) |
13978 |
(eval "$lt_compile" 2>conftest.err) |
15245 |
(eval "$lt_compile" 2>conftest.err) |
13979 |
ac_status=$? |
15246 |
ac_status=$? |
13980 |
cat conftest.err >&5 |
15247 |
cat conftest.err >&5 |
13981 |
echo "$as_me:13981: \$? = $ac_status" >&5 |
15248 |
echo "$as_me:15248: \$? = $ac_status" >&5 |
13982 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15249 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13983 |
# The compiler can only warn and ignore the option if not recognized |
15250 |
# The compiler can only warn and ignore the option if not recognized |
13984 |
# So say no if there are warnings |
15251 |
# So say no if there are warnings other than the usual output. |
13985 |
if test ! -s conftest.err; then |
15252 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
|
|
15253 |
$SED '/^$/d' conftest.err >conftest.er2 |
15254 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
13986 |
lt_prog_compiler_pic_works_F77=yes |
15255 |
lt_prog_compiler_pic_works_F77=yes |
13987 |
fi |
15256 |
fi |
13988 |
fi |
15257 |
fi |
Lines 14025-14037
Link Here
|
14025 |
mkdir out |
15294 |
mkdir out |
14026 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
15295 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
14027 |
|
15296 |
|
14028 |
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
14029 |
# that will create temporary files in the current directory regardless of |
14030 |
# the output directory. Thus, making CWD read-only will cause this test |
14031 |
# to fail, enabling locking or at least warning the user not to do parallel |
14032 |
# builds. |
14033 |
chmod -w . |
14034 |
|
14035 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
15297 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
14036 |
# Insert the option either (1) after the last *FLAGS variable, or |
15298 |
# Insert the option either (1) after the last *FLAGS variable, or |
14037 |
# (2) before a word containing "conftest.", or (3) at the end. |
15299 |
# (2) before a word containing "conftest.", or (3) at the end. |
Lines 14041-14062
Link Here
|
14041 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15303 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
14042 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15304 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14043 |
-e 's:$: $lt_compiler_flag:'` |
15305 |
-e 's:$: $lt_compiler_flag:'` |
14044 |
(eval echo "\"\$as_me:14044: $lt_compile\"" >&5) |
15306 |
(eval echo "\"\$as_me:15306: $lt_compile\"" >&5) |
14045 |
(eval "$lt_compile" 2>out/conftest.err) |
15307 |
(eval "$lt_compile" 2>out/conftest.err) |
14046 |
ac_status=$? |
15308 |
ac_status=$? |
14047 |
cat out/conftest.err >&5 |
15309 |
cat out/conftest.err >&5 |
14048 |
echo "$as_me:14048: \$? = $ac_status" >&5 |
15310 |
echo "$as_me:15310: \$? = $ac_status" >&5 |
14049 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15311 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14050 |
then |
15312 |
then |
14051 |
# The compiler can only warn and ignore the option if not recognized |
15313 |
# The compiler can only warn and ignore the option if not recognized |
14052 |
# So say no if there are warnings |
15314 |
# So say no if there are warnings |
14053 |
if test ! -s out/conftest.err; then |
15315 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
|
|
15316 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
15317 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
14054 |
lt_cv_prog_compiler_c_o_F77=yes |
15318 |
lt_cv_prog_compiler_c_o_F77=yes |
14055 |
fi |
15319 |
fi |
14056 |
fi |
15320 |
fi |
14057 |
chmod u+w . |
15321 |
chmod u+w . |
14058 |
$rm conftest* out/* |
15322 |
$rm conftest* |
14059 |
rmdir out |
15323 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
|
15324 |
# template instantiation |
15325 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
15326 |
$rm out/* && rmdir out |
14060 |
cd .. |
15327 |
cd .. |
14061 |
rmdir conftest |
15328 |
rmdir conftest |
14062 |
$rm conftest* |
15329 |
$rm conftest* |
Lines 14127-14132
Link Here
|
14127 |
# rely on this symbol name, it's probably fine to never include it in |
15394 |
# rely on this symbol name, it's probably fine to never include it in |
14128 |
# preloaded symbol tables. |
15395 |
# preloaded symbol tables. |
14129 |
extract_expsyms_cmds= |
15396 |
extract_expsyms_cmds= |
|
|
15397 |
# Just being paranoid about ensuring that cc_basename is set. |
15398 |
for cc_temp in $compiler""; do |
15399 |
case $cc_temp in |
15400 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
15401 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
15402 |
\-*) ;; |
15403 |
*) break;; |
15404 |
esac |
15405 |
done |
15406 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
14130 |
|
15407 |
|
14131 |
case $host_os in |
15408 |
case $host_os in |
14132 |
cygwin* | mingw* | pw32*) |
15409 |
cygwin* | mingw* | pw32*) |
Lines 14147-14152
Link Here
|
14147 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
15424 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
14148 |
wlarc='${wl}' |
15425 |
wlarc='${wl}' |
14149 |
|
15426 |
|
|
|
15427 |
# Set some defaults for GNU ld with shared library support. These |
15428 |
# are reset later if shared libraries are not supported. Putting them |
15429 |
# here allows them to be overridden if necessary. |
15430 |
runpath_var=LD_RUN_PATH |
15431 |
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
15432 |
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
15433 |
# ancient GNU ld didn't support --whole-archive et. al. |
15434 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
15435 |
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
15436 |
else |
15437 |
whole_archive_flag_spec_F77= |
15438 |
fi |
15439 |
supports_anon_versioning=no |
15440 |
case `$LD -v 2>/dev/null` in |
15441 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
15442 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
15443 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
15444 |
*\ 2.11.*) ;; # other 2.11 versions |
15445 |
*) supports_anon_versioning=yes ;; |
15446 |
esac |
15447 |
|
14150 |
# See if GNU ld supports shared libraries. |
15448 |
# See if GNU ld supports shared libraries. |
14151 |
case $host_os in |
15449 |
case $host_os in |
14152 |
aix3* | aix4* | aix5*) |
15450 |
aix3* | aix4* | aix5*) |
Lines 14197-14203
Link Here
|
14197 |
allow_undefined_flag_F77=unsupported |
15495 |
allow_undefined_flag_F77=unsupported |
14198 |
always_export_symbols_F77=no |
15496 |
always_export_symbols_F77=no |
14199 |
enable_shared_with_static_runtimes_F77=yes |
15497 |
enable_shared_with_static_runtimes_F77=yes |
14200 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
15498 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
14201 |
|
15499 |
|
14202 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
15500 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
14203 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
15501 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
Lines 14211-14217
Link Here
|
14211 |
fi~ |
15509 |
fi~ |
14212 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
15510 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
14213 |
else |
15511 |
else |
14214 |
ld_shlibs=no |
15512 |
ld_shlibs_F77=no |
|
|
15513 |
fi |
15514 |
;; |
15515 |
|
15516 |
linux*) |
15517 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
15518 |
tmp_addflag= |
15519 |
case $cc_basename,$host_cpu in |
15520 |
pgcc*) # Portland Group C compiler |
15521 |
whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
15522 |
tmp_addflag=' $pic_flag' |
15523 |
;; |
15524 |
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
15525 |
whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
15526 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
15527 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
15528 |
tmp_addflag=' -i_dynamic' ;; |
15529 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
15530 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
15531 |
ifc* | ifort*) # Intel Fortran compiler |
15532 |
tmp_addflag=' -nofor_main' ;; |
15533 |
esac |
15534 |
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
15535 |
|
15536 |
if test $supports_anon_versioning = yes; then |
15537 |
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
15538 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
15539 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
15540 |
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
15541 |
fi |
15542 |
else |
15543 |
ld_shlibs_F77=no |
14215 |
fi |
15544 |
fi |
14216 |
;; |
15545 |
;; |
14217 |
|
15546 |
|
Lines 14263-14278
Link Here
|
14263 |
;; |
15592 |
;; |
14264 |
esac |
15593 |
esac |
14265 |
|
15594 |
|
14266 |
if test "$ld_shlibs_F77" = yes; then |
15595 |
if test "$ld_shlibs_F77" = no; then |
14267 |
runpath_var=LD_RUN_PATH |
15596 |
runpath_var= |
14268 |
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
15597 |
hardcode_libdir_flag_spec_F77= |
14269 |
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
15598 |
export_dynamic_flag_spec_F77= |
14270 |
# ancient GNU ld didn't support --whole-archive et. al. |
15599 |
whole_archive_flag_spec_F77= |
14271 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
14272 |
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
14273 |
else |
14274 |
whole_archive_flag_spec_F77= |
14275 |
fi |
14276 |
fi |
15600 |
fi |
14277 |
else |
15601 |
else |
14278 |
# PORTME fill in a description of your system's linker (not GNU ld) |
15602 |
# PORTME fill in a description of your system's linker (not GNU ld) |
Lines 14336-14342
Link Here
|
14336 |
link_all_deplibs_F77=yes |
15660 |
link_all_deplibs_F77=yes |
14337 |
|
15661 |
|
14338 |
if test "$GCC" = yes; then |
15662 |
if test "$GCC" = yes; then |
14339 |
case $host_os in aix4.012|aix4.012.*) |
15663 |
case $host_os in aix4.[012]|aix4.[012].*) |
14340 |
# We only want to do this on AIX 4.2 and lower, the check |
15664 |
# We only want to do this on AIX 4.2 and lower, the check |
14341 |
# below for broken collect2 doesn't work under 4.3+ |
15665 |
# below for broken collect2 doesn't work under 4.3+ |
14342 |
collect2name=`${CC} -print-prog-name=collect2` |
15666 |
collect2name=`${CC} -print-prog-name=collect2` |
Lines 14357-14362
Link Here
|
14357 |
fi |
15681 |
fi |
14358 |
esac |
15682 |
esac |
14359 |
shared_flag='-shared' |
15683 |
shared_flag='-shared' |
|
|
15684 |
if test "$aix_use_runtimelinking" = yes; then |
15685 |
shared_flag="$shared_flag "'${wl}-G' |
15686 |
fi |
14360 |
else |
15687 |
else |
14361 |
# not using gcc |
15688 |
# not using gcc |
14362 |
if test "$host_cpu" = ia64; then |
15689 |
if test "$host_cpu" = ia64; then |
Lines 14387-14397
Link Here
|
14387 |
_ACEOF |
15714 |
_ACEOF |
14388 |
rm -f conftest.$ac_objext conftest$ac_exeext |
15715 |
rm -f conftest.$ac_objext conftest$ac_exeext |
14389 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15716 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14390 |
(eval $ac_link) 2>&5 |
15717 |
(eval $ac_link) 2>conftest.er1 |
14391 |
ac_status=$? |
15718 |
ac_status=$? |
|
|
15719 |
grep -v '^ *+' conftest.er1 >conftest.err |
15720 |
rm -f conftest.er1 |
15721 |
cat conftest.err >&5 |
14392 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15722 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14393 |
(exit $ac_status); } && |
15723 |
(exit $ac_status); } && |
14394 |
{ ac_try='test -s conftest$ac_exeext' |
15724 |
{ ac_try='test -z "$ac_f77_werror_flag" |
|
|
15725 |
|| test ! -s conftest.err' |
15726 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15727 |
(eval $ac_try) 2>&5 |
15728 |
ac_status=$? |
15729 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15730 |
(exit $ac_status); }; } && |
15731 |
{ ac_try='test -s conftest$ac_exeext' |
14395 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15732 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14396 |
(eval $ac_try) 2>&5 |
15733 |
(eval $ac_try) 2>&5 |
14397 |
ac_status=$? |
15734 |
ac_status=$? |
Lines 14408-14414
Link Here
|
14408 |
sed 's/^/| /' conftest.$ac_ext >&5 |
15745 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14409 |
|
15746 |
|
14410 |
fi |
15747 |
fi |
14411 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15748 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
15749 |
conftest$ac_exeext conftest.$ac_ext |
14412 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
15750 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14413 |
|
15751 |
|
14414 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
15752 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 14427-14437
Link Here
|
14427 |
_ACEOF |
15765 |
_ACEOF |
14428 |
rm -f conftest.$ac_objext conftest$ac_exeext |
15766 |
rm -f conftest.$ac_objext conftest$ac_exeext |
14429 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15767 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14430 |
(eval $ac_link) 2>&5 |
15768 |
(eval $ac_link) 2>conftest.er1 |
14431 |
ac_status=$? |
15769 |
ac_status=$? |
|
|
15770 |
grep -v '^ *+' conftest.er1 >conftest.err |
15771 |
rm -f conftest.er1 |
15772 |
cat conftest.err >&5 |
14432 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15773 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14433 |
(exit $ac_status); } && |
15774 |
(exit $ac_status); } && |
14434 |
{ ac_try='test -s conftest$ac_exeext' |
15775 |
{ ac_try='test -z "$ac_f77_werror_flag" |
|
|
15776 |
|| test ! -s conftest.err' |
15777 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15778 |
(eval $ac_try) 2>&5 |
15779 |
ac_status=$? |
15780 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15781 |
(exit $ac_status); }; } && |
15782 |
{ ac_try='test -s conftest$ac_exeext' |
14435 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15783 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14436 |
(eval $ac_try) 2>&5 |
15784 |
(eval $ac_try) 2>&5 |
14437 |
ac_status=$? |
15785 |
ac_status=$? |
Lines 14448-14454
Link Here
|
14448 |
sed 's/^/| /' conftest.$ac_ext >&5 |
15796 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14449 |
|
15797 |
|
14450 |
fi |
15798 |
fi |
14451 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15799 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
15800 |
conftest$ac_exeext conftest.$ac_ext |
14452 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
15801 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14453 |
|
15802 |
|
14454 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
15803 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 14475-14481
Link Here
|
14475 |
ld_shlibs_F77=no |
15824 |
ld_shlibs_F77=no |
14476 |
;; |
15825 |
;; |
14477 |
|
15826 |
|
14478 |
bsdi4*) |
15827 |
bsdi[45]*) |
14479 |
export_dynamic_flag_spec_F77=-rdynamic |
15828 |
export_dynamic_flag_spec_F77=-rdynamic |
14480 |
;; |
15829 |
;; |
14481 |
|
15830 |
|
Lines 14489-14543
Link Here
|
14489 |
# Tell ltmain to make .lib files, not .a files. |
15838 |
# Tell ltmain to make .lib files, not .a files. |
14490 |
libext=lib |
15839 |
libext=lib |
14491 |
# Tell ltmain to make .dll files, not .so files. |
15840 |
# Tell ltmain to make .dll files, not .so files. |
14492 |
shrext=".dll" |
15841 |
shrext_cmds=".dll" |
14493 |
# FIXME: Setting linknames here is a bad hack. |
15842 |
# FIXME: Setting linknames here is a bad hack. |
14494 |
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
15843 |
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
14495 |
# The linker will automatically build a .lib file if we build a DLL. |
15844 |
# The linker will automatically build a .lib file if we build a DLL. |
14496 |
old_archive_From_new_cmds_F77='true' |
15845 |
old_archive_From_new_cmds_F77='true' |
14497 |
# FIXME: Should let the user specify the lib program. |
15846 |
# FIXME: Should let the user specify the lib program. |
14498 |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
15847 |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
14499 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
15848 |
fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
14500 |
enable_shared_with_static_runtimes_F77=yes |
15849 |
enable_shared_with_static_runtimes_F77=yes |
14501 |
;; |
15850 |
;; |
14502 |
|
15851 |
|
14503 |
darwin* | rhapsody*) |
15852 |
darwin* | rhapsody*) |
14504 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
|
|
14505 |
archive_cmds_need_lc_F77=no |
14506 |
case "$host_os" in |
15853 |
case "$host_os" in |
14507 |
rhapsody* | darwin1.[012]) |
15854 |
rhapsody* | darwin1.[012]) |
14508 |
allow_undefined_flag_F77='-undefined suppress' |
15855 |
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' |
14509 |
;; |
15856 |
;; |
14510 |
*) # Darwin 1.3 on |
15857 |
*) # Darwin 1.3 on |
14511 |
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' |
15858 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
14512 |
;; |
15859 |
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
15860 |
else |
15861 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
15862 |
10.[012]) |
15863 |
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
15864 |
;; |
15865 |
10.*) |
15866 |
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' |
15867 |
;; |
15868 |
esac |
15869 |
fi |
15870 |
;; |
14513 |
esac |
15871 |
esac |
14514 |
# FIXME: Relying on posixy $() will cause problems for |
15872 |
archive_cmds_need_lc_F77=no |
14515 |
# cross-compilation, but unfortunately the echo tests do not |
|
|
14516 |
# yet detect zsh echo's removal of \ escapes. Also zsh mangles |
14517 |
# `"' quotes if we put them in here... so don't! |
14518 |
lt_int_apple_cc_single_mod=no |
14519 |
output_verbose_link_cmd='echo' |
14520 |
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
14521 |
lt_int_apple_cc_single_mod=yes |
14522 |
fi |
14523 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
14524 |
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
14525 |
else |
14526 |
archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
14527 |
fi |
14528 |
module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' |
14529 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
14530 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
14531 |
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
14532 |
else |
14533 |
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
14534 |
fi |
14535 |
module_expsym_cmds_F77='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}' |
14536 |
hardcode_direct_F77=no |
15873 |
hardcode_direct_F77=no |
14537 |
hardcode_automatic_F77=yes |
15874 |
hardcode_automatic_F77=yes |
14538 |
hardcode_shlibpath_var_F77=unsupported |
15875 |
hardcode_shlibpath_var_F77=unsupported |
14539 |
whole_archive_flag_spec_F77='-all_load $convenience' |
15876 |
whole_archive_flag_spec_F77='' |
14540 |
link_all_deplibs_F77=yes |
15877 |
link_all_deplibs_F77=yes |
|
|
15878 |
if test "$GCC" = yes ; then |
15879 |
output_verbose_link_cmd='echo' |
15880 |
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
15881 |
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
15882 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
15883 |
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
15884 |
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
15885 |
else |
15886 |
case $cc_basename in |
15887 |
xlc*) |
15888 |
output_verbose_link_cmd='echo' |
15889 |
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
15890 |
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
15891 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
15892 |
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
15893 |
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
15894 |
;; |
15895 |
*) |
15896 |
ld_shlibs_F77=no |
15897 |
;; |
15898 |
esac |
14541 |
fi |
15899 |
fi |
14542 |
;; |
15900 |
;; |
14543 |
|
15901 |
|
Lines 14571-14577
Link Here
|
14571 |
;; |
15929 |
;; |
14572 |
|
15930 |
|
14573 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
15931 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
14574 |
freebsd*) |
15932 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
14575 |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
15933 |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
14576 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
15934 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
14577 |
hardcode_direct_F77=yes |
15935 |
hardcode_direct_F77=yes |
Lines 14682-14687
Link Here
|
14682 |
hardcode_shlibpath_var_F77=no |
16040 |
hardcode_shlibpath_var_F77=no |
14683 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
16041 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
14684 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
16042 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
16043 |
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
14685 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
16044 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
14686 |
export_dynamic_flag_spec_F77='${wl}-E' |
16045 |
export_dynamic_flag_spec_F77='${wl}-E' |
14687 |
else |
16046 |
else |
Lines 14727-14733
Link Here
|
14727 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
16086 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
14728 |
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
16087 |
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
14729 |
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
16088 |
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
14730 |
$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' |
16089 |
$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' |
14731 |
|
16090 |
|
14732 |
# Both c and cxx compiler support -rpath directly |
16091 |
# Both c and cxx compiler support -rpath directly |
14733 |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
16092 |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
Lines 14746-14755
Link Here
|
14746 |
solaris*) |
16105 |
solaris*) |
14747 |
no_undefined_flag_F77=' -z text' |
16106 |
no_undefined_flag_F77=' -z text' |
14748 |
if test "$GCC" = yes; then |
16107 |
if test "$GCC" = yes; then |
|
|
16108 |
wlarc='${wl}' |
14749 |
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
16109 |
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
14750 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
16110 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14751 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
16111 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
14752 |
else |
16112 |
else |
|
|
16113 |
wlarc='' |
14753 |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
16114 |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
14754 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
16115 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14755 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
16116 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
Lines 14758-14765
Link Here
|
14758 |
hardcode_shlibpath_var_F77=no |
16119 |
hardcode_shlibpath_var_F77=no |
14759 |
case $host_os in |
16120 |
case $host_os in |
14760 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
16121 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
14761 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
16122 |
*) |
14762 |
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
16123 |
# The compiler driver will combine linker options so we |
|
|
16124 |
# cannot just pass the convience library names through |
16125 |
# without $wl, iff we do not link with $LD. |
16126 |
# Luckily, gcc supports the same syntax we need for Sun Studio. |
16127 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
16128 |
case $wlarc in |
16129 |
'') |
16130 |
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
16131 |
*) |
16132 |
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
16133 |
esac ;; |
14763 |
esac |
16134 |
esac |
14764 |
link_all_deplibs_F77=yes |
16135 |
link_all_deplibs_F77=yes |
14765 |
;; |
16136 |
;; |
Lines 14931-15008
Link Here
|
14931 |
;; |
16302 |
;; |
14932 |
esac |
16303 |
esac |
14933 |
|
16304 |
|
14934 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
|
14935 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
14936 |
hardcode_action_F77= |
14937 |
if test -n "$hardcode_libdir_flag_spec_F77" || \ |
14938 |
test -n "$runpath_var F77" || \ |
14939 |
test "X$hardcode_automatic_F77"="Xyes" ; then |
14940 |
|
14941 |
# We can hardcode non-existant directories. |
14942 |
if test "$hardcode_direct_F77" != no && |
14943 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
14944 |
# have to relink, otherwise we might link with an installed library |
14945 |
# when we should be linking with a yet-to-be-installed one |
14946 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && |
14947 |
test "$hardcode_minus_L_F77" != no; then |
14948 |
# Linking always hardcodes the temporary library directory. |
14949 |
hardcode_action_F77=relink |
14950 |
else |
14951 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
14952 |
hardcode_action_F77=immediate |
14953 |
fi |
14954 |
else |
14955 |
# We cannot hardcode anything, or else we can only hardcode existing |
14956 |
# directories. |
14957 |
hardcode_action_F77=unsupported |
14958 |
fi |
14959 |
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
14960 |
echo "${ECHO_T}$hardcode_action_F77" >&6 |
14961 |
|
14962 |
if test "$hardcode_action_F77" = relink; then |
14963 |
# Fast installation is not supported |
14964 |
enable_fast_install=no |
14965 |
elif test "$shlibpath_overrides_runpath" = yes || |
14966 |
test "$enable_shared" = no; then |
14967 |
# Fast installation is not necessary |
14968 |
enable_fast_install=needless |
14969 |
fi |
14970 |
|
14971 |
striplib= |
14972 |
old_striplib= |
14973 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
14974 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
14975 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
14976 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
14977 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
14978 |
echo "$as_me:$LINENO: result: yes" >&5 |
14979 |
echo "${ECHO_T}yes" >&6 |
14980 |
else |
14981 |
# FIXME - insert some real tests, host_os isn't really good enough |
14982 |
case $host_os in |
14983 |
darwin*) |
14984 |
if test -n "$STRIP" ; then |
14985 |
striplib="$STRIP -x" |
14986 |
echo "$as_me:$LINENO: result: yes" >&5 |
14987 |
echo "${ECHO_T}yes" >&6 |
14988 |
else |
14989 |
echo "$as_me:$LINENO: result: no" >&5 |
14990 |
echo "${ECHO_T}no" >&6 |
14991 |
fi |
14992 |
;; |
14993 |
*) |
14994 |
echo "$as_me:$LINENO: result: no" >&5 |
14995 |
echo "${ECHO_T}no" >&6 |
14996 |
;; |
14997 |
esac |
14998 |
fi |
14999 |
|
15000 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
16305 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
15001 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
16306 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
15002 |
library_names_spec= |
16307 |
library_names_spec= |
15003 |
libname_spec='lib$name' |
16308 |
libname_spec='lib$name' |
15004 |
soname_spec= |
16309 |
soname_spec= |
15005 |
shrext=".so" |
16310 |
shrext_cmds=".so" |
15006 |
postinstall_cmds= |
16311 |
postinstall_cmds= |
15007 |
postuninstall_cmds= |
16312 |
postuninstall_cmds= |
15008 |
finish_cmds= |
16313 |
finish_cmds= |
Lines 15090-15096
Link Here
|
15090 |
amigaos*) |
16395 |
amigaos*) |
15091 |
library_names_spec='$libname.ixlibrary $libname.a' |
16396 |
library_names_spec='$libname.ixlibrary $libname.a' |
15092 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
16397 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
15093 |
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' |
16398 |
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' |
15094 |
;; |
16399 |
;; |
15095 |
|
16400 |
|
15096 |
beos*) |
16401 |
beos*) |
Lines 15099-15105
Link Here
|
15099 |
shlibpath_var=LIBRARY_PATH |
16404 |
shlibpath_var=LIBRARY_PATH |
15100 |
;; |
16405 |
;; |
15101 |
|
16406 |
|
15102 |
bsdi4*) |
16407 |
bsdi[45]*) |
15103 |
version_type=linux |
16408 |
version_type=linux |
15104 |
need_version=no |
16409 |
need_version=no |
15105 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16410 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Lines 15115-15121
Link Here
|
15115 |
|
16420 |
|
15116 |
cygwin* | mingw* | pw32*) |
16421 |
cygwin* | mingw* | pw32*) |
15117 |
version_type=windows |
16422 |
version_type=windows |
15118 |
shrext=".dll" |
16423 |
shrext_cmds=".dll" |
15119 |
need_version=no |
16424 |
need_version=no |
15120 |
need_lib_prefix=no |
16425 |
need_lib_prefix=no |
15121 |
|
16426 |
|
Lines 15137-15143
Link Here
|
15137 |
cygwin*) |
16442 |
cygwin*) |
15138 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
16443 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
15139 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
16444 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
15140 |
sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" |
16445 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
15141 |
;; |
16446 |
;; |
15142 |
mingw*) |
16447 |
mingw*) |
15143 |
# MinGW DLLs use traditional 'lib' prefix |
16448 |
# MinGW DLLs use traditional 'lib' prefix |
Lines 15157-15167
Link Here
|
15157 |
;; |
16462 |
;; |
15158 |
pw32*) |
16463 |
pw32*) |
15159 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
16464 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
15160 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
16465 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
15161 |
;; |
16466 |
;; |
15162 |
esac |
16467 |
esac |
15163 |
;; |
16468 |
;; |
15164 |
|
16469 |
|
|
|
16470 |
linux*) |
16471 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
16472 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16473 |
supports_anon_versioning=no |
16474 |
case `$LD -v 2>/dev/null` in |
16475 |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
16476 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
16477 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
16478 |
*\ 2.11.*) ;; # other 2.11 versions |
16479 |
*) supports_anon_versioning=yes ;; |
16480 |
esac |
16481 |
if test $supports_anon_versioning = yes; then |
16482 |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
16483 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
16484 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
16485 |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
16486 |
else |
16487 |
$archive_expsym_cmds="$archive_cmds" |
16488 |
fi |
16489 |
else |
16490 |
ld_shlibs=no |
16491 |
fi |
16492 |
;; |
16493 |
|
15165 |
*) |
16494 |
*) |
15166 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
16495 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
15167 |
;; |
16496 |
;; |
Lines 15176-15192
Link Here
|
15176 |
version_type=darwin |
16505 |
version_type=darwin |
15177 |
need_lib_prefix=no |
16506 |
need_lib_prefix=no |
15178 |
need_version=no |
16507 |
need_version=no |
15179 |
# FIXME: Relying on posixy $() will cause problems for |
|
|
15180 |
# cross-compilation, but unfortunately the echo tests do not |
15181 |
# yet detect zsh echo's removal of \ escapes. |
15182 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
16508 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
15183 |
soname_spec='${libname}${release}${major}$shared_ext' |
16509 |
soname_spec='${libname}${release}${major}$shared_ext' |
15184 |
shlibpath_overrides_runpath=yes |
16510 |
shlibpath_overrides_runpath=yes |
15185 |
shlibpath_var=DYLD_LIBRARY_PATH |
16511 |
shlibpath_var=DYLD_LIBRARY_PATH |
15186 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
16512 |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
15187 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
16513 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
15188 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
16514 |
if test "$GCC" = yes; then |
15189 |
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"` |
16515 |
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"` |
|
|
16516 |
else |
16517 |
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
15190 |
fi |
16518 |
fi |
15191 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
16519 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
15192 |
;; |
16520 |
;; |
Lines 15204-15210
Link Here
|
15204 |
dynamic_linker=no |
16532 |
dynamic_linker=no |
15205 |
;; |
16533 |
;; |
15206 |
|
16534 |
|
15207 |
freebsd*) |
16535 |
kfreebsd*-gnu) |
|
|
16536 |
version_type=linux |
16537 |
need_lib_prefix=no |
16538 |
need_version=no |
16539 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
16540 |
soname_spec='${libname}${release}${shared_ext}$major' |
16541 |
shlibpath_var=LD_LIBRARY_PATH |
16542 |
shlibpath_overrides_runpath=no |
16543 |
hardcode_into_libs=yes |
16544 |
dynamic_linker='GNU ld.so' |
16545 |
;; |
16546 |
|
16547 |
freebsd* | dragonfly*) |
16548 |
# DragonFly does not have aout. When/if they implement a new |
16549 |
# versioning mechanism, adjust this. |
15208 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
16550 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
15209 |
version_type=freebsd-$objformat |
16551 |
version_type=freebsd-$objformat |
15210 |
case $version_type in |
16552 |
case $version_type in |
Lines 15223-15229
Link Here
|
15223 |
freebsd2*) |
16565 |
freebsd2*) |
15224 |
shlibpath_overrides_runpath=yes |
16566 |
shlibpath_overrides_runpath=yes |
15225 |
;; |
16567 |
;; |
15226 |
freebsd3.01* | freebsdelf3.01*) |
16568 |
freebsd3.[01]* | freebsdelf3.[01]*) |
15227 |
shlibpath_overrides_runpath=yes |
16569 |
shlibpath_overrides_runpath=yes |
15228 |
hardcode_into_libs=yes |
16570 |
hardcode_into_libs=yes |
15229 |
;; |
16571 |
;; |
Lines 15252-15258
Link Here
|
15252 |
need_version=no |
16594 |
need_version=no |
15253 |
case "$host_cpu" in |
16595 |
case "$host_cpu" in |
15254 |
ia64*) |
16596 |
ia64*) |
15255 |
shrext='.so' |
16597 |
shrext_cmds='.so' |
15256 |
hardcode_into_libs=yes |
16598 |
hardcode_into_libs=yes |
15257 |
dynamic_linker="$host_os dld.so" |
16599 |
dynamic_linker="$host_os dld.so" |
15258 |
shlibpath_var=LD_LIBRARY_PATH |
16600 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 15267-15273
Link Here
|
15267 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
16609 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
15268 |
;; |
16610 |
;; |
15269 |
hppa*64*) |
16611 |
hppa*64*) |
15270 |
shrext='.sl' |
16612 |
shrext_cmds='.sl' |
15271 |
hardcode_into_libs=yes |
16613 |
hardcode_into_libs=yes |
15272 |
dynamic_linker="$host_os dld.sl" |
16614 |
dynamic_linker="$host_os dld.sl" |
15273 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
16615 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
Lines 15278-15284
Link Here
|
15278 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
16620 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
15279 |
;; |
16621 |
;; |
15280 |
*) |
16622 |
*) |
15281 |
shrext='.sl' |
16623 |
shrext_cmds='.sl' |
15282 |
dynamic_linker="$host_os dld.sl" |
16624 |
dynamic_linker="$host_os dld.sl" |
15283 |
shlibpath_var=SHLIB_PATH |
16625 |
shlibpath_var=SHLIB_PATH |
15284 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
16626 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
Lines 15347-15356
Link Here
|
15347 |
# before this can be enabled. |
16689 |
# before this can be enabled. |
15348 |
hardcode_into_libs=yes |
16690 |
hardcode_into_libs=yes |
15349 |
|
16691 |
|
15350 |
case $LD in # libtool.m4 will add one of these switches to LD |
16692 |
# Append ld.so.conf contents to the search path |
15351 |
*"-m elf_x86_64"*|*"-m elf64ppc"*|*"-m elf64_s390"*|*"-m elf64_sparc"*) |
16693 |
if test -f /etc/ld.so.conf; then |
15352 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64" |
16694 |
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' ' '` |
15353 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64" |
16695 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
|
16696 |
fi |
16697 |
|
16698 |
case $host_cpu:$lt_cv_cc_64bit_output in |
16699 |
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
16700 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
16701 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
15354 |
;; |
16702 |
;; |
15355 |
esac |
16703 |
esac |
15356 |
|
16704 |
|
Lines 15361-15366
Link Here
|
15361 |
# people can always --disable-shared, the test was removed, and we |
16709 |
# people can always --disable-shared, the test was removed, and we |
15362 |
# assume the GNU/Linux dynamic linker is in use. |
16710 |
# assume the GNU/Linux dynamic linker is in use. |
15363 |
dynamic_linker='GNU/Linux ld.so' |
16711 |
dynamic_linker='GNU/Linux ld.so' |
|
|
16712 |
|
16713 |
# Find out which ABI we are using (multilib Linux x86_64 hack). |
16714 |
libsuff= |
16715 |
case "$host_cpu" in |
16716 |
x86_64*) |
16717 |
echo '#line 16717 "configure"' > conftest.$ac_ext |
16718 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16719 |
(eval $ac_compile) 2>&5 |
16720 |
ac_status=$? |
16721 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16722 |
(exit $ac_status); }; then |
16723 |
case `/usr/bin/file conftest.$ac_objext` in |
16724 |
*64-bit*) |
16725 |
libsuff=64 |
16726 |
;; |
16727 |
esac |
16728 |
fi |
16729 |
rm -rf conftest* |
16730 |
;; |
16731 |
*) |
16732 |
;; |
16733 |
esac |
16734 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
16735 |
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
16736 |
;; |
16737 |
|
16738 |
knetbsd*-gnu) |
16739 |
version_type=linux |
16740 |
need_lib_prefix=no |
16741 |
need_version=no |
16742 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
16743 |
soname_spec='${libname}${release}${shared_ext}$major' |
16744 |
shlibpath_var=LD_LIBRARY_PATH |
16745 |
shlibpath_overrides_runpath=no |
16746 |
hardcode_into_libs=yes |
16747 |
dynamic_linker='GNU ld.so' |
15364 |
;; |
16748 |
;; |
15365 |
|
16749 |
|
15366 |
netbsd*) |
16750 |
netbsd*) |
Lines 15372-15378
Link Here
|
15372 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
16756 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
15373 |
dynamic_linker='NetBSD (a.out) ld.so' |
16757 |
dynamic_linker='NetBSD (a.out) ld.so' |
15374 |
else |
16758 |
else |
15375 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
16759 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
15376 |
soname_spec='${libname}${release}${shared_ext}$major' |
16760 |
soname_spec='${libname}${release}${shared_ext}$major' |
15377 |
dynamic_linker='NetBSD ld.elf_so' |
16761 |
dynamic_linker='NetBSD ld.elf_so' |
15378 |
fi |
16762 |
fi |
Lines 15388-15394
Link Here
|
15388 |
shlibpath_overrides_runpath=yes |
16772 |
shlibpath_overrides_runpath=yes |
15389 |
;; |
16773 |
;; |
15390 |
|
16774 |
|
15391 |
nto-qnx) |
16775 |
nto-qnx*) |
15392 |
version_type=linux |
16776 |
version_type=linux |
15393 |
need_lib_prefix=no |
16777 |
need_lib_prefix=no |
15394 |
need_version=no |
16778 |
need_version=no |
Lines 15401-15407
Link Here
|
15401 |
openbsd*) |
16785 |
openbsd*) |
15402 |
version_type=sunos |
16786 |
version_type=sunos |
15403 |
need_lib_prefix=no |
16787 |
need_lib_prefix=no |
15404 |
need_version=no |
16788 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
16789 |
case $host_os in |
16790 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
16791 |
*) need_version=no ;; |
16792 |
esac |
15405 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
16793 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
15406 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
16794 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
15407 |
shlibpath_var=LD_LIBRARY_PATH |
16795 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 15421-15427
Link Here
|
15421 |
|
16809 |
|
15422 |
os2*) |
16810 |
os2*) |
15423 |
libname_spec='$name' |
16811 |
libname_spec='$name' |
15424 |
shrext=".dll" |
16812 |
shrext_cmds=".dll" |
15425 |
need_lib_prefix=no |
16813 |
need_lib_prefix=no |
15426 |
library_names_spec='$libname${shared_ext} $libname.a' |
16814 |
library_names_spec='$libname${shared_ext} $libname.a' |
15427 |
dynamic_linker='OS/2 ld.exe' |
16815 |
dynamic_linker='OS/2 ld.exe' |
Lines 15504-15523
Link Here
|
15504 |
fi |
16892 |
fi |
15505 |
;; |
16893 |
;; |
15506 |
|
16894 |
|
15507 |
uts4*) |
16895 |
uts4*) |
15508 |
version_type=linux |
16896 |
version_type=linux |
15509 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16897 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15510 |
soname_spec='${libname}${release}${shared_ext}$major' |
16898 |
soname_spec='${libname}${release}${shared_ext}$major' |
15511 |
shlibpath_var=LD_LIBRARY_PATH |
16899 |
shlibpath_var=LD_LIBRARY_PATH |
15512 |
;; |
16900 |
;; |
|
|
16901 |
|
16902 |
*) |
16903 |
dynamic_linker=no |
16904 |
;; |
16905 |
esac |
16906 |
echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
16907 |
echo "${ECHO_T}$dynamic_linker" >&6 |
16908 |
test "$dynamic_linker" = no && can_build_shared=no |
16909 |
|
16910 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
16911 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
16912 |
hardcode_action_F77= |
16913 |
if test -n "$hardcode_libdir_flag_spec_F77" || \ |
16914 |
test -n "$runpath_var_F77" || \ |
16915 |
test "X$hardcode_automatic_F77" = "Xyes" ; then |
16916 |
|
16917 |
# We can hardcode non-existant directories. |
16918 |
if test "$hardcode_direct_F77" != no && |
16919 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
16920 |
# have to relink, otherwise we might link with an installed library |
16921 |
# when we should be linking with a yet-to-be-installed one |
16922 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && |
16923 |
test "$hardcode_minus_L_F77" != no; then |
16924 |
# Linking always hardcodes the temporary library directory. |
16925 |
hardcode_action_F77=relink |
16926 |
else |
16927 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
16928 |
hardcode_action_F77=immediate |
16929 |
fi |
16930 |
else |
16931 |
# We cannot hardcode anything, or else we can only hardcode existing |
16932 |
# directories. |
16933 |
hardcode_action_F77=unsupported |
16934 |
fi |
16935 |
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
16936 |
echo "${ECHO_T}$hardcode_action_F77" >&6 |
16937 |
|
16938 |
if test "$hardcode_action_F77" = relink; then |
16939 |
# Fast installation is not supported |
16940 |
enable_fast_install=no |
16941 |
elif test "$shlibpath_overrides_runpath" = yes || |
16942 |
test "$enable_shared" = no; then |
16943 |
# Fast installation is not necessary |
16944 |
enable_fast_install=needless |
16945 |
fi |
16946 |
|
16947 |
striplib= |
16948 |
old_striplib= |
16949 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
16950 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
16951 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
16952 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
16953 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
16954 |
echo "$as_me:$LINENO: result: yes" >&5 |
16955 |
echo "${ECHO_T}yes" >&6 |
16956 |
else |
16957 |
# FIXME - insert some real tests, host_os isn't really good enough |
16958 |
case $host_os in |
16959 |
darwin*) |
16960 |
if test -n "$STRIP" ; then |
16961 |
striplib="$STRIP -x" |
16962 |
echo "$as_me:$LINENO: result: yes" >&5 |
16963 |
echo "${ECHO_T}yes" >&6 |
16964 |
else |
16965 |
echo "$as_me:$LINENO: result: no" >&5 |
16966 |
echo "${ECHO_T}no" >&6 |
16967 |
fi |
16968 |
;; |
16969 |
*) |
16970 |
echo "$as_me:$LINENO: result: no" >&5 |
16971 |
echo "${ECHO_T}no" >&6 |
16972 |
;; |
16973 |
esac |
16974 |
fi |
15513 |
|
16975 |
|
15514 |
*) |
|
|
15515 |
dynamic_linker=no |
15516 |
;; |
15517 |
esac |
15518 |
echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
15519 |
echo "${ECHO_T}$dynamic_linker" >&6 |
15520 |
test "$dynamic_linker" = no && can_build_shared=no |
15521 |
|
16976 |
|
15522 |
|
16977 |
|
15523 |
# The else clause should only fire when bootstrapping the |
16978 |
# The else clause should only fire when bootstrapping the |
Lines 15533-15539
Link Here
|
15533 |
# Now quote all the things that may contain metacharacters while being |
16988 |
# Now quote all the things that may contain metacharacters while being |
15534 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
16989 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
15535 |
# variables and quote the copies for generation of the libtool script. |
16990 |
# variables and quote the copies for generation of the libtool script. |
15536 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM SED SHELL \ |
16991 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
|
|
16992 |
SED SHELL STRIP \ |
15537 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
16993 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
15538 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
16994 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
15539 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
16995 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
Lines 15633-15638
Link Here
|
15633 |
# The host system. |
17089 |
# The host system. |
15634 |
host_alias=$host_alias |
17090 |
host_alias=$host_alias |
15635 |
host=$host |
17091 |
host=$host |
|
|
17092 |
host_os=$host_os |
17093 |
|
17094 |
# The build system. |
17095 |
build_alias=$build_alias |
17096 |
build=$build |
17097 |
build_os=$build_os |
15636 |
|
17098 |
|
15637 |
# An echo program that does not interpret backslashes. |
17099 |
# An echo program that does not interpret backslashes. |
15638 |
echo=$lt_echo |
17100 |
echo=$lt_echo |
Lines 15663-15669
Link Here
|
15663 |
NM=$lt_NM |
17125 |
NM=$lt_NM |
15664 |
|
17126 |
|
15665 |
# A symbol stripping program |
17127 |
# A symbol stripping program |
15666 |
STRIP=$STRIP |
17128 |
STRIP=$lt_STRIP |
15667 |
|
17129 |
|
15668 |
# Used to examine libraries when file_magic_cmd begins "file" |
17130 |
# Used to examine libraries when file_magic_cmd begins "file" |
15669 |
MAGIC_CMD=$MAGIC_CMD |
17131 |
MAGIC_CMD=$MAGIC_CMD |
Lines 15675-15681
Link Here
|
15675 |
OBJDUMP="$OBJDUMP" |
17137 |
OBJDUMP="$OBJDUMP" |
15676 |
|
17138 |
|
15677 |
# Used on cygwin: assembler. |
17139 |
# Used on cygwin: assembler. |
15678 |
AS=$lt_AS |
17140 |
AS="$AS" |
15679 |
|
17141 |
|
15680 |
# The name of the directory that contains temporary libtool files. |
17142 |
# The name of the directory that contains temporary libtool files. |
15681 |
objdir=$objdir |
17143 |
objdir=$objdir |
Lines 15694-15700
Link Here
|
15694 |
libext="$libext" |
17156 |
libext="$libext" |
15695 |
|
17157 |
|
15696 |
# Shared library suffix (normally ".so"). |
17158 |
# Shared library suffix (normally ".so"). |
15697 |
shrext='$shrext' |
17159 |
shrext_cmds='$shrext_cmds' |
15698 |
|
17160 |
|
15699 |
# Executable file suffix (normally ""). |
17161 |
# Executable file suffix (normally ""). |
15700 |
exeext="$exeext" |
17162 |
exeext="$exeext" |
Lines 15709-15715
Link Here
|
15709 |
# Does compiler simultaneously support -c and -o options? |
17171 |
# Does compiler simultaneously support -c and -o options? |
15710 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
17172 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
15711 |
|
17173 |
|
15712 |
# Must we lock files when doing compilation ? |
17174 |
# Must we lock files when doing compilation? |
15713 |
need_locks=$lt_need_locks |
17175 |
need_locks=$lt_need_locks |
15714 |
|
17176 |
|
15715 |
# Do we need the lib prefix for modules? |
17177 |
# Do we need the lib prefix for modules? |
Lines 15911-15917
Link Here
|
15911 |
# If there is no Makefile yet, we rely on a make rule to execute |
17373 |
# If there is no Makefile yet, we rely on a make rule to execute |
15912 |
# `config.status --recheck' to rerun these tests and create the |
17374 |
# `config.status --recheck' to rerun these tests and create the |
15913 |
# libtool script then. |
17375 |
# libtool script then. |
15914 |
test -f Makefile && make "$ltmain" |
17376 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
|
17377 |
if test -f "$ltmain_in"; then |
17378 |
test -f Makefile && make "$ltmain" |
17379 |
fi |
15915 |
fi |
17380 |
fi |
15916 |
|
17381 |
|
15917 |
|
17382 |
|
Lines 15944-15950
Link Here
|
15944 |
lt_simple_compile_test_code="class foo {}\n" |
17409 |
lt_simple_compile_test_code="class foo {}\n" |
15945 |
|
17410 |
|
15946 |
# Code to be used in simple link tests |
17411 |
# Code to be used in simple link tests |
15947 |
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' |
17412 |
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' |
15948 |
|
17413 |
|
15949 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
17414 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
15950 |
|
17415 |
|
Lines 15955-15976
Link Here
|
15955 |
compiler=$CC |
17420 |
compiler=$CC |
15956 |
|
17421 |
|
15957 |
|
17422 |
|
|
|
17423 |
# save warnings/boilerplate of simple test code |
17424 |
ac_outfile=conftest.$ac_objext |
17425 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
17426 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
17427 |
_lt_compiler_boilerplate=`cat conftest.err` |
17428 |
$rm conftest* |
17429 |
|
17430 |
ac_outfile=conftest.$ac_objext |
17431 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
17432 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
17433 |
_lt_linker_boilerplate=`cat conftest.err` |
17434 |
$rm conftest* |
17435 |
|
17436 |
|
15958 |
# Allow CC to be a program name with arguments. |
17437 |
# Allow CC to be a program name with arguments. |
15959 |
lt_save_CC="$CC" |
17438 |
lt_save_CC="$CC" |
15960 |
CC=${GCJ-"gcj"} |
17439 |
CC=${GCJ-"gcj"} |
15961 |
compiler=$CC |
17440 |
compiler=$CC |
15962 |
compiler_GCJ=$CC |
17441 |
compiler_GCJ=$CC |
|
|
17442 |
for cc_temp in $compiler""; do |
17443 |
case $cc_temp in |
17444 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
17445 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
17446 |
\-*) ;; |
17447 |
*) break;; |
17448 |
esac |
17449 |
done |
17450 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
17451 |
|
15963 |
|
17452 |
|
15964 |
# GCJ did not exist at the time GCC didn't implicitly link libc in. |
17453 |
# GCJ did not exist at the time GCC didn't implicitly link libc in. |
15965 |
archive_cmds_need_lc_GCJ=no |
17454 |
archive_cmds_need_lc_GCJ=no |
15966 |
|
17455 |
|
|
|
17456 |
old_archive_cmds_GCJ=$old_archive_cmds |
17457 |
|
15967 |
|
17458 |
|
15968 |
lt_prog_compiler_no_builtin_flag_GCJ= |
17459 |
lt_prog_compiler_no_builtin_flag_GCJ= |
15969 |
|
17460 |
|
15970 |
if test "$GCC" = yes; then |
17461 |
if test "$GCC" = yes; then |
15971 |
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
17462 |
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
15972 |
|
17463 |
|
15973 |
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
17464 |
|
|
|
17465 |
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
15974 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
17466 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
15975 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
17467 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
15976 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17468 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
Lines 15988-16002
Link Here
|
15988 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
17480 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15989 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17481 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15990 |
-e 's:$: $lt_compiler_flag:'` |
17482 |
-e 's:$: $lt_compiler_flag:'` |
15991 |
(eval echo "\"\$as_me:15991: $lt_compile\"" >&5) |
17483 |
(eval echo "\"\$as_me:17483: $lt_compile\"" >&5) |
15992 |
(eval "$lt_compile" 2>conftest.err) |
17484 |
(eval "$lt_compile" 2>conftest.err) |
15993 |
ac_status=$? |
17485 |
ac_status=$? |
15994 |
cat conftest.err >&5 |
17486 |
cat conftest.err >&5 |
15995 |
echo "$as_me:15995: \$? = $ac_status" >&5 |
17487 |
echo "$as_me:17487: \$? = $ac_status" >&5 |
15996 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
17488 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15997 |
# The compiler can only warn and ignore the option if not recognized |
17489 |
# The compiler can only warn and ignore the option if not recognized |
15998 |
# So say no if there are warnings |
17490 |
# So say no if there are warnings other than the usual output. |
15999 |
if test ! -s conftest.err; then |
17491 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
|
|
17492 |
$SED '/^$/d' conftest.err >conftest.er2 |
17493 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
16000 |
lt_cv_prog_compiler_rtti_exceptions=yes |
17494 |
lt_cv_prog_compiler_rtti_exceptions=yes |
16001 |
fi |
17495 |
fi |
16002 |
fi |
17496 |
fi |
Lines 16099-16104
Link Here
|
16099 |
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
17593 |
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
16100 |
fi |
17594 |
fi |
16101 |
;; |
17595 |
;; |
|
|
17596 |
darwin*) |
17597 |
# PIC is the default on this platform |
17598 |
# Common symbols not allowed in MH_DYLIB files |
17599 |
case $cc_basename in |
17600 |
xlc*) |
17601 |
lt_prog_compiler_pic_GCJ='-qnocommon' |
17602 |
lt_prog_compiler_wl_GCJ='-Wl,' |
17603 |
;; |
17604 |
esac |
17605 |
;; |
16102 |
|
17606 |
|
16103 |
mingw* | pw32* | os2*) |
17607 |
mingw* | pw32* | os2*) |
16104 |
# This hack is so that the source file can tell whether it is being |
17608 |
# This hack is so that the source file can tell whether it is being |
Lines 16134-16146
Link Here
|
16134 |
;; |
17638 |
;; |
16135 |
|
17639 |
|
16136 |
linux*) |
17640 |
linux*) |
16137 |
case $CC in |
17641 |
case $cc_basename in |
16138 |
icc|ecc) |
17642 |
icc* | ecc*) |
16139 |
lt_prog_compiler_wl_GCJ='-Wl,' |
17643 |
lt_prog_compiler_wl_GCJ='-Wl,' |
16140 |
lt_prog_compiler_pic_GCJ='-KPIC' |
17644 |
lt_prog_compiler_pic_GCJ='-KPIC' |
16141 |
lt_prog_compiler_static_GCJ='-static' |
17645 |
lt_prog_compiler_static_GCJ='-static' |
16142 |
;; |
17646 |
;; |
16143 |
ccc) |
17647 |
pgcc* | pgf77* | pgf90*) |
|
|
17648 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
17649 |
# which looks to be a dead project) |
17650 |
lt_prog_compiler_wl_GCJ='-Wl,' |
17651 |
lt_prog_compiler_pic_GCJ='-fpic' |
17652 |
lt_prog_compiler_static_GCJ='-static' |
17653 |
;; |
17654 |
ccc*) |
16144 |
lt_prog_compiler_wl_GCJ='-Wl,' |
17655 |
lt_prog_compiler_wl_GCJ='-Wl,' |
16145 |
# All Alpha code is PIC. |
17656 |
# All Alpha code is PIC. |
16146 |
lt_prog_compiler_static_GCJ='-non_shared' |
17657 |
lt_prog_compiler_static_GCJ='-non_shared' |
Lines 16160-16168
Link Here
|
16160 |
;; |
17671 |
;; |
16161 |
|
17672 |
|
16162 |
solaris*) |
17673 |
solaris*) |
16163 |
lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
16164 |
lt_prog_compiler_pic_GCJ='-KPIC' |
17674 |
lt_prog_compiler_pic_GCJ='-KPIC' |
16165 |
lt_prog_compiler_static_GCJ='-Bstatic' |
17675 |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
|
17676 |
case $cc_basename in |
17677 |
f77* | f90* | f95*) |
17678 |
lt_prog_compiler_wl_GCJ='-Qoption ld ';; |
17679 |
*) |
17680 |
lt_prog_compiler_wl_GCJ='-Wl,';; |
17681 |
esac |
16166 |
;; |
17682 |
;; |
16167 |
|
17683 |
|
16168 |
sunos4*) |
17684 |
sunos4*) |
Lines 16184-16189
Link Here
|
16184 |
fi |
17700 |
fi |
16185 |
;; |
17701 |
;; |
16186 |
|
17702 |
|
|
|
17703 |
unicos*) |
17704 |
lt_prog_compiler_wl_GCJ='-Wl,' |
17705 |
lt_prog_compiler_can_build_shared_GCJ=no |
17706 |
;; |
17707 |
|
16187 |
uts4*) |
17708 |
uts4*) |
16188 |
lt_prog_compiler_pic_GCJ='-pic' |
17709 |
lt_prog_compiler_pic_GCJ='-pic' |
16189 |
lt_prog_compiler_static_GCJ='-Bstatic' |
17710 |
lt_prog_compiler_static_GCJ='-Bstatic' |
Lines 16202-16208
Link Here
|
16202 |
# Check to make sure the PIC flag actually works. |
17723 |
# Check to make sure the PIC flag actually works. |
16203 |
# |
17724 |
# |
16204 |
if test -n "$lt_prog_compiler_pic_GCJ"; then |
17725 |
if test -n "$lt_prog_compiler_pic_GCJ"; then |
16205 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
17726 |
|
|
|
17727 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
16206 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 |
17728 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 |
16207 |
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
17729 |
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
16208 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17730 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
Lines 16220-16234
Link Here
|
16220 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
17742 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16221 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17743 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16222 |
-e 's:$: $lt_compiler_flag:'` |
17744 |
-e 's:$: $lt_compiler_flag:'` |
16223 |
(eval echo "\"\$as_me:16223: $lt_compile\"" >&5) |
17745 |
(eval echo "\"\$as_me:17745: $lt_compile\"" >&5) |
16224 |
(eval "$lt_compile" 2>conftest.err) |
17746 |
(eval "$lt_compile" 2>conftest.err) |
16225 |
ac_status=$? |
17747 |
ac_status=$? |
16226 |
cat conftest.err >&5 |
17748 |
cat conftest.err >&5 |
16227 |
echo "$as_me:16227: \$? = $ac_status" >&5 |
17749 |
echo "$as_me:17749: \$? = $ac_status" >&5 |
16228 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
17750 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16229 |
# The compiler can only warn and ignore the option if not recognized |
17751 |
# The compiler can only warn and ignore the option if not recognized |
16230 |
# So say no if there are warnings |
17752 |
# So say no if there are warnings other than the usual output. |
16231 |
if test ! -s conftest.err; then |
17753 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
|
|
17754 |
$SED '/^$/d' conftest.err >conftest.er2 |
17755 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
16232 |
lt_prog_compiler_pic_works_GCJ=yes |
17756 |
lt_prog_compiler_pic_works_GCJ=yes |
16233 |
fi |
17757 |
fi |
16234 |
fi |
17758 |
fi |
Lines 16271-16283
Link Here
|
16271 |
mkdir out |
17795 |
mkdir out |
16272 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
17796 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
16273 |
|
17797 |
|
16274 |
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
16275 |
# that will create temporary files in the current directory regardless of |
16276 |
# the output directory. Thus, making CWD read-only will cause this test |
16277 |
# to fail, enabling locking or at least warning the user not to do parallel |
16278 |
# builds. |
16279 |
chmod -w . |
16280 |
|
16281 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
17798 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
16282 |
# Insert the option either (1) after the last *FLAGS variable, or |
17799 |
# Insert the option either (1) after the last *FLAGS variable, or |
16283 |
# (2) before a word containing "conftest.", or (3) at the end. |
17800 |
# (2) before a word containing "conftest.", or (3) at the end. |
Lines 16287-16308
Link Here
|
16287 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
17804 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16288 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17805 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16289 |
-e 's:$: $lt_compiler_flag:'` |
17806 |
-e 's:$: $lt_compiler_flag:'` |
16290 |
(eval echo "\"\$as_me:16290: $lt_compile\"" >&5) |
17807 |
(eval echo "\"\$as_me:17807: $lt_compile\"" >&5) |
16291 |
(eval "$lt_compile" 2>out/conftest.err) |
17808 |
(eval "$lt_compile" 2>out/conftest.err) |
16292 |
ac_status=$? |
17809 |
ac_status=$? |
16293 |
cat out/conftest.err >&5 |
17810 |
cat out/conftest.err >&5 |
16294 |
echo "$as_me:16294: \$? = $ac_status" >&5 |
17811 |
echo "$as_me:17811: \$? = $ac_status" >&5 |
16295 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
17812 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16296 |
then |
17813 |
then |
16297 |
# The compiler can only warn and ignore the option if not recognized |
17814 |
# The compiler can only warn and ignore the option if not recognized |
16298 |
# So say no if there are warnings |
17815 |
# So say no if there are warnings |
16299 |
if test ! -s out/conftest.err; then |
17816 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
|
|
17817 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
17818 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
16300 |
lt_cv_prog_compiler_c_o_GCJ=yes |
17819 |
lt_cv_prog_compiler_c_o_GCJ=yes |
16301 |
fi |
17820 |
fi |
16302 |
fi |
17821 |
fi |
16303 |
chmod u+w . |
17822 |
chmod u+w . |
16304 |
$rm conftest* out/* |
17823 |
$rm conftest* |
16305 |
rmdir out |
17824 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
|
17825 |
# template instantiation |
17826 |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
17827 |
$rm out/* && rmdir out |
16306 |
cd .. |
17828 |
cd .. |
16307 |
rmdir conftest |
17829 |
rmdir conftest |
16308 |
$rm conftest* |
17830 |
$rm conftest* |
Lines 16373-16378
Link Here
|
16373 |
# rely on this symbol name, it's probably fine to never include it in |
17895 |
# rely on this symbol name, it's probably fine to never include it in |
16374 |
# preloaded symbol tables. |
17896 |
# preloaded symbol tables. |
16375 |
extract_expsyms_cmds= |
17897 |
extract_expsyms_cmds= |
|
|
17898 |
# Just being paranoid about ensuring that cc_basename is set. |
17899 |
for cc_temp in $compiler""; do |
17900 |
case $cc_temp in |
17901 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
17902 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
17903 |
\-*) ;; |
17904 |
*) break;; |
17905 |
esac |
17906 |
done |
17907 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
16376 |
|
17908 |
|
16377 |
case $host_os in |
17909 |
case $host_os in |
16378 |
cygwin* | mingw* | pw32*) |
17910 |
cygwin* | mingw* | pw32*) |
Lines 16393-16398
Link Here
|
16393 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
17925 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
16394 |
wlarc='${wl}' |
17926 |
wlarc='${wl}' |
16395 |
|
17927 |
|
|
|
17928 |
# Set some defaults for GNU ld with shared library support. These |
17929 |
# are reset later if shared libraries are not supported. Putting them |
17930 |
# here allows them to be overridden if necessary. |
17931 |
runpath_var=LD_RUN_PATH |
17932 |
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
17933 |
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
17934 |
# ancient GNU ld didn't support --whole-archive et. al. |
17935 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
17936 |
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
17937 |
else |
17938 |
whole_archive_flag_spec_GCJ= |
17939 |
fi |
17940 |
supports_anon_versioning=no |
17941 |
case `$LD -v 2>/dev/null` in |
17942 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
17943 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
17944 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
17945 |
*\ 2.11.*) ;; # other 2.11 versions |
17946 |
*) supports_anon_versioning=yes ;; |
17947 |
esac |
17948 |
|
16396 |
# See if GNU ld supports shared libraries. |
17949 |
# See if GNU ld supports shared libraries. |
16397 |
case $host_os in |
17950 |
case $host_os in |
16398 |
aix3* | aix4* | aix5*) |
17951 |
aix3* | aix4* | aix5*) |
Lines 16443-16449
Link Here
|
16443 |
allow_undefined_flag_GCJ=unsupported |
17996 |
allow_undefined_flag_GCJ=unsupported |
16444 |
always_export_symbols_GCJ=no |
17997 |
always_export_symbols_GCJ=no |
16445 |
enable_shared_with_static_runtimes_GCJ=yes |
17998 |
enable_shared_with_static_runtimes_GCJ=yes |
16446 |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
17999 |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
16447 |
|
18000 |
|
16448 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
18001 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
16449 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
18002 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
Lines 16457-16463
Link Here
|
16457 |
fi~ |
18010 |
fi~ |
16458 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
18011 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
16459 |
else |
18012 |
else |
16460 |
ld_shlibs=no |
18013 |
ld_shlibs_GCJ=no |
|
|
18014 |
fi |
18015 |
;; |
18016 |
|
18017 |
linux*) |
18018 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
18019 |
tmp_addflag= |
18020 |
case $cc_basename,$host_cpu in |
18021 |
pgcc*) # Portland Group C compiler |
18022 |
whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
18023 |
tmp_addflag=' $pic_flag' |
18024 |
;; |
18025 |
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
18026 |
whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
18027 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
18028 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
18029 |
tmp_addflag=' -i_dynamic' ;; |
18030 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
18031 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
18032 |
ifc* | ifort*) # Intel Fortran compiler |
18033 |
tmp_addflag=' -nofor_main' ;; |
18034 |
esac |
18035 |
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
18036 |
|
18037 |
if test $supports_anon_versioning = yes; then |
18038 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
18039 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
18040 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
18041 |
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
18042 |
fi |
18043 |
else |
18044 |
ld_shlibs_GCJ=no |
16461 |
fi |
18045 |
fi |
16462 |
;; |
18046 |
;; |
16463 |
|
18047 |
|
Lines 16509-16524
Link Here
|
16509 |
;; |
18093 |
;; |
16510 |
esac |
18094 |
esac |
16511 |
|
18095 |
|
16512 |
if test "$ld_shlibs_GCJ" = yes; then |
18096 |
if test "$ld_shlibs_GCJ" = no; then |
16513 |
runpath_var=LD_RUN_PATH |
18097 |
runpath_var= |
16514 |
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
18098 |
hardcode_libdir_flag_spec_GCJ= |
16515 |
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
18099 |
export_dynamic_flag_spec_GCJ= |
16516 |
# ancient GNU ld didn't support --whole-archive et. al. |
18100 |
whole_archive_flag_spec_GCJ= |
16517 |
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
16518 |
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
16519 |
else |
16520 |
whole_archive_flag_spec_GCJ= |
16521 |
fi |
16522 |
fi |
18101 |
fi |
16523 |
else |
18102 |
else |
16524 |
# PORTME fill in a description of your system's linker (not GNU ld) |
18103 |
# PORTME fill in a description of your system's linker (not GNU ld) |
Lines 16582-16588
Link Here
|
16582 |
link_all_deplibs_GCJ=yes |
18161 |
link_all_deplibs_GCJ=yes |
16583 |
|
18162 |
|
16584 |
if test "$GCC" = yes; then |
18163 |
if test "$GCC" = yes; then |
16585 |
case $host_os in aix4.012|aix4.012.*) |
18164 |
case $host_os in aix4.[012]|aix4.[012].*) |
16586 |
# We only want to do this on AIX 4.2 and lower, the check |
18165 |
# We only want to do this on AIX 4.2 and lower, the check |
16587 |
# below for broken collect2 doesn't work under 4.3+ |
18166 |
# below for broken collect2 doesn't work under 4.3+ |
16588 |
collect2name=`${CC} -print-prog-name=collect2` |
18167 |
collect2name=`${CC} -print-prog-name=collect2` |
Lines 16603-16608
Link Here
|
16603 |
fi |
18182 |
fi |
16604 |
esac |
18183 |
esac |
16605 |
shared_flag='-shared' |
18184 |
shared_flag='-shared' |
|
|
18185 |
if test "$aix_use_runtimelinking" = yes; then |
18186 |
shared_flag="$shared_flag "'${wl}-G' |
18187 |
fi |
16606 |
else |
18188 |
else |
16607 |
# not using gcc |
18189 |
# not using gcc |
16608 |
if test "$host_cpu" = ia64; then |
18190 |
if test "$host_cpu" = ia64; then |
Lines 16627-16633
Link Here
|
16627 |
allow_undefined_flag_GCJ='-berok' |
18209 |
allow_undefined_flag_GCJ='-berok' |
16628 |
# Determine the default libpath from the value encoded in an empty executable. |
18210 |
# Determine the default libpath from the value encoded in an empty executable. |
16629 |
cat >conftest.$ac_ext <<_ACEOF |
18211 |
cat >conftest.$ac_ext <<_ACEOF |
16630 |
#line $LINENO "configure" |
|
|
16631 |
/* confdefs.h. */ |
18212 |
/* confdefs.h. */ |
16632 |
_ACEOF |
18213 |
_ACEOF |
16633 |
cat confdefs.h >>conftest.$ac_ext |
18214 |
cat confdefs.h >>conftest.$ac_ext |
Lines 16644-16654
Link Here
|
16644 |
_ACEOF |
18225 |
_ACEOF |
16645 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18226 |
rm -f conftest.$ac_objext conftest$ac_exeext |
16646 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18227 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16647 |
(eval $ac_link) 2>&5 |
18228 |
(eval $ac_link) 2>conftest.er1 |
16648 |
ac_status=$? |
18229 |
ac_status=$? |
|
|
18230 |
grep -v '^ *+' conftest.er1 >conftest.err |
18231 |
rm -f conftest.er1 |
18232 |
cat conftest.err >&5 |
16649 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18233 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16650 |
(exit $ac_status); } && |
18234 |
(exit $ac_status); } && |
16651 |
{ ac_try='test -s conftest$ac_exeext' |
18235 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
18236 |
|| test ! -s conftest.err' |
18237 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18238 |
(eval $ac_try) 2>&5 |
18239 |
ac_status=$? |
18240 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18241 |
(exit $ac_status); }; } && |
18242 |
{ ac_try='test -s conftest$ac_exeext' |
16652 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18243 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16653 |
(eval $ac_try) 2>&5 |
18244 |
(eval $ac_try) 2>&5 |
16654 |
ac_status=$? |
18245 |
ac_status=$? |
Lines 16665-16671
Link Here
|
16665 |
sed 's/^/| /' conftest.$ac_ext >&5 |
18256 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16666 |
|
18257 |
|
16667 |
fi |
18258 |
fi |
16668 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18259 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
18260 |
conftest$ac_exeext conftest.$ac_ext |
16669 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
18261 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16670 |
|
18262 |
|
16671 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
18263 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 16678-16684
Link Here
|
16678 |
else |
18270 |
else |
16679 |
# Determine the default libpath from the value encoded in an empty executable. |
18271 |
# Determine the default libpath from the value encoded in an empty executable. |
16680 |
cat >conftest.$ac_ext <<_ACEOF |
18272 |
cat >conftest.$ac_ext <<_ACEOF |
16681 |
#line $LINENO "configure" |
|
|
16682 |
/* confdefs.h. */ |
18273 |
/* confdefs.h. */ |
16683 |
_ACEOF |
18274 |
_ACEOF |
16684 |
cat confdefs.h >>conftest.$ac_ext |
18275 |
cat confdefs.h >>conftest.$ac_ext |
Lines 16695-16705
Link Here
|
16695 |
_ACEOF |
18286 |
_ACEOF |
16696 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18287 |
rm -f conftest.$ac_objext conftest$ac_exeext |
16697 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18288 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16698 |
(eval $ac_link) 2>&5 |
18289 |
(eval $ac_link) 2>conftest.er1 |
16699 |
ac_status=$? |
18290 |
ac_status=$? |
|
|
18291 |
grep -v '^ *+' conftest.er1 >conftest.err |
18292 |
rm -f conftest.er1 |
18293 |
cat conftest.err >&5 |
16700 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18294 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16701 |
(exit $ac_status); } && |
18295 |
(exit $ac_status); } && |
16702 |
{ ac_try='test -s conftest$ac_exeext' |
18296 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
18297 |
|| test ! -s conftest.err' |
18298 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18299 |
(eval $ac_try) 2>&5 |
18300 |
ac_status=$? |
18301 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18302 |
(exit $ac_status); }; } && |
18303 |
{ ac_try='test -s conftest$ac_exeext' |
16703 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18304 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16704 |
(eval $ac_try) 2>&5 |
18305 |
(eval $ac_try) 2>&5 |
16705 |
ac_status=$? |
18306 |
ac_status=$? |
Lines 16716-16722
Link Here
|
16716 |
sed 's/^/| /' conftest.$ac_ext >&5 |
18317 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16717 |
|
18318 |
|
16718 |
fi |
18319 |
fi |
16719 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18320 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
18321 |
conftest$ac_exeext conftest.$ac_ext |
16720 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
18322 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16721 |
|
18323 |
|
16722 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
18324 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
Lines 16743-16749
Link Here
|
16743 |
ld_shlibs_GCJ=no |
18345 |
ld_shlibs_GCJ=no |
16744 |
;; |
18346 |
;; |
16745 |
|
18347 |
|
16746 |
bsdi4*) |
18348 |
bsdi[45]*) |
16747 |
export_dynamic_flag_spec_GCJ=-rdynamic |
18349 |
export_dynamic_flag_spec_GCJ=-rdynamic |
16748 |
;; |
18350 |
;; |
16749 |
|
18351 |
|
Lines 16757-16811
Link Here
|
16757 |
# Tell ltmain to make .lib files, not .a files. |
18359 |
# Tell ltmain to make .lib files, not .a files. |
16758 |
libext=lib |
18360 |
libext=lib |
16759 |
# Tell ltmain to make .dll files, not .so files. |
18361 |
# Tell ltmain to make .dll files, not .so files. |
16760 |
shrext=".dll" |
18362 |
shrext_cmds=".dll" |
16761 |
# FIXME: Setting linknames here is a bad hack. |
18363 |
# FIXME: Setting linknames here is a bad hack. |
16762 |
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
18364 |
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
16763 |
# The linker will automatically build a .lib file if we build a DLL. |
18365 |
# The linker will automatically build a .lib file if we build a DLL. |
16764 |
old_archive_From_new_cmds_GCJ='true' |
18366 |
old_archive_From_new_cmds_GCJ='true' |
16765 |
# FIXME: Should let the user specify the lib program. |
18367 |
# FIXME: Should let the user specify the lib program. |
16766 |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
18368 |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
16767 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
18369 |
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
16768 |
enable_shared_with_static_runtimes_GCJ=yes |
18370 |
enable_shared_with_static_runtimes_GCJ=yes |
16769 |
;; |
18371 |
;; |
16770 |
|
18372 |
|
16771 |
darwin* | rhapsody*) |
18373 |
darwin* | rhapsody*) |
16772 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
|
|
16773 |
archive_cmds_need_lc_GCJ=no |
16774 |
case "$host_os" in |
18374 |
case "$host_os" in |
16775 |
rhapsody* | darwin1.[012]) |
18375 |
rhapsody* | darwin1.[012]) |
16776 |
allow_undefined_flag_GCJ='-undefined suppress' |
18376 |
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' |
16777 |
;; |
18377 |
;; |
16778 |
*) # Darwin 1.3 on |
18378 |
*) # Darwin 1.3 on |
16779 |
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' |
18379 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
16780 |
;; |
18380 |
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
18381 |
else |
18382 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
18383 |
10.[012]) |
18384 |
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
18385 |
;; |
18386 |
10.*) |
18387 |
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' |
18388 |
;; |
18389 |
esac |
18390 |
fi |
18391 |
;; |
16781 |
esac |
18392 |
esac |
16782 |
# FIXME: Relying on posixy $() will cause problems for |
18393 |
archive_cmds_need_lc_GCJ=no |
16783 |
# cross-compilation, but unfortunately the echo tests do not |
|
|
16784 |
# yet detect zsh echo's removal of \ escapes. Also zsh mangles |
16785 |
# `"' quotes if we put them in here... so don't! |
16786 |
lt_int_apple_cc_single_mod=no |
16787 |
output_verbose_link_cmd='echo' |
16788 |
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
16789 |
lt_int_apple_cc_single_mod=yes |
16790 |
fi |
16791 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
16792 |
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
16793 |
else |
16794 |
archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
16795 |
fi |
16796 |
module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' |
16797 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
16798 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
16799 |
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
16800 |
else |
16801 |
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
16802 |
fi |
16803 |
module_expsym_cmds_GCJ='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}' |
16804 |
hardcode_direct_GCJ=no |
18394 |
hardcode_direct_GCJ=no |
16805 |
hardcode_automatic_GCJ=yes |
18395 |
hardcode_automatic_GCJ=yes |
16806 |
hardcode_shlibpath_var_GCJ=unsupported |
18396 |
hardcode_shlibpath_var_GCJ=unsupported |
16807 |
whole_archive_flag_spec_GCJ='-all_load $convenience' |
18397 |
whole_archive_flag_spec_GCJ='' |
16808 |
link_all_deplibs_GCJ=yes |
18398 |
link_all_deplibs_GCJ=yes |
|
|
18399 |
if test "$GCC" = yes ; then |
18400 |
output_verbose_link_cmd='echo' |
18401 |
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
18402 |
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
18403 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
18404 |
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
18405 |
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
18406 |
else |
18407 |
case $cc_basename in |
18408 |
xlc*) |
18409 |
output_verbose_link_cmd='echo' |
18410 |
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
18411 |
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
18412 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
18413 |
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
18414 |
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
18415 |
;; |
18416 |
*) |
18417 |
ld_shlibs_GCJ=no |
18418 |
;; |
18419 |
esac |
16809 |
fi |
18420 |
fi |
16810 |
;; |
18421 |
;; |
16811 |
|
18422 |
|
Lines 16839-16845
Link Here
|
16839 |
;; |
18450 |
;; |
16840 |
|
18451 |
|
16841 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
18452 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
16842 |
freebsd*) |
18453 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
16843 |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
18454 |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
16844 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
18455 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
16845 |
hardcode_direct_GCJ=yes |
18456 |
hardcode_direct_GCJ=yes |
Lines 16950-16955
Link Here
|
16950 |
hardcode_shlibpath_var_GCJ=no |
18561 |
hardcode_shlibpath_var_GCJ=no |
16951 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
18562 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
16952 |
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
18563 |
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
18564 |
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
16953 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
18565 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
16954 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
18566 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
16955 |
else |
18567 |
else |
Lines 16995-17001
Link Here
|
16995 |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
18607 |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
16996 |
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
18608 |
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
16997 |
archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
18609 |
archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
16998 |
$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' |
18610 |
$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' |
16999 |
|
18611 |
|
17000 |
# Both c and cxx compiler support -rpath directly |
18612 |
# Both c and cxx compiler support -rpath directly |
17001 |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
18613 |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
Lines 17014-17023
Link Here
|
17014 |
solaris*) |
18626 |
solaris*) |
17015 |
no_undefined_flag_GCJ=' -z text' |
18627 |
no_undefined_flag_GCJ=' -z text' |
17016 |
if test "$GCC" = yes; then |
18628 |
if test "$GCC" = yes; then |
|
|
18629 |
wlarc='${wl}' |
17017 |
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
18630 |
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
17018 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
18631 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
17019 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
18632 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
17020 |
else |
18633 |
else |
|
|
18634 |
wlarc='' |
17021 |
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
18635 |
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
17022 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
18636 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
17023 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
18637 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
Lines 17026-17033
Link Here
|
17026 |
hardcode_shlibpath_var_GCJ=no |
18640 |
hardcode_shlibpath_var_GCJ=no |
17027 |
case $host_os in |
18641 |
case $host_os in |
17028 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
18642 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
17029 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
18643 |
*) |
17030 |
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
18644 |
# The compiler driver will combine linker options so we |
|
|
18645 |
# cannot just pass the convience library names through |
18646 |
# without $wl, iff we do not link with $LD. |
18647 |
# Luckily, gcc supports the same syntax we need for Sun Studio. |
18648 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
18649 |
case $wlarc in |
18650 |
'') |
18651 |
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
18652 |
*) |
18653 |
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
18654 |
esac ;; |
17031 |
esac |
18655 |
esac |
17032 |
link_all_deplibs_GCJ=yes |
18656 |
link_all_deplibs_GCJ=yes |
17033 |
;; |
18657 |
;; |
Lines 17199-17276
Link Here
|
17199 |
;; |
18823 |
;; |
17200 |
esac |
18824 |
esac |
17201 |
|
18825 |
|
17202 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
|
17203 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
17204 |
hardcode_action_GCJ= |
17205 |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
17206 |
test -n "$runpath_var GCJ" || \ |
17207 |
test "X$hardcode_automatic_GCJ"="Xyes" ; then |
17208 |
|
17209 |
# We can hardcode non-existant directories. |
17210 |
if test "$hardcode_direct_GCJ" != no && |
17211 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
17212 |
# have to relink, otherwise we might link with an installed library |
17213 |
# when we should be linking with a yet-to-be-installed one |
17214 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && |
17215 |
test "$hardcode_minus_L_GCJ" != no; then |
17216 |
# Linking always hardcodes the temporary library directory. |
17217 |
hardcode_action_GCJ=relink |
17218 |
else |
17219 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
17220 |
hardcode_action_GCJ=immediate |
17221 |
fi |
17222 |
else |
17223 |
# We cannot hardcode anything, or else we can only hardcode existing |
17224 |
# directories. |
17225 |
hardcode_action_GCJ=unsupported |
17226 |
fi |
17227 |
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
17228 |
echo "${ECHO_T}$hardcode_action_GCJ" >&6 |
17229 |
|
17230 |
if test "$hardcode_action_GCJ" = relink; then |
17231 |
# Fast installation is not supported |
17232 |
enable_fast_install=no |
17233 |
elif test "$shlibpath_overrides_runpath" = yes || |
17234 |
test "$enable_shared" = no; then |
17235 |
# Fast installation is not necessary |
17236 |
enable_fast_install=needless |
17237 |
fi |
17238 |
|
17239 |
striplib= |
17240 |
old_striplib= |
17241 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
17242 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
17243 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
17244 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
17245 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
17246 |
echo "$as_me:$LINENO: result: yes" >&5 |
17247 |
echo "${ECHO_T}yes" >&6 |
17248 |
else |
17249 |
# FIXME - insert some real tests, host_os isn't really good enough |
17250 |
case $host_os in |
17251 |
darwin*) |
17252 |
if test -n "$STRIP" ; then |
17253 |
striplib="$STRIP -x" |
17254 |
echo "$as_me:$LINENO: result: yes" >&5 |
17255 |
echo "${ECHO_T}yes" >&6 |
17256 |
else |
17257 |
echo "$as_me:$LINENO: result: no" >&5 |
17258 |
echo "${ECHO_T}no" >&6 |
17259 |
fi |
17260 |
;; |
17261 |
*) |
17262 |
echo "$as_me:$LINENO: result: no" >&5 |
17263 |
echo "${ECHO_T}no" >&6 |
17264 |
;; |
17265 |
esac |
17266 |
fi |
17267 |
|
17268 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
18826 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
17269 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
18827 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
17270 |
library_names_spec= |
18828 |
library_names_spec= |
17271 |
libname_spec='lib$name' |
18829 |
libname_spec='lib$name' |
17272 |
soname_spec= |
18830 |
soname_spec= |
17273 |
shrext=".so" |
18831 |
shrext_cmds=".so" |
17274 |
postinstall_cmds= |
18832 |
postinstall_cmds= |
17275 |
postuninstall_cmds= |
18833 |
postuninstall_cmds= |
17276 |
finish_cmds= |
18834 |
finish_cmds= |
Lines 17358-17364
Link Here
|
17358 |
amigaos*) |
18916 |
amigaos*) |
17359 |
library_names_spec='$libname.ixlibrary $libname.a' |
18917 |
library_names_spec='$libname.ixlibrary $libname.a' |
17360 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
18918 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
17361 |
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' |
18919 |
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' |
17362 |
;; |
18920 |
;; |
17363 |
|
18921 |
|
17364 |
beos*) |
18922 |
beos*) |
Lines 17367-17373
Link Here
|
17367 |
shlibpath_var=LIBRARY_PATH |
18925 |
shlibpath_var=LIBRARY_PATH |
17368 |
;; |
18926 |
;; |
17369 |
|
18927 |
|
17370 |
bsdi4*) |
18928 |
bsdi[45]*) |
17371 |
version_type=linux |
18929 |
version_type=linux |
17372 |
need_version=no |
18930 |
need_version=no |
17373 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
18931 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Lines 17383-17389
Link Here
|
17383 |
|
18941 |
|
17384 |
cygwin* | mingw* | pw32*) |
18942 |
cygwin* | mingw* | pw32*) |
17385 |
version_type=windows |
18943 |
version_type=windows |
17386 |
shrext=".dll" |
18944 |
shrext_cmds=".dll" |
17387 |
need_version=no |
18945 |
need_version=no |
17388 |
need_lib_prefix=no |
18946 |
need_lib_prefix=no |
17389 |
|
18947 |
|
Lines 17405-17411
Link Here
|
17405 |
cygwin*) |
18963 |
cygwin*) |
17406 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
18964 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
17407 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
18965 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
17408 |
sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" |
18966 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
17409 |
;; |
18967 |
;; |
17410 |
mingw*) |
18968 |
mingw*) |
17411 |
# MinGW DLLs use traditional 'lib' prefix |
18969 |
# MinGW DLLs use traditional 'lib' prefix |
Lines 17425-17435
Link Here
|
17425 |
;; |
18983 |
;; |
17426 |
pw32*) |
18984 |
pw32*) |
17427 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
18985 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
17428 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
18986 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
17429 |
;; |
18987 |
;; |
17430 |
esac |
18988 |
esac |
17431 |
;; |
18989 |
;; |
17432 |
|
18990 |
|
|
|
18991 |
linux*) |
18992 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
18993 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
18994 |
supports_anon_versioning=no |
18995 |
case `$LD -v 2>/dev/null` in |
18996 |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
18997 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
18998 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
18999 |
*\ 2.11.*) ;; # other 2.11 versions |
19000 |
*) supports_anon_versioning=yes ;; |
19001 |
esac |
19002 |
if test $supports_anon_versioning = yes; then |
19003 |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
19004 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
19005 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
19006 |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
19007 |
else |
19008 |
$archive_expsym_cmds="$archive_cmds" |
19009 |
fi |
19010 |
else |
19011 |
ld_shlibs=no |
19012 |
fi |
19013 |
;; |
19014 |
|
17433 |
*) |
19015 |
*) |
17434 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
19016 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
17435 |
;; |
19017 |
;; |
Lines 17444-17460
Link Here
|
17444 |
version_type=darwin |
19026 |
version_type=darwin |
17445 |
need_lib_prefix=no |
19027 |
need_lib_prefix=no |
17446 |
need_version=no |
19028 |
need_version=no |
17447 |
# FIXME: Relying on posixy $() will cause problems for |
|
|
17448 |
# cross-compilation, but unfortunately the echo tests do not |
17449 |
# yet detect zsh echo's removal of \ escapes. |
17450 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
19029 |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
17451 |
soname_spec='${libname}${release}${major}$shared_ext' |
19030 |
soname_spec='${libname}${release}${major}$shared_ext' |
17452 |
shlibpath_overrides_runpath=yes |
19031 |
shlibpath_overrides_runpath=yes |
17453 |
shlibpath_var=DYLD_LIBRARY_PATH |
19032 |
shlibpath_var=DYLD_LIBRARY_PATH |
17454 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
19033 |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
17455 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
19034 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
17456 |
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then |
19035 |
if test "$GCC" = yes; then |
17457 |
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"` |
19036 |
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"` |
|
|
19037 |
else |
19038 |
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
17458 |
fi |
19039 |
fi |
17459 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
19040 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
17460 |
;; |
19041 |
;; |
Lines 17472-17478
Link Here
|
17472 |
dynamic_linker=no |
19053 |
dynamic_linker=no |
17473 |
;; |
19054 |
;; |
17474 |
|
19055 |
|
17475 |
freebsd*) |
19056 |
kfreebsd*-gnu) |
|
|
19057 |
version_type=linux |
19058 |
need_lib_prefix=no |
19059 |
need_version=no |
19060 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
19061 |
soname_spec='${libname}${release}${shared_ext}$major' |
19062 |
shlibpath_var=LD_LIBRARY_PATH |
19063 |
shlibpath_overrides_runpath=no |
19064 |
hardcode_into_libs=yes |
19065 |
dynamic_linker='GNU ld.so' |
19066 |
;; |
19067 |
|
19068 |
freebsd* | dragonfly*) |
19069 |
# DragonFly does not have aout. When/if they implement a new |
19070 |
# versioning mechanism, adjust this. |
17476 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
19071 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
17477 |
version_type=freebsd-$objformat |
19072 |
version_type=freebsd-$objformat |
17478 |
case $version_type in |
19073 |
case $version_type in |
Lines 17491-17497
Link Here
|
17491 |
freebsd2*) |
19086 |
freebsd2*) |
17492 |
shlibpath_overrides_runpath=yes |
19087 |
shlibpath_overrides_runpath=yes |
17493 |
;; |
19088 |
;; |
17494 |
freebsd3.01* | freebsdelf3.01*) |
19089 |
freebsd3.[01]* | freebsdelf3.[01]*) |
17495 |
shlibpath_overrides_runpath=yes |
19090 |
shlibpath_overrides_runpath=yes |
17496 |
hardcode_into_libs=yes |
19091 |
hardcode_into_libs=yes |
17497 |
;; |
19092 |
;; |
Lines 17520-17526
Link Here
|
17520 |
need_version=no |
19115 |
need_version=no |
17521 |
case "$host_cpu" in |
19116 |
case "$host_cpu" in |
17522 |
ia64*) |
19117 |
ia64*) |
17523 |
shrext='.so' |
19118 |
shrext_cmds='.so' |
17524 |
hardcode_into_libs=yes |
19119 |
hardcode_into_libs=yes |
17525 |
dynamic_linker="$host_os dld.so" |
19120 |
dynamic_linker="$host_os dld.so" |
17526 |
shlibpath_var=LD_LIBRARY_PATH |
19121 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 17535-17541
Link Here
|
17535 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
19130 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17536 |
;; |
19131 |
;; |
17537 |
hppa*64*) |
19132 |
hppa*64*) |
17538 |
shrext='.sl' |
19133 |
shrext_cmds='.sl' |
17539 |
hardcode_into_libs=yes |
19134 |
hardcode_into_libs=yes |
17540 |
dynamic_linker="$host_os dld.sl" |
19135 |
dynamic_linker="$host_os dld.sl" |
17541 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
19136 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
Lines 17546-17552
Link Here
|
17546 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
19141 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17547 |
;; |
19142 |
;; |
17548 |
*) |
19143 |
*) |
17549 |
shrext='.sl' |
19144 |
shrext_cmds='.sl' |
17550 |
dynamic_linker="$host_os dld.sl" |
19145 |
dynamic_linker="$host_os dld.sl" |
17551 |
shlibpath_var=SHLIB_PATH |
19146 |
shlibpath_var=SHLIB_PATH |
17552 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
19147 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
Lines 17610-17634
Link Here
|
17610 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
19205 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
17611 |
shlibpath_var=LD_LIBRARY_PATH |
19206 |
shlibpath_var=LD_LIBRARY_PATH |
17612 |
shlibpath_overrides_runpath=no |
19207 |
shlibpath_overrides_runpath=no |
17613 |
# This implies no fast_install, which is unacceptable. |
19208 |
# This implies no fast_install, which is unacceptable. |
17614 |
# Some rework will be needed to allow for fast_install |
19209 |
# Some rework will be needed to allow for fast_install |
17615 |
# before this can be enabled. |
19210 |
# before this can be enabled. |
|
|
19211 |
hardcode_into_libs=yes |
19212 |
|
19213 |
# Append ld.so.conf contents to the search path |
19214 |
if test -f /etc/ld.so.conf; then |
19215 |
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' ' '` |
19216 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
19217 |
fi |
19218 |
|
19219 |
case $host_cpu:$lt_cv_cc_64bit_output in |
19220 |
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
19221 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
19222 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
19223 |
;; |
19224 |
esac |
19225 |
|
19226 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
19227 |
# powerpc, because MkLinux only supported shared libraries with the |
19228 |
# GNU dynamic linker. Since this was broken with cross compilers, |
19229 |
# most powerpc-linux boxes support dynamic linking these days and |
19230 |
# people can always --disable-shared, the test was removed, and we |
19231 |
# assume the GNU/Linux dynamic linker is in use. |
19232 |
dynamic_linker='GNU/Linux ld.so' |
19233 |
|
19234 |
# Find out which ABI we are using (multilib Linux x86_64 hack). |
19235 |
libsuff= |
19236 |
case "$host_cpu" in |
19237 |
x86_64*) |
19238 |
echo '#line 19238 "configure"' > conftest.$ac_ext |
19239 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19240 |
(eval $ac_compile) 2>&5 |
19241 |
ac_status=$? |
19242 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19243 |
(exit $ac_status); }; then |
19244 |
case `/usr/bin/file conftest.$ac_objext` in |
19245 |
*64-bit*) |
19246 |
libsuff=64 |
19247 |
;; |
19248 |
esac |
19249 |
fi |
19250 |
rm -rf conftest* |
19251 |
;; |
19252 |
*) |
19253 |
;; |
19254 |
esac |
19255 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
19256 |
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
19257 |
;; |
19258 |
|
19259 |
knetbsd*-gnu) |
19260 |
version_type=linux |
19261 |
need_lib_prefix=no |
19262 |
need_version=no |
19263 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
19264 |
soname_spec='${libname}${release}${shared_ext}$major' |
19265 |
shlibpath_var=LD_LIBRARY_PATH |
19266 |
shlibpath_overrides_runpath=no |
17616 |
hardcode_into_libs=yes |
19267 |
hardcode_into_libs=yes |
17617 |
|
19268 |
dynamic_linker='GNU ld.so' |
17618 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
|
17619 |
*"-m elf_x86_64"*|*"-m elf64ppc"*|*"-m elf64_s390"*|*"-m elf64_sparc"*) |
17620 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64" |
17621 |
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64" |
17622 |
;; |
17623 |
esac |
17624 |
|
17625 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
17626 |
# powerpc, because MkLinux only supported shared libraries with the |
17627 |
# GNU dynamic linker. Since this was broken with cross compilers, |
17628 |
# most powerpc-linux boxes support dynamic linking these days and |
17629 |
# people can always --disable-shared, the test was removed, and we |
17630 |
# assume the GNU/Linux dynamic linker is in use. |
17631 |
dynamic_linker='GNU/Linux ld.so' |
17632 |
;; |
19269 |
;; |
17633 |
|
19270 |
|
17634 |
netbsd*) |
19271 |
netbsd*) |
Lines 17640-17646
Link Here
|
17640 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
19277 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17641 |
dynamic_linker='NetBSD (a.out) ld.so' |
19278 |
dynamic_linker='NetBSD (a.out) ld.so' |
17642 |
else |
19279 |
else |
17643 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
19280 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
17644 |
soname_spec='${libname}${release}${shared_ext}$major' |
19281 |
soname_spec='${libname}${release}${shared_ext}$major' |
17645 |
dynamic_linker='NetBSD ld.elf_so' |
19282 |
dynamic_linker='NetBSD ld.elf_so' |
17646 |
fi |
19283 |
fi |
Lines 17656-17662
Link Here
|
17656 |
shlibpath_overrides_runpath=yes |
19293 |
shlibpath_overrides_runpath=yes |
17657 |
;; |
19294 |
;; |
17658 |
|
19295 |
|
17659 |
nto-qnx) |
19296 |
nto-qnx*) |
17660 |
version_type=linux |
19297 |
version_type=linux |
17661 |
need_lib_prefix=no |
19298 |
need_lib_prefix=no |
17662 |
need_version=no |
19299 |
need_version=no |
Lines 17669-17675
Link Here
|
17669 |
openbsd*) |
19306 |
openbsd*) |
17670 |
version_type=sunos |
19307 |
version_type=sunos |
17671 |
need_lib_prefix=no |
19308 |
need_lib_prefix=no |
17672 |
need_version=no |
19309 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
19310 |
case $host_os in |
19311 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
19312 |
*) need_version=no ;; |
19313 |
esac |
17673 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
19314 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17674 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
19315 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17675 |
shlibpath_var=LD_LIBRARY_PATH |
19316 |
shlibpath_var=LD_LIBRARY_PATH |
Lines 17689-17695
Link Here
|
17689 |
|
19330 |
|
17690 |
os2*) |
19331 |
os2*) |
17691 |
libname_spec='$name' |
19332 |
libname_spec='$name' |
17692 |
shrext=".dll" |
19333 |
shrext_cmds=".dll" |
17693 |
need_lib_prefix=no |
19334 |
need_lib_prefix=no |
17694 |
library_names_spec='$libname${shared_ext} $libname.a' |
19335 |
library_names_spec='$libname${shared_ext} $libname.a' |
17695 |
dynamic_linker='OS/2 ld.exe' |
19336 |
dynamic_linker='OS/2 ld.exe' |
Lines 17787-17792
Link Here
|
17787 |
echo "${ECHO_T}$dynamic_linker" >&6 |
19428 |
echo "${ECHO_T}$dynamic_linker" >&6 |
17788 |
test "$dynamic_linker" = no && can_build_shared=no |
19429 |
test "$dynamic_linker" = no && can_build_shared=no |
17789 |
|
19430 |
|
|
|
19431 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
19432 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
19433 |
hardcode_action_GCJ= |
19434 |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
19435 |
test -n "$runpath_var_GCJ" || \ |
19436 |
test "X$hardcode_automatic_GCJ" = "Xyes" ; then |
19437 |
|
19438 |
# We can hardcode non-existant directories. |
19439 |
if test "$hardcode_direct_GCJ" != no && |
19440 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
19441 |
# have to relink, otherwise we might link with an installed library |
19442 |
# when we should be linking with a yet-to-be-installed one |
19443 |
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && |
19444 |
test "$hardcode_minus_L_GCJ" != no; then |
19445 |
# Linking always hardcodes the temporary library directory. |
19446 |
hardcode_action_GCJ=relink |
19447 |
else |
19448 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
19449 |
hardcode_action_GCJ=immediate |
19450 |
fi |
19451 |
else |
19452 |
# We cannot hardcode anything, or else we can only hardcode existing |
19453 |
# directories. |
19454 |
hardcode_action_GCJ=unsupported |
19455 |
fi |
19456 |
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
19457 |
echo "${ECHO_T}$hardcode_action_GCJ" >&6 |
19458 |
|
19459 |
if test "$hardcode_action_GCJ" = relink; then |
19460 |
# Fast installation is not supported |
19461 |
enable_fast_install=no |
19462 |
elif test "$shlibpath_overrides_runpath" = yes || |
19463 |
test "$enable_shared" = no; then |
19464 |
# Fast installation is not necessary |
19465 |
enable_fast_install=needless |
19466 |
fi |
19467 |
|
19468 |
striplib= |
19469 |
old_striplib= |
19470 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
19471 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
19472 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
19473 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
19474 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
19475 |
echo "$as_me:$LINENO: result: yes" >&5 |
19476 |
echo "${ECHO_T}yes" >&6 |
19477 |
else |
19478 |
# FIXME - insert some real tests, host_os isn't really good enough |
19479 |
case $host_os in |
19480 |
darwin*) |
19481 |
if test -n "$STRIP" ; then |
19482 |
striplib="$STRIP -x" |
19483 |
echo "$as_me:$LINENO: result: yes" >&5 |
19484 |
echo "${ECHO_T}yes" >&6 |
19485 |
else |
19486 |
echo "$as_me:$LINENO: result: no" >&5 |
19487 |
echo "${ECHO_T}no" >&6 |
19488 |
fi |
19489 |
;; |
19490 |
*) |
19491 |
echo "$as_me:$LINENO: result: no" >&5 |
19492 |
echo "${ECHO_T}no" >&6 |
19493 |
;; |
19494 |
esac |
19495 |
fi |
19496 |
|
17790 |
if test "x$enable_dlopen" != xyes; then |
19497 |
if test "x$enable_dlopen" != xyes; then |
17791 |
enable_dlopen=unknown |
19498 |
enable_dlopen=unknown |
17792 |
enable_dlopen_self=unknown |
19499 |
enable_dlopen_self=unknown |
Lines 17822-17828
Link Here
|
17822 |
ac_check_lib_save_LIBS=$LIBS |
19529 |
ac_check_lib_save_LIBS=$LIBS |
17823 |
LIBS="-ldl $LIBS" |
19530 |
LIBS="-ldl $LIBS" |
17824 |
cat >conftest.$ac_ext <<_ACEOF |
19531 |
cat >conftest.$ac_ext <<_ACEOF |
17825 |
#line $LINENO "configure" |
|
|
17826 |
/* confdefs.h. */ |
19532 |
/* confdefs.h. */ |
17827 |
_ACEOF |
19533 |
_ACEOF |
17828 |
cat confdefs.h >>conftest.$ac_ext |
19534 |
cat confdefs.h >>conftest.$ac_ext |
Lines 17846-17856
Link Here
|
17846 |
_ACEOF |
19552 |
_ACEOF |
17847 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19553 |
rm -f conftest.$ac_objext conftest$ac_exeext |
17848 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19554 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17849 |
(eval $ac_link) 2>&5 |
19555 |
(eval $ac_link) 2>conftest.er1 |
17850 |
ac_status=$? |
19556 |
ac_status=$? |
|
|
19557 |
grep -v '^ *+' conftest.er1 >conftest.err |
19558 |
rm -f conftest.er1 |
19559 |
cat conftest.err >&5 |
17851 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19560 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17852 |
(exit $ac_status); } && |
19561 |
(exit $ac_status); } && |
17853 |
{ ac_try='test -s conftest$ac_exeext' |
19562 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
19563 |
|| test ! -s conftest.err' |
19564 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19565 |
(eval $ac_try) 2>&5 |
19566 |
ac_status=$? |
19567 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19568 |
(exit $ac_status); }; } && |
19569 |
{ ac_try='test -s conftest$ac_exeext' |
17854 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19570 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17855 |
(eval $ac_try) 2>&5 |
19571 |
(eval $ac_try) 2>&5 |
17856 |
ac_status=$? |
19572 |
ac_status=$? |
Lines 17863-17869
Link Here
|
17863 |
|
19579 |
|
17864 |
ac_cv_lib_dl_dlopen=no |
19580 |
ac_cv_lib_dl_dlopen=no |
17865 |
fi |
19581 |
fi |
17866 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19582 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
19583 |
conftest$ac_exeext conftest.$ac_ext |
17867 |
LIBS=$ac_check_lib_save_LIBS |
19584 |
LIBS=$ac_check_lib_save_LIBS |
17868 |
fi |
19585 |
fi |
17869 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
19586 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
Lines 17887-17907
Link Here
|
17887 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
19604 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17888 |
else |
19605 |
else |
17889 |
cat >conftest.$ac_ext <<_ACEOF |
19606 |
cat >conftest.$ac_ext <<_ACEOF |
17890 |
#line $LINENO "configure" |
|
|
17891 |
/* confdefs.h. */ |
19607 |
/* confdefs.h. */ |
17892 |
_ACEOF |
19608 |
_ACEOF |
17893 |
cat confdefs.h >>conftest.$ac_ext |
19609 |
cat confdefs.h >>conftest.$ac_ext |
17894 |
cat >>conftest.$ac_ext <<_ACEOF |
19610 |
cat >>conftest.$ac_ext <<_ACEOF |
17895 |
/* end confdefs.h. */ |
19611 |
/* end confdefs.h. */ |
|
|
19612 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
19613 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
19614 |
#define shl_load innocuous_shl_load |
19615 |
|
17896 |
/* System header to define __stub macros and hopefully few prototypes, |
19616 |
/* System header to define __stub macros and hopefully few prototypes, |
17897 |
which can conflict with char shl_load (); below. |
19617 |
which can conflict with char shl_load (); below. |
17898 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
19618 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
17899 |
<limits.h> exists even on freestanding compilers. */ |
19619 |
<limits.h> exists even on freestanding compilers. */ |
|
|
19620 |
|
17900 |
#ifdef __STDC__ |
19621 |
#ifdef __STDC__ |
17901 |
# include <limits.h> |
19622 |
# include <limits.h> |
17902 |
#else |
19623 |
#else |
17903 |
# include <assert.h> |
19624 |
# include <assert.h> |
17904 |
#endif |
19625 |
#endif |
|
|
19626 |
|
19627 |
#undef shl_load |
19628 |
|
17905 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19629 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17906 |
#ifdef __cplusplus |
19630 |
#ifdef __cplusplus |
17907 |
extern "C" |
19631 |
extern "C" |
Lines 17932-17942
Link Here
|
17932 |
_ACEOF |
19656 |
_ACEOF |
17933 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19657 |
rm -f conftest.$ac_objext conftest$ac_exeext |
17934 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19658 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17935 |
(eval $ac_link) 2>&5 |
19659 |
(eval $ac_link) 2>conftest.er1 |
17936 |
ac_status=$? |
19660 |
ac_status=$? |
|
|
19661 |
grep -v '^ *+' conftest.er1 >conftest.err |
19662 |
rm -f conftest.er1 |
19663 |
cat conftest.err >&5 |
17937 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19664 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17938 |
(exit $ac_status); } && |
19665 |
(exit $ac_status); } && |
17939 |
{ ac_try='test -s conftest$ac_exeext' |
19666 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
19667 |
|| test ! -s conftest.err' |
19668 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19669 |
(eval $ac_try) 2>&5 |
19670 |
ac_status=$? |
19671 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19672 |
(exit $ac_status); }; } && |
19673 |
{ ac_try='test -s conftest$ac_exeext' |
17940 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19674 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17941 |
(eval $ac_try) 2>&5 |
19675 |
(eval $ac_try) 2>&5 |
17942 |
ac_status=$? |
19676 |
ac_status=$? |
Lines 17949-17955
Link Here
|
17949 |
|
19683 |
|
17950 |
ac_cv_func_shl_load=no |
19684 |
ac_cv_func_shl_load=no |
17951 |
fi |
19685 |
fi |
17952 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19686 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
19687 |
conftest$ac_exeext conftest.$ac_ext |
17953 |
fi |
19688 |
fi |
17954 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
19689 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
17955 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
19690 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
Lines 17964-17970
Link Here
|
17964 |
ac_check_lib_save_LIBS=$LIBS |
19699 |
ac_check_lib_save_LIBS=$LIBS |
17965 |
LIBS="-ldld $LIBS" |
19700 |
LIBS="-ldld $LIBS" |
17966 |
cat >conftest.$ac_ext <<_ACEOF |
19701 |
cat >conftest.$ac_ext <<_ACEOF |
17967 |
#line $LINENO "configure" |
|
|
17968 |
/* confdefs.h. */ |
19702 |
/* confdefs.h. */ |
17969 |
_ACEOF |
19703 |
_ACEOF |
17970 |
cat confdefs.h >>conftest.$ac_ext |
19704 |
cat confdefs.h >>conftest.$ac_ext |
Lines 17988-17998
Link Here
|
17988 |
_ACEOF |
19722 |
_ACEOF |
17989 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19723 |
rm -f conftest.$ac_objext conftest$ac_exeext |
17990 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19724 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17991 |
(eval $ac_link) 2>&5 |
19725 |
(eval $ac_link) 2>conftest.er1 |
17992 |
ac_status=$? |
19726 |
ac_status=$? |
|
|
19727 |
grep -v '^ *+' conftest.er1 >conftest.err |
19728 |
rm -f conftest.er1 |
19729 |
cat conftest.err >&5 |
17993 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19730 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17994 |
(exit $ac_status); } && |
19731 |
(exit $ac_status); } && |
17995 |
{ ac_try='test -s conftest$ac_exeext' |
19732 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
19733 |
|| test ! -s conftest.err' |
19734 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19735 |
(eval $ac_try) 2>&5 |
19736 |
ac_status=$? |
19737 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19738 |
(exit $ac_status); }; } && |
19739 |
{ ac_try='test -s conftest$ac_exeext' |
17996 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19740 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17997 |
(eval $ac_try) 2>&5 |
19741 |
(eval $ac_try) 2>&5 |
17998 |
ac_status=$? |
19742 |
ac_status=$? |
Lines 18005-18011
Link Here
|
18005 |
|
19749 |
|
18006 |
ac_cv_lib_dld_shl_load=no |
19750 |
ac_cv_lib_dld_shl_load=no |
18007 |
fi |
19751 |
fi |
18008 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19752 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
19753 |
conftest$ac_exeext conftest.$ac_ext |
18009 |
LIBS=$ac_check_lib_save_LIBS |
19754 |
LIBS=$ac_check_lib_save_LIBS |
18010 |
fi |
19755 |
fi |
18011 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
19756 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
Lines 18019-18039
Link Here
|
18019 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
19764 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
18020 |
else |
19765 |
else |
18021 |
cat >conftest.$ac_ext <<_ACEOF |
19766 |
cat >conftest.$ac_ext <<_ACEOF |
18022 |
#line $LINENO "configure" |
|
|
18023 |
/* confdefs.h. */ |
19767 |
/* confdefs.h. */ |
18024 |
_ACEOF |
19768 |
_ACEOF |
18025 |
cat confdefs.h >>conftest.$ac_ext |
19769 |
cat confdefs.h >>conftest.$ac_ext |
18026 |
cat >>conftest.$ac_ext <<_ACEOF |
19770 |
cat >>conftest.$ac_ext <<_ACEOF |
18027 |
/* end confdefs.h. */ |
19771 |
/* end confdefs.h. */ |
|
|
19772 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
19773 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
19774 |
#define dlopen innocuous_dlopen |
19775 |
|
18028 |
/* System header to define __stub macros and hopefully few prototypes, |
19776 |
/* System header to define __stub macros and hopefully few prototypes, |
18029 |
which can conflict with char dlopen (); below. |
19777 |
which can conflict with char dlopen (); below. |
18030 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
19778 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
18031 |
<limits.h> exists even on freestanding compilers. */ |
19779 |
<limits.h> exists even on freestanding compilers. */ |
|
|
19780 |
|
18032 |
#ifdef __STDC__ |
19781 |
#ifdef __STDC__ |
18033 |
# include <limits.h> |
19782 |
# include <limits.h> |
18034 |
#else |
19783 |
#else |
18035 |
# include <assert.h> |
19784 |
# include <assert.h> |
18036 |
#endif |
19785 |
#endif |
|
|
19786 |
|
19787 |
#undef dlopen |
19788 |
|
18037 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19789 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18038 |
#ifdef __cplusplus |
19790 |
#ifdef __cplusplus |
18039 |
extern "C" |
19791 |
extern "C" |
Lines 18064-18074
Link Here
|
18064 |
_ACEOF |
19816 |
_ACEOF |
18065 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19817 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18066 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19818 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18067 |
(eval $ac_link) 2>&5 |
19819 |
(eval $ac_link) 2>conftest.er1 |
18068 |
ac_status=$? |
19820 |
ac_status=$? |
|
|
19821 |
grep -v '^ *+' conftest.er1 >conftest.err |
19822 |
rm -f conftest.er1 |
19823 |
cat conftest.err >&5 |
18069 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19824 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18070 |
(exit $ac_status); } && |
19825 |
(exit $ac_status); } && |
18071 |
{ ac_try='test -s conftest$ac_exeext' |
19826 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
19827 |
|| test ! -s conftest.err' |
19828 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19829 |
(eval $ac_try) 2>&5 |
19830 |
ac_status=$? |
19831 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19832 |
(exit $ac_status); }; } && |
19833 |
{ ac_try='test -s conftest$ac_exeext' |
18072 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19834 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18073 |
(eval $ac_try) 2>&5 |
19835 |
(eval $ac_try) 2>&5 |
18074 |
ac_status=$? |
19836 |
ac_status=$? |
Lines 18081-18087
Link Here
|
18081 |
|
19843 |
|
18082 |
ac_cv_func_dlopen=no |
19844 |
ac_cv_func_dlopen=no |
18083 |
fi |
19845 |
fi |
18084 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19846 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
19847 |
conftest$ac_exeext conftest.$ac_ext |
18085 |
fi |
19848 |
fi |
18086 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
19849 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
18087 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
19850 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
Lines 18096-18102
Link Here
|
18096 |
ac_check_lib_save_LIBS=$LIBS |
19859 |
ac_check_lib_save_LIBS=$LIBS |
18097 |
LIBS="-ldl $LIBS" |
19860 |
LIBS="-ldl $LIBS" |
18098 |
cat >conftest.$ac_ext <<_ACEOF |
19861 |
cat >conftest.$ac_ext <<_ACEOF |
18099 |
#line $LINENO "configure" |
|
|
18100 |
/* confdefs.h. */ |
19862 |
/* confdefs.h. */ |
18101 |
_ACEOF |
19863 |
_ACEOF |
18102 |
cat confdefs.h >>conftest.$ac_ext |
19864 |
cat confdefs.h >>conftest.$ac_ext |
Lines 18120-18130
Link Here
|
18120 |
_ACEOF |
19882 |
_ACEOF |
18121 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19883 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18122 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19884 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18123 |
(eval $ac_link) 2>&5 |
19885 |
(eval $ac_link) 2>conftest.er1 |
18124 |
ac_status=$? |
19886 |
ac_status=$? |
|
|
19887 |
grep -v '^ *+' conftest.er1 >conftest.err |
19888 |
rm -f conftest.er1 |
19889 |
cat conftest.err >&5 |
18125 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19890 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18126 |
(exit $ac_status); } && |
19891 |
(exit $ac_status); } && |
18127 |
{ ac_try='test -s conftest$ac_exeext' |
19892 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
19893 |
|| test ! -s conftest.err' |
19894 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19895 |
(eval $ac_try) 2>&5 |
19896 |
ac_status=$? |
19897 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19898 |
(exit $ac_status); }; } && |
19899 |
{ ac_try='test -s conftest$ac_exeext' |
18128 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19900 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18129 |
(eval $ac_try) 2>&5 |
19901 |
(eval $ac_try) 2>&5 |
18130 |
ac_status=$? |
19902 |
ac_status=$? |
Lines 18137-18143
Link Here
|
18137 |
|
19909 |
|
18138 |
ac_cv_lib_dl_dlopen=no |
19910 |
ac_cv_lib_dl_dlopen=no |
18139 |
fi |
19911 |
fi |
18140 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19912 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
19913 |
conftest$ac_exeext conftest.$ac_ext |
18141 |
LIBS=$ac_check_lib_save_LIBS |
19914 |
LIBS=$ac_check_lib_save_LIBS |
18142 |
fi |
19915 |
fi |
18143 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
19916 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
Lines 18153-18159
Link Here
|
18153 |
ac_check_lib_save_LIBS=$LIBS |
19926 |
ac_check_lib_save_LIBS=$LIBS |
18154 |
LIBS="-lsvld $LIBS" |
19927 |
LIBS="-lsvld $LIBS" |
18155 |
cat >conftest.$ac_ext <<_ACEOF |
19928 |
cat >conftest.$ac_ext <<_ACEOF |
18156 |
#line $LINENO "configure" |
|
|
18157 |
/* confdefs.h. */ |
19929 |
/* confdefs.h. */ |
18158 |
_ACEOF |
19930 |
_ACEOF |
18159 |
cat confdefs.h >>conftest.$ac_ext |
19931 |
cat confdefs.h >>conftest.$ac_ext |
Lines 18177-18187
Link Here
|
18177 |
_ACEOF |
19949 |
_ACEOF |
18178 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19950 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18179 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19951 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18180 |
(eval $ac_link) 2>&5 |
19952 |
(eval $ac_link) 2>conftest.er1 |
18181 |
ac_status=$? |
19953 |
ac_status=$? |
|
|
19954 |
grep -v '^ *+' conftest.er1 >conftest.err |
19955 |
rm -f conftest.er1 |
19956 |
cat conftest.err >&5 |
18182 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19957 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18183 |
(exit $ac_status); } && |
19958 |
(exit $ac_status); } && |
18184 |
{ ac_try='test -s conftest$ac_exeext' |
19959 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
19960 |
|| test ! -s conftest.err' |
19961 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19962 |
(eval $ac_try) 2>&5 |
19963 |
ac_status=$? |
19964 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19965 |
(exit $ac_status); }; } && |
19966 |
{ ac_try='test -s conftest$ac_exeext' |
18185 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19967 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18186 |
(eval $ac_try) 2>&5 |
19968 |
(eval $ac_try) 2>&5 |
18187 |
ac_status=$? |
19969 |
ac_status=$? |
Lines 18194-18200
Link Here
|
18194 |
|
19976 |
|
18195 |
ac_cv_lib_svld_dlopen=no |
19977 |
ac_cv_lib_svld_dlopen=no |
18196 |
fi |
19978 |
fi |
18197 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19979 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
19980 |
conftest$ac_exeext conftest.$ac_ext |
18198 |
LIBS=$ac_check_lib_save_LIBS |
19981 |
LIBS=$ac_check_lib_save_LIBS |
18199 |
fi |
19982 |
fi |
18200 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
19983 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
Lines 18210-18216
Link Here
|
18210 |
ac_check_lib_save_LIBS=$LIBS |
19993 |
ac_check_lib_save_LIBS=$LIBS |
18211 |
LIBS="-ldld $LIBS" |
19994 |
LIBS="-ldld $LIBS" |
18212 |
cat >conftest.$ac_ext <<_ACEOF |
19995 |
cat >conftest.$ac_ext <<_ACEOF |
18213 |
#line $LINENO "configure" |
|
|
18214 |
/* confdefs.h. */ |
19996 |
/* confdefs.h. */ |
18215 |
_ACEOF |
19997 |
_ACEOF |
18216 |
cat confdefs.h >>conftest.$ac_ext |
19998 |
cat confdefs.h >>conftest.$ac_ext |
Lines 18234-18244
Link Here
|
18234 |
_ACEOF |
20016 |
_ACEOF |
18235 |
rm -f conftest.$ac_objext conftest$ac_exeext |
20017 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18236 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20018 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18237 |
(eval $ac_link) 2>&5 |
20019 |
(eval $ac_link) 2>conftest.er1 |
18238 |
ac_status=$? |
20020 |
ac_status=$? |
|
|
20021 |
grep -v '^ *+' conftest.er1 >conftest.err |
20022 |
rm -f conftest.er1 |
20023 |
cat conftest.err >&5 |
18239 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20024 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18240 |
(exit $ac_status); } && |
20025 |
(exit $ac_status); } && |
18241 |
{ ac_try='test -s conftest$ac_exeext' |
20026 |
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
20027 |
|| test ! -s conftest.err' |
20028 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20029 |
(eval $ac_try) 2>&5 |
20030 |
ac_status=$? |
20031 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20032 |
(exit $ac_status); }; } && |
20033 |
{ ac_try='test -s conftest$ac_exeext' |
18242 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20034 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18243 |
(eval $ac_try) 2>&5 |
20035 |
(eval $ac_try) 2>&5 |
18244 |
ac_status=$? |
20036 |
ac_status=$? |
Lines 18251-18257
Link Here
|
18251 |
|
20043 |
|
18252 |
ac_cv_lib_dld_dld_link=no |
20044 |
ac_cv_lib_dld_dld_link=no |
18253 |
fi |
20045 |
fi |
18254 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
20046 |
rm -f conftest.err conftest.$ac_objext \ |
|
|
20047 |
conftest$ac_exeext conftest.$ac_ext |
18255 |
LIBS=$ac_check_lib_save_LIBS |
20048 |
LIBS=$ac_check_lib_save_LIBS |
18256 |
fi |
20049 |
fi |
18257 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
20050 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
Lines 18306-18312
Link Here
|
18306 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
20099 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18307 |
lt_status=$lt_dlunknown |
20100 |
lt_status=$lt_dlunknown |
18308 |
cat > conftest.$ac_ext <<EOF |
20101 |
cat > conftest.$ac_ext <<EOF |
18309 |
#line 18309 "configure" |
20102 |
#line 20102 "configure" |
18310 |
#include "confdefs.h" |
20103 |
#include "confdefs.h" |
18311 |
|
20104 |
|
18312 |
#if HAVE_DLFCN_H |
20105 |
#if HAVE_DLFCN_H |
Lines 18404-18410
Link Here
|
18404 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
20197 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18405 |
lt_status=$lt_dlunknown |
20198 |
lt_status=$lt_dlunknown |
18406 |
cat > conftest.$ac_ext <<EOF |
20199 |
cat > conftest.$ac_ext <<EOF |
18407 |
#line 18407 "configure" |
20200 |
#line 20200 "configure" |
18408 |
#include "confdefs.h" |
20201 |
#include "confdefs.h" |
18409 |
|
20202 |
|
18410 |
#if HAVE_DLFCN_H |
20203 |
#if HAVE_DLFCN_H |
Lines 18521-18527
Link Here
|
18521 |
# Now quote all the things that may contain metacharacters while being |
20314 |
# Now quote all the things that may contain metacharacters while being |
18522 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
20315 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
18523 |
# variables and quote the copies for generation of the libtool script. |
20316 |
# variables and quote the copies for generation of the libtool script. |
18524 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM SED SHELL \ |
20317 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
|
|
20318 |
SED SHELL STRIP \ |
18525 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
20319 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
18526 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
20320 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
18527 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
20321 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
Lines 18621-18626
Link Here
|
18621 |
# The host system. |
20415 |
# The host system. |
18622 |
host_alias=$host_alias |
20416 |
host_alias=$host_alias |
18623 |
host=$host |
20417 |
host=$host |
|
|
20418 |
host_os=$host_os |
20419 |
|
20420 |
# The build system. |
20421 |
build_alias=$build_alias |
20422 |
build=$build |
20423 |
build_os=$build_os |
18624 |
|
20424 |
|
18625 |
# An echo program that does not interpret backslashes. |
20425 |
# An echo program that does not interpret backslashes. |
18626 |
echo=$lt_echo |
20426 |
echo=$lt_echo |
Lines 18651-18657
Link Here
|
18651 |
NM=$lt_NM |
20451 |
NM=$lt_NM |
18652 |
|
20452 |
|
18653 |
# A symbol stripping program |
20453 |
# A symbol stripping program |
18654 |
STRIP=$STRIP |
20454 |
STRIP=$lt_STRIP |
18655 |
|
20455 |
|
18656 |
# Used to examine libraries when file_magic_cmd begins "file" |
20456 |
# Used to examine libraries when file_magic_cmd begins "file" |
18657 |
MAGIC_CMD=$MAGIC_CMD |
20457 |
MAGIC_CMD=$MAGIC_CMD |
Lines 18663-18669
Link Here
|
18663 |
OBJDUMP="$OBJDUMP" |
20463 |
OBJDUMP="$OBJDUMP" |
18664 |
|
20464 |
|
18665 |
# Used on cygwin: assembler. |
20465 |
# Used on cygwin: assembler. |
18666 |
AS=$lt_AS |
20466 |
AS="$AS" |
18667 |
|
20467 |
|
18668 |
# The name of the directory that contains temporary libtool files. |
20468 |
# The name of the directory that contains temporary libtool files. |
18669 |
objdir=$objdir |
20469 |
objdir=$objdir |
Lines 18682-18688
Link Here
|
18682 |
libext="$libext" |
20482 |
libext="$libext" |
18683 |
|
20483 |
|
18684 |
# Shared library suffix (normally ".so"). |
20484 |
# Shared library suffix (normally ".so"). |
18685 |
shrext='$shrext' |
20485 |
shrext_cmds='$shrext_cmds' |
18686 |
|
20486 |
|
18687 |
# Executable file suffix (normally ""). |
20487 |
# Executable file suffix (normally ""). |
18688 |
exeext="$exeext" |
20488 |
exeext="$exeext" |
Lines 18697-18703
Link Here
|
18697 |
# Does compiler simultaneously support -c and -o options? |
20497 |
# Does compiler simultaneously support -c and -o options? |
18698 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
20498 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
18699 |
|
20499 |
|
18700 |
# Must we lock files when doing compilation ? |
20500 |
# Must we lock files when doing compilation? |
18701 |
need_locks=$lt_need_locks |
20501 |
need_locks=$lt_need_locks |
18702 |
|
20502 |
|
18703 |
# Do we need the lib prefix for modules? |
20503 |
# Do we need the lib prefix for modules? |
Lines 18899-18905
Link Here
|
18899 |
# If there is no Makefile yet, we rely on a make rule to execute |
20699 |
# If there is no Makefile yet, we rely on a make rule to execute |
18900 |
# `config.status --recheck' to rerun these tests and create the |
20700 |
# `config.status --recheck' to rerun these tests and create the |
18901 |
# libtool script then. |
20701 |
# libtool script then. |
18902 |
test -f Makefile && make "$ltmain" |
20702 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
|
20703 |
if test -f "$ltmain_in"; then |
20704 |
test -f Makefile && make "$ltmain" |
20705 |
fi |
18903 |
fi |
20706 |
fi |
18904 |
|
20707 |
|
18905 |
|
20708 |
|
Lines 18942-18952
Link Here
|
18942 |
compiler=$CC |
20745 |
compiler=$CC |
18943 |
|
20746 |
|
18944 |
|
20747 |
|
|
|
20748 |
# save warnings/boilerplate of simple test code |
20749 |
ac_outfile=conftest.$ac_objext |
20750 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
20751 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
20752 |
_lt_compiler_boilerplate=`cat conftest.err` |
20753 |
$rm conftest* |
20754 |
|
20755 |
ac_outfile=conftest.$ac_objext |
20756 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
20757 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
20758 |
_lt_linker_boilerplate=`cat conftest.err` |
20759 |
$rm conftest* |
20760 |
|
20761 |
|
18945 |
# Allow CC to be a program name with arguments. |
20762 |
# Allow CC to be a program name with arguments. |
18946 |
lt_save_CC="$CC" |
20763 |
lt_save_CC="$CC" |
18947 |
CC=${RC-"windres"} |
20764 |
CC=${RC-"windres"} |
18948 |
compiler=$CC |
20765 |
compiler=$CC |
18949 |
compiler_RC=$CC |
20766 |
compiler_RC=$CC |
|
|
20767 |
for cc_temp in $compiler""; do |
20768 |
case $cc_temp in |
20769 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
20770 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
20771 |
\-*) ;; |
20772 |
*) break;; |
20773 |
esac |
20774 |
done |
20775 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
20776 |
|
18950 |
lt_cv_prog_compiler_c_o_RC=yes |
20777 |
lt_cv_prog_compiler_c_o_RC=yes |
18951 |
|
20778 |
|
18952 |
# The else clause should only fire when bootstrapping the |
20779 |
# The else clause should only fire when bootstrapping the |
Lines 18962-18968
Link Here
|
18962 |
# Now quote all the things that may contain metacharacters while being |
20789 |
# Now quote all the things that may contain metacharacters while being |
18963 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
20790 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
18964 |
# variables and quote the copies for generation of the libtool script. |
20791 |
# variables and quote the copies for generation of the libtool script. |
18965 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM SED SHELL \ |
20792 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
|
|
20793 |
SED SHELL STRIP \ |
18966 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
20794 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
18967 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
20795 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
18968 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
20796 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
Lines 19062-19067
Link Here
|
19062 |
# The host system. |
20890 |
# The host system. |
19063 |
host_alias=$host_alias |
20891 |
host_alias=$host_alias |
19064 |
host=$host |
20892 |
host=$host |
|
|
20893 |
host_os=$host_os |
20894 |
|
20895 |
# The build system. |
20896 |
build_alias=$build_alias |
20897 |
build=$build |
20898 |
build_os=$build_os |
19065 |
|
20899 |
|
19066 |
# An echo program that does not interpret backslashes. |
20900 |
# An echo program that does not interpret backslashes. |
19067 |
echo=$lt_echo |
20901 |
echo=$lt_echo |
Lines 19092-19098
Link Here
|
19092 |
NM=$lt_NM |
20926 |
NM=$lt_NM |
19093 |
|
20927 |
|
19094 |
# A symbol stripping program |
20928 |
# A symbol stripping program |
19095 |
STRIP=$STRIP |
20929 |
STRIP=$lt_STRIP |
19096 |
|
20930 |
|
19097 |
# Used to examine libraries when file_magic_cmd begins "file" |
20931 |
# Used to examine libraries when file_magic_cmd begins "file" |
19098 |
MAGIC_CMD=$MAGIC_CMD |
20932 |
MAGIC_CMD=$MAGIC_CMD |
Lines 19104-19110
Link Here
|
19104 |
OBJDUMP="$OBJDUMP" |
20938 |
OBJDUMP="$OBJDUMP" |
19105 |
|
20939 |
|
19106 |
# Used on cygwin: assembler. |
20940 |
# Used on cygwin: assembler. |
19107 |
AS=$lt_AS |
20941 |
AS="$AS" |
19108 |
|
20942 |
|
19109 |
# The name of the directory that contains temporary libtool files. |
20943 |
# The name of the directory that contains temporary libtool files. |
19110 |
objdir=$objdir |
20944 |
objdir=$objdir |
Lines 19123-19129
Link Here
|
19123 |
libext="$libext" |
20957 |
libext="$libext" |
19124 |
|
20958 |
|
19125 |
# Shared library suffix (normally ".so"). |
20959 |
# Shared library suffix (normally ".so"). |
19126 |
shrext='$shrext' |
20960 |
shrext_cmds='$shrext_cmds' |
19127 |
|
20961 |
|
19128 |
# Executable file suffix (normally ""). |
20962 |
# Executable file suffix (normally ""). |
19129 |
exeext="$exeext" |
20963 |
exeext="$exeext" |
Lines 19138-19144
Link Here
|
19138 |
# Does compiler simultaneously support -c and -o options? |
20972 |
# Does compiler simultaneously support -c and -o options? |
19139 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
20973 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
19140 |
|
20974 |
|
19141 |
# Must we lock files when doing compilation ? |
20975 |
# Must we lock files when doing compilation? |
19142 |
need_locks=$lt_need_locks |
20976 |
need_locks=$lt_need_locks |
19143 |
|
20977 |
|
19144 |
# Do we need the lib prefix for modules? |
20978 |
# Do we need the lib prefix for modules? |
Lines 19340-19346
Link Here
|
19340 |
# If there is no Makefile yet, we rely on a make rule to execute |
21174 |
# If there is no Makefile yet, we rely on a make rule to execute |
19341 |
# `config.status --recheck' to rerun these tests and create the |
21175 |
# `config.status --recheck' to rerun these tests and create the |
19342 |
# libtool script then. |
21176 |
# libtool script then. |
19343 |
test -f Makefile && make "$ltmain" |
21177 |
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
|
21178 |
if test -f "$ltmain_in"; then |
21179 |
test -f Makefile && make "$ltmain" |
21180 |
fi |
19344 |
fi |
21181 |
fi |
19345 |
|
21182 |
|
19346 |
|
21183 |
|
Lines 19418-19424
Link Here
|
19418 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
21255 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
19419 |
|
21256 |
|
19420 |
|
21257 |
|
19421 |
PKG_CHECK_MODULES(PKG, sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0) |
21258 |
|
|
|
21259 |
succeeded=no |
21260 |
|
21261 |
if test -z "$PKG_CONFIG"; then |
21262 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
21263 |
set dummy pkg-config; ac_word=$2 |
21264 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
21265 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
21266 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
21267 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
21268 |
else |
21269 |
case $PKG_CONFIG in |
21270 |
[\\/]* | ?:[\\/]*) |
21271 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
21272 |
;; |
21273 |
*) |
21274 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21275 |
for as_dir in $PATH |
21276 |
do |
21277 |
IFS=$as_save_IFS |
21278 |
test -z "$as_dir" && as_dir=. |
21279 |
for ac_exec_ext in '' $ac_executable_extensions; do |
21280 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
21281 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
21282 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21283 |
break 2 |
21284 |
fi |
21285 |
done |
21286 |
done |
21287 |
|
21288 |
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
21289 |
;; |
21290 |
esac |
21291 |
fi |
21292 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
21293 |
|
21294 |
if test -n "$PKG_CONFIG"; then |
21295 |
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
21296 |
echo "${ECHO_T}$PKG_CONFIG" >&6 |
21297 |
else |
21298 |
echo "$as_me:$LINENO: result: no" >&5 |
21299 |
echo "${ECHO_T}no" >&6 |
21300 |
fi |
21301 |
|
21302 |
fi |
21303 |
|
21304 |
if test "$PKG_CONFIG" = "no" ; then |
21305 |
echo "*** The pkg-config script could not be found. Make sure it is" |
21306 |
echo "*** in your path, or set the PKG_CONFIG environment variable" |
21307 |
echo "*** to the full path to pkg-config." |
21308 |
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
21309 |
else |
21310 |
PKG_CONFIG_MIN_VERSION=0.9.0 |
21311 |
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
21312 |
echo "$as_me:$LINENO: checking for sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0" >&5 |
21313 |
echo $ECHO_N "checking for sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0... $ECHO_C" >&6 |
21314 |
|
21315 |
if $PKG_CONFIG --exists "sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0" ; then |
21316 |
echo "$as_me:$LINENO: result: yes" >&5 |
21317 |
echo "${ECHO_T}yes" >&6 |
21318 |
succeeded=yes |
21319 |
|
21320 |
echo "$as_me:$LINENO: checking PKG_CFLAGS" >&5 |
21321 |
echo $ECHO_N "checking PKG_CFLAGS... $ECHO_C" >&6 |
21322 |
PKG_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0"` |
21323 |
echo "$as_me:$LINENO: result: $PKG_CFLAGS" >&5 |
21324 |
echo "${ECHO_T}$PKG_CFLAGS" >&6 |
21325 |
|
21326 |
echo "$as_me:$LINENO: checking PKG_LIBS" >&5 |
21327 |
echo $ECHO_N "checking PKG_LIBS... $ECHO_C" >&6 |
21328 |
PKG_LIBS=`$PKG_CONFIG --libs "sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0"` |
21329 |
echo "$as_me:$LINENO: result: $PKG_LIBS" >&5 |
21330 |
echo "${ECHO_T}$PKG_LIBS" >&6 |
21331 |
else |
21332 |
PKG_CFLAGS="" |
21333 |
PKG_LIBS="" |
21334 |
## If we have a custom action on failure, don't print errors, but |
21335 |
## do set a variable so people can do so. |
21336 |
PKG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0"` |
21337 |
echo $PKG_PKG_ERRORS |
21338 |
fi |
21339 |
|
21340 |
|
21341 |
|
21342 |
else |
21343 |
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
21344 |
echo "*** See http://www.freedesktop.org/software/pkgconfig" |
21345 |
fi |
21346 |
fi |
21347 |
|
21348 |
if test $succeeded = yes; then |
21349 |
: |
21350 |
else |
21351 |
{ { echo "$as_me:$LINENO: error: Library requirements (sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 |
21352 |
echo "$as_me: error: Library requirements (sigc++-2.0 >= 2.0 gtkmm-2.4 >= 2.6.0 gnome-vfsmm-2.6 >= 2.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} |
21353 |
{ (exit 1); exit 1; }; } |
21354 |
fi |
21355 |
|
19422 |
|
21356 |
|
19423 |
|
21357 |
|
19424 |
|
21358 |
|
Lines 19453-19465
Link Here
|
19453 |
# `set' does not quote correctly, so add quotes (double-quote |
21387 |
# `set' does not quote correctly, so add quotes (double-quote |
19454 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
21388 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
19455 |
sed -n \ |
21389 |
sed -n \ |
19456 |
"s/'/'\\\\''/g; |
21390 |
"s/'/'\\\\''/g; |
19457 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
21391 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
19458 |
;; |
21392 |
;; |
19459 |
*) |
21393 |
*) |
19460 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
21394 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
19461 |
sed -n \ |
21395 |
sed -n \ |
19462 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
21396 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
19463 |
;; |
21397 |
;; |
19464 |
esac; |
21398 |
esac; |
19465 |
} | |
21399 |
} | |
Lines 19489-19501
Link Here
|
19489 |
# trailing colons and then remove the whole line if VPATH becomes empty |
21423 |
# trailing colons and then remove the whole line if VPATH becomes empty |
19490 |
# (actually we leave an empty line to preserve line numbers). |
21424 |
# (actually we leave an empty line to preserve line numbers). |
19491 |
if test "x$srcdir" = x.; then |
21425 |
if test "x$srcdir" = x.; then |
19492 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
21426 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
19493 |
s/:*\$(srcdir):*/:/; |
21427 |
s/:*\$(srcdir):*/:/; |
19494 |
s/:*\${srcdir}:*/:/; |
21428 |
s/:*\${srcdir}:*/:/; |
19495 |
s/:*@srcdir@:*/:/; |
21429 |
s/:*@srcdir@:*/:/; |
19496 |
s/^\([^=]*=[ ]*\):*/\1/; |
21430 |
s/^\([^=]*=[ ]*\):*/\1/; |
19497 |
s/:*$//; |
21431 |
s/:*$//; |
19498 |
s/^[^=]*=[ ]*$//; |
21432 |
s/^[^=]*=[ ]*$//; |
19499 |
}' |
21433 |
}' |
19500 |
fi |
21434 |
fi |
19501 |
|
21435 |
|
Lines 19506-19512
Link Here
|
19506 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
21440 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
19507 |
# 1. Remove the extension, and $U if already installed. |
21441 |
# 1. Remove the extension, and $U if already installed. |
19508 |
ac_i=`echo "$ac_i" | |
21442 |
ac_i=`echo "$ac_i" | |
19509 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
21443 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
19510 |
# 2. Add them. |
21444 |
# 2. Add them. |
19511 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
21445 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
19512 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
21446 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
Lines 19578-19586
Link Here
|
19578 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21512 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
19579 |
set -o posix |
21513 |
set -o posix |
19580 |
fi |
21514 |
fi |
|
|
21515 |
DUALCASE=1; export DUALCASE # for MKS sh |
19581 |
|
21516 |
|
19582 |
# Support unset when possible. |
21517 |
# Support unset when possible. |
19583 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
21518 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
19584 |
as_unset=unset |
21519 |
as_unset=unset |
19585 |
else |
21520 |
else |
19586 |
as_unset=false |
21521 |
as_unset=false |
Lines 19599-19605
Link Here
|
19599 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
21534 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
19600 |
LC_TELEPHONE LC_TIME |
21535 |
LC_TELEPHONE LC_TIME |
19601 |
do |
21536 |
do |
19602 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
21537 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
19603 |
eval $as_var=C; export $as_var |
21538 |
eval $as_var=C; export $as_var |
19604 |
else |
21539 |
else |
19605 |
$as_unset $as_var |
21540 |
$as_unset $as_var |
Lines 19778-19793
Link Here
|
19778 |
if mkdir -p . 2>/dev/null; then |
21713 |
if mkdir -p . 2>/dev/null; then |
19779 |
as_mkdir_p=: |
21714 |
as_mkdir_p=: |
19780 |
else |
21715 |
else |
|
|
21716 |
test -d ./-p && rmdir ./-p |
19781 |
as_mkdir_p=false |
21717 |
as_mkdir_p=false |
19782 |
fi |
21718 |
fi |
19783 |
|
21719 |
|
19784 |
as_executable_p="test -f" |
21720 |
as_executable_p="test -f" |
19785 |
|
21721 |
|
19786 |
# Sed expression to map a string onto a valid CPP name. |
21722 |
# Sed expression to map a string onto a valid CPP name. |
19787 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
21723 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
19788 |
|
21724 |
|
19789 |
# Sed expression to map a string onto a valid variable name. |
21725 |
# Sed expression to map a string onto a valid variable name. |
19790 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
21726 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
19791 |
|
21727 |
|
19792 |
|
21728 |
|
19793 |
# IFS |
21729 |
# IFS |
Lines 19814-19820
Link Here
|
19814 |
cat >&5 <<_CSEOF |
21750 |
cat >&5 <<_CSEOF |
19815 |
|
21751 |
|
19816 |
This file was extended by $as_me, which was |
21752 |
This file was extended by $as_me, which was |
19817 |
generated by GNU Autoconf 2.57. Invocation command line was |
21753 |
generated by GNU Autoconf 2.59. Invocation command line was |
19818 |
|
21754 |
|
19819 |
CONFIG_FILES = $CONFIG_FILES |
21755 |
CONFIG_FILES = $CONFIG_FILES |
19820 |
CONFIG_HEADERS = $CONFIG_HEADERS |
21756 |
CONFIG_HEADERS = $CONFIG_HEADERS |
Lines 19858-19866
Link Here
|
19858 |
-d, --debug don't remove temporary files |
21794 |
-d, --debug don't remove temporary files |
19859 |
--recheck update $as_me by reconfiguring in the same conditions |
21795 |
--recheck update $as_me by reconfiguring in the same conditions |
19860 |
--file=FILE[:TEMPLATE] |
21796 |
--file=FILE[:TEMPLATE] |
19861 |
instantiate the configuration file FILE |
21797 |
instantiate the configuration file FILE |
19862 |
--header=FILE[:TEMPLATE] |
21798 |
--header=FILE[:TEMPLATE] |
19863 |
instantiate the configuration header FILE |
21799 |
instantiate the configuration header FILE |
19864 |
|
21800 |
|
19865 |
Configuration files: |
21801 |
Configuration files: |
19866 |
$config_files |
21802 |
$config_files |
Lines 19877-19887
Link Here
|
19877 |
cat >>$CONFIG_STATUS <<_ACEOF |
21813 |
cat >>$CONFIG_STATUS <<_ACEOF |
19878 |
ac_cs_version="\\ |
21814 |
ac_cs_version="\\ |
19879 |
config.status |
21815 |
config.status |
19880 |
configured by $0, generated by GNU Autoconf 2.57, |
21816 |
configured by $0, generated by GNU Autoconf 2.59, |
19881 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
21817 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
19882 |
|
21818 |
|
19883 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
21819 |
Copyright (C) 2003 Free Software Foundation, Inc. |
19884 |
Free Software Foundation, Inc. |
|
|
19885 |
This config.status script is free software; the Free Software Foundation |
21820 |
This config.status script is free software; the Free Software Foundation |
19886 |
gives unlimited permission to copy, distribute and modify it." |
21821 |
gives unlimited permission to copy, distribute and modify it." |
19887 |
srcdir=$srcdir |
21822 |
srcdir=$srcdir |
Lines 20142-20147
Link Here
|
20142 |
s,@FFLAGS@,$FFLAGS,;t t |
22077 |
s,@FFLAGS@,$FFLAGS,;t t |
20143 |
s,@ac_ct_F77@,$ac_ct_F77,;t t |
22078 |
s,@ac_ct_F77@,$ac_ct_F77,;t t |
20144 |
s,@LIBTOOL@,$LIBTOOL,;t t |
22079 |
s,@LIBTOOL@,$LIBTOOL,;t t |
|
|
22080 |
s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
20145 |
s,@PKG_CFLAGS@,$PKG_CFLAGS,;t t |
22081 |
s,@PKG_CFLAGS@,$PKG_CFLAGS,;t t |
20146 |
s,@PKG_LIBS@,$PKG_LIBS,;t t |
22082 |
s,@PKG_LIBS@,$PKG_LIBS,;t t |
20147 |
s,@LIBOBJS@,$LIBOBJS,;t t |
22083 |
s,@LIBOBJS@,$LIBOBJS,;t t |
Lines 20175-20183
Link Here
|
20175 |
(echo ':t |
22111 |
(echo ':t |
20176 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
22112 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
20177 |
if test -z "$ac_sed_cmds"; then |
22113 |
if test -z "$ac_sed_cmds"; then |
20178 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
22114 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
20179 |
else |
22115 |
else |
20180 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
22116 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
20181 |
fi |
22117 |
fi |
20182 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
22118 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
20183 |
ac_beg=$ac_end |
22119 |
ac_beg=$ac_end |
Lines 20195-20215
Link Here
|
20195 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
22131 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20196 |
case $ac_file in |
22132 |
case $ac_file in |
20197 |
- | *:- | *:-:* ) # input from stdin |
22133 |
- | *:- | *:-:* ) # input from stdin |
20198 |
cat >$tmp/stdin |
22134 |
cat >$tmp/stdin |
20199 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
22135 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20200 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22136 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20201 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
22137 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20202 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22138 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20203 |
* ) ac_file_in=$ac_file.in ;; |
22139 |
* ) ac_file_in=$ac_file.in ;; |
20204 |
esac |
22140 |
esac |
20205 |
|
22141 |
|
20206 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
22142 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
20207 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
22143 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20208 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22144 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20209 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
22145 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20210 |
X"$ac_file" : 'X\(//\)$' \| \ |
22146 |
X"$ac_file" : 'X\(//\)$' \| \ |
20211 |
X"$ac_file" : 'X\(/\)' \| \ |
22147 |
X"$ac_file" : 'X\(/\)' \| \ |
20212 |
. : '\(.\)' 2>/dev/null || |
22148 |
. : '\(.\)' 2>/dev/null || |
20213 |
echo X"$ac_file" | |
22149 |
echo X"$ac_file" | |
20214 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22150 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20215 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22151 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 20225-20234
Link Here
|
20225 |
as_dirs="$as_dir $as_dirs" |
22161 |
as_dirs="$as_dir $as_dirs" |
20226 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
22162 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20227 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22163 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20228 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
22164 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20229 |
X"$as_dir" : 'X\(//\)$' \| \ |
22165 |
X"$as_dir" : 'X\(//\)$' \| \ |
20230 |
X"$as_dir" : 'X\(/\)' \| \ |
22166 |
X"$as_dir" : 'X\(/\)' \| \ |
20231 |
. : '\(.\)' 2>/dev/null || |
22167 |
. : '\(.\)' 2>/dev/null || |
20232 |
echo X"$as_dir" | |
22168 |
echo X"$as_dir" | |
20233 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22169 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20234 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22170 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 20266-20277
Link Here
|
20266 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
22202 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20267 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
22203 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20268 |
esac |
22204 |
esac |
20269 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
22205 |
|
20270 |
# absolute. |
22206 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
20271 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
22207 |
# the directories may not exist. |
20272 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
22208 |
case `pwd` in |
20273 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
22209 |
.) ac_abs_builddir="$ac_dir";; |
20274 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
22210 |
*) |
|
|
22211 |
case "$ac_dir" in |
22212 |
.) ac_abs_builddir=`pwd`;; |
22213 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
22214 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
22215 |
esac;; |
22216 |
esac |
22217 |
case $ac_abs_builddir in |
22218 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
22219 |
*) |
22220 |
case ${ac_top_builddir}. in |
22221 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
22222 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
22223 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
22224 |
esac;; |
22225 |
esac |
22226 |
case $ac_abs_builddir in |
22227 |
.) ac_abs_srcdir=$ac_srcdir;; |
22228 |
*) |
22229 |
case $ac_srcdir in |
22230 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
22231 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
22232 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
22233 |
esac;; |
22234 |
esac |
22235 |
case $ac_abs_builddir in |
22236 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
22237 |
*) |
22238 |
case $ac_top_srcdir in |
22239 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
22240 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
22241 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
22242 |
esac;; |
22243 |
esac |
20275 |
|
22244 |
|
20276 |
|
22245 |
|
20277 |
case $INSTALL in |
22246 |
case $INSTALL in |
Lines 20293-20299
Link Here
|
20293 |
configure_input="$ac_file. " |
22262 |
configure_input="$ac_file. " |
20294 |
fi |
22263 |
fi |
20295 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
22264 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
20296 |
sed 's,.*/,,'` by configure." |
22265 |
sed 's,.*/,,'` by configure." |
20297 |
|
22266 |
|
20298 |
# First look for the input files in the build tree, otherwise in the |
22267 |
# First look for the input files in the build tree, otherwise in the |
20299 |
# src tree. |
22268 |
# src tree. |
Lines 20302-20325
Link Here
|
20302 |
case $f in |
22271 |
case $f in |
20303 |
-) echo $tmp/stdin ;; |
22272 |
-) echo $tmp/stdin ;; |
20304 |
[\\/$]*) |
22273 |
[\\/$]*) |
20305 |
# Absolute (can't be DOS-style, as IFS=:) |
22274 |
# Absolute (can't be DOS-style, as IFS=:) |
20306 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
22275 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20307 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
22276 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20308 |
{ (exit 1); exit 1; }; } |
22277 |
{ (exit 1); exit 1; }; } |
20309 |
echo $f;; |
22278 |
echo "$f";; |
20310 |
*) # Relative |
22279 |
*) # Relative |
20311 |
if test -f "$f"; then |
22280 |
if test -f "$f"; then |
20312 |
# Build tree |
22281 |
# Build tree |
20313 |
echo $f |
22282 |
echo "$f" |
20314 |
elif test -f "$srcdir/$f"; then |
22283 |
elif test -f "$srcdir/$f"; then |
20315 |
# Source tree |
22284 |
# Source tree |
20316 |
echo $srcdir/$f |
22285 |
echo "$srcdir/$f" |
20317 |
else |
22286 |
else |
20318 |
# /dev/null tree |
22287 |
# /dev/null tree |
20319 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
22288 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20320 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
22289 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20321 |
{ (exit 1); exit 1; }; } |
22290 |
{ (exit 1); exit 1; }; } |
20322 |
fi;; |
22291 |
fi;; |
20323 |
esac |
22292 |
esac |
20324 |
done` || { (exit 1); exit 1; } |
22293 |
done` || { (exit 1); exit 1; } |
20325 |
_ACEOF |
22294 |
_ACEOF |
Lines 20361-20372
Link Here
|
20361 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
22330 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
20362 |
# |
22331 |
# |
20363 |
# ac_d sets the value in "#define NAME VALUE" lines. |
22332 |
# ac_d sets the value in "#define NAME VALUE" lines. |
20364 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
22333 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
20365 |
ac_dB='[ ].*$,\1#\2' |
22334 |
ac_dB='[ ].*$,\1#\2' |
20366 |
ac_dC=' ' |
22335 |
ac_dC=' ' |
20367 |
ac_dD=',;t' |
22336 |
ac_dD=',;t' |
20368 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
22337 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
20369 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
22338 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
20370 |
ac_uB='$,\1#\2define\3' |
22339 |
ac_uB='$,\1#\2define\3' |
20371 |
ac_uC=' ' |
22340 |
ac_uC=' ' |
20372 |
ac_uD=',;t' |
22341 |
ac_uD=',;t' |
Lines 20375-20385
Link Here
|
20375 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
22344 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20376 |
case $ac_file in |
22345 |
case $ac_file in |
20377 |
- | *:- | *:-:* ) # input from stdin |
22346 |
- | *:- | *:-:* ) # input from stdin |
20378 |
cat >$tmp/stdin |
22347 |
cat >$tmp/stdin |
20379 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
22348 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20380 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22349 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20381 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
22350 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20382 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22351 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20383 |
* ) ac_file_in=$ac_file.in ;; |
22352 |
* ) ac_file_in=$ac_file.in ;; |
20384 |
esac |
22353 |
esac |
20385 |
|
22354 |
|
Lines 20393-20420
Link Here
|
20393 |
case $f in |
22362 |
case $f in |
20394 |
-) echo $tmp/stdin ;; |
22363 |
-) echo $tmp/stdin ;; |
20395 |
[\\/$]*) |
22364 |
[\\/$]*) |
20396 |
# Absolute (can't be DOS-style, as IFS=:) |
22365 |
# Absolute (can't be DOS-style, as IFS=:) |
20397 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
22366 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20398 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
22367 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20399 |
{ (exit 1); exit 1; }; } |
22368 |
{ (exit 1); exit 1; }; } |
20400 |
echo $f;; |
22369 |
# Do quote $f, to prevent DOS paths from being IFS'd. |
|
|
22370 |
echo "$f";; |
20401 |
*) # Relative |
22371 |
*) # Relative |
20402 |
if test -f "$f"; then |
22372 |
if test -f "$f"; then |
20403 |
# Build tree |
22373 |
# Build tree |
20404 |
echo $f |
22374 |
echo "$f" |
20405 |
elif test -f "$srcdir/$f"; then |
22375 |
elif test -f "$srcdir/$f"; then |
20406 |
# Source tree |
22376 |
# Source tree |
20407 |
echo $srcdir/$f |
22377 |
echo "$srcdir/$f" |
20408 |
else |
22378 |
else |
20409 |
# /dev/null tree |
22379 |
# /dev/null tree |
20410 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
22380 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20411 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
22381 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20412 |
{ (exit 1); exit 1; }; } |
22382 |
{ (exit 1); exit 1; }; } |
20413 |
fi;; |
22383 |
fi;; |
20414 |
esac |
22384 |
esac |
20415 |
done` || { (exit 1); exit 1; } |
22385 |
done` || { (exit 1); exit 1; } |
20416 |
# Remove the trailing spaces. |
22386 |
# Remove the trailing spaces. |
20417 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
22387 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
20418 |
|
22388 |
|
20419 |
_ACEOF |
22389 |
_ACEOF |
20420 |
|
22390 |
|
Lines 20437-20445
Link Here
|
20437 |
s,[\\$`],\\&,g |
22407 |
s,[\\$`],\\&,g |
20438 |
t clear |
22408 |
t clear |
20439 |
: clear |
22409 |
: clear |
20440 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
22410 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
20441 |
t end |
22411 |
t end |
20442 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
22412 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
20443 |
: end |
22413 |
: end |
20444 |
_ACEOF |
22414 |
_ACEOF |
20445 |
# If some macros were called several times there might be several times |
22415 |
# If some macros were called several times there might be several times |
Lines 20453-20465
Link Here
|
20453 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
22423 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
20454 |
# on some systems where configure will not decide to define it. |
22424 |
# on some systems where configure will not decide to define it. |
20455 |
cat >>conftest.undefs <<\_ACEOF |
22425 |
cat >>conftest.undefs <<\_ACEOF |
20456 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
22426 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
20457 |
_ACEOF |
22427 |
_ACEOF |
20458 |
|
22428 |
|
20459 |
# Break up conftest.defines because some shells have a limit on the size |
22429 |
# Break up conftest.defines because some shells have a limit on the size |
20460 |
# of here documents, and old seds have small limits too (100 cmds). |
22430 |
# of here documents, and old seds have small limits too (100 cmds). |
20461 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
22431 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
20462 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
22432 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
20463 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
22433 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
20464 |
echo ' :' >>$CONFIG_STATUS |
22434 |
echo ' :' >>$CONFIG_STATUS |
20465 |
rm -f conftest.tail |
22435 |
rm -f conftest.tail |
Lines 20468-20474
Link Here
|
20468 |
# Write a limited-size here document to $tmp/defines.sed. |
22438 |
# Write a limited-size here document to $tmp/defines.sed. |
20469 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
22439 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
20470 |
# Speed up: don't consider the non `#define' lines. |
22440 |
# Speed up: don't consider the non `#define' lines. |
20471 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
22441 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
20472 |
# Work around the forget-to-reset-the-flag bug. |
22442 |
# Work around the forget-to-reset-the-flag bug. |
20473 |
echo 't clr' >>$CONFIG_STATUS |
22443 |
echo 't clr' >>$CONFIG_STATUS |
20474 |
echo ': clr' >>$CONFIG_STATUS |
22444 |
echo ': clr' >>$CONFIG_STATUS |
Lines 20495-20501
Link Here
|
20495 |
# Write a limited-size here document to $tmp/undefs.sed. |
22465 |
# Write a limited-size here document to $tmp/undefs.sed. |
20496 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
22466 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
20497 |
# Speed up: don't consider the non `#undef' |
22467 |
# Speed up: don't consider the non `#undef' |
20498 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
22468 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
20499 |
# Work around the forget-to-reset-the-flag bug. |
22469 |
# Work around the forget-to-reset-the-flag bug. |
20500 |
echo 't clr' >>$CONFIG_STATUS |
22470 |
echo 't clr' >>$CONFIG_STATUS |
20501 |
echo ': clr' >>$CONFIG_STATUS |
22471 |
echo ': clr' >>$CONFIG_STATUS |
Lines 20529-20538
Link Here
|
20529 |
else |
22499 |
else |
20530 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
22500 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20531 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22501 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20532 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
22502 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20533 |
X"$ac_file" : 'X\(//\)$' \| \ |
22503 |
X"$ac_file" : 'X\(//\)$' \| \ |
20534 |
X"$ac_file" : 'X\(/\)' \| \ |
22504 |
X"$ac_file" : 'X\(/\)' \| \ |
20535 |
. : '\(.\)' 2>/dev/null || |
22505 |
. : '\(.\)' 2>/dev/null || |
20536 |
echo X"$ac_file" | |
22506 |
echo X"$ac_file" | |
20537 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22507 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20538 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22508 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 20548-20557
Link Here
|
20548 |
as_dirs="$as_dir $as_dirs" |
22518 |
as_dirs="$as_dir $as_dirs" |
20549 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
22519 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20550 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22520 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20551 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
22521 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20552 |
X"$as_dir" : 'X\(//\)$' \| \ |
22522 |
X"$as_dir" : 'X\(//\)$' \| \ |
20553 |
X"$as_dir" : 'X\(/\)' \| \ |
22523 |
X"$as_dir" : 'X\(/\)' \| \ |
20554 |
. : '\(.\)' 2>/dev/null || |
22524 |
. : '\(.\)' 2>/dev/null || |
20555 |
echo X"$as_dir" | |
22525 |
echo X"$as_dir" | |
20556 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22526 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20557 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22527 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 20583-20592
Link Here
|
20583 |
done |
22553 |
done |
20584 |
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
22554 |
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
20585 |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22555 |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20586 |
X$ac_file : 'X\(//\)[^/]' \| \ |
22556 |
X$ac_file : 'X\(//\)[^/]' \| \ |
20587 |
X$ac_file : 'X\(//\)$' \| \ |
22557 |
X$ac_file : 'X\(//\)$' \| \ |
20588 |
X$ac_file : 'X\(/\)' \| \ |
22558 |
X$ac_file : 'X\(/\)' \| \ |
20589 |
. : '\(.\)' 2>/dev/null || |
22559 |
. : '\(.\)' 2>/dev/null || |
20590 |
echo X$ac_file | |
22560 |
echo X$ac_file | |
20591 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22561 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20592 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22562 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 20605-20620
Link Here
|
20605 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
22575 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20606 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
22576 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
20607 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22577 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20608 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
22578 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
20609 |
X"$ac_dest" : 'X\(//\)$' \| \ |
22579 |
X"$ac_dest" : 'X\(//\)$' \| \ |
20610 |
X"$ac_dest" : 'X\(/\)' \| \ |
22580 |
X"$ac_dest" : 'X\(/\)' \| \ |
20611 |
. : '\(.\)' 2>/dev/null || |
22581 |
. : '\(.\)' 2>/dev/null || |
20612 |
echo X"$ac_dest" | |
22582 |
echo X"$ac_dest" | |
20613 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22583 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20614 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22584 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20615 |
/^X\(\/\/\)$/{ s//\1/; q; } |
22585 |
/^X\(\/\/\)$/{ s//\1/; q; } |
20616 |
/^X\(\/\).*/{ s//\1/; q; } |
22586 |
/^X\(\/\).*/{ s//\1/; q; } |
20617 |
s/.*/./; q'` |
22587 |
s/.*/./; q'` |
|
|
22588 |
{ if $as_mkdir_p; then |
22589 |
mkdir -p "$ac_dir" |
22590 |
else |
22591 |
as_dir="$ac_dir" |
22592 |
as_dirs= |
22593 |
while test ! -d "$as_dir"; do |
22594 |
as_dirs="$as_dir $as_dirs" |
22595 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
22596 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22597 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
22598 |
X"$as_dir" : 'X\(//\)$' \| \ |
22599 |
X"$as_dir" : 'X\(/\)' \| \ |
22600 |
. : '\(.\)' 2>/dev/null || |
22601 |
echo X"$as_dir" | |
22602 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22603 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22604 |
/^X\(\/\/\)$/{ s//\1/; q; } |
22605 |
/^X\(\/\).*/{ s//\1/; q; } |
22606 |
s/.*/./; q'` |
22607 |
done |
22608 |
test ! -n "$as_dirs" || mkdir $as_dirs |
22609 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
22610 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
22611 |
{ (exit 1); exit 1; }; }; } |
22612 |
|
20618 |
ac_builddir=. |
22613 |
ac_builddir=. |
20619 |
|
22614 |
|
20620 |
if test "$ac_dir" != .; then |
22615 |
if test "$ac_dir" != .; then |
Lines 20640-20651
Link Here
|
20640 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
22635 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20641 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
22636 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20642 |
esac |
22637 |
esac |
20643 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
22638 |
|
20644 |
# absolute. |
22639 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
20645 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
22640 |
# the directories may not exist. |
20646 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
22641 |
case `pwd` in |
20647 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
22642 |
.) ac_abs_builddir="$ac_dir";; |
20648 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
22643 |
*) |
|
|
22644 |
case "$ac_dir" in |
22645 |
.) ac_abs_builddir=`pwd`;; |
22646 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
22647 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
22648 |
esac;; |
22649 |
esac |
22650 |
case $ac_abs_builddir in |
22651 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
22652 |
*) |
22653 |
case ${ac_top_builddir}. in |
22654 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
22655 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
22656 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
22657 |
esac;; |
22658 |
esac |
22659 |
case $ac_abs_builddir in |
22660 |
.) ac_abs_srcdir=$ac_srcdir;; |
22661 |
*) |
22662 |
case $ac_srcdir in |
22663 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
22664 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
22665 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
22666 |
esac;; |
22667 |
esac |
22668 |
case $ac_abs_builddir in |
22669 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
22670 |
*) |
22671 |
case $ac_top_srcdir in |
22672 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
22673 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
22674 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
22675 |
esac;; |
22676 |
esac |
20649 |
|
22677 |
|
20650 |
|
22678 |
|
20651 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
22679 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
Lines 20663-20672
Link Here
|
20663 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
22691 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
20664 |
dirpart=`(dirname "$mf") 2>/dev/null || |
22692 |
dirpart=`(dirname "$mf") 2>/dev/null || |
20665 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22693 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20666 |
X"$mf" : 'X\(//\)[^/]' \| \ |
22694 |
X"$mf" : 'X\(//\)[^/]' \| \ |
20667 |
X"$mf" : 'X\(//\)$' \| \ |
22695 |
X"$mf" : 'X\(//\)$' \| \ |
20668 |
X"$mf" : 'X\(/\)' \| \ |
22696 |
X"$mf" : 'X\(/\)' \| \ |
20669 |
. : '\(.\)' 2>/dev/null || |
22697 |
. : '\(.\)' 2>/dev/null || |
20670 |
echo X"$mf" | |
22698 |
echo X"$mf" | |
20671 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22699 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20672 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22700 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 20702-20711
Link Here
|
20702 |
test -f "$dirpart/$file" && continue |
22730 |
test -f "$dirpart/$file" && continue |
20703 |
fdir=`(dirname "$file") 2>/dev/null || |
22731 |
fdir=`(dirname "$file") 2>/dev/null || |
20704 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22732 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20705 |
X"$file" : 'X\(//\)[^/]' \| \ |
22733 |
X"$file" : 'X\(//\)[^/]' \| \ |
20706 |
X"$file" : 'X\(//\)$' \| \ |
22734 |
X"$file" : 'X\(//\)$' \| \ |
20707 |
X"$file" : 'X\(/\)' \| \ |
22735 |
X"$file" : 'X\(/\)' \| \ |
20708 |
. : '\(.\)' 2>/dev/null || |
22736 |
. : '\(.\)' 2>/dev/null || |
20709 |
echo X"$file" | |
22737 |
echo X"$file" | |
20710 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22738 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20711 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22739 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
Lines 20721-20730
Link Here
|
20721 |
as_dirs="$as_dir $as_dirs" |
22749 |
as_dirs="$as_dir $as_dirs" |
20722 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
22750 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20723 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22751 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20724 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
22752 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20725 |
X"$as_dir" : 'X\(//\)$' \| \ |
22753 |
X"$as_dir" : 'X\(//\)$' \| \ |
20726 |
X"$as_dir" : 'X\(/\)' \| \ |
22754 |
X"$as_dir" : 'X\(/\)' \| \ |
20727 |
. : '\(.\)' 2>/dev/null || |
22755 |
. : '\(.\)' 2>/dev/null || |
20728 |
echo X"$as_dir" | |
22756 |
echo X"$as_dir" | |
20729 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22757 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20730 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22758 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |