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.58. |
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CPP EGREP 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 LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB 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_CPP_set=${CPP+set} |
ac_env_CPP_set=${CPP+set} |
924 |
ac_env_CPP_value=$CPP |
ac_env_CPP_value=$CPP |
925 |
ac_cv_env_CPP_set=${CPP+set} |
ac_cv_env_CPP_set=${CPP+set} |
926 |
ac_cv_env_CPP_value=$CPP |
ac_cv_env_CPP_value=$CPP |
927 |
|
ac_env_CXX_set=${CXX+set} |
928 |
|
ac_env_CXX_value=$CXX |
929 |
|
ac_cv_env_CXX_set=${CXX+set} |
930 |
|
ac_cv_env_CXX_value=$CXX |
931 |
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
932 |
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
933 |
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
934 |
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
935 |
ac_env_CXXCPP_set=${CXXCPP+set} |
ac_env_CXXCPP_set=${CXXCPP+set} |
936 |
ac_env_CXXCPP_value=$CXXCPP |
ac_env_CXXCPP_value=$CXXCPP |
937 |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
ac_cv_env_CXXCPP_set=${CXXCPP+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 |
1044 |
include additional configurations [automatic] |
include additional configurations [automatic] |
1045 |
|
|
1046 |
Some influential environment variables: |
Some influential environment variables: |
1047 |
CXX C++ compiler command |
CC C compiler command |
1048 |
CXXFLAGS C++ compiler flags |
CFLAGS C compiler flags |
1049 |
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 |
1050 |
nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
1051 |
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 |
1052 |
headers in a nonstandard directory <include dir> |
headers in a nonstandard directory <include dir> |
|
CC C compiler command |
|
|
CFLAGS C compiler flags |
|
1053 |
CPP C preprocessor |
CPP C preprocessor |
1054 |
|
CXX C++ compiler command |
1055 |
|
CXXFLAGS C++ compiler flags |
1056 |
CXXCPP C++ preprocessor |
CXXCPP C++ preprocessor |
1057 |
F77 Fortran 77 compiler command |
F77 Fortran 77 compiler command |
1058 |
FFLAGS Fortran 77 compiler flags |
FFLAGS Fortran 77 compiler flags |
1093 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1094 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1095 |
esac |
esac |
1096 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
1097 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
1098 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
1099 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
1100 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
1101 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
1102 |
|
case "$ac_dir" in |
1103 |
|
.) ac_abs_builddir=`pwd`;; |
1104 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
1105 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
1106 |
|
esac;; |
1107 |
|
esac |
1108 |
|
case $ac_abs_builddir in |
1109 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
1110 |
|
*) |
1111 |
|
case ${ac_top_builddir}. in |
1112 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
1113 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
1114 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
1115 |
|
esac;; |
1116 |
|
esac |
1117 |
|
case $ac_abs_builddir in |
1118 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
1119 |
|
*) |
1120 |
|
case $ac_srcdir in |
1121 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
1122 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
1123 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
1124 |
|
esac;; |
1125 |
|
esac |
1126 |
|
case $ac_abs_builddir in |
1127 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
1128 |
|
*) |
1129 |
|
case $ac_top_srcdir in |
1130 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
1131 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
1132 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
1133 |
|
esac;; |
1134 |
|
esac |
1135 |
|
|
1136 |
cd $ac_dir |
cd $ac_dir |
1137 |
# Check for guested configure; otherwise get Cygnus style configure. |
# Check for guested configure; otherwise get Cygnus style configure. |
1142 |
echo |
echo |
1143 |
$SHELL $ac_srcdir/configure --help=recursive |
$SHELL $ac_srcdir/configure --help=recursive |
1144 |
elif test -f $ac_srcdir/configure.ac || |
elif test -f $ac_srcdir/configure.ac || |
1145 |
test -f $ac_srcdir/configure.in; then |
test -f $ac_srcdir/configure.in; then |
1146 |
echo |
echo |
1147 |
$ac_configure --help |
$ac_configure --help |
1148 |
else |
else |
1156 |
if $ac_init_version; then |
if $ac_init_version; then |
1157 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1158 |
|
|
1159 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
1160 |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
1161 |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
1162 |
_ACEOF |
_ACEOF |
1168 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
1169 |
|
|
1170 |
It was created by $as_me, which was |
It was created by $as_me, which was |
1171 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.58. Invocation command line was |
1172 |
|
|
1173 |
$ $0 $@ |
$ $0 $@ |
1174 |
|
|
1245 |
2) |
2) |
1246 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1247 |
if test $ac_must_keep_next = true; then |
if test $ac_must_keep_next = true; then |
1248 |
ac_must_keep_next=false # Got value, back to normal. |
ac_must_keep_next=false # Got value, back to normal. |
1249 |
else |
else |
1250 |
case $ac_arg in |
case $ac_arg in |
1251 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1252 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1253 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1254 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| -with-* | --with-* | -without-* | --without-* | --x) |
1255 |
case "$ac_configure_args0 " in |
case "$ac_configure_args0 " in |
1256 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1257 |
esac |
esac |
1258 |
;; |
;; |
1259 |
-* ) ac_must_keep_next=true ;; |
-* ) ac_must_keep_next=true ;; |
1260 |
esac |
esac |
1261 |
fi |
fi |
1262 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1263 |
# Get rid of the leading space. |
# Get rid of the leading space. |
1291 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1292 |
*ac_space=\ *) |
*ac_space=\ *) |
1293 |
sed -n \ |
sed -n \ |
1294 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1295 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1296 |
;; |
;; |
1297 |
*) |
*) |
1298 |
sed -n \ |
sed -n \ |
1299 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1300 |
;; |
;; |
1301 |
esac; |
esac; |
1302 |
} |
} |
1325 |
for ac_var in $ac_subst_files |
for ac_var in $ac_subst_files |
1326 |
do |
do |
1327 |
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
1328 |
echo "$ac_var='"'"'$ac_val'"'"'" |
echo "$ac_var='"'"'$ac_val'"'"'" |
1329 |
done | sort |
done | sort |
1330 |
echo |
echo |
1331 |
fi |
fi |
1424 |
# value. |
# value. |
1425 |
ac_cache_corrupted=false |
ac_cache_corrupted=false |
1426 |
for ac_var in `(set) 2>&1 | |
for ac_var in `(set) 2>&1 | |
1427 |
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 |
1428 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1429 |
eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set |
1430 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1441 |
,);; |
,);; |
1442 |
*) |
*) |
1443 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1444 |
{ 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 |
1445 |
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;} |
1446 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1447 |
echo "$as_me: former value: $ac_old_val" >&2;} |
echo "$as_me: former value: $ac_old_val" >&2;} |
1448 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1449 |
echo "$as_me: current value: $ac_new_val" >&2;} |
echo "$as_me: current value: $ac_new_val" >&2;} |
1450 |
ac_cache_corrupted=: |
ac_cache_corrupted=: |
1451 |
fi;; |
fi;; |
1452 |
esac |
esac |
1453 |
# Pass precious variables to config.status. |
# Pass precious variables to config.status. |
1495 |
|
|
1496 |
|
|
1497 |
|
|
1498 |
|
ac_ext=c |
1499 |
ac_aux_dir= |
ac_cpp='$CPP $CPPFLAGS' |
1500 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1501 |
if test -f $ac_dir/install-sh; then |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1502 |
ac_aux_dir=$ac_dir |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1503 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
if test -n "$ac_tool_prefix"; then |
1504 |
break |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1505 |
elif test -f $ac_dir/install.sh; then |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1506 |
ac_aux_dir=$ac_dir |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1507 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1508 |
break |
if test "${ac_cv_prog_CC+set}" = set; then |
|
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. |
|
|
|
|
|
# Make sure we can run config.sub. |
|
|
$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; }; } |
|
|
|
|
|
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; }; } |
|
|
|
|
|
fi |
|
|
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/'` |
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
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; }; } |
|
|
|
|
|
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/'` |
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking target system type" >&5 |
|
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
|
|
if test "${ac_cv_target+set}" = set; then |
|
1509 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1510 |
else |
else |
1511 |
ac_cv_target_alias=$target_alias |
if test -n "$CC"; then |
1512 |
test "x$ac_cv_target_alias" = "x" && |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
ac_cv_target_alias=$ac_cv_host_alias |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6 |
|
|
target=$ac_cv_target |
|
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
|
|
|
|
|
# The aliases save the names the user supplied, while $host etc. |
|
|
# will get canonicalized. |
|
|
test -n "$target_alias" && |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \ |
|
|
NONENONEs,x,x, && |
|
|
program_prefix=${target_alias}- |
|
|
|
|
|
echo -n "Checking whether x86 architecture... " |
|
|
def_arch_x86=0 |
|
|
case $target_cpu in |
|
|
"i386" | "i486" | "i586" | "i686" | "i786") |
|
|
echo "yes" |
|
|
def_arch_x86=1;; |
|
|
*) |
|
|
echo "no";; |
|
|
esac |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define ARCH_X86 $def_arch_x86 |
|
|
_ACEOF |
|
|
|
|
|
|
|
|
# Add the stamp file to the list of files AC keeps track of, |
|
|
# along with our hook. |
|
|
ac_config_headers="$ac_config_headers config.h" |
|
|
|
|
|
|
|
|
|
|
|
am__api_version="1.6" |
|
|
# 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 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1513 |
else |
else |
1514 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1515 |
for as_dir in $PATH |
for as_dir in $PATH |
1516 |
do |
do |
1517 |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
1518 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1519 |
# Account for people who put trailing slashes in PATH elements. |
for ac_exec_ext in '' $ac_executable_extensions; do |
1520 |
case $as_dir/ in |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1521 |
./ | .// | /cC/* | \ |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1522 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1523 |
/usr/ucb/* ) ;; |
break 2 |
1524 |
*) |
fi |
1525 |
# 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 |
|
1526 |
done |
done |
|
|
|
1527 |
|
|
1528 |
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 |
|
1529 |
fi |
fi |
1530 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
CC=$ac_cv_prog_CC |
1531 |
echo "${ECHO_T}$INSTALL" >&6 |
if test -n "$CC"; then |
1532 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1533 |
# 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. |
|
|
: |
|
1534 |
else |
else |
1535 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
echo "$as_me:$LINENO: result: no" >&5 |
1536 |
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; }; } |
|
1537 |
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` |
|
1538 |
|
|
|
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;} |
|
1539 |
fi |
fi |
1540 |
|
if test -z "$ac_cv_prog_CC"; then |
1541 |
for ac_prog in gawk mawk nawk awk |
ac_ct_CC=$CC |
1542 |
do |
# Extract the first word of "gcc", so it can be a program name with args. |
1543 |
# 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 |
|
1544 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1545 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1546 |
if test "${ac_cv_prog_AWK+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1547 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1548 |
else |
else |
1549 |
if test -n "$AWK"; then |
if test -n "$ac_ct_CC"; then |
1550 |
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. |
1551 |
else |
else |
1552 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1553 |
for as_dir in $PATH |
for as_dir in $PATH |
1556 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1557 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1558 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1559 |
ac_cv_prog_AWK="$ac_prog" |
ac_cv_prog_ac_ct_CC="gcc" |
1560 |
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 |
1561 |
break 2 |
break 2 |
1562 |
fi |
fi |
1565 |
|
|
1566 |
fi |
fi |
1567 |
fi |
fi |
1568 |
AWK=$ac_cv_prog_AWK |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1569 |
if test -n "$AWK"; then |
if test -n "$ac_ct_CC"; then |
1570 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1571 |
echo "${ECHO_T}$AWK" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1572 |
else |
else |
1573 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1574 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1575 |
fi |
fi |
1576 |
|
|
1577 |
test -n "$AWK" && break |
CC=$ac_ct_CC |
1578 |
done |
else |
1579 |
|
CC="$ac_cv_prog_CC" |
1580 |
|
fi |
1581 |
|
|
1582 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
if test -z "$CC"; then |
1583 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
if test -n "$ac_tool_prefix"; then |
1584 |
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. |
1585 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1586 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1587 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1588 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1589 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1590 |
else |
else |
1591 |
cat >conftest.make <<\_ACEOF |
if test -n "$CC"; then |
1592 |
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 |
|
1593 |
else |
else |
1594 |
eval ac_cv_prog_make_${ac_make}_set=no |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1595 |
|
for as_dir in $PATH |
1596 |
|
do |
1597 |
|
IFS=$as_save_IFS |
1598 |
|
test -z "$as_dir" && as_dir=. |
1599 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1600 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1601 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1602 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1603 |
|
break 2 |
1604 |
|
fi |
1605 |
|
done |
1606 |
|
done |
1607 |
|
|
1608 |
fi |
fi |
|
rm -f conftest.make |
|
1609 |
fi |
fi |
1610 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
CC=$ac_cv_prog_CC |
1611 |
echo "$as_me:$LINENO: result: yes" >&5 |
if test -n "$CC"; then |
1612 |
echo "${ECHO_T}yes" >&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1613 |
SET_MAKE= |
echo "${ECHO_T}$CC" >&6 |
1614 |
else |
else |
1615 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1616 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
|
SET_MAKE="MAKE=${MAKE-make}" |
|
1617 |
fi |
fi |
1618 |
|
|
|
# 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; }; } |
|
1619 |
fi |
fi |
1620 |
|
if test -z "$ac_cv_prog_CC"; then |
1621 |
# Define the identity of the package. |
ac_ct_CC=$CC |
1622 |
PACKAGE=linuxsampler |
# Extract the first word of "cc", so it can be a program name with args. |
1623 |
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 |
|
1624 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1625 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1626 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1627 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1628 |
else |
else |
1629 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_CC"; then |
1630 |
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. |
1631 |
else |
else |
1632 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1633 |
for as_dir in $PATH |
for as_dir in $PATH |
1636 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1637 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1638 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1639 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_ac_ct_CC="cc" |
1640 |
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 |
1641 |
break 2 |
break 2 |
1642 |
fi |
fi |
1645 |
|
|
1646 |
fi |
fi |
1647 |
fi |
fi |
1648 |
STRIP=$ac_cv_prog_STRIP |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1649 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_CC"; then |
1650 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1651 |
echo "${ECHO_T}$STRIP" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1652 |
else |
else |
1653 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1654 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1655 |
fi |
fi |
1656 |
|
|
1657 |
|
CC=$ac_ct_CC |
1658 |
|
else |
1659 |
|
CC="$ac_cv_prog_CC" |
1660 |
|
fi |
1661 |
|
|
1662 |
fi |
fi |
1663 |
if test -z "$ac_cv_prog_STRIP"; then |
if test -z "$CC"; then |
1664 |
ac_ct_STRIP=$STRIP |
# Extract the first word of "cc", so it can be a program name with args. |
1665 |
# Extract the first word of "strip", so it can be a program name with args. |
set dummy cc; ac_word=$2 |
|
set dummy strip; ac_word=$2 |
|
1666 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1667 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1668 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1669 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1670 |
else |
else |
1671 |
if test -n "$ac_ct_STRIP"; then |
if test -n "$CC"; then |
1672 |
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. |
1673 |
else |
else |
1674 |
|
ac_prog_rejected=no |
1675 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1676 |
for as_dir in $PATH |
for as_dir in $PATH |
1677 |
do |
do |
1679 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1680 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1681 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1682 |
ac_cv_prog_ac_ct_STRIP="strip" |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1683 |
|
ac_prog_rejected=yes |
1684 |
|
continue |
1685 |
|
fi |
1686 |
|
ac_cv_prog_CC="cc" |
1687 |
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 |
1688 |
break 2 |
break 2 |
1689 |
fi |
fi |
1690 |
done |
done |
1691 |
done |
done |
1692 |
|
|
1693 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
if test $ac_prog_rejected = yes; then |
1694 |
|
# We found a bogon in the path, so make sure we never use it. |
1695 |
|
set dummy $ac_cv_prog_CC |
1696 |
|
shift |
1697 |
|
if test $# != 0; then |
1698 |
|
# We chose a different compiler from the bogus one. |
1699 |
|
# However, it has the same basename, so the bogon will be chosen |
1700 |
|
# first if we set CC to just the basename; use the full file name. |
1701 |
|
shift |
1702 |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1703 |
|
fi |
1704 |
fi |
fi |
1705 |
fi |
fi |
1706 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
fi |
1707 |
if test -n "$ac_ct_STRIP"; then |
CC=$ac_cv_prog_CC |
1708 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
if test -n "$CC"; then |
1709 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1710 |
|
echo "${ECHO_T}$CC" >&6 |
1711 |
else |
else |
1712 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1713 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1714 |
fi |
fi |
1715 |
|
|
|
STRIP=$ac_ct_STRIP |
|
|
else |
|
|
STRIP="$ac_cv_prog_STRIP" |
|
|
fi |
|
|
|
|
1716 |
fi |
fi |
1717 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
if test -z "$CC"; then |
1718 |
|
if test -n "$ac_tool_prefix"; then |
1719 |
# 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 |
|
1720 |
do |
do |
1721 |
# 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. |
1722 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1723 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1724 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1725 |
if test "${ac_cv_prog_CXX+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1726 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1727 |
else |
else |
1728 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
1729 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1730 |
else |
else |
1731 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1732 |
for as_dir in $PATH |
for as_dir in $PATH |
1735 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1736 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1737 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1738 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1739 |
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 |
1740 |
break 2 |
break 2 |
1741 |
fi |
fi |
1744 |
|
|
1745 |
fi |
fi |
1746 |
fi |
fi |
1747 |
CXX=$ac_cv_prog_CXX |
CC=$ac_cv_prog_CC |
1748 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
1749 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1750 |
echo "${ECHO_T}$CXX" >&6 |
echo "${ECHO_T}$CC" >&6 |
1751 |
else |
else |
1752 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1753 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1754 |
fi |
fi |
1755 |
|
|
1756 |
test -n "$CXX" && break |
test -n "$CC" && break |
1757 |
done |
done |
1758 |
fi |
fi |
1759 |
if test -z "$CXX"; then |
if test -z "$CC"; then |
1760 |
ac_ct_CXX=$CXX |
ac_ct_CC=$CC |
1761 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
for ac_prog in cl |
1762 |
do |
do |
1763 |
# 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. |
1764 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1765 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1766 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1767 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1768 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1769 |
else |
else |
1770 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
1771 |
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. |
1772 |
else |
else |
1773 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1774 |
for as_dir in $PATH |
for as_dir in $PATH |
1777 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1778 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1779 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1780 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1781 |
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 |
1782 |
break 2 |
break 2 |
1783 |
fi |
fi |
1786 |
|
|
1787 |
fi |
fi |
1788 |
fi |
fi |
1789 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1790 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
1791 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1792 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1793 |
else |
else |
1794 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1795 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1796 |
fi |
fi |
1797 |
|
|
1798 |
test -n "$ac_ct_CXX" && break |
test -n "$ac_ct_CC" && break |
1799 |
done |
done |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
|
1800 |
|
|
1801 |
CXX=$ac_ct_CXX |
CC=$ac_ct_CC |
1802 |
|
fi |
1803 |
|
|
1804 |
fi |
fi |
1805 |
|
|
1806 |
|
|
1807 |
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1808 |
|
See \`config.log' for more details." >&5 |
1809 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
1810 |
|
See \`config.log' for more details." >&2;} |
1811 |
|
{ (exit 1); exit 1; }; } |
1812 |
|
|
1813 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
1814 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
1815 |
"checking for C++ compiler version" >&5 |
"checking for C compiler version" >&5 |
1816 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
1817 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1818 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
1831 |
(exit $ac_status); } |
(exit $ac_status); } |
1832 |
|
|
1833 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
1834 |
/* confdefs.h. */ |
/* confdefs.h. */ |
1835 |
_ACEOF |
_ACEOF |
1836 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
1850 |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
1851 |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
1852 |
# of exeext. |
# of exeext. |
1853 |
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1854 |
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 |
1855 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1856 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1857 |
(eval $ac_link_default) 2>&5 |
(eval $ac_link_default) 2>&5 |
1871 |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
1872 |
case $ac_file in |
case $ac_file in |
1873 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1874 |
;; |
;; |
1875 |
conftest.$ac_ext ) |
conftest.$ac_ext ) |
1876 |
# This is the source file. |
# This is the source file. |
1877 |
;; |
;; |
1878 |
[ab].out ) |
[ab].out ) |
1879 |
# We found the default executable, but exeext='' is most |
# We found the default executable, but exeext='' is most |
1880 |
# certainly right. |
# certainly right. |
1881 |
break;; |
break;; |
1882 |
*.* ) |
*.* ) |
1883 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1884 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
1885 |
# 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 |
1886 |
# maintain Libtool? --akim. |
# maintain Libtool? --akim. |
1887 |
export ac_cv_exeext |
export ac_cv_exeext |
1888 |
break;; |
break;; |
1889 |
* ) |
* ) |
1890 |
break;; |
break;; |
1891 |
esac |
esac |
1892 |
done |
done |
1893 |
else |
else |
1894 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
1895 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1896 |
|
|
1897 |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1898 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
1899 |
echo "$as_me: error: C++ compiler cannot create executables |
echo "$as_me: error: C compiler cannot create executables |
1900 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
1901 |
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
1902 |
fi |
fi |
1907 |
|
|
1908 |
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
1909 |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
1910 |
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1911 |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1912 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1913 |
# If not cross compiling, check that we can run a simple program. |
# If not cross compiling, check that we can run a simple program. |
1914 |
if test "$cross_compiling" != yes; then |
if test "$cross_compiling" != yes; then |
1923 |
if test "$cross_compiling" = maybe; then |
if test "$cross_compiling" = maybe; then |
1924 |
cross_compiling=yes |
cross_compiling=yes |
1925 |
else |
else |
1926 |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1927 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
1928 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
1929 |
echo "$as_me: error: cannot run C++ compiled programs. |
echo "$as_me: error: cannot run C compiled programs. |
1930 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
1931 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
1932 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
1961 |
case $ac_file in |
case $ac_file in |
1962 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1963 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1964 |
export ac_cv_exeext |
export ac_cv_exeext |
1965 |
break;; |
break;; |
1966 |
* ) break;; |
* ) break;; |
1967 |
esac |
esac |
1968 |
done |
done |
1987 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1988 |
else |
else |
1989 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
1990 |
/* confdefs.h. */ |
/* confdefs.h. */ |
1991 |
_ACEOF |
_ACEOF |
1992 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2031 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
2032 |
OBJEXT=$ac_cv_objext |
OBJEXT=$ac_cv_objext |
2033 |
ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
2034 |
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 |
2035 |
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 |
2036 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2037 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2038 |
else |
else |
2039 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2040 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2041 |
_ACEOF |
_ACEOF |
2042 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2056 |
_ACEOF |
_ACEOF |
2057 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2058 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2059 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2060 |
ac_status=$? |
ac_status=$? |
2061 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2062 |
|
rm -f conftest.er1 |
2063 |
|
cat conftest.err >&5 |
2064 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2065 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2066 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2067 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2068 |
|
(eval $ac_try) 2>&5 |
2069 |
|
ac_status=$? |
2070 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2071 |
|
(exit $ac_status); }; } && |
2072 |
|
{ ac_try='test -s conftest.$ac_objext' |
2073 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2074 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2075 |
ac_status=$? |
ac_status=$? |
2082 |
|
|
2083 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
2084 |
fi |
fi |
2085 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2086 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2087 |
|
|
2088 |
fi |
fi |
2089 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2090 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2091 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2092 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
ac_test_CFLAGS=${CFLAGS+set} |
2093 |
ac_save_CXXFLAGS=$CXXFLAGS |
ac_save_CFLAGS=$CFLAGS |
2094 |
CXXFLAGS="-g" |
CFLAGS="-g" |
2095 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2096 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2097 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
if test "${ac_cv_prog_cc_g+set}" = set; then |
2098 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2099 |
else |
else |
2100 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2101 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2102 |
_ACEOF |
_ACEOF |
2103 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2114 |
_ACEOF |
_ACEOF |
2115 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2116 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2117 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2118 |
ac_status=$? |
ac_status=$? |
2119 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2120 |
|
rm -f conftest.er1 |
2121 |
|
cat conftest.err >&5 |
2122 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2123 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2124 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2125 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2126 |
|
(eval $ac_try) 2>&5 |
2127 |
|
ac_status=$? |
2128 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2129 |
|
(exit $ac_status); }; } && |
2130 |
|
{ ac_try='test -s conftest.$ac_objext' |
2131 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2132 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2133 |
ac_status=$? |
ac_status=$? |
2134 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2135 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
2136 |
ac_cv_prog_cxx_g=yes |
ac_cv_prog_cc_g=yes |
2137 |
else |
else |
2138 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2139 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2140 |
|
|
2141 |
ac_cv_prog_cxx_g=no |
ac_cv_prog_cc_g=no |
2142 |
fi |
fi |
2143 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2144 |
fi |
fi |
2145 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2146 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2147 |
if test "$ac_test_CXXFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
2148 |
CXXFLAGS=$ac_save_CXXFLAGS |
CFLAGS=$ac_save_CFLAGS |
2149 |
elif test $ac_cv_prog_cxx_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
2150 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
2151 |
CXXFLAGS="-g -O2" |
CFLAGS="-g -O2" |
2152 |
else |
else |
2153 |
CXXFLAGS="-g" |
CFLAGS="-g" |
2154 |
fi |
fi |
2155 |
else |
else |
2156 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
2157 |
CXXFLAGS="-O2" |
CFLAGS="-O2" |
2158 |
else |
else |
2159 |
CXXFLAGS= |
CFLAGS= |
2160 |
fi |
fi |
2161 |
fi |
fi |
2162 |
for ac_declaration in \ |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2163 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2164 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2165 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2166 |
|
else |
2167 |
|
ac_cv_prog_cc_stdc=no |
2168 |
|
ac_save_CC=$CC |
2169 |
|
cat >conftest.$ac_ext <<_ACEOF |
2170 |
|
/* confdefs.h. */ |
2171 |
|
_ACEOF |
2172 |
|
cat confdefs.h >>conftest.$ac_ext |
2173 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2174 |
|
/* end confdefs.h. */ |
2175 |
|
#include <stdarg.h> |
2176 |
|
#include <stdio.h> |
2177 |
|
#include <sys/types.h> |
2178 |
|
#include <sys/stat.h> |
2179 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2180 |
|
struct buf { int x; }; |
2181 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2182 |
|
static char *e (p, i) |
2183 |
|
char **p; |
2184 |
|
int i; |
2185 |
|
{ |
2186 |
|
return p[i]; |
2187 |
|
} |
2188 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2189 |
|
{ |
2190 |
|
char *s; |
2191 |
|
va_list v; |
2192 |
|
va_start (v,p); |
2193 |
|
s = g (p, va_arg (v,int)); |
2194 |
|
va_end (v); |
2195 |
|
return s; |
2196 |
|
} |
2197 |
|
|
2198 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2199 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
2200 |
|
These don't provoke an error unfortunately, instead are silently treated |
2201 |
|
as 'x'. The following induces an error, until -std1 is added to get |
2202 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2203 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
2204 |
|
that's true only with -std1. */ |
2205 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2206 |
|
|
2207 |
|
int test (int i, double x); |
2208 |
|
struct s1 {int (*f) (int a);}; |
2209 |
|
struct s2 {int (*f) (double a);}; |
2210 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2211 |
|
int argc; |
2212 |
|
char **argv; |
2213 |
|
int |
2214 |
|
main () |
2215 |
|
{ |
2216 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2217 |
|
; |
2218 |
|
return 0; |
2219 |
|
} |
2220 |
|
_ACEOF |
2221 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2222 |
|
# breaks some systems' header files. |
2223 |
|
# AIX -qlanglvl=ansi |
2224 |
|
# Ultrix and OSF/1 -std1 |
2225 |
|
# HP-UX 10.20 and later -Ae |
2226 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2227 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2228 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2229 |
|
do |
2230 |
|
CC="$ac_save_CC $ac_arg" |
2231 |
|
rm -f conftest.$ac_objext |
2232 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2233 |
|
(eval $ac_compile) 2>conftest.er1 |
2234 |
|
ac_status=$? |
2235 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2236 |
|
rm -f conftest.er1 |
2237 |
|
cat conftest.err >&5 |
2238 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2239 |
|
(exit $ac_status); } && |
2240 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2241 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2242 |
|
(eval $ac_try) 2>&5 |
2243 |
|
ac_status=$? |
2244 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2245 |
|
(exit $ac_status); }; } && |
2246 |
|
{ ac_try='test -s conftest.$ac_objext' |
2247 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2248 |
|
(eval $ac_try) 2>&5 |
2249 |
|
ac_status=$? |
2250 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2251 |
|
(exit $ac_status); }; }; then |
2252 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2253 |
|
break |
2254 |
|
else |
2255 |
|
echo "$as_me: failed program was:" >&5 |
2256 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2257 |
|
|
2258 |
|
fi |
2259 |
|
rm -f conftest.err conftest.$ac_objext |
2260 |
|
done |
2261 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2262 |
|
CC=$ac_save_CC |
2263 |
|
|
2264 |
|
fi |
2265 |
|
|
2266 |
|
case "x$ac_cv_prog_cc_stdc" in |
2267 |
|
x|xno) |
2268 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2269 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2270 |
|
*) |
2271 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2272 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2273 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2274 |
|
esac |
2275 |
|
|
2276 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2277 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2278 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2279 |
|
# the declaration of exit, since it's the most demanding environment. |
2280 |
|
cat >conftest.$ac_ext <<_ACEOF |
2281 |
|
#ifndef __cplusplus |
2282 |
|
choke me |
2283 |
|
#endif |
2284 |
|
_ACEOF |
2285 |
|
rm -f conftest.$ac_objext |
2286 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2287 |
|
(eval $ac_compile) 2>conftest.er1 |
2288 |
|
ac_status=$? |
2289 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2290 |
|
rm -f conftest.er1 |
2291 |
|
cat conftest.err >&5 |
2292 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2293 |
|
(exit $ac_status); } && |
2294 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2295 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2296 |
|
(eval $ac_try) 2>&5 |
2297 |
|
ac_status=$? |
2298 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2299 |
|
(exit $ac_status); }; } && |
2300 |
|
{ ac_try='test -s conftest.$ac_objext' |
2301 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2302 |
|
(eval $ac_try) 2>&5 |
2303 |
|
ac_status=$? |
2304 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2305 |
|
(exit $ac_status); }; }; then |
2306 |
|
for ac_declaration in \ |
2307 |
'' \ |
'' \ |
2308 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2309 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
2312 |
'void exit (int);' |
'void exit (int);' |
2313 |
do |
do |
2314 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2315 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2316 |
_ACEOF |
_ACEOF |
2317 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2329 |
_ACEOF |
_ACEOF |
2330 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2331 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2332 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2333 |
ac_status=$? |
ac_status=$? |
2334 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2335 |
|
rm -f conftest.er1 |
2336 |
|
cat conftest.err >&5 |
2337 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2338 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2339 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2340 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2341 |
|
(eval $ac_try) 2>&5 |
2342 |
|
ac_status=$? |
2343 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2344 |
|
(exit $ac_status); }; } && |
2345 |
|
{ ac_try='test -s conftest.$ac_objext' |
2346 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2347 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2348 |
ac_status=$? |
ac_status=$? |
2355 |
|
|
2356 |
continue |
continue |
2357 |
fi |
fi |
2358 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2359 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2360 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2361 |
_ACEOF |
_ACEOF |
2362 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2373 |
_ACEOF |
_ACEOF |
2374 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2375 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2376 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2377 |
ac_status=$? |
ac_status=$? |
2378 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2379 |
|
rm -f conftest.er1 |
2380 |
|
cat conftest.err >&5 |
2381 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2382 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2383 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2384 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2385 |
|
(eval $ac_try) 2>&5 |
2386 |
|
ac_status=$? |
2387 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2388 |
|
(exit $ac_status); }; } && |
2389 |
|
{ ac_try='test -s conftest.$ac_objext' |
2390 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2391 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2392 |
ac_status=$? |
ac_status=$? |
2398 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2399 |
|
|
2400 |
fi |
fi |
2401 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2402 |
done |
done |
2403 |
rm -f conftest* |
rm -f conftest* |
2404 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
2407 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
2408 |
fi |
fi |
2409 |
|
|
2410 |
ac_ext=cc |
else |
2411 |
ac_cpp='$CXXCPP $CPPFLAGS' |
echo "$as_me: failed program was:" >&5 |
2412 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
sed 's/^/| /' conftest.$ac_ext >&5 |
2413 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2414 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
fi |
2415 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2416 |
|
ac_ext=c |
2417 |
|
ac_cpp='$CPP $CPPFLAGS' |
2418 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2419 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2420 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2421 |
|
|
2422 |
|
|
2423 |
|
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
2424 |
|
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
2425 |
|
if test "${ac_cv_c_bigendian+set}" = set; then |
2426 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2427 |
|
else |
2428 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
2429 |
|
cat >conftest.$ac_ext <<_ACEOF |
2430 |
|
/* confdefs.h. */ |
2431 |
|
_ACEOF |
2432 |
|
cat confdefs.h >>conftest.$ac_ext |
2433 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2434 |
|
/* end confdefs.h. */ |
2435 |
|
#include <sys/types.h> |
2436 |
|
#include <sys/param.h> |
2437 |
|
|
2438 |
|
int |
2439 |
|
main () |
2440 |
|
{ |
2441 |
|
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
2442 |
|
bogus endian macros |
2443 |
|
#endif |
2444 |
|
|
2445 |
|
; |
2446 |
|
return 0; |
2447 |
|
} |
2448 |
|
_ACEOF |
2449 |
|
rm -f conftest.$ac_objext |
2450 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2451 |
|
(eval $ac_compile) 2>conftest.er1 |
2452 |
|
ac_status=$? |
2453 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2454 |
|
rm -f conftest.er1 |
2455 |
|
cat conftest.err >&5 |
2456 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2457 |
|
(exit $ac_status); } && |
2458 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2459 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2460 |
|
(eval $ac_try) 2>&5 |
2461 |
|
ac_status=$? |
2462 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2463 |
|
(exit $ac_status); }; } && |
2464 |
|
{ ac_try='test -s conftest.$ac_objext' |
2465 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2466 |
|
(eval $ac_try) 2>&5 |
2467 |
|
ac_status=$? |
2468 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2469 |
|
(exit $ac_status); }; }; then |
2470 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
2471 |
|
cat >conftest.$ac_ext <<_ACEOF |
2472 |
|
/* confdefs.h. */ |
2473 |
|
_ACEOF |
2474 |
|
cat confdefs.h >>conftest.$ac_ext |
2475 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2476 |
|
/* end confdefs.h. */ |
2477 |
|
#include <sys/types.h> |
2478 |
|
#include <sys/param.h> |
2479 |
|
|
2480 |
|
int |
2481 |
|
main () |
2482 |
|
{ |
2483 |
|
#if BYTE_ORDER != BIG_ENDIAN |
2484 |
|
not big endian |
2485 |
|
#endif |
2486 |
|
|
2487 |
|
; |
2488 |
|
return 0; |
2489 |
|
} |
2490 |
|
_ACEOF |
2491 |
|
rm -f conftest.$ac_objext |
2492 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2493 |
|
(eval $ac_compile) 2>conftest.er1 |
2494 |
|
ac_status=$? |
2495 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2496 |
|
rm -f conftest.er1 |
2497 |
|
cat conftest.err >&5 |
2498 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2499 |
|
(exit $ac_status); } && |
2500 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2501 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2502 |
|
(eval $ac_try) 2>&5 |
2503 |
|
ac_status=$? |
2504 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2505 |
|
(exit $ac_status); }; } && |
2506 |
|
{ ac_try='test -s conftest.$ac_objext' |
2507 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2508 |
|
(eval $ac_try) 2>&5 |
2509 |
|
ac_status=$? |
2510 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2511 |
|
(exit $ac_status); }; }; then |
2512 |
|
ac_cv_c_bigendian=yes |
2513 |
|
else |
2514 |
|
echo "$as_me: failed program was:" >&5 |
2515 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2516 |
|
|
2517 |
|
ac_cv_c_bigendian=no |
2518 |
|
fi |
2519 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2520 |
|
else |
2521 |
|
echo "$as_me: failed program was:" >&5 |
2522 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2523 |
|
|
2524 |
|
# It does not; compile a test program. |
2525 |
|
if test "$cross_compiling" = yes; then |
2526 |
|
# try to guess the endianness by grepping values into an object file |
2527 |
|
ac_cv_c_bigendian=unknown |
2528 |
|
cat >conftest.$ac_ext <<_ACEOF |
2529 |
|
/* confdefs.h. */ |
2530 |
|
_ACEOF |
2531 |
|
cat confdefs.h >>conftest.$ac_ext |
2532 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2533 |
|
/* end confdefs.h. */ |
2534 |
|
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
2535 |
|
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
2536 |
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
2537 |
|
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
2538 |
|
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
2539 |
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
2540 |
|
int |
2541 |
|
main () |
2542 |
|
{ |
2543 |
|
_ascii (); _ebcdic (); |
2544 |
|
; |
2545 |
|
return 0; |
2546 |
|
} |
2547 |
|
_ACEOF |
2548 |
|
rm -f conftest.$ac_objext |
2549 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2550 |
|
(eval $ac_compile) 2>conftest.er1 |
2551 |
|
ac_status=$? |
2552 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2553 |
|
rm -f conftest.er1 |
2554 |
|
cat conftest.err >&5 |
2555 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2556 |
|
(exit $ac_status); } && |
2557 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2558 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2559 |
|
(eval $ac_try) 2>&5 |
2560 |
|
ac_status=$? |
2561 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2562 |
|
(exit $ac_status); }; } && |
2563 |
|
{ ac_try='test -s conftest.$ac_objext' |
2564 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2565 |
|
(eval $ac_try) 2>&5 |
2566 |
|
ac_status=$? |
2567 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2568 |
|
(exit $ac_status); }; }; then |
2569 |
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
2570 |
|
ac_cv_c_bigendian=yes |
2571 |
|
fi |
2572 |
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
2573 |
|
if test "$ac_cv_c_bigendian" = unknown; then |
2574 |
|
ac_cv_c_bigendian=no |
2575 |
|
else |
2576 |
|
# finding both strings is unlikely to happen, but who knows? |
2577 |
|
ac_cv_c_bigendian=unknown |
2578 |
|
fi |
2579 |
|
fi |
2580 |
|
else |
2581 |
|
echo "$as_me: failed program was:" >&5 |
2582 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2583 |
|
|
2584 |
|
fi |
2585 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2586 |
|
else |
2587 |
|
cat >conftest.$ac_ext <<_ACEOF |
2588 |
|
/* confdefs.h. */ |
2589 |
|
_ACEOF |
2590 |
|
cat confdefs.h >>conftest.$ac_ext |
2591 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2592 |
|
/* end confdefs.h. */ |
2593 |
|
int |
2594 |
|
main () |
2595 |
|
{ |
2596 |
|
/* Are we little or big endian? From Harbison&Steele. */ |
2597 |
|
union |
2598 |
|
{ |
2599 |
|
long l; |
2600 |
|
char c[sizeof (long)]; |
2601 |
|
} u; |
2602 |
|
u.l = 1; |
2603 |
|
exit (u.c[sizeof (long) - 1] == 1); |
2604 |
|
} |
2605 |
|
_ACEOF |
2606 |
|
rm -f conftest$ac_exeext |
2607 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2608 |
|
(eval $ac_link) 2>&5 |
2609 |
|
ac_status=$? |
2610 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2611 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2612 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2613 |
|
(eval $ac_try) 2>&5 |
2614 |
|
ac_status=$? |
2615 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2616 |
|
(exit $ac_status); }; }; then |
2617 |
|
ac_cv_c_bigendian=no |
2618 |
|
else |
2619 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
2620 |
|
echo "$as_me: failed program was:" >&5 |
2621 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2622 |
|
|
2623 |
|
( exit $ac_status ) |
2624 |
|
ac_cv_c_bigendian=yes |
2625 |
|
fi |
2626 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2627 |
|
fi |
2628 |
|
fi |
2629 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2630 |
|
fi |
2631 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
2632 |
|
echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
2633 |
|
case $ac_cv_c_bigendian in |
2634 |
|
yes) |
2635 |
|
|
2636 |
|
cat >>confdefs.h <<\_ACEOF |
2637 |
|
#define WORDS_BIGENDIAN 1 |
2638 |
|
_ACEOF |
2639 |
|
;; |
2640 |
|
no) |
2641 |
|
;; |
2642 |
|
*) |
2643 |
|
{ { echo "$as_me:$LINENO: error: unknown endianness |
2644 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
2645 |
|
echo "$as_me: error: unknown endianness |
2646 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
2647 |
|
{ (exit 1); exit 1; }; } ;; |
2648 |
|
esac |
2649 |
|
|
2650 |
|
ac_aux_dir= |
2651 |
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
2652 |
|
if test -f $ac_dir/install-sh; then |
2653 |
|
ac_aux_dir=$ac_dir |
2654 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
2655 |
|
break |
2656 |
|
elif test -f $ac_dir/install.sh; then |
2657 |
|
ac_aux_dir=$ac_dir |
2658 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
2659 |
|
break |
2660 |
|
elif test -f $ac_dir/shtool; then |
2661 |
|
ac_aux_dir=$ac_dir |
2662 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
2663 |
|
break |
2664 |
|
fi |
2665 |
|
done |
2666 |
|
if test -z "$ac_aux_dir"; then |
2667 |
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
2668 |
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2669 |
|
{ (exit 1); exit 1; }; } |
2670 |
|
fi |
2671 |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
2672 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
2673 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
2674 |
|
|
2675 |
|
# Make sure we can run config.sub. |
2676 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
2677 |
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
2678 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
2679 |
|
{ (exit 1); exit 1; }; } |
2680 |
|
|
2681 |
|
echo "$as_me:$LINENO: checking build system type" >&5 |
2682 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
2683 |
|
if test "${ac_cv_build+set}" = set; then |
2684 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2685 |
|
else |
2686 |
|
ac_cv_build_alias=$build_alias |
2687 |
|
test -z "$ac_cv_build_alias" && |
2688 |
|
ac_cv_build_alias=`$ac_config_guess` |
2689 |
|
test -z "$ac_cv_build_alias" && |
2690 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2691 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
2692 |
|
{ (exit 1); exit 1; }; } |
2693 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
2694 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
2695 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
2696 |
|
{ (exit 1); exit 1; }; } |
2697 |
|
|
2698 |
|
fi |
2699 |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
2700 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
2701 |
|
build=$ac_cv_build |
2702 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
2703 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
2704 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
2705 |
|
|
2706 |
|
|
2707 |
|
echo "$as_me:$LINENO: checking host system type" >&5 |
2708 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
2709 |
|
if test "${ac_cv_host+set}" = set; then |
2710 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2711 |
|
else |
2712 |
|
ac_cv_host_alias=$host_alias |
2713 |
|
test -z "$ac_cv_host_alias" && |
2714 |
|
ac_cv_host_alias=$ac_cv_build_alias |
2715 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
2716 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
2717 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
2718 |
|
{ (exit 1); exit 1; }; } |
2719 |
|
|
2720 |
|
fi |
2721 |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2722 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
2723 |
|
host=$ac_cv_host |
2724 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
2725 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
2726 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
2727 |
|
|
2728 |
|
|
2729 |
|
echo "$as_me:$LINENO: checking target system type" >&5 |
2730 |
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
2731 |
|
if test "${ac_cv_target+set}" = set; then |
2732 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2733 |
|
else |
2734 |
|
ac_cv_target_alias=$target_alias |
2735 |
|
test "x$ac_cv_target_alias" = "x" && |
2736 |
|
ac_cv_target_alias=$ac_cv_host_alias |
2737 |
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
2738 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
2739 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
2740 |
|
{ (exit 1); exit 1; }; } |
2741 |
|
|
2742 |
|
fi |
2743 |
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
2744 |
|
echo "${ECHO_T}$ac_cv_target" >&6 |
2745 |
|
target=$ac_cv_target |
2746 |
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
2747 |
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
2748 |
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
2749 |
|
|
2750 |
|
|
2751 |
|
# The aliases save the names the user supplied, while $host etc. |
2752 |
|
# will get canonicalized. |
2753 |
|
test -n "$target_alias" && |
2754 |
|
test "$program_prefix$program_suffix$program_transform_name" = \ |
2755 |
|
NONENONEs,x,x, && |
2756 |
|
program_prefix=${target_alias}- |
2757 |
|
|
2758 |
|
|
2759 |
|
echo -n "checking whether x86 architecture... " |
2760 |
|
def_arch_x86=0 |
2761 |
|
case $target_cpu in |
2762 |
|
"i386" | "i486" | "i586" | "i686" | "i786") |
2763 |
|
echo "yes" |
2764 |
|
def_arch_x86=1;; |
2765 |
|
*) |
2766 |
|
echo "no";; |
2767 |
|
esac |
2768 |
|
|
2769 |
|
cat >>confdefs.h <<_ACEOF |
2770 |
|
#define ARCH_X86 $def_arch_x86 |
2771 |
|
_ACEOF |
2772 |
|
|
2773 |
|
|
2774 |
|
|
2775 |
|
ac_ext=c |
2776 |
|
ac_cpp='$CPP $CPPFLAGS' |
2777 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2778 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2779 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2780 |
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2781 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2782 |
|
# On Suns, sometimes $CPP names a directory. |
2783 |
|
if test -n "$CPP" && test -d "$CPP"; then |
2784 |
|
CPP= |
2785 |
|
fi |
2786 |
|
if test -z "$CPP"; then |
2787 |
|
if test "${ac_cv_prog_CPP+set}" = set; then |
2788 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2789 |
|
else |
2790 |
|
# Double quotes because CPP needs to be expanded |
2791 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2792 |
|
do |
2793 |
|
ac_preproc_ok=false |
2794 |
|
for ac_c_preproc_warn_flag in '' yes |
2795 |
|
do |
2796 |
|
# Use a header file that comes with gcc, so configuring glibc |
2797 |
|
# with a fresh cross-compiler works. |
2798 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2799 |
|
# <limits.h> exists even on freestanding compilers. |
2800 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
2801 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
2802 |
|
cat >conftest.$ac_ext <<_ACEOF |
2803 |
|
/* confdefs.h. */ |
2804 |
|
_ACEOF |
2805 |
|
cat confdefs.h >>conftest.$ac_ext |
2806 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2807 |
|
/* end confdefs.h. */ |
2808 |
|
#ifdef __STDC__ |
2809 |
|
# include <limits.h> |
2810 |
|
#else |
2811 |
|
# include <assert.h> |
2812 |
|
#endif |
2813 |
|
Syntax error |
2814 |
|
_ACEOF |
2815 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2816 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2817 |
|
ac_status=$? |
2818 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2819 |
|
rm -f conftest.er1 |
2820 |
|
cat conftest.err >&5 |
2821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2822 |
|
(exit $ac_status); } >/dev/null; then |
2823 |
|
if test -s conftest.err; then |
2824 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2825 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2826 |
|
else |
2827 |
|
ac_cpp_err= |
2828 |
|
fi |
2829 |
|
else |
2830 |
|
ac_cpp_err=yes |
2831 |
|
fi |
2832 |
|
if test -z "$ac_cpp_err"; then |
2833 |
|
: |
2834 |
|
else |
2835 |
|
echo "$as_me: failed program was:" >&5 |
2836 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2837 |
|
|
2838 |
|
# Broken: fails on valid input. |
2839 |
|
continue |
2840 |
|
fi |
2841 |
|
rm -f conftest.err conftest.$ac_ext |
2842 |
|
|
2843 |
|
# OK, works on sane cases. Now check whether non-existent headers |
2844 |
|
# can be detected and how. |
2845 |
|
cat >conftest.$ac_ext <<_ACEOF |
2846 |
|
/* confdefs.h. */ |
2847 |
|
_ACEOF |
2848 |
|
cat confdefs.h >>conftest.$ac_ext |
2849 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2850 |
|
/* end confdefs.h. */ |
2851 |
|
#include <ac_nonexistent.h> |
2852 |
|
_ACEOF |
2853 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2854 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2855 |
|
ac_status=$? |
2856 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2857 |
|
rm -f conftest.er1 |
2858 |
|
cat conftest.err >&5 |
2859 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2860 |
|
(exit $ac_status); } >/dev/null; then |
2861 |
|
if test -s conftest.err; then |
2862 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2863 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2864 |
|
else |
2865 |
|
ac_cpp_err= |
2866 |
|
fi |
2867 |
|
else |
2868 |
|
ac_cpp_err=yes |
2869 |
|
fi |
2870 |
|
if test -z "$ac_cpp_err"; then |
2871 |
|
# Broken: success on invalid input. |
2872 |
|
continue |
2873 |
|
else |
2874 |
|
echo "$as_me: failed program was:" >&5 |
2875 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2876 |
|
|
2877 |
|
# Passes both tests. |
2878 |
|
ac_preproc_ok=: |
2879 |
|
break |
2880 |
|
fi |
2881 |
|
rm -f conftest.err conftest.$ac_ext |
2882 |
|
|
2883 |
|
done |
2884 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2885 |
|
rm -f conftest.err conftest.$ac_ext |
2886 |
|
if $ac_preproc_ok; then |
2887 |
|
break |
2888 |
|
fi |
2889 |
|
|
2890 |
|
done |
2891 |
|
ac_cv_prog_CPP=$CPP |
2892 |
|
|
2893 |
|
fi |
2894 |
|
CPP=$ac_cv_prog_CPP |
2895 |
|
else |
2896 |
|
ac_cv_prog_CPP=$CPP |
2897 |
|
fi |
2898 |
|
echo "$as_me:$LINENO: result: $CPP" >&5 |
2899 |
|
echo "${ECHO_T}$CPP" >&6 |
2900 |
|
ac_preproc_ok=false |
2901 |
|
for ac_c_preproc_warn_flag in '' yes |
2902 |
|
do |
2903 |
|
# Use a header file that comes with gcc, so configuring glibc |
2904 |
|
# with a fresh cross-compiler works. |
2905 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2906 |
|
# <limits.h> exists even on freestanding compilers. |
2907 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
2908 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
2909 |
|
cat >conftest.$ac_ext <<_ACEOF |
2910 |
|
/* confdefs.h. */ |
2911 |
|
_ACEOF |
2912 |
|
cat confdefs.h >>conftest.$ac_ext |
2913 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2914 |
|
/* end confdefs.h. */ |
2915 |
|
#ifdef __STDC__ |
2916 |
|
# include <limits.h> |
2917 |
|
#else |
2918 |
|
# include <assert.h> |
2919 |
|
#endif |
2920 |
|
Syntax error |
2921 |
|
_ACEOF |
2922 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2923 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2924 |
|
ac_status=$? |
2925 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2926 |
|
rm -f conftest.er1 |
2927 |
|
cat conftest.err >&5 |
2928 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2929 |
|
(exit $ac_status); } >/dev/null; then |
2930 |
|
if test -s conftest.err; then |
2931 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2932 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2933 |
|
else |
2934 |
|
ac_cpp_err= |
2935 |
|
fi |
2936 |
|
else |
2937 |
|
ac_cpp_err=yes |
2938 |
|
fi |
2939 |
|
if test -z "$ac_cpp_err"; then |
2940 |
|
: |
2941 |
|
else |
2942 |
|
echo "$as_me: failed program was:" >&5 |
2943 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2944 |
|
|
2945 |
|
# Broken: fails on valid input. |
2946 |
|
continue |
2947 |
|
fi |
2948 |
|
rm -f conftest.err conftest.$ac_ext |
2949 |
|
|
2950 |
|
# OK, works on sane cases. Now check whether non-existent headers |
2951 |
|
# can be detected and how. |
2952 |
|
cat >conftest.$ac_ext <<_ACEOF |
2953 |
|
/* confdefs.h. */ |
2954 |
|
_ACEOF |
2955 |
|
cat confdefs.h >>conftest.$ac_ext |
2956 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2957 |
|
/* end confdefs.h. */ |
2958 |
|
#include <ac_nonexistent.h> |
2959 |
|
_ACEOF |
2960 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2961 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2962 |
|
ac_status=$? |
2963 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2964 |
|
rm -f conftest.er1 |
2965 |
|
cat conftest.err >&5 |
2966 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2967 |
|
(exit $ac_status); } >/dev/null; then |
2968 |
|
if test -s conftest.err; then |
2969 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2970 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2971 |
|
else |
2972 |
|
ac_cpp_err= |
2973 |
|
fi |
2974 |
|
else |
2975 |
|
ac_cpp_err=yes |
2976 |
|
fi |
2977 |
|
if test -z "$ac_cpp_err"; then |
2978 |
|
# Broken: success on invalid input. |
2979 |
|
continue |
2980 |
|
else |
2981 |
|
echo "$as_me: failed program was:" >&5 |
2982 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2983 |
|
|
2984 |
|
# Passes both tests. |
2985 |
|
ac_preproc_ok=: |
2986 |
|
break |
2987 |
|
fi |
2988 |
|
rm -f conftest.err conftest.$ac_ext |
2989 |
|
|
2990 |
|
done |
2991 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2992 |
|
rm -f conftest.err conftest.$ac_ext |
2993 |
|
if $ac_preproc_ok; then |
2994 |
|
: |
2995 |
|
else |
2996 |
|
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
2997 |
|
See \`config.log' for more details." >&5 |
2998 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
2999 |
|
See \`config.log' for more details." >&2;} |
3000 |
|
{ (exit 1); exit 1; }; } |
3001 |
|
fi |
3002 |
|
|
3003 |
|
ac_ext=c |
3004 |
|
ac_cpp='$CPP $CPPFLAGS' |
3005 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3006 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3007 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3008 |
|
|
3009 |
|
|
3010 |
|
echo "$as_me:$LINENO: checking for egrep" >&5 |
3011 |
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3012 |
|
if test "${ac_cv_prog_egrep+set}" = set; then |
3013 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3014 |
|
else |
3015 |
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
3016 |
|
then ac_cv_prog_egrep='grep -E' |
3017 |
|
else ac_cv_prog_egrep='egrep' |
3018 |
|
fi |
3019 |
|
fi |
3020 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
3021 |
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
3022 |
|
EGREP=$ac_cv_prog_egrep |
3023 |
|
|
3024 |
|
|
3025 |
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3026 |
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3027 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
3028 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3029 |
|
else |
3030 |
|
cat >conftest.$ac_ext <<_ACEOF |
3031 |
|
/* confdefs.h. */ |
3032 |
|
_ACEOF |
3033 |
|
cat confdefs.h >>conftest.$ac_ext |
3034 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3035 |
|
/* end confdefs.h. */ |
3036 |
|
#include <stdlib.h> |
3037 |
|
#include <stdarg.h> |
3038 |
|
#include <string.h> |
3039 |
|
#include <float.h> |
3040 |
|
|
3041 |
|
int |
3042 |
|
main () |
3043 |
|
{ |
3044 |
|
|
3045 |
|
; |
3046 |
|
return 0; |
3047 |
|
} |
3048 |
|
_ACEOF |
3049 |
|
rm -f conftest.$ac_objext |
3050 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3051 |
|
(eval $ac_compile) 2>conftest.er1 |
3052 |
|
ac_status=$? |
3053 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3054 |
|
rm -f conftest.er1 |
3055 |
|
cat conftest.err >&5 |
3056 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3057 |
|
(exit $ac_status); } && |
3058 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3059 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3060 |
|
(eval $ac_try) 2>&5 |
3061 |
|
ac_status=$? |
3062 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3063 |
|
(exit $ac_status); }; } && |
3064 |
|
{ ac_try='test -s conftest.$ac_objext' |
3065 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3066 |
|
(eval $ac_try) 2>&5 |
3067 |
|
ac_status=$? |
3068 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3069 |
|
(exit $ac_status); }; }; then |
3070 |
|
ac_cv_header_stdc=yes |
3071 |
|
else |
3072 |
|
echo "$as_me: failed program was:" >&5 |
3073 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3074 |
|
|
3075 |
|
ac_cv_header_stdc=no |
3076 |
|
fi |
3077 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3078 |
|
|
3079 |
|
if test $ac_cv_header_stdc = yes; then |
3080 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3081 |
|
cat >conftest.$ac_ext <<_ACEOF |
3082 |
|
/* confdefs.h. */ |
3083 |
|
_ACEOF |
3084 |
|
cat confdefs.h >>conftest.$ac_ext |
3085 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3086 |
|
/* end confdefs.h. */ |
3087 |
|
#include <string.h> |
3088 |
|
|
3089 |
|
_ACEOF |
3090 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3091 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
3092 |
|
: |
3093 |
|
else |
3094 |
|
ac_cv_header_stdc=no |
3095 |
|
fi |
3096 |
|
rm -f conftest* |
3097 |
|
|
3098 |
|
fi |
3099 |
|
|
3100 |
|
if test $ac_cv_header_stdc = yes; then |
3101 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3102 |
|
cat >conftest.$ac_ext <<_ACEOF |
3103 |
|
/* confdefs.h. */ |
3104 |
|
_ACEOF |
3105 |
|
cat confdefs.h >>conftest.$ac_ext |
3106 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3107 |
|
/* end confdefs.h. */ |
3108 |
|
#include <stdlib.h> |
3109 |
|
|
3110 |
|
_ACEOF |
3111 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3112 |
|
$EGREP "free" >/dev/null 2>&1; then |
3113 |
|
: |
3114 |
|
else |
3115 |
|
ac_cv_header_stdc=no |
3116 |
|
fi |
3117 |
|
rm -f conftest* |
3118 |
|
|
3119 |
|
fi |
3120 |
|
|
3121 |
|
if test $ac_cv_header_stdc = yes; then |
3122 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3123 |
|
if test "$cross_compiling" = yes; then |
3124 |
|
: |
3125 |
|
else |
3126 |
|
cat >conftest.$ac_ext <<_ACEOF |
3127 |
|
/* confdefs.h. */ |
3128 |
|
_ACEOF |
3129 |
|
cat confdefs.h >>conftest.$ac_ext |
3130 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3131 |
|
/* end confdefs.h. */ |
3132 |
|
#include <ctype.h> |
3133 |
|
#if ((' ' & 0x0FF) == 0x020) |
3134 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3135 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3136 |
|
#else |
3137 |
|
# define ISLOWER(c) \ |
3138 |
|
(('a' <= (c) && (c) <= 'i') \ |
3139 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
3140 |
|
|| ('s' <= (c) && (c) <= 'z')) |
3141 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3142 |
|
#endif |
3143 |
|
|
3144 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3145 |
|
int |
3146 |
|
main () |
3147 |
|
{ |
3148 |
|
int i; |
3149 |
|
for (i = 0; i < 256; i++) |
3150 |
|
if (XOR (islower (i), ISLOWER (i)) |
3151 |
|
|| toupper (i) != TOUPPER (i)) |
3152 |
|
exit(2); |
3153 |
|
exit (0); |
3154 |
|
} |
3155 |
|
_ACEOF |
3156 |
|
rm -f conftest$ac_exeext |
3157 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3158 |
|
(eval $ac_link) 2>&5 |
3159 |
|
ac_status=$? |
3160 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3161 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3162 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3163 |
|
(eval $ac_try) 2>&5 |
3164 |
|
ac_status=$? |
3165 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3166 |
|
(exit $ac_status); }; }; then |
3167 |
|
: |
3168 |
|
else |
3169 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3170 |
|
echo "$as_me: failed program was:" >&5 |
3171 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3172 |
|
|
3173 |
|
( exit $ac_status ) |
3174 |
|
ac_cv_header_stdc=no |
3175 |
|
fi |
3176 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3177 |
|
fi |
3178 |
|
fi |
3179 |
|
fi |
3180 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3181 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
3182 |
|
if test $ac_cv_header_stdc = yes; then |
3183 |
|
|
3184 |
|
cat >>confdefs.h <<\_ACEOF |
3185 |
|
#define STDC_HEADERS 1 |
3186 |
|
_ACEOF |
3187 |
|
|
3188 |
|
fi |
3189 |
|
|
3190 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3191 |
|
|
3192 |
|
|
3193 |
|
|
3194 |
|
|
3195 |
|
|
3196 |
|
|
3197 |
|
|
3198 |
|
|
3199 |
|
|
3200 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3201 |
|
inttypes.h stdint.h unistd.h |
3202 |
|
do |
3203 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3204 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3205 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3206 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3207 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3208 |
|
else |
3209 |
|
cat >conftest.$ac_ext <<_ACEOF |
3210 |
|
/* confdefs.h. */ |
3211 |
|
_ACEOF |
3212 |
|
cat confdefs.h >>conftest.$ac_ext |
3213 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3214 |
|
/* end confdefs.h. */ |
3215 |
|
$ac_includes_default |
3216 |
|
|
3217 |
|
#include <$ac_header> |
3218 |
|
_ACEOF |
3219 |
|
rm -f conftest.$ac_objext |
3220 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3221 |
|
(eval $ac_compile) 2>conftest.er1 |
3222 |
|
ac_status=$? |
3223 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3224 |
|
rm -f conftest.er1 |
3225 |
|
cat conftest.err >&5 |
3226 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3227 |
|
(exit $ac_status); } && |
3228 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3229 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3230 |
|
(eval $ac_try) 2>&5 |
3231 |
|
ac_status=$? |
3232 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3233 |
|
(exit $ac_status); }; } && |
3234 |
|
{ ac_try='test -s conftest.$ac_objext' |
3235 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3236 |
|
(eval $ac_try) 2>&5 |
3237 |
|
ac_status=$? |
3238 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3239 |
|
(exit $ac_status); }; }; then |
3240 |
|
eval "$as_ac_Header=yes" |
3241 |
|
else |
3242 |
|
echo "$as_me: failed program was:" >&5 |
3243 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3244 |
|
|
3245 |
|
eval "$as_ac_Header=no" |
3246 |
|
fi |
3247 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3248 |
|
fi |
3249 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3250 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3251 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3252 |
|
cat >>confdefs.h <<_ACEOF |
3253 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3254 |
|
_ACEOF |
3255 |
|
|
3256 |
|
fi |
3257 |
|
|
3258 |
|
done |
3259 |
|
|
3260 |
|
|
3261 |
|
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then |
3262 |
|
echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5 |
3263 |
|
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6 |
3264 |
|
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then |
3265 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3266 |
|
fi |
3267 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5 |
3268 |
|
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6 |
3269 |
|
else |
3270 |
|
# Is the header compilable? |
3271 |
|
echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5 |
3272 |
|
echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6 |
3273 |
|
cat >conftest.$ac_ext <<_ACEOF |
3274 |
|
/* confdefs.h. */ |
3275 |
|
_ACEOF |
3276 |
|
cat confdefs.h >>conftest.$ac_ext |
3277 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3278 |
|
/* end confdefs.h. */ |
3279 |
|
$ac_includes_default |
3280 |
|
#include <alsa/asoundlib.h> |
3281 |
|
_ACEOF |
3282 |
|
rm -f conftest.$ac_objext |
3283 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3284 |
|
(eval $ac_compile) 2>conftest.er1 |
3285 |
|
ac_status=$? |
3286 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3287 |
|
rm -f conftest.er1 |
3288 |
|
cat conftest.err >&5 |
3289 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3290 |
|
(exit $ac_status); } && |
3291 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3292 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3293 |
|
(eval $ac_try) 2>&5 |
3294 |
|
ac_status=$? |
3295 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3296 |
|
(exit $ac_status); }; } && |
3297 |
|
{ ac_try='test -s conftest.$ac_objext' |
3298 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3299 |
|
(eval $ac_try) 2>&5 |
3300 |
|
ac_status=$? |
3301 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3302 |
|
(exit $ac_status); }; }; then |
3303 |
|
ac_header_compiler=yes |
3304 |
|
else |
3305 |
|
echo "$as_me: failed program was:" >&5 |
3306 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3307 |
|
|
3308 |
|
ac_header_compiler=no |
3309 |
|
fi |
3310 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3311 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3312 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
3313 |
|
|
3314 |
|
# Is the header present? |
3315 |
|
echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5 |
3316 |
|
echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6 |
3317 |
|
cat >conftest.$ac_ext <<_ACEOF |
3318 |
|
/* confdefs.h. */ |
3319 |
|
_ACEOF |
3320 |
|
cat confdefs.h >>conftest.$ac_ext |
3321 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3322 |
|
/* end confdefs.h. */ |
3323 |
|
#include <alsa/asoundlib.h> |
3324 |
|
_ACEOF |
3325 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3326 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3327 |
|
ac_status=$? |
3328 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3329 |
|
rm -f conftest.er1 |
3330 |
|
cat conftest.err >&5 |
3331 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3332 |
|
(exit $ac_status); } >/dev/null; then |
3333 |
|
if test -s conftest.err; then |
3334 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3335 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3336 |
|
else |
3337 |
|
ac_cpp_err= |
3338 |
|
fi |
3339 |
|
else |
3340 |
|
ac_cpp_err=yes |
3341 |
|
fi |
3342 |
|
if test -z "$ac_cpp_err"; then |
3343 |
|
ac_header_preproc=yes |
3344 |
|
else |
3345 |
|
echo "$as_me: failed program was:" >&5 |
3346 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3347 |
|
|
3348 |
|
ac_header_preproc=no |
3349 |
|
fi |
3350 |
|
rm -f conftest.err conftest.$ac_ext |
3351 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3352 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
3353 |
|
|
3354 |
|
# So? What about this header? |
3355 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
3356 |
|
yes:no: ) |
3357 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
3358 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3359 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5 |
3360 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;} |
3361 |
|
ac_header_preproc=yes |
3362 |
|
;; |
3363 |
|
no:yes:* ) |
3364 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5 |
3365 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;} |
3366 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5 |
3367 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;} |
3368 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5 |
3369 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;} |
3370 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
3371 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
3372 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5 |
3373 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;} |
3374 |
|
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5 |
3375 |
|
echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;} |
3376 |
|
( |
3377 |
|
cat <<\_ASBOX |
3378 |
|
## ------------------------------------------ ## |
3379 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
3380 |
|
## ------------------------------------------ ## |
3381 |
|
_ASBOX |
3382 |
|
) | |
3383 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3384 |
|
;; |
3385 |
|
esac |
3386 |
|
echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5 |
3387 |
|
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6 |
3388 |
|
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then |
3389 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3390 |
|
else |
3391 |
|
ac_cv_header_alsa_asoundlib_h=$ac_header_preproc |
3392 |
|
fi |
3393 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5 |
3394 |
|
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6 |
3395 |
|
|
3396 |
|
fi |
3397 |
|
if test $ac_cv_header_alsa_asoundlib_h = yes; then |
3398 |
|
echo "$as_me:$LINENO: checking for main in -lasound" >&5 |
3399 |
|
echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6 |
3400 |
|
if test "${ac_cv_lib_asound_main+set}" = set; then |
3401 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3402 |
|
else |
3403 |
|
ac_check_lib_save_LIBS=$LIBS |
3404 |
|
LIBS="-lasound $LIBS" |
3405 |
|
cat >conftest.$ac_ext <<_ACEOF |
3406 |
|
/* confdefs.h. */ |
3407 |
|
_ACEOF |
3408 |
|
cat confdefs.h >>conftest.$ac_ext |
3409 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3410 |
|
/* end confdefs.h. */ |
3411 |
|
|
3412 |
|
|
3413 |
|
int |
3414 |
|
main () |
3415 |
|
{ |
3416 |
|
main (); |
3417 |
|
; |
3418 |
|
return 0; |
3419 |
|
} |
3420 |
|
_ACEOF |
3421 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3422 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3423 |
|
(eval $ac_link) 2>conftest.er1 |
3424 |
|
ac_status=$? |
3425 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3426 |
|
rm -f conftest.er1 |
3427 |
|
cat conftest.err >&5 |
3428 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3429 |
|
(exit $ac_status); } && |
3430 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3431 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3432 |
|
(eval $ac_try) 2>&5 |
3433 |
|
ac_status=$? |
3434 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3435 |
|
(exit $ac_status); }; } && |
3436 |
|
{ ac_try='test -s conftest$ac_exeext' |
3437 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3438 |
|
(eval $ac_try) 2>&5 |
3439 |
|
ac_status=$? |
3440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3441 |
|
(exit $ac_status); }; }; then |
3442 |
|
ac_cv_lib_asound_main=yes |
3443 |
|
else |
3444 |
|
echo "$as_me: failed program was:" >&5 |
3445 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3446 |
|
|
3447 |
|
ac_cv_lib_asound_main=no |
3448 |
|
fi |
3449 |
|
rm -f conftest.err conftest.$ac_objext \ |
3450 |
|
conftest$ac_exeext conftest.$ac_ext |
3451 |
|
LIBS=$ac_check_lib_save_LIBS |
3452 |
|
fi |
3453 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5 |
3454 |
|
echo "${ECHO_T}$ac_cv_lib_asound_main" >&6 |
3455 |
|
if test $ac_cv_lib_asound_main = yes; then |
3456 |
|
have_alsa="true" |
3457 |
|
|
3458 |
|
else |
3459 |
|
have_alsa="false" |
3460 |
|
|
3461 |
|
fi |
3462 |
|
|
3463 |
|
|
3464 |
|
else |
3465 |
|
have_alsa="false" |
3466 |
|
|
3467 |
|
fi |
3468 |
|
|
3469 |
|
|
3470 |
|
if test "$have_alsa" = "false"; then |
3471 |
|
echo "Alsa not installed!" |
3472 |
|
echo "Sorry, LinuxSampler only supports Alsa sound drivers at the moment!" |
3473 |
|
exit -1; |
3474 |
|
fi |
3475 |
|
|
3476 |
|
|
3477 |
|
echo -n "checking Alsa version... " |
3478 |
|
|
3479 |
|
|
3480 |
|
ac_ext=c |
3481 |
|
ac_cpp='$CPP $CPPFLAGS' |
3482 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3483 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3484 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3485 |
|
|
3486 |
|
if test "$cross_compiling" = yes; then |
3487 |
|
alsa_major=0 |
3488 |
|
|
3489 |
|
else |
3490 |
|
cat >conftest.$ac_ext <<_ACEOF |
3491 |
|
/* confdefs.h. */ |
3492 |
|
_ACEOF |
3493 |
|
cat confdefs.h >>conftest.$ac_ext |
3494 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3495 |
|
/* end confdefs.h. */ |
3496 |
|
|
3497 |
|
#include <alsa/asoundlib.h> |
3498 |
|
void main(void) { |
3499 |
|
/* ensure backward compatibility */ |
3500 |
|
#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) |
3501 |
|
#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR |
3502 |
|
#endif |
3503 |
|
exit(SND_LIB_MAJOR); |
3504 |
|
} |
3505 |
|
|
3506 |
|
_ACEOF |
3507 |
|
rm -f conftest$ac_exeext |
3508 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3509 |
|
(eval $ac_link) 2>&5 |
3510 |
|
ac_status=$? |
3511 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3512 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3513 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3514 |
|
(eval $ac_try) 2>&5 |
3515 |
|
ac_status=$? |
3516 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3517 |
|
(exit $ac_status); }; }; then |
3518 |
|
alsa_major=0 |
3519 |
|
else |
3520 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3521 |
|
echo "$as_me: failed program was:" >&5 |
3522 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3523 |
|
|
3524 |
|
( exit $ac_status ) |
3525 |
|
alsa_major=$? |
3526 |
|
fi |
3527 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3528 |
|
fi |
3529 |
|
if test "$cross_compiling" = yes; then |
3530 |
|
alsa_minor=0 |
3531 |
|
|
3532 |
|
else |
3533 |
|
cat >conftest.$ac_ext <<_ACEOF |
3534 |
|
/* confdefs.h. */ |
3535 |
|
_ACEOF |
3536 |
|
cat confdefs.h >>conftest.$ac_ext |
3537 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3538 |
|
/* end confdefs.h. */ |
3539 |
|
|
3540 |
|
#include <alsa/asoundlib.h> |
3541 |
|
void main(void) { |
3542 |
|
/* ensure backward compatibility */ |
3543 |
|
#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) |
3544 |
|
#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR |
3545 |
|
#endif |
3546 |
|
exit(SND_LIB_MINOR); |
3547 |
|
} |
3548 |
|
|
3549 |
|
_ACEOF |
3550 |
|
rm -f conftest$ac_exeext |
3551 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3552 |
|
(eval $ac_link) 2>&5 |
3553 |
|
ac_status=$? |
3554 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3555 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3556 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3557 |
|
(eval $ac_try) 2>&5 |
3558 |
|
ac_status=$? |
3559 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3560 |
|
(exit $ac_status); }; }; then |
3561 |
|
alsa_minor=0 |
3562 |
|
else |
3563 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3564 |
|
echo "$as_me: failed program was:" >&5 |
3565 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3566 |
|
|
3567 |
|
( exit $ac_status ) |
3568 |
|
alsa_minor=$? |
3569 |
|
fi |
3570 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3571 |
|
fi |
3572 |
|
if test "$cross_compiling" = yes; then |
3573 |
|
alsa_subminor=0 |
3574 |
|
|
3575 |
|
else |
3576 |
|
cat >conftest.$ac_ext <<_ACEOF |
3577 |
|
/* confdefs.h. */ |
3578 |
|
_ACEOF |
3579 |
|
cat confdefs.h >>conftest.$ac_ext |
3580 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3581 |
|
/* end confdefs.h. */ |
3582 |
|
|
3583 |
|
#include <alsa/asoundlib.h> |
3584 |
|
void main(void) { |
3585 |
|
/* ensure backward compatibility */ |
3586 |
|
#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) |
3587 |
|
#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR |
3588 |
|
#endif |
3589 |
|
exit(SND_LIB_SUBMINOR); |
3590 |
|
} |
3591 |
|
|
3592 |
|
_ACEOF |
3593 |
|
rm -f conftest$ac_exeext |
3594 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3595 |
|
(eval $ac_link) 2>&5 |
3596 |
|
ac_status=$? |
3597 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3598 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3599 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3600 |
|
(eval $ac_try) 2>&5 |
3601 |
|
ac_status=$? |
3602 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3603 |
|
(exit $ac_status); }; }; then |
3604 |
|
alsa_subminor=0 |
3605 |
|
else |
3606 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3607 |
|
echo "$as_me: failed program was:" >&5 |
3608 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3609 |
|
|
3610 |
|
( exit $ac_status ) |
3611 |
|
alsa_subminor=$? |
3612 |
|
fi |
3613 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3614 |
|
fi |
3615 |
|
ac_ext=c |
3616 |
|
ac_cpp='$CPP $CPPFLAGS' |
3617 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3618 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3619 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3620 |
|
|
3621 |
|
echo "$alsa_major.$alsa_minor.$alsa_subminor"; |
3622 |
|
|
3623 |
|
cat >>confdefs.h <<_ACEOF |
3624 |
|
#define ALSA_MAJOR $alsa_major |
3625 |
|
_ACEOF |
3626 |
|
|
3627 |
|
|
3628 |
|
cat >>confdefs.h <<_ACEOF |
3629 |
|
#define ALSA_MINOR $alsa_minor |
3630 |
|
_ACEOF |
3631 |
|
|
3632 |
|
|
3633 |
|
cat >>confdefs.h <<_ACEOF |
3634 |
|
#define ALSA_SUBMINOR $alsa_subminor |
3635 |
|
_ACEOF |
3636 |
|
|
3637 |
|
|
3638 |
|
|
3639 |
|
# Add the stamp file to the list of files AC keeps track of, |
3640 |
|
# along with our hook. |
3641 |
|
ac_config_headers="$ac_config_headers config.h" |
3642 |
|
|
3643 |
|
|
3644 |
|
|
3645 |
|
am__api_version="1.6" |
3646 |
|
# Find a good install program. We prefer a C program (faster), |
3647 |
|
# so one script is as good as another. But avoid the broken or |
3648 |
|
# incompatible versions: |
3649 |
|
# SysV /etc/install, /usr/sbin/install |
3650 |
|
# SunOS /usr/etc/install |
3651 |
|
# IRIX /sbin/install |
3652 |
|
# AIX /bin/install |
3653 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
3654 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3655 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3656 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3657 |
|
# OS/2's system install, which has a completely different semantic |
3658 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
3659 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3660 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3661 |
|
if test -z "$INSTALL"; then |
3662 |
|
if test "${ac_cv_path_install+set}" = set; then |
3663 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3664 |
|
else |
3665 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3666 |
|
for as_dir in $PATH |
3667 |
|
do |
3668 |
|
IFS=$as_save_IFS |
3669 |
|
test -z "$as_dir" && as_dir=. |
3670 |
|
# Account for people who put trailing slashes in PATH elements. |
3671 |
|
case $as_dir/ in |
3672 |
|
./ | .// | /cC/* | \ |
3673 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3674 |
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
3675 |
|
/usr/ucb/* ) ;; |
3676 |
|
*) |
3677 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
3678 |
|
# Don't use installbsd from OSF since it installs stuff as root |
3679 |
|
# by default. |
3680 |
|
for ac_prog in ginstall scoinst install; do |
3681 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3682 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3683 |
|
if test $ac_prog = install && |
3684 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3685 |
|
# AIX install. It has an incompatible calling convention. |
3686 |
|
: |
3687 |
|
elif test $ac_prog = install && |
3688 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3689 |
|
# program-specific install script used by HP pwplus--don't use. |
3690 |
|
: |
3691 |
|
else |
3692 |
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3693 |
|
break 3 |
3694 |
|
fi |
3695 |
|
fi |
3696 |
|
done |
3697 |
|
done |
3698 |
|
;; |
3699 |
|
esac |
3700 |
|
done |
3701 |
|
|
3702 |
|
|
3703 |
|
fi |
3704 |
|
if test "${ac_cv_path_install+set}" = set; then |
3705 |
|
INSTALL=$ac_cv_path_install |
3706 |
|
else |
3707 |
|
# As a last resort, use the slow shell script. We don't cache a |
3708 |
|
# path for INSTALL within a source directory, because that will |
3709 |
|
# break other packages using the cache if that directory is |
3710 |
|
# removed, or if the path is relative. |
3711 |
|
INSTALL=$ac_install_sh |
3712 |
|
fi |
3713 |
|
fi |
3714 |
|
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3715 |
|
echo "${ECHO_T}$INSTALL" >&6 |
3716 |
|
|
3717 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3718 |
|
# It thinks the first close brace ends the variable substitution. |
3719 |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3720 |
|
|
3721 |
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3722 |
|
|
3723 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3724 |
|
|
3725 |
|
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
3726 |
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
3727 |
|
# Just in case |
3728 |
|
sleep 1 |
3729 |
|
echo timestamp > conftest.file |
3730 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
3731 |
|
# arguments. Must try -L first in case configure is actually a |
3732 |
|
# symlink; some systems play weird games with the mod time of symlinks |
3733 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
3734 |
|
# directory). |
3735 |
|
if ( |
3736 |
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
3737 |
|
if test "$*" = "X"; then |
3738 |
|
# -L didn't work. |
3739 |
|
set X `ls -t $srcdir/configure conftest.file` |
3740 |
|
fi |
3741 |
|
rm -f conftest.file |
3742 |
|
if test "$*" != "X $srcdir/configure conftest.file" \ |
3743 |
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
3744 |
|
|
3745 |
|
# If neither matched, then we have a broken ls. This can happen |
3746 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
3747 |
|
# broken ls alias from the environment. This has actually |
3748 |
|
# happened. Such a system could not be considered "sane". |
3749 |
|
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
3750 |
|
alias in your environment" >&5 |
3751 |
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
3752 |
|
alias in your environment" >&2;} |
3753 |
|
{ (exit 1); exit 1; }; } |
3754 |
|
fi |
3755 |
|
|
3756 |
|
test "$2" = conftest.file |
3757 |
|
) |
3758 |
|
then |
3759 |
|
# Ok. |
3760 |
|
: |
3761 |
|
else |
3762 |
|
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
3763 |
|
Check your system clock" >&5 |
3764 |
|
echo "$as_me: error: newly created file is older than distributed files! |
3765 |
|
Check your system clock" >&2;} |
3766 |
|
{ (exit 1); exit 1; }; } |
3767 |
|
fi |
3768 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
3769 |
|
echo "${ECHO_T}yes" >&6 |
3770 |
|
test "$program_prefix" != NONE && |
3771 |
|
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
3772 |
|
# Use a double $ so make ignores it. |
3773 |
|
test "$program_suffix" != NONE && |
3774 |
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
3775 |
|
# Double any \ or $. echo might interpret backslashes. |
3776 |
|
# By default was `s,x,x', remove it if useless. |
3777 |
|
cat <<\_ACEOF >conftest.sed |
3778 |
|
s/[\\$]/&&/g;s/;s,x,x,$// |
3779 |
|
_ACEOF |
3780 |
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
3781 |
|
rm conftest.sed |
3782 |
|
|
3783 |
|
|
3784 |
|
# expand $ac_aux_dir to an absolute path |
3785 |
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
3786 |
|
|
3787 |
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
3788 |
|
# Use eval to expand $SHELL |
3789 |
|
if eval "$MISSING --run true"; then |
3790 |
|
am_missing_run="$MISSING --run " |
3791 |
|
else |
3792 |
|
am_missing_run= |
3793 |
|
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
3794 |
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
3795 |
|
fi |
3796 |
|
|
3797 |
|
for ac_prog in gawk mawk nawk awk |
3798 |
|
do |
3799 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3800 |
|
set dummy $ac_prog; ac_word=$2 |
3801 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3802 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3803 |
|
if test "${ac_cv_prog_AWK+set}" = set; then |
3804 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3805 |
|
else |
3806 |
|
if test -n "$AWK"; then |
3807 |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3808 |
|
else |
3809 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3810 |
|
for as_dir in $PATH |
3811 |
|
do |
3812 |
|
IFS=$as_save_IFS |
3813 |
|
test -z "$as_dir" && as_dir=. |
3814 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3815 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3816 |
|
ac_cv_prog_AWK="$ac_prog" |
3817 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3818 |
|
break 2 |
3819 |
|
fi |
3820 |
|
done |
3821 |
|
done |
3822 |
|
|
3823 |
|
fi |
3824 |
|
fi |
3825 |
|
AWK=$ac_cv_prog_AWK |
3826 |
|
if test -n "$AWK"; then |
3827 |
|
echo "$as_me:$LINENO: result: $AWK" >&5 |
3828 |
|
echo "${ECHO_T}$AWK" >&6 |
3829 |
|
else |
3830 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3831 |
|
echo "${ECHO_T}no" >&6 |
3832 |
|
fi |
3833 |
|
|
3834 |
|
test -n "$AWK" && break |
3835 |
|
done |
3836 |
|
|
3837 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3838 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
3839 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
3840 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
3841 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3842 |
|
else |
3843 |
|
cat >conftest.make <<\_ACEOF |
3844 |
|
all: |
3845 |
|
@echo 'ac_maketemp="$(MAKE)"' |
3846 |
|
_ACEOF |
3847 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3848 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
3849 |
|
if test -n "$ac_maketemp"; then |
3850 |
|
eval ac_cv_prog_make_${ac_make}_set=yes |
3851 |
|
else |
3852 |
|
eval ac_cv_prog_make_${ac_make}_set=no |
3853 |
|
fi |
3854 |
|
rm -f conftest.make |
3855 |
|
fi |
3856 |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
3857 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
3858 |
|
echo "${ECHO_T}yes" >&6 |
3859 |
|
SET_MAKE= |
3860 |
|
else |
3861 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3862 |
|
echo "${ECHO_T}no" >&6 |
3863 |
|
SET_MAKE="MAKE=${MAKE-make}" |
3864 |
|
fi |
3865 |
|
|
3866 |
rm -f .deps 2>/dev/null |
rm -f .deps 2>/dev/null |
3867 |
mkdir .deps 2>/dev/null |
mkdir .deps 2>/dev/null |
3868 |
if test -d .deps; then |
if test -d .deps; then |
3936 |
|
|
3937 |
|
|
3938 |
|
|
3939 |
|
# test to see if srcdir already configured |
3940 |
|
if test "`cd $srcdir && pwd`" != "`pwd`" && |
3941 |
|
test -f $srcdir/config.status; then |
3942 |
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
3943 |
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
3944 |
|
{ (exit 1); exit 1; }; } |
3945 |
|
fi |
3946 |
|
|
3947 |
depcc="$CXX" am_compiler_list= |
# Define the identity of the package. |
3948 |
|
PACKAGE=linuxsampler |
3949 |
|
VERSION=0.1 |
3950 |
|
|
|
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 |
|
3951 |
|
|
3952 |
am_cv_CXX_dependencies_compiler_type=none |
cat >>confdefs.h <<_ACEOF |
3953 |
if test "$am_compiler_list" = ""; then |
#define PACKAGE "$PACKAGE" |
3954 |
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 |
|
3955 |
|
|
|
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 |
|
3956 |
|
|
3957 |
cd .. |
cat >>confdefs.h <<_ACEOF |
3958 |
rm -rf conftest.dir |
#define VERSION "$VERSION" |
3959 |
else |
_ACEOF |
|
am_cv_CXX_dependencies_compiler_type=none |
|
|
fi |
|
3960 |
|
|
3961 |
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 |
|
3962 |
|
|
3963 |
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3964 |
|
|
|
# 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; |
|
3965 |
|
|
3966 |
# 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; |
|
3967 |
|
|
|
# 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; |
|
3968 |
|
|
3969 |
ac_ext=c |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
if test -n "$ac_tool_prefix"; then |
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
set dummy ${ac_tool_prefix}gcc; 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}gcc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
3970 |
|
|
|
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 |
|
|
fi |
|
3971 |
|
|
3972 |
fi |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
if test -z "$ac_cv_prog_CC"; then |
|
|
ac_ct_CC=$CC |
|
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
|
set dummy gcc; 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="gcc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
3973 |
|
|
|
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 |
|
3974 |
|
|
3975 |
CC=$ac_ct_CC |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
else |
|
|
CC="$ac_cv_prog_CC" |
|
|
fi |
|
3976 |
|
|
3977 |
if test -z "$CC"; then |
|
3978 |
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
3979 |
|
|
3980 |
|
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
3981 |
|
|
3982 |
|
# Installed binaries are usually stripped using `strip' when the user |
3983 |
|
# run `make install-strip'. However `strip' might not be the right |
3984 |
|
# tool to use in cross-compilation environments, therefore Automake |
3985 |
|
# will honor the `STRIP' environment variable to overrule this program. |
3986 |
|
if test "$cross_compiling" != no; then |
3987 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
3988 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3989 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3990 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3991 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3992 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_STRIP+set}" = set; then |
3993 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3994 |
else |
else |
3995 |
if test -n "$CC"; then |
if test -n "$STRIP"; then |
3996 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3997 |
else |
else |
3998 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3999 |
for as_dir in $PATH |
for as_dir in $PATH |
4002 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4003 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4004 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4005 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
4006 |
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 |
4007 |
break 2 |
break 2 |
4008 |
fi |
fi |
4011 |
|
|
4012 |
fi |
fi |
4013 |
fi |
fi |
4014 |
CC=$ac_cv_prog_CC |
STRIP=$ac_cv_prog_STRIP |
4015 |
if test -n "$CC"; then |
if test -n "$STRIP"; then |
4016 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
4017 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$STRIP" >&6 |
4018 |
else |
else |
4019 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4020 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4021 |
fi |
fi |
4022 |
|
|
4023 |
fi |
fi |
4024 |
if test -z "$ac_cv_prog_CC"; then |
if test -z "$ac_cv_prog_STRIP"; then |
4025 |
ac_ct_CC=$CC |
ac_ct_STRIP=$STRIP |
4026 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "strip", so it can be a program name with args. |
4027 |
set dummy cc; ac_word=$2 |
set dummy strip; ac_word=$2 |
4028 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4029 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4030 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
4031 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4032 |
else |
else |
4033 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_STRIP"; then |
4034 |
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. |
4035 |
else |
else |
4036 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4037 |
for as_dir in $PATH |
for as_dir in $PATH |
4040 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4041 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4042 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4043 |
ac_cv_prog_ac_ct_CC="cc" |
ac_cv_prog_ac_ct_STRIP="strip" |
4044 |
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 |
4045 |
break 2 |
break 2 |
4046 |
fi |
fi |
4047 |
done |
done |
4048 |
done |
done |
4049 |
|
|
4050 |
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
4051 |
fi |
fi |
4052 |
fi |
fi |
4053 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
4054 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_STRIP"; then |
4055 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
4056 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
4057 |
else |
else |
4058 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4059 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4060 |
fi |
fi |
4061 |
|
|
4062 |
CC=$ac_ct_CC |
STRIP=$ac_ct_STRIP |
4063 |
else |
else |
4064 |
CC="$ac_cv_prog_CC" |
STRIP="$ac_cv_prog_STRIP" |
4065 |
fi |
fi |
4066 |
|
|
4067 |
fi |
fi |
4068 |
if test -z "$CC"; then |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
4069 |
# Extract the first word of "cc", so it can be a program name with args. |
|
4070 |
set dummy cc; ac_word=$2 |
# We need awk for the "check" target. The system "awk" is bad on |
4071 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
# some platforms. |
4072 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
4073 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
4074 |
|
depcc="$CC" am_compiler_list= |
4075 |
|
|
4076 |
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4077 |
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
4078 |
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
4079 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4080 |
else |
else |
4081 |
if test -n "$CC"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4082 |
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 |
4083 |
else |
# making bogus files that we don't know about and never remove. For |
4084 |
ac_prog_rejected=no |
# instance it was reported that on HP-UX the gcc test will end up |
4085 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
# making a dummy file named `D' -- because `-MD' means `put the output |
4086 |
for as_dir in $PATH |
# in D'. |
4087 |
do |
mkdir conftest.dir |
4088 |
IFS=$as_save_IFS |
# Copy depcomp to subdir because otherwise we won't find it if we're |
4089 |
test -z "$as_dir" && as_dir=. |
# using a relative directory. |
4090 |
for ac_exec_ext in '' $ac_executable_extensions; do |
cp "$am_depcomp" conftest.dir |
4091 |
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 |
|
4092 |
|
|
4093 |
if test $ac_prog_rejected = yes; then |
am_cv_CC_dependencies_compiler_type=none |
4094 |
# We found a bogon in the path, so make sure we never use it. |
if test "$am_compiler_list" = ""; then |
4095 |
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+' '}$@" |
|
4096 |
fi |
fi |
4097 |
fi |
for depmode in $am_compiler_list; do |
4098 |
fi |
# We need to recreate these files for each test, as the compiler may |
4099 |
fi |
# overwrite some of them when testing with obscure command lines. |
4100 |
CC=$ac_cv_prog_CC |
# This happens at least with the AIX C compiler. |
4101 |
if test -n "$CC"; then |
echo '#include "conftest.h"' > conftest.c |
4102 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo 'int i;' > conftest.h |
4103 |
echo "${ECHO_T}$CC" >&6 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
4104 |
|
|
4105 |
|
case $depmode in |
4106 |
|
nosideeffect) |
4107 |
|
# after this tag, mechanisms are not by side-effect, so they'll |
4108 |
|
# only be used when explicitly requested |
4109 |
|
if test "x$enable_dependency_tracking" = xyes; then |
4110 |
|
continue |
4111 |
|
else |
4112 |
|
break |
4113 |
|
fi |
4114 |
|
;; |
4115 |
|
none) break ;; |
4116 |
|
esac |
4117 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
4118 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
4119 |
|
# handle `-M -o', and we need to detect this. |
4120 |
|
if depmode=$depmode \ |
4121 |
|
source=conftest.c object=conftest.o \ |
4122 |
|
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
4123 |
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
4124 |
|
grep conftest.h conftest.Po > /dev/null 2>&1 && |
4125 |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4126 |
|
am_cv_CC_dependencies_compiler_type=$depmode |
4127 |
|
break |
4128 |
|
fi |
4129 |
|
done |
4130 |
|
|
4131 |
|
cd .. |
4132 |
|
rm -rf conftest.dir |
4133 |
else |
else |
4134 |
echo "$as_me:$LINENO: result: no" >&5 |
am_cv_CC_dependencies_compiler_type=none |
|
echo "${ECHO_T}no" >&6 |
|
4135 |
fi |
fi |
4136 |
|
|
4137 |
fi |
fi |
4138 |
if test -z "$CC"; then |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4139 |
if test -n "$ac_tool_prefix"; then |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
4140 |
for ac_prog in cl |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4141 |
|
|
4142 |
|
|
4143 |
|
|
4144 |
|
|
4145 |
|
ac_ext=cc |
4146 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
4147 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4148 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4149 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4150 |
|
|
4151 |
|
ac_ext=cc |
4152 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
4153 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4154 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4155 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4156 |
|
if test -n "$ac_tool_prefix"; then |
4157 |
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
4158 |
do |
do |
4159 |
# 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. |
4160 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4161 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4162 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4163 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CXX+set}" = set; then |
4164 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4165 |
else |
else |
4166 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
4167 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4168 |
else |
else |
4169 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4170 |
for as_dir in $PATH |
for as_dir in $PATH |
4173 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4174 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4175 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4176 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4177 |
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 |
4178 |
break 2 |
break 2 |
4179 |
fi |
fi |
4182 |
|
|
4183 |
fi |
fi |
4184 |
fi |
fi |
4185 |
CC=$ac_cv_prog_CC |
CXX=$ac_cv_prog_CXX |
4186 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
4187 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
4188 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CXX" >&6 |
4189 |
else |
else |
4190 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4191 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4192 |
fi |
fi |
4193 |
|
|
4194 |
test -n "$CC" && break |
test -n "$CXX" && break |
4195 |
done |
done |
4196 |
fi |
fi |
4197 |
if test -z "$CC"; then |
if test -z "$CXX"; then |
4198 |
ac_ct_CC=$CC |
ac_ct_CXX=$CXX |
4199 |
for ac_prog in cl |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
4200 |
do |
do |
4201 |
# 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. |
4202 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
4203 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4204 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4205 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4206 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4207 |
else |
else |
4208 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
4209 |
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. |
4210 |
else |
else |
4211 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4212 |
for as_dir in $PATH |
for as_dir in $PATH |
4215 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4216 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4217 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4218 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
4219 |
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 |
4220 |
break 2 |
break 2 |
4221 |
fi |
fi |
4224 |
|
|
4225 |
fi |
fi |
4226 |
fi |
fi |
4227 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4228 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
4229 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4230 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
4231 |
else |
else |
4232 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4233 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4234 |
fi |
fi |
4235 |
|
|
4236 |
test -n "$ac_ct_CC" && break |
test -n "$ac_ct_CXX" && break |
4237 |
done |
done |
4238 |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
4239 |
|
|
4240 |
CC=$ac_ct_CC |
CXX=$ac_ct_CXX |
|
fi |
|
|
|
|
4241 |
fi |
fi |
4242 |
|
|
4243 |
|
|
|
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; }; } |
|
|
|
|
4244 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
4245 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
4246 |
"checking for C compiler version" >&5 |
"checking for C++ compiler version" >&5 |
4247 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
4248 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
4249 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
4261 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4262 |
(exit $ac_status); } |
(exit $ac_status); } |
4263 |
|
|
4264 |
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 |
4265 |
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 |
4266 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4267 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4268 |
else |
else |
4269 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4270 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4271 |
_ACEOF |
_ACEOF |
4272 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4286 |
_ACEOF |
_ACEOF |
4287 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4288 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4289 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4290 |
ac_status=$? |
ac_status=$? |
4291 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4292 |
|
rm -f conftest.er1 |
4293 |
|
cat conftest.err >&5 |
4294 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4295 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4296 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4297 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4298 |
|
(eval $ac_try) 2>&5 |
4299 |
|
ac_status=$? |
4300 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4301 |
|
(exit $ac_status); }; } && |
4302 |
|
{ ac_try='test -s conftest.$ac_objext' |
4303 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4304 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4305 |
ac_status=$? |
ac_status=$? |
4312 |
|
|
4313 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
4314 |
fi |
fi |
4315 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4316 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4317 |
|
|
4318 |
fi |
fi |
4319 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4320 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
4321 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
4322 |
ac_test_CFLAGS=${CFLAGS+set} |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
4323 |
ac_save_CFLAGS=$CFLAGS |
ac_save_CXXFLAGS=$CXXFLAGS |
4324 |
CFLAGS="-g" |
CXXFLAGS="-g" |
4325 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4326 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
4327 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
4328 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4329 |
else |
else |
4330 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4331 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4332 |
_ACEOF |
_ACEOF |
4333 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4344 |
_ACEOF |
_ACEOF |
4345 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4346 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4347 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4348 |
ac_status=$? |
ac_status=$? |
4349 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4350 |
|
rm -f conftest.er1 |
4351 |
|
cat conftest.err >&5 |
4352 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4353 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4354 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4355 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4356 |
|
(eval $ac_try) 2>&5 |
4357 |
|
ac_status=$? |
4358 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4359 |
|
(exit $ac_status); }; } && |
4360 |
|
{ ac_try='test -s conftest.$ac_objext' |
4361 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4362 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4363 |
ac_status=$? |
ac_status=$? |
4364 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4365 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
4366 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cxx_g=yes |
4367 |
else |
else |
4368 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4369 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4370 |
|
|
4371 |
ac_cv_prog_cc_g=no |
ac_cv_prog_cxx_g=no |
4372 |
fi |
fi |
4373 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4374 |
fi |
fi |
4375 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4376 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
4377 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CXXFLAGS" = set; then |
4378 |
CFLAGS=$ac_save_CFLAGS |
CXXFLAGS=$ac_save_CXXFLAGS |
4379 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cxx_g = yes; then |
4380 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
4381 |
CFLAGS="-g -O2" |
CXXFLAGS="-g -O2" |
4382 |
else |
else |
4383 |
CFLAGS="-g" |
CXXFLAGS="-g" |
4384 |
fi |
fi |
4385 |
else |
else |
4386 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
4387 |
CFLAGS="-O2" |
CXXFLAGS="-O2" |
4388 |
else |
else |
4389 |
CFLAGS= |
CXXFLAGS= |
4390 |
fi |
fi |
4391 |
fi |
fi |
4392 |
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 \ |
|
4393 |
'' \ |
'' \ |
4394 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
4395 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
4398 |
'void exit (int);' |
'void exit (int);' |
4399 |
do |
do |
4400 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4401 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4402 |
_ACEOF |
_ACEOF |
4403 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4415 |
_ACEOF |
_ACEOF |
4416 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4417 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4418 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4419 |
ac_status=$? |
ac_status=$? |
4420 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4421 |
|
rm -f conftest.er1 |
4422 |
|
cat conftest.err >&5 |
4423 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4424 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4425 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4426 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4427 |
|
(eval $ac_try) 2>&5 |
4428 |
|
ac_status=$? |
4429 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4430 |
|
(exit $ac_status); }; } && |
4431 |
|
{ ac_try='test -s conftest.$ac_objext' |
4432 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4433 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4434 |
ac_status=$? |
ac_status=$? |
4441 |
|
|
4442 |
continue |
continue |
4443 |
fi |
fi |
4444 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4445 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4446 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4447 |
_ACEOF |
_ACEOF |
4448 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4459 |
_ACEOF |
_ACEOF |
4460 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4461 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4462 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4463 |
ac_status=$? |
ac_status=$? |
4464 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4465 |
|
rm -f conftest.er1 |
4466 |
|
cat conftest.err >&5 |
4467 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4468 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4469 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4470 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4471 |
|
(eval $ac_try) 2>&5 |
4472 |
|
ac_status=$? |
4473 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4474 |
|
(exit $ac_status); }; } && |
4475 |
|
{ ac_try='test -s conftest.$ac_objext' |
4476 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4477 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4478 |
ac_status=$? |
ac_status=$? |
4484 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4485 |
|
|
4486 |
fi |
fi |
4487 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4488 |
done |
done |
4489 |
rm -f conftest* |
rm -f conftest* |
4490 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
4493 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
4494 |
fi |
fi |
4495 |
|
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
4496 |
ac_ext=cc |
ac_ext=cc |
4497 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
4498 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4499 |
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' |
4500 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4501 |
|
|
4502 |
depcc="$CC" am_compiler_list= |
depcc="$CXX" am_compiler_list= |
4503 |
|
|
4504 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4505 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
4506 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
4507 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4508 |
else |
else |
4509 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4518 |
cp "$am_depcomp" conftest.dir |
cp "$am_depcomp" conftest.dir |
4519 |
cd conftest.dir |
cd conftest.dir |
4520 |
|
|
4521 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
4522 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
4523 |
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` |
4524 |
fi |
fi |
4551 |
$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 && |
4552 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
4553 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4554 |
am_cv_CC_dependencies_compiler_type=$depmode |
am_cv_CXX_dependencies_compiler_type=$depmode |
4555 |
break |
break |
4556 |
fi |
fi |
4557 |
done |
done |
4559 |
cd .. |
cd .. |
4560 |
rm -rf conftest.dir |
rm -rf conftest.dir |
4561 |
else |
else |
4562 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
4563 |
fi |
fi |
4564 |
|
|
4565 |
fi |
fi |
4566 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4567 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
4568 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4569 |
|
|
4570 |
|
|
4571 |
|
# Check whether --enable-shared or --disable-shared was given. |
4572 |
|
if test "${enable_shared+set}" = set; then |
4573 |
|
enableval="$enable_shared" |
4574 |
|
p=${PACKAGE-default} |
4575 |
|
case $enableval in |
4576 |
|
yes) enable_shared=yes ;; |
4577 |
|
no) enable_shared=no ;; |
4578 |
|
*) |
4579 |
|
enable_shared=no |
4580 |
|
# Look at the argument we got. We use all the common list separators. |
4581 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
4582 |
|
for pkg in $enableval; do |
4583 |
|
IFS="$lt_save_ifs" |
4584 |
|
if test "X$pkg" = "X$p"; then |
4585 |
|
enable_shared=yes |
4586 |
|
fi |
4587 |
|
done |
4588 |
|
IFS="$lt_save_ifs" |
4589 |
|
;; |
4590 |
|
esac |
4591 |
|
else |
4592 |
|
enable_shared=yes |
4593 |
|
fi; |
4594 |
|
|
4595 |
|
# Check whether --enable-static or --disable-static was given. |
4596 |
|
if test "${enable_static+set}" = set; then |
4597 |
|
enableval="$enable_static" |
4598 |
|
p=${PACKAGE-default} |
4599 |
|
case $enableval in |
4600 |
|
yes) enable_static=yes ;; |
4601 |
|
no) enable_static=no ;; |
4602 |
|
*) |
4603 |
|
enable_static=no |
4604 |
|
# Look at the argument we got. We use all the common list separators. |
4605 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
4606 |
|
for pkg in $enableval; do |
4607 |
|
IFS="$lt_save_ifs" |
4608 |
|
if test "X$pkg" = "X$p"; then |
4609 |
|
enable_static=yes |
4610 |
|
fi |
4611 |
|
done |
4612 |
|
IFS="$lt_save_ifs" |
4613 |
|
;; |
4614 |
|
esac |
4615 |
|
else |
4616 |
|
enable_static=yes |
4617 |
|
fi; |
4618 |
|
|
4619 |
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
4620 |
|
if test "${enable_fast_install+set}" = set; then |
4621 |
|
enableval="$enable_fast_install" |
4622 |
|
p=${PACKAGE-default} |
4623 |
|
case $enableval in |
4624 |
|
yes) enable_fast_install=yes ;; |
4625 |
|
no) enable_fast_install=no ;; |
4626 |
|
*) |
4627 |
|
enable_fast_install=no |
4628 |
|
# Look at the argument we got. We use all the common list separators. |
4629 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
4630 |
|
for pkg in $enableval; do |
4631 |
|
IFS="$lt_save_ifs" |
4632 |
|
if test "X$pkg" = "X$p"; then |
4633 |
|
enable_fast_install=yes |
4634 |
|
fi |
4635 |
|
done |
4636 |
|
IFS="$lt_save_ifs" |
4637 |
|
;; |
4638 |
|
esac |
4639 |
|
else |
4640 |
|
enable_fast_install=yes |
4641 |
|
fi; |
4642 |
|
|
4643 |
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 |
4644 |
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 |
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 |
4697 |
echo "$as_me:$LINENO: result: $SED" >&5 |
echo "$as_me:$LINENO: result: $SED" >&5 |
4698 |
echo "${ECHO_T}$SED" >&6 |
echo "${ECHO_T}$SED" >&6 |
4699 |
|
|
|
echo "$as_me:$LINENO: checking for egrep" >&5 |
|
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_egrep+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
|
|
then ac_cv_prog_egrep='grep -E' |
|
|
else ac_cv_prog_egrep='egrep' |
|
|
fi |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
|
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
|
|
EGREP=$ac_cv_prog_egrep |
|
|
|
|
|
|
|
4700 |
|
|
4701 |
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
4702 |
if test "${with_gnu_ld+set}" = set; then |
if test "${with_gnu_ld+set}" = set; then |
4911 |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
4912 |
;; |
;; |
4913 |
|
|
4914 |
cygwin* | mingw* | pw32*) |
cygwin*) |
4915 |
# win32_libid is a shell function defined in ltmain.sh |
# win32_libid is a shell function defined in ltmain.sh |
4916 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
4917 |
lt_cv_file_magic_cmd='win32_libid' |
lt_cv_file_magic_cmd='win32_libid' |
4918 |
;; |
;; |
4919 |
|
|
4920 |
|
mingw* | pw32*) |
4921 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
4922 |
|
# win32_libid shell function, so use a weaker test based on 'objdump'. |
4923 |
|
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
4924 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
4925 |
|
;; |
4926 |
|
|
4927 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
4928 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4929 |
;; |
;; |
5066 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
5067 |
compiler=$CC |
compiler=$CC |
5068 |
|
|
|
|
|
5069 |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
5070 |
if test "${enable_libtool_lock+set}" = set; then |
if test "${enable_libtool_lock+set}" = set; then |
5071 |
enableval="$enable_libtool_lock" |
enableval="$enable_libtool_lock" |
5097 |
;; |
;; |
5098 |
*-*-irix6*) |
*-*-irix6*) |
5099 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
5100 |
echo '#line 3892 "configure"' > conftest.$ac_ext |
echo '#line 5100 "configure"' > conftest.$ac_ext |
5101 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5102 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
5103 |
ac_status=$? |
ac_status=$? |
5194 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5195 |
|
|
5196 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5197 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5198 |
_ACEOF |
_ACEOF |
5199 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5210 |
_ACEOF |
_ACEOF |
5211 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
5212 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5213 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
5214 |
ac_status=$? |
ac_status=$? |
5215 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5216 |
|
rm -f conftest.er1 |
5217 |
|
cat conftest.err >&5 |
5218 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5219 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5220 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5221 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5222 |
|
(eval $ac_try) 2>&5 |
5223 |
|
ac_status=$? |
5224 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5225 |
|
(exit $ac_status); }; } && |
5226 |
|
{ ac_try='test -s conftest$ac_exeext' |
5227 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5228 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5229 |
ac_status=$? |
ac_status=$? |
5236 |
|
|
5237 |
lt_cv_cc_needs_belf=no |
lt_cv_cc_needs_belf=no |
5238 |
fi |
fi |
5239 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
5240 |
|
conftest$ac_exeext conftest.$ac_ext |
5241 |
ac_ext=c |
ac_ext=c |
5242 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
5243 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5258 |
need_locks="$enable_libtool_lock" |
need_locks="$enable_libtool_lock" |
5259 |
|
|
5260 |
|
|
|
ac_ext=c |
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
|
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
|
|
# On Suns, sometimes $CPP names a directory. |
|
|
if test -n "$CPP" && test -d "$CPP"; then |
|
|
CPP= |
|
|
fi |
|
|
if test -z "$CPP"; then |
|
|
if test "${ac_cv_prog_CPP+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
# Double quotes because CPP needs to be expanded |
|
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
do |
|
|
ac_preproc_ok=false |
|
|
for ac_c_preproc_warn_flag in '' yes |
|
|
do |
|
|
# Use a header file that comes with gcc, so configuring glibc |
|
|
# with a fresh cross-compiler works. |
|
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
# <limits.h> exists even on freestanding compilers. |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
# not just through cpp. "Syntax error" is here to catch this case. |
|
|
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. */ |
|
|
#ifdef __STDC__ |
|
|
# include <limits.h> |
|
|
#else |
|
|
# include <assert.h> |
|
|
#endif |
|
|
Syntax error |
|
|
_ACEOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } >/dev/null; then |
|
|
if test -s conftest.err; then |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
else |
|
|
ac_cpp_err= |
|
|
fi |
|
|
else |
|
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
|
: |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
# Broken: fails on valid input. |
|
|
continue |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
|
|
|
# OK, works on sane cases. Now check whether non-existent headers |
|
|
# can be detected and how. |
|
|
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 <ac_nonexistent.h> |
|
|
_ACEOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } >/dev/null; then |
|
|
if test -s conftest.err; then |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
else |
|
|
ac_cpp_err= |
|
|
fi |
|
|
else |
|
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
|
# Broken: success on invalid input. |
|
|
continue |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
# Passes both tests. |
|
|
ac_preproc_ok=: |
|
|
break |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
|
|
|
done |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
if $ac_preproc_ok; then |
|
|
break |
|
|
fi |
|
|
|
|
|
done |
|
|
ac_cv_prog_CPP=$CPP |
|
|
|
|
|
fi |
|
|
CPP=$ac_cv_prog_CPP |
|
|
else |
|
|
ac_cv_prog_CPP=$CPP |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $CPP" >&5 |
|
|
echo "${ECHO_T}$CPP" >&6 |
|
|
ac_preproc_ok=false |
|
|
for ac_c_preproc_warn_flag in '' yes |
|
|
do |
|
|
# Use a header file that comes with gcc, so configuring glibc |
|
|
# with a fresh cross-compiler works. |
|
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
# <limits.h> exists even on freestanding compilers. |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
# not just through cpp. "Syntax error" is here to catch this case. |
|
|
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. */ |
|
|
#ifdef __STDC__ |
|
|
# include <limits.h> |
|
|
#else |
|
|
# include <assert.h> |
|
|
#endif |
|
|
Syntax error |
|
|
_ACEOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } >/dev/null; then |
|
|
if test -s conftest.err; then |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
else |
|
|
ac_cpp_err= |
|
|
fi |
|
|
else |
|
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
|
: |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
# Broken: fails on valid input. |
|
|
continue |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
|
|
|
# OK, works on sane cases. Now check whether non-existent headers |
|
|
# can be detected and how. |
|
|
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 <ac_nonexistent.h> |
|
|
_ACEOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } >/dev/null; then |
|
|
if test -s conftest.err; then |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
else |
|
|
ac_cpp_err= |
|
|
fi |
|
|
else |
|
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
|
# Broken: success on invalid input. |
|
|
continue |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
# Passes both tests. |
|
|
ac_preproc_ok=: |
|
|
break |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
|
|
|
done |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
if $ac_preproc_ok; then |
|
|
: |
|
|
else |
|
|
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
|
|
See \`config.log' for more details." >&5 |
|
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
|
|
See \`config.log' for more details." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
|
|
|
ac_ext=c |
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
if test "${ac_cv_header_stdc+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
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 <stdlib.h> |
|
|
#include <stdarg.h> |
|
|
#include <string.h> |
|
|
#include <float.h> |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
|
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_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 |
|
|
ac_cv_header_stdc=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
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 <string.h> |
|
|
|
|
|
_ACEOF |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
$EGREP "memchr" >/dev/null 2>&1; then |
|
|
: |
|
|
else |
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
|
|
|
fi |
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
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 <stdlib.h> |
|
|
|
|
|
_ACEOF |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
$EGREP "free" >/dev/null 2>&1; then |
|
|
: |
|
|
else |
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
|
|
|
fi |
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
if test "$cross_compiling" = yes; then |
|
|
: |
|
|
else |
|
|
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 <ctype.h> |
|
|
#if ((' ' & 0x0FF) == 0x020) |
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
#else |
|
|
# define ISLOWER(c) \ |
|
|
(('a' <= (c) && (c) <= 'i') \ |
|
|
|| ('j' <= (c) && (c) <= 'r') \ |
|
|
|| ('s' <= (c) && (c) <= 'z')) |
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
#endif |
|
|
|
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
int |
|
|
main () |
|
|
{ |
|
|
int i; |
|
|
for (i = 0; i < 256; i++) |
|
|
if (XOR (islower (i), ISLOWER (i)) |
|
|
|| toupper (i) != TOUPPER (i)) |
|
|
exit(2); |
|
|
exit (0); |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
{ (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 |
|
|
: |
|
|
else |
|
|
echo "$as_me: program exited with status $ac_status" >&5 |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
( exit $ac_status ) |
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define STDC_HEADERS 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
inttypes.h stdint.h unistd.h |
|
|
do |
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
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. */ |
|
|
$ac_includes_default |
|
|
|
|
|
#include <$ac_header> |
|
|
_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 |
|
|
eval "$as_ac_Header=yes" |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
eval "$as_ac_Header=no" |
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
done |
|
|
|
|
|
|
|
5261 |
|
|
5262 |
for ac_header in dlfcn.h |
for ac_header in dlfcn.h |
5263 |
do |
do |
5275 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5276 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5277 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5278 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5279 |
_ACEOF |
_ACEOF |
5280 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5285 |
_ACEOF |
_ACEOF |
5286 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5287 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5288 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5289 |
ac_status=$? |
ac_status=$? |
5290 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5291 |
|
rm -f conftest.er1 |
5292 |
|
cat conftest.err >&5 |
5293 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5294 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5295 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5296 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5297 |
|
(eval $ac_try) 2>&5 |
5298 |
|
ac_status=$? |
5299 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5300 |
|
(exit $ac_status); }; } && |
5301 |
|
{ ac_try='test -s conftest.$ac_objext' |
5302 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5303 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5304 |
ac_status=$? |
ac_status=$? |
5311 |
|
|
5312 |
ac_header_compiler=no |
ac_header_compiler=no |
5313 |
fi |
fi |
5314 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5315 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5316 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5317 |
|
|
5319 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5320 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5321 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5322 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5323 |
_ACEOF |
_ACEOF |
5324 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5336 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5337 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5338 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
5339 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5340 |
else |
else |
5341 |
ac_cpp_err= |
ac_cpp_err= |
5342 |
fi |
fi |
5356 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5357 |
|
|
5358 |
# So? What about this header? |
# So? What about this header? |
5359 |
case $ac_header_compiler:$ac_header_preproc in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5360 |
yes:no ) |
yes:no: ) |
5361 |
{ 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 |
5362 |
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;} |
5363 |
{ 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 |
5364 |
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;} |
5365 |
( |
ac_header_preproc=yes |
|
cat <<\_ASBOX |
|
|
## ------------------------------------ ## |
|
|
## Report this to bug-autoconf@gnu.org. ## |
|
|
## ------------------------------------ ## |
|
|
_ASBOX |
|
|
) | |
|
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
5366 |
;; |
;; |
5367 |
no:yes ) |
no:yes:* ) |
5368 |
{ 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 |
5369 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5370 |
{ 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 |
5371 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5372 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5373 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5374 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5375 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5376 |
{ 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 |
5377 |
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;} |
5378 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5379 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5380 |
( |
( |
5381 |
cat <<\_ASBOX |
cat <<\_ASBOX |
5382 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
5383 |
## Report this to bug-autoconf@gnu.org. ## |
## Report this to the AC_PACKAGE_NAME lists. ## |
5384 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
5385 |
_ASBOX |
_ASBOX |
5386 |
) | |
) | |
5387 |
sed "s/^/$as_me: WARNING: /" >&2 |
sed "s/^/$as_me: WARNING: /" >&2 |
5392 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5393 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5394 |
else |
else |
5395 |
eval "$as_ac_Header=$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
5396 |
fi |
fi |
5397 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5398 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5431 |
# 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, |
5432 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5433 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5434 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5435 |
_ACEOF |
_ACEOF |
5436 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5441 |
#else |
#else |
5442 |
# include <assert.h> |
# include <assert.h> |
5443 |
#endif |
#endif |
5444 |
Syntax error |
Syntax error |
5445 |
_ACEOF |
_ACEOF |
5446 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5447 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5453 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5454 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5455 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5456 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5457 |
else |
else |
5458 |
ac_cpp_err= |
ac_cpp_err= |
5459 |
fi |
fi |
5474 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5475 |
# can be detected and how. |
# can be detected and how. |
5476 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5477 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5478 |
_ACEOF |
_ACEOF |
5479 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5491 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5492 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5493 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5494 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5495 |
else |
else |
5496 |
ac_cpp_err= |
ac_cpp_err= |
5497 |
fi |
fi |
5538 |
# 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, |
5539 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5540 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5541 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5542 |
_ACEOF |
_ACEOF |
5543 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5548 |
#else |
#else |
5549 |
# include <assert.h> |
# include <assert.h> |
5550 |
#endif |
#endif |
5551 |
Syntax error |
Syntax error |
5552 |
_ACEOF |
_ACEOF |
5553 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5554 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5560 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5561 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5562 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5563 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5564 |
else |
else |
5565 |
ac_cpp_err= |
ac_cpp_err= |
5566 |
fi |
fi |
5581 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5582 |
# can be detected and how. |
# can be detected and how. |
5583 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5584 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5585 |
_ACEOF |
_ACEOF |
5586 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5598 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5599 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5600 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5601 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5602 |
else |
else |
5603 |
ac_cpp_err= |
ac_cpp_err= |
5604 |
fi |
fi |
5643 |
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' |
5644 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5645 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
5646 |
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 |
5647 |
do |
do |
5648 |
# 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. |
5649 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5685 |
fi |
fi |
5686 |
if test -z "$F77"; then |
if test -z "$F77"; then |
5687 |
ac_ct_F77=$F77 |
ac_ct_F77=$F77 |
5688 |
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 |
5689 |
do |
do |
5690 |
# 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. |
5691 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
5730 |
|
|
5731 |
|
|
5732 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
5733 |
echo "$as_me:4967:" \ |
echo "$as_me:5733:" \ |
5734 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
5735 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
5736 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5748 |
ac_status=$? |
ac_status=$? |
5749 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5750 |
(exit $ac_status); } |
(exit $ac_status); } |
5751 |
|
rm -f a.out |
5752 |
|
|
5753 |
# 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 |
5754 |
# input file. |
# input file. (Note that this only needs to work for GNU compilers.) |
5755 |
ac_save_ext=$ac_ext |
ac_save_ext=$ac_ext |
5756 |
ac_ext=F |
ac_ext=F |
5757 |
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 |
5769 |
_ACEOF |
_ACEOF |
5770 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5771 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5772 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5773 |
ac_status=$? |
ac_status=$? |
5774 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5775 |
|
rm -f conftest.er1 |
5776 |
|
cat conftest.err >&5 |
5777 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5778 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5779 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
5780 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5781 |
|
(eval $ac_try) 2>&5 |
5782 |
|
ac_status=$? |
5783 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5784 |
|
(exit $ac_status); }; } && |
5785 |
|
{ ac_try='test -s conftest.$ac_objext' |
5786 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5787 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5788 |
ac_status=$? |
ac_status=$? |
5795 |
|
|
5796 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
5797 |
fi |
fi |
5798 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5799 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
5800 |
|
|
5801 |
fi |
fi |
5802 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
5803 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
5804 |
ac_ext=$ac_save_ext |
ac_ext=$ac_save_ext |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
|
5805 |
ac_test_FFLAGS=${FFLAGS+set} |
ac_test_FFLAGS=${FFLAGS+set} |
5806 |
ac_save_FFLAGS=$FFLAGS |
ac_save_FFLAGS=$FFLAGS |
5807 |
FFLAGS= |
FFLAGS= |
5818 |
_ACEOF |
_ACEOF |
5819 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5820 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5821 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5822 |
ac_status=$? |
ac_status=$? |
5823 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5824 |
|
rm -f conftest.er1 |
5825 |
|
cat conftest.err >&5 |
5826 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5827 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5828 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
5829 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5830 |
|
(eval $ac_try) 2>&5 |
5831 |
|
ac_status=$? |
5832 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5833 |
|
(exit $ac_status); }; } && |
5834 |
|
{ ac_try='test -s conftest.$ac_objext' |
5835 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5836 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5837 |
ac_status=$? |
ac_status=$? |
5844 |
|
|
5845 |
ac_cv_prog_f77_g=no |
ac_cv_prog_f77_g=no |
5846 |
fi |
fi |
5847 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5848 |
|
|
5849 |
fi |
fi |
5850 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
5852 |
if test "$ac_test_FFLAGS" = set; then |
if test "$ac_test_FFLAGS" = set; then |
5853 |
FFLAGS=$ac_save_FFLAGS |
FFLAGS=$ac_save_FFLAGS |
5854 |
elif test $ac_cv_prog_f77_g = yes; then |
elif test $ac_cv_prog_f77_g = yes; then |
5855 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5856 |
FFLAGS="-g -O2" |
FFLAGS="-g -O2" |
5857 |
else |
else |
5858 |
FFLAGS="-g" |
FFLAGS="-g" |
5859 |
fi |
fi |
5860 |
else |
else |
5861 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5862 |
FFLAGS="-O2" |
FFLAGS="-O2" |
5863 |
else |
else |
5864 |
FFLAGS= |
FFLAGS= |
5865 |
fi |
fi |
5866 |
fi |
fi |
5867 |
|
|
5868 |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
5869 |
ac_ext=cc |
ac_ext=cc |
5870 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
5871 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6762 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6763 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6764 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6765 |
(eval echo "\"\$as_me:5979: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6765: $lt_compile\"" >&5) |
6766 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6767 |
ac_status=$? |
ac_status=$? |
6768 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6769 |
echo "$as_me:5983: \$? = $ac_status" >&5 |
echo "$as_me:6769: \$? = $ac_status" >&5 |
6770 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6771 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6772 |
# So say no if there are warnings |
# So say no if there are warnings |
6995 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6996 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6997 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6998 |
(eval echo "\"\$as_me:6212: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6998: $lt_compile\"" >&5) |
6999 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
7000 |
ac_status=$? |
ac_status=$? |
7001 |
cat conftest.err >&5 |
cat conftest.err >&5 |
7002 |
echo "$as_me:6216: \$? = $ac_status" >&5 |
echo "$as_me:7002: \$? = $ac_status" >&5 |
7003 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7004 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
7005 |
# So say no if there are warnings |
# So say no if there are warnings |
7062 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7063 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7064 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
7065 |
(eval echo "\"\$as_me:6279: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7065: $lt_compile\"" >&5) |
7066 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
7067 |
ac_status=$? |
ac_status=$? |
7068 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
7069 |
echo "$as_me:6283: \$? = $ac_status" >&5 |
echo "$as_me:7069: \$? = $ac_status" >&5 |
7070 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7071 |
then |
then |
7072 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
7430 |
allow_undefined_flag='-berok' |
allow_undefined_flag='-berok' |
7431 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7432 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7433 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7434 |
_ACEOF |
_ACEOF |
7435 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7446 |
_ACEOF |
_ACEOF |
7447 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7448 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7449 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7450 |
ac_status=$? |
ac_status=$? |
7451 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7452 |
|
rm -f conftest.er1 |
7453 |
|
cat conftest.err >&5 |
7454 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7455 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7456 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7457 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7458 |
|
(eval $ac_try) 2>&5 |
7459 |
|
ac_status=$? |
7460 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7461 |
|
(exit $ac_status); }; } && |
7462 |
|
{ ac_try='test -s conftest$ac_exeext' |
7463 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7464 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7465 |
ac_status=$? |
ac_status=$? |
7476 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7477 |
|
|
7478 |
fi |
fi |
7479 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7480 |
|
conftest$ac_exeext conftest.$ac_ext |
7481 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7482 |
|
|
7483 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7490 |
else |
else |
7491 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7492 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7493 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7494 |
_ACEOF |
_ACEOF |
7495 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7506 |
_ACEOF |
_ACEOF |
7507 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7508 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7509 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7510 |
ac_status=$? |
ac_status=$? |
7511 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7512 |
|
rm -f conftest.er1 |
7513 |
|
cat conftest.err >&5 |
7514 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7515 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7516 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7517 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7518 |
|
(eval $ac_try) 2>&5 |
7519 |
|
ac_status=$? |
7520 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7521 |
|
(exit $ac_status); }; } && |
7522 |
|
{ ac_try='test -s conftest$ac_exeext' |
7523 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7524 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7525 |
ac_status=$? |
ac_status=$? |
7536 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7537 |
|
|
7538 |
fi |
fi |
7539 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7540 |
|
conftest$ac_exeext conftest.$ac_ext |
7541 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7542 |
|
|
7543 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8390 |
# before this can be enabled. |
# before this can be enabled. |
8391 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
8392 |
|
|
8393 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
8394 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
8395 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
8396 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
8397 |
|
fi |
8398 |
|
|
8399 |
# 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 |
8400 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
8674 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8675 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
8676 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8677 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8678 |
_ACEOF |
_ACEOF |
8679 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8697 |
_ACEOF |
_ACEOF |
8698 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8699 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8700 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8701 |
ac_status=$? |
ac_status=$? |
8702 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8703 |
|
rm -f conftest.er1 |
8704 |
|
cat conftest.err >&5 |
8705 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8706 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8707 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8708 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8709 |
|
(eval $ac_try) 2>&5 |
8710 |
|
ac_status=$? |
8711 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8712 |
|
(exit $ac_status); }; } && |
8713 |
|
{ ac_try='test -s conftest$ac_exeext' |
8714 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8715 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8716 |
ac_status=$? |
ac_status=$? |
8723 |
|
|
8724 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
8725 |
fi |
fi |
8726 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8727 |
|
conftest$ac_exeext conftest.$ac_ext |
8728 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8729 |
fi |
fi |
8730 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8748 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8749 |
else |
else |
8750 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8751 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8752 |
_ACEOF |
_ACEOF |
8753 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8754 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
8755 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
8756 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
8757 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8758 |
|
#define shl_load innocuous_shl_load |
8759 |
|
|
8760 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8761 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
8762 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8763 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
8764 |
|
|
8765 |
#ifdef __STDC__ |
#ifdef __STDC__ |
8766 |
# include <limits.h> |
# include <limits.h> |
8767 |
#else |
#else |
8768 |
# include <assert.h> |
# include <assert.h> |
8769 |
#endif |
#endif |
8770 |
|
|
8771 |
|
#undef shl_load |
8772 |
|
|
8773 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8774 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8775 |
extern "C" |
extern "C" |
8800 |
_ACEOF |
_ACEOF |
8801 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8802 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8803 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8804 |
ac_status=$? |
ac_status=$? |
8805 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8806 |
|
rm -f conftest.er1 |
8807 |
|
cat conftest.err >&5 |
8808 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8809 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8810 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8811 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8812 |
|
(eval $ac_try) 2>&5 |
8813 |
|
ac_status=$? |
8814 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8815 |
|
(exit $ac_status); }; } && |
8816 |
|
{ ac_try='test -s conftest$ac_exeext' |
8817 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8818 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8819 |
ac_status=$? |
ac_status=$? |
8826 |
|
|
8827 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
8828 |
fi |
fi |
8829 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8830 |
|
conftest$ac_exeext conftest.$ac_ext |
8831 |
fi |
fi |
8832 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
8833 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
8842 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8843 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
8844 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8845 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8846 |
_ACEOF |
_ACEOF |
8847 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8865 |
_ACEOF |
_ACEOF |
8866 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8867 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8868 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8869 |
ac_status=$? |
ac_status=$? |
8870 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8871 |
|
rm -f conftest.er1 |
8872 |
|
cat conftest.err >&5 |
8873 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8874 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8875 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8876 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8877 |
|
(eval $ac_try) 2>&5 |
8878 |
|
ac_status=$? |
8879 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8880 |
|
(exit $ac_status); }; } && |
8881 |
|
{ ac_try='test -s conftest$ac_exeext' |
8882 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8883 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8884 |
ac_status=$? |
ac_status=$? |
8891 |
|
|
8892 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
8893 |
fi |
fi |
8894 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8895 |
|
conftest$ac_exeext conftest.$ac_ext |
8896 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8897 |
fi |
fi |
8898 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
8906 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8907 |
else |
else |
8908 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8909 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8910 |
_ACEOF |
_ACEOF |
8911 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8912 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
8913 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
8914 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
8915 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8916 |
|
#define dlopen innocuous_dlopen |
8917 |
|
|
8918 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8919 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
8920 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8921 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
8922 |
|
|
8923 |
#ifdef __STDC__ |
#ifdef __STDC__ |
8924 |
# include <limits.h> |
# include <limits.h> |
8925 |
#else |
#else |
8926 |
# include <assert.h> |
# include <assert.h> |
8927 |
#endif |
#endif |
8928 |
|
|
8929 |
|
#undef dlopen |
8930 |
|
|
8931 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8932 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8933 |
extern "C" |
extern "C" |
8958 |
_ACEOF |
_ACEOF |
8959 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8960 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8961 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8962 |
ac_status=$? |
ac_status=$? |
8963 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8964 |
|
rm -f conftest.er1 |
8965 |
|
cat conftest.err >&5 |
8966 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8967 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8968 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8969 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8970 |
|
(eval $ac_try) 2>&5 |
8971 |
|
ac_status=$? |
8972 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8973 |
|
(exit $ac_status); }; } && |
8974 |
|
{ ac_try='test -s conftest$ac_exeext' |
8975 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8976 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8977 |
ac_status=$? |
ac_status=$? |
8984 |
|
|
8985 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
8986 |
fi |
fi |
8987 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8988 |
|
conftest$ac_exeext conftest.$ac_ext |
8989 |
fi |
fi |
8990 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
8991 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9000 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
9001 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
9002 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9003 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9004 |
_ACEOF |
_ACEOF |
9005 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9023 |
_ACEOF |
_ACEOF |
9024 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9025 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9026 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9027 |
ac_status=$? |
ac_status=$? |
9028 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9029 |
|
rm -f conftest.er1 |
9030 |
|
cat conftest.err >&5 |
9031 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9032 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9033 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9034 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9035 |
|
(eval $ac_try) 2>&5 |
9036 |
|
ac_status=$? |
9037 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9038 |
|
(exit $ac_status); }; } && |
9039 |
|
{ ac_try='test -s conftest$ac_exeext' |
9040 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9041 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9042 |
ac_status=$? |
ac_status=$? |
9049 |
|
|
9050 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
9051 |
fi |
fi |
9052 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9053 |
|
conftest$ac_exeext conftest.$ac_ext |
9054 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
9055 |
fi |
fi |
9056 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9066 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
9067 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
9068 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9069 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9070 |
_ACEOF |
_ACEOF |
9071 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9089 |
_ACEOF |
_ACEOF |
9090 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9091 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9092 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9093 |
ac_status=$? |
ac_status=$? |
9094 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9095 |
|
rm -f conftest.er1 |
9096 |
|
cat conftest.err >&5 |
9097 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9098 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9099 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9100 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9101 |
|
(eval $ac_try) 2>&5 |
9102 |
|
ac_status=$? |
9103 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9104 |
|
(exit $ac_status); }; } && |
9105 |
|
{ ac_try='test -s conftest$ac_exeext' |
9106 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9107 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9108 |
ac_status=$? |
ac_status=$? |
9115 |
|
|
9116 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
9117 |
fi |
fi |
9118 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9119 |
|
conftest$ac_exeext conftest.$ac_ext |
9120 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
9121 |
fi |
fi |
9122 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
9132 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
9133 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
9134 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9135 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9136 |
_ACEOF |
_ACEOF |
9137 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9155 |
_ACEOF |
_ACEOF |
9156 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9157 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9158 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9159 |
ac_status=$? |
ac_status=$? |
9160 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9161 |
|
rm -f conftest.er1 |
9162 |
|
cat conftest.err >&5 |
9163 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9164 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9165 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9166 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9167 |
|
(eval $ac_try) 2>&5 |
9168 |
|
ac_status=$? |
9169 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9170 |
|
(exit $ac_status); }; } && |
9171 |
|
{ ac_try='test -s conftest$ac_exeext' |
9172 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9173 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9174 |
ac_status=$? |
ac_status=$? |
9181 |
|
|
9182 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
9183 |
fi |
fi |
9184 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9185 |
|
conftest$ac_exeext conftest.$ac_ext |
9186 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
9187 |
fi |
fi |
9188 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
9237 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9238 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9239 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9240 |
#line 8354 "configure" |
#line 9240 "configure" |
9241 |
#include "confdefs.h" |
#include "confdefs.h" |
9242 |
|
|
9243 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9335 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9336 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9337 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9338 |
#line 8452 "configure" |
#line 9338 "configure" |
9339 |
#include "confdefs.h" |
#include "confdefs.h" |
9340 |
|
|
9341 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
10384 |
allow_undefined_flag_CXX='-berok' |
allow_undefined_flag_CXX='-berok' |
10385 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
10386 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
10387 |
/* confdefs.h. */ |
/* confdefs.h. */ |
10388 |
_ACEOF |
_ACEOF |
10389 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
10400 |
_ACEOF |
_ACEOF |
10401 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
10402 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10403 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
10404 |
ac_status=$? |
ac_status=$? |
10405 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10406 |
|
rm -f conftest.er1 |
10407 |
|
cat conftest.err >&5 |
10408 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10409 |
(exit $ac_status); } && |
(exit $ac_status); } && |
10410 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10411 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10412 |
|
(eval $ac_try) 2>&5 |
10413 |
|
ac_status=$? |
10414 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10415 |
|
(exit $ac_status); }; } && |
10416 |
|
{ ac_try='test -s conftest$ac_exeext' |
10417 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10418 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
10419 |
ac_status=$? |
ac_status=$? |
10430 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10431 |
|
|
10432 |
fi |
fi |
10433 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10434 |
|
conftest$ac_exeext conftest.$ac_ext |
10435 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10436 |
|
|
10437 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10445 |
else |
else |
10446 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
10447 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
10448 |
/* confdefs.h. */ |
/* confdefs.h. */ |
10449 |
_ACEOF |
_ACEOF |
10450 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
10461 |
_ACEOF |
_ACEOF |
10462 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
10463 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10464 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
10465 |
ac_status=$? |
ac_status=$? |
10466 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10467 |
|
rm -f conftest.er1 |
10468 |
|
cat conftest.err >&5 |
10469 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10470 |
(exit $ac_status); } && |
(exit $ac_status); } && |
10471 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10472 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10473 |
|
(eval $ac_try) 2>&5 |
10474 |
|
ac_status=$? |
10475 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10476 |
|
(exit $ac_status); }; } && |
10477 |
|
{ ac_try='test -s conftest$ac_exeext' |
10478 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10479 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
10480 |
ac_status=$? |
ac_status=$? |
10491 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10492 |
|
|
10493 |
fi |
fi |
10494 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10495 |
|
conftest$ac_exeext conftest.$ac_ext |
10496 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10497 |
|
|
10498 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
11512 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11513 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11514 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11515 |
(eval echo "\"\$as_me:10611: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11515: $lt_compile\"" >&5) |
11516 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
11517 |
ac_status=$? |
ac_status=$? |
11518 |
cat conftest.err >&5 |
cat conftest.err >&5 |
11519 |
echo "$as_me:10615: \$? = $ac_status" >&5 |
echo "$as_me:11519: \$? = $ac_status" >&5 |
11520 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11521 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11522 |
# So say no if there are warnings |
# So say no if there are warnings |
11579 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11580 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11581 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11582 |
(eval echo "\"\$as_me:10678: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11582: $lt_compile\"" >&5) |
11583 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
11584 |
ac_status=$? |
ac_status=$? |
11585 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
11586 |
echo "$as_me:10682: \$? = $ac_status" >&5 |
echo "$as_me:11586: \$? = $ac_status" >&5 |
11587 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11588 |
then |
then |
11589 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
12086 |
# before this can be enabled. |
# before this can be enabled. |
12087 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
12088 |
|
|
12089 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
12090 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
12091 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
12092 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
12093 |
|
fi |
12094 |
|
|
12095 |
# 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 |
12096 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
12370 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12371 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
12372 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12373 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12374 |
_ACEOF |
_ACEOF |
12375 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12393 |
_ACEOF |
_ACEOF |
12394 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12395 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12396 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12397 |
ac_status=$? |
ac_status=$? |
12398 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12399 |
|
rm -f conftest.er1 |
12400 |
|
cat conftest.err >&5 |
12401 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12402 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12403 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12404 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12405 |
|
(eval $ac_try) 2>&5 |
12406 |
|
ac_status=$? |
12407 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12408 |
|
(exit $ac_status); }; } && |
12409 |
|
{ ac_try='test -s conftest$ac_exeext' |
12410 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12411 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12412 |
ac_status=$? |
ac_status=$? |
12419 |
|
|
12420 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
12421 |
fi |
fi |
12422 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12423 |
|
conftest$ac_exeext conftest.$ac_ext |
12424 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12425 |
fi |
fi |
12426 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12444 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12445 |
else |
else |
12446 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12447 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12448 |
_ACEOF |
_ACEOF |
12449 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12450 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12451 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12452 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
12453 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12454 |
|
#define shl_load innocuous_shl_load |
12455 |
|
|
12456 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12457 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
12458 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12459 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12460 |
|
|
12461 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12462 |
# include <limits.h> |
# include <limits.h> |
12463 |
#else |
#else |
12464 |
# include <assert.h> |
# include <assert.h> |
12465 |
#endif |
#endif |
12466 |
|
|
12467 |
|
#undef shl_load |
12468 |
|
|
12469 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12470 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12471 |
extern "C" |
extern "C" |
12496 |
_ACEOF |
_ACEOF |
12497 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12498 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12499 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12500 |
ac_status=$? |
ac_status=$? |
12501 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12502 |
|
rm -f conftest.er1 |
12503 |
|
cat conftest.err >&5 |
12504 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12505 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12506 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12507 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12508 |
|
(eval $ac_try) 2>&5 |
12509 |
|
ac_status=$? |
12510 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12511 |
|
(exit $ac_status); }; } && |
12512 |
|
{ ac_try='test -s conftest$ac_exeext' |
12513 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12514 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12515 |
ac_status=$? |
ac_status=$? |
12522 |
|
|
12523 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
12524 |
fi |
fi |
12525 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12526 |
|
conftest$ac_exeext conftest.$ac_ext |
12527 |
fi |
fi |
12528 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12529 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
12538 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12539 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12540 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12541 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12542 |
_ACEOF |
_ACEOF |
12543 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12561 |
_ACEOF |
_ACEOF |
12562 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12563 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12564 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12565 |
ac_status=$? |
ac_status=$? |
12566 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12567 |
|
rm -f conftest.er1 |
12568 |
|
cat conftest.err >&5 |
12569 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12570 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12571 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12572 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12573 |
|
(eval $ac_try) 2>&5 |
12574 |
|
ac_status=$? |
12575 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12576 |
|
(exit $ac_status); }; } && |
12577 |
|
{ ac_try='test -s conftest$ac_exeext' |
12578 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12579 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12580 |
ac_status=$? |
ac_status=$? |
12587 |
|
|
12588 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
12589 |
fi |
fi |
12590 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12591 |
|
conftest$ac_exeext conftest.$ac_ext |
12592 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12593 |
fi |
fi |
12594 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
12602 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12603 |
else |
else |
12604 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12605 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12606 |
_ACEOF |
_ACEOF |
12607 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12608 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12609 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12610 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
12611 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12612 |
|
#define dlopen innocuous_dlopen |
12613 |
|
|
12614 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12615 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
12616 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12617 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12618 |
|
|
12619 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12620 |
# include <limits.h> |
# include <limits.h> |
12621 |
#else |
#else |
12622 |
# include <assert.h> |
# include <assert.h> |
12623 |
#endif |
#endif |
12624 |
|
|
12625 |
|
#undef dlopen |
12626 |
|
|
12627 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12628 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12629 |
extern "C" |
extern "C" |
12654 |
_ACEOF |
_ACEOF |
12655 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12656 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12657 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12658 |
ac_status=$? |
ac_status=$? |
12659 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12660 |
|
rm -f conftest.er1 |
12661 |
|
cat conftest.err >&5 |
12662 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12663 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12664 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12665 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12666 |
|
(eval $ac_try) 2>&5 |
12667 |
|
ac_status=$? |
12668 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12669 |
|
(exit $ac_status); }; } && |
12670 |
|
{ ac_try='test -s conftest$ac_exeext' |
12671 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12672 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12673 |
ac_status=$? |
ac_status=$? |
12680 |
|
|
12681 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
12682 |
fi |
fi |
12683 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12684 |
|
conftest$ac_exeext conftest.$ac_ext |
12685 |
fi |
fi |
12686 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
12687 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
12696 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12697 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
12698 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12699 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12700 |
_ACEOF |
_ACEOF |
12701 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12719 |
_ACEOF |
_ACEOF |
12720 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12721 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12722 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12723 |
ac_status=$? |
ac_status=$? |
12724 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12725 |
|
rm -f conftest.er1 |
12726 |
|
cat conftest.err >&5 |
12727 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12728 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12729 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12730 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12731 |
|
(eval $ac_try) 2>&5 |
12732 |
|
ac_status=$? |
12733 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12734 |
|
(exit $ac_status); }; } && |
12735 |
|
{ ac_try='test -s conftest$ac_exeext' |
12736 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12737 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12738 |
ac_status=$? |
ac_status=$? |
12745 |
|
|
12746 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
12747 |
fi |
fi |
12748 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12749 |
|
conftest$ac_exeext conftest.$ac_ext |
12750 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12751 |
fi |
fi |
12752 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12762 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12763 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
12764 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12765 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12766 |
_ACEOF |
_ACEOF |
12767 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12785 |
_ACEOF |
_ACEOF |
12786 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12787 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12788 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12789 |
ac_status=$? |
ac_status=$? |
12790 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12791 |
|
rm -f conftest.er1 |
12792 |
|
cat conftest.err >&5 |
12793 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12794 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12795 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12796 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12797 |
|
(eval $ac_try) 2>&5 |
12798 |
|
ac_status=$? |
12799 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12800 |
|
(exit $ac_status); }; } && |
12801 |
|
{ ac_try='test -s conftest$ac_exeext' |
12802 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12803 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12804 |
ac_status=$? |
ac_status=$? |
12811 |
|
|
12812 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
12813 |
fi |
fi |
12814 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12815 |
|
conftest$ac_exeext conftest.$ac_ext |
12816 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12817 |
fi |
fi |
12818 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
12828 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12829 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12830 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12831 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12832 |
_ACEOF |
_ACEOF |
12833 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12851 |
_ACEOF |
_ACEOF |
12852 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12853 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12854 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12855 |
ac_status=$? |
ac_status=$? |
12856 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12857 |
|
rm -f conftest.er1 |
12858 |
|
cat conftest.err >&5 |
12859 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12860 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12861 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12862 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12863 |
|
(eval $ac_try) 2>&5 |
12864 |
|
ac_status=$? |
12865 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12866 |
|
(exit $ac_status); }; } && |
12867 |
|
{ ac_try='test -s conftest$ac_exeext' |
12868 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12869 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12870 |
ac_status=$? |
ac_status=$? |
12877 |
|
|
12878 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
12879 |
fi |
fi |
12880 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12881 |
|
conftest$ac_exeext conftest.$ac_ext |
12882 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12883 |
fi |
fi |
12884 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
12933 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12934 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12935 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12936 |
#line 11950 "configure" |
#line 12936 "configure" |
12937 |
#include "confdefs.h" |
#include "confdefs.h" |
12938 |
|
|
12939 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13031 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13032 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
13033 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
13034 |
#line 12048 "configure" |
#line 13034 "configure" |
13035 |
#include "confdefs.h" |
#include "confdefs.h" |
13036 |
|
|
13037 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13858 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13859 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13860 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13861 |
(eval echo "\"\$as_me:12875: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13861: $lt_compile\"" >&5) |
13862 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13863 |
ac_status=$? |
ac_status=$? |
13864 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13865 |
echo "$as_me:12879: \$? = $ac_status" >&5 |
echo "$as_me:13865: \$? = $ac_status" >&5 |
13866 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13867 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13868 |
# So say no if there are warnings |
# So say no if there are warnings |
13925 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13926 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13927 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13928 |
(eval echo "\"\$as_me:12942: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13928: $lt_compile\"" >&5) |
13929 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
13930 |
ac_status=$? |
ac_status=$? |
13931 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
13932 |
echo "$as_me:12946: \$? = $ac_status" >&5 |
echo "$as_me:13932: \$? = $ac_status" >&5 |
13933 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13934 |
then |
then |
13935 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
14299 |
_ACEOF |
_ACEOF |
14300 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
14301 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14302 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
14303 |
ac_status=$? |
ac_status=$? |
14304 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
14305 |
|
rm -f conftest.er1 |
14306 |
|
cat conftest.err >&5 |
14307 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14308 |
(exit $ac_status); } && |
(exit $ac_status); } && |
14309 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
14310 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14311 |
|
(eval $ac_try) 2>&5 |
14312 |
|
ac_status=$? |
14313 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14314 |
|
(exit $ac_status); }; } && |
14315 |
|
{ ac_try='test -s conftest$ac_exeext' |
14316 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14317 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
14318 |
ac_status=$? |
ac_status=$? |
14329 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14330 |
|
|
14331 |
fi |
fi |
14332 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
14333 |
|
conftest$ac_exeext conftest.$ac_ext |
14334 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14335 |
|
|
14336 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
14349 |
_ACEOF |
_ACEOF |
14350 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
14351 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14352 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
14353 |
ac_status=$? |
ac_status=$? |
14354 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
14355 |
|
rm -f conftest.er1 |
14356 |
|
cat conftest.err >&5 |
14357 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14358 |
(exit $ac_status); } && |
(exit $ac_status); } && |
14359 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
14360 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14361 |
|
(eval $ac_try) 2>&5 |
14362 |
|
ac_status=$? |
14363 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14364 |
|
(exit $ac_status); }; } && |
14365 |
|
{ ac_try='test -s conftest$ac_exeext' |
14366 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14367 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
14368 |
ac_status=$? |
ac_status=$? |
14379 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14380 |
|
|
14381 |
fi |
fi |
14382 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
14383 |
|
conftest$ac_exeext conftest.$ac_ext |
14384 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14385 |
|
|
14386 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
15233 |
# before this can be enabled. |
# before this can be enabled. |
15234 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
15235 |
|
|
15236 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
15237 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
15238 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
15239 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
15240 |
|
fi |
15241 |
|
|
15242 |
# 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 |
15243 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
15957 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15958 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15959 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15960 |
(eval echo "\"\$as_me:14951: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15960: $lt_compile\"" >&5) |
15961 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15962 |
ac_status=$? |
ac_status=$? |
15963 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15964 |
echo "$as_me:14955: \$? = $ac_status" >&5 |
echo "$as_me:15964: \$? = $ac_status" >&5 |
15965 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15966 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15967 |
# So say no if there are warnings |
# So say no if there are warnings |
16190 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16191 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16192 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16193 |
(eval echo "\"\$as_me:15184: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16193: $lt_compile\"" >&5) |
16194 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
16195 |
ac_status=$? |
ac_status=$? |
16196 |
cat conftest.err >&5 |
cat conftest.err >&5 |
16197 |
echo "$as_me:15188: \$? = $ac_status" >&5 |
echo "$as_me:16197: \$? = $ac_status" >&5 |
16198 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16199 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16200 |
# So say no if there are warnings |
# So say no if there are warnings |
16257 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16258 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16259 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16260 |
(eval echo "\"\$as_me:15251: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16260: $lt_compile\"" >&5) |
16261 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
16262 |
ac_status=$? |
ac_status=$? |
16263 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
16264 |
echo "$as_me:15255: \$? = $ac_status" >&5 |
echo "$as_me:16264: \$? = $ac_status" >&5 |
16265 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16266 |
then |
then |
16267 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16625 |
allow_undefined_flag_GCJ='-berok' |
allow_undefined_flag_GCJ='-berok' |
16626 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16627 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16628 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16629 |
_ACEOF |
_ACEOF |
16630 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16641 |
_ACEOF |
_ACEOF |
16642 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16643 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16644 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16645 |
ac_status=$? |
ac_status=$? |
16646 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16647 |
|
rm -f conftest.er1 |
16648 |
|
cat conftest.err >&5 |
16649 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16650 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16651 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
16652 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16653 |
|
(eval $ac_try) 2>&5 |
16654 |
|
ac_status=$? |
16655 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16656 |
|
(exit $ac_status); }; } && |
16657 |
|
{ ac_try='test -s conftest$ac_exeext' |
16658 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16659 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16660 |
ac_status=$? |
ac_status=$? |
16671 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16672 |
|
|
16673 |
fi |
fi |
16674 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16675 |
|
conftest$ac_exeext conftest.$ac_ext |
16676 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16677 |
|
|
16678 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16685 |
else |
else |
16686 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16687 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16688 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16689 |
_ACEOF |
_ACEOF |
16690 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16701 |
_ACEOF |
_ACEOF |
16702 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16703 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16704 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16705 |
ac_status=$? |
ac_status=$? |
16706 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16707 |
|
rm -f conftest.er1 |
16708 |
|
cat conftest.err >&5 |
16709 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16710 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16711 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
16712 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16713 |
|
(eval $ac_try) 2>&5 |
16714 |
|
ac_status=$? |
16715 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16716 |
|
(exit $ac_status); }; } && |
16717 |
|
{ ac_try='test -s conftest$ac_exeext' |
16718 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16719 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16720 |
ac_status=$? |
ac_status=$? |
16731 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16732 |
|
|
16733 |
fi |
fi |
16734 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16735 |
|
conftest$ac_exeext conftest.$ac_ext |
16736 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16737 |
|
|
16738 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
17585 |
# before this can be enabled. |
# before this can be enabled. |
17586 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17587 |
|
|
17588 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
17589 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
17590 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
17591 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
17592 |
|
fi |
17593 |
|
|
17594 |
# 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 |
17595 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
17869 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17870 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
17871 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17872 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17873 |
_ACEOF |
_ACEOF |
17874 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17892 |
_ACEOF |
_ACEOF |
17893 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17894 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17895 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17896 |
ac_status=$? |
ac_status=$? |
17897 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17898 |
|
rm -f conftest.er1 |
17899 |
|
cat conftest.err >&5 |
17900 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17901 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17902 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
17903 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17904 |
|
(eval $ac_try) 2>&5 |
17905 |
|
ac_status=$? |
17906 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17907 |
|
(exit $ac_status); }; } && |
17908 |
|
{ ac_try='test -s conftest$ac_exeext' |
17909 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17910 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17911 |
ac_status=$? |
ac_status=$? |
17918 |
|
|
17919 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
17920 |
fi |
fi |
17921 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17922 |
|
conftest$ac_exeext conftest.$ac_ext |
17923 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17924 |
fi |
fi |
17925 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
17943 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17944 |
else |
else |
17945 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17946 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17947 |
_ACEOF |
_ACEOF |
17948 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17949 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
17950 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
17951 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
17952 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
17953 |
|
#define shl_load innocuous_shl_load |
17954 |
|
|
17955 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
17956 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
17957 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
17958 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
17959 |
|
|
17960 |
#ifdef __STDC__ |
#ifdef __STDC__ |
17961 |
# include <limits.h> |
# include <limits.h> |
17962 |
#else |
#else |
17963 |
# include <assert.h> |
# include <assert.h> |
17964 |
#endif |
#endif |
17965 |
|
|
17966 |
|
#undef shl_load |
17967 |
|
|
17968 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
17969 |
#ifdef __cplusplus |
#ifdef __cplusplus |
17970 |
extern "C" |
extern "C" |
17995 |
_ACEOF |
_ACEOF |
17996 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17997 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17998 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17999 |
ac_status=$? |
ac_status=$? |
18000 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18001 |
|
rm -f conftest.er1 |
18002 |
|
cat conftest.err >&5 |
18003 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18004 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18005 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18006 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18007 |
|
(eval $ac_try) 2>&5 |
18008 |
|
ac_status=$? |
18009 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18010 |
|
(exit $ac_status); }; } && |
18011 |
|
{ ac_try='test -s conftest$ac_exeext' |
18012 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18013 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18014 |
ac_status=$? |
ac_status=$? |
18021 |
|
|
18022 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
18023 |
fi |
fi |
18024 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18025 |
|
conftest$ac_exeext conftest.$ac_ext |
18026 |
fi |
fi |
18027 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
18028 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
18037 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18038 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
18039 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18040 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18041 |
_ACEOF |
_ACEOF |
18042 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18060 |
_ACEOF |
_ACEOF |
18061 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18062 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18063 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18064 |
ac_status=$? |
ac_status=$? |
18065 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18066 |
|
rm -f conftest.er1 |
18067 |
|
cat conftest.err >&5 |
18068 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18069 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18070 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18071 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18072 |
|
(eval $ac_try) 2>&5 |
18073 |
|
ac_status=$? |
18074 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18075 |
|
(exit $ac_status); }; } && |
18076 |
|
{ ac_try='test -s conftest$ac_exeext' |
18077 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18078 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18079 |
ac_status=$? |
ac_status=$? |
18086 |
|
|
18087 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
18088 |
fi |
fi |
18089 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18090 |
|
conftest$ac_exeext conftest.$ac_ext |
18091 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18092 |
fi |
fi |
18093 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
18101 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
18102 |
else |
else |
18103 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18104 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18105 |
_ACEOF |
_ACEOF |
18106 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18107 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
18108 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
18109 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
18110 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
18111 |
|
#define dlopen innocuous_dlopen |
18112 |
|
|
18113 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
18114 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
18115 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
18116 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
18117 |
|
|
18118 |
#ifdef __STDC__ |
#ifdef __STDC__ |
18119 |
# include <limits.h> |
# include <limits.h> |
18120 |
#else |
#else |
18121 |
# include <assert.h> |
# include <assert.h> |
18122 |
#endif |
#endif |
18123 |
|
|
18124 |
|
#undef dlopen |
18125 |
|
|
18126 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
18127 |
#ifdef __cplusplus |
#ifdef __cplusplus |
18128 |
extern "C" |
extern "C" |
18153 |
_ACEOF |
_ACEOF |
18154 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18155 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18156 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18157 |
ac_status=$? |
ac_status=$? |
18158 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18159 |
|
rm -f conftest.er1 |
18160 |
|
cat conftest.err >&5 |
18161 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18162 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18163 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18164 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18165 |
|
(eval $ac_try) 2>&5 |
18166 |
|
ac_status=$? |
18167 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18168 |
|
(exit $ac_status); }; } && |
18169 |
|
{ ac_try='test -s conftest$ac_exeext' |
18170 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18171 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18172 |
ac_status=$? |
ac_status=$? |
18179 |
|
|
18180 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
18181 |
fi |
fi |
18182 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18183 |
|
conftest$ac_exeext conftest.$ac_ext |
18184 |
fi |
fi |
18185 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
18186 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
18195 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18196 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
18197 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18198 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18199 |
_ACEOF |
_ACEOF |
18200 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18218 |
_ACEOF |
_ACEOF |
18219 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18220 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18221 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18222 |
ac_status=$? |
ac_status=$? |
18223 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18224 |
|
rm -f conftest.er1 |
18225 |
|
cat conftest.err >&5 |
18226 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18227 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18228 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18229 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18230 |
|
(eval $ac_try) 2>&5 |
18231 |
|
ac_status=$? |
18232 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18233 |
|
(exit $ac_status); }; } && |
18234 |
|
{ ac_try='test -s conftest$ac_exeext' |
18235 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18236 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18237 |
ac_status=$? |
ac_status=$? |
18244 |
|
|
18245 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
18246 |
fi |
fi |
18247 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18248 |
|
conftest$ac_exeext conftest.$ac_ext |
18249 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18250 |
fi |
fi |
18251 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
18261 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18262 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
18263 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18264 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18265 |
_ACEOF |
_ACEOF |
18266 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18284 |
_ACEOF |
_ACEOF |
18285 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18286 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18287 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18288 |
ac_status=$? |
ac_status=$? |
18289 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18290 |
|
rm -f conftest.er1 |
18291 |
|
cat conftest.err >&5 |
18292 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18293 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18294 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18295 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18296 |
|
(eval $ac_try) 2>&5 |
18297 |
|
ac_status=$? |
18298 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18299 |
|
(exit $ac_status); }; } && |
18300 |
|
{ ac_try='test -s conftest$ac_exeext' |
18301 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18302 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18303 |
ac_status=$? |
ac_status=$? |
18310 |
|
|
18311 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
18312 |
fi |
fi |
18313 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18314 |
|
conftest$ac_exeext conftest.$ac_ext |
18315 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18316 |
fi |
fi |
18317 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
18327 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18328 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
18329 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18330 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18331 |
_ACEOF |
_ACEOF |
18332 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18350 |
_ACEOF |
_ACEOF |
18351 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18352 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18353 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18354 |
ac_status=$? |
ac_status=$? |
18355 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18356 |
|
rm -f conftest.er1 |
18357 |
|
cat conftest.err >&5 |
18358 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18359 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18360 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18361 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18362 |
|
(eval $ac_try) 2>&5 |
18363 |
|
ac_status=$? |
18364 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18365 |
|
(exit $ac_status); }; } && |
18366 |
|
{ ac_try='test -s conftest$ac_exeext' |
18367 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18368 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18369 |
ac_status=$? |
ac_status=$? |
18376 |
|
|
18377 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
18378 |
fi |
fi |
18379 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18380 |
|
conftest$ac_exeext conftest.$ac_ext |
18381 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18382 |
fi |
fi |
18383 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
18432 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18433 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18434 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18435 |
#line 17326 "configure" |
#line 18435 "configure" |
18436 |
#include "confdefs.h" |
#include "confdefs.h" |
18437 |
|
|
18438 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18530 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18531 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18532 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18533 |
#line 17424 "configure" |
#line 18533 "configure" |
18534 |
#include "confdefs.h" |
#include "confdefs.h" |
18535 |
|
|
18536 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
19574 |
# `set' does not quote correctly, so add quotes (double-quote |
# `set' does not quote correctly, so add quotes (double-quote |
19575 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
19576 |
sed -n \ |
sed -n \ |
19577 |
"s/'/'\\\\''/g; |
"s/'/'\\\\''/g; |
19578 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
19579 |
;; |
;; |
19580 |
*) |
*) |
19581 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
19582 |
sed -n \ |
sed -n \ |
19583 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
19584 |
;; |
;; |
19585 |
esac; |
esac; |
19586 |
} | |
} | |
19610 |
# trailing colons and then remove the whole line if VPATH becomes empty |
# trailing colons and then remove the whole line if VPATH becomes empty |
19611 |
# (actually we leave an empty line to preserve line numbers). |
# (actually we leave an empty line to preserve line numbers). |
19612 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
19613 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
19614 |
s/:*\$(srcdir):*/:/; |
s/:*\$(srcdir):*/:/; |
19615 |
s/:*\${srcdir}:*/:/; |
s/:*\${srcdir}:*/:/; |
19616 |
s/:*@srcdir@:*/:/; |
s/:*@srcdir@:*/:/; |
19617 |
s/^\([^=]*=[ ]*\):*/\1/; |
s/^\([^=]*=[ ]*\):*/\1/; |
19618 |
s/:*$//; |
s/:*$//; |
19619 |
s/^[^=]*=[ ]*$//; |
s/^[^=]*=[ ]*$//; |
19620 |
}' |
}' |
19621 |
fi |
fi |
19622 |
|
|
19627 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
19628 |
# 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
19629 |
ac_i=`echo "$ac_i" | |
ac_i=`echo "$ac_i" | |
19630 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
19631 |
# 2. Add them. |
# 2. Add them. |
19632 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
19633 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
19678 |
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 |
19679 |
set -o posix |
set -o posix |
19680 |
fi |
fi |
19681 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
19682 |
|
|
19683 |
# Support unset when possible. |
# Support unset when possible. |
19684 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
19685 |
as_unset=unset |
as_unset=unset |
19686 |
else |
else |
19687 |
as_unset=false |
as_unset=false |
19700 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
19701 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
19702 |
do |
do |
19703 |
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 |
19704 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
19705 |
else |
else |
19706 |
$as_unset $as_var |
$as_unset $as_var |
19879 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
19880 |
as_mkdir_p=: |
as_mkdir_p=: |
19881 |
else |
else |
19882 |
|
test -d ./-p && rmdir ./-p |
19883 |
as_mkdir_p=false |
as_mkdir_p=false |
19884 |
fi |
fi |
19885 |
|
|
19886 |
as_executable_p="test -f" |
as_executable_p="test -f" |
19887 |
|
|
19888 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
19889 |
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'" |
19890 |
|
|
19891 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
19892 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
19893 |
|
|
19894 |
|
|
19895 |
# IFS |
# IFS |
19916 |
cat >&5 <<_CSEOF |
cat >&5 <<_CSEOF |
19917 |
|
|
19918 |
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
19919 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.58. Invocation command line was |
19920 |
|
|
19921 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
19922 |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
19960 |
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
19961 |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
19962 |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
19963 |
instantiate the configuration file FILE |
instantiate the configuration file FILE |
19964 |
--header=FILE[:TEMPLATE] |
--header=FILE[:TEMPLATE] |
19965 |
instantiate the configuration header FILE |
instantiate the configuration header FILE |
19966 |
|
|
19967 |
Configuration files: |
Configuration files: |
19968 |
$config_files |
$config_files |
19979 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
19980 |
ac_cs_version="\\ |
ac_cs_version="\\ |
19981 |
config.status |
config.status |
19982 |
configured by $0, generated by GNU Autoconf 2.57, |
configured by $0, generated by GNU Autoconf 2.58, |
19983 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
19984 |
|
|
19985 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
19986 |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
19987 |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
19988 |
srcdir=$srcdir |
srcdir=$srcdir |
20177 |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
20178 |
s,@ECHO_T@,$ECHO_T,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
20179 |
s,@LIBS@,$LIBS,;t t |
s,@LIBS@,$LIBS,;t t |
20180 |
|
s,@CC@,$CC,;t t |
20181 |
|
s,@CFLAGS@,$CFLAGS,;t t |
20182 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
20183 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
20184 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
20185 |
|
s,@EXEEXT@,$EXEEXT,;t t |
20186 |
|
s,@OBJEXT@,$OBJEXT,;t t |
20187 |
s,@build@,$build,;t t |
s,@build@,$build,;t t |
20188 |
s,@build_cpu@,$build_cpu,;t t |
s,@build_cpu@,$build_cpu,;t t |
20189 |
s,@build_vendor@,$build_vendor,;t t |
s,@build_vendor@,$build_vendor,;t t |
20196 |
s,@target_cpu@,$target_cpu,;t t |
s,@target_cpu@,$target_cpu,;t t |
20197 |
s,@target_vendor@,$target_vendor,;t t |
s,@target_vendor@,$target_vendor,;t t |
20198 |
s,@target_os@,$target_os,;t t |
s,@target_os@,$target_os,;t t |
20199 |
|
s,@CPP@,$CPP,;t t |
20200 |
|
s,@EGREP@,$EGREP,;t t |
20201 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
20202 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
20203 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
20215 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
20216 |
s,@AWK@,$AWK,;t t |
s,@AWK@,$AWK,;t t |
20217 |
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 |
|
20218 |
s,@DEPDIR@,$DEPDIR,;t t |
s,@DEPDIR@,$DEPDIR,;t t |
20219 |
s,@am__include@,$am__include,;t t |
s,@am__include@,$am__include,;t t |
20220 |
s,@am__quote@,$am__quote,;t t |
s,@am__quote@,$am__quote,;t t |
20221 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
20222 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
20223 |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
|
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
|
|
s,@CC@,$CC,;t t |
|
|
s,@CFLAGS@,$CFLAGS,;t t |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
20224 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
20225 |
s,@EGREP@,$EGREP,;t t |
s,@CXX@,$CXX,;t t |
20226 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
20227 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
20228 |
|
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
20229 |
s,@LN_S@,$LN_S,;t t |
s,@LN_S@,$LN_S,;t t |
20230 |
s,@ECHO@,$ECHO,;t t |
s,@ECHO@,$ECHO,;t t |
20231 |
s,@AR@,$AR,;t t |
s,@AR@,$AR,;t t |
20232 |
s,@ac_ct_AR@,$ac_ct_AR,;t t |
s,@ac_ct_AR@,$ac_ct_AR,;t t |
20233 |
s,@RANLIB@,$RANLIB,;t t |
s,@RANLIB@,$RANLIB,;t t |
20234 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
s,@CPP@,$CPP,;t t |
|
20235 |
s,@CXXCPP@,$CXXCPP,;t t |
s,@CXXCPP@,$CXXCPP,;t t |
20236 |
s,@F77@,$F77,;t t |
s,@F77@,$F77,;t t |
20237 |
s,@FFLAGS@,$FFLAGS,;t t |
s,@FFLAGS@,$FFLAGS,;t t |
20268 |
(echo ':t |
(echo ':t |
20269 |
/@[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 |
20270 |
if test -z "$ac_sed_cmds"; then |
if test -z "$ac_sed_cmds"; then |
20271 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
20272 |
else |
else |
20273 |
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" |
20274 |
fi |
fi |
20275 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
ac_sed_frag=`expr $ac_sed_frag + 1` |
20276 |
ac_beg=$ac_end |
ac_beg=$ac_end |
20288 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20289 |
case $ac_file in |
case $ac_file in |
20290 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
20291 |
cat >$tmp/stdin |
cat >$tmp/stdin |
20292 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20293 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20294 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20295 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20296 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
20297 |
esac |
esac |
20298 |
|
|
20299 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
20300 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20301 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20302 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20303 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
20304 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
20305 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20306 |
echo X"$ac_file" | |
echo X"$ac_file" | |
20307 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20308 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20318 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20319 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20320 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20321 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20322 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20323 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20324 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20325 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20326 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20327 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20359 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20360 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20361 |
esac |
esac |
20362 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
20363 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
20364 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
20365 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
20366 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
20367 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
20368 |
|
case "$ac_dir" in |
20369 |
|
.) ac_abs_builddir=`pwd`;; |
20370 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
20371 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
20372 |
|
esac;; |
20373 |
|
esac |
20374 |
|
case $ac_abs_builddir in |
20375 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
20376 |
|
*) |
20377 |
|
case ${ac_top_builddir}. in |
20378 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
20379 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
20380 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
20381 |
|
esac;; |
20382 |
|
esac |
20383 |
|
case $ac_abs_builddir in |
20384 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
20385 |
|
*) |
20386 |
|
case $ac_srcdir in |
20387 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
20388 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
20389 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
20390 |
|
esac;; |
20391 |
|
esac |
20392 |
|
case $ac_abs_builddir in |
20393 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
20394 |
|
*) |
20395 |
|
case $ac_top_srcdir in |
20396 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
20397 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
20398 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
20399 |
|
esac;; |
20400 |
|
esac |
20401 |
|
|
20402 |
|
|
20403 |
case $INSTALL in |
case $INSTALL in |
20419 |
configure_input="$ac_file. " |
configure_input="$ac_file. " |
20420 |
fi |
fi |
20421 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
20422 |
sed 's,.*/,,'` by configure." |
sed 's,.*/,,'` by configure." |
20423 |
|
|
20424 |
# 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 |
20425 |
# src tree. |
# src tree. |
20428 |
case $f in |
case $f in |
20429 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
20430 |
[\\/$]*) |
[\\/$]*) |
20431 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
20432 |
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 |
20433 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20434 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20435 |
echo $f;; |
echo "$f";; |
20436 |
*) # Relative |
*) # Relative |
20437 |
if test -f "$f"; then |
if test -f "$f"; then |
20438 |
# Build tree |
# Build tree |
20439 |
echo $f |
echo "$f" |
20440 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
20441 |
# Source tree |
# Source tree |
20442 |
echo $srcdir/$f |
echo "$srcdir/$f" |
20443 |
else |
else |
20444 |
# /dev/null tree |
# /dev/null tree |
20445 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20446 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20447 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20448 |
fi;; |
fi;; |
20449 |
esac |
esac |
20450 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
20451 |
_ACEOF |
_ACEOF |
20487 |
# 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. |
20488 |
# |
# |
20489 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
20490 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
20491 |
ac_dB='[ ].*$,\1#\2' |
ac_dB='[ ].*$,\1#\2' |
20492 |
ac_dC=' ' |
ac_dC=' ' |
20493 |
ac_dD=',;t' |
ac_dD=',;t' |
20494 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
20495 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
20496 |
ac_uB='$,\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
20497 |
ac_uC=' ' |
ac_uC=' ' |
20498 |
ac_uD=',;t' |
ac_uD=',;t' |
20501 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20502 |
case $ac_file in |
case $ac_file in |
20503 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
20504 |
cat >$tmp/stdin |
cat >$tmp/stdin |
20505 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20506 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20507 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20508 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20509 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
20510 |
esac |
esac |
20511 |
|
|
20519 |
case $f in |
case $f in |
20520 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
20521 |
[\\/$]*) |
[\\/$]*) |
20522 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
20523 |
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 |
20524 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20525 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20526 |
echo $f;; |
# Do quote $f, to prevent DOS paths from being IFS'd. |
20527 |
|
echo "$f";; |
20528 |
*) # Relative |
*) # Relative |
20529 |
if test -f "$f"; then |
if test -f "$f"; then |
20530 |
# Build tree |
# Build tree |
20531 |
echo $f |
echo "$f" |
20532 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
20533 |
# Source tree |
# Source tree |
20534 |
echo $srcdir/$f |
echo "$srcdir/$f" |
20535 |
else |
else |
20536 |
# /dev/null tree |
# /dev/null tree |
20537 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20538 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20539 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20540 |
fi;; |
fi;; |
20541 |
esac |
esac |
20542 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
20543 |
# Remove the trailing spaces. |
# Remove the trailing spaces. |
20544 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
20545 |
|
|
20546 |
_ACEOF |
_ACEOF |
20547 |
|
|
20564 |
s,[\\$`],\\&,g |
s,[\\$`],\\&,g |
20565 |
t clear |
t clear |
20566 |
: clear |
: clear |
20567 |
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 |
20568 |
t end |
t end |
20569 |
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 |
20570 |
: end |
: end |
20571 |
_ACEOF |
_ACEOF |
20572 |
# If some macros were called several times there might be several times |
# If some macros were called several times there might be several times |
20580 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
20581 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
20582 |
cat >>conftest.undefs <<\_ACEOF |
cat >>conftest.undefs <<\_ACEOF |
20583 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
20584 |
_ACEOF |
_ACEOF |
20585 |
|
|
20586 |
# 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 |
20587 |
# of here documents, and old seds have small limits too (100 cmds). |
# of here documents, and old seds have small limits too (100 cmds). |
20588 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
20589 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
20590 |
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 |
20591 |
echo ' :' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
20592 |
rm -f conftest.tail |
rm -f conftest.tail |
20595 |
# Write a limited-size here document to $tmp/defines.sed. |
# Write a limited-size here document to $tmp/defines.sed. |
20596 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
20597 |
# Speed up: don't consider the non `#define' lines. |
# Speed up: don't consider the non `#define' lines. |
20598 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
20599 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20600 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20601 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20622 |
# Write a limited-size here document to $tmp/undefs.sed. |
# Write a limited-size here document to $tmp/undefs.sed. |
20623 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
20624 |
# Speed up: don't consider the non `#undef' |
# Speed up: don't consider the non `#undef' |
20625 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
20626 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20627 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20628 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20656 |
else |
else |
20657 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20658 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20659 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20660 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
20661 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
20662 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20663 |
echo X"$ac_file" | |
echo X"$ac_file" | |
20664 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20665 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20675 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20676 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20677 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20678 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20679 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20680 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20681 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20682 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20683 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20684 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20716 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20717 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
20718 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20719 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
20720 |
X"$ac_dest" : 'X\(//\)$' \| \ |
X"$ac_dest" : 'X\(//\)$' \| \ |
20721 |
X"$ac_dest" : 'X\(/\)' \| \ |
X"$ac_dest" : 'X\(/\)' \| \ |
20722 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20723 |
echo X"$ac_dest" | |
echo X"$ac_dest" | |
20724 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20725 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20726 |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
20727 |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
20728 |
s/.*/./; q'` |
s/.*/./; q'` |
20729 |
|
{ if $as_mkdir_p; then |
20730 |
|
mkdir -p "$ac_dir" |
20731 |
|
else |
20732 |
|
as_dir="$ac_dir" |
20733 |
|
as_dirs= |
20734 |
|
while test ! -d "$as_dir"; do |
20735 |
|
as_dirs="$as_dir $as_dirs" |
20736 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20737 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20738 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20739 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
20740 |
|
X"$as_dir" : 'X\(/\)' \| \ |
20741 |
|
. : '\(.\)' 2>/dev/null || |
20742 |
|
echo X"$as_dir" | |
20743 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20744 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20745 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
20746 |
|
/^X\(\/\).*/{ s//\1/; q; } |
20747 |
|
s/.*/./; q'` |
20748 |
|
done |
20749 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
20750 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
20751 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
20752 |
|
{ (exit 1); exit 1; }; }; } |
20753 |
|
|
20754 |
ac_builddir=. |
ac_builddir=. |
20755 |
|
|
20756 |
if test "$ac_dir" != .; then |
if test "$ac_dir" != .; then |
20776 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20777 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20778 |
esac |
esac |
20779 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
20780 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
20781 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
20782 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
20783 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
20784 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
20785 |
|
case "$ac_dir" in |
20786 |
|
.) ac_abs_builddir=`pwd`;; |
20787 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
20788 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
20789 |
|
esac;; |
20790 |
|
esac |
20791 |
|
case $ac_abs_builddir in |
20792 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
20793 |
|
*) |
20794 |
|
case ${ac_top_builddir}. in |
20795 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
20796 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
20797 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
20798 |
|
esac;; |
20799 |
|
esac |
20800 |
|
case $ac_abs_builddir in |
20801 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
20802 |
|
*) |
20803 |
|
case $ac_srcdir in |
20804 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
20805 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
20806 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
20807 |
|
esac;; |
20808 |
|
esac |
20809 |
|
case $ac_abs_builddir in |
20810 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
20811 |
|
*) |
20812 |
|
case $ac_top_srcdir in |
20813 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
20814 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
20815 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
20816 |
|
esac;; |
20817 |
|
esac |
20818 |
|
|
20819 |
|
|
20820 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
20832 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
20833 |
dirpart=`(dirname "$mf") 2>/dev/null || |
dirpart=`(dirname "$mf") 2>/dev/null || |
20834 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20835 |
X"$mf" : 'X\(//\)[^/]' \| \ |
X"$mf" : 'X\(//\)[^/]' \| \ |
20836 |
X"$mf" : 'X\(//\)$' \| \ |
X"$mf" : 'X\(//\)$' \| \ |
20837 |
X"$mf" : 'X\(/\)' \| \ |
X"$mf" : 'X\(/\)' \| \ |
20838 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20839 |
echo X"$mf" | |
echo X"$mf" | |
20840 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20841 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20871 |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
20872 |
fdir=`(dirname "$file") 2>/dev/null || |
fdir=`(dirname "$file") 2>/dev/null || |
20873 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20874 |
X"$file" : 'X\(//\)[^/]' \| \ |
X"$file" : 'X\(//\)[^/]' \| \ |
20875 |
X"$file" : 'X\(//\)$' \| \ |
X"$file" : 'X\(//\)$' \| \ |
20876 |
X"$file" : 'X\(/\)' \| \ |
X"$file" : 'X\(/\)' \| \ |
20877 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20878 |
echo X"$file" | |
echo X"$file" | |
20879 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20880 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20890 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20891 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20892 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20893 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20894 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20895 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20896 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20897 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20898 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20899 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |