1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.57. |
# Generated by GNU Autoconf 2.59. |
4 |
# |
# |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
|
# Free Software Foundation, Inc. |
|
6 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
7 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
8 |
## --------------------- ## |
## --------------------- ## |
19 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
20 |
set -o posix |
set -o posix |
21 |
fi |
fi |
22 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
23 |
|
|
24 |
# Support unset when possible. |
# Support unset when possible. |
25 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 |
as_unset=unset |
as_unset=unset |
27 |
else |
else |
28 |
as_unset=false |
as_unset=false |
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
43 |
do |
do |
44 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
46 |
else |
else |
47 |
$as_unset $as_var |
$as_unset $as_var |
218 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
219 |
as_mkdir_p=: |
as_mkdir_p=: |
220 |
else |
else |
221 |
|
test -d ./-p && rmdir ./-p |
222 |
as_mkdir_p=false |
as_mkdir_p=false |
223 |
fi |
fi |
224 |
|
|
225 |
as_executable_p="test -f" |
as_executable_p="test -f" |
226 |
|
|
227 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
228 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 |
|
|
230 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
231 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 |
|
|
233 |
|
|
234 |
# IFS |
# IFS |
463 |
# include <unistd.h> |
# include <unistd.h> |
464 |
#endif" |
#endif" |
465 |
|
|
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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS ac_ct_CC CCDEPMODE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS' |
467 |
ac_subst_files='' |
ac_subst_files='' |
468 |
|
|
469 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
822 |
|
|
823 |
# Be sure to have absolute paths. |
# Be sure to have absolute paths. |
824 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
825 |
localstatedir libdir includedir oldincludedir infodir mandir |
localstatedir libdir includedir oldincludedir infodir mandir |
826 |
do |
do |
827 |
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
828 |
case $ac_val in |
case $ac_val in |
862 |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
863 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
ac_confdir=`(dirname "$0") 2>/dev/null || |
864 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
865 |
X"$0" : 'X\(//\)[^/]' \| \ |
X"$0" : 'X\(//\)[^/]' \| \ |
866 |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
867 |
X"$0" : 'X\(/\)' \| \ |
X"$0" : 'X\(/\)' \| \ |
868 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
869 |
echo X"$0" | |
echo X"$0" | |
870 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
871 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
904 |
ac_env_target_alias_value=$target_alias |
ac_env_target_alias_value=$target_alias |
905 |
ac_cv_env_target_alias_set=${target_alias+set} |
ac_cv_env_target_alias_set=${target_alias+set} |
906 |
ac_cv_env_target_alias_value=$target_alias |
ac_cv_env_target_alias_value=$target_alias |
|
ac_env_CXX_set=${CXX+set} |
|
|
ac_env_CXX_value=$CXX |
|
|
ac_cv_env_CXX_set=${CXX+set} |
|
|
ac_cv_env_CXX_value=$CXX |
|
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
|
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
907 |
ac_env_CC_set=${CC+set} |
ac_env_CC_set=${CC+set} |
908 |
ac_env_CC_value=$CC |
ac_env_CC_value=$CC |
909 |
ac_cv_env_CC_set=${CC+set} |
ac_cv_env_CC_set=${CC+set} |
912 |
ac_env_CFLAGS_value=$CFLAGS |
ac_env_CFLAGS_value=$CFLAGS |
913 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
914 |
ac_cv_env_CFLAGS_value=$CFLAGS |
ac_cv_env_CFLAGS_value=$CFLAGS |
915 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
916 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
917 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
918 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
919 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
920 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
921 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
922 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
923 |
|
ac_env_CXX_set=${CXX+set} |
924 |
|
ac_env_CXX_value=$CXX |
925 |
|
ac_cv_env_CXX_set=${CXX+set} |
926 |
|
ac_cv_env_CXX_value=$CXX |
927 |
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
928 |
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
929 |
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
930 |
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
931 |
ac_env_CPP_set=${CPP+set} |
ac_env_CPP_set=${CPP+set} |
932 |
ac_env_CPP_value=$CPP |
ac_env_CPP_value=$CPP |
933 |
ac_cv_env_CPP_set=${CPP+set} |
ac_cv_env_CPP_set=${CPP+set} |
977 |
cat <<_ACEOF |
cat <<_ACEOF |
978 |
Installation directories: |
Installation directories: |
979 |
--prefix=PREFIX install architecture-independent files in PREFIX |
--prefix=PREFIX install architecture-independent files in PREFIX |
980 |
[$ac_default_prefix] |
[$ac_default_prefix] |
981 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
982 |
[PREFIX] |
[PREFIX] |
983 |
|
|
984 |
By default, \`make install' will install all the files in |
By default, \`make install' will install all the files in |
985 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1043 |
include additional configurations [automatic] |
include additional configurations [automatic] |
1044 |
|
|
1045 |
Some influential environment variables: |
Some influential environment variables: |
1046 |
CXX C++ compiler command |
CC C compiler command |
1047 |
CXXFLAGS C++ compiler flags |
CFLAGS C compiler flags |
1048 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1049 |
nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
1050 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
1051 |
headers in a nonstandard directory <include dir> |
headers in a nonstandard directory <include dir> |
1052 |
CC C compiler command |
CXX C++ compiler command |
1053 |
CFLAGS C compiler flags |
CXXFLAGS C++ compiler flags |
1054 |
CPP C preprocessor |
CPP C preprocessor |
1055 |
CXXCPP C++ preprocessor |
CXXCPP C++ preprocessor |
1056 |
F77 Fortran 77 compiler command |
F77 Fortran 77 compiler command |
1092 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1093 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1094 |
esac |
esac |
1095 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
1096 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
1097 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
1098 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
1099 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
1100 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
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 |
1134 |
|
|
1135 |
cd $ac_dir |
cd $ac_dir |
1136 |
# Check for guested configure; otherwise get Cygnus style configure. |
# Check for guested configure; otherwise get Cygnus style configure. |
1141 |
echo |
echo |
1142 |
$SHELL $ac_srcdir/configure --help=recursive |
$SHELL $ac_srcdir/configure --help=recursive |
1143 |
elif test -f $ac_srcdir/configure.ac || |
elif test -f $ac_srcdir/configure.ac || |
1144 |
test -f $ac_srcdir/configure.in; then |
test -f $ac_srcdir/configure.in; then |
1145 |
echo |
echo |
1146 |
$ac_configure --help |
$ac_configure --help |
1147 |
else |
else |
1155 |
if $ac_init_version; then |
if $ac_init_version; then |
1156 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1157 |
|
|
1158 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
1159 |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
1160 |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
1161 |
_ACEOF |
_ACEOF |
1167 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
1168 |
|
|
1169 |
It was created by $as_me, which was |
It was created by $as_me, which was |
1170 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.59. Invocation command line was |
1171 |
|
|
1172 |
$ $0 $@ |
$ $0 $@ |
1173 |
|
|
1244 |
2) |
2) |
1245 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1246 |
if test $ac_must_keep_next = true; then |
if test $ac_must_keep_next = true; then |
1247 |
ac_must_keep_next=false # Got value, back to normal. |
ac_must_keep_next=false # Got value, back to normal. |
1248 |
else |
else |
1249 |
case $ac_arg in |
case $ac_arg in |
1250 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1251 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1252 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1253 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| -with-* | --with-* | -without-* | --without-* | --x) |
1254 |
case "$ac_configure_args0 " in |
case "$ac_configure_args0 " in |
1255 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1256 |
esac |
esac |
1257 |
;; |
;; |
1258 |
-* ) ac_must_keep_next=true ;; |
-* ) ac_must_keep_next=true ;; |
1259 |
esac |
esac |
1260 |
fi |
fi |
1261 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1262 |
# Get rid of the leading space. |
# Get rid of the leading space. |
1290 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1291 |
*ac_space=\ *) |
*ac_space=\ *) |
1292 |
sed -n \ |
sed -n \ |
1293 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1294 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1295 |
;; |
;; |
1296 |
*) |
*) |
1297 |
sed -n \ |
sed -n \ |
1298 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1299 |
;; |
;; |
1300 |
esac; |
esac; |
1301 |
} |
} |
1324 |
for ac_var in $ac_subst_files |
for ac_var in $ac_subst_files |
1325 |
do |
do |
1326 |
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
1327 |
echo "$ac_var='"'"'$ac_val'"'"'" |
echo "$ac_var='"'"'$ac_val'"'"'" |
1328 |
done | sort |
done | sort |
1329 |
echo |
echo |
1330 |
fi |
fi |
1423 |
# value. |
# value. |
1424 |
ac_cache_corrupted=false |
ac_cache_corrupted=false |
1425 |
for ac_var in `(set) 2>&1 | |
for ac_var in `(set) 2>&1 | |
1426 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1427 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1428 |
eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set |
1429 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1440 |
,);; |
,);; |
1441 |
*) |
*) |
1442 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1443 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1444 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1445 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1446 |
echo "$as_me: former value: $ac_old_val" >&2;} |
echo "$as_me: former value: $ac_old_val" >&2;} |
1447 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1448 |
echo "$as_me: current value: $ac_new_val" >&2;} |
echo "$as_me: current value: $ac_new_val" >&2;} |
1449 |
ac_cache_corrupted=: |
ac_cache_corrupted=: |
1450 |
fi;; |
fi;; |
1451 |
esac |
esac |
1452 |
# Pass precious variables to config.status. |
# Pass precious variables to config.status. |
1494 |
|
|
1495 |
|
|
1496 |
|
|
1497 |
|
ac_ext=c |
1498 |
# Add the stamp file to the list of files AC keeps track of, |
ac_cpp='$CPP $CPPFLAGS' |
1499 |
# along with our hook. |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1500 |
ac_config_headers="$ac_config_headers config.h" |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1501 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1502 |
|
if test -n "$ac_tool_prefix"; then |
1503 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1504 |
am__api_version="1.6" |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1505 |
ac_aux_dir= |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1506 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1507 |
if test -f $ac_dir/install-sh; then |
if test "${ac_cv_prog_CC+set}" = set; then |
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
|
break |
|
|
elif test -f $ac_dir/install.sh; then |
|
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
|
break |
|
|
elif test -f $ac_dir/shtool; then |
|
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
|
break |
|
|
fi |
|
|
done |
|
|
if test -z "$ac_aux_dir"; then |
|
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
|
|
|
|
# Find a good install program. We prefer a C program (faster), |
|
|
# so one script is as good as another. But avoid the broken or |
|
|
# incompatible versions: |
|
|
# SysV /etc/install, /usr/sbin/install |
|
|
# SunOS /usr/etc/install |
|
|
# IRIX /sbin/install |
|
|
# AIX /bin/install |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
# ./install, which can be erroneously created by make from ./install.sh. |
|
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
|
|
if test -z "$INSTALL"; then |
|
|
if test "${ac_cv_path_install+set}" = set; then |
|
1508 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1509 |
else |
else |
1510 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
if test -n "$CC"; then |
1511 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1512 |
|
else |
1513 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1514 |
for as_dir in $PATH |
for as_dir in $PATH |
1515 |
do |
do |
1516 |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
1517 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1518 |
# Account for people who put trailing slashes in PATH elements. |
for ac_exec_ext in '' $ac_executable_extensions; do |
1519 |
case $as_dir/ in |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1520 |
./ | .// | /cC/* | \ |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1521 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1522 |
/usr/ucb/* ) ;; |
break 2 |
1523 |
*) |
fi |
1524 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
done |
|
# Don't use installbsd from OSF since it installs stuff as root |
|
|
# by default. |
|
|
for ac_prog in ginstall scoinst install; do |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
|
if test $ac_prog = install && |
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
|
# AIX install. It has an incompatible calling convention. |
|
|
: |
|
|
elif test $ac_prog = install && |
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
|
# program-specific install script used by HP pwplus--don't use. |
|
|
: |
|
|
else |
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
|
break 3 |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
|
;; |
|
|
esac |
|
1525 |
done |
done |
|
|
|
1526 |
|
|
1527 |
fi |
fi |
|
if test "${ac_cv_path_install+set}" = set; then |
|
|
INSTALL=$ac_cv_path_install |
|
|
else |
|
|
# As a last resort, use the slow shell script. We don't cache a |
|
|
# path for INSTALL within a source directory, because that will |
|
|
# break other packages using the cache if that directory is |
|
|
# removed, or if the path is relative. |
|
|
INSTALL=$ac_install_sh |
|
|
fi |
|
1528 |
fi |
fi |
1529 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
CC=$ac_cv_prog_CC |
1530 |
echo "${ECHO_T}$INSTALL" >&6 |
if test -n "$CC"; then |
1531 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1532 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
echo "${ECHO_T}$CC" >&6 |
|
# It thinks the first close brace ends the variable substitution. |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
|
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
|
|
|
|
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
|
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
|
|
# Just in case |
|
|
sleep 1 |
|
|
echo timestamp > conftest.file |
|
|
# Do `set' in a subshell so we don't clobber the current shell's |
|
|
# arguments. Must try -L first in case configure is actually a |
|
|
# symlink; some systems play weird games with the mod time of symlinks |
|
|
# (eg FreeBSD returns the mod time of the symlink's containing |
|
|
# directory). |
|
|
if ( |
|
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|
|
if test "$*" = "X"; then |
|
|
# -L didn't work. |
|
|
set X `ls -t $srcdir/configure conftest.file` |
|
|
fi |
|
|
rm -f conftest.file |
|
|
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
|
|
|
# If neither matched, then we have a broken ls. This can happen |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
|
# broken ls alias from the environment. This has actually |
|
|
# happened. Such a system could not be considered "sane". |
|
|
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|
|
alias in your environment" >&5 |
|
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
|
|
alias in your environment" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
|
|
|
test "$2" = conftest.file |
|
|
) |
|
|
then |
|
|
# Ok. |
|
|
: |
|
1533 |
else |
else |
1534 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
echo "$as_me:$LINENO: result: no" >&5 |
1535 |
Check your system clock" >&5 |
echo "${ECHO_T}no" >&6 |
|
echo "$as_me: error: newly created file is older than distributed files! |
|
|
Check your system clock" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
1536 |
fi |
fi |
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
test "$program_prefix" != NONE && |
|
|
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
# Use a double $ so make ignores it. |
|
|
test "$program_suffix" != NONE && |
|
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
# Double any \ or $. echo might interpret backslashes. |
|
|
# By default was `s,x,x', remove it if useless. |
|
|
cat <<\_ACEOF >conftest.sed |
|
|
s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
_ACEOF |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
rm conftest.sed |
|
|
|
|
|
|
|
|
# expand $ac_aux_dir to an absolute path |
|
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
1537 |
|
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|
|
# Use eval to expand $SHELL |
|
|
if eval "$MISSING --run true"; then |
|
|
am_missing_run="$MISSING --run " |
|
|
else |
|
|
am_missing_run= |
|
|
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
|
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
1538 |
fi |
fi |
1539 |
|
if test -z "$ac_cv_prog_CC"; then |
1540 |
for ac_prog in gawk mawk nawk awk |
ac_ct_CC=$CC |
1541 |
do |
# Extract the first word of "gcc", so it can be a program name with args. |
1542 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy gcc; ac_word=$2 |
|
set dummy $ac_prog; ac_word=$2 |
|
1543 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1544 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1545 |
if test "${ac_cv_prog_AWK+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1546 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1547 |
else |
else |
1548 |
if test -n "$AWK"; then |
if test -n "$ac_ct_CC"; then |
1549 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1550 |
else |
else |
1551 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1552 |
for as_dir in $PATH |
for as_dir in $PATH |
1555 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1556 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1557 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1558 |
ac_cv_prog_AWK="$ac_prog" |
ac_cv_prog_ac_ct_CC="gcc" |
1559 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1560 |
break 2 |
break 2 |
1561 |
fi |
fi |
1564 |
|
|
1565 |
fi |
fi |
1566 |
fi |
fi |
1567 |
AWK=$ac_cv_prog_AWK |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1568 |
if test -n "$AWK"; then |
if test -n "$ac_ct_CC"; then |
1569 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1570 |
echo "${ECHO_T}$AWK" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1571 |
else |
else |
1572 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1573 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1574 |
fi |
fi |
1575 |
|
|
1576 |
test -n "$AWK" && break |
CC=$ac_ct_CC |
1577 |
done |
else |
1578 |
|
CC="$ac_cv_prog_CC" |
1579 |
|
fi |
1580 |
|
|
1581 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
if test -z "$CC"; then |
1582 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
if test -n "$ac_tool_prefix"; then |
1583 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1584 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1585 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1586 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1587 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1588 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1589 |
else |
else |
1590 |
cat >conftest.make <<\_ACEOF |
if test -n "$CC"; then |
1591 |
all: |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
@echo 'ac_maketemp="$(MAKE)"' |
|
|
_ACEOF |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
|
|
if test -n "$ac_maketemp"; then |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes |
|
1592 |
else |
else |
1593 |
eval ac_cv_prog_make_${ac_make}_set=no |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1594 |
|
for as_dir in $PATH |
1595 |
|
do |
1596 |
|
IFS=$as_save_IFS |
1597 |
|
test -z "$as_dir" && as_dir=. |
1598 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1599 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1600 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1601 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1602 |
|
break 2 |
1603 |
|
fi |
1604 |
|
done |
1605 |
|
done |
1606 |
|
|
1607 |
fi |
fi |
|
rm -f conftest.make |
|
1608 |
fi |
fi |
1609 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
CC=$ac_cv_prog_CC |
1610 |
echo "$as_me:$LINENO: result: yes" >&5 |
if test -n "$CC"; then |
1611 |
echo "${ECHO_T}yes" >&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1612 |
SET_MAKE= |
echo "${ECHO_T}$CC" >&6 |
1613 |
else |
else |
1614 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1615 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
|
SET_MAKE="MAKE=${MAKE-make}" |
|
1616 |
fi |
fi |
1617 |
|
|
|
# test to see if srcdir already configured |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" && |
|
|
test -f $srcdir/config.status; then |
|
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
1618 |
fi |
fi |
1619 |
|
if test -z "$ac_cv_prog_CC"; then |
1620 |
# Define the identity of the package. |
ac_ct_CC=$CC |
1621 |
PACKAGE=libgig |
# Extract the first word of "cc", so it can be a program name with args. |
1622 |
VERSION=0.1 |
set dummy cc; ac_word=$2 |
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define PACKAGE "$PACKAGE" |
|
|
_ACEOF |
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define VERSION "$VERSION" |
|
|
_ACEOF |
|
|
|
|
|
# Some tools Automake needs. |
|
|
|
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
|
|
|
|
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
|
|
|
|
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
|
|
|
|
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
|
|
|
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
|
|
|
|
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
|
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|
|
|
|
|
# Installed binaries are usually stripped using `strip' when the user |
|
|
# run `make install-strip'. However `strip' might not be the right |
|
|
# tool to use in cross-compilation environments, therefore Automake |
|
|
# will honor the `STRIP' environment variable to overrule this program. |
|
|
if test "$cross_compiling" != no; then |
|
|
if test -n "$ac_tool_prefix"; then |
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
1623 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1624 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1625 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1626 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1627 |
else |
else |
1628 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_CC"; then |
1629 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1630 |
else |
else |
1631 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1632 |
for as_dir in $PATH |
for as_dir in $PATH |
1635 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1636 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1637 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1638 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_ac_ct_CC="cc" |
1639 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1640 |
break 2 |
break 2 |
1641 |
fi |
fi |
1644 |
|
|
1645 |
fi |
fi |
1646 |
fi |
fi |
1647 |
STRIP=$ac_cv_prog_STRIP |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1648 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_CC"; then |
1649 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1650 |
echo "${ECHO_T}$STRIP" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1651 |
else |
else |
1652 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1653 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1654 |
fi |
fi |
1655 |
|
|
1656 |
|
CC=$ac_ct_CC |
1657 |
|
else |
1658 |
|
CC="$ac_cv_prog_CC" |
1659 |
fi |
fi |
1660 |
if test -z "$ac_cv_prog_STRIP"; then |
|
1661 |
ac_ct_STRIP=$STRIP |
fi |
1662 |
# Extract the first word of "strip", so it can be a program name with args. |
if test -z "$CC"; then |
1663 |
set dummy strip; ac_word=$2 |
# Extract the first word of "cc", so it can be a program name with args. |
1664 |
|
set dummy cc; ac_word=$2 |
1665 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1666 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1667 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1668 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1669 |
else |
else |
1670 |
if test -n "$ac_ct_STRIP"; then |
if test -n "$CC"; then |
1671 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1672 |
else |
else |
1673 |
|
ac_prog_rejected=no |
1674 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1675 |
for as_dir in $PATH |
for as_dir in $PATH |
1676 |
do |
do |
1678 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1679 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1680 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1681 |
ac_cv_prog_ac_ct_STRIP="strip" |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1682 |
|
ac_prog_rejected=yes |
1683 |
|
continue |
1684 |
|
fi |
1685 |
|
ac_cv_prog_CC="cc" |
1686 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1687 |
break 2 |
break 2 |
1688 |
fi |
fi |
1689 |
done |
done |
1690 |
done |
done |
1691 |
|
|
1692 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
if test $ac_prog_rejected = yes; then |
1693 |
|
# We found a bogon in the path, so make sure we never use it. |
1694 |
|
set dummy $ac_cv_prog_CC |
1695 |
|
shift |
1696 |
|
if test $# != 0; then |
1697 |
|
# We chose a different compiler from the bogus one. |
1698 |
|
# However, it has the same basename, so the bogon will be chosen |
1699 |
|
# first if we set CC to just the basename; use the full file name. |
1700 |
|
shift |
1701 |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1702 |
|
fi |
1703 |
fi |
fi |
1704 |
fi |
fi |
1705 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
fi |
1706 |
if test -n "$ac_ct_STRIP"; then |
CC=$ac_cv_prog_CC |
1707 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
if test -n "$CC"; then |
1708 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1709 |
|
echo "${ECHO_T}$CC" >&6 |
1710 |
else |
else |
1711 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1712 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1713 |
fi |
fi |
1714 |
|
|
|
STRIP=$ac_ct_STRIP |
|
|
else |
|
|
STRIP="$ac_cv_prog_STRIP" |
|
|
fi |
|
|
|
|
1715 |
fi |
fi |
1716 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
if test -z "$CC"; then |
1717 |
|
if test -n "$ac_tool_prefix"; then |
1718 |
# We need awk for the "check" target. The system "awk" is bad on |
for ac_prog in cl |
|
# some platforms. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=cc |
|
|
ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
|
|
|
ac_ext=cc |
|
|
ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
if test -n "$ac_tool_prefix"; then |
|
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
|
1719 |
do |
do |
1720 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1721 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1722 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1723 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1724 |
if test "${ac_cv_prog_CXX+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1725 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1726 |
else |
else |
1727 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
1728 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1729 |
else |
else |
1730 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1731 |
for as_dir in $PATH |
for as_dir in $PATH |
1734 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1735 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1736 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1737 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1738 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1739 |
break 2 |
break 2 |
1740 |
fi |
fi |
1743 |
|
|
1744 |
fi |
fi |
1745 |
fi |
fi |
1746 |
CXX=$ac_cv_prog_CXX |
CC=$ac_cv_prog_CC |
1747 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
1748 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1749 |
echo "${ECHO_T}$CXX" >&6 |
echo "${ECHO_T}$CC" >&6 |
1750 |
else |
else |
1751 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1752 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1753 |
fi |
fi |
1754 |
|
|
1755 |
test -n "$CXX" && break |
test -n "$CC" && break |
1756 |
done |
done |
1757 |
fi |
fi |
1758 |
if test -z "$CXX"; then |
if test -z "$CC"; then |
1759 |
ac_ct_CXX=$CXX |
ac_ct_CC=$CC |
1760 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
for ac_prog in cl |
1761 |
do |
do |
1762 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1763 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1764 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1765 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1766 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1767 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1768 |
else |
else |
1769 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
1770 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1771 |
else |
else |
1772 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1773 |
for as_dir in $PATH |
for as_dir in $PATH |
1776 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1777 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1778 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1779 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1780 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1781 |
break 2 |
break 2 |
1782 |
fi |
fi |
1785 |
|
|
1786 |
fi |
fi |
1787 |
fi |
fi |
1788 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1789 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
1790 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1791 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1792 |
else |
else |
1793 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1794 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1795 |
fi |
fi |
1796 |
|
|
1797 |
test -n "$ac_ct_CXX" && break |
test -n "$ac_ct_CC" && break |
1798 |
done |
done |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
|
1799 |
|
|
1800 |
CXX=$ac_ct_CXX |
CC=$ac_ct_CC |
1801 |
fi |
fi |
1802 |
|
|
1803 |
|
fi |
1804 |
|
|
1805 |
|
|
1806 |
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1807 |
|
See \`config.log' for more details." >&5 |
1808 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
1809 |
|
See \`config.log' for more details." >&2;} |
1810 |
|
{ (exit 1); exit 1; }; } |
1811 |
|
|
1812 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
1813 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
1814 |
"checking for C++ compiler version" >&5 |
"checking for C compiler version" >&5 |
1815 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
1816 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1817 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
1830 |
(exit $ac_status); } |
(exit $ac_status); } |
1831 |
|
|
1832 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
1833 |
/* confdefs.h. */ |
/* confdefs.h. */ |
1834 |
_ACEOF |
_ACEOF |
1835 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
1849 |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
1850 |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
1851 |
# of exeext. |
# of exeext. |
1852 |
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1853 |
echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
1854 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1855 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1856 |
(eval $ac_link_default) 2>&5 |
(eval $ac_link_default) 2>&5 |
1870 |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
1871 |
case $ac_file in |
case $ac_file in |
1872 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1873 |
;; |
;; |
1874 |
conftest.$ac_ext ) |
conftest.$ac_ext ) |
1875 |
# This is the source file. |
# This is the source file. |
1876 |
;; |
;; |
1877 |
[ab].out ) |
[ab].out ) |
1878 |
# We found the default executable, but exeext='' is most |
# We found the default executable, but exeext='' is most |
1879 |
# certainly right. |
# certainly right. |
1880 |
break;; |
break;; |
1881 |
*.* ) |
*.* ) |
1882 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1883 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
1884 |
# but it would be cool to find out if it's true. Does anybody |
# but it would be cool to find out if it's true. Does anybody |
1885 |
# maintain Libtool? --akim. |
# maintain Libtool? --akim. |
1886 |
export ac_cv_exeext |
export ac_cv_exeext |
1887 |
break;; |
break;; |
1888 |
* ) |
* ) |
1889 |
break;; |
break;; |
1890 |
esac |
esac |
1891 |
done |
done |
1892 |
else |
else |
1893 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
1894 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1895 |
|
|
1896 |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1897 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
1898 |
echo "$as_me: error: C++ compiler cannot create executables |
echo "$as_me: error: C compiler cannot create executables |
1899 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
1900 |
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
1901 |
fi |
fi |
1906 |
|
|
1907 |
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
1908 |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
1909 |
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1910 |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1911 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1912 |
# If not cross compiling, check that we can run a simple program. |
# If not cross compiling, check that we can run a simple program. |
1913 |
if test "$cross_compiling" != yes; then |
if test "$cross_compiling" != yes; then |
1922 |
if test "$cross_compiling" = maybe; then |
if test "$cross_compiling" = maybe; then |
1923 |
cross_compiling=yes |
cross_compiling=yes |
1924 |
else |
else |
1925 |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1926 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
1927 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
1928 |
echo "$as_me: error: cannot run C++ compiled programs. |
echo "$as_me: error: cannot run C compiled programs. |
1929 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
1930 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
1931 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
1960 |
case $ac_file in |
case $ac_file in |
1961 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1962 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1963 |
export ac_cv_exeext |
export ac_cv_exeext |
1964 |
break;; |
break;; |
1965 |
* ) break;; |
* ) break;; |
1966 |
esac |
esac |
1967 |
done |
done |
1986 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1987 |
else |
else |
1988 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
1989 |
/* confdefs.h. */ |
/* confdefs.h. */ |
1990 |
_ACEOF |
_ACEOF |
1991 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2030 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
2031 |
OBJEXT=$ac_cv_objext |
OBJEXT=$ac_cv_objext |
2032 |
ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
2033 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2034 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2035 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2036 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2037 |
else |
else |
2038 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2039 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2040 |
_ACEOF |
_ACEOF |
2041 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2055 |
_ACEOF |
_ACEOF |
2056 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2057 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2058 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2059 |
ac_status=$? |
ac_status=$? |
2060 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2061 |
|
rm -f conftest.er1 |
2062 |
|
cat conftest.err >&5 |
2063 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2064 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2065 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2066 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2067 |
|
(eval $ac_try) 2>&5 |
2068 |
|
ac_status=$? |
2069 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2070 |
|
(exit $ac_status); }; } && |
2071 |
|
{ ac_try='test -s conftest.$ac_objext' |
2072 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2073 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2074 |
ac_status=$? |
ac_status=$? |
2081 |
|
|
2082 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
2083 |
fi |
fi |
2084 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2085 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2086 |
|
|
2087 |
fi |
fi |
2088 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2089 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2090 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2091 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
ac_test_CFLAGS=${CFLAGS+set} |
2092 |
ac_save_CXXFLAGS=$CXXFLAGS |
ac_save_CFLAGS=$CFLAGS |
2093 |
CXXFLAGS="-g" |
CFLAGS="-g" |
2094 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2095 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2096 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
if test "${ac_cv_prog_cc_g+set}" = set; then |
2097 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2098 |
else |
else |
2099 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2100 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2101 |
_ACEOF |
_ACEOF |
2102 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2113 |
_ACEOF |
_ACEOF |
2114 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2115 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2116 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2117 |
ac_status=$? |
ac_status=$? |
2118 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2119 |
|
rm -f conftest.er1 |
2120 |
|
cat conftest.err >&5 |
2121 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2122 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2123 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2124 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2125 |
|
(eval $ac_try) 2>&5 |
2126 |
|
ac_status=$? |
2127 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2128 |
|
(exit $ac_status); }; } && |
2129 |
|
{ ac_try='test -s conftest.$ac_objext' |
2130 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2131 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2132 |
ac_status=$? |
ac_status=$? |
2133 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2134 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
2135 |
ac_cv_prog_cxx_g=yes |
ac_cv_prog_cc_g=yes |
2136 |
else |
else |
2137 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2138 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2139 |
|
|
2140 |
ac_cv_prog_cxx_g=no |
ac_cv_prog_cc_g=no |
2141 |
fi |
fi |
2142 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2143 |
fi |
fi |
2144 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2145 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2146 |
if test "$ac_test_CXXFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
2147 |
CXXFLAGS=$ac_save_CXXFLAGS |
CFLAGS=$ac_save_CFLAGS |
2148 |
elif test $ac_cv_prog_cxx_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
2149 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
2150 |
CXXFLAGS="-g -O2" |
CFLAGS="-g -O2" |
2151 |
else |
else |
2152 |
CXXFLAGS="-g" |
CFLAGS="-g" |
2153 |
fi |
fi |
2154 |
else |
else |
2155 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
2156 |
CXXFLAGS="-O2" |
CFLAGS="-O2" |
2157 |
else |
else |
2158 |
CXXFLAGS= |
CFLAGS= |
2159 |
fi |
fi |
2160 |
fi |
fi |
2161 |
for ac_declaration in \ |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2162 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2163 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2164 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2165 |
|
else |
2166 |
|
ac_cv_prog_cc_stdc=no |
2167 |
|
ac_save_CC=$CC |
2168 |
|
cat >conftest.$ac_ext <<_ACEOF |
2169 |
|
/* confdefs.h. */ |
2170 |
|
_ACEOF |
2171 |
|
cat confdefs.h >>conftest.$ac_ext |
2172 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2173 |
|
/* end confdefs.h. */ |
2174 |
|
#include <stdarg.h> |
2175 |
|
#include <stdio.h> |
2176 |
|
#include <sys/types.h> |
2177 |
|
#include <sys/stat.h> |
2178 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2179 |
|
struct buf { int x; }; |
2180 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2181 |
|
static char *e (p, i) |
2182 |
|
char **p; |
2183 |
|
int i; |
2184 |
|
{ |
2185 |
|
return p[i]; |
2186 |
|
} |
2187 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2188 |
|
{ |
2189 |
|
char *s; |
2190 |
|
va_list v; |
2191 |
|
va_start (v,p); |
2192 |
|
s = g (p, va_arg (v,int)); |
2193 |
|
va_end (v); |
2194 |
|
return s; |
2195 |
|
} |
2196 |
|
|
2197 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2198 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
2199 |
|
These don't provoke an error unfortunately, instead are silently treated |
2200 |
|
as 'x'. The following induces an error, until -std1 is added to get |
2201 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2202 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
2203 |
|
that's true only with -std1. */ |
2204 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2205 |
|
|
2206 |
|
int test (int i, double x); |
2207 |
|
struct s1 {int (*f) (int a);}; |
2208 |
|
struct s2 {int (*f) (double a);}; |
2209 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2210 |
|
int argc; |
2211 |
|
char **argv; |
2212 |
|
int |
2213 |
|
main () |
2214 |
|
{ |
2215 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2216 |
|
; |
2217 |
|
return 0; |
2218 |
|
} |
2219 |
|
_ACEOF |
2220 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2221 |
|
# breaks some systems' header files. |
2222 |
|
# AIX -qlanglvl=ansi |
2223 |
|
# Ultrix and OSF/1 -std1 |
2224 |
|
# HP-UX 10.20 and later -Ae |
2225 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2226 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2227 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2228 |
|
do |
2229 |
|
CC="$ac_save_CC $ac_arg" |
2230 |
|
rm -f conftest.$ac_objext |
2231 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2232 |
|
(eval $ac_compile) 2>conftest.er1 |
2233 |
|
ac_status=$? |
2234 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2235 |
|
rm -f conftest.er1 |
2236 |
|
cat conftest.err >&5 |
2237 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2238 |
|
(exit $ac_status); } && |
2239 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2240 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2241 |
|
(eval $ac_try) 2>&5 |
2242 |
|
ac_status=$? |
2243 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2244 |
|
(exit $ac_status); }; } && |
2245 |
|
{ ac_try='test -s conftest.$ac_objext' |
2246 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2247 |
|
(eval $ac_try) 2>&5 |
2248 |
|
ac_status=$? |
2249 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2250 |
|
(exit $ac_status); }; }; then |
2251 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2252 |
|
break |
2253 |
|
else |
2254 |
|
echo "$as_me: failed program was:" >&5 |
2255 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2256 |
|
|
2257 |
|
fi |
2258 |
|
rm -f conftest.err conftest.$ac_objext |
2259 |
|
done |
2260 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2261 |
|
CC=$ac_save_CC |
2262 |
|
|
2263 |
|
fi |
2264 |
|
|
2265 |
|
case "x$ac_cv_prog_cc_stdc" in |
2266 |
|
x|xno) |
2267 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2268 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2269 |
|
*) |
2270 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2271 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2272 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2273 |
|
esac |
2274 |
|
|
2275 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2276 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2277 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2278 |
|
# the declaration of exit, since it's the most demanding environment. |
2279 |
|
cat >conftest.$ac_ext <<_ACEOF |
2280 |
|
#ifndef __cplusplus |
2281 |
|
choke me |
2282 |
|
#endif |
2283 |
|
_ACEOF |
2284 |
|
rm -f conftest.$ac_objext |
2285 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2286 |
|
(eval $ac_compile) 2>conftest.er1 |
2287 |
|
ac_status=$? |
2288 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2289 |
|
rm -f conftest.er1 |
2290 |
|
cat conftest.err >&5 |
2291 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2292 |
|
(exit $ac_status); } && |
2293 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2294 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2295 |
|
(eval $ac_try) 2>&5 |
2296 |
|
ac_status=$? |
2297 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2298 |
|
(exit $ac_status); }; } && |
2299 |
|
{ ac_try='test -s conftest.$ac_objext' |
2300 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2301 |
|
(eval $ac_try) 2>&5 |
2302 |
|
ac_status=$? |
2303 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2304 |
|
(exit $ac_status); }; }; then |
2305 |
|
for ac_declaration in \ |
2306 |
'' \ |
'' \ |
2307 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2308 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
2311 |
'void exit (int);' |
'void exit (int);' |
2312 |
do |
do |
2313 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2314 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2315 |
_ACEOF |
_ACEOF |
2316 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2328 |
_ACEOF |
_ACEOF |
2329 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2330 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2331 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2332 |
ac_status=$? |
ac_status=$? |
2333 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2334 |
|
rm -f conftest.er1 |
2335 |
|
cat conftest.err >&5 |
2336 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2337 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2338 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2339 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2340 |
|
(eval $ac_try) 2>&5 |
2341 |
|
ac_status=$? |
2342 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2343 |
|
(exit $ac_status); }; } && |
2344 |
|
{ ac_try='test -s conftest.$ac_objext' |
2345 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2346 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2347 |
ac_status=$? |
ac_status=$? |
2354 |
|
|
2355 |
continue |
continue |
2356 |
fi |
fi |
2357 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2358 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2359 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2360 |
_ACEOF |
_ACEOF |
2361 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2372 |
_ACEOF |
_ACEOF |
2373 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2374 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2375 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2376 |
ac_status=$? |
ac_status=$? |
2377 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2378 |
|
rm -f conftest.er1 |
2379 |
|
cat conftest.err >&5 |
2380 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2381 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2382 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2383 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2384 |
|
(eval $ac_try) 2>&5 |
2385 |
|
ac_status=$? |
2386 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2387 |
|
(exit $ac_status); }; } && |
2388 |
|
{ ac_try='test -s conftest.$ac_objext' |
2389 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2390 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2391 |
ac_status=$? |
ac_status=$? |
2397 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2398 |
|
|
2399 |
fi |
fi |
2400 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2401 |
done |
done |
2402 |
rm -f conftest* |
rm -f conftest* |
2403 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
2406 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
2407 |
fi |
fi |
2408 |
|
|
2409 |
ac_ext=cc |
else |
2410 |
ac_cpp='$CXXCPP $CPPFLAGS' |
echo "$as_me: failed program was:" >&5 |
2411 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
sed 's/^/| /' conftest.$ac_ext >&5 |
2412 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2413 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
fi |
2414 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2415 |
|
ac_ext=c |
2416 |
|
ac_cpp='$CPP $CPPFLAGS' |
2417 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2418 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2419 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2420 |
|
|
2421 |
|
|
2422 |
|
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
2423 |
|
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
2424 |
|
if test "${ac_cv_c_bigendian+set}" = set; then |
2425 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2426 |
|
else |
2427 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
2428 |
|
cat >conftest.$ac_ext <<_ACEOF |
2429 |
|
/* confdefs.h. */ |
2430 |
|
_ACEOF |
2431 |
|
cat confdefs.h >>conftest.$ac_ext |
2432 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2433 |
|
/* end confdefs.h. */ |
2434 |
|
#include <sys/types.h> |
2435 |
|
#include <sys/param.h> |
2436 |
|
|
2437 |
|
int |
2438 |
|
main () |
2439 |
|
{ |
2440 |
|
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
2441 |
|
bogus endian macros |
2442 |
|
#endif |
2443 |
|
|
2444 |
|
; |
2445 |
|
return 0; |
2446 |
|
} |
2447 |
|
_ACEOF |
2448 |
|
rm -f conftest.$ac_objext |
2449 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2450 |
|
(eval $ac_compile) 2>conftest.er1 |
2451 |
|
ac_status=$? |
2452 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2453 |
|
rm -f conftest.er1 |
2454 |
|
cat conftest.err >&5 |
2455 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2456 |
|
(exit $ac_status); } && |
2457 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2458 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2459 |
|
(eval $ac_try) 2>&5 |
2460 |
|
ac_status=$? |
2461 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2462 |
|
(exit $ac_status); }; } && |
2463 |
|
{ ac_try='test -s conftest.$ac_objext' |
2464 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2465 |
|
(eval $ac_try) 2>&5 |
2466 |
|
ac_status=$? |
2467 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2468 |
|
(exit $ac_status); }; }; then |
2469 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
2470 |
|
cat >conftest.$ac_ext <<_ACEOF |
2471 |
|
/* confdefs.h. */ |
2472 |
|
_ACEOF |
2473 |
|
cat confdefs.h >>conftest.$ac_ext |
2474 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2475 |
|
/* end confdefs.h. */ |
2476 |
|
#include <sys/types.h> |
2477 |
|
#include <sys/param.h> |
2478 |
|
|
2479 |
|
int |
2480 |
|
main () |
2481 |
|
{ |
2482 |
|
#if BYTE_ORDER != BIG_ENDIAN |
2483 |
|
not big endian |
2484 |
|
#endif |
2485 |
|
|
2486 |
|
; |
2487 |
|
return 0; |
2488 |
|
} |
2489 |
|
_ACEOF |
2490 |
|
rm -f conftest.$ac_objext |
2491 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2492 |
|
(eval $ac_compile) 2>conftest.er1 |
2493 |
|
ac_status=$? |
2494 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2495 |
|
rm -f conftest.er1 |
2496 |
|
cat conftest.err >&5 |
2497 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2498 |
|
(exit $ac_status); } && |
2499 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2500 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2501 |
|
(eval $ac_try) 2>&5 |
2502 |
|
ac_status=$? |
2503 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2504 |
|
(exit $ac_status); }; } && |
2505 |
|
{ ac_try='test -s conftest.$ac_objext' |
2506 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2507 |
|
(eval $ac_try) 2>&5 |
2508 |
|
ac_status=$? |
2509 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2510 |
|
(exit $ac_status); }; }; then |
2511 |
|
ac_cv_c_bigendian=yes |
2512 |
|
else |
2513 |
|
echo "$as_me: failed program was:" >&5 |
2514 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2515 |
|
|
2516 |
|
ac_cv_c_bigendian=no |
2517 |
|
fi |
2518 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2519 |
|
else |
2520 |
|
echo "$as_me: failed program was:" >&5 |
2521 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2522 |
|
|
2523 |
|
# It does not; compile a test program. |
2524 |
|
if test "$cross_compiling" = yes; then |
2525 |
|
# try to guess the endianness by grepping values into an object file |
2526 |
|
ac_cv_c_bigendian=unknown |
2527 |
|
cat >conftest.$ac_ext <<_ACEOF |
2528 |
|
/* confdefs.h. */ |
2529 |
|
_ACEOF |
2530 |
|
cat confdefs.h >>conftest.$ac_ext |
2531 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2532 |
|
/* end confdefs.h. */ |
2533 |
|
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
2534 |
|
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
2535 |
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
2536 |
|
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
2537 |
|
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
2538 |
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
2539 |
|
int |
2540 |
|
main () |
2541 |
|
{ |
2542 |
|
_ascii (); _ebcdic (); |
2543 |
|
; |
2544 |
|
return 0; |
2545 |
|
} |
2546 |
|
_ACEOF |
2547 |
|
rm -f conftest.$ac_objext |
2548 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2549 |
|
(eval $ac_compile) 2>conftest.er1 |
2550 |
|
ac_status=$? |
2551 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2552 |
|
rm -f conftest.er1 |
2553 |
|
cat conftest.err >&5 |
2554 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2555 |
|
(exit $ac_status); } && |
2556 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2557 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2558 |
|
(eval $ac_try) 2>&5 |
2559 |
|
ac_status=$? |
2560 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2561 |
|
(exit $ac_status); }; } && |
2562 |
|
{ ac_try='test -s conftest.$ac_objext' |
2563 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2564 |
|
(eval $ac_try) 2>&5 |
2565 |
|
ac_status=$? |
2566 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2567 |
|
(exit $ac_status); }; }; then |
2568 |
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
2569 |
|
ac_cv_c_bigendian=yes |
2570 |
|
fi |
2571 |
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
2572 |
|
if test "$ac_cv_c_bigendian" = unknown; then |
2573 |
|
ac_cv_c_bigendian=no |
2574 |
|
else |
2575 |
|
# finding both strings is unlikely to happen, but who knows? |
2576 |
|
ac_cv_c_bigendian=unknown |
2577 |
|
fi |
2578 |
|
fi |
2579 |
|
else |
2580 |
|
echo "$as_me: failed program was:" >&5 |
2581 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2582 |
|
|
2583 |
|
fi |
2584 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2585 |
|
else |
2586 |
|
cat >conftest.$ac_ext <<_ACEOF |
2587 |
|
/* confdefs.h. */ |
2588 |
|
_ACEOF |
2589 |
|
cat confdefs.h >>conftest.$ac_ext |
2590 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2591 |
|
/* end confdefs.h. */ |
2592 |
|
int |
2593 |
|
main () |
2594 |
|
{ |
2595 |
|
/* Are we little or big endian? From Harbison&Steele. */ |
2596 |
|
union |
2597 |
|
{ |
2598 |
|
long l; |
2599 |
|
char c[sizeof (long)]; |
2600 |
|
} u; |
2601 |
|
u.l = 1; |
2602 |
|
exit (u.c[sizeof (long) - 1] == 1); |
2603 |
|
} |
2604 |
|
_ACEOF |
2605 |
|
rm -f conftest$ac_exeext |
2606 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2607 |
|
(eval $ac_link) 2>&5 |
2608 |
|
ac_status=$? |
2609 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2610 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2611 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2612 |
|
(eval $ac_try) 2>&5 |
2613 |
|
ac_status=$? |
2614 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2615 |
|
(exit $ac_status); }; }; then |
2616 |
|
ac_cv_c_bigendian=no |
2617 |
|
else |
2618 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
2619 |
|
echo "$as_me: failed program was:" >&5 |
2620 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2621 |
|
|
2622 |
|
( exit $ac_status ) |
2623 |
|
ac_cv_c_bigendian=yes |
2624 |
|
fi |
2625 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2626 |
|
fi |
2627 |
|
fi |
2628 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2629 |
|
fi |
2630 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
2631 |
|
echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
2632 |
|
case $ac_cv_c_bigendian in |
2633 |
|
yes) |
2634 |
|
|
2635 |
|
cat >>confdefs.h <<\_ACEOF |
2636 |
|
#define WORDS_BIGENDIAN 1 |
2637 |
|
_ACEOF |
2638 |
|
;; |
2639 |
|
no) |
2640 |
|
;; |
2641 |
|
*) |
2642 |
|
{ { echo "$as_me:$LINENO: error: unknown endianness |
2643 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
2644 |
|
echo "$as_me: error: unknown endianness |
2645 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
2646 |
|
{ (exit 1); exit 1; }; } ;; |
2647 |
|
esac |
2648 |
|
|
2649 |
|
|
2650 |
|
# Add the stamp file to the list of files AC keeps track of, |
2651 |
|
# along with our hook. |
2652 |
|
ac_config_headers="$ac_config_headers config.h" |
2653 |
|
|
2654 |
|
|
2655 |
|
|
2656 |
|
am__api_version="1.6" |
2657 |
|
ac_aux_dir= |
2658 |
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
2659 |
|
if test -f $ac_dir/install-sh; then |
2660 |
|
ac_aux_dir=$ac_dir |
2661 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
2662 |
|
break |
2663 |
|
elif test -f $ac_dir/install.sh; then |
2664 |
|
ac_aux_dir=$ac_dir |
2665 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
2666 |
|
break |
2667 |
|
elif test -f $ac_dir/shtool; then |
2668 |
|
ac_aux_dir=$ac_dir |
2669 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
2670 |
|
break |
2671 |
|
fi |
2672 |
|
done |
2673 |
|
if test -z "$ac_aux_dir"; then |
2674 |
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
2675 |
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2676 |
|
{ (exit 1); exit 1; }; } |
2677 |
|
fi |
2678 |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
2679 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
2680 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
2681 |
|
|
2682 |
|
# Find a good install program. We prefer a C program (faster), |
2683 |
|
# so one script is as good as another. But avoid the broken or |
2684 |
|
# incompatible versions: |
2685 |
|
# SysV /etc/install, /usr/sbin/install |
2686 |
|
# SunOS /usr/etc/install |
2687 |
|
# IRIX /sbin/install |
2688 |
|
# AIX /bin/install |
2689 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2690 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2691 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2692 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2693 |
|
# OS/2's system install, which has a completely different semantic |
2694 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
2695 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2696 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2697 |
|
if test -z "$INSTALL"; then |
2698 |
|
if test "${ac_cv_path_install+set}" = set; then |
2699 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2700 |
|
else |
2701 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2702 |
|
for as_dir in $PATH |
2703 |
|
do |
2704 |
|
IFS=$as_save_IFS |
2705 |
|
test -z "$as_dir" && as_dir=. |
2706 |
|
# Account for people who put trailing slashes in PATH elements. |
2707 |
|
case $as_dir/ in |
2708 |
|
./ | .// | /cC/* | \ |
2709 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2710 |
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2711 |
|
/usr/ucb/* ) ;; |
2712 |
|
*) |
2713 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
2714 |
|
# Don't use installbsd from OSF since it installs stuff as root |
2715 |
|
# by default. |
2716 |
|
for ac_prog in ginstall scoinst install; do |
2717 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2718 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2719 |
|
if test $ac_prog = install && |
2720 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2721 |
|
# AIX install. It has an incompatible calling convention. |
2722 |
|
: |
2723 |
|
elif test $ac_prog = install && |
2724 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2725 |
|
# program-specific install script used by HP pwplus--don't use. |
2726 |
|
: |
2727 |
|
else |
2728 |
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2729 |
|
break 3 |
2730 |
|
fi |
2731 |
|
fi |
2732 |
|
done |
2733 |
|
done |
2734 |
|
;; |
2735 |
|
esac |
2736 |
|
done |
2737 |
|
|
2738 |
|
|
2739 |
|
fi |
2740 |
|
if test "${ac_cv_path_install+set}" = set; then |
2741 |
|
INSTALL=$ac_cv_path_install |
2742 |
|
else |
2743 |
|
# As a last resort, use the slow shell script. We don't cache a |
2744 |
|
# path for INSTALL within a source directory, because that will |
2745 |
|
# break other packages using the cache if that directory is |
2746 |
|
# removed, or if the path is relative. |
2747 |
|
INSTALL=$ac_install_sh |
2748 |
|
fi |
2749 |
|
fi |
2750 |
|
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2751 |
|
echo "${ECHO_T}$INSTALL" >&6 |
2752 |
|
|
2753 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2754 |
|
# It thinks the first close brace ends the variable substitution. |
2755 |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2756 |
|
|
2757 |
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2758 |
|
|
2759 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2760 |
|
|
2761 |
|
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2762 |
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
2763 |
|
# Just in case |
2764 |
|
sleep 1 |
2765 |
|
echo timestamp > conftest.file |
2766 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
2767 |
|
# arguments. Must try -L first in case configure is actually a |
2768 |
|
# symlink; some systems play weird games with the mod time of symlinks |
2769 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
2770 |
|
# directory). |
2771 |
|
if ( |
2772 |
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
2773 |
|
if test "$*" = "X"; then |
2774 |
|
# -L didn't work. |
2775 |
|
set X `ls -t $srcdir/configure conftest.file` |
2776 |
|
fi |
2777 |
|
rm -f conftest.file |
2778 |
|
if test "$*" != "X $srcdir/configure conftest.file" \ |
2779 |
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2780 |
|
|
2781 |
|
# If neither matched, then we have a broken ls. This can happen |
2782 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2783 |
|
# broken ls alias from the environment. This has actually |
2784 |
|
# happened. Such a system could not be considered "sane". |
2785 |
|
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
2786 |
|
alias in your environment" >&5 |
2787 |
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
2788 |
|
alias in your environment" >&2;} |
2789 |
|
{ (exit 1); exit 1; }; } |
2790 |
|
fi |
2791 |
|
|
2792 |
|
test "$2" = conftest.file |
2793 |
|
) |
2794 |
|
then |
2795 |
|
# Ok. |
2796 |
|
: |
2797 |
|
else |
2798 |
|
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
2799 |
|
Check your system clock" >&5 |
2800 |
|
echo "$as_me: error: newly created file is older than distributed files! |
2801 |
|
Check your system clock" >&2;} |
2802 |
|
{ (exit 1); exit 1; }; } |
2803 |
|
fi |
2804 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
2805 |
|
echo "${ECHO_T}yes" >&6 |
2806 |
|
test "$program_prefix" != NONE && |
2807 |
|
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
2808 |
|
# Use a double $ so make ignores it. |
2809 |
|
test "$program_suffix" != NONE && |
2810 |
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
2811 |
|
# Double any \ or $. echo might interpret backslashes. |
2812 |
|
# By default was `s,x,x', remove it if useless. |
2813 |
|
cat <<\_ACEOF >conftest.sed |
2814 |
|
s/[\\$]/&&/g;s/;s,x,x,$// |
2815 |
|
_ACEOF |
2816 |
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2817 |
|
rm conftest.sed |
2818 |
|
|
2819 |
|
|
2820 |
|
# expand $ac_aux_dir to an absolute path |
2821 |
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
2822 |
|
|
2823 |
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2824 |
|
# Use eval to expand $SHELL |
2825 |
|
if eval "$MISSING --run true"; then |
2826 |
|
am_missing_run="$MISSING --run " |
2827 |
|
else |
2828 |
|
am_missing_run= |
2829 |
|
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2830 |
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2831 |
|
fi |
2832 |
|
|
2833 |
|
for ac_prog in gawk mawk nawk awk |
2834 |
|
do |
2835 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2836 |
|
set dummy $ac_prog; ac_word=$2 |
2837 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2838 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2839 |
|
if test "${ac_cv_prog_AWK+set}" = set; then |
2840 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2841 |
|
else |
2842 |
|
if test -n "$AWK"; then |
2843 |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2844 |
|
else |
2845 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2846 |
|
for as_dir in $PATH |
2847 |
|
do |
2848 |
|
IFS=$as_save_IFS |
2849 |
|
test -z "$as_dir" && as_dir=. |
2850 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2851 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2852 |
|
ac_cv_prog_AWK="$ac_prog" |
2853 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2854 |
|
break 2 |
2855 |
|
fi |
2856 |
|
done |
2857 |
|
done |
2858 |
|
|
2859 |
|
fi |
2860 |
|
fi |
2861 |
|
AWK=$ac_cv_prog_AWK |
2862 |
|
if test -n "$AWK"; then |
2863 |
|
echo "$as_me:$LINENO: result: $AWK" >&5 |
2864 |
|
echo "${ECHO_T}$AWK" >&6 |
2865 |
|
else |
2866 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2867 |
|
echo "${ECHO_T}no" >&6 |
2868 |
|
fi |
2869 |
|
|
2870 |
|
test -n "$AWK" && break |
2871 |
|
done |
2872 |
|
|
2873 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2874 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
2875 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
2876 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
2877 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2878 |
|
else |
2879 |
|
cat >conftest.make <<\_ACEOF |
2880 |
|
all: |
2881 |
|
@echo 'ac_maketemp="$(MAKE)"' |
2882 |
|
_ACEOF |
2883 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2884 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
2885 |
|
if test -n "$ac_maketemp"; then |
2886 |
|
eval ac_cv_prog_make_${ac_make}_set=yes |
2887 |
|
else |
2888 |
|
eval ac_cv_prog_make_${ac_make}_set=no |
2889 |
|
fi |
2890 |
|
rm -f conftest.make |
2891 |
|
fi |
2892 |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
2893 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
2894 |
|
echo "${ECHO_T}yes" >&6 |
2895 |
|
SET_MAKE= |
2896 |
|
else |
2897 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2898 |
|
echo "${ECHO_T}no" >&6 |
2899 |
|
SET_MAKE="MAKE=${MAKE-make}" |
2900 |
|
fi |
2901 |
|
|
2902 |
rm -f .deps 2>/dev/null |
rm -f .deps 2>/dev/null |
2903 |
mkdir .deps 2>/dev/null |
mkdir .deps 2>/dev/null |
2904 |
if test -d .deps; then |
if test -d .deps; then |
2972 |
|
|
2973 |
|
|
2974 |
|
|
2975 |
|
# test to see if srcdir already configured |
2976 |
|
if test "`cd $srcdir && pwd`" != "`pwd`" && |
2977 |
|
test -f $srcdir/config.status; then |
2978 |
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
2979 |
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
2980 |
|
{ (exit 1); exit 1; }; } |
2981 |
|
fi |
2982 |
|
|
2983 |
depcc="$CXX" am_compiler_list= |
# Define the identity of the package. |
2984 |
|
PACKAGE=libgig |
2985 |
|
VERSION=0.1 |
2986 |
|
|
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
|
|
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
|
# We make a subdir and do the tests there. Otherwise we can end up |
|
|
# making bogus files that we don't know about and never remove. For |
|
|
# instance it was reported that on HP-UX the gcc test will end up |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output |
|
|
# in D'. |
|
|
mkdir conftest.dir |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
|
# using a relative directory. |
|
|
cp "$am_depcomp" conftest.dir |
|
|
cd conftest.dir |
|
2987 |
|
|
2988 |
am_cv_CXX_dependencies_compiler_type=none |
cat >>confdefs.h <<_ACEOF |
2989 |
if test "$am_compiler_list" = ""; then |
#define PACKAGE "$PACKAGE" |
2990 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
_ACEOF |
|
fi |
|
|
for depmode in $am_compiler_list; do |
|
|
# We need to recreate these files for each test, as the compiler may |
|
|
# overwrite some of them when testing with obscure command lines. |
|
|
# This happens at least with the AIX C compiler. |
|
|
echo '#include "conftest.h"' > conftest.c |
|
|
echo 'int i;' > conftest.h |
|
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
|
2991 |
|
|
|
case $depmode in |
|
|
nosideeffect) |
|
|
# after this tag, mechanisms are not by side-effect, so they'll |
|
|
# only be used when explicitly requested |
|
|
if test "x$enable_dependency_tracking" = xyes; then |
|
|
continue |
|
|
else |
|
|
break |
|
|
fi |
|
|
;; |
|
|
none) break ;; |
|
|
esac |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly |
|
|
# handle `-M -o', and we need to detect this. |
|
|
if depmode=$depmode \ |
|
|
source=conftest.c object=conftest.o \ |
|
|
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
|
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
|
|
grep conftest.h conftest.Po > /dev/null 2>&1 && |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
|
am_cv_CXX_dependencies_compiler_type=$depmode |
|
|
break |
|
|
fi |
|
|
done |
|
2992 |
|
|
2993 |
cd .. |
cat >>confdefs.h <<_ACEOF |
2994 |
rm -rf conftest.dir |
#define VERSION "$VERSION" |
2995 |
else |
_ACEOF |
|
am_cv_CXX_dependencies_compiler_type=none |
|
|
fi |
|
2996 |
|
|
2997 |
fi |
# Some tools Automake needs. |
|
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
|
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
|
|
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
2998 |
|
|
2999 |
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3000 |
|
|
|
# Check whether --enable-shared or --disable-shared was given. |
|
|
if test "${enable_shared+set}" = set; then |
|
|
enableval="$enable_shared" |
|
|
p=${PACKAGE-default} |
|
|
case $enableval in |
|
|
yes) enable_shared=yes ;; |
|
|
no) enable_shared=no ;; |
|
|
*) |
|
|
enable_shared=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_shared=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
|
else |
|
|
enable_shared=yes |
|
|
fi; |
|
3001 |
|
|
3002 |
# Check whether --enable-static or --disable-static was given. |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
if test "${enable_static+set}" = set; then |
|
|
enableval="$enable_static" |
|
|
p=${PACKAGE-default} |
|
|
case $enableval in |
|
|
yes) enable_static=yes ;; |
|
|
no) enable_static=no ;; |
|
|
*) |
|
|
enable_static=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_static=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
|
else |
|
|
enable_static=yes |
|
|
fi; |
|
3003 |
|
|
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
|
|
if test "${enable_fast_install+set}" = set; then |
|
|
enableval="$enable_fast_install" |
|
|
p=${PACKAGE-default} |
|
|
case $enableval in |
|
|
yes) enable_fast_install=yes ;; |
|
|
no) enable_fast_install=no ;; |
|
|
*) |
|
|
enable_fast_install=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_fast_install=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
|
else |
|
|
enable_fast_install=yes |
|
|
fi; |
|
3004 |
|
|
3005 |
# Make sure we can run config.sub. |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
3006 |
|
|
|
echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
if test "${ac_cv_build+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_cv_build_alias=$build_alias |
|
|
test -z "$ac_cv_build_alias" && |
|
|
ac_cv_build_alias=`$ac_config_guess` |
|
|
test -z "$ac_cv_build_alias" && |
|
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
3007 |
|
|
3008 |
fi |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
build=$ac_cv_build |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
3009 |
|
|
3010 |
|
|
3011 |
echo "$as_me:$LINENO: checking host system type" >&5 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
if test "${ac_cv_host+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_cv_host_alias=$host_alias |
|
|
test -z "$ac_cv_host_alias" && |
|
|
ac_cv_host_alias=$ac_cv_build_alias |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
3012 |
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
host=$ac_cv_host |
|
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
3013 |
|
|
3014 |
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
3015 |
|
|
3016 |
ac_ext=c |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
3017 |
ac_cpp='$CPP $CPPFLAGS' |
|
3018 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
# Installed binaries are usually stripped using `strip' when the user |
3019 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
# run `make install-strip'. However `strip' might not be the right |
3020 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
# tool to use in cross-compilation environments, therefore Automake |
3021 |
if test -n "$ac_tool_prefix"; then |
# will honor the `STRIP' environment variable to overrule this program. |
3022 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
if test "$cross_compiling" != no; then |
3023 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
if test -n "$ac_tool_prefix"; then |
3024 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3025 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3026 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3027 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3028 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_STRIP+set}" = set; then |
3029 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3030 |
else |
else |
3031 |
if test -n "$CC"; then |
if test -n "$STRIP"; then |
3032 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3033 |
else |
else |
3034 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3035 |
for as_dir in $PATH |
for as_dir in $PATH |
3038 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3039 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3040 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3041 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3042 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3043 |
break 2 |
break 2 |
3044 |
fi |
fi |
3047 |
|
|
3048 |
fi |
fi |
3049 |
fi |
fi |
3050 |
CC=$ac_cv_prog_CC |
STRIP=$ac_cv_prog_STRIP |
3051 |
if test -n "$CC"; then |
if test -n "$STRIP"; then |
3052 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
3053 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$STRIP" >&6 |
3054 |
else |
else |
3055 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3056 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3057 |
fi |
fi |
3058 |
|
|
3059 |
fi |
fi |
3060 |
if test -z "$ac_cv_prog_CC"; then |
if test -z "$ac_cv_prog_STRIP"; then |
3061 |
ac_ct_CC=$CC |
ac_ct_STRIP=$STRIP |
3062 |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "strip", so it can be a program name with args. |
3063 |
set dummy gcc; ac_word=$2 |
set dummy strip; ac_word=$2 |
3064 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3065 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3066 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
3067 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3068 |
else |
else |
3069 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_STRIP"; then |
3070 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3071 |
else |
else |
3072 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3073 |
for as_dir in $PATH |
for as_dir in $PATH |
3076 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3077 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3078 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3079 |
ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_STRIP="strip" |
3080 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3081 |
break 2 |
break 2 |
3082 |
fi |
fi |
3083 |
done |
done |
3084 |
done |
done |
3085 |
|
|
3086 |
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
3087 |
fi |
fi |
3088 |
fi |
fi |
3089 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3090 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_STRIP"; then |
3091 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
3092 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
3093 |
else |
else |
3094 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3095 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3096 |
fi |
fi |
3097 |
|
|
3098 |
CC=$ac_ct_CC |
STRIP=$ac_ct_STRIP |
3099 |
else |
else |
3100 |
CC="$ac_cv_prog_CC" |
STRIP="$ac_cv_prog_STRIP" |
3101 |
fi |
fi |
3102 |
|
|
|
if test -z "$CC"; then |
|
|
if test -n "$ac_tool_prefix"; then |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
for as_dir in $PATH |
|
|
do |
|
|
IFS=$as_save_IFS |
|
|
test -z "$as_dir" && as_dir=. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
CC=$ac_cv_prog_CC |
|
|
if test -n "$CC"; then |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
echo "${ECHO_T}$CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
3103 |
fi |
fi |
3104 |
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
3105 |
|
|
3106 |
fi |
# We need awk for the "check" target. The system "awk" is bad on |
3107 |
if test -z "$ac_cv_prog_CC"; then |
# some platforms. |
|
ac_ct_CC=$CC |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
set dummy cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -n "$ac_ct_CC"; then |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
else |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
for as_dir in $PATH |
|
|
do |
|
|
IFS=$as_save_IFS |
|
|
test -z "$as_dir" && as_dir=. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_ac_ct_CC="cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
3108 |
|
|
|
fi |
|
|
fi |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
if test -n "$ac_ct_CC"; then |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
3109 |
|
|
3110 |
CC=$ac_ct_CC |
depcc="$CC" am_compiler_list= |
|
else |
|
|
CC="$ac_cv_prog_CC" |
|
|
fi |
|
3111 |
|
|
3112 |
fi |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3113 |
if test -z "$CC"; then |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
3114 |
# Extract the first word of "cc", so it can be a program name with args. |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
set dummy cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
|
3115 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3116 |
else |
else |
3117 |
if test -n "$CC"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3118 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
# We make a subdir and do the tests there. Otherwise we can end up |
3119 |
else |
# making bogus files that we don't know about and never remove. For |
3120 |
ac_prog_rejected=no |
# instance it was reported that on HP-UX the gcc test will end up |
3121 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
# making a dummy file named `D' -- because `-MD' means `put the output |
3122 |
for as_dir in $PATH |
# in D'. |
3123 |
do |
mkdir conftest.dir |
3124 |
IFS=$as_save_IFS |
# Copy depcomp to subdir because otherwise we won't find it if we're |
3125 |
test -z "$as_dir" && as_dir=. |
# using a relative directory. |
3126 |
for ac_exec_ext in '' $ac_executable_extensions; do |
cp "$am_depcomp" conftest.dir |
3127 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
cd conftest.dir |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
ac_prog_rejected=yes |
|
|
continue |
|
|
fi |
|
|
ac_cv_prog_CC="cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
3128 |
|
|
3129 |
if test $ac_prog_rejected = yes; then |
am_cv_CC_dependencies_compiler_type=none |
3130 |
# We found a bogon in the path, so make sure we never use it. |
if test "$am_compiler_list" = ""; then |
3131 |
set dummy $ac_cv_prog_CC |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
shift |
|
|
if test $# != 0; then |
|
|
# We chose a different compiler from the bogus one. |
|
|
# However, it has the same basename, so the bogon will be chosen |
|
|
# first if we set CC to just the basename; use the full file name. |
|
|
shift |
|
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3132 |
fi |
fi |
3133 |
fi |
for depmode in $am_compiler_list; do |
3134 |
fi |
# We need to recreate these files for each test, as the compiler may |
3135 |
fi |
# overwrite some of them when testing with obscure command lines. |
3136 |
CC=$ac_cv_prog_CC |
# This happens at least with the AIX C compiler. |
3137 |
if test -n "$CC"; then |
echo '#include "conftest.h"' > conftest.c |
3138 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo 'int i;' > conftest.h |
3139 |
echo "${ECHO_T}$CC" >&6 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
3140 |
|
|
3141 |
|
case $depmode in |
3142 |
|
nosideeffect) |
3143 |
|
# after this tag, mechanisms are not by side-effect, so they'll |
3144 |
|
# only be used when explicitly requested |
3145 |
|
if test "x$enable_dependency_tracking" = xyes; then |
3146 |
|
continue |
3147 |
|
else |
3148 |
|
break |
3149 |
|
fi |
3150 |
|
;; |
3151 |
|
none) break ;; |
3152 |
|
esac |
3153 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3154 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
3155 |
|
# handle `-M -o', and we need to detect this. |
3156 |
|
if depmode=$depmode \ |
3157 |
|
source=conftest.c object=conftest.o \ |
3158 |
|
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
3159 |
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
3160 |
|
grep conftest.h conftest.Po > /dev/null 2>&1 && |
3161 |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3162 |
|
am_cv_CC_dependencies_compiler_type=$depmode |
3163 |
|
break |
3164 |
|
fi |
3165 |
|
done |
3166 |
|
|
3167 |
|
cd .. |
3168 |
|
rm -rf conftest.dir |
3169 |
else |
else |
3170 |
echo "$as_me:$LINENO: result: no" >&5 |
am_cv_CC_dependencies_compiler_type=none |
|
echo "${ECHO_T}no" >&6 |
|
3171 |
fi |
fi |
3172 |
|
|
3173 |
fi |
fi |
3174 |
if test -z "$CC"; then |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3175 |
if test -n "$ac_tool_prefix"; then |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
3176 |
for ac_prog in cl |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3177 |
|
|
3178 |
|
|
3179 |
|
|
3180 |
|
|
3181 |
|
ac_ext=cc |
3182 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
3183 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3184 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3185 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3186 |
|
|
3187 |
|
ac_ext=cc |
3188 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
3189 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3190 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3191 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3192 |
|
if test -n "$ac_tool_prefix"; then |
3193 |
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
3194 |
do |
do |
3195 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3196 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3197 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3198 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3199 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CXX+set}" = set; then |
3200 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3201 |
else |
else |
3202 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
3203 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3204 |
else |
else |
3205 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3206 |
for as_dir in $PATH |
for as_dir in $PATH |
3209 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3210 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3211 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3212 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3213 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3214 |
break 2 |
break 2 |
3215 |
fi |
fi |
3218 |
|
|
3219 |
fi |
fi |
3220 |
fi |
fi |
3221 |
CC=$ac_cv_prog_CC |
CXX=$ac_cv_prog_CXX |
3222 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
3223 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
3224 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CXX" >&6 |
3225 |
else |
else |
3226 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3227 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3228 |
fi |
fi |
3229 |
|
|
3230 |
test -n "$CC" && break |
test -n "$CXX" && break |
3231 |
done |
done |
3232 |
fi |
fi |
3233 |
if test -z "$CC"; then |
if test -z "$CXX"; then |
3234 |
ac_ct_CC=$CC |
ac_ct_CXX=$CXX |
3235 |
for ac_prog in cl |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
3236 |
do |
do |
3237 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3238 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3239 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3240 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3241 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
3242 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3243 |
else |
else |
3244 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
3245 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3246 |
else |
else |
3247 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3248 |
for as_dir in $PATH |
for as_dir in $PATH |
3251 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3252 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3253 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3254 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
3255 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3256 |
break 2 |
break 2 |
3257 |
fi |
fi |
3260 |
|
|
3261 |
fi |
fi |
3262 |
fi |
fi |
3263 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3264 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
3265 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3266 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
3267 |
else |
else |
3268 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3269 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3270 |
fi |
fi |
3271 |
|
|
3272 |
test -n "$ac_ct_CC" && break |
test -n "$ac_ct_CXX" && break |
3273 |
done |
done |
3274 |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
3275 |
|
|
3276 |
CC=$ac_ct_CC |
CXX=$ac_ct_CXX |
|
fi |
|
|
|
|
3277 |
fi |
fi |
3278 |
|
|
3279 |
|
|
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
|
See \`config.log' for more details." >&5 |
|
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
|
See \`config.log' for more details." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
|
|
3280 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
3281 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
3282 |
"checking for C compiler version" >&5 |
"checking for C++ compiler version" >&5 |
3283 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
3284 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
3285 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
3297 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3298 |
(exit $ac_status); } |
(exit $ac_status); } |
3299 |
|
|
3300 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
3301 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
3302 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
3303 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3304 |
else |
else |
3305 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3306 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3307 |
_ACEOF |
_ACEOF |
3308 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3322 |
_ACEOF |
_ACEOF |
3323 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3324 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3325 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3326 |
ac_status=$? |
ac_status=$? |
3327 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3328 |
|
rm -f conftest.er1 |
3329 |
|
cat conftest.err >&5 |
3330 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3331 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3332 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3333 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3334 |
|
(eval $ac_try) 2>&5 |
3335 |
|
ac_status=$? |
3336 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3337 |
|
(exit $ac_status); }; } && |
3338 |
|
{ ac_try='test -s conftest.$ac_objext' |
3339 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3340 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3341 |
ac_status=$? |
ac_status=$? |
3348 |
|
|
3349 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
3350 |
fi |
fi |
3351 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3352 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3353 |
|
|
3354 |
fi |
fi |
3355 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3356 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
3357 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
3358 |
ac_test_CFLAGS=${CFLAGS+set} |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
3359 |
ac_save_CFLAGS=$CFLAGS |
ac_save_CXXFLAGS=$CXXFLAGS |
3360 |
CFLAGS="-g" |
CXXFLAGS="-g" |
3361 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3362 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
3363 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
3364 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3365 |
else |
else |
3366 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3367 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3368 |
_ACEOF |
_ACEOF |
3369 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3380 |
_ACEOF |
_ACEOF |
3381 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3382 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3383 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3384 |
ac_status=$? |
ac_status=$? |
3385 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3386 |
|
rm -f conftest.er1 |
3387 |
|
cat conftest.err >&5 |
3388 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3389 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3390 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3391 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3392 |
|
(eval $ac_try) 2>&5 |
3393 |
|
ac_status=$? |
3394 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3395 |
|
(exit $ac_status); }; } && |
3396 |
|
{ ac_try='test -s conftest.$ac_objext' |
3397 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3398 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3399 |
ac_status=$? |
ac_status=$? |
3400 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3401 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
3402 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cxx_g=yes |
3403 |
else |
else |
3404 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3405 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3406 |
|
|
3407 |
ac_cv_prog_cc_g=no |
ac_cv_prog_cxx_g=no |
3408 |
fi |
fi |
3409 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3410 |
fi |
fi |
3411 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3412 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
3413 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CXXFLAGS" = set; then |
3414 |
CFLAGS=$ac_save_CFLAGS |
CXXFLAGS=$ac_save_CXXFLAGS |
3415 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cxx_g = yes; then |
3416 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
3417 |
CFLAGS="-g -O2" |
CXXFLAGS="-g -O2" |
3418 |
else |
else |
3419 |
CFLAGS="-g" |
CXXFLAGS="-g" |
3420 |
fi |
fi |
3421 |
else |
else |
3422 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
3423 |
CFLAGS="-O2" |
CXXFLAGS="-O2" |
3424 |
else |
else |
3425 |
CFLAGS= |
CXXFLAGS= |
3426 |
fi |
fi |
3427 |
fi |
fi |
3428 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
for ac_declaration in \ |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_cv_prog_cc_stdc=no |
|
|
ac_save_CC=$CC |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
#line $LINENO "configure" |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <stdarg.h> |
|
|
#include <stdio.h> |
|
|
#include <sys/types.h> |
|
|
#include <sys/stat.h> |
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
struct buf { int x; }; |
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
static char *e (p, i) |
|
|
char **p; |
|
|
int i; |
|
|
{ |
|
|
return p[i]; |
|
|
} |
|
|
static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
{ |
|
|
char *s; |
|
|
va_list v; |
|
|
va_start (v,p); |
|
|
s = g (p, va_arg (v,int)); |
|
|
va_end (v); |
|
|
return s; |
|
|
} |
|
|
int test (int i, double x); |
|
|
struct s1 {int (*f) (int a);}; |
|
|
struct s2 {int (*f) (double a);}; |
|
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
int argc; |
|
|
char **argv; |
|
|
int |
|
|
main () |
|
|
{ |
|
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
# Don't try gcc -ansi; that turns off useful extensions and |
|
|
# breaks some systems' header files. |
|
|
# AIX -qlanglvl=ansi |
|
|
# Ultrix and OSF/1 -std1 |
|
|
# HP-UX 10.20 and later -Ae |
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
|
|
# SVR4 -Xc -D__EXTENSIONS__ |
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
do |
|
|
CC="$ac_save_CC $ac_arg" |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_prog_cc_stdc=$ac_arg |
|
|
break |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.$ac_objext |
|
|
done |
|
|
rm -f conftest.$ac_ext conftest.$ac_objext |
|
|
CC=$ac_save_CC |
|
|
|
|
|
fi |
|
|
|
|
|
case "x$ac_cv_prog_cc_stdc" in |
|
|
x|xno) |
|
|
echo "$as_me:$LINENO: result: none needed" >&5 |
|
|
echo "${ECHO_T}none needed" >&6 ;; |
|
|
*) |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
|
esac |
|
|
|
|
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
|
|
# in C++ we need to declare it. In case someone uses the same compiler |
|
|
# for both compiling C and C++ we need to have the C++ compiler decide |
|
|
# the declaration of exit, since it's the most demanding environment. |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
#ifndef __cplusplus |
|
|
choke me |
|
|
#endif |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
for ac_declaration in \ |
|
3429 |
'' \ |
'' \ |
3430 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3431 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
3434 |
'void exit (int);' |
'void exit (int);' |
3435 |
do |
do |
3436 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3437 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3438 |
_ACEOF |
_ACEOF |
3439 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3451 |
_ACEOF |
_ACEOF |
3452 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3453 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3454 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3455 |
ac_status=$? |
ac_status=$? |
3456 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3457 |
|
rm -f conftest.er1 |
3458 |
|
cat conftest.err >&5 |
3459 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3460 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3461 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3462 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3463 |
|
(eval $ac_try) 2>&5 |
3464 |
|
ac_status=$? |
3465 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3466 |
|
(exit $ac_status); }; } && |
3467 |
|
{ ac_try='test -s conftest.$ac_objext' |
3468 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3469 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3470 |
ac_status=$? |
ac_status=$? |
3477 |
|
|
3478 |
continue |
continue |
3479 |
fi |
fi |
3480 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3481 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3482 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3483 |
_ACEOF |
_ACEOF |
3484 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3495 |
_ACEOF |
_ACEOF |
3496 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3497 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3498 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3499 |
ac_status=$? |
ac_status=$? |
3500 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3501 |
|
rm -f conftest.er1 |
3502 |
|
cat conftest.err >&5 |
3503 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3504 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3505 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3506 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3507 |
|
(eval $ac_try) 2>&5 |
3508 |
|
ac_status=$? |
3509 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3510 |
|
(exit $ac_status); }; } && |
3511 |
|
{ ac_try='test -s conftest.$ac_objext' |
3512 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3513 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3514 |
ac_status=$? |
ac_status=$? |
3520 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3521 |
|
|
3522 |
fi |
fi |
3523 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3524 |
done |
done |
3525 |
rm -f conftest* |
rm -f conftest* |
3526 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
3529 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
3530 |
fi |
fi |
3531 |
|
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
3532 |
ac_ext=cc |
ac_ext=cc |
3533 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
3534 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3535 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3536 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3537 |
|
|
3538 |
depcc="$CC" am_compiler_list= |
depcc="$CXX" am_compiler_list= |
3539 |
|
|
3540 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3541 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
3542 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
3543 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3544 |
else |
else |
3545 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3554 |
cp "$am_depcomp" conftest.dir |
cp "$am_depcomp" conftest.dir |
3555 |
cd conftest.dir |
cd conftest.dir |
3556 |
|
|
3557 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
3558 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
3559 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
3560 |
fi |
fi |
3587 |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
3588 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
3589 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3590 |
am_cv_CC_dependencies_compiler_type=$depmode |
am_cv_CXX_dependencies_compiler_type=$depmode |
3591 |
break |
break |
3592 |
fi |
fi |
3593 |
done |
done |
3595 |
cd .. |
cd .. |
3596 |
rm -rf conftest.dir |
rm -rf conftest.dir |
3597 |
else |
else |
3598 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
3599 |
fi |
fi |
3600 |
|
|
3601 |
fi |
fi |
3602 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
3603 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
3604 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
3605 |
|
|
3606 |
|
|
3607 |
|
# Check whether --enable-shared or --disable-shared was given. |
3608 |
|
if test "${enable_shared+set}" = set; then |
3609 |
|
enableval="$enable_shared" |
3610 |
|
p=${PACKAGE-default} |
3611 |
|
case $enableval in |
3612 |
|
yes) enable_shared=yes ;; |
3613 |
|
no) enable_shared=no ;; |
3614 |
|
*) |
3615 |
|
enable_shared=no |
3616 |
|
# Look at the argument we got. We use all the common list separators. |
3617 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
3618 |
|
for pkg in $enableval; do |
3619 |
|
IFS="$lt_save_ifs" |
3620 |
|
if test "X$pkg" = "X$p"; then |
3621 |
|
enable_shared=yes |
3622 |
|
fi |
3623 |
|
done |
3624 |
|
IFS="$lt_save_ifs" |
3625 |
|
;; |
3626 |
|
esac |
3627 |
|
else |
3628 |
|
enable_shared=yes |
3629 |
|
fi; |
3630 |
|
|
3631 |
|
# Check whether --enable-static or --disable-static was given. |
3632 |
|
if test "${enable_static+set}" = set; then |
3633 |
|
enableval="$enable_static" |
3634 |
|
p=${PACKAGE-default} |
3635 |
|
case $enableval in |
3636 |
|
yes) enable_static=yes ;; |
3637 |
|
no) enable_static=no ;; |
3638 |
|
*) |
3639 |
|
enable_static=no |
3640 |
|
# Look at the argument we got. We use all the common list separators. |
3641 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
3642 |
|
for pkg in $enableval; do |
3643 |
|
IFS="$lt_save_ifs" |
3644 |
|
if test "X$pkg" = "X$p"; then |
3645 |
|
enable_static=yes |
3646 |
|
fi |
3647 |
|
done |
3648 |
|
IFS="$lt_save_ifs" |
3649 |
|
;; |
3650 |
|
esac |
3651 |
|
else |
3652 |
|
enable_static=yes |
3653 |
|
fi; |
3654 |
|
|
3655 |
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
3656 |
|
if test "${enable_fast_install+set}" = set; then |
3657 |
|
enableval="$enable_fast_install" |
3658 |
|
p=${PACKAGE-default} |
3659 |
|
case $enableval in |
3660 |
|
yes) enable_fast_install=yes ;; |
3661 |
|
no) enable_fast_install=no ;; |
3662 |
|
*) |
3663 |
|
enable_fast_install=no |
3664 |
|
# Look at the argument we got. We use all the common list separators. |
3665 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
3666 |
|
for pkg in $enableval; do |
3667 |
|
IFS="$lt_save_ifs" |
3668 |
|
if test "X$pkg" = "X$p"; then |
3669 |
|
enable_fast_install=yes |
3670 |
|
fi |
3671 |
|
done |
3672 |
|
IFS="$lt_save_ifs" |
3673 |
|
;; |
3674 |
|
esac |
3675 |
|
else |
3676 |
|
enable_fast_install=yes |
3677 |
|
fi; |
3678 |
|
|
3679 |
|
# Make sure we can run config.sub. |
3680 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
3681 |
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
3682 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
3683 |
|
{ (exit 1); exit 1; }; } |
3684 |
|
|
3685 |
|
echo "$as_me:$LINENO: checking build system type" >&5 |
3686 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
3687 |
|
if test "${ac_cv_build+set}" = set; then |
3688 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3689 |
|
else |
3690 |
|
ac_cv_build_alias=$build_alias |
3691 |
|
test -z "$ac_cv_build_alias" && |
3692 |
|
ac_cv_build_alias=`$ac_config_guess` |
3693 |
|
test -z "$ac_cv_build_alias" && |
3694 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3695 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
3696 |
|
{ (exit 1); exit 1; }; } |
3697 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
3698 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
3699 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
3700 |
|
{ (exit 1); exit 1; }; } |
3701 |
|
|
3702 |
|
fi |
3703 |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3704 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
3705 |
|
build=$ac_cv_build |
3706 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
3707 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
3708 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
3709 |
|
|
3710 |
|
|
3711 |
|
echo "$as_me:$LINENO: checking host system type" >&5 |
3712 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
3713 |
|
if test "${ac_cv_host+set}" = set; then |
3714 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3715 |
|
else |
3716 |
|
ac_cv_host_alias=$host_alias |
3717 |
|
test -z "$ac_cv_host_alias" && |
3718 |
|
ac_cv_host_alias=$ac_cv_build_alias |
3719 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
3720 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
3721 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
3722 |
|
{ (exit 1); exit 1; }; } |
3723 |
|
|
3724 |
|
fi |
3725 |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
3726 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
3727 |
|
host=$ac_cv_host |
3728 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
3729 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
3730 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
3731 |
|
|
3732 |
|
|
3733 |
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
4016 |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
4017 |
;; |
;; |
4018 |
|
|
4019 |
cygwin* | mingw* | pw32*) |
cygwin*) |
4020 |
# win32_libid is a shell function defined in ltmain.sh |
# func_win32_libid is a shell function defined in ltmain.sh |
4021 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
4022 |
lt_cv_file_magic_cmd='win32_libid' |
lt_cv_file_magic_cmd='func_win32_libid' |
4023 |
|
;; |
4024 |
|
|
4025 |
|
mingw* | pw32*) |
4026 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
4027 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump'. |
4028 |
|
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
4029 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
4030 |
;; |
;; |
4031 |
|
|
4032 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
|
# this will be overwritten by pass_all, but leave it in just in case |
|
|
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
|
|
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
|
case "$host_os" in |
|
|
rhapsody* | darwin1.[012]) |
|
|
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` |
|
|
;; |
|
|
*) # Darwin 1.3 on |
|
|
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' |
|
|
;; |
|
|
esac |
|
4033 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4034 |
;; |
;; |
4035 |
|
|
4072 |
;; |
;; |
4073 |
|
|
4074 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
4075 |
case $host_os in |
case $LD in |
4076 |
irix5* | nonstopux*) |
*-32|*"-32 ") libmagic=32-bit;; |
4077 |
# this will be overridden with pass_all, but let us keep it just in case |
*-n32|*"-n32 ") libmagic=N32;; |
4078 |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
*-64|*"-64 ") libmagic=64-bit;; |
4079 |
;; |
*) libmagic=never-match;; |
|
*) |
|
|
case $LD in |
|
|
*-32|*"-32 ") libmagic=32-bit;; |
|
|
*-n32|*"-n32 ") libmagic=N32;; |
|
|
*-64|*"-64 ") libmagic=64-bit;; |
|
|
*) libmagic=never-match;; |
|
|
esac |
|
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" |
|
|
;; |
|
4080 |
esac |
esac |
|
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` |
|
4081 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4082 |
;; |
;; |
4083 |
|
|
4084 |
# This must be Linux ELF. |
# This must be Linux ELF. |
4085 |
linux*) |
linux*) |
|
# linux always uses pass_all now, this code is the old way (tm) |
|
|
case $host_cpu in |
|
|
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*) |
|
|
lt_cv_deplibs_check_method=pass_all ;; |
|
|
*) |
|
|
# glibc up to 2.1.1 does not perform some relocations on ARM |
|
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
|
|
esac |
|
4086 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
|
4087 |
;; |
;; |
4088 |
|
|
4089 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
4090 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
4091 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
4092 |
else |
else |
4115 |
;; |
;; |
4116 |
|
|
4117 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
|
|
lt_cv_file_magic_test_file=/shlib/libc.so |
|
4118 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4119 |
;; |
;; |
4120 |
|
|
4124 |
|
|
4125 |
solaris*) |
solaris*) |
4126 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
lt_cv_file_magic_test_file=/lib/libc.so |
|
4127 |
;; |
;; |
4128 |
|
|
4129 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
4171 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
4172 |
compiler=$CC |
compiler=$CC |
4173 |
|
|
|
|
|
4174 |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
4175 |
if test "${enable_libtool_lock+set}" = set; then |
if test "${enable_libtool_lock+set}" = set; then |
4176 |
enableval="$enable_libtool_lock" |
enableval="$enable_libtool_lock" |
4202 |
;; |
;; |
4203 |
*-*-irix6*) |
*-*-irix6*) |
4204 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
4205 |
echo '#line 3882 "configure"' > conftest.$ac_ext |
echo '#line 4205 "configure"' > conftest.$ac_ext |
4206 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4207 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
4208 |
ac_status=$? |
ac_status=$? |
4299 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4300 |
|
|
4301 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4302 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4303 |
_ACEOF |
_ACEOF |
4304 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4315 |
_ACEOF |
_ACEOF |
4316 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
4317 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4318 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
4319 |
ac_status=$? |
ac_status=$? |
4320 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4321 |
|
rm -f conftest.er1 |
4322 |
|
cat conftest.err >&5 |
4323 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4324 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4325 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4326 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4327 |
|
(eval $ac_try) 2>&5 |
4328 |
|
ac_status=$? |
4329 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4330 |
|
(exit $ac_status); }; } && |
4331 |
|
{ ac_try='test -s conftest$ac_exeext' |
4332 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4333 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4334 |
ac_status=$? |
ac_status=$? |
4341 |
|
|
4342 |
lt_cv_cc_needs_belf=no |
lt_cv_cc_needs_belf=no |
4343 |
fi |
fi |
4344 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
4345 |
|
conftest$ac_exeext conftest.$ac_ext |
4346 |
ac_ext=c |
ac_ext=c |
4347 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
4348 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4391 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4392 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
4393 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4394 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4395 |
_ACEOF |
_ACEOF |
4396 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4401 |
#else |
#else |
4402 |
# include <assert.h> |
# include <assert.h> |
4403 |
#endif |
#endif |
4404 |
Syntax error |
Syntax error |
4405 |
_ACEOF |
_ACEOF |
4406 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4407 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4413 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4414 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4415 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4416 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4417 |
else |
else |
4418 |
ac_cpp_err= |
ac_cpp_err= |
4419 |
fi |
fi |
4434 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
4435 |
# can be detected and how. |
# can be detected and how. |
4436 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4437 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4438 |
_ACEOF |
_ACEOF |
4439 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4451 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4452 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4453 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4454 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4455 |
else |
else |
4456 |
ac_cpp_err= |
ac_cpp_err= |
4457 |
fi |
fi |
4498 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4499 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
4500 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4501 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4502 |
_ACEOF |
_ACEOF |
4503 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4508 |
#else |
#else |
4509 |
# include <assert.h> |
# include <assert.h> |
4510 |
#endif |
#endif |
4511 |
Syntax error |
Syntax error |
4512 |
_ACEOF |
_ACEOF |
4513 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4514 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4520 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4521 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4522 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4523 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4524 |
else |
else |
4525 |
ac_cpp_err= |
ac_cpp_err= |
4526 |
fi |
fi |
4541 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
4542 |
# can be detected and how. |
# can be detected and how. |
4543 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4544 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4545 |
_ACEOF |
_ACEOF |
4546 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4558 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4559 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4560 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4561 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4562 |
else |
else |
4563 |
ac_cpp_err= |
ac_cpp_err= |
4564 |
fi |
fi |
4604 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4605 |
else |
else |
4606 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4607 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4608 |
_ACEOF |
_ACEOF |
4609 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4624 |
_ACEOF |
_ACEOF |
4625 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4626 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4627 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4628 |
ac_status=$? |
ac_status=$? |
4629 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4630 |
|
rm -f conftest.er1 |
4631 |
|
cat conftest.err >&5 |
4632 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4633 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4634 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4635 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4636 |
|
(eval $ac_try) 2>&5 |
4637 |
|
ac_status=$? |
4638 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4639 |
|
(exit $ac_status); }; } && |
4640 |
|
{ ac_try='test -s conftest.$ac_objext' |
4641 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4642 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4643 |
ac_status=$? |
ac_status=$? |
4650 |
|
|
4651 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
4652 |
fi |
fi |
4653 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4654 |
|
|
4655 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4656 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4657 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4658 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4659 |
_ACEOF |
_ACEOF |
4660 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4676 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4677 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4678 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4679 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4680 |
_ACEOF |
_ACEOF |
4681 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4700 |
: |
: |
4701 |
else |
else |
4702 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4703 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4704 |
_ACEOF |
_ACEOF |
4705 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4711 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4712 |
#else |
#else |
4713 |
# define ISLOWER(c) \ |
# define ISLOWER(c) \ |
4714 |
(('a' <= (c) && (c) <= 'i') \ |
(('a' <= (c) && (c) <= 'i') \ |
4715 |
|| ('j' <= (c) && (c) <= 'r') \ |
|| ('j' <= (c) && (c) <= 'r') \ |
4716 |
|| ('s' <= (c) && (c) <= 'z')) |
|| ('s' <= (c) && (c) <= 'z')) |
4717 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4718 |
#endif |
#endif |
4719 |
|
|
4724 |
int i; |
int i; |
4725 |
for (i = 0; i < 256; i++) |
for (i = 0; i < 256; i++) |
4726 |
if (XOR (islower (i), ISLOWER (i)) |
if (XOR (islower (i), ISLOWER (i)) |
4727 |
|| toupper (i) != TOUPPER (i)) |
|| toupper (i) != TOUPPER (i)) |
4728 |
exit(2); |
exit(2); |
4729 |
exit (0); |
exit (0); |
4730 |
} |
} |
4774 |
|
|
4775 |
|
|
4776 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4777 |
inttypes.h stdint.h unistd.h |
inttypes.h stdint.h unistd.h |
4778 |
do |
do |
4779 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4780 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4783 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4784 |
else |
else |
4785 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4786 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4787 |
_ACEOF |
_ACEOF |
4788 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4794 |
_ACEOF |
_ACEOF |
4795 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4796 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4797 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4798 |
ac_status=$? |
ac_status=$? |
4799 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4800 |
|
rm -f conftest.er1 |
4801 |
|
cat conftest.err >&5 |
4802 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4803 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4804 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4805 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4806 |
|
(eval $ac_try) 2>&5 |
4807 |
|
ac_status=$? |
4808 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4809 |
|
(exit $ac_status); }; } && |
4810 |
|
{ ac_try='test -s conftest.$ac_objext' |
4811 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4812 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4813 |
ac_status=$? |
ac_status=$? |
4820 |
|
|
4821 |
eval "$as_ac_Header=no" |
eval "$as_ac_Header=no" |
4822 |
fi |
fi |
4823 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4824 |
fi |
fi |
4825 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4826 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4851 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4852 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4853 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4854 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4855 |
_ACEOF |
_ACEOF |
4856 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4861 |
_ACEOF |
_ACEOF |
4862 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4863 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4864 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4865 |
ac_status=$? |
ac_status=$? |
4866 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4867 |
|
rm -f conftest.er1 |
4868 |
|
cat conftest.err >&5 |
4869 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4870 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4871 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4872 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4873 |
|
(eval $ac_try) 2>&5 |
4874 |
|
ac_status=$? |
4875 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4876 |
|
(exit $ac_status); }; } && |
4877 |
|
{ ac_try='test -s conftest.$ac_objext' |
4878 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4879 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4880 |
ac_status=$? |
ac_status=$? |
4887 |
|
|
4888 |
ac_header_compiler=no |
ac_header_compiler=no |
4889 |
fi |
fi |
4890 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4891 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4892 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4893 |
|
|
4895 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4896 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4897 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4898 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4899 |
_ACEOF |
_ACEOF |
4900 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4912 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4913 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4914 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4915 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4916 |
else |
else |
4917 |
ac_cpp_err= |
ac_cpp_err= |
4918 |
fi |
fi |
4932 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4933 |
|
|
4934 |
# So? What about this header? |
# So? What about this header? |
4935 |
case $ac_header_compiler:$ac_header_preproc in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4936 |
yes:no ) |
yes:no: ) |
4937 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4938 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4939 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
4940 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
4941 |
( |
ac_header_preproc=yes |
|
cat <<\_ASBOX |
|
|
## ------------------------------------ ## |
|
|
## Report this to bug-autoconf@gnu.org. ## |
|
|
## ------------------------------------ ## |
|
|
_ASBOX |
|
|
) | |
|
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
4942 |
;; |
;; |
4943 |
no:yes ) |
no:yes:* ) |
4944 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4945 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4946 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4947 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4948 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
4949 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
4950 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
4951 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4952 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4953 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4954 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4955 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4956 |
( |
( |
4957 |
cat <<\_ASBOX |
cat <<\_ASBOX |
4958 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
4959 |
## Report this to bug-autoconf@gnu.org. ## |
## Report this to the AC_PACKAGE_NAME lists. ## |
4960 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
4961 |
_ASBOX |
_ASBOX |
4962 |
) | |
) | |
4963 |
sed "s/^/$as_me: WARNING: /" >&2 |
sed "s/^/$as_me: WARNING: /" >&2 |
4968 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4969 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4970 |
else |
else |
4971 |
eval "$as_ac_Header=$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
4972 |
fi |
fi |
4973 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4974 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5007 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5008 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5009 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5010 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5011 |
_ACEOF |
_ACEOF |
5012 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5017 |
#else |
#else |
5018 |
# include <assert.h> |
# include <assert.h> |
5019 |
#endif |
#endif |
5020 |
Syntax error |
Syntax error |
5021 |
_ACEOF |
_ACEOF |
5022 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5023 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5029 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5030 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5031 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5032 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5033 |
else |
else |
5034 |
ac_cpp_err= |
ac_cpp_err= |
5035 |
fi |
fi |
5050 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5051 |
# can be detected and how. |
# can be detected and how. |
5052 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5053 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5054 |
_ACEOF |
_ACEOF |
5055 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5067 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5068 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5069 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5070 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5071 |
else |
else |
5072 |
ac_cpp_err= |
ac_cpp_err= |
5073 |
fi |
fi |
5114 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5115 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5116 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5117 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5118 |
_ACEOF |
_ACEOF |
5119 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5124 |
#else |
#else |
5125 |
# include <assert.h> |
# include <assert.h> |
5126 |
#endif |
#endif |
5127 |
Syntax error |
Syntax error |
5128 |
_ACEOF |
_ACEOF |
5129 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5130 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5136 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5137 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5138 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5139 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5140 |
else |
else |
5141 |
ac_cpp_err= |
ac_cpp_err= |
5142 |
fi |
fi |
5157 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5158 |
# can be detected and how. |
# can be detected and how. |
5159 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5160 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5161 |
_ACEOF |
_ACEOF |
5162 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5174 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5175 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5176 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5177 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5178 |
else |
else |
5179 |
ac_cpp_err= |
ac_cpp_err= |
5180 |
fi |
fi |
5219 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5220 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5221 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
5222 |
for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 |
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
5223 |
do |
do |
5224 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5225 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5261 |
fi |
fi |
5262 |
if test -z "$F77"; then |
if test -z "$F77"; then |
5263 |
ac_ct_F77=$F77 |
ac_ct_F77=$F77 |
5264 |
for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 |
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
5265 |
do |
do |
5266 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5267 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
5306 |
|
|
5307 |
|
|
5308 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
5309 |
echo "$as_me:4957:" \ |
echo "$as_me:5309:" \ |
5310 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
5311 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
5312 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5324 |
ac_status=$? |
ac_status=$? |
5325 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5326 |
(exit $ac_status); } |
(exit $ac_status); } |
5327 |
|
rm -f a.out |
5328 |
|
|
5329 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
# If we don't use `.F' as extension, the preprocessor is not run on the |
5330 |
# input file. |
# input file. (Note that this only needs to work for GNU compilers.) |
5331 |
ac_save_ext=$ac_ext |
ac_save_ext=$ac_ext |
5332 |
ac_ext=F |
ac_ext=F |
5333 |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
5345 |
_ACEOF |
_ACEOF |
5346 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5347 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5348 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5349 |
ac_status=$? |
ac_status=$? |
5350 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5351 |
|
rm -f conftest.er1 |
5352 |
|
cat conftest.err >&5 |
5353 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5354 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5355 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
5356 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5357 |
|
(eval $ac_try) 2>&5 |
5358 |
|
ac_status=$? |
5359 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5360 |
|
(exit $ac_status); }; } && |
5361 |
|
{ ac_try='test -s conftest.$ac_objext' |
5362 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5363 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5364 |
ac_status=$? |
ac_status=$? |
5371 |
|
|
5372 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
5373 |
fi |
fi |
5374 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5375 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
5376 |
|
|
5377 |
fi |
fi |
5378 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
5379 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
5380 |
ac_ext=$ac_save_ext |
ac_ext=$ac_save_ext |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
|
5381 |
ac_test_FFLAGS=${FFLAGS+set} |
ac_test_FFLAGS=${FFLAGS+set} |
5382 |
ac_save_FFLAGS=$FFLAGS |
ac_save_FFLAGS=$FFLAGS |
5383 |
FFLAGS= |
FFLAGS= |
5394 |
_ACEOF |
_ACEOF |
5395 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5396 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5397 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5398 |
ac_status=$? |
ac_status=$? |
5399 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5400 |
|
rm -f conftest.er1 |
5401 |
|
cat conftest.err >&5 |
5402 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5403 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5404 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
5405 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5406 |
|
(eval $ac_try) 2>&5 |
5407 |
|
ac_status=$? |
5408 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5409 |
|
(exit $ac_status); }; } && |
5410 |
|
{ ac_try='test -s conftest.$ac_objext' |
5411 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5412 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5413 |
ac_status=$? |
ac_status=$? |
5420 |
|
|
5421 |
ac_cv_prog_f77_g=no |
ac_cv_prog_f77_g=no |
5422 |
fi |
fi |
5423 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5424 |
|
|
5425 |
fi |
fi |
5426 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
5428 |
if test "$ac_test_FFLAGS" = set; then |
if test "$ac_test_FFLAGS" = set; then |
5429 |
FFLAGS=$ac_save_FFLAGS |
FFLAGS=$ac_save_FFLAGS |
5430 |
elif test $ac_cv_prog_f77_g = yes; then |
elif test $ac_cv_prog_f77_g = yes; then |
5431 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5432 |
FFLAGS="-g -O2" |
FFLAGS="-g -O2" |
5433 |
else |
else |
5434 |
FFLAGS="-g" |
FFLAGS="-g" |
5435 |
fi |
fi |
5436 |
else |
else |
5437 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5438 |
FFLAGS="-O2" |
FFLAGS="-O2" |
5439 |
else |
else |
5440 |
FFLAGS= |
FFLAGS= |
5441 |
fi |
fi |
5442 |
fi |
fi |
5443 |
|
|
5444 |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
5445 |
ac_ext=cc |
ac_ext=cc |
5446 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
5447 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5459 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5460 |
else |
else |
5461 |
i=0 |
i=0 |
5462 |
testring="ABCD" |
teststring="ABCD" |
5463 |
|
|
5464 |
case $build_os in |
case $build_os in |
5465 |
msdosdjgpp*) |
msdosdjgpp*) |
5498 |
# If test is not a shell built-in, we'll probably end up computing a |
# If test is not a shell built-in, we'll probably end up computing a |
5499 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
5500 |
# we can't tell. |
# we can't tell. |
5501 |
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ |
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
5502 |
= "XX$testring") >/dev/null 2>&1 && |
= "XX$teststring") >/dev/null 2>&1 && |
5503 |
new_result=`expr "X$testring" : ".*" 2>&1` && |
new_result=`expr "X$teststring" : ".*" 2>&1` && |
5504 |
lt_cv_sys_max_cmd_len=$new_result && |
lt_cv_sys_max_cmd_len=$new_result && |
5505 |
test $i != 17 # 1/2 MB should be enough |
test $i != 17 # 1/2 MB should be enough |
5506 |
do |
do |
5507 |
i=`expr $i + 1` |
i=`expr $i + 1` |
5508 |
testring=$testring$testring |
teststring=$teststring$teststring |
5509 |
done |
done |
5510 |
testring= |
teststring= |
5511 |
# Add a significant safety factor because C++ compilers can tack on massive |
# Add a significant safety factor because C++ compilers can tack on massive |
5512 |
# amounts of additional arguments before passing them to the linker. |
# amounts of additional arguments before passing them to the linker. |
5513 |
# It appears as though 1/2 is a usable value. |
# It appears as though 1/2 is a usable value. |
6338 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6339 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6340 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6341 |
(eval echo "\"\$as_me:5969: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6341: $lt_compile\"" >&5) |
6342 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6343 |
ac_status=$? |
ac_status=$? |
6344 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6345 |
echo "$as_me:5973: \$? = $ac_status" >&5 |
echo "$as_me:6345: \$? = $ac_status" >&5 |
6346 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6347 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6348 |
# So say no if there are warnings |
# So say no if there are warnings |
6571 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6572 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6573 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6574 |
(eval echo "\"\$as_me:6202: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6574: $lt_compile\"" >&5) |
6575 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6576 |
ac_status=$? |
ac_status=$? |
6577 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6578 |
echo "$as_me:6206: \$? = $ac_status" >&5 |
echo "$as_me:6578: \$? = $ac_status" >&5 |
6579 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6580 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6581 |
# So say no if there are warnings |
# So say no if there are warnings |
6622 |
mkdir out |
mkdir out |
6623 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
6624 |
|
|
|
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
# that will create temporary files in the current directory regardless of |
|
|
# the output directory. Thus, making CWD read-only will cause this test |
|
|
# to fail, enabling locking or at least warning the user not to do parallel |
|
|
# builds. |
|
|
chmod -w . |
|
|
|
|
6625 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
6626 |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
6627 |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
6631 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6632 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6633 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6634 |
(eval echo "\"\$as_me:6269: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6634: $lt_compile\"" >&5) |
6635 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
6636 |
ac_status=$? |
ac_status=$? |
6637 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
6638 |
echo "$as_me:6273: \$? = $ac_status" >&5 |
echo "$as_me:6638: \$? = $ac_status" >&5 |
6639 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6640 |
then |
then |
6641 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6808 |
fi |
fi |
6809 |
;; |
;; |
6810 |
|
|
6811 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
6812 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
6813 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
6814 |
wlarc= |
wlarc= |
6847 |
;; |
;; |
6848 |
|
|
6849 |
linux*) |
linux*) |
6850 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
6851 |
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
6852 |
archive_cmds="$tmp_archive_cmds" |
archive_cmds="$tmp_archive_cmds" |
6853 |
supports_anon_versioning=no |
supports_anon_versioning=no |
6866 |
else |
else |
6867 |
archive_expsym_cmds="$tmp_archive_cmds" |
archive_expsym_cmds="$tmp_archive_cmds" |
6868 |
fi |
fi |
6869 |
|
link_all_deplibs=no |
6870 |
else |
else |
6871 |
ld_shlibs=no |
ld_shlibs=no |
6872 |
fi |
fi |
7000 |
allow_undefined_flag='-berok' |
allow_undefined_flag='-berok' |
7001 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7002 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7003 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7004 |
_ACEOF |
_ACEOF |
7005 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7016 |
_ACEOF |
_ACEOF |
7017 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7018 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7019 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7020 |
ac_status=$? |
ac_status=$? |
7021 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7022 |
|
rm -f conftest.er1 |
7023 |
|
cat conftest.err >&5 |
7024 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7025 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7026 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7027 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7028 |
|
(eval $ac_try) 2>&5 |
7029 |
|
ac_status=$? |
7030 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7031 |
|
(exit $ac_status); }; } && |
7032 |
|
{ ac_try='test -s conftest$ac_exeext' |
7033 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7034 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7035 |
ac_status=$? |
ac_status=$? |
7046 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7047 |
|
|
7048 |
fi |
fi |
7049 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7050 |
|
conftest$ac_exeext conftest.$ac_ext |
7051 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7052 |
|
|
7053 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7060 |
else |
else |
7061 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7062 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7063 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7064 |
_ACEOF |
_ACEOF |
7065 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7076 |
_ACEOF |
_ACEOF |
7077 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7078 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7079 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7080 |
ac_status=$? |
ac_status=$? |
7081 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7082 |
|
rm -f conftest.er1 |
7083 |
|
cat conftest.err >&5 |
7084 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7085 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7086 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7087 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7088 |
|
(eval $ac_try) 2>&5 |
7089 |
|
ac_status=$? |
7090 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7091 |
|
(exit $ac_status); }; } && |
7092 |
|
{ ac_try='test -s conftest$ac_exeext' |
7093 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7094 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7095 |
ac_status=$? |
ac_status=$? |
7106 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7107 |
|
|
7108 |
fi |
fi |
7109 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7110 |
|
conftest$ac_exeext conftest.$ac_ext |
7111 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7112 |
|
|
7113 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7148 |
# Tell ltmain to make .lib files, not .a files. |
# Tell ltmain to make .lib files, not .a files. |
7149 |
libext=lib |
libext=lib |
7150 |
# Tell ltmain to make .dll files, not .so files. |
# Tell ltmain to make .dll files, not .so files. |
7151 |
shrext=".dll" |
shrext_cmds=".dll" |
7152 |
# FIXME: Setting linknames here is a bad hack. |
# FIXME: Setting linknames here is a bad hack. |
7153 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
7154 |
# The linker will automatically build a .lib file if we build a DLL. |
# The linker will automatically build a .lib file if we build a DLL. |
7326 |
link_all_deplibs=yes |
link_all_deplibs=yes |
7327 |
;; |
;; |
7328 |
|
|
7329 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
7330 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
7331 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
7332 |
else |
else |
7604 |
library_names_spec= |
library_names_spec= |
7605 |
libname_spec='lib$name' |
libname_spec='lib$name' |
7606 |
soname_spec= |
soname_spec= |
7607 |
shrext=".so" |
shrext_cmds=".so" |
7608 |
postinstall_cmds= |
postinstall_cmds= |
7609 |
postuninstall_cmds= |
postuninstall_cmds= |
7610 |
finish_cmds= |
finish_cmds= |
7717 |
|
|
7718 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
7719 |
version_type=windows |
version_type=windows |
7720 |
shrext=".dll" |
shrext_cmds=".dll" |
7721 |
need_version=no |
need_version=no |
7722 |
need_lib_prefix=no |
need_lib_prefix=no |
7723 |
|
|
7782 |
soname_spec='${libname}${release}${major}$shared_ext' |
soname_spec='${libname}${release}${major}$shared_ext' |
7783 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
7784 |
shlibpath_var=DYLD_LIBRARY_PATH |
shlibpath_var=DYLD_LIBRARY_PATH |
7785 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
7786 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
7787 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
7788 |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
7865 |
need_version=no |
need_version=no |
7866 |
case "$host_cpu" in |
case "$host_cpu" in |
7867 |
ia64*) |
ia64*) |
7868 |
shrext='.so' |
shrext_cmds='.so' |
7869 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
7870 |
dynamic_linker="$host_os dld.so" |
dynamic_linker="$host_os dld.so" |
7871 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
7880 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
7881 |
;; |
;; |
7882 |
hppa*64*) |
hppa*64*) |
7883 |
shrext='.sl' |
shrext_cmds='.sl' |
7884 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
7885 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
7886 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
7891 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
7892 |
;; |
;; |
7893 |
*) |
*) |
7894 |
shrext='.sl' |
shrext_cmds='.sl' |
7895 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
7896 |
shlibpath_var=SHLIB_PATH |
shlibpath_var=SHLIB_PATH |
7897 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
7960 |
# before this can be enabled. |
# before this can be enabled. |
7961 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
7962 |
|
|
7963 |
|
# Append ld.so.conf contents to the search path |
7964 |
|
if test -f /etc/ld.so.conf; then |
7965 |
|
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
7966 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
7967 |
|
fi |
7968 |
|
|
7969 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
7970 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
7971 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
7975 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
7976 |
;; |
;; |
7977 |
|
|
7978 |
|
knetbsd*-gnu) |
7979 |
|
version_type=linux |
7980 |
|
need_lib_prefix=no |
7981 |
|
need_version=no |
7982 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
7983 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
7984 |
|
shlibpath_var=LD_LIBRARY_PATH |
7985 |
|
shlibpath_overrides_runpath=no |
7986 |
|
hardcode_into_libs=yes |
7987 |
|
dynamic_linker='GNU ld.so' |
7988 |
|
;; |
7989 |
|
|
7990 |
netbsd*) |
netbsd*) |
7991 |
version_type=sunos |
version_type=sunos |
7992 |
need_lib_prefix=no |
need_lib_prefix=no |
7996 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
7997 |
dynamic_linker='NetBSD (a.out) ld.so' |
dynamic_linker='NetBSD (a.out) ld.so' |
7998 |
else |
else |
7999 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
8000 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
8001 |
dynamic_linker='NetBSD ld.elf_so' |
dynamic_linker='NetBSD ld.elf_so' |
8002 |
fi |
fi |
8025 |
openbsd*) |
openbsd*) |
8026 |
version_type=sunos |
version_type=sunos |
8027 |
need_lib_prefix=no |
need_lib_prefix=no |
8028 |
need_version=no |
need_version=yes |
8029 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
8030 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
8031 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
8045 |
|
|
8046 |
os2*) |
os2*) |
8047 |
libname_spec='$name' |
libname_spec='$name' |
8048 |
shrext=".dll" |
shrext_cmds=".dll" |
8049 |
need_lib_prefix=no |
need_lib_prefix=no |
8050 |
library_names_spec='$libname${shared_ext} $libname.a' |
library_names_spec='$libname${shared_ext} $libname.a' |
8051 |
dynamic_linker='OS/2 ld.exe' |
dynamic_linker='OS/2 ld.exe' |
8244 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8245 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
8246 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8247 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8248 |
_ACEOF |
_ACEOF |
8249 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8267 |
_ACEOF |
_ACEOF |
8268 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8269 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8270 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8271 |
ac_status=$? |
ac_status=$? |
8272 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8273 |
|
rm -f conftest.er1 |
8274 |
|
cat conftest.err >&5 |
8275 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8276 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8277 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8278 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8279 |
|
(eval $ac_try) 2>&5 |
8280 |
|
ac_status=$? |
8281 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8282 |
|
(exit $ac_status); }; } && |
8283 |
|
{ ac_try='test -s conftest$ac_exeext' |
8284 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8285 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8286 |
ac_status=$? |
ac_status=$? |
8293 |
|
|
8294 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
8295 |
fi |
fi |
8296 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8297 |
|
conftest$ac_exeext conftest.$ac_ext |
8298 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8299 |
fi |
fi |
8300 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8318 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8319 |
else |
else |
8320 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8321 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8322 |
_ACEOF |
_ACEOF |
8323 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8324 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
8325 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
8326 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
8327 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8328 |
|
#define shl_load innocuous_shl_load |
8329 |
|
|
8330 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8331 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
8332 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8333 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
8334 |
|
|
8335 |
#ifdef __STDC__ |
#ifdef __STDC__ |
8336 |
# include <limits.h> |
# include <limits.h> |
8337 |
#else |
#else |
8338 |
# include <assert.h> |
# include <assert.h> |
8339 |
#endif |
#endif |
8340 |
|
|
8341 |
|
#undef shl_load |
8342 |
|
|
8343 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8344 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8345 |
extern "C" |
extern "C" |
8370 |
_ACEOF |
_ACEOF |
8371 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8372 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8373 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8374 |
ac_status=$? |
ac_status=$? |
8375 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8376 |
|
rm -f conftest.er1 |
8377 |
|
cat conftest.err >&5 |
8378 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8379 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8380 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8381 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8382 |
|
(eval $ac_try) 2>&5 |
8383 |
|
ac_status=$? |
8384 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8385 |
|
(exit $ac_status); }; } && |
8386 |
|
{ ac_try='test -s conftest$ac_exeext' |
8387 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8388 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8389 |
ac_status=$? |
ac_status=$? |
8396 |
|
|
8397 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
8398 |
fi |
fi |
8399 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8400 |
|
conftest$ac_exeext conftest.$ac_ext |
8401 |
fi |
fi |
8402 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
8403 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
8412 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8413 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
8414 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8415 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8416 |
_ACEOF |
_ACEOF |
8417 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8435 |
_ACEOF |
_ACEOF |
8436 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8437 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8438 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8439 |
ac_status=$? |
ac_status=$? |
8440 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8441 |
|
rm -f conftest.er1 |
8442 |
|
cat conftest.err >&5 |
8443 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8444 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8445 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8446 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8447 |
|
(eval $ac_try) 2>&5 |
8448 |
|
ac_status=$? |
8449 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8450 |
|
(exit $ac_status); }; } && |
8451 |
|
{ ac_try='test -s conftest$ac_exeext' |
8452 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8453 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8454 |
ac_status=$? |
ac_status=$? |
8461 |
|
|
8462 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
8463 |
fi |
fi |
8464 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8465 |
|
conftest$ac_exeext conftest.$ac_ext |
8466 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8467 |
fi |
fi |
8468 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
8476 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8477 |
else |
else |
8478 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8479 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8480 |
_ACEOF |
_ACEOF |
8481 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8482 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
8483 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
8484 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
8485 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8486 |
|
#define dlopen innocuous_dlopen |
8487 |
|
|
8488 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8489 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
8490 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8491 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
8492 |
|
|
8493 |
#ifdef __STDC__ |
#ifdef __STDC__ |
8494 |
# include <limits.h> |
# include <limits.h> |
8495 |
#else |
#else |
8496 |
# include <assert.h> |
# include <assert.h> |
8497 |
#endif |
#endif |
8498 |
|
|
8499 |
|
#undef dlopen |
8500 |
|
|
8501 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8502 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8503 |
extern "C" |
extern "C" |
8528 |
_ACEOF |
_ACEOF |
8529 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8530 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8531 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8532 |
ac_status=$? |
ac_status=$? |
8533 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8534 |
|
rm -f conftest.er1 |
8535 |
|
cat conftest.err >&5 |
8536 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8537 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8538 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8539 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8540 |
|
(eval $ac_try) 2>&5 |
8541 |
|
ac_status=$? |
8542 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8543 |
|
(exit $ac_status); }; } && |
8544 |
|
{ ac_try='test -s conftest$ac_exeext' |
8545 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8546 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8547 |
ac_status=$? |
ac_status=$? |
8554 |
|
|
8555 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
8556 |
fi |
fi |
8557 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8558 |
|
conftest$ac_exeext conftest.$ac_ext |
8559 |
fi |
fi |
8560 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
8561 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
8570 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8571 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
8572 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8573 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8574 |
_ACEOF |
_ACEOF |
8575 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8593 |
_ACEOF |
_ACEOF |
8594 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8595 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8596 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8597 |
ac_status=$? |
ac_status=$? |
8598 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8599 |
|
rm -f conftest.er1 |
8600 |
|
cat conftest.err >&5 |
8601 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8602 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8603 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8604 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8605 |
|
(eval $ac_try) 2>&5 |
8606 |
|
ac_status=$? |
8607 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8608 |
|
(exit $ac_status); }; } && |
8609 |
|
{ ac_try='test -s conftest$ac_exeext' |
8610 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8611 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8612 |
ac_status=$? |
ac_status=$? |
8619 |
|
|
8620 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
8621 |
fi |
fi |
8622 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8623 |
|
conftest$ac_exeext conftest.$ac_ext |
8624 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8625 |
fi |
fi |
8626 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8636 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8637 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
8638 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8639 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8640 |
_ACEOF |
_ACEOF |
8641 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8659 |
_ACEOF |
_ACEOF |
8660 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8661 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8662 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8663 |
ac_status=$? |
ac_status=$? |
8664 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8665 |
|
rm -f conftest.er1 |
8666 |
|
cat conftest.err >&5 |
8667 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8668 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8669 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8670 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8671 |
|
(eval $ac_try) 2>&5 |
8672 |
|
ac_status=$? |
8673 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8674 |
|
(exit $ac_status); }; } && |
8675 |
|
{ ac_try='test -s conftest$ac_exeext' |
8676 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8677 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8678 |
ac_status=$? |
ac_status=$? |
8685 |
|
|
8686 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
8687 |
fi |
fi |
8688 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8689 |
|
conftest$ac_exeext conftest.$ac_ext |
8690 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8691 |
fi |
fi |
8692 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
8702 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8703 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
8704 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8705 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8706 |
_ACEOF |
_ACEOF |
8707 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8725 |
_ACEOF |
_ACEOF |
8726 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8727 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8728 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8729 |
ac_status=$? |
ac_status=$? |
8730 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8731 |
|
rm -f conftest.er1 |
8732 |
|
cat conftest.err >&5 |
8733 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8734 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8735 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8736 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8737 |
|
(eval $ac_try) 2>&5 |
8738 |
|
ac_status=$? |
8739 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8740 |
|
(exit $ac_status); }; } && |
8741 |
|
{ ac_try='test -s conftest$ac_exeext' |
8742 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8743 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8744 |
ac_status=$? |
ac_status=$? |
8751 |
|
|
8752 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
8753 |
fi |
fi |
8754 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8755 |
|
conftest$ac_exeext conftest.$ac_ext |
8756 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8757 |
fi |
fi |
8758 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
8807 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8808 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8809 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8810 |
#line 8329 "configure" |
#line 8810 "configure" |
8811 |
#include "confdefs.h" |
#include "confdefs.h" |
8812 |
|
|
8813 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
8905 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8906 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8907 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8908 |
#line 8427 "configure" |
#line 8908 "configure" |
8909 |
#include "confdefs.h" |
#include "confdefs.h" |
8910 |
|
|
8911 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9030 |
fi |
fi |
9031 |
;; |
;; |
9032 |
|
|
9033 |
aix4*) |
aix4* | aix5*) |
9034 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
9035 |
test "$enable_shared" = yes && enable_static=no |
test "$enable_shared" = yes && enable_static=no |
9036 |
fi |
fi |
9306 |
libext="$libext" |
libext="$libext" |
9307 |
|
|
9308 |
# Shared library suffix (normally ".so"). |
# Shared library suffix (normally ".so"). |
9309 |
shrext='$shrext' |
shrext_cmds='$shrext_cmds' |
9310 |
|
|
9311 |
# Executable file suffix (normally ""). |
# Executable file suffix (normally ""). |
9312 |
exeext="$exeext" |
exeext="$exeext" |
9954 |
allow_undefined_flag_CXX='-berok' |
allow_undefined_flag_CXX='-berok' |
9955 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
9956 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9957 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9958 |
_ACEOF |
_ACEOF |
9959 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9970 |
_ACEOF |
_ACEOF |
9971 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9972 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9973 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9974 |
ac_status=$? |
ac_status=$? |
9975 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9976 |
|
rm -f conftest.er1 |
9977 |
|
cat conftest.err >&5 |
9978 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9979 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9980 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9981 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9982 |
|
(eval $ac_try) 2>&5 |
9983 |
|
ac_status=$? |
9984 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9985 |
|
(exit $ac_status); }; } && |
9986 |
|
{ ac_try='test -s conftest$ac_exeext' |
9987 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9988 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9989 |
ac_status=$? |
ac_status=$? |
10000 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10001 |
|
|
10002 |
fi |
fi |
10003 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10004 |
|
conftest$ac_exeext conftest.$ac_ext |
10005 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10006 |
|
|
10007 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10015 |
else |
else |
10016 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
10017 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
10018 |
/* confdefs.h. */ |
/* confdefs.h. */ |
10019 |
_ACEOF |
_ACEOF |
10020 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
10031 |
_ACEOF |
_ACEOF |
10032 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
10033 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10034 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
10035 |
ac_status=$? |
ac_status=$? |
10036 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10037 |
|
rm -f conftest.er1 |
10038 |
|
cat conftest.err >&5 |
10039 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10040 |
(exit $ac_status); } && |
(exit $ac_status); } && |
10041 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10042 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10043 |
|
(eval $ac_try) 2>&5 |
10044 |
|
ac_status=$? |
10045 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10046 |
|
(exit $ac_status); }; } && |
10047 |
|
{ ac_try='test -s conftest$ac_exeext' |
10048 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10049 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
10050 |
ac_status=$? |
ac_status=$? |
10061 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10062 |
|
|
10063 |
fi |
fi |
10064 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10065 |
|
conftest$ac_exeext conftest.$ac_ext |
10066 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10067 |
|
|
10068 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10219 |
# explicitly linking system object files so we need to strip them |
# explicitly linking system object files so we need to strip them |
10220 |
# from the output so that they don't get included in the library |
# from the output so that they don't get included in the library |
10221 |
# dependencies. |
# dependencies. |
10222 |
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' |
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' |
10223 |
;; |
;; |
10224 |
*) |
*) |
10225 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10416 |
;; |
;; |
10417 |
esac |
esac |
10418 |
;; |
;; |
10419 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
10420 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
10421 |
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
10422 |
wlarc= |
wlarc= |
10971 |
;; |
;; |
10972 |
esac |
esac |
10973 |
;; |
;; |
10974 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
10975 |
;; |
;; |
10976 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
10977 |
case $cc_basename in |
case $cc_basename in |
11082 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11083 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11084 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11085 |
(eval echo "\"\$as_me:10586: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11085: $lt_compile\"" >&5) |
11086 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
11087 |
ac_status=$? |
ac_status=$? |
11088 |
cat conftest.err >&5 |
cat conftest.err >&5 |
11089 |
echo "$as_me:10590: \$? = $ac_status" >&5 |
echo "$as_me:11089: \$? = $ac_status" >&5 |
11090 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11091 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11092 |
# So say no if there are warnings |
# So say no if there are warnings |
11133 |
mkdir out |
mkdir out |
11134 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
11135 |
|
|
|
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
# that will create temporary files in the current directory regardless of |
|
|
# the output directory. Thus, making CWD read-only will cause this test |
|
|
# to fail, enabling locking or at least warning the user not to do parallel |
|
|
# builds. |
|
|
chmod -w . |
|
|
|
|
11136 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
11137 |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
11138 |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
11142 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11143 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11144 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11145 |
(eval echo "\"\$as_me:10653: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11145: $lt_compile\"" >&5) |
11146 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
11147 |
ac_status=$? |
ac_status=$? |
11148 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
11149 |
echo "$as_me:10657: \$? = $ac_status" >&5 |
echo "$as_me:11149: \$? = $ac_status" >&5 |
11150 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11151 |
then |
then |
11152 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11212 |
cygwin* | mingw*) |
cygwin* | mingw*) |
11213 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
11214 |
;; |
;; |
11215 |
|
linux*) |
11216 |
|
link_all_deplibs_CXX=no |
11217 |
|
;; |
11218 |
*) |
*) |
11219 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11220 |
;; |
;; |
11296 |
library_names_spec= |
library_names_spec= |
11297 |
libname_spec='lib$name' |
libname_spec='lib$name' |
11298 |
soname_spec= |
soname_spec= |
11299 |
shrext=".so" |
shrext_cmds=".so" |
11300 |
postinstall_cmds= |
postinstall_cmds= |
11301 |
postuninstall_cmds= |
postuninstall_cmds= |
11302 |
finish_cmds= |
finish_cmds= |
11409 |
|
|
11410 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
11411 |
version_type=windows |
version_type=windows |
11412 |
shrext=".dll" |
shrext_cmds=".dll" |
11413 |
need_version=no |
need_version=no |
11414 |
need_lib_prefix=no |
need_lib_prefix=no |
11415 |
|
|
11474 |
soname_spec='${libname}${release}${major}$shared_ext' |
soname_spec='${libname}${release}${major}$shared_ext' |
11475 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
11476 |
shlibpath_var=DYLD_LIBRARY_PATH |
shlibpath_var=DYLD_LIBRARY_PATH |
11477 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
11478 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
11479 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
11480 |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
11557 |
need_version=no |
need_version=no |
11558 |
case "$host_cpu" in |
case "$host_cpu" in |
11559 |
ia64*) |
ia64*) |
11560 |
shrext='.so' |
shrext_cmds='.so' |
11561 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11562 |
dynamic_linker="$host_os dld.so" |
dynamic_linker="$host_os dld.so" |
11563 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
11572 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11573 |
;; |
;; |
11574 |
hppa*64*) |
hppa*64*) |
11575 |
shrext='.sl' |
shrext_cmds='.sl' |
11576 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11577 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
11578 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
11583 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11584 |
;; |
;; |
11585 |
*) |
*) |
11586 |
shrext='.sl' |
shrext_cmds='.sl' |
11587 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
11588 |
shlibpath_var=SHLIB_PATH |
shlibpath_var=SHLIB_PATH |
11589 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
11652 |
# before this can be enabled. |
# before this can be enabled. |
11653 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11654 |
|
|
11655 |
|
# Append ld.so.conf contents to the search path |
11656 |
|
if test -f /etc/ld.so.conf; then |
11657 |
|
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
11658 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11659 |
|
fi |
11660 |
|
|
11661 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
11662 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
11663 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
11667 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
11668 |
;; |
;; |
11669 |
|
|
11670 |
|
knetbsd*-gnu) |
11671 |
|
version_type=linux |
11672 |
|
need_lib_prefix=no |
11673 |
|
need_version=no |
11674 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11675 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11676 |
|
shlibpath_var=LD_LIBRARY_PATH |
11677 |
|
shlibpath_overrides_runpath=no |
11678 |
|
hardcode_into_libs=yes |
11679 |
|
dynamic_linker='GNU ld.so' |
11680 |
|
;; |
11681 |
|
|
11682 |
netbsd*) |
netbsd*) |
11683 |
version_type=sunos |
version_type=sunos |
11684 |
need_lib_prefix=no |
need_lib_prefix=no |
11688 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11689 |
dynamic_linker='NetBSD (a.out) ld.so' |
dynamic_linker='NetBSD (a.out) ld.so' |
11690 |
else |
else |
11691 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11692 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
11693 |
dynamic_linker='NetBSD ld.elf_so' |
dynamic_linker='NetBSD ld.elf_so' |
11694 |
fi |
fi |
11717 |
openbsd*) |
openbsd*) |
11718 |
version_type=sunos |
version_type=sunos |
11719 |
need_lib_prefix=no |
need_lib_prefix=no |
11720 |
need_version=no |
need_version=yes |
11721 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11722 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11723 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
11737 |
|
|
11738 |
os2*) |
os2*) |
11739 |
libname_spec='$name' |
libname_spec='$name' |
11740 |
shrext=".dll" |
shrext_cmds=".dll" |
11741 |
need_lib_prefix=no |
need_lib_prefix=no |
11742 |
library_names_spec='$libname${shared_ext} $libname.a' |
library_names_spec='$libname${shared_ext} $libname.a' |
11743 |
dynamic_linker='OS/2 ld.exe' |
dynamic_linker='OS/2 ld.exe' |
11936 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
11937 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
11938 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
11939 |
/* confdefs.h. */ |
/* confdefs.h. */ |
11940 |
_ACEOF |
_ACEOF |
11941 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
11959 |
_ACEOF |
_ACEOF |
11960 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
11961 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11962 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
11963 |
ac_status=$? |
ac_status=$? |
11964 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11965 |
|
rm -f conftest.er1 |
11966 |
|
cat conftest.err >&5 |
11967 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11968 |
(exit $ac_status); } && |
(exit $ac_status); } && |
11969 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11970 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11971 |
|
(eval $ac_try) 2>&5 |
11972 |
|
ac_status=$? |
11973 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11974 |
|
(exit $ac_status); }; } && |
11975 |
|
{ ac_try='test -s conftest$ac_exeext' |
11976 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11977 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
11978 |
ac_status=$? |
ac_status=$? |
11985 |
|
|
11986 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
11987 |
fi |
fi |
11988 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
11989 |
|
conftest$ac_exeext conftest.$ac_ext |
11990 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
11991 |
fi |
fi |
11992 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12010 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12011 |
else |
else |
12012 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12013 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12014 |
_ACEOF |
_ACEOF |
12015 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12016 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12017 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12018 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
12019 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12020 |
|
#define shl_load innocuous_shl_load |
12021 |
|
|
12022 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12023 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
12024 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12025 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12026 |
|
|
12027 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12028 |
# include <limits.h> |
# include <limits.h> |
12029 |
#else |
#else |
12030 |
# include <assert.h> |
# include <assert.h> |
12031 |
#endif |
#endif |
12032 |
|
|
12033 |
|
#undef shl_load |
12034 |
|
|
12035 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12036 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12037 |
extern "C" |
extern "C" |
12062 |
_ACEOF |
_ACEOF |
12063 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12064 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12065 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12066 |
ac_status=$? |
ac_status=$? |
12067 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12068 |
|
rm -f conftest.er1 |
12069 |
|
cat conftest.err >&5 |
12070 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12071 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12072 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12073 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12074 |
|
(eval $ac_try) 2>&5 |
12075 |
|
ac_status=$? |
12076 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12077 |
|
(exit $ac_status); }; } && |
12078 |
|
{ ac_try='test -s conftest$ac_exeext' |
12079 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12080 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12081 |
ac_status=$? |
ac_status=$? |
12088 |
|
|
12089 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
12090 |
fi |
fi |
12091 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12092 |
|
conftest$ac_exeext conftest.$ac_ext |
12093 |
fi |
fi |
12094 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12095 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
12104 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12105 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12106 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12107 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12108 |
_ACEOF |
_ACEOF |
12109 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12127 |
_ACEOF |
_ACEOF |
12128 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12129 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12130 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12131 |
ac_status=$? |
ac_status=$? |
12132 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12133 |
|
rm -f conftest.er1 |
12134 |
|
cat conftest.err >&5 |
12135 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12136 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12137 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12138 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12139 |
|
(eval $ac_try) 2>&5 |
12140 |
|
ac_status=$? |
12141 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12142 |
|
(exit $ac_status); }; } && |
12143 |
|
{ ac_try='test -s conftest$ac_exeext' |
12144 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12145 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12146 |
ac_status=$? |
ac_status=$? |
12153 |
|
|
12154 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
12155 |
fi |
fi |
12156 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12157 |
|
conftest$ac_exeext conftest.$ac_ext |
12158 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12159 |
fi |
fi |
12160 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
12168 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12169 |
else |
else |
12170 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12171 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12172 |
_ACEOF |
_ACEOF |
12173 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12174 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12175 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12176 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
12177 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12178 |
|
#define dlopen innocuous_dlopen |
12179 |
|
|
12180 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12181 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
12182 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12183 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12184 |
|
|
12185 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12186 |
# include <limits.h> |
# include <limits.h> |
12187 |
#else |
#else |
12188 |
# include <assert.h> |
# include <assert.h> |
12189 |
#endif |
#endif |
12190 |
|
|
12191 |
|
#undef dlopen |
12192 |
|
|
12193 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12194 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12195 |
extern "C" |
extern "C" |
12220 |
_ACEOF |
_ACEOF |
12221 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12222 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12223 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12224 |
ac_status=$? |
ac_status=$? |
12225 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12226 |
|
rm -f conftest.er1 |
12227 |
|
cat conftest.err >&5 |
12228 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12229 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12230 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12231 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12232 |
|
(eval $ac_try) 2>&5 |
12233 |
|
ac_status=$? |
12234 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12235 |
|
(exit $ac_status); }; } && |
12236 |
|
{ ac_try='test -s conftest$ac_exeext' |
12237 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12238 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12239 |
ac_status=$? |
ac_status=$? |
12246 |
|
|
12247 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
12248 |
fi |
fi |
12249 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12250 |
|
conftest$ac_exeext conftest.$ac_ext |
12251 |
fi |
fi |
12252 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
12253 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
12262 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12263 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
12264 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12265 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12266 |
_ACEOF |
_ACEOF |
12267 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12285 |
_ACEOF |
_ACEOF |
12286 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12287 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12288 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12289 |
ac_status=$? |
ac_status=$? |
12290 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12291 |
|
rm -f conftest.er1 |
12292 |
|
cat conftest.err >&5 |
12293 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12294 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12295 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12296 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12297 |
|
(eval $ac_try) 2>&5 |
12298 |
|
ac_status=$? |
12299 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12300 |
|
(exit $ac_status); }; } && |
12301 |
|
{ ac_try='test -s conftest$ac_exeext' |
12302 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12303 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12304 |
ac_status=$? |
ac_status=$? |
12311 |
|
|
12312 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
12313 |
fi |
fi |
12314 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12315 |
|
conftest$ac_exeext conftest.$ac_ext |
12316 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12317 |
fi |
fi |
12318 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12328 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12329 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
12330 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12331 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12332 |
_ACEOF |
_ACEOF |
12333 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12351 |
_ACEOF |
_ACEOF |
12352 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12353 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12354 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12355 |
ac_status=$? |
ac_status=$? |
12356 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12357 |
|
rm -f conftest.er1 |
12358 |
|
cat conftest.err >&5 |
12359 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12360 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12361 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12362 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12363 |
|
(eval $ac_try) 2>&5 |
12364 |
|
ac_status=$? |
12365 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12366 |
|
(exit $ac_status); }; } && |
12367 |
|
{ ac_try='test -s conftest$ac_exeext' |
12368 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12369 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12370 |
ac_status=$? |
ac_status=$? |
12377 |
|
|
12378 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
12379 |
fi |
fi |
12380 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12381 |
|
conftest$ac_exeext conftest.$ac_ext |
12382 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12383 |
fi |
fi |
12384 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
12394 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12395 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12396 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12397 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12398 |
_ACEOF |
_ACEOF |
12399 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12417 |
_ACEOF |
_ACEOF |
12418 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12419 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12420 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12421 |
ac_status=$? |
ac_status=$? |
12422 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12423 |
|
rm -f conftest.er1 |
12424 |
|
cat conftest.err >&5 |
12425 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12426 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12427 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12428 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12429 |
|
(eval $ac_try) 2>&5 |
12430 |
|
ac_status=$? |
12431 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12432 |
|
(exit $ac_status); }; } && |
12433 |
|
{ ac_try='test -s conftest$ac_exeext' |
12434 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12435 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12436 |
ac_status=$? |
ac_status=$? |
12443 |
|
|
12444 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
12445 |
fi |
fi |
12446 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12447 |
|
conftest$ac_exeext conftest.$ac_ext |
12448 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12449 |
fi |
fi |
12450 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
12499 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12500 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12501 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12502 |
#line 11910 "configure" |
#line 12502 "configure" |
12503 |
#include "confdefs.h" |
#include "confdefs.h" |
12504 |
|
|
12505 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
12597 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12598 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12599 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12600 |
#line 12008 "configure" |
#line 12600 "configure" |
12601 |
#include "confdefs.h" |
#include "confdefs.h" |
12602 |
|
|
12603 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
12876 |
libext="$libext" |
libext="$libext" |
12877 |
|
|
12878 |
# Shared library suffix (normally ".so"). |
# Shared library suffix (normally ".so"). |
12879 |
shrext='$shrext' |
shrext_cmds='$shrext_cmds' |
12880 |
|
|
12881 |
# Executable file suffix (normally ""). |
# Executable file suffix (normally ""). |
12882 |
exeext="$exeext" |
exeext="$exeext" |
13198 |
postinstall_cmds='$RANLIB $lib' |
postinstall_cmds='$RANLIB $lib' |
13199 |
fi |
fi |
13200 |
;; |
;; |
13201 |
aix4*) |
aix4* | aix5*) |
13202 |
test "$enable_shared" = yes && enable_static=no |
test "$enable_shared" = yes && enable_static=no |
13203 |
;; |
;; |
13204 |
esac |
esac |
13424 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13425 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13426 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13427 |
(eval echo "\"\$as_me:12835: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13427: $lt_compile\"" >&5) |
13428 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13429 |
ac_status=$? |
ac_status=$? |
13430 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13431 |
echo "$as_me:12839: \$? = $ac_status" >&5 |
echo "$as_me:13431: \$? = $ac_status" >&5 |
13432 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13433 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13434 |
# So say no if there are warnings |
# So say no if there are warnings |
13475 |
mkdir out |
mkdir out |
13476 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
13477 |
|
|
|
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
# that will create temporary files in the current directory regardless of |
|
|
# the output directory. Thus, making CWD read-only will cause this test |
|
|
# to fail, enabling locking or at least warning the user not to do parallel |
|
|
# builds. |
|
|
chmod -w . |
|
|
|
|
13478 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
13479 |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
13480 |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
13484 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13485 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13486 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13487 |
(eval echo "\"\$as_me:12902: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13487: $lt_compile\"" >&5) |
13488 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
13489 |
ac_status=$? |
ac_status=$? |
13490 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
13491 |
echo "$as_me:12906: \$? = $ac_status" >&5 |
echo "$as_me:13491: \$? = $ac_status" >&5 |
13492 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13493 |
then |
then |
13494 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13661 |
fi |
fi |
13662 |
;; |
;; |
13663 |
|
|
13664 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
13665 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
13666 |
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
13667 |
wlarc= |
wlarc= |
13700 |
;; |
;; |
13701 |
|
|
13702 |
linux*) |
linux*) |
13703 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
13704 |
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
13705 |
archive_cmds_F77="$tmp_archive_cmds" |
archive_cmds_F77="$tmp_archive_cmds" |
13706 |
supports_anon_versioning=no |
supports_anon_versioning=no |
13719 |
else |
else |
13720 |
archive_expsym_cmds_F77="$tmp_archive_cmds" |
archive_expsym_cmds_F77="$tmp_archive_cmds" |
13721 |
fi |
fi |
13722 |
|
link_all_deplibs_F77=no |
13723 |
else |
else |
13724 |
ld_shlibs_F77=no |
ld_shlibs_F77=no |
13725 |
fi |
fi |
13859 |
_ACEOF |
_ACEOF |
13860 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
13861 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13862 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
13863 |
ac_status=$? |
ac_status=$? |
13864 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13865 |
|
rm -f conftest.er1 |
13866 |
|
cat conftest.err >&5 |
13867 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13868 |
(exit $ac_status); } && |
(exit $ac_status); } && |
13869 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
13870 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13871 |
|
(eval $ac_try) 2>&5 |
13872 |
|
ac_status=$? |
13873 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13874 |
|
(exit $ac_status); }; } && |
13875 |
|
{ ac_try='test -s conftest$ac_exeext' |
13876 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13877 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
13878 |
ac_status=$? |
ac_status=$? |
13889 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13890 |
|
|
13891 |
fi |
fi |
13892 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
13893 |
|
conftest$ac_exeext conftest.$ac_ext |
13894 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13895 |
|
|
13896 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
13909 |
_ACEOF |
_ACEOF |
13910 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
13911 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13912 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
13913 |
ac_status=$? |
ac_status=$? |
13914 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13915 |
|
rm -f conftest.er1 |
13916 |
|
cat conftest.err >&5 |
13917 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13918 |
(exit $ac_status); } && |
(exit $ac_status); } && |
13919 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
13920 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13921 |
|
(eval $ac_try) 2>&5 |
13922 |
|
ac_status=$? |
13923 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13924 |
|
(exit $ac_status); }; } && |
13925 |
|
{ ac_try='test -s conftest$ac_exeext' |
13926 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13927 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
13928 |
ac_status=$? |
ac_status=$? |
13939 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13940 |
|
|
13941 |
fi |
fi |
13942 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
13943 |
|
conftest$ac_exeext conftest.$ac_ext |
13944 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13945 |
|
|
13946 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
13981 |
# Tell ltmain to make .lib files, not .a files. |
# Tell ltmain to make .lib files, not .a files. |
13982 |
libext=lib |
libext=lib |
13983 |
# Tell ltmain to make .dll files, not .so files. |
# Tell ltmain to make .dll files, not .so files. |
13984 |
shrext=".dll" |
shrext_cmds=".dll" |
13985 |
# FIXME: Setting linknames here is a bad hack. |
# FIXME: Setting linknames here is a bad hack. |
13986 |
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
13987 |
# The linker will automatically build a .lib file if we build a DLL. |
# The linker will automatically build a .lib file if we build a DLL. |
14159 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
14160 |
;; |
;; |
14161 |
|
|
14162 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
14163 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
14164 |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
14165 |
else |
else |
14437 |
library_names_spec= |
library_names_spec= |
14438 |
libname_spec='lib$name' |
libname_spec='lib$name' |
14439 |
soname_spec= |
soname_spec= |
14440 |
shrext=".so" |
shrext_cmds=".so" |
14441 |
postinstall_cmds= |
postinstall_cmds= |
14442 |
postuninstall_cmds= |
postuninstall_cmds= |
14443 |
finish_cmds= |
finish_cmds= |
14550 |
|
|
14551 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
14552 |
version_type=windows |
version_type=windows |
14553 |
shrext=".dll" |
shrext_cmds=".dll" |
14554 |
need_version=no |
need_version=no |
14555 |
need_lib_prefix=no |
need_lib_prefix=no |
14556 |
|
|
14615 |
soname_spec='${libname}${release}${major}$shared_ext' |
soname_spec='${libname}${release}${major}$shared_ext' |
14616 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
14617 |
shlibpath_var=DYLD_LIBRARY_PATH |
shlibpath_var=DYLD_LIBRARY_PATH |
14618 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
14619 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
14620 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
14621 |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
14698 |
need_version=no |
need_version=no |
14699 |
case "$host_cpu" in |
case "$host_cpu" in |
14700 |
ia64*) |
ia64*) |
14701 |
shrext='.so' |
shrext_cmds='.so' |
14702 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
14703 |
dynamic_linker="$host_os dld.so" |
dynamic_linker="$host_os dld.so" |
14704 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
14713 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
14714 |
;; |
;; |
14715 |
hppa*64*) |
hppa*64*) |
14716 |
shrext='.sl' |
shrext_cmds='.sl' |
14717 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
14718 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
14719 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
14724 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
14725 |
;; |
;; |
14726 |
*) |
*) |
14727 |
shrext='.sl' |
shrext_cmds='.sl' |
14728 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
14729 |
shlibpath_var=SHLIB_PATH |
shlibpath_var=SHLIB_PATH |
14730 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
14793 |
# before this can be enabled. |
# before this can be enabled. |
14794 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
14795 |
|
|
14796 |
|
# Append ld.so.conf contents to the search path |
14797 |
|
if test -f /etc/ld.so.conf; then |
14798 |
|
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
14799 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
14800 |
|
fi |
14801 |
|
|
14802 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
14803 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
14804 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
14808 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
14809 |
;; |
;; |
14810 |
|
|
14811 |
|
knetbsd*-gnu) |
14812 |
|
version_type=linux |
14813 |
|
need_lib_prefix=no |
14814 |
|
need_version=no |
14815 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
14816 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
14817 |
|
shlibpath_var=LD_LIBRARY_PATH |
14818 |
|
shlibpath_overrides_runpath=no |
14819 |
|
hardcode_into_libs=yes |
14820 |
|
dynamic_linker='GNU ld.so' |
14821 |
|
;; |
14822 |
|
|
14823 |
netbsd*) |
netbsd*) |
14824 |
version_type=sunos |
version_type=sunos |
14825 |
need_lib_prefix=no |
need_lib_prefix=no |
14829 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
14830 |
dynamic_linker='NetBSD (a.out) ld.so' |
dynamic_linker='NetBSD (a.out) ld.so' |
14831 |
else |
else |
14832 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
14833 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
14834 |
dynamic_linker='NetBSD ld.elf_so' |
dynamic_linker='NetBSD ld.elf_so' |
14835 |
fi |
fi |
14858 |
openbsd*) |
openbsd*) |
14859 |
version_type=sunos |
version_type=sunos |
14860 |
need_lib_prefix=no |
need_lib_prefix=no |
14861 |
need_version=no |
need_version=yes |
14862 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
14863 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
14864 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
14878 |
|
|
14879 |
os2*) |
os2*) |
14880 |
libname_spec='$name' |
libname_spec='$name' |
14881 |
shrext=".dll" |
shrext_cmds=".dll" |
14882 |
need_lib_prefix=no |
need_lib_prefix=no |
14883 |
library_names_spec='$libname${shared_ext} $libname.a' |
library_names_spec='$libname${shared_ext} $libname.a' |
14884 |
dynamic_linker='OS/2 ld.exe' |
dynamic_linker='OS/2 ld.exe' |
15219 |
libext="$libext" |
libext="$libext" |
15220 |
|
|
15221 |
# Shared library suffix (normally ".so"). |
# Shared library suffix (normally ".so"). |
15222 |
shrext='$shrext' |
shrext_cmds='$shrext_cmds' |
15223 |
|
|
15224 |
# Executable file suffix (normally ""). |
# Executable file suffix (normally ""). |
15225 |
exeext="$exeext" |
exeext="$exeext" |
15517 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15518 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15519 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15520 |
(eval echo "\"\$as_me:14896: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15520: $lt_compile\"" >&5) |
15521 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15522 |
ac_status=$? |
ac_status=$? |
15523 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15524 |
echo "$as_me:14900: \$? = $ac_status" >&5 |
echo "$as_me:15524: \$? = $ac_status" >&5 |
15525 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15526 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15527 |
# So say no if there are warnings |
# So say no if there are warnings |
15750 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15751 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15752 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15753 |
(eval echo "\"\$as_me:15129: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15753: $lt_compile\"" >&5) |
15754 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15755 |
ac_status=$? |
ac_status=$? |
15756 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15757 |
echo "$as_me:15133: \$? = $ac_status" >&5 |
echo "$as_me:15757: \$? = $ac_status" >&5 |
15758 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15759 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15760 |
# So say no if there are warnings |
# So say no if there are warnings |
15801 |
mkdir out |
mkdir out |
15802 |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
15803 |
|
|
|
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
# that will create temporary files in the current directory regardless of |
|
|
# the output directory. Thus, making CWD read-only will cause this test |
|
|
# to fail, enabling locking or at least warning the user not to do parallel |
|
|
# builds. |
|
|
chmod -w . |
|
|
|
|
15804 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
15805 |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
15806 |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
15810 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15811 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15812 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15813 |
(eval echo "\"\$as_me:15196: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15813: $lt_compile\"" >&5) |
15814 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
15815 |
ac_status=$? |
ac_status=$? |
15816 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
15817 |
echo "$as_me:15200: \$? = $ac_status" >&5 |
echo "$as_me:15817: \$? = $ac_status" >&5 |
15818 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15819 |
then |
then |
15820 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15987 |
fi |
fi |
15988 |
;; |
;; |
15989 |
|
|
15990 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
15991 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
15992 |
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
15993 |
wlarc= |
wlarc= |
16026 |
;; |
;; |
16027 |
|
|
16028 |
linux*) |
linux*) |
16029 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16030 |
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16031 |
archive_cmds_GCJ="$tmp_archive_cmds" |
archive_cmds_GCJ="$tmp_archive_cmds" |
16032 |
supports_anon_versioning=no |
supports_anon_versioning=no |
16045 |
else |
else |
16046 |
archive_expsym_cmds_GCJ="$tmp_archive_cmds" |
archive_expsym_cmds_GCJ="$tmp_archive_cmds" |
16047 |
fi |
fi |
16048 |
|
link_all_deplibs_GCJ=no |
16049 |
else |
else |
16050 |
ld_shlibs_GCJ=no |
ld_shlibs_GCJ=no |
16051 |
fi |
fi |
16179 |
allow_undefined_flag_GCJ='-berok' |
allow_undefined_flag_GCJ='-berok' |
16180 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16181 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16182 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16183 |
_ACEOF |
_ACEOF |
16184 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16195 |
_ACEOF |
_ACEOF |
16196 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16197 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16198 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16199 |
ac_status=$? |
ac_status=$? |
16200 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16201 |
|
rm -f conftest.er1 |
16202 |
|
cat conftest.err >&5 |
16203 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16204 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16205 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
16206 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16207 |
|
(eval $ac_try) 2>&5 |
16208 |
|
ac_status=$? |
16209 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16210 |
|
(exit $ac_status); }; } && |
16211 |
|
{ ac_try='test -s conftest$ac_exeext' |
16212 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16213 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16214 |
ac_status=$? |
ac_status=$? |
16225 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16226 |
|
|
16227 |
fi |
fi |
16228 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16229 |
|
conftest$ac_exeext conftest.$ac_ext |
16230 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16231 |
|
|
16232 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16239 |
else |
else |
16240 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16241 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16242 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16243 |
_ACEOF |
_ACEOF |
16244 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16255 |
_ACEOF |
_ACEOF |
16256 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16257 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16258 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16259 |
ac_status=$? |
ac_status=$? |
16260 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16261 |
|
rm -f conftest.er1 |
16262 |
|
cat conftest.err >&5 |
16263 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16264 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16265 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
16266 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16267 |
|
(eval $ac_try) 2>&5 |
16268 |
|
ac_status=$? |
16269 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16270 |
|
(exit $ac_status); }; } && |
16271 |
|
{ ac_try='test -s conftest$ac_exeext' |
16272 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16273 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16274 |
ac_status=$? |
ac_status=$? |
16285 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16286 |
|
|
16287 |
fi |
fi |
16288 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16289 |
|
conftest$ac_exeext conftest.$ac_ext |
16290 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16291 |
|
|
16292 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16327 |
# Tell ltmain to make .lib files, not .a files. |
# Tell ltmain to make .lib files, not .a files. |
16328 |
libext=lib |
libext=lib |
16329 |
# Tell ltmain to make .dll files, not .so files. |
# Tell ltmain to make .dll files, not .so files. |
16330 |
shrext=".dll" |
shrext_cmds=".dll" |
16331 |
# FIXME: Setting linknames here is a bad hack. |
# FIXME: Setting linknames here is a bad hack. |
16332 |
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
16333 |
# The linker will automatically build a .lib file if we build a DLL. |
# The linker will automatically build a .lib file if we build a DLL. |
16505 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
16506 |
;; |
;; |
16507 |
|
|
16508 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
16509 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
16510 |
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
16511 |
else |
else |
16783 |
library_names_spec= |
library_names_spec= |
16784 |
libname_spec='lib$name' |
libname_spec='lib$name' |
16785 |
soname_spec= |
soname_spec= |
16786 |
shrext=".so" |
shrext_cmds=".so" |
16787 |
postinstall_cmds= |
postinstall_cmds= |
16788 |
postuninstall_cmds= |
postuninstall_cmds= |
16789 |
finish_cmds= |
finish_cmds= |
16896 |
|
|
16897 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
16898 |
version_type=windows |
version_type=windows |
16899 |
shrext=".dll" |
shrext_cmds=".dll" |
16900 |
need_version=no |
need_version=no |
16901 |
need_lib_prefix=no |
need_lib_prefix=no |
16902 |
|
|
16961 |
soname_spec='${libname}${release}${major}$shared_ext' |
soname_spec='${libname}${release}${major}$shared_ext' |
16962 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
16963 |
shlibpath_var=DYLD_LIBRARY_PATH |
shlibpath_var=DYLD_LIBRARY_PATH |
16964 |
shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' |
16965 |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
16966 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
16967 |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
17044 |
need_version=no |
need_version=no |
17045 |
case "$host_cpu" in |
case "$host_cpu" in |
17046 |
ia64*) |
ia64*) |
17047 |
shrext='.so' |
shrext_cmds='.so' |
17048 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17049 |
dynamic_linker="$host_os dld.so" |
dynamic_linker="$host_os dld.so" |
17050 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
17059 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17060 |
;; |
;; |
17061 |
hppa*64*) |
hppa*64*) |
17062 |
shrext='.sl' |
shrext_cmds='.sl' |
17063 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17064 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
17065 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
17070 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17071 |
;; |
;; |
17072 |
*) |
*) |
17073 |
shrext='.sl' |
shrext_cmds='.sl' |
17074 |
dynamic_linker="$host_os dld.sl" |
dynamic_linker="$host_os dld.sl" |
17075 |
shlibpath_var=SHLIB_PATH |
shlibpath_var=SHLIB_PATH |
17076 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
17139 |
# before this can be enabled. |
# before this can be enabled. |
17140 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17141 |
|
|
17142 |
|
# Append ld.so.conf contents to the search path |
17143 |
|
if test -f /etc/ld.so.conf; then |
17144 |
|
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
17145 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
17146 |
|
fi |
17147 |
|
|
17148 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
17149 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
17150 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
17154 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
17155 |
;; |
;; |
17156 |
|
|
17157 |
|
knetbsd*-gnu) |
17158 |
|
version_type=linux |
17159 |
|
need_lib_prefix=no |
17160 |
|
need_version=no |
17161 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
17162 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
17163 |
|
shlibpath_var=LD_LIBRARY_PATH |
17164 |
|
shlibpath_overrides_runpath=no |
17165 |
|
hardcode_into_libs=yes |
17166 |
|
dynamic_linker='GNU ld.so' |
17167 |
|
;; |
17168 |
|
|
17169 |
netbsd*) |
netbsd*) |
17170 |
version_type=sunos |
version_type=sunos |
17171 |
need_lib_prefix=no |
need_lib_prefix=no |
17175 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17176 |
dynamic_linker='NetBSD (a.out) ld.so' |
dynamic_linker='NetBSD (a.out) ld.so' |
17177 |
else |
else |
17178 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
17179 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
17180 |
dynamic_linker='NetBSD ld.elf_so' |
dynamic_linker='NetBSD ld.elf_so' |
17181 |
fi |
fi |
17204 |
openbsd*) |
openbsd*) |
17205 |
version_type=sunos |
version_type=sunos |
17206 |
need_lib_prefix=no |
need_lib_prefix=no |
17207 |
need_version=no |
need_version=yes |
17208 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17209 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17210 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
17224 |
|
|
17225 |
os2*) |
os2*) |
17226 |
libname_spec='$name' |
libname_spec='$name' |
17227 |
shrext=".dll" |
shrext_cmds=".dll" |
17228 |
need_lib_prefix=no |
need_lib_prefix=no |
17229 |
library_names_spec='$libname${shared_ext} $libname.a' |
library_names_spec='$libname${shared_ext} $libname.a' |
17230 |
dynamic_linker='OS/2 ld.exe' |
dynamic_linker='OS/2 ld.exe' |
17423 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17424 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
17425 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17426 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17427 |
_ACEOF |
_ACEOF |
17428 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17446 |
_ACEOF |
_ACEOF |
17447 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17448 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17449 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17450 |
ac_status=$? |
ac_status=$? |
17451 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17452 |
|
rm -f conftest.er1 |
17453 |
|
cat conftest.err >&5 |
17454 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17455 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17456 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17457 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17458 |
|
(eval $ac_try) 2>&5 |
17459 |
|
ac_status=$? |
17460 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17461 |
|
(exit $ac_status); }; } && |
17462 |
|
{ ac_try='test -s conftest$ac_exeext' |
17463 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17464 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17465 |
ac_status=$? |
ac_status=$? |
17472 |
|
|
17473 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
17474 |
fi |
fi |
17475 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17476 |
|
conftest$ac_exeext conftest.$ac_ext |
17477 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17478 |
fi |
fi |
17479 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
17497 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17498 |
else |
else |
17499 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17500 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17501 |
_ACEOF |
_ACEOF |
17502 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17503 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
17504 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
17505 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
17506 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
17507 |
|
#define shl_load innocuous_shl_load |
17508 |
|
|
17509 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
17510 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
17511 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
17512 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
17513 |
|
|
17514 |
#ifdef __STDC__ |
#ifdef __STDC__ |
17515 |
# include <limits.h> |
# include <limits.h> |
17516 |
#else |
#else |
17517 |
# include <assert.h> |
# include <assert.h> |
17518 |
#endif |
#endif |
17519 |
|
|
17520 |
|
#undef shl_load |
17521 |
|
|
17522 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
17523 |
#ifdef __cplusplus |
#ifdef __cplusplus |
17524 |
extern "C" |
extern "C" |
17549 |
_ACEOF |
_ACEOF |
17550 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17551 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17552 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17553 |
ac_status=$? |
ac_status=$? |
17554 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17555 |
|
rm -f conftest.er1 |
17556 |
|
cat conftest.err >&5 |
17557 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17558 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17559 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17560 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17561 |
|
(eval $ac_try) 2>&5 |
17562 |
|
ac_status=$? |
17563 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17564 |
|
(exit $ac_status); }; } && |
17565 |
|
{ ac_try='test -s conftest$ac_exeext' |
17566 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17567 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17568 |
ac_status=$? |
ac_status=$? |
17575 |
|
|
17576 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
17577 |
fi |
fi |
17578 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17579 |
|
conftest$ac_exeext conftest.$ac_ext |
17580 |
fi |
fi |
17581 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
17582 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
17591 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17592 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
17593 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17594 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17595 |
_ACEOF |
_ACEOF |
17596 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17614 |
_ACEOF |
_ACEOF |
17615 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17616 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17617 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17618 |
ac_status=$? |
ac_status=$? |
17619 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17620 |
|
rm -f conftest.er1 |
17621 |
|
cat conftest.err >&5 |
17622 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17623 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17624 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17625 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17626 |
|
(eval $ac_try) 2>&5 |
17627 |
|
ac_status=$? |
17628 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17629 |
|
(exit $ac_status); }; } && |
17630 |
|
{ ac_try='test -s conftest$ac_exeext' |
17631 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17632 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17633 |
ac_status=$? |
ac_status=$? |
17640 |
|
|
17641 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
17642 |
fi |
fi |
17643 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17644 |
|
conftest$ac_exeext conftest.$ac_ext |
17645 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17646 |
fi |
fi |
17647 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
17655 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17656 |
else |
else |
17657 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17658 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17659 |
_ACEOF |
_ACEOF |
17660 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17661 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
17662 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
17663 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
17664 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
17665 |
|
#define dlopen innocuous_dlopen |
17666 |
|
|
17667 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
17668 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
17669 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
17670 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
17671 |
|
|
17672 |
#ifdef __STDC__ |
#ifdef __STDC__ |
17673 |
# include <limits.h> |
# include <limits.h> |
17674 |
#else |
#else |
17675 |
# include <assert.h> |
# include <assert.h> |
17676 |
#endif |
#endif |
17677 |
|
|
17678 |
|
#undef dlopen |
17679 |
|
|
17680 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
17681 |
#ifdef __cplusplus |
#ifdef __cplusplus |
17682 |
extern "C" |
extern "C" |
17707 |
_ACEOF |
_ACEOF |
17708 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17709 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17710 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17711 |
ac_status=$? |
ac_status=$? |
17712 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17713 |
|
rm -f conftest.er1 |
17714 |
|
cat conftest.err >&5 |
17715 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17716 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17717 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17718 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17719 |
|
(eval $ac_try) 2>&5 |
17720 |
|
ac_status=$? |
17721 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17722 |
|
(exit $ac_status); }; } && |
17723 |
|
{ ac_try='test -s conftest$ac_exeext' |
17724 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17725 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17726 |
ac_status=$? |
ac_status=$? |
17733 |
|
|
17734 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
17735 |
fi |
fi |
17736 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17737 |
|
conftest$ac_exeext conftest.$ac_ext |
17738 |
fi |
fi |
17739 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
17740 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
17749 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17750 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
17751 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17752 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17753 |
_ACEOF |
_ACEOF |
17754 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17772 |
_ACEOF |
_ACEOF |
17773 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17774 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17775 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17776 |
ac_status=$? |
ac_status=$? |
17777 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17778 |
|
rm -f conftest.er1 |
17779 |
|
cat conftest.err >&5 |
17780 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17781 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17782 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17783 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17784 |
|
(eval $ac_try) 2>&5 |
17785 |
|
ac_status=$? |
17786 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17787 |
|
(exit $ac_status); }; } && |
17788 |
|
{ ac_try='test -s conftest$ac_exeext' |
17789 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17790 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17791 |
ac_status=$? |
ac_status=$? |
17798 |
|
|
17799 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
17800 |
fi |
fi |
17801 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17802 |
|
conftest$ac_exeext conftest.$ac_ext |
17803 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17804 |
fi |
fi |
17805 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
17815 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17816 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
17817 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17818 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17819 |
_ACEOF |
_ACEOF |
17820 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17838 |
_ACEOF |
_ACEOF |
17839 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17840 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17841 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17842 |
ac_status=$? |
ac_status=$? |
17843 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17844 |
|
rm -f conftest.er1 |
17845 |
|
cat conftest.err >&5 |
17846 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17847 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17848 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17849 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17850 |
|
(eval $ac_try) 2>&5 |
17851 |
|
ac_status=$? |
17852 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17853 |
|
(exit $ac_status); }; } && |
17854 |
|
{ ac_try='test -s conftest$ac_exeext' |
17855 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17856 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17857 |
ac_status=$? |
ac_status=$? |
17864 |
|
|
17865 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
17866 |
fi |
fi |
17867 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17868 |
|
conftest$ac_exeext conftest.$ac_ext |
17869 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17870 |
fi |
fi |
17871 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
17881 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17882 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
17883 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17884 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17885 |
_ACEOF |
_ACEOF |
17886 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17904 |
_ACEOF |
_ACEOF |
17905 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17906 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17907 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17908 |
ac_status=$? |
ac_status=$? |
17909 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17910 |
|
rm -f conftest.er1 |
17911 |
|
cat conftest.err >&5 |
17912 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17913 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17914 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17915 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17916 |
|
(eval $ac_try) 2>&5 |
17917 |
|
ac_status=$? |
17918 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17919 |
|
(exit $ac_status); }; } && |
17920 |
|
{ ac_try='test -s conftest$ac_exeext' |
17921 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17922 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17923 |
ac_status=$? |
ac_status=$? |
17930 |
|
|
17931 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
17932 |
fi |
fi |
17933 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17934 |
|
conftest$ac_exeext conftest.$ac_ext |
17935 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17936 |
fi |
fi |
17937 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
17986 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
17987 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
17988 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
17989 |
#line 17256 "configure" |
#line 17989 "configure" |
17990 |
#include "confdefs.h" |
#include "confdefs.h" |
17991 |
|
|
17992 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18084 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18085 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18086 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18087 |
#line 17354 "configure" |
#line 18087 "configure" |
18088 |
#include "confdefs.h" |
#include "confdefs.h" |
18089 |
|
|
18090 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18363 |
libext="$libext" |
libext="$libext" |
18364 |
|
|
18365 |
# Shared library suffix (normally ".so"). |
# Shared library suffix (normally ".so"). |
18366 |
shrext='$shrext' |
shrext_cmds='$shrext_cmds' |
18367 |
|
|
18368 |
# Executable file suffix (normally ""). |
# Executable file suffix (normally ""). |
18369 |
exeext="$exeext" |
exeext="$exeext" |
18808 |
libext="$libext" |
libext="$libext" |
18809 |
|
|
18810 |
# Shared library suffix (normally ".so"). |
# Shared library suffix (normally ".so"). |
18811 |
shrext='$shrext' |
shrext_cmds='$shrext_cmds' |
18812 |
|
|
18813 |
# Executable file suffix (normally ""). |
# Executable file suffix (normally ""). |
18814 |
exeext="$exeext" |
exeext="$exeext" |
19128 |
# `set' does not quote correctly, so add quotes (double-quote |
# `set' does not quote correctly, so add quotes (double-quote |
19129 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
19130 |
sed -n \ |
sed -n \ |
19131 |
"s/'/'\\\\''/g; |
"s/'/'\\\\''/g; |
19132 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
19133 |
;; |
;; |
19134 |
*) |
*) |
19135 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
19136 |
sed -n \ |
sed -n \ |
19137 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
19138 |
;; |
;; |
19139 |
esac; |
esac; |
19140 |
} | |
} | |
19164 |
# trailing colons and then remove the whole line if VPATH becomes empty |
# trailing colons and then remove the whole line if VPATH becomes empty |
19165 |
# (actually we leave an empty line to preserve line numbers). |
# (actually we leave an empty line to preserve line numbers). |
19166 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
19167 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
19168 |
s/:*\$(srcdir):*/:/; |
s/:*\$(srcdir):*/:/; |
19169 |
s/:*\${srcdir}:*/:/; |
s/:*\${srcdir}:*/:/; |
19170 |
s/:*@srcdir@:*/:/; |
s/:*@srcdir@:*/:/; |
19171 |
s/^\([^=]*=[ ]*\):*/\1/; |
s/^\([^=]*=[ ]*\):*/\1/; |
19172 |
s/:*$//; |
s/:*$//; |
19173 |
s/^[^=]*=[ ]*$//; |
s/^[^=]*=[ ]*$//; |
19174 |
}' |
}' |
19175 |
fi |
fi |
19176 |
|
|
19181 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
19182 |
# 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
19183 |
ac_i=`echo "$ac_i" | |
ac_i=`echo "$ac_i" | |
19184 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
19185 |
# 2. Add them. |
# 2. Add them. |
19186 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
19187 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
19232 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
19233 |
set -o posix |
set -o posix |
19234 |
fi |
fi |
19235 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
19236 |
|
|
19237 |
# Support unset when possible. |
# Support unset when possible. |
19238 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
19239 |
as_unset=unset |
as_unset=unset |
19240 |
else |
else |
19241 |
as_unset=false |
as_unset=false |
19254 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
19255 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
19256 |
do |
do |
19257 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
19258 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
19259 |
else |
else |
19260 |
$as_unset $as_var |
$as_unset $as_var |
19433 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
19434 |
as_mkdir_p=: |
as_mkdir_p=: |
19435 |
else |
else |
19436 |
|
test -d ./-p && rmdir ./-p |
19437 |
as_mkdir_p=false |
as_mkdir_p=false |
19438 |
fi |
fi |
19439 |
|
|
19440 |
as_executable_p="test -f" |
as_executable_p="test -f" |
19441 |
|
|
19442 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
19443 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
19444 |
|
|
19445 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
19446 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
19447 |
|
|
19448 |
|
|
19449 |
# IFS |
# IFS |
19470 |
cat >&5 <<_CSEOF |
cat >&5 <<_CSEOF |
19471 |
|
|
19472 |
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
19473 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.59. Invocation command line was |
19474 |
|
|
19475 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
19476 |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
19514 |
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
19515 |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
19516 |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
19517 |
instantiate the configuration file FILE |
instantiate the configuration file FILE |
19518 |
--header=FILE[:TEMPLATE] |
--header=FILE[:TEMPLATE] |
19519 |
instantiate the configuration header FILE |
instantiate the configuration header FILE |
19520 |
|
|
19521 |
Configuration files: |
Configuration files: |
19522 |
$config_files |
$config_files |
19533 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
19534 |
ac_cs_version="\\ |
ac_cs_version="\\ |
19535 |
config.status |
config.status |
19536 |
configured by $0, generated by GNU Autoconf 2.57, |
configured by $0, generated by GNU Autoconf 2.59, |
19537 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
19538 |
|
|
19539 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
19540 |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
19541 |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
19542 |
srcdir=$srcdir |
srcdir=$srcdir |
19731 |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
19732 |
s,@ECHO_T@,$ECHO_T,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
19733 |
s,@LIBS@,$LIBS,;t t |
s,@LIBS@,$LIBS,;t t |
19734 |
|
s,@CC@,$CC,;t t |
19735 |
|
s,@CFLAGS@,$CFLAGS,;t t |
19736 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
19737 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
19738 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
19739 |
|
s,@EXEEXT@,$EXEEXT,;t t |
19740 |
|
s,@OBJEXT@,$OBJEXT,;t t |
19741 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
19742 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
19743 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
19755 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
19756 |
s,@AWK@,$AWK,;t t |
s,@AWK@,$AWK,;t t |
19757 |
s,@SET_MAKE@,$SET_MAKE,;t t |
s,@SET_MAKE@,$SET_MAKE,;t t |
|
s,@CXX@,$CXX,;t t |
|
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
|
|
s,@LDFLAGS@,$LDFLAGS,;t t |
|
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
|
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
|
|
s,@EXEEXT@,$EXEEXT,;t t |
|
|
s,@OBJEXT@,$OBJEXT,;t t |
|
19758 |
s,@DEPDIR@,$DEPDIR,;t t |
s,@DEPDIR@,$DEPDIR,;t t |
19759 |
s,@am__include@,$am__include,;t t |
s,@am__include@,$am__include,;t t |
19760 |
s,@am__quote@,$am__quote,;t t |
s,@am__quote@,$am__quote,;t t |
19761 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
19762 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
19763 |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
19764 |
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
19765 |
|
s,@CXX@,$CXX,;t t |
19766 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
19767 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
19768 |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
19769 |
s,@build@,$build,;t t |
s,@build@,$build,;t t |
19770 |
s,@build_cpu@,$build_cpu,;t t |
s,@build_cpu@,$build_cpu,;t t |
19774 |
s,@host_cpu@,$host_cpu,;t t |
s,@host_cpu@,$host_cpu,;t t |
19775 |
s,@host_vendor@,$host_vendor,;t t |
s,@host_vendor@,$host_vendor,;t t |
19776 |
s,@host_os@,$host_os,;t t |
s,@host_os@,$host_os,;t t |
|
s,@CC@,$CC,;t t |
|
|
s,@CFLAGS@,$CFLAGS,;t t |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
|
19777 |
s,@EGREP@,$EGREP,;t t |
s,@EGREP@,$EGREP,;t t |
19778 |
s,@LN_S@,$LN_S,;t t |
s,@LN_S@,$LN_S,;t t |
19779 |
s,@ECHO@,$ECHO,;t t |
s,@ECHO@,$ECHO,;t t |
19818 |
(echo ':t |
(echo ':t |
19819 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
19820 |
if test -z "$ac_sed_cmds"; then |
if test -z "$ac_sed_cmds"; then |
19821 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
19822 |
else |
else |
19823 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
19824 |
fi |
fi |
19825 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
ac_sed_frag=`expr $ac_sed_frag + 1` |
19826 |
ac_beg=$ac_end |
ac_beg=$ac_end |
19838 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
19839 |
case $ac_file in |
case $ac_file in |
19840 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
19841 |
cat >$tmp/stdin |
cat >$tmp/stdin |
19842 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
19843 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
19844 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
19845 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
19846 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
19847 |
esac |
esac |
19848 |
|
|
19849 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
19850 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
19851 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
19852 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
19853 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
19854 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
19855 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
19856 |
echo X"$ac_file" | |
echo X"$ac_file" | |
19857 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
19858 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
19868 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
19869 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
19870 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
19871 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
19872 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
19873 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
19874 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
19875 |
echo X"$as_dir" | |
echo X"$as_dir" | |
19876 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
19877 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
19909 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
19910 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
19911 |
esac |
esac |
19912 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
19913 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
19914 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
19915 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
19916 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
19917 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
19918 |
|
case "$ac_dir" in |
19919 |
|
.) ac_abs_builddir=`pwd`;; |
19920 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
19921 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
19922 |
|
esac;; |
19923 |
|
esac |
19924 |
|
case $ac_abs_builddir in |
19925 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
19926 |
|
*) |
19927 |
|
case ${ac_top_builddir}. in |
19928 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
19929 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
19930 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
19931 |
|
esac;; |
19932 |
|
esac |
19933 |
|
case $ac_abs_builddir in |
19934 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
19935 |
|
*) |
19936 |
|
case $ac_srcdir in |
19937 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
19938 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
19939 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
19940 |
|
esac;; |
19941 |
|
esac |
19942 |
|
case $ac_abs_builddir in |
19943 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
19944 |
|
*) |
19945 |
|
case $ac_top_srcdir in |
19946 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
19947 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
19948 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
19949 |
|
esac;; |
19950 |
|
esac |
19951 |
|
|
19952 |
|
|
19953 |
case $INSTALL in |
case $INSTALL in |
19955 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
19956 |
esac |
esac |
19957 |
|
|
|
if test x"$ac_file" != x-; then |
|
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
echo "$as_me: creating $ac_file" >&6;} |
|
|
rm -f "$ac_file" |
|
|
fi |
|
19958 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
19959 |
# use $as_me), people would be surprised to read: |
# use $as_me), people would be surprised to read: |
19960 |
# /* config.h. Generated by config.status. */ |
# /* config.h. Generated by config.status. */ |
19964 |
configure_input="$ac_file. " |
configure_input="$ac_file. " |
19965 |
fi |
fi |
19966 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
19967 |
sed 's,.*/,,'` by configure." |
sed 's,.*/,,'` by configure." |
19968 |
|
|
19969 |
# First look for the input files in the build tree, otherwise in the |
# First look for the input files in the build tree, otherwise in the |
19970 |
# src tree. |
# src tree. |
19973 |
case $f in |
case $f in |
19974 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
19975 |
[\\/$]*) |
[\\/$]*) |
19976 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
19977 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
19978 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
19979 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
19980 |
echo $f;; |
echo "$f";; |
19981 |
*) # Relative |
*) # Relative |
19982 |
if test -f "$f"; then |
if test -f "$f"; then |
19983 |
# Build tree |
# Build tree |
19984 |
echo $f |
echo "$f" |
19985 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
19986 |
# Source tree |
# Source tree |
19987 |
echo $srcdir/$f |
echo "$srcdir/$f" |
19988 |
else |
else |
19989 |
# /dev/null tree |
# /dev/null tree |
19990 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
19991 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
19992 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
19993 |
fi;; |
fi;; |
19994 |
esac |
esac |
19995 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
19996 |
|
|
19997 |
|
if test x"$ac_file" != x-; then |
19998 |
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
19999 |
|
echo "$as_me: creating $ac_file" >&6;} |
20000 |
|
rm -f "$ac_file" |
20001 |
|
fi |
20002 |
_ACEOF |
_ACEOF |
20003 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
20004 |
sed "$ac_vpsub |
sed "$ac_vpsub |
20038 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
20039 |
# |
# |
20040 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
20041 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
20042 |
ac_dB='[ ].*$,\1#\2' |
ac_dB='[ ].*$,\1#\2' |
20043 |
ac_dC=' ' |
ac_dC=' ' |
20044 |
ac_dD=',;t' |
ac_dD=',;t' |
20045 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
20046 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
20047 |
ac_uB='$,\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
20048 |
ac_uC=' ' |
ac_uC=' ' |
20049 |
ac_uD=',;t' |
ac_uD=',;t' |
20052 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20053 |
case $ac_file in |
case $ac_file in |
20054 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
20055 |
cat >$tmp/stdin |
cat >$tmp/stdin |
20056 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20057 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20058 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20059 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20060 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
20061 |
esac |
esac |
20062 |
|
|
20070 |
case $f in |
case $f in |
20071 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
20072 |
[\\/$]*) |
[\\/$]*) |
20073 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
20074 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20075 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20076 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20077 |
echo $f;; |
# Do quote $f, to prevent DOS paths from being IFS'd. |
20078 |
|
echo "$f";; |
20079 |
*) # Relative |
*) # Relative |
20080 |
if test -f "$f"; then |
if test -f "$f"; then |
20081 |
# Build tree |
# Build tree |
20082 |
echo $f |
echo "$f" |
20083 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
20084 |
# Source tree |
# Source tree |
20085 |
echo $srcdir/$f |
echo "$srcdir/$f" |
20086 |
else |
else |
20087 |
# /dev/null tree |
# /dev/null tree |
20088 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20089 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20090 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20091 |
fi;; |
fi;; |
20092 |
esac |
esac |
20093 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
20094 |
# Remove the trailing spaces. |
# Remove the trailing spaces. |
20095 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
20096 |
|
|
20097 |
_ACEOF |
_ACEOF |
20098 |
|
|
20115 |
s,[\\$`],\\&,g |
s,[\\$`],\\&,g |
20116 |
t clear |
t clear |
20117 |
: clear |
: clear |
20118 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
20119 |
t end |
t end |
20120 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
20121 |
: end |
: end |
20122 |
_ACEOF |
_ACEOF |
20123 |
# If some macros were called several times there might be several times |
# If some macros were called several times there might be several times |
20131 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
20132 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
20133 |
cat >>conftest.undefs <<\_ACEOF |
cat >>conftest.undefs <<\_ACEOF |
20134 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
20135 |
_ACEOF |
_ACEOF |
20136 |
|
|
20137 |
# Break up conftest.defines because some shells have a limit on the size |
# Break up conftest.defines because some shells have a limit on the size |
20138 |
# of here documents, and old seds have small limits too (100 cmds). |
# of here documents, and old seds have small limits too (100 cmds). |
20139 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
20140 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
20141 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
20142 |
echo ' :' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
20143 |
rm -f conftest.tail |
rm -f conftest.tail |
20146 |
# Write a limited-size here document to $tmp/defines.sed. |
# Write a limited-size here document to $tmp/defines.sed. |
20147 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
20148 |
# Speed up: don't consider the non `#define' lines. |
# Speed up: don't consider the non `#define' lines. |
20149 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
20150 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20151 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20152 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20173 |
# Write a limited-size here document to $tmp/undefs.sed. |
# Write a limited-size here document to $tmp/undefs.sed. |
20174 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
20175 |
# Speed up: don't consider the non `#undef' |
# Speed up: don't consider the non `#undef' |
20176 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
20177 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20178 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20179 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20207 |
else |
else |
20208 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20209 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20210 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20211 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
20212 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
20213 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20214 |
echo X"$ac_file" | |
echo X"$ac_file" | |
20215 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20216 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20226 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20227 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20228 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20229 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20230 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20231 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20232 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20233 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20234 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20235 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20267 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20268 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
20269 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20270 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
20271 |
X"$ac_dest" : 'X\(//\)$' \| \ |
X"$ac_dest" : 'X\(//\)$' \| \ |
20272 |
X"$ac_dest" : 'X\(/\)' \| \ |
X"$ac_dest" : 'X\(/\)' \| \ |
20273 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20274 |
echo X"$ac_dest" | |
echo X"$ac_dest" | |
20275 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20276 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20277 |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
20278 |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
20279 |
s/.*/./; q'` |
s/.*/./; q'` |
20280 |
|
{ if $as_mkdir_p; then |
20281 |
|
mkdir -p "$ac_dir" |
20282 |
|
else |
20283 |
|
as_dir="$ac_dir" |
20284 |
|
as_dirs= |
20285 |
|
while test ! -d "$as_dir"; do |
20286 |
|
as_dirs="$as_dir $as_dirs" |
20287 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20288 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20289 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20290 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
20291 |
|
X"$as_dir" : 'X\(/\)' \| \ |
20292 |
|
. : '\(.\)' 2>/dev/null || |
20293 |
|
echo X"$as_dir" | |
20294 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20295 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20296 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
20297 |
|
/^X\(\/\).*/{ s//\1/; q; } |
20298 |
|
s/.*/./; q'` |
20299 |
|
done |
20300 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
20301 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
20302 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
20303 |
|
{ (exit 1); exit 1; }; }; } |
20304 |
|
|
20305 |
ac_builddir=. |
ac_builddir=. |
20306 |
|
|
20307 |
if test "$ac_dir" != .; then |
if test "$ac_dir" != .; then |
20327 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20328 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20329 |
esac |
esac |
20330 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
20331 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
20332 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
20333 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
20334 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
20335 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
20336 |
|
case "$ac_dir" in |
20337 |
|
.) ac_abs_builddir=`pwd`;; |
20338 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
20339 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
20340 |
|
esac;; |
20341 |
|
esac |
20342 |
|
case $ac_abs_builddir in |
20343 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
20344 |
|
*) |
20345 |
|
case ${ac_top_builddir}. in |
20346 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
20347 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
20348 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
20349 |
|
esac;; |
20350 |
|
esac |
20351 |
|
case $ac_abs_builddir in |
20352 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
20353 |
|
*) |
20354 |
|
case $ac_srcdir in |
20355 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
20356 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
20357 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
20358 |
|
esac;; |
20359 |
|
esac |
20360 |
|
case $ac_abs_builddir in |
20361 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
20362 |
|
*) |
20363 |
|
case $ac_top_srcdir in |
20364 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
20365 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
20366 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
20367 |
|
esac;; |
20368 |
|
esac |
20369 |
|
|
20370 |
|
|
20371 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
20383 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
20384 |
dirpart=`(dirname "$mf") 2>/dev/null || |
dirpart=`(dirname "$mf") 2>/dev/null || |
20385 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20386 |
X"$mf" : 'X\(//\)[^/]' \| \ |
X"$mf" : 'X\(//\)[^/]' \| \ |
20387 |
X"$mf" : 'X\(//\)$' \| \ |
X"$mf" : 'X\(//\)$' \| \ |
20388 |
X"$mf" : 'X\(/\)' \| \ |
X"$mf" : 'X\(/\)' \| \ |
20389 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20390 |
echo X"$mf" | |
echo X"$mf" | |
20391 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20392 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20422 |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
20423 |
fdir=`(dirname "$file") 2>/dev/null || |
fdir=`(dirname "$file") 2>/dev/null || |
20424 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20425 |
X"$file" : 'X\(//\)[^/]' \| \ |
X"$file" : 'X\(//\)[^/]' \| \ |
20426 |
X"$file" : 'X\(//\)$' \| \ |
X"$file" : 'X\(//\)$' \| \ |
20427 |
X"$file" : 'X\(/\)' \| \ |
X"$file" : 'X\(/\)' \| \ |
20428 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20429 |
echo X"$file" | |
echo X"$file" | |
20430 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20431 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20441 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20442 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20443 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20444 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20445 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20446 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20447 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20448 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20449 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20450 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |